/* Riesgo Tecnológico V5.0.30 – navegación y catálogo editorial compacto. */
/* Más opciones de navegación, sin rozar el logotipo en pantallas medianas. */
@media (min-width:981px) {
 .site-header .main-nav{gap:0!important}
 .site-header .main-nav .nav-link{padding-inline:clamp(6px,.85vw,13px)!important;font-size:clamp(.78rem,.91vw,.94rem)!important;white-space:nowrap}
}
@media (min-width:981px) and (max-width:1250px){.site-header .brand img{width:clamp(205px,25vw,302px)!important}}
.rt-v530-hero{padding-block:clamp(35px,4.4vw,56px)!important}
.rt-v530-hero h1{margin-bottom:12px!important}
.rt-v530-hero .lead{max-width:860px!important}
.rt-v530-index.section{padding-top:32px!important;padding-bottom:48px!important}
.rt-v530-index-head{display:flex;justify-content:space-between;align-items:end;gap:16px 35px;flex-wrap:wrap}
.rt-v530-index-head .section-kicker{margin-bottom:9px!important}
.rt-v530-index-head h2{font-size:clamp(1.65rem,2.8vw,2.3rem);margin:0 0 9px}
.rt-v530-index-head p{margin:0;max-width:760px;line-height:1.55;color:#415574}
.rt-v530-text-link{color:#153f82;font-weight:670;font-size:.91rem;text-underline-offset:3px;max-width:100%;padding-bottom:3px}
.rt-v530-jump-nav{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px;scroll-margin-top:10px}
.rt-v530-jump-nav a{display:inline-flex;padding:8px 12px;border-radius:8px;border:1px solid #d3e1ef;background:#f5f8fc;color:#214a7d;text-decoration:none;font-size:.85rem;line-height:1.4;font-weight:650}
.rt-v530-jump-nav a:hover{background:#e9f1fa;border-color:#a4beda}
.rt-v530-area{scroll-margin-top:80px;padding:25px 0 26px;border-top:1px solid #dce6ef}
.rt-v530-area-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:14px}
.rt-v530-area-head h2{font-size:clamp(1.35rem,2.1vw,1.76rem);line-height:1.26;margin:0 0 5px!important;letter-spacing:-.015em}
.rt-v530-area-head p{margin:0;color:#52657d;font-size:.92rem;line-height:1.5}
.rt-v530-area-head .rt-v530-area-number{color:#41669b;font-size:.73rem;text-transform:uppercase;letter-spacing:.08em;font-weight:720;margin-bottom:5px}
.rt-v530-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rt-v530-chapter-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dce5f0;border-radius:13px;color:#132e57;text-decoration:none;background:#fff;box-shadow:0 4px 14px rgba(17,46,88,.038);transition:border-color .18s,transform .18s,box-shadow .18s}
.rt-v530-chapter-card:hover{transform:translateY(-2px);border-color:#a4bfdf;box-shadow:0 9px 21px rgba(17,46,88,.092)}
.rt-v530-chapter-card:focus-visible{outline:3px solid #789ff2;outline-offset:3px}
.rt-v530-card-media{display:block;overflow:hidden;aspect-ratio:16/7.7;background:#eef1f5}
.rt-v530-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.rt-v530-chapter-card:hover .rt-v530-card-media img{transform:scale(1.035)}
.rt-v530-card-copy{display:flex;flex-direction:column;padding:12px 15px 15px;gap:5px;flex:1;min-width:0}
.rt-v530-chapter-label{color:#52709a;font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;font-weight:750}
.rt-v530-card-copy h3{font-size:clamp(.94rem,1.12vw,1.07rem);font-weight:720;color:#142f53;line-height:1.28;margin:0;overflow-wrap:break-word}
.rt-v530-chapter-description{color:#4e6177;font-size:.82rem;line-height:1.43}
.rt-v530-more{margin-top:12px}
.rt-v530-more summary,.rt-v530-guides summary{cursor:pointer;display:inline-block;color:#1d4c87;font-weight:700;font-size:.89rem;line-height:1.6;padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.rt-v530-more summary:hover,.rt-v530-guides summary:hover{color:#0d2866}
.rt-v530-more[open] summary{margin-bottom:12px}
.rt-v530-guides{padding:18px 20px;border:1px solid #dce6ef;background:#f7f9fc;border-radius:12px;margin-top:19px}
.rt-v530-guides[open] summary{margin-bottom:14px}
.rt-v530-guide-links{display:flex;flex-wrap:wrap;gap:8px}
.rt-v530-guide-links a{font-size:.87rem;color:#214d80;background:#fff;border:1px solid #d9e5f3;border-radius:8px;padding:8px 11px;text-decoration:none}
.rt-v530-guides p{margin:14px 0 0;font-size:.88rem;color:#4f6175}
.rt-v530-youtube-action{gap:8px}
.rt-v530-youtube-action img{display:inline-block;width:22px;height:22px;object-fit:contain;flex:0 0 22px}
@media(max-width:980px){.rt-v530-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 .rt-v530-index.section{padding-top:27px!important;padding-bottom:38px!important}
 .rt-v530-area{scroll-margin-top:40px;padding-block:21px}
 .rt-v530-cards{grid-template-columns:1fr;gap:10px}
 .rt-v530-chapter-card{display:grid;grid-template-columns:34% minmax(0,1fr);align-items:stretch;min-height:120px}
 .rt-v530-card-media{height:100%;aspect-ratio:auto}
 .rt-v530-card-copy{padding:12px 13px;gap:4px;justify-content:center}
 .rt-v530-card-copy h3{font-size:.98rem}
 .rt-v530-chapter-description{font-size:.81rem;line-height:1.38}
 .rt-v530-jump-nav{margin:17px 0 12px}
 .rt-v530-jump-nav a{font-size:.81rem}
}
@media(max-width:390px){.rt-v530-chapter-card{grid-template-columns:31% minmax(0,1fr)}.rt-v530-card-copy{padding:10px}}
@media(prefers-reduced-motion:reduce){.rt-v530-card-media img,.rt-v530-chapter-card{transition:none!important}}
