/* ==========================================================================
   Atlas Del Whisky — páginas de contenido (Regiones, Guías, Acerca de)
   Estilo editorial premium sobre los tokens de atlas.css.
   ========================================================================== */

/* Breadcrumb (estas páginas no cargan escocia.css, donde vivían estos estilos) */
.breadcrumb{display:flex;align-items:center;gap:.55rem;padding:.7rem 1.6rem;
  border-bottom:1px solid var(--line);background:rgba(12,10,7,.5);font-size:.78rem;color:var(--muted)}
.breadcrumb a{color:var(--gold);transition:color .2s}
.breadcrumb a:hover{color:var(--gold-bright)}
.breadcrumb .sep{color:var(--muted-2)}
.breadcrumb .cur{color:var(--cream)}
.breadcrumb svg{width:14px;height:14px;color:var(--gold);flex:none}

.content-wrap{max-width:1180px;margin:0 auto;padding:1.6rem 1.6rem 3rem;width:100%}
.content-head{text-align:center;margin:1.2rem 0 2.2rem}
.content-head .eyebrow{display:block;margin-bottom:.6rem}
.content-head h1{font-family:var(--serif-display);font-size:clamp(1.9rem,4vw,2.9rem);
  letter-spacing:.05em;color:var(--cream)}
.content-head p{font-family:var(--serif-body);font-size:1.15rem;color:var(--muted);
  max-width:44rem;margin:.7rem auto 0;line-height:1.5}

/* ---- Regiones ---- */
.rg-country{margin-bottom:2.4rem}
.rg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;margin-top:1rem}
.rg-card{display:block;border:1px solid var(--line);border-top:3px solid var(--rc,var(--gold));
  border-radius:10px;overflow:hidden;background:rgba(201,162,74,.04);
  transition:transform .2s,border-color .2s,box-shadow .2s;cursor:pointer}
.rg-card:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:var(--shadow)}
.rg-img{height:132px;background-size:cover;background-position:center;position:relative}
.rg-img::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(20,17,12,0) 40%,rgba(20,17,12,.55) 75%,var(--carbon))}
.rg-card:hover .rg-img{transform:none}
.rg-body{padding:.5rem 1.15rem 1.1rem;margin-top:-1.4rem;position:relative;z-index:2}
.rg-top{display:flex;align-items:center;gap:.55rem}
.rg-dot{width:13px;height:13px;border-radius:50%;flex:none;box-shadow:0 0 8px var(--rc)}
.rg-n{font-family:var(--serif-body);font-size:1.28rem;font-weight:600;color:var(--cream);flex:1}
.rg-count{font-size:.8rem;color:var(--gold);font-weight:600}
.rg-tag{font-size:.78rem;color:var(--gold);margin-top:.35rem;letter-spacing:.01em}
.rg-desc{font-size:.86rem;color:var(--muted);line-height:1.45;margin-top:.5rem}
.rg-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}
.rg-chips .chip{font-size:.68rem;color:#e4d9bf;border:1px solid var(--line);border-radius:999px;
  padding:.2rem .6rem;background:rgba(0,0,0,.25)}

/* ---- Editorial (Guías / Acerca) ---- */
.editorial{display:grid;grid-template-columns:200px 1fr;gap:2.4rem;align-items:start}
.toc{position:sticky;top:90px;border-left:1px solid var(--line);padding-left:1rem}
.toc-h{font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem}
.toc a{display:block;font-size:.86rem;color:var(--muted);padding:.32rem 0;transition:color .2s}
.toc a:hover{color:var(--cream)}
.prose{max-width:720px}
.prose section{margin-bottom:2.6rem;scroll-margin-top:90px}
.prose h2{font-family:var(--serif-display);font-size:1.7rem;letter-spacing:.03em;color:var(--cream);
  margin-bottom:.9rem;padding-bottom:.5rem;border-bottom:1px solid var(--line)}
.prose h3{font-family:var(--serif-body);font-size:1.3rem;font-weight:600;color:var(--gold-bright);margin:1.3rem 0 .4rem}
.prose p{font-family:var(--serif-body);font-size:1.14rem;line-height:1.65;color:#e4d9bf;margin-bottom:.9rem}
.prose p.lead::first-letter{font-family:var(--serif-display);float:left;font-size:3.4rem;line-height:.8;
  padding:.1rem .5rem .1rem 0;color:var(--gold)}
.prose ol{margin:.5rem 0 1rem 1.2rem}
.prose ol li{font-family:var(--serif-body);font-size:1.1rem;line-height:1.55;color:#e4d9bf;margin-bottom:.5rem}
.prose strong{color:var(--cream);font-weight:600}

/* Glosario */
.glosario{display:grid;grid-template-columns:1fr 1fr;gap:.2rem 2rem}
.gl-item{padding:.75rem 0;border-bottom:1px solid var(--line)}
.gl-term{font-family:var(--serif-body);font-size:1.14rem;font-weight:600;color:var(--gold-bright)}
.gl-def{font-size:.92rem;color:var(--muted);line-height:1.45;margin-top:.15rem}

/* Acerca */
.about{max-width:720px;margin:0 auto;text-align:center}
.about p{font-family:var(--serif-body);font-size:1.25rem;line-height:1.6;color:#e4d9bf;margin-bottom:1.2rem}
.about .cta{display:inline-block;margin-top:1.4rem;padding:.9rem 2.2rem;font-size:.72rem;letter-spacing:.2em;
  text-transform:uppercase;font-weight:700;color:var(--carbon);border-radius:7px;
  background:linear-gradient(180deg,var(--gold-bright),var(--gold) 60%,var(--gold-deep))}

@media (max-width:860px){
  .editorial{grid-template-columns:1fr}
  .toc{position:static;border-left:none;border-bottom:1px solid var(--line);padding:0 0 1rem;margin-bottom:1.5rem;
    display:flex;flex-wrap:wrap;gap:.3rem 1.2rem}
  .glosario{grid-template-columns:1fr}
}

/* ===== CMS: Artículos y Guías ===== */
.cms-section{margin:0 0 3rem}
.cms-h{font-family:var(--serif-display);font-size:1.7rem;color:var(--cream);margin:0 0 1.3rem;
  padding-bottom:.6rem;border-bottom:1px solid var(--line)}
.cms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.4rem}
.cms-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;overflow:hidden;
  background:linear-gradient(180deg,rgba(201,162,74,.05),rgba(20,17,12,.25));text-decoration:none;color:inherit;
  transition:transform .18s,border-color .18s,box-shadow .18s}
.cms-card:hover{transform:translateY(-4px);border-color:var(--line-strong);box-shadow:0 18px 40px rgba(0,0,0,.4)}
.cms-card-img{height:150px;background-size:cover;background-position:center;border-bottom:1px solid var(--line)}
.cms-card-img.cms-noimg{display:flex;align-items:center;justify-content:center;letter-spacing:.28em;font-size:.72rem;
  color:var(--gold);background:radial-gradient(circle at 50% 40%,rgba(201,162,74,.14),rgba(20,17,12,.4))}
.cms-card-b{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.cms-card-b h3{font-family:var(--serif-body);font-size:1.2rem;color:var(--cream);margin:0;line-height:1.25}
.cms-card-b p{color:var(--muted);font-size:.9rem;line-height:1.5;margin:0}
.cms-meta{font-size:.72rem;letter-spacing:.06em;color:var(--muted-2);text-transform:uppercase}
.cms-more{margin-top:auto;color:var(--gold-bright);font-size:.8rem;letter-spacing:.08em;font-weight:600}
.cms-empty{color:var(--muted-2);padding:2.5rem 1rem;text-align:center;border:1px dashed var(--line);border-radius:12px}

/* detalle de nota */
.nota{max-width:760px;margin:0 auto}
.nota-back{display:inline-block;color:var(--gold);font-size:.85rem;margin-bottom:1.4rem;text-decoration:none}
.nota-back:hover{color:var(--gold-bright)}
.nota-hero{height:min(340px,46vw);border-radius:14px;background-size:cover;background-position:center;
  border:1px solid var(--line-strong);margin-bottom:1.6rem}
.nota-title{font-family:var(--serif-display);font-size:clamp(1.9rem,4.4vw,2.8rem);color:var(--cream);line-height:1.08;margin:.3rem 0 .6rem}
.nota-meta{color:var(--gold);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1.6rem}
.nota-lead{font-family:var(--serif-body);font-size:1.2rem;color:#e4d9bf;line-height:1.55;margin:0 0 1.6rem}
.nota-body p{color:var(--cream);line-height:1.85;margin:0 0 1.15rem;font-size:1.02rem}
.nota-body h2{font-family:var(--serif-display);font-size:1.55rem;color:var(--gold-bright);margin:2rem 0 .8rem;line-height:1.2}
.nota-body h3{font-family:var(--serif-body);font-size:1.2rem;color:var(--cream);margin:1.6rem 0 .6rem;font-weight:600}
.nota-body ul,.nota-body ol{color:var(--cream);line-height:1.8;margin:0 0 1.2rem;padding-left:1.4rem}
.nota-body li{margin:.3rem 0}
.nota-body a{color:var(--gold-bright);text-decoration:underline;text-underline-offset:2px}
.nota-body strong{color:#fff}
.nota-body blockquote{border-left:3px solid var(--gold);margin:1.4rem 0;padding:.4rem 0 .4rem 1.2rem;color:#e4d9bf;font-family:var(--serif-body);font-style:italic;font-size:1.15rem}
.nota-body img{max-width:100%;border-radius:10px;margin:1.2rem 0;border:1px solid var(--line)}
.nota-body table{width:100%;border-collapse:collapse;margin:1.4rem 0;font-size:.95rem}
.nota-body th,.nota-body td{border:1px solid var(--line);padding:.6rem .8rem;text-align:left}
.nota-body th{background:rgba(201,162,74,.1);color:var(--gold-bright)}
.nota-body pre{background:rgba(0,0,0,.4);border:1px solid var(--line);border-radius:8px;padding:1rem;overflow:auto;margin:1.2rem 0}
.nota-body code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.9em;color:#d9c99f}
.nota-body hr{border:none;border-top:1px solid var(--line);margin:2rem 0}

/* ===== Artículos relacionados (al final de cada nota) ===== */
.related-wrap{margin:2.6rem 0 1rem;border-top:1px solid var(--line);padding-top:1.8rem}
.related-h{font-family:var(--serif-display);color:var(--gold-bright);font-size:1.4rem;margin:0 0 1.1rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}
.rel-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;
  background:rgba(201,162,74,.04);text-decoration:none;transition:border-color .2s,transform .2s,background .2s}
.rel-card:hover{border-color:var(--gold);background:rgba(201,162,74,.09);transform:translateY(-3px)}
.rel-thumb{display:block;height:120px;background-size:cover;background-position:center;background-color:#1a140c}
.rel-noimg{background:linear-gradient(135deg,rgba(201,162,74,.18),#140f09)}
.rel-body{display:flex;flex-direction:column;gap:.4rem;padding:.85rem .9rem 1rem;flex:1}
.rel-t{font-family:var(--serif-body);font-weight:600;font-size:1.02rem;color:var(--cream);line-height:1.28;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rel-d{font-size:.8rem;color:var(--muted-2);line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rel-go{display:inline-flex;align-items:center;gap:.35rem;margin-top:auto;color:var(--gold);
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}
.rel-go svg{width:14px;height:14px;transition:transform .2s}
.rel-card:hover .rel-go svg{transform:translateX(3px)}
@media (max-width:820px){.related-grid{grid-template-columns:1fr}}
