@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #c2410c; /* Sophisticated Terracotta */
  --primary-hover: #9a3412;
  --primary-light: #fff7ed;
  --primary-border: #ffedd5;
  --accent: #d97706; /* Warm amber */
  --bg: #fcfaf7; /* Warm, premium book-like creme */
  --bg-secondary: #faf6f0; /* Soft sand gray */
  --text: #1c1a17; /* Slate ink black */
  --text-secondary: #57534e; /* Warm taupe gray */
  --border: #efece6; /* Delicate sand lines */
  --border-light: rgba(239, 236, 230, 0.5);
  --telegram: #0088cc;
  --telegram-hover: #0077b3;
  --container-max: 1140px;
  
  --shadow-sm: 0 1px 3px rgba(28, 26, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(28, 26, 23, 0.04), 0 2px 4px rgba(28, 26, 23, 0.02);
  --shadow-lg: 0 12px 24px rgba(194, 65, 12, 0.05), 0 4px 8px rgba(194, 65, 12, 0.02);
  --shadow-hover: 0 20px 32px rgba(194, 65, 12, 0.08), 0 8px 16px rgba(194, 65, 12, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, .headline-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------- BUTTONS ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(194, 65, 12, 0.25);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-border);
}

.btn-secondary:hover {
  background-color: var(--primary-border);
  transform: translateY(-2px);
}

.btn-telegram {
  background-color: var(--telegram);
  color: white;
}

.btn-telegram:hover {
  background-color: var(--telegram-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(0, 136, 204, 0.25);
}

/* ----------------- HEADER & LOGO ----------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.audio-logo {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.telegram-text {
  color: var(--telegram);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.mobile-menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------- HERO HOME ----------------- */
.hero {
  padding: 6.5rem 0 5.5rem;
  text-align: center;
  background: radial-gradient(circle at top, #fffaf4 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ----------------- TELEGRAM BANNER ----------------- */
.telegram-banner {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.tg-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.tg-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.tg-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 700px;
}

/* ----------------- BLOG CONTROLS (SEARCH & TABS) ----------------- */
.blog-controls {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.controls-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.15);
}

.search-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

/* ----------------- BLOG CARDS GRID ----------------- */
.grid-section {
  padding: 4rem 0 6rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.25rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-hover);
}

.card-img-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* square covers */
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .card-img {
  transform: scale(1.05);
}

.placeholder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.placeholder-img .wave {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.placeholder-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-ep {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  line-height: 1.2;
}

.card-title a:hover {
  color: var(--primary);
}

.card-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.card-cta svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .card-cta svg {
  transform: translateX(4px);
}

/* ----------------- DETAIL PAGE (POST) HERO ----------------- */
.breadcrumb-sec {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.post-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at top right, #fffaf4 0%, var(--bg) 80%);
}

.post-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.post-hero-img-box {
  width: 340px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-secondary);
}

.post-hero-meta {
  display: flex;
  flex-direction: column;
}

.post-hero-ep {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.post-hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.post-hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.post-hero-buttons {
  display: flex;
  gap: 1rem;
}

/* ----------------- POST BODY SECTION ----------------- */
.post-body-sec {
  padding: 4rem 0 5rem;
}

.post-body-container {
  max-width: 760px; /* limits body width */
}

/* Concepto Clave C02 Box */
.direct-answer-box {
  background: var(--bg-secondary);
  border: 1px dashed #d97706; /* gold dash */
  border-left: 4px solid var(--primary); /* terracotta accent */
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.concept-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.direct-answer-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
}

/* Typographic Article Formatting */
.article-text {
  max-width: 680px; /* Gold standard reading width */
  margin: 0 auto;
}

.article-text p {
  font-size: 1.05rem; /* ~17px */
  line-height: 1.85;
  margin-bottom: 1.75rem;
  color: var(--text);
}

/* Elegant Dropcap */
.dropcap {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.25rem;
  line-height: 0.8;
  padding-top: 6px;
  padding-right: 8px;
  font-weight: 700;
  color: var(--primary);
}

/* Premium Pullquote */
.pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2.5rem 0 2.5rem -1.5rem;
}

/* Mid-Post CTA Card player-like structure (High Conversion!) */
.mid-post-cta-card {
  background: linear-gradient(135deg, #1e1b18 0%, #12100e 100%);
  border-radius: 16px;
  padding: 2.25rem;
  margin: 3.5rem 0;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.mid-post-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.cta-audio-mockup {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.play-pulse-btn {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.play-pulse-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: pulseGrad 1.8s infinite;
}

@keyframes pulseGrad {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.play-pulse-btn:hover {
  background: var(--accent);
}

.audio-info {
  display: flex;
  flex-direction: column;
}

.audio-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.audio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta-text {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #ccc6c0 !important;
  margin-bottom: 0.5rem !important;
}

.cta-action-btn {
  align-self: flex-start;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(194, 65, 12, 0.4);
}

/* ----------------- COLLAPSIBLE ACCORDION FAQs ----------------- */
.faq-sec {
  margin-top: 4.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.faq-title {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
}

.faq-item[open] {
  border-color: var(--primary-border);
  background-color: var(--bg-secondary);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  color: var(--text-secondary);
  margin-bottom: 0 !important;
}

/* ----------------- RECOMMENDATIONS ----------------- */
.recommendations-sec {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 5rem 0 6rem;
}

.recommendations-sec h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* ----------------- SOBRE PAGE (ABOUT) ----------------- */
.sobre-hero {
  padding: 6.5rem 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at bottom, #fffaf4 0%, var(--bg) 80%);
}

.sobre-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  padding: 5.5rem 0 6rem;
}

.sobre-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.sobre-content h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.sobre-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.platforms-showcase {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 5.5rem;
  text-align: center;
}

.platforms-showcase h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.plat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.plat-badge:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.plat-badge svg {
  color: var(--text-secondary);
}

.plat-badge:hover svg {
  color: var(--primary);
}

/* ----------------- FOOTER ----------------- */
.footer {
  background-color: #1c1a17; /* Slate charcoal dark */
  color: #ebe7e0;
  padding: 5rem 0 2rem;
  border-top: 1px solid #2d2925;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-info h2 {
  font-size: 1.85rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #aba49c;
}

.footer-links h3, .footer-platforms h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #aba49c;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.platforms-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platforms-links a {
  font-size: 0.92rem;
  color: #aba49c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platforms-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #2d2925;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8c857e;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ----------------- MOBILE RESPONSIVENESS ----------------- */
@media (max-width: 991px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sobre-img-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 4rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 250, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .header.mobile-nav-active .nav {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  
  .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .header-cta {
    display: none; /* Hide top right btn on mobile */
  }
  
  .header.mobile-nav-active .mobile-menu-btn .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .header.mobile-nav-active .mobile-menu-btn .bar:nth-child(2) {
    opacity: 0;
  }
  
  .header.mobile-nav-active .mobile-menu-btn .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero {
    padding: 4.5rem 0 3.5rem;
  }
  
  .tg-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .controls-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .post-hero {
    padding: 3rem 0;
  }
  
  .post-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  
  .post-hero-img-box {
    margin: 0 auto;
    width: 280px;
    height: 280px;
  }
  
  .post-hero-buttons {
    justify-content: center;
  }
  
  .mid-post-cta-card {
    padding: 1.5rem;
  }
  
  .cta-action-btn {
    align-self: stretch; /* span full width on touch */
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ----------------- CLIFFHANGER PREMIUM ----------------- */
.cliffhanger-fade {
  height: 180px;
  background: linear-gradient(to bottom, rgba(252, 250, 247, 0) 0%, var(--bg) 100%);
  position: relative;
  z-index: 5;
  margin-top: -100px;
  pointer-events: none;
}

.cliffhanger-block {
  background: linear-gradient(135deg, #1d1b18 0%, #12100e 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: white;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
  margin: 0 auto 3rem;
  max-width: 680px;
  z-index: 10;
}

.cliffhanger-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cliffhanger-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.25rem;
  background: rgba(194, 65, 12, 0.15);
  border: 1px solid var(--primary);
  color: #f97316;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 0.9; transform: scale(1); }
}

.cliffhanger-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.cliffhanger-text {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #e5e5e0 !important;
  margin-bottom: 2rem !important;
}

.cliffhanger-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cliffhanger-btn {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.cliffhanger-btn.youtube-btn {
  background-color: var(--primary);
  color: white;
}

.cliffhanger-btn.youtube-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 10px 20px -3px rgba(194, 65, 12, 0.4);
}

.cliffhanger-btn.telegram-btn {
  background-color: var(--telegram);
  color: white;
}

.cliffhanger-btn.telegram-btn:hover {
  background-color: var(--telegram-hover);
  box-shadow: 0 10px 20px -3px rgba(0, 136, 204, 0.4);
}
