/*
Theme Name: 9Norte Editorial v12
Theme URI: https://9norte.es
Author: 9Norte
Description: Tema ligero para la web editorial 9Norte. Portada marca-principal y catálogo con Sombras del pasado destacado.
Version: 1.8.0
License: Proprietary
Text Domain: nueve-norte
*/
:root{
  --bg:#070706;
  --panel:#11100e;
  --panel2:#15130f;
  --ink:#f5ead2;
  --ink2:#fff6e4;
  --muted:#c8b184;
  --soft:#e4d6bd;
  --gold:#c99a35;
  --gold2:#f1d279;
  --gold3:#9a6b18;
  --line:rgba(241,210,121,.24);
  --shadow:rgba(0,0,0,.48);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:17px;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.serif{font-family:"Cormorant Garamond",Georgia,serif}


.site-header{position:sticky;top:0;z-index:99;background:rgba(5,5,5,.78);backdrop-filter:blur(16px);border-bottom:1px solid rgba(201,154,53,.16)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:12px 0}
.brand{display:flex;align-items:center;gap:14px;line-height:0}
.brand img{width:178px;max-height:48px;object-fit:contain;display:block;filter:drop-shadow(0 6px 18px rgba(0,0,0,.42))}
.menu{display:flex;gap:28px;align-items:center}
.menu a{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:600}
.menu a:hover{color:var(--gold2)}
.menu-toggle{display:none;background:none;border:1px solid var(--line);color:var(--ink);padding:9px 12px;border-radius:2px;font-weight:700}

.hero{position:relative;min-height:78vh;display:grid;align-items:center;overflow:hidden;background:#030303;border-bottom:1px solid var(--line)}
.hero:before{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 50% 18%,rgba(216,176,77,.20),transparent 22%),
  radial-gradient(circle at 50% 62%,rgba(216,176,77,.08),transparent 28%),
  linear-gradient(180deg,rgba(0,0,0,.88) 0%,rgba(3,3,3,.98) 72%,#030303 100%);pointer-events:none;z-index:0}
.hero:after{content:"";position:absolute;left:8%;right:8%;bottom:42px;height:1px;background:linear-gradient(90deg,transparent,rgba(241,210,121,.45),transparent);opacity:.65;z-index:0}
.hero-inner{position:relative;z-index:1;padding:64px 0 96px;display:flex;align-items:center;justify-content:center;text-align:center}
.hero-copy{width:100%;max-width:1080px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero-logo{display:block;width:min(820px,92vw);max-height:310px;object-fit:contain;margin:0 auto 28px;filter:drop-shadow(0 18px 44px rgba(0,0,0,.74)) drop-shadow(0 0 22px rgba(217,173,63,.10))}
.brand-rule{width:min(520px,64vw);height:1px;background:linear-gradient(90deg,transparent,rgba(241,210,121,.68),transparent);margin:0 auto 28px}
.hero .eyebrow{display:none}
.hero h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(40px,4.4vw,64px);line-height:.98;margin:0 0 20px;font-weight:600;letter-spacing:-.026em;color:var(--ink2);max-width:820px;text-wrap:balance;text-shadow:0 8px 24px rgba(0,0,0,.42)}
.lead{font-size:clamp(17px,1.35vw,20px);color:var(--soft);max-width:650px;margin:0 auto 34px;text-shadow:0 6px 18px rgba(0,0,0,.4)}
.actions{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid var(--gold);padding:15px 24px;color:var(--ink);letter-spacing:.035em;min-height:56px;font-weight:700;transition:.22s ease}
.btn.primary{background:linear-gradient(180deg,#dcb14d,#a97418);color:#080807;border-color:#dcb14d;box-shadow:0 12px 30px rgba(0,0,0,.32)}
.btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.btn.secondary{background:rgba(0,0,0,.16)}
.hero-side{display:none}

.section{padding:96px 0;border-top:1px solid var(--line);background:linear-gradient(180deg,#080807,#0b0a08)}
.section-title{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:30px}
.section-title h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(42px,5vw,74px);line-height:.95;margin:0;color:var(--ink2)}
.section-title p{color:var(--muted);max-width:500px;margin:0;font-size:18px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:linear-gradient(180deg,rgba(255,255,255,.048),rgba(255,255,255,.018));border:1px solid var(--line);padding:24px;min-height:190px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 12px 30px var(--shadow)}
.card h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:31px;line-height:1.04;margin:0 0 14px;color:var(--ink2)}
.card p{color:#d7c6a7;margin:0}
.tag{display:inline-block;color:var(--gold2);font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-top:22px;font-weight:700}
.catalog{grid-template-columns:repeat(3,1fr)}
.book{min-height:250px}
.editorial{display:grid;grid-template-columns:.78fr 1.22fr;gap:42px;align-items:center}
.editorial-logo{background:#0d0c0b;border:1px solid var(--line);padding:28px;box-shadow:0 18px 50px var(--shadow)}
.editorial-logo img{display:block;opacity:.94}
.editorial-copy p{font-size:19px;color:#e0d1b8}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.footer{padding:38px 0;border-top:1px solid var(--line);color:#bda874;background:#070706}
.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.footer small{color:#7e6d50}
.copy{max-width:850px}
.copy h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(48px,7vw,88px);line-height:.95;color:var(--ink2)}
.copy p{color:#e0d1b8}
.single-book{display:grid;grid-template-columns:300px 1fr;gap:42px}
.book-cover-placeholder{aspect-ratio:2/3;background:linear-gradient(160deg,#201b13,#090807);border:1px solid var(--line);display:grid;place-items:center;color:var(--gold2);font-family:"Cormorant Garamond",Georgia,serif;font-size:36px;text-align:center;padding:20px}


.catalog{
  gap:22px;
}
.book{
  position:relative;
  min-height:360px;
  padding:0;
  overflow:hidden;
  background:#0b0a08;
}
.book:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(245,234,210,.045),rgba(0,0,0,.08)),
    radial-gradient(circle at 26% 22%,rgba(241,210,121,.14),transparent 28%);
  opacity:.85;
}
.book-cover{
  position:relative;
  min-height:230px;
  padding:24px;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.01)),
    linear-gradient(180deg,#1b1710,#090807);
}
.book-cover:after{
  content:"✦";
  color:var(--gold2);
  opacity:.8;
  font-size:18px;
  align-self:flex-end;
}
.book:nth-child(1) .book-cover{background:linear-gradient(160deg,#312719,#0a0907)}
.book:nth-child(2) .book-cover{background:linear-gradient(160deg,#5a2417,#120b08)}
.book:nth-child(3) .book-cover{background:linear-gradient(160deg,#1c1a16,#070706)}
.book:nth-child(4) .book-cover{background:linear-gradient(160deg,#2a241b,#0c0a08)}
.book:nth-child(5) .book-cover{background:linear-gradient(160deg,#1b1a19,#080807)}
.book-title-on-cover{
  position:relative;
  z-index:1;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(34px,3vw,46px);
  line-height:.98;
  color:var(--ink2);
  max-width:9ch;
  text-shadow:0 8px 22px rgba(0,0,0,.55);
}
.book-meta{
  position:relative;
  z-index:1;
  padding:22px 24px 24px;
}
.book-meta h3{
  font-size:28px;
  margin-bottom:10px;
}
.book-meta p{
  font-size:15px;
}

@media(max-width:980px){
  .menu-toggle{display:block}
  .menu{display:none;position:absolute;top:72px;left:20px;right:20px;flex-direction:column;background:#0d0c0b;border:1px solid var(--line);padding:20px;align-items:flex-start;gap:16px}
  .menu.open{display:flex}
  .brand img{width:150px}
  .hero{min-height:auto}
  .hero:after{left:10%;right:10%;bottom:34px;width:auto;height:1px;opacity:.55}
  .hero-inner{padding:58px 0 86px}
  .hero-logo{width:min(720px,92vw);max-height:250px;margin-bottom:28px}
  .brand-rule{margin-bottom:24px}
  .hero h1{font-size:clamp(36px,6.6vw,54px);max-width:720px}
  .lead{font-size:18px}
  .grid,.catalog,.news-grid,.editorial,.single-book{grid-template-columns:1fr}
  .section-title{display:block}
  .footer-inner{display:block}
}
@media(max-width:640px){
  .wrap{width:min(100% - 32px,1180px)}
  .header-inner{padding:10px 0}
  .brand img{width:132px}
  .hero:after{left:14%;right:14%;bottom:26px;width:auto;height:1px;opacity:.45}
  .hero-inner{padding:42px 0 70px}
  .hero-logo{width:min(560px,94vw);max-height:190px;margin-bottom:22px}
  .brand-rule{width:70vw;margin-bottom:20px}
  .hero h1{font-size:clamp(32px,8vw,42px);line-height:1;margin-bottom:16px;max-width:13ch}
  .lead{font-size:16px;line-height:1.5;margin-bottom:26px;max-width:360px}
  .btn{width:100%;min-height:54px}
  .section{padding:70px 0}
  .card{min-height:auto}
}


/* v8 - Sombras del pasado destacado */
html{scroll-padding-top:92px}
.feature-section{
  padding-top:94px;
  padding-bottom:94px;
  background:
    radial-gradient(circle at 78% 18%,rgba(201,154,53,.12),transparent 30%),
    linear-gradient(180deg,#090807,#0d0b09);
}
.featured-book{
  display:grid;
  grid-template-columns:minmax(260px,400px) 1fr;
  gap:54px;
  align-items:center;
  padding:34px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015));
  box-shadow:0 22px 70px rgba(0,0,0,.46);
}
.featured-cover-wrap{
  position:relative;
  max-width:380px;
  margin:auto;
}
.featured-cover-wrap:before{
  content:"";
  position:absolute;
  inset:18px -16px -18px 18px;
  background:linear-gradient(180deg,rgba(201,154,53,.22),rgba(0,0,0,.0));
  border:1px solid rgba(241,210,121,.22);
  z-index:0;
}
.featured-cover-img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  border:1px solid rgba(241,210,121,.28);
  box-shadow:0 24px 64px rgba(0,0,0,.66);
}
.eyebrow{
  margin:0 0 14px;
  color:var(--gold2);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  font-weight:800;
}
.featured-copy h2,
.editorial-copy h2,
.copy h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(46px,6vw,88px);
  line-height:.92;
  margin:0 0 8px;
  color:var(--ink2);
}
.featured-subtitle{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(28px,3vw,42px);
  line-height:1;
  margin:0 0 12px;
  color:var(--gold2);
}
.featured-author{
  margin:0 0 24px;
  color:#e7d9bd;
  letter-spacing:.04em;
  font-weight:700;
}
.featured-text{
  color:#decfb5;
  max-width:720px;
  font-size:19px;
  line-height:1.62;
  margin:0 0 24px;
}
.book-data{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 28px;
}
.book-data span{
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:#d9c495;
  padding:8px 12px;
  font-size:13px;
  letter-spacing:.04em;
}
.btn.disabled{
  opacity:.58;
  cursor:not-allowed;
  background:rgba(0,0,0,.14);
  color:#bca56d;
}
.btn.disabled:hover{transform:none;filter:none}
.image-cover{
  padding:0;
  min-height:0;
  background:#070706 !important;
  display:block;
}
.image-cover:after{display:none}
.image-cover img{
  display:block;
  width:100%;
  height:auto;
}
.book-real-cover .book-meta{
  border-top:1px solid var(--line);
}
.book-subtitle{
  color:var(--gold2) !important;
  margin:-4px 0 8px !important;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:22px !important;
  line-height:1.05;
}
.catalog .book-real-cover{
  grid-row:span 2;
}
.catalog .book-real-cover .book-cover{
  border-bottom:0;
}
.catalog .book-real-cover .book-meta h3{
  font-size:34px;
}
@media(max-width:980px){
  .featured-book{grid-template-columns:1fr;gap:30px;padding:24px}
  .featured-cover-wrap{max-width:330px}
  .catalog .book-real-cover{grid-row:auto}
}
@media(max-width:640px){
  .feature-section{padding-top:70px;padding-bottom:70px}
  .featured-book{padding:18px}
  .featured-copy h2{font-size:clamp(42px,12vw,58px)}
  .featured-subtitle{font-size:30px}
  .featured-text{font-size:16px;line-height:1.55}
  .book-data span{width:100%}
}

/* Version: 11.0.0 */
