/* Scoped extension of the existing YX two-theme reading system. */
:root .yx-resilient #yx-featured-guide{align-items:center;gap:48px}
:root .yx-resilient #yx-featured-guide.yx-media-none{display:block;padding-block:34px 38px}
:root .yx-resilient #yx-featured-guide.yx-media-none>div{max-width:900px}
:root .yx-resilient #yx-featured-guide.yx-media-none h2{max-width:36ch;font-size:32px;line-height:1.25;margin-bottom:16px}
:root .yx-resilient #yx-featured-guide.yx-media-none p{max-width:68ch;margin-bottom:16px}
:root .yx-resilient #yx-featured-guide.yx-media-photo{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
:root .yx-resilient #yx-featured-guide .resilience-feature-photo{margin:0;padding:18px;background:var(--polish-photo,#eaf0f6);border-radius:10px;box-shadow:inset 0 0 0 1px var(--directory-line);display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1.35}
:root .yx-resilient #yx-featured-guide .resilience-feature-photo img{display:block;max-height:300px;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
:root .yx-resilient .ht-article-deck{max-width:66ch;font-size:17px;line-height:1.8;color:var(--directory-muted)}
@media(max-width:760px){
 :root .yx-resilient #yx-featured-guide.yx-media-none{padding-block:28px 32px}
 :root .yx-resilient #yx-featured-guide.yx-media-none h2{font-size:27px;line-height:1.3;max-width:25ch;margin-bottom:14px}
 :root .yx-resilient #yx-featured-guide.yx-media-photo{grid-template-columns:minmax(0,1fr);gap:24px}
 :root .yx-resilient #yx-featured-guide .resilience-feature-photo{max-width:100%;aspect-ratio:1.35;padding:20px}
 :root .yx-resilient .ht-article-deck{font-size:16px;line-height:1.8}
 :root .yx-resilient .ht-prose table{position:relative;isolation:isolate;overscroll-behavior-x:contain}
 :root .yx-resilient .ht-prose table:has(tr>th:nth-child(4)) :is(th,td):not(:first-child){max-width:calc(100vw - 186px);overflow-wrap:anywhere}
 :root .yx-resilient .ht-prose table:has(tr>th:nth-child(4)) :is(th,td):last-child{min-width:min(240px,calc(100vw - 186px))}
 :root .yx-resilient .ht-prose table tr>:first-child{position:sticky;left:0;z-index:2;background:var(--directory-canvas);box-shadow:1px 0 0 var(--directory-line)}
 :root .yx-resilient .ht-prose table tr:nth-child(even)>td:first-child{background:var(--directory-field)}
 :root .yx-resilient .ht-prose table thead tr>:first-child{z-index:3;background:var(--directory-topic-hover)}
}

:root .yx-resilient #yx-featured-guide .resilience-feature-photo:has(figcaption){flex-direction:column}
:root .yx-resilient #yx-featured-guide .resilience-feature-photo figcaption{flex:none}
