/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POST PAGE – LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-main {
  padding-top: 68px;
}

.post-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 28px 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 40px;
  transition: color var(--t);
}

.back-link:hover {
  color: var(--gold);
}

.post-header {
  margin-bottom: 44px;
}

.post-cat-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.post-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 52px;
  border: 1px solid var(--border-soft);
}

.post-hero-img img {
  width: 100%;
  display: block;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POST BODY – TYPOGRAPHY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.post-body p {
  margin-bottom: 22px;
}

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.post-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 14px;
}

.post-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-body strong {
  color: var(--white);
}

.post-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t);
}

.post-body a:hover {
  color: var(--gold-light);
}

.post-body ul,
.post-body ol {
  padding-left: 0;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-body ul li,
.post-body ol li {
  padding-left: 28px;
  position: relative;
  line-height: 1.7;
}

.post-body ul li::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
  top: 2px;
}

.post-body ol {
  counter-reset: post-counter;
}

.post-body ol li {
  counter-increment: post-counter;
}

.post-body ol li::before {
  content: counter(post-counter) ".";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Advantages / Disadvantages blocks */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.pro-block,
.con-block {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.pro-block {
  border-top: 3px solid #34d399;
}

.con-block {
  border-top: 3px solid #f87171;
}

.pros-cons-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.pro-block .pros-cons-title {
  color: #34d399;
}

.con-block .pros-cons-title {
  color: #f87171;
}

.pros-cons ul {
  margin: 0;
}

.pros-cons li {
  font-size: 0.85rem;
}

.pros-cons li::before {
  font-size: 0.75rem;
}

/* Method / info cards */
.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  transition: border-color var(--t);
}

.method-card:hover {
  border-color: var(--border);
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.07), rgba(124, 58, 237, 0.07));
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 32px 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
}

/* Exercise card for Reto de Solfeo posts */
.exercise-card {
  background: linear-gradient(145deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.exercise-card::before {
  content: '𝄞';
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 9rem;
  opacity: 0.05;
  color: var(--gold);
  line-height: 1;
}

.exercise-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

.exercise-card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POST CTA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-cta {
  margin-top: 64px;
  padding: 44px;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--violet-light), var(--gold));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.post-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.post-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.post-cta-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 28px;
}

.post-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Post navigation (prev/next) */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}

.post-nav-link {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color var(--t), background var(--t);
}

.post-nav-link:hover {
  border-color: var(--border);
  background: var(--bg-card-2);
}

.post-nav-dir {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 6px;
}

.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.post-nav-link.next {
  text-align: right;
}

.post-nav--single .post-nav-link {
  grid-column: 2;
}

@media (max-width: 768px) {

  .pros-cons { grid-template-columns: 1fr; }

  .post-nav { grid-template-columns: 1fr; }

  .post-nav--single .post-nav-link { grid-column: 1; }

  .post-cta { padding: 32px 24px; }

}

@media (max-width: 540px) {

  .post-wrapper { padding: 40px 20px 80px; }

  .exercise-card { padding: 28px 20px; }

  .post-cta-btns { flex-direction: column; align-items: center; }

}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POST HERO EMOJI (video/image placeholder)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-hero-emoji {
  font-size: clamp(4rem, 10vw, 7rem);
  text-align: center;
  margin: 0 0 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 24px rgba(232, 184, 75, 0.25));
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EXERCISE CARD (table-style rows)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.exercise-row {
  display: flex;
  gap: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.exercise-row:last-child {
  border-bottom: none;
}

.exercise-label {
  width: 160px;
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 600;
}

.exercise-value {
  color: var(--white);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RETO DE SOLFEO PROGRESS WIDGET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reto-progress {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reto-day-badge {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reto-notes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reto-note {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  background: transparent;
  transition: all 0.2s;
}

.reto-note.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POST NAV DISABLED STATE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-nav-link.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
