/* RoldaYork · Historia de Roldanillo: editorial propio, fotografías rectangulares, sin sticky. */
.rh{--ink:#202b2c;--cream:#f8f5ee;--sand:#eee8dd;--terracotta:#a65c44;--muted:#546161;color:var(--ink);background:var(--cream);font:400 15px/1.7 Inter,system-ui,-apple-system,sans-serif;overflow:clip}
.rh *, .rh *::before,.rh *::after{box-sizing:border-box}
.rh a{text-decoration:none}
.rh a:focus-visible{outline:3px solid #dfa77b;outline-offset:4px}
.rh img{display:block;width:100%;max-width:100%;border-radius:0}
.rh h1,.rh h2,.rh h3,.rh p{margin:0}
.rh h1,.rh h2,.rh h3{letter-spacing:-.05em}
.rh h1,.rh h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08}
.rh h2{font-size:clamp(39px,5.25vw,74px)}
.rh h2 em{color:var(--terracotta)}
.rh strong{color:#29403d}
.rh-container{width:min(1210px,calc(100% - 58px));margin-inline:auto}
.rh-section{padding:clamp(70px,8vw,115px) 0;scroll-margin-top:16px}
.rh-kicker{color:#a0604c;font-size:11px;line-height:1.5;letter-spacing:.16em;font-weight:850;margin:0 0 22px!important}

/* Portada editorial original: conserva su composición y la fotografía también se documenta en el siglo XX. */
.rh-hero{position:relative;isolation:isolate;min-height:clamp(690px,95svh,960px);color:#fff;background:#141717;overflow:hidden;display:flex}
.rh-hero-photo,.rh-hero-shade{position:absolute;inset:0;width:100%;height:100%}
.rh-hero-photo{z-index:-2;object-fit:cover;object-position:center 38%;filter:grayscale(1)}
.rh-hero-shade{z-index:-1;pointer-events:none;background:linear-gradient(90deg,#101818d9 0%,#161e1c9e 39%,#1018181a 100%),linear-gradient(0deg,#0e1717cf 0%,transparent 43%)}
.rh-hero-inner{min-height:inherit;display:flex;flex-direction:column}
.rh-hero-copy{padding:clamp(140px,18vw,210px) 0 65px;margin:auto 0;max-width:885px}
.rh-eyebrow{font-size:11px;letter-spacing:.19em;font-weight:850;color:#f2c8a1}
.rh h1{font-size:clamp(63px,9.6vw,139px);letter-spacing:-.07em;text-shadow:0 3px 19px #1119;margin:27px 0}
.rh h1 em{color:#f0be99;font-weight:400}
.rh-deck{max-width:630px;font-size:clamp(16px,1.7vw,20px);line-height:1.8;color:#f1f1ea}
.rh-main-cta{display:inline-flex;gap:25px;align-items:center;justify-content:center;margin-top:31px;padding:16px 22px;background:#f0c597;color:#24302d;font-size:13px;font-weight:850}
.rh-main-cta:hover{background:#fff0da}
.rh-hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 30px}
.rh-hero-bottom small{color:#e3ddd1;font-size:11px}
.rh-hero-bottom a{color:#f3caa1;font-size:12px;font-weight:800}
/* Nada sticky, ni carrusel horizontal de submenú. */
.rh-nav{position:static!important;top:auto!important;z-index:auto!important;background:#f0ebe2;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
.rh-nav>.rh-container{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;min-height:67px;align-items:center;padding:12px 0;overflow:visible}
.rh-nav a{text-align:center;font-weight:850;color:#384b49;font-size:12px;line-height:1.35;padding:10px 4px;white-space:normal}
.rh-nav a:hover{color:#9d5943}
.rh-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(31px,6vw,93px)}
.rh-grid--reverse{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
.rh-text{min-width:0}
.rh-text h2{margin:0 0 26px}
.rh-text p:not(.rh-kicker){font-size:15px;line-height:1.86;color:#465958;margin-bottom:17px}
.rh-photo{margin:0;min-width:0}
.rh-photo img{height:clamp(305px,41vw,530px);object-fit:cover;object-position:center}
.rh-photo figcaption{font-size:11px;line-height:1.6;color:#61706e;margin:11px 0 0}
.rh-photo figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.rh-photo--large img{height:clamp(370px,45vw,600px)}
.rh-photo--wide img{height:clamp(330px,50vw,550px)}
.rh-warm{background:#efe9df}
.rh-paper{background:#fffaf1}
.rh-art{background:#fff}
.rh-flight{background:#e6ecea}
.rh-link{display:inline-flex;margin-top:14px;font-size:12px;font-weight:850;color:#8a543b;border-bottom:1px solid;padding-bottom:5px}
.rh-link:hover{color:#543225}
/* Cronología documental: sin numeración flotante ni arcos. */
.rh-timeline{background:#273c38;color:#f6f4ed}
.rh-timeline .rh-kicker{color:#ecbd8e}
.rh-timeline h2 em{color:#efc18f}
.rh-timeline-head{display:grid;grid-template-columns:1.1fr .8fr;gap:54px;align-items:end;margin-bottom:42px}
.rh-timeline-head>p{font-size:15px;line-height:1.7;color:#d9e2dc}
.rh-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:35px}
.rh-years>div{padding:22px;border-top:2px solid #c8a07d;background:#fefdf30b}
.rh-years strong{display:block;color:#f5c38f;font:400 clamp(42px,5vw,70px)/1.1 Georgia,serif;margin-bottom:18px}
.rh-years p{font-size:13px;color:#e1e6dc;line-height:1.7}
.rh-years p strong{display:inline;color:#fff;font:inherit;font-weight:800}
.rh-years a{display:inline-block;font-size:12px;color:#f0ca9e;font-weight:850;margin-top:14px;text-decoration:underline}
.rh-timeline .rh-photo figcaption{color:#e3ebe4}
/* Reconstrucción. */
.rh-2026{background:#efe5da}
.rh-2026 .rh-photo img{object-position:center}
.rh-closing{background:#182e2d;color:#fff}
.rh-closing-inner{display:grid;grid-template-columns:1fr .95fr;gap:clamp(27px,6vw,95px);align-items:center}
.rh-closing .rh-kicker{color:#f1c596}
.rh-closing h2 em{color:#f4bf95}
.rh-closing .rh-text p:not(.rh-kicker){color:#dce6e0}
.rh-closing .rh-photo figcaption{color:#c7d5cd}
.rh-closing .rh-photo a{color:#efd1af}
.rh-sources{background:#fffaf2}
.rh-sources h2{font-size:clamp(33px,4vw,56px);margin-bottom:19px}
.rh-sources>.rh-container>p:not(.rh-kicker){font-size:13px;color:#5b6b68;max-width:980px}
.rh-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;margin-top:33px;border-top:1px solid #d6d4cc}
.rh-source-grid a{padding:17px 0;border-bottom:1px solid #d6d4cc;display:flex;flex-direction:column;gap:5px;color:#314742}
.rh-source-grid a strong{font-size:13px}
.rh-source-grid a span{font-size:12px;color:#687671}
.rh-sources .rh-source-note{margin-top:28px;color:#6e7b76}
@media(max-width:900px){
 .rh-grid,.rh-grid--reverse,.rh-closing-inner{gap:35px}
 .rh-timeline-head{gap:25px}
}
@media(max-width:700px){
 .rh-container{width:min(100% - 32px,640px)}
 .rh-section{padding:64px 0}
 .rh-hero{min-height:800px}
 .rh-hero-photo{object-position:53% 27%}
 .rh-hero-shade{background:linear-gradient(0deg,#111b1bed 0%,#151d1be0 35%,#161c1c50 76%,#141b1b25)}
 .rh-hero-copy{padding:clamp(235px,34svh,330px) 0 38px;margin:auto 0 0}
 .rh-eyebrow{font-size:10px;letter-spacing:.12em}
 .rh h1{font-size:clamp(48px,12.5vw,81px);margin:21px 0}
 .rh-deck{font-size:14px;line-height:1.65}
 .rh-main-cta{width:100%;padding:15px;font-size:12px}
 .rh-hero-bottom{padding:14px 0 21px;align-items:start;flex-direction:column-reverse;gap:7px}
 .rh-hero-bottom a{font-size:11px}
 .rh-hero-bottom small{font-size:10px}
 .rh-nav>.rh-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-height:0}
 .rh-nav a{font-size:11px;padding:9px 2px}
 .rh-grid,.rh-grid--reverse,.rh-closing-inner{grid-template-columns:minmax(0,1fr);gap:26px}
 .rh-text h2{font-size:clamp(37px,9.3vw,55px)}
 .rh-text p:not(.rh-kicker){font-size:14px}
 .rh-photo img,.rh-photo--large img,.rh-photo--wide img{height:auto;aspect-ratio:4/3}
 .rh-timeline-head{grid-template-columns:1fr;gap:8px;margin-bottom:24px}
 .rh-years{grid-template-columns:1fr;gap:9px;margin-bottom:25px}
 .rh-years>div{padding:19px}
 .rh-years strong{font-size:42px;margin-bottom:9px}
 .rh-source-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.rh :is(a,img){scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Fotografía y documentos auténticos, ubicados en el capítulo correcto. */
.rh-era-document{padding:clamp(27px,5vw,55px);min-height:390px;background:#e5d8c5;display:flex;flex-direction:column;justify-content:center;border-left:5px solid #a65c44}
.rh-era-label,.rh-source-document>span{font-size:11px;font-weight:800;letter-spacing:.11em;color:#82503d}
.rh-era-document>strong{display:block;font:400 clamp(54px,7vw,100px)/1.15 Georgia,serif;color:#4c453a;margin:20px 0}
.rh-era-document>strong span{color:#a65c44}
.rh-era-document p,.rh-source-document p{font-size:14px;line-height:1.85;color:#4b554e;margin-bottom:19px}
.rh-era-document a,.rh-source-document a{font-size:12px;line-height:1.55;font-weight:800;text-decoration:underline;color:#7c462d}
.rh-source-document{padding:27px 31px;border:1px solid #c2b7a3;background:#e8e1d0;color:#2c3b36}
.rh-source-document>strong{display:block;font:400 clamp(22px,3vw,34px)/1.25 Georgia,serif;margin:10px 0;color:#2d403b}
.rh-archive-section{background:#f5f0e5}
.rh-archive-heading{display:grid;grid-template-columns:1.25fr .75fr;gap:35px;align-items:end;margin-bottom:36px}
.rh-archive-heading>p{font-size:15px;line-height:1.8;color:#50635e}
.rh-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.rh-archive-item{background:#fff;border:1px solid #ded7c9;padding:10px}
.rh-archive-item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#ebe9e3}
.rh-archive-item figcaption{padding:4px 6px 8px;min-height:76px}
.rh-archive-item figcaption strong,.rh-bridge-section figcaption strong{display:block;color:#2f433b;font-weight:850;margin-bottom:3px}
.rh-archive-context{max-width:1030px;margin-top:25px!important;padding-left:20px;border-left:3px solid #b37852;font-size:14px;line-height:1.8;color:#4e5d56}
.rh-bridge-section{background:#e8e3d8}
.rh-bridge-section .rh-photo img{object-fit:contain;background:#d4d6d0}
@media(max-width:900px){.rh-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .rh-era-document{min-height:270px;padding:25px}
 .rh-era-document>strong{font-size:56px}
 .rh-archive-heading{grid-template-columns:1fr;gap:15px}
 .rh-archive-grid{grid-template-columns:1fr;gap:18px}
 .rh-archive-item figcaption{min-height:0}
 .rh-archive-context{font-size:13px}
}

/* Si falla la fuente de un archivo histórico, no dejar icono roto ni bloque vacío. */
.rh img[hidden]{display:none!important}
.rh-photo-unavailable{min-height:190px;display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:flex-start;padding:clamp(18px,4vw,32px);background:#f1ebe1;border:1px dashed #ad947d;color:#31443d}
.rh-photo-unavailable strong{font-size:15px;line-height:1.5}
.rh-photo-unavailable p{font-size:13px;line-height:1.7;margin:0;color:#5d675e}
.rh-photo-unavailable a{font-size:12px;color:#88513a;text-decoration:underline;font-weight:850}

/* La fotografía de La Ermita en el relato del siglo XX se muestra completa, sin recorte. */
.rh-photo--ermita{margin-top:clamp(22px,4vw,42px)}
.rh-photo--ermita img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
