/*
Theme Name: Tolantongo
Theme URI: https://tolantongo.com
Author: Leo
Author URI: https://tolantongo.com
Description: Theme turístico de alta conversión para Tolantongo — aguas termales turquesa. Incluye caja de reservas con hook para widget de proveedor de tours.
Version: 1.0.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tolantongo
Update URI: https://github.com/francistec/tolantongo.com
*/

:root {
  /* Paleta Tolantongo */
  --turquesa:      #12b5c9;  /* agua termal */
  --turquesa-osc:  #0a7d8c;
  --turquesa-deep: #075661;
  --agua-clara:    #e6fbfb;
  --ocre:          #d98a3d;  /* cañón / terracota */
  --ocre-osc:      #b56a24;
  --arena:         #f6efe4;
  --verde:         #3f7d52;  /* vegetación */
  --tinta:         #10262b;  /* texto oscuro */
  --tinta-suave:   #40595e;
  --blanco:        #ffffff;
  --sombra:        0 18px 40px -18px rgba(7, 86, 97, .45);
  --sombra-suave:  0 8px 24px -12px rgba(7, 86, 97, .35);
  --radio:         18px;
  --radio-lg:      28px;
  --ancho:         1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--tinta);
  background: var(--arena);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.1; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--turquesa-osc);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ocre); border-radius: 2px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--ocre); color: #fff; box-shadow: var(--sombra-suave); }
.btn-primary:hover { background: var(--ocre-osc); transform: translateY(-2px); box-shadow: var(--sombra); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-full { width: 100%; }

/* NAV */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,239,228,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7,86,97,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.35rem; color: var(--turquesa-deep); }
.brand .dot { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--turquesa), var(--turquesa-deep)); box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--tinta-suave); transition: color .2s; }
.nav-links a:hover { color: var(--turquesa-osc); }
.nav-cta { padding: 11px 22px; font-size: .92rem; }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--turquesa-deep); cursor: pointer; }

/* HERO */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,86,97,.35) 0%, rgba(7,86,97,.55) 55%, rgba(7,60,68,.85) 100%),
    radial-gradient(120% 90% at 70% 10%, #1ec9d8 0%, #0a7d8c 45%, #075661 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background:
    radial-gradient(60% 50% at 15% 90%, rgba(217,138,61,.55), transparent 60%),
    radial-gradient(45% 40% at 90% 80%, rgba(63,125,82,.5), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 74px 24px 92px; }
.hero-copy .eyebrow { color: #ffe3c2; }
.hero-copy .eyebrow::before { background: var(--ocre); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.01em; margin: 18px 0 20px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: italic; color: #ffd9a8; }
.hero p.lead { font-size: 1.18rem; max-width: 520px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.trust .item { display: flex; flex-direction: column; }
.trust .num { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 700; color: #fff; }
.trust .lbl { font-size: .82rem; color: rgba(255,255,255,.8); letter-spacing: .03em; }

/* Hero sin caja de reservas: una sola columna centrada, sin hueco lateral. */
.hero-inner--solo { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-inner--solo .hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-inner--solo .hero-actions,
.hero-inner--solo .trust { justify-content: center; }

/* CAJA DE RESERVAS (placeholder widget) */
.booking {
  background: var(--blanco); border-radius: var(--radio-lg); box-shadow: var(--sombra);
  padding: 26px; color: var(--tinta); position: relative;
}
.booking h3 { font-size: 1.35rem; margin-bottom: 4px; color: var(--turquesa-deep); }
.booking .sub { font-size: .9rem; color: var(--tinta-suave); margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-suave); }
.field input, .field select {
  padding: 13px 14px; border: 1.5px solid #dfe7e6; border-radius: 12px; font-size: .98rem;
  font-family: inherit; color: var(--tinta); background: #fbfdfd; transition: border .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--turquesa); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Marca visual de "aquí va el widget del proveedor" */
.widget-slot {
  border: 2px dashed var(--turquesa); border-radius: 14px; background: var(--agua-clara);
  padding: 14px; text-align: center; margin-bottom: 16px; font-size: .82rem; color: var(--turquesa-osc);
  font-weight: 600;
}
.widget-slot code { background: rgba(18,181,201,.14); padding: 2px 7px; border-radius: 6px; font-size: .8rem; }
.booking .fineprint { font-size: .78rem; color: var(--tinta-suave); text-align: center; margin-top: 12px; }
.booking .badge-secure { display: inline-flex; align-items: center; gap: 6px; }

/* SECCIONES */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 14px; }
.section-head p { color: var(--tinta-suave); font-size: 1.08rem; }

/* Franja de confianza */
.strip { background: var(--turquesa-deep); color: #fff; padding: 22px 0; }
.strip-inner { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; text-align: center; }
.strip .s { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; }

/* ATRACCIONES */
.grid-att { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.att {
  background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-suave);
  transition: transform .2s ease, box-shadow .2s ease; border: 1px solid rgba(7,86,97,.06);
}
.att:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.att .ph { height: 200px; position: relative; display: flex; align-items: flex-end; padding: 16px; color: #fff; background-size: cover; background-position: center; }
.att .ph span { position: relative; font-weight: 700; font-size: 1.05rem; z-index: 2; }
.att .ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,60,68,.7)); z-index: 1; }
.ph-1 { background: linear-gradient(135deg, #1ec9d8, #0a7d8c); }
.ph-2 { background: linear-gradient(135deg, #16a2b4, #075661); }
.ph-3 { background: linear-gradient(135deg, #57c7cf, #0a7d8c); }
.ph-4 { background: linear-gradient(135deg, #e0a35a, #b56a24); }
.ph-5 { background: linear-gradient(135deg, #3f7d52, #075661); }
.ph-6 { background: linear-gradient(135deg, #12b5c9, #3f7d52); }
.att .body { padding: 20px 22px 24px; }
.att .body h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--turquesa-deep); }
.att .body p { font-size: .95rem; color: var(--tinta-suave); }

/* EXPERIENCIA / imagen + texto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { height: 420px; border-radius: var(--radio-lg); background: linear-gradient(150deg, #1ec9d8, #0a7d8c 55%, #075661); box-shadow: var(--sombra); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.split .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 90%, rgba(217,138,61,.45), transparent 60%); }
.split .media.has-img::after { display: none; }
.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--agua-clara); color: var(--turquesa-osc); display: grid; place-items: center; font-weight: 800; }
.feature-list h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.02rem; font-weight: 700; }
.feature-list p { font-size: .93rem; color: var(--tinta-suave); }

/* PAQUETES */
.packs-section { background: linear-gradient(180deg, #fff, var(--arena)); }
.grid-pack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack {
  background: #fff; border-radius: var(--radio-lg); padding: 32px 28px; box-shadow: var(--sombra-suave);
  border: 1.5px solid rgba(7,86,97,.08); display: flex; flex-direction: column; position: relative;
}
.pack.popular { border-color: var(--ocre); box-shadow: var(--sombra); transform: scale(1.03); }
.pack .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ocre); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.pack h3 { font-size: 1.35rem; color: var(--turquesa-deep); }
.pack .price { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 700; color: var(--tinta); margin: 8px 0 2px; }
.pack .price small { font-size: .95rem; font-weight: 500; color: var(--tinta-suave); font-family: 'Plus Jakarta Sans', sans-serif; }
.pack .per { font-size: .85rem; color: var(--tinta-suave); margin-bottom: 20px; }
.pack ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.pack li { display: flex; gap: 10px; font-size: .95rem; color: var(--tinta-suave); }
.pack li::before { content: "✓"; color: var(--verde); font-weight: 800; }

/* GALERÍA */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.gallery div { border-radius: 14px; background-size: cover; background-position: center; }
.g1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #1ec9d8, #075661); }
.g2 { background: linear-gradient(135deg, #e0a35a, #b56a24); }
.g3 { background: linear-gradient(135deg, #57c7cf, #0a7d8c); }
.g4 { grid-column: span 2; background: linear-gradient(135deg, #3f7d52, #075661); }
.g5 { background: linear-gradient(135deg, #12b5c9, #0a7d8c); }
.g6 { background: linear-gradient(135deg, #d98a3d, #3f7d52); }

/* GALERÍA dinámica (home) */
.gallery-dyn { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.gallery-dyn .gitem { border-radius: 14px; overflow: hidden; position: relative; }
.gallery-dyn .gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-dyn .gitem:hover img { transform: scale(1.06); }
.gallery-dyn .gitem.big { grid-column: span 2; grid-row: span 2; }
.gallery-dyn .gitem.wide { grid-column: span 2; }
.gallery-cta-wrap { text-align: center; margin-top: 36px; }

/* GALERÍA página (masonry estilo Pinterest) */
.gallery-page-intro { max-width: 760px; margin: 0 auto 36px; color: var(--tinta-suave); }
.masonry { column-count: 4; column-gap: 16px; }
.masonry-item { margin: 0 0 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra-suave); background: var(--agua-clara); }
.masonry-item img { width: 100%; height: auto; display: block; transition: transform .4s ease, filter .4s ease; }
.masonry-item:hover img { transform: scale(1.03); filter: saturate(1.08); }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 780px)  { .masonry { column-count: 2; } .gallery-dyn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .masonry { column-count: 1; } }
.masonry-link { display: block; cursor: zoom-in; }

/* LIGHTBOX */
.tol-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(7, 38, 43, .92); backdrop-filter: blur(4px);
  padding: 3vh 4vw;
}
.tol-lightbox.is-open { display: flex; }
.tol-lb-stage { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; }
.tol-lb-stage img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.tol-lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none;
  cursor: pointer; border-radius: 999px; transition: background .2s;
}
.tol-lightbox button:hover { background: rgba(255,255,255,.28); }
.tol-lb-close { top: 20px; right: 24px; width: 48px; height: 48px; font-size: 28px; line-height: 1; }
.tol-lb-prev, .tol-lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 34px; line-height: 1; }
.tol-lb-prev { left: 20px; }
.tol-lb-next { right: 20px; }
.tol-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .9rem; letter-spacing: .05em; }
@media (max-width: 640px) {
  .tol-lb-prev, .tol-lb-next { width: 44px; height: 44px; font-size: 26px; }
  .tol-lb-prev { left: 8px; } .tol-lb-next { right: 8px; }
  .tol-lb-close { top: 12px; right: 12px; }
}

/* TESTIMONIOS */
.grid-test { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test { background: #fff; border-radius: var(--radio); padding: 28px; box-shadow: var(--sombra-suave); border: 1px solid rgba(7,86,97,.06); }
.stars { color: var(--ocre); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 2px; }
.test p { font-size: .98rem; color: var(--tinta); margin-bottom: 18px; }
.test .who { display: flex; align-items: center; gap: 12px; }
.test .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--turquesa), var(--turquesa-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.test .who b { font-size: .95rem; }
.test .who span { font-size: .82rem; color: var(--tinta-suave); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { background: #fff; border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--sombra-suave); border: 1px solid rgba(7,86,97,.06); }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--turquesa-deep); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--ocre); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 20px; color: var(--tinta-suave); font-size: .96rem; }

/* CTA FINAL */
.cta-final { background: radial-gradient(120% 120% at 50% 0%, #0a7d8c, #075661 70%); color: #fff; text-align: center; }
.cta-final h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.cta-final p { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 30px; }
/* Sin botón: quitamos el margen inferior del párrafo para que no quede hueco. */
.cta-final--no-btn p { margin-bottom: 0; }

/* FOOTER */
.site-footer { background: var(--tinta); color: rgba(255,255,255,.75); padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: var(--turquesa); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Barra móvil de reserva fija */
.mobile-book { display: none; }

/* Utilidad de accesibilidad */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* RESPONSIVE */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-bottom: 70px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .media { height: 300px; }
  .grid-att, .grid-pack, .grid-test { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pack.popular { transform: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .grid-att, .grid-pack, .grid-test { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g1, .g4 { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust { gap: 18px; }
  .mobile-book {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; padding: 12px 16px; box-shadow: 0 -8px 24px -12px rgba(7,86,97,.4);
    gap: 12px; align-items: center; justify-content: space-between;
  }
  .mobile-book .p { font-weight: 700; color: var(--turquesa-deep); font-size: .95rem; }
  /* Solo reservamos espacio inferior si la barra fija de reserva está visible. */
  body.tol-booking-btns-on { padding-bottom: 74px; }
}

/* ==========================================================================
   CONSEJOS — Blog turístico (listado, tarjetas y artículo)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-suave);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.post-card-media { display: block; height: 200px; overflow: hidden; background: linear-gradient(135deg, #1ec9d8, #0a7d8c); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1ec9d8, #075661); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-cat {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--turquesa-osc); background: var(--agua-clara);
  padding: 4px 10px; border-radius: 999px;
}
.post-card-title { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.post-card-title a { color: var(--turquesa-deep); text-decoration: none; }
.post-card-title a:hover { color: var(--turquesa-osc); }
.post-card-excerpt { font-size: .95rem; color: var(--tinta-suave); margin: 0; }
.post-card-meta {
  margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--tinta-suave);
}
.post-card-link { color: var(--turquesa-osc); font-weight: 700; text-decoration: none; }
.post-card-link:hover { color: var(--turquesa-deep); }

.consejos-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.consejos-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 12px; border-radius: 10px; background: #fff; color: var(--turquesa-deep);
  text-decoration: none; font-weight: 600; box-shadow: var(--sombra-suave);
}
.consejos-pagination .page-numbers.current { background: var(--turquesa-osc); color: #fff; }
.consejos-pagination .page-numbers:hover { background: var(--agua-clara); }
.consejos-pagination .page-numbers.current:hover { background: var(--turquesa-osc); }
.consejos-empty { text-align: center; color: var(--tinta-suave); font-size: 1.05rem; padding: 40px 0; }

/* Artículo individual */
.single-hero {
  background: linear-gradient(150deg, #1ec9d8, #0a7d8c 55%, #075661);
  background-size: cover; background-position: center; color: #fff; padding: 90px 0 70px;
}
.single-hero.has-img { padding: 130px 0 90px; }
.single-hero-inner { max-width: 820px; }
.single-cat {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255,255,255,.18); padding: 5px 12px;
  border-radius: 999px; margin-bottom: 14px;
}
.single-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; margin: 0 0 14px; color: #fff; }
.single-meta { display: flex; gap: 10px; align-items: center; font-size: .95rem; opacity: .92; }
.single-body { max-width: 760px; margin: 0 auto; padding-top: 48px; padding-bottom: 56px; }
.single-content { font-size: 1.08rem; line-height: 1.75; color: var(--tinta); }
.single-content h2 { font-size: 1.5rem; margin: 34px 0 12px; color: var(--turquesa-deep); }
.single-content h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--turquesa-deep); }
.single-content p { margin: 0 0 18px; }
.single-content a { color: var(--turquesa-osc); }
.single-content img { max-width: 100%; height: auto; border-radius: var(--radio); margin: 16px 0; }
.single-content ul, .single-content ol { margin: 0 0 18px 1.2em; }
.single-content blockquote {
  margin: 22px 0; padding: 14px 22px; border-left: 4px solid var(--turquesa-osc);
  background: var(--agua-clara); border-radius: 8px; color: var(--tinta-suave);
}
.single-footer { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid #e7ded1; }
.single-footer .btn-ghost {
  background: transparent; color: var(--turquesa-deep);
  border: 1.5px solid var(--turquesa-osc); backdrop-filter: none;
}
.single-footer .btn-ghost:hover { background: var(--agua-clara); color: var(--turquesa-deep); }

@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
