/* Componentes editoriales de Saber por Saber. */
.pf-saber-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:22px}
.pf-saber-card{position:relative;overflow:hidden;min-height:340px;border:1px solid rgba(121,104,222,.25);border-radius:24px;background:linear-gradient(150deg,rgba(25,14,57,.9),rgba(19,29,68,.72));box-shadow:0 24px 68px -45px rgba(99,223,231,.7);transition:transform .22s ease,border-color .22s ease}
.pf-saber-card:hover{transform:translateY(-4px);border-color:rgba(99,223,231,.48)}
.pf-saber-card>a{display:flex;min-height:340px;flex-direction:column;color:inherit;text-decoration:none}
.pf-saber-card-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0f0b27}
.pf-saber-card-media::after{content:"";position:absolute;inset:auto 0 0;height:55%;background:linear-gradient(transparent,rgba(8,7,21,.82))}
.pf-saber-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.pf-saber-card:hover img{transform:scale(1.025)}
.pf-saber-card-copy{display:flex;flex:1;flex-direction:column;padding:23px}
.pf-saber-card-kicker{color:#8fe8eb;font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.pf-saber-card h2{margin:10px 0 12px;color:#f6f3ff;font-size:clamp(1.35rem,2.5vw,1.8rem);line-height:1.16}
.pf-saber-card p{margin:0;color:#bcb5d3;line-height:1.62}
.pf-saber-card-meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:22px;color:#9992b2;font-size:.78rem}
.saber-card-actions{display:grid;grid-template-columns:auto auto minmax(112px,1fr);align-items:center;gap:8px;padding:0 23px 22px}
.saber-card-actions .reaction-pair{flex:0 1 auto}
.saber-card-actions .view-stat{flex:0 0 auto}
.saber-card-actions .share-wrap{flex:1 1 auto;min-width:0}
.saber-card-actions .share-wrap>.action-btn{box-sizing:border-box;width:100%;min-width:0;white-space:nowrap}
.saber-top-actions{justify-content:flex-start;margin:18px 0 0}
.saber-card-actions .action-btn,.saber-top-actions .action-btn{color:#fff;border-color:rgba(99,223,231,.32);background:linear-gradient(105deg,rgba(113,55,244,.5),rgba(164,71,236,.42) 38%,rgba(89,99,237,.44) 72%,rgba(85,223,232,.31));box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.saber-card-actions .action-btn:hover,.saber-top-actions .action-btn:hover{color:#fff;border-color:rgba(99,223,231,.65);background:linear-gradient(100deg,#7137f4 0%,#a447ec 38%,#5963ed 72%,#55dfe8 100%);box-shadow:0 12px 28px -16px rgba(85,223,232,.78)}
.saber-card-actions .view-stat:hover,.saber-top-actions .view-stat:hover{border-color:rgba(99,223,231,.32);background:linear-gradient(105deg,rgba(113,55,244,.5),rgba(164,71,236,.42) 38%,rgba(89,99,237,.44) 72%,rgba(85,223,232,.31))}
.saber-card-actions .action-btn.selected,.saber-top-actions .action-btn.selected{border-color:rgba(198,255,250,.8);background:linear-gradient(100deg,#7137f4 0%,#a447ec 38%,#5963ed 72%,#55dfe8 100%);box-shadow:0 0 0 2px rgba(99,223,231,.2),0 12px 28px -15px rgba(85,223,232,.9);filter:brightness(1.14)}
html[data-theme="light"] .saber-card-actions .action-btn:not(.selected),html[data-theme="light"] .saber-top-actions .action-btn:not(.selected){color:#352866;border-color:rgba(89,99,237,.28);background:linear-gradient(105deg,rgba(113,55,244,.14),rgba(164,71,236,.12) 38%,rgba(89,99,237,.13) 72%,rgba(85,223,232,.14));box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}

.pf-saber-article{width:min(1120px,calc(100% - 34px));margin:0 auto;padding:clamp(38px,7vw,86px) 0 80px}
.pf-saber-article-hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(300px,.96fr);gap:clamp(28px,5vw,68px);align-items:center;margin-bottom:clamp(42px,6vw,70px)}
.pf-saber-article-title{max-width:14ch;margin:10px 0 20px;font-size:clamp(2.4rem,6vw,5.3rem);line-height:1.01}
.pf-saber-deck{max-width:58ch;color:#c6bfdc;font-size:clamp(1.02rem,1.8vw,1.24rem);line-height:1.7}
.pf-saber-byline{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:24px;color:#9690aa;font-size:.82rem}
.pf-saber-hero-figure{overflow:hidden;margin:0;border:1px solid rgba(99,223,231,.22);border-radius:28px;background:#0d0a22;box-shadow:0 30px 90px -48px rgba(89,99,237,.95)}
.pf-saber-hero-figure img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.pf-saber-hero-figure figcaption{padding:14px 17px;color:#9892ab;font-size:.72rem;line-height:1.5}
.pf-saber-copy{width:min(760px,100%);margin:0 auto}
.pf-saber-copy section{max-width:none;min-height:0;margin:0 0 clamp(32px,4vw,44px);padding:0}
.pf-saber-copy h2{margin:0 0 22px;color:#f2efff;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.18}
.pf-saber-copy p{margin:0 0 1.15em;color:#d0cadd;font-size:clamp(1rem,1.35vw,1.1rem);line-height:1.78}
.pf-saber-copy p:last-child{margin-bottom:0}
.pf-saber-copy code{padding:.08em .28em;border:1px solid rgba(119,217,225,.2);border-radius:.35em;background:rgba(99,223,231,.07);color:#a6edf0}
.pf-saber-cite{white-space:nowrap;font-size:.72em;vertical-align:super}
.pf-saber-cite a{color:#86e2e7;text-decoration:none}
.pf-passport-timeline{display:grid;grid-template-columns:repeat(3,1fr);width:min(880px,100%);margin:0 auto clamp(60px,8vw,96px);overflow:hidden;border:1px solid rgba(117,101,219,.26);border-radius:24px;background:linear-gradient(135deg,rgba(31,18,69,.82),rgba(10,39,59,.62))}
.pf-passport-timeline div{display:flex;min-height:132px;flex-direction:column;justify-content:center;padding:24px 28px;border-right:1px solid rgba(117,101,219,.21)}
.pf-passport-timeline div:last-child{border-right:0}
.pf-passport-timeline strong{color:#8fe8eb;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.04em}
.pf-passport-timeline span{margin-top:5px;color:#aca6bf;font-size:.84rem;line-height:1.4}
.pf-passport-mrz{position:relative;overflow:hidden;margin:12px 0 0;padding:28px;border:1px solid rgba(99,223,231,.28);border-radius:20px;background:linear-gradient(145deg,rgba(111,75,221,.13),rgba(14,48,69,.52))}
.pf-passport-mrz::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent 34px,rgba(99,223,231,.035) 35px);pointer-events:none}
.pf-passport-mrz-label{display:block;margin-bottom:16px;color:#8fe8eb;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.pf-passport-mrz code{position:relative;display:block;padding:0;border:0;background:none;color:#d9f7f7;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:clamp(.72rem,1.7vw,1rem);line-height:1.8;letter-spacing:.04em;overflow-wrap:anywhere}
.pf-saber-references{width:min(850px,100%);margin:72px auto 0;padding:clamp(24px,4vw,38px);border:1px solid rgba(112,92,211,.22);border-radius:24px;background:rgba(16,10,39,.52)}
.pf-saber-references h2{margin:0 0 20px;color:#f3f0ff}
.pf-saber-references ol{margin:0;padding-left:1.4rem}
.pf-saber-references li{margin:.8rem 0;color:#bdb7ce;line-height:1.55}
.pf-saber-references a{color:#93e3e7;overflow-wrap:anywhere}
.pf-saber-note{width:min(760px,100%);margin:28px auto 0;color:#8f899f;font-size:.78rem;line-height:1.55}
html[data-theme="light"] .pf-saber-card{background:rgba(255,255,255,.84);border-color:rgba(95,78,183,.2);box-shadow:0 24px 62px -48px rgba(56,44,129,.55)}
html[data-theme="light"] .pf-saber-card h2,html[data-theme="light"] .pf-saber-copy h2{color:#2d2058}
html[data-theme="light"] .pf-saber-card p,html[data-theme="light"] .pf-saber-deck,html[data-theme="light"] .pf-saber-copy p{color:#5f5871}
html[data-theme="light"] .pf-saber-hero-figure,html[data-theme="light"] .pf-saber-references,html[data-theme="light"] .pf-passport-timeline,html[data-theme="light"] .pf-passport-mrz{background:rgba(255,255,255,.82);border-color:rgba(93,76,180,.17)}
html[data-theme="light"] .pf-saber-references li{color:#615a72}
html[data-theme="light"] .pf-passport-mrz code{color:#33285b}
html[data-theme="light"] .pf-passport-timeline span{color:#655d78}
@media(max-width:800px){.pf-saber-article-hero{grid-template-columns:1fr}.pf-saber-article-title{max-width:16ch}.pf-saber-hero-figure{width:100%}}
@media(max-width:620px){.pf-passport-timeline{grid-template-columns:1fr}.pf-passport-timeline div{min-height:96px;border-right:0;border-bottom:1px solid rgba(117,101,219,.21)}.pf-passport-timeline div:last-child{border-bottom:0}}
@media(max-width:520px){.pf-saber-article{width:min(100% - 24px,1120px)}.pf-saber-card-copy{padding:20px}.saber-card-actions{grid-template-columns:auto 1fr;padding:0 20px 20px}.saber-card-actions .action-btn{padding-inline:9px}.saber-card-actions .share-wrap{grid-column:1/-1;width:100%}.pf-saber-copy p{line-height:1.72}.pf-saber-copy section{margin-bottom:30px}.pf-saber-references{border-radius:20px}.pf-passport-mrz{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){.pf-saber-card,.pf-saber-card-media img{transition:none}}

/* Slow-earthquake article components. */
.pf-slow-equation{margin:1.2rem 0 1.8rem;padding:17px 20px;border:1px solid rgba(99,223,231,.26);border-radius:16px;background:linear-gradient(135deg,rgba(113,55,244,.12),rgba(14,48,70,.38));box-shadow:inset 0 0 32px rgba(99,223,231,.035)}
.pf-slow-equation code{display:block;padding:0;border:0;background:none;color:#c9f7f4;font-size:clamp(1rem,2vw,1.32rem);letter-spacing:.01em;line-height:1.7;text-align:center}
.pf-slow-map-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;width:min(850px,100%);margin:0 auto clamp(48px,6vw,70px);padding:16px 18px;border:1px solid rgba(112,92,211,.22);border-radius:16px;background:rgba(16,10,39,.42);color:#aaa3bf;font-size:.8rem}
.pf-slow-map-links a{color:#8fe8eb;text-decoration:none}
.pf-slow-map-links a:hover{text-decoration:underline}
.pf-slow-map-label{margin-right:auto;color:#c8c0dc;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pf-slow-timeline strong{font-size:clamp(1.25rem,2.3vw,1.85rem);letter-spacing:-.02em;text-transform:lowercase}
html[data-theme="light"] .pf-slow-equation{background:rgba(255,255,255,.84);border-color:rgba(93,76,180,.18)}
html[data-theme="light"] .pf-slow-equation code{color:#33285b}
html[data-theme="light"] .pf-slow-map-links{background:rgba(255,255,255,.82);border-color:rgba(93,76,180,.17);color:#655d78}
html[data-theme="light"] .pf-slow-map-label{color:#3e3568}
@media(max-width:620px){.pf-slow-map-links{align-items:flex-start;flex-direction:column}.pf-slow-map-label{margin-right:0}.pf-slow-equation{padding:14px 12px;overflow:auto}}

/* HIV chronology table. */
.pf-vih-timeline{width:min(920px,100%);margin:0 auto clamp(42px,6vw,70px);overflow:auto;border:1px solid rgba(112,92,211,.22);border-radius:20px;background:rgba(16,10,39,.48)}
.pf-vih-timeline table{width:100%;min-width:640px;border-collapse:collapse}
.pf-vih-timeline th,.pf-vih-timeline td{padding:14px 16px;border-bottom:1px solid rgba(112,92,211,.16);color:#c5bed7;text-align:left;vertical-align:top;line-height:1.55}
.pf-vih-timeline th{color:#8fe8eb;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;background:rgba(112,92,211,.1)}
.pf-vih-timeline td:first-child{width:25%;color:#f0c9ff;font-weight:700;white-space:nowrap}
.pf-vih-timeline tr:last-child td{border-bottom:0}
.pf-vih-route{overflow:auto;white-space:nowrap}
html[data-theme="light"] .pf-vih-timeline{background:rgba(255,255,255,.82);border-color:rgba(93,76,180,.17)}
html[data-theme="light"] .pf-vih-timeline th{background:rgba(93,76,180,.07);color:#3e3568}
html[data-theme="light"] .pf-vih-timeline td{border-color:rgba(93,76,180,.14);color:#615a72}
html[data-theme="light"] .pf-vih-timeline td:first-child{color:#4b3e8c}
@media(max-width:620px){.pf-vih-timeline{border-radius:16px}.pf-vih-timeline th,.pf-vih-timeline td{padding:12px 13px}}
