/* =========================================================
   Variables + base
   ========================================================= */
:root{
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --bg:#ffffff;
  --soft:#f7f7f7;
  --link:#111827;
  --accent:#2563eb;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:#f3f4f6;
  color:var(--text);
  font-family: font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.65;
}

a{ color:var(--link); }
a:hover{ color:var(--accent); }

a:focus-visible{
  outline:2px solid #111827;
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* =========================================================
   Layout
   ========================================================= */
.container{
  max-width:1000px;
  margin:0 auto;
  padding:0 16px;
}

@media (min-width:1200px){
  .container{ max-width:1200px; }
}
@media (min-width:1600px){
  .container{ max-width:1320px; }
}

.main{ padding:12px 0 40px; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header{
  border-bottom:1px solid var(--border);
  background:#fff;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  font-size:18px;
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
  color:var(--link);
}

.nav-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.nav-links a{
  color:var(--link);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:6px 8px;
  border-radius:8px;
  transition: background .12s ease, color .12s ease;
}

.nav-links a:hover{
  background:var(--soft);
}

/* =========================================================
   Typography
   ========================================================= */
h1{ font-size:34px; line-height:1.2; margin:0 0 12px; }
h2{ font-size:24px; margin:28px 0 10px; }
h3{ font-size:18px; margin:22px 0 10px; }

p{ margin:0 0 14px; }

ul{ padding-left:18px; }
li{ margin:6px 0; }

/* =========================================================
   Breadcrumbs (los que usás en templates)
   ========================================================= */
.breadcrumbs{
  font-size:0.9rem;
  margin-bottom:1rem;
}

.breadcrumbs ol{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:0.4rem;
  padding:0;
  margin:0;
}

.breadcrumbs li::after{
  content:"›";
  margin-left:0.4rem;
}

.breadcrumbs li:last-child::after{ content:""; }

.breadcrumbs a{
  color:#555;
  text-decoration:none;
}

.breadcrumbs a:hover{
  text-decoration:underline;
}

/* =========================================================
   Grids / Cards
   ========================================================= */
.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

@media (max-width:900px){
  .grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:560px){
  .grid{ grid-template-columns:1fr; }
}
@media (min-width:1600px){
  .grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}

.card{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  padding:16px;
  transition: transform .08s ease, box-shadow .08s ease;
  will-change: transform;
}

.card:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.card-img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--border);
  margin-bottom:10px;
  display:block;
  transition: transform .25s ease;
}

.card:hover .card-img{ transform: scale(1.03); }

@media (min-width:1200px){
  .card-img{ height:200px; }
}

.card-body{ padding:0; }

.card-title{
  font-size:18px;
  font-weight:800;
  margin:0 0 8px;
  line-height:1.25;
}

.card-title a{
  text-decoration:none;
  color:var(--link);
}
.card-title a:hover{ text-decoration:underline; }

.card-meta{
  font-size:13px;
  color:var(--muted);
  margin:0 0 10px;
}

.card-desc{
  margin:0;
  color:var(--text);
  opacity:.85;
  font-size:15px;
  line-height:1.55;
}

/* Compat: cards país */
.card-country{ overflow:hidden; }
.card-link{ display:block; color:inherit; text-decoration:none; }
.card-img--placeholder{ aspect-ratio:16/9; background:#e9e9e9; }
.card-text{ margin:.4rem 0 0; opacity:.8; }

/* =========================================================
   Section head + pill
   ========================================================= */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.section-head p{
  margin:0;
  color:var(--muted);
}

.section-head a{
  font-weight:700;
  text-decoration:none;
}
.section-head a:hover{ text-decoration:underline; }

.pill{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  color:var(--link);
  border:1px solid rgba(37,99,235,.2);
}

/* =========================================================
   Hero (Destino y Artículo)
   ========================================================= */
.hero{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:40px;
  background:transparent;
}

.hero img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}

.hero-content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:32px;
  display:flex;
  flex-direction:column;
  gap:10px;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.65) 0%,
    rgba(0,0,0,.35) 45%,
    rgba(0,0,0,0) 100%
  );
  color:#fff;
  animation: fadeUp .35s ease both;
}

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}

.hero-content h1{
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
  font-size:42px;
  line-height:1.15;
  margin:0;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-content p{
  font-size:17px;
  max-width:620px;
  margin:0;
  opacity:.95;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* Variantes */
.hero--noimg{
  background:#111827;
  min-height:220px;
}
.hero--noimg .hero-content{
  position:relative;
  inset:auto;
  background:none;
  color:#fff;
}
.hero--noimg .hero-content p{ opacity:.9; }

/* Artículo: título arriba + imagen abajo */
.hero--stack{
  background:transparent;
  overflow:visible;
  margin-bottom:28px;
}
.hero--stack .hero-stack{ margin-bottom:14px; }
.hero--stack .hero-img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--border);
  display:block;
}

@media (max-width:560px){
  .hero img{ height:320px; }
  .hero-content{ padding:18px; }
  .hero-content h1{ font-size:30px; }
  .hero--stack .hero-img{ height:320px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  font-size:14px;
  transition: transform .12s ease, opacity .12s ease;
}

.btn-primary{
  background:#fff;
  color:#111;
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.7);
  color:#fff;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity:.92; }

/* =========================================================
   Pagination
   ========================================================= */
.pagination{ display:flex; justify-content:center; }

.pagination-inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
}

.page-link{
  text-decoration:none;
  color:var(--link);
  font-weight:600;
  padding:6px 10px;
  border-radius:10px;
}

.page-link:hover{ background:var(--soft); }
.page-link.disabled{ opacity:.45; pointer-events:none; }

.page-status{
  color:var(--muted);
  font-size:14px;
  padding:0 4px;
}

/* =========================================================
   Categories pills
   ========================================================= */
.categories{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1rem 0 1.25rem;
}

.categories__item{
  display:inline-block;
  padding:.35rem .65rem;
  border:1px solid currentColor;
  border-radius:999px;
  text-decoration:none;
}

.categories__item.is-active{ font-weight:600; }

/* =========================================================
   Post shell + editorial layout
   ========================================================= */
.content{
  max-width:820px;
  margin:0 auto;
}

.content > * + *{ margin-top:18px; }

.post-shell{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:22px;
}
@media (max-width:560px){
  .post-shell{ padding:16px; }
}

/* =========================================================
   TOC + scrolling offsets
   ========================================================= */
.post__content h2{ scroll-margin-top:90px; }

.toc{
  margin:1.25rem 0 1.5rem;
  padding:1rem;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
}

.toc__title{ margin:0 0 .75rem; font-size:1rem; }
.toc__list{ margin:0; padding-left:1.25rem; }
.toc__item{ margin:.35rem 0; }
.toc__link{ text-decoration:none; }
.toc__link:hover{ text-decoration:underline; }
.toc__link.is-active{ font-weight:700; text-decoration:underline; }

@media (min-width:1024px){
  .post__content{
    display:grid;
    grid-template-columns:280px minmax(0, 1fr);
    gap:2rem;
    align-items:start;
  }

  .toc{
    position:sticky;
    top:90px;
    max-height: calc(100vh - 120px);
    overflow:auto;
  }

  .post__body{ min-width:0; }
}

.post__body h2[id],
.post__body h3[id]{
  scroll-margin-top:110px;
}

/* =========================================================
   Blocks (editorial)
   ========================================================= */
.block{ margin:30px 0; }

.block-youtube{ margin:28px 0; }
.block-youtube .embed{
  position:relative;
  width:100%;
  max-width:760px;
  margin:0 auto;
  aspect-ratio:16 / 9;
  background:#000;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.block-youtube .embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.block-map{ margin:2.5rem 0; }
.block-map h3{ margin-bottom:.75rem; }

.map-embed{
  position:relative;
  width:100%;
  max-height:250px;
  aspect-ratio:16 / 9;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.map-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.block-section-title{
  margin:52px 0 18px;
  padding-top:10px;
  border-top:1px solid rgba(0,0,0,.08);
}
.block-section-title:first-child{
  border-top:0;
  padding-top:0;
  margin-top:10px;
}
.block-section-title .block-title{
  font-size:30px;
  line-height:1.15;
  letter-spacing:-0.2px;
  margin:0 0 6px;
  font-weight:800;
}
.block-section-title .block-subtitle{
  margin:0;
  font-size:15px;
  color:var(--muted);
}

/* Prose */
.content p{
  font-size:16px;
  line-height:1.75;
  color:rgba(17,24,39,.92);
}
.content strong{ color:#111827; }
.content a{
  color:var(--accent);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.content a:hover{ filter: brightness(.95); }

/* Gallery */
.block-gallery{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
@media (max-width:900px){
  .gallery-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:560px){
  .gallery-grid{ grid-template-columns:1fr; }
}

.gallery-item{
  margin:0;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#000;
}
.gallery-img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.gallery-item:hover .gallery-img{ transform: scale(1.03); }

/* Highlights */
.block-highlights{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}

.highlights-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.highlight{
  display:grid;
  grid-template-columns:10px 1fr;
  gap:10px;
  padding:12px;
  border-radius:12px;
  background:rgba(37,99,235,.06);
  border:1px solid rgba(37,99,235,.14);
}

.highlight-dot{
  width:10px;
  height:10px;
  margin-top:5px;
  border-radius:999px;
  background:var(--accent);
}

.highlight-title{
  font-weight:900;
  color:#111827;
  margin-bottom:2px;
}

.highlight-text{
  color:rgba(17,24,39,.72);
  font-size:14px;
  line-height:1.5;
}

/* CTA stack (para los CTAs automáticos) */
.cta-stack{
  margin:1.5rem 0 2rem;
  padding:1rem;
  border:1px solid #e8e8e8;
  border-radius:14px;
  background:#fafafa;
}

.cta-stack h2{
  margin:0 0 .75rem;
  font-size:1.1rem;
}

/* CTA block (única versión) */
.block-cta{
  margin:34px 0;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(37,99,235,.20);
  background:rgba(37,99,235,.06);
  text-align:center;
}

.block-cta .btn{
  background:var(--accent);
  color:#fff;
  border:0;
  width:100%;
  text-align:center;
}

.block-cta .btn:hover{
  transform: translateY(-2px);
  filter: brightness(.98);
}

.block-cta .cta-note{
  margin-top:8px;
  font-size:13px;
  color:rgba(17,24,39,.60);
}

@media (min-width:860px){
  .cta-stack{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.75rem;
    align-items:start;
  }
  .cta-stack h2{ grid-column:1 / -1; }
  .block-cta{ margin:0; }
}

/* InfoGrid (dl/dt/dd) FIX definitivo */
.block-info-grid{
  margin:32px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.block-info-grid .info-grid-title{
  margin:0 0 12px;
  font-size:16px;
  font-weight:800;
  letter-spacing:-0.2px;
}

.block-info-grid dl.info-grid{
  margin:0;
  padding:0;
}

.block-info-grid .info-row{
  display:grid;
  grid-template-columns:180px minmax(0, 1fr);
  gap:10px 16px;
  padding:10px 0;
  border-top:1px solid rgba(0,0,0,.06);
}
.block-info-grid .info-row:first-child{
  border-top:0;
  padding-top:0;
}

.block-info-grid dt.label,
.block-info-grid dd.value{
  margin:0;
}

.block-info-grid dt.label{
  font-weight:800;
  color:#111827;
}

.block-info-grid dd.value{
  color:rgba(17,24,39,.72);
}

@media (max-width:560px){
  .block-info-grid .info-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}

/* QuickSections: ocultar título interno si ya lo renderizamos arriba */
.qs__rendered--no-title .qs__title,
.qs__rendered--no-title .qs__header{
  display:none;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  margin-top:48px;
  border-top:1px solid rgba(0,0,0,.08);
  background:#0f172a;
  color:rgba(255,255,255,.85);
  font-size:14px;
}

.site-footer a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
}
.site-footer a:hover{ text-decoration:underline; }

.site-footer ul{ padding-left:0; }
.site-footer li{ margin:0; list-style:none; }

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:22px;
  padding:34px 0;
}

.footer-brand .footer-logo{
  display:inline-block;
  font-weight:900;
  font-size:1.2rem;
  letter-spacing:.3px;
  margin-bottom:10px;
}

.footer-text{
  margin:0;
  line-height:1.55;
  opacity:.85;
  max-width:40ch;
}

.footer-col h4{
  margin:0 0 10px;
  font-size:.95rem;
  opacity:.95;
}

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

/* Social */
.footer-social{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.footer-social .social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
  font-size:.85rem;
  position:relative;
  overflow:hidden;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  will-change: transform;
}

.footer-social .social svg{
  width:18px;
  height:18px;
  fill:currentColor;
  display:block;
  transition: transform .18s ease, filter .18s ease;
}

.footer-social .social:hover{ transform: translateY(-2px); }
.footer-social .social:active{ transform: translateY(0); }

.footer-social .social:focus-visible{
  outline:2px solid rgba(255,255,255,.9);
  outline-offset:3px;
}

/* Instagram */
.footer-social .social[aria-label="Instagram"]{
  color:#fff;
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(135deg,#f58529 0%,#dd2a7b 35%,#8134af 70%,#515bd4 100%);
}
.footer-social .social[aria-label="Instagram"]:hover{ filter: brightness(1.05); }

/* Facebook */
.footer-social .social[aria-label="Facebook"]{
  color:#fff;
  border-color: rgba(255,255,255,.18);
  background:#1877f2;
}
.footer-social .social[aria-label="Facebook"]:hover{ filter: brightness(1.05); }

/* YouTube */
.footer-social .social[aria-label="YouTube"]{
  color:#fff;
  border-color: rgba(255,255,255,.18);
  background:#ff0000;
}
.footer-social .social[aria-label="YouTube"]:hover{ filter: brightness(1.05); }

.footer-social .social:hover svg{ transform: scale(1.06); }

@media (prefers-reduced-motion: reduce){
  .footer-social .social,
  .footer-social .social svg{
    transition:none !important;
  }
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 0 22px;
  border-top:1px solid rgba(255,255,255,.10);
  opacity:.92;
}

.footer-madeby{ opacity:.95; }

.footer-madeby a{
  font-weight:800;
  border-bottom:1px dashed rgba(255,255,255,.35);
}
.footer-madeby a:hover{ border-bottom-color: rgba(255,255,255,.75); }

.to-top{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.to-top:hover{ background: rgba(255,255,255,.12); }

@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:520px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   Mobile tweaks
   ========================================================= */
@media (max-width:520px){
  h1{ font-size:28px; }
  .nav{ flex-direction:column; align-items:flex-start; }
  .section-head{ flex-direction:column; align-items:flex-start; }
}




/* =========================================================
   ADD-ON: TOC premium
   ========================================================= */
.toc{
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.toc__title{
  font-weight: 900;
  letter-spacing: -0.2px;
}

.toc__list{
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.toc__item{ margin: 0; }

.toc__link{
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(17,24,39,.86);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.toc__link:hover{
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.14);
  transform: translateY(-1px);
}

.toc__link.is-active{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.22);
  font-weight: 900;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce){
  .toc__link{ transition:none !important; }
}




/* =========================================================
   ADD-ON: Hero stack (artículo) mejorado
   ========================================================= */
.hero--stack .hero-img{
  height: 420px;         /* desktop */
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

.hero--stack .hero-stack h1{
  letter-spacing: -0.3px;
}

.hero--stack .hero-stack .muted{
  color: rgba(17,24,39,.70);
  max-width: 70ch;
}

@media (min-width:1200px){
  .hero--stack .hero-img{ height: 460px; }
}

@media (max-width:560px){
  .hero--stack .hero-img{
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
  }
}






/* =========================================================
   ADD-ON: Cards consistentes en secciones related
   ========================================================= */
.related{
  margin-top: 34px;
}

.related h2{
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.related .card{
  padding: 14px; /* un poco más compacto que home */
}

.related .card-body{
  padding: 0; /* evitamos padding doble */
}

.related .card h3{
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.related .card p{
  margin: 0;
  font-size: 14px;
  color: rgba(17,24,39,.72);
  line-height: 1.55;
}

.related .card-img{
  height: 170px;
  border-radius: 12px;
}

@media (min-width:1200px){
  .related .card-img{ height: 190px; }
}


/* =========================================================
   FIX: Prosa editorial para Artículos (solo dentro del post)
   ========================================================= */

/* Ancho de lectura real (no solo px) */
.post__body{
  max-width: 72ch;
}

/* En mobile no limites por caracteres */
@media (max-width: 900px){
  .post__body{ max-width: 100%; }
}

/* Jerarquía tipográfica dentro del post */
.post__body p{
  font-size: 16.5px;
  line-height: 1.8;
  margin: 0 0 14px;
  color: rgba(17,24,39,.92);
}

.post__body h2{
  font-size: 28px;
  line-height: 1.22;
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
}

.post__body h3{
  font-size: 20px;
  line-height: 1.3;
  margin: 22px 0 10px;
  letter-spacing: -0.1px;
}

/* Listas más prolijas dentro del post */
.post__body ul,
.post__body ol{
  margin: 0 0 16px;
  padding-left: 20px;
}

.post__body li{
  margin: 6px 0;
}

/* Links más “editoriales” dentro del post */
.post__body a{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post__body a:hover{
  filter: brightness(.95);
}

/* Tablas dentro del post */
.post__body table{
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 15px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow: hidden;
}

.post__body th,
.post__body td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-align: left;
  vertical-align: top;
}

.post__body thead th{
  background: rgba(37,99,235,.06);
  font-weight: 800;
}

.post__body tbody tr:last-child td{
  border-bottom: 0;
}

/* Tablas: scroll horizontal en móvil (para no romper layout) */
@media (max-width: 560px){
  .post__body table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Bloques de media dentro del post */
.post__body img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  margin: 14px 0 20px;
}

/* =========================================================
   FIX: TOC unificado (evita conflicto de estilos duplicados)
   ========================================================= */

.toc{
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  border-radius: 12px;
  padding: 14px;
}

.toc__title{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.toc__list{
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.toc__item{ margin: 0; }

.toc__link{
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: rgba(17,24,39,.86);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.toc__link:hover{
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.14);
  transform: translateY(-1px);
}

.toc__link.is-active{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.22);
  font-weight: 900;
}

/* Reduce-motion */
@media (prefers-reduced-motion: reduce){
  .toc__link{ transition:none !important; }
}



/* =========================================================
   DESTINOS POSIBLES — Refinamientos (FAQ / CTA / TOC)
   Pegá al FINAL del CSS para override
   ========================================================= */

/* ---------- A) TOC: más editorial, menos "link azul subrayado" ---------- */
.dp-toc{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.04);
  padding: 16px;
}

.dp-toc h3{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(38,70,83,.85);
  margin-bottom: 12px;
}

/* Quitar subrayado y estilo "link" */
.dp-toc a{
  text-decoration: none;
  color: rgba(17,24,39,.86);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  position: relative;
}

/* Hover suave */
.dp-toc a:hover{
  background: rgba(231,111,81,.08);
  border-color: rgba(231,111,81,.14);
}

/* Activo: barrita lateral + tono petróleo */
.dp-toc a.is-active{
  font-weight: 800;
  color: var(--dp-title);
  background: rgba(231,111,81,.10);
  border-color: rgba(231,111,81,.20);
}

.dp-toc a.is-active::before{
  content:"";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--dp-accent);
}

/* Separación de items */
.dp-toc ul{ gap: 8px; }

/* ---------- B) CTA / Recomendaciones: menos "botón azul gigante" ---------- */
/* Si tu contenedor actual es .cta-stack, lo refinamos sin tocar HTML */
.cta-stack{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.04);
  border-radius: 16px;
  padding: 16px;
}

/* Título del bloque */
.cta-stack h2{
  font-family: "Playfair Display", Georgia, serif;
  color: var(--dp-title);
  font-size: 20px;
  margin: 0 0 12px;
}

/* Cada CTA (si tu bloque usa .block-cta ya) */
.block-cta{
  background: linear-gradient(180deg, rgba(231,111,81,.10) 0%, rgba(231,111,81,.06) 100%);
  border: 1px solid rgba(231,111,81,.18);
  border-radius: 16px;
  padding: 14px;
  text-align: left;
}

/* Botón: coral, no azul */
.block-cta .btn{
  background: var(--dp-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  width: auto;            /* <-- clave: que no ocupe el 100% */
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.block-cta .btn:hover{
  transform: translateY(-1px);
  filter: brightness(.97);
}

.block-cta .btn::after{
  content:"→";
  font-weight: 900;
}

/* Nota debajo (más pequeña y elegante) */
.block-cta .cta-note{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(17,24,39,.68);
}

/* ---------- C) FAQ: estilo acordeón revista ---------- */
/* Necesito saber tu markup exacto, pero por la captura parece <details><summary> */
.post__body details,
.dp-prose details,
.content details{
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.035);
  margin: 10px 0;
  overflow: hidden;
}

/* Quitar el triángulo default */
.post__body summary,
.dp-prose summary,
.content summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--dp-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post__body summary::-webkit-details-marker,
.dp-prose summary::-webkit-details-marker,
.content summary::-webkit-details-marker{
  display: none;
}

/* Ícono “+” / “–” */
.post__body summary::after,
.dp-prose summary::after,
.content summary::after{
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(38,70,83,.08);
  color: rgba(38,70,83,.9);
  flex: 0 0 auto;
  font-weight: 900;
}

.post__body details[open] summary::after,
.dp-prose details[open] summary::after,
.content details[open] summary::after{
  content: "–";
  background: rgba(231,111,81,.14);
  color: var(--dp-accent);
}

/* Contenido del FAQ */
.post__body details > *:not(summary),
.dp-prose details > *:not(summary),
.content details > *:not(summary){
  padding: 0 16px 14px 16px;
  color: rgba(17,24,39,.80);
  line-height: 1.7;
}

/* Separación en FAQ (si hay un h2 arriba) */
.post__body h2 + details,
.dp-prose h2 + details,
.content h2 + details{
  margin-top: 14px;
}


@media (max-width: 992px){
  .dp-toc{
    position: relative;
    top: auto;
    max-height: none;
  }
}


/* =========================================================
   CTA Block — Destinos Posibles (override del HTML actual)
   ========================================================= */

.block.block-cta{
  background: linear-gradient(180deg, rgba(231,111,81,.10) 0%, rgba(231,111,81,.06) 100%);
  border: 1px solid rgba(231,111,81,.18);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

/* Matar el look bootstrap azul SOLO en este bloque */
.block.block-cta .btn.btn-primary{
  background: #E76F51;
  border-color: #E76F51;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: auto;              /* clave: no full width */
  box-shadow: 0 10px 20px rgba(231,111,81,.18);
}

/* Hover más “magazine” */
.block.block-cta .btn.btn-primary:hover{
  filter: brightness(.97);
  transform: translateY(-1px);
}

/* Flecha editorial */
.block.block-cta .btn.btn-primary::after{
  content: "→";
  font-weight: 900;
}

/* Nota más fina */
.block.block-cta .cta-note{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(17,24,39,.68);
  line-height: 1.5;
}


.block.block-cta .cta-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(38,70,83,.85);
  font-weight: 800;
}