/* Server-rendered lifecycle additions. Accepted colors and image animation stay unchanged. */
.ms-sr-edit{font:400 15px/1.5 var(--sr-ui);margin:10px 0 20px}.ms-sr-edit a{color:var(--accent)}
.sr-article-neighbors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:28px 0;padding:18px 0;border-block:1px solid var(--line);font:400 16px/1.5 var(--sr-ui)}.sr-article-neighbors a{color:var(--accent)}.sr-neighbor-older{text-align:right}
.sr-original-counter-row:empty{display:none}.sr-inner-content .feed-row{max-width:100%}
.sr-original-info-grid span.sr-info-reality:hover img{filter:brightness(1.18);transform:none}
@media(max-width:600px){.sr-article-neighbors{grid-template-columns:1fr}.sr-neighbor-older{text-align:left}}

.sr-original-counter-row>.sr-counter{justify-self:center;line-height:0}.sr-original-counter-row>.sr-counter-iua{grid-column:3}.sr-counter img{width:88px;height:31px;max-width:none}
@media(max-width:760px){.sr-original-counter-row>.sr-counter-iua{grid-column:1}}


/* Compact listing cards: twelve records, six rows on desktop, native query pagination. */
body:is([data-study-view=rubric],[data-study-view=author],[data-study-view=archive]) .native-study-archive{display:block;min-width:0}
.sr-list-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch;margin-top:24px}
.sr-list-cards>.feed-row{display:flex;flex-direction:column;gap:0;min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:linear-gradient(145deg,var(--paper),var(--soft));align-self:stretch}
.sr-list-cards>.feed-row>.feed-photo{display:block;order:-1;flex:none;aspect-ratio:auto;width:100%;height:176px;min-height:176px;max-height:176px;margin:0;overflow:hidden;background:var(--soft)}
.sr-list-cards>.feed-row>.feed-photo img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;margin:0}
.sr-list-cards .feed-copy{padding:17px 18px 18px;min-width:0;display:flex;flex-direction:column;flex:1;gap:0}
.sr-list-cards .feed-copy>.eyebrow{font-size:11px;line-height:1.4;letter-spacing:.05em;margin-bottom:8px}
.sr-list-cards .feed-copy h2{font:500 20px/1.35 var(--sr-ui);letter-spacing:-.01em;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-list-cards .feed-copy>p{font:400 15px/1.55 var(--sr-ui);color:var(--muted);margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-list-cards .feed-copy>.meta{font-size:12px;line-height:1.5;margin-top:auto;flex-wrap:wrap;gap:5px}
.sr-list-cards .brief-row .feed-copy{min-height:210px}.sr-page-ellipsis{display:grid;place-items:center;min-width:24px;color:var(--muted)}
.author-profile{display:flex;align-items:center;gap:18px;margin-bottom:26px}.author-profile>.avatar{display:block;flex:none;width:84px;height:84px;overflow:hidden;border-radius:6px}.author-profile>.avatar img{display:block;width:100%;height:100%;object-fit:contain}.author-profile p{font-size:14px;color:var(--muted);margin-top:8px}
.author-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.author-directory>a{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:6px;background:var(--soft)}.author-directory .avatar{display:block;flex:none;width:72px;height:72px;overflow:hidden;border-radius:5px}.author-directory .avatar img{width:100%;height:100%;object-fit:contain}.author-directory-copy{display:grid;gap:7px}.author-directory-copy small{font-size:13px;color:var(--muted)}
/* Center the reading column; centering is the column position, not paragraph alignment. */
body[data-study-view=article] .sr-inner-full>.reader{max-width:900px;margin-inline:auto;width:100%}body[data-study-view=article] .reader-text{text-align:start}
@media(max-width:600px){.sr-list-cards,.author-directory{grid-template-columns:minmax(0,1fr);gap:18px}.sr-list-cards .feed-copy h2{font-size:19px}.sr-list-cards>.feed-row>.feed-photo{aspect-ratio:16/9}.author-profile>.avatar{width:68px;height:68px}}


/* Shared editorial surfaces: the same typography, quiet border and gradient language as Home. */
body[data-study-view=article] .reader,.info-page{box-sizing:border-box;min-width:0;padding:clamp(20px,2.5vw,32px);border:1px solid var(--line);border-radius:7px;background:linear-gradient(150deg,var(--paper),color-mix(in srgb,var(--soft) 32%,var(--paper)));box-shadow:0 9px 28px color-mix(in srgb,var(--ink) 3%,transparent)}
body[data-study-view=article] .reader{max-width:820px;margin-inline:auto}body[data-study-view=article] .sr-inner-full>.reader{max-width:900px}
.reader>.breadcrumb{font:400 13px/1.6 var(--sr-ui);margin-bottom:20px}.reader-header{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid var(--line)}.reader-header h1{font:500 clamp(24px,2.1vw,30px)/1.35 var(--sr-ui);letter-spacing:-.015em;margin:9px 0 14px}.reader-header .meta{font:400 13px/1.6 var(--sr-ui);margin-top:12px}
.reader-text{font:400 18px/1.75 var(--sr-ui);color:var(--ink);text-align:start}.reader-text p{margin:0 0 20px}.reader-text h2{font-size:24px}.reader-text h3{font-size:21px}.reader-text blockquote{margin:25px 0;padding:16px 20px;border-left:1px solid color-mix(in srgb,var(--accent) 25%,transparent);background:var(--soft);border-radius:3px}.reader-text blockquote p:last-child{margin-bottom:0}
.reader-picture{box-sizing:border-box;max-width:720px;margin:24px auto 30px;padding:16px 0;border-block:1px solid var(--line);overflow:hidden;background:transparent}.reader-picture img{display:block;width:auto;height:auto;max-width:100%;max-height:360px;margin:auto;object-fit:contain;transform:scale(1);transform-origin:center;transition:transform .45s ease,filter .45s ease}.reader-text img{display:block;max-width:100%;max-height:560px;width:auto;height:auto;margin:22px auto;object-fit:contain}.reader-text figure{margin:26px 0}.reader-text figcaption{text-align:center;font:400 13px/1.6 var(--sr-ui);color:var(--muted)}
.reader-text hr{height:0!important;border:0!important;border-top:1px solid var(--line)!important;opacity:.7;margin:30px 0 20px;clear:both}.reader-text hr+p{margin-top:0;margin-bottom:20px}.reader-text hr+p:has(>a){font-size:15px;line-height:1.65}.reader-text .ms-sr-page-views{font:400 12px/1.6 var(--sr-ui);color:var(--muted);margin:24px 0 12px}
.article-share{display:flex;align-items:center;justify-content:flex-start;gap:20px;margin:30px 0;padding:20px 0;border-block:1px solid var(--line)}.article-share .sr-icon-label{display:none}.article-share :is(a,button){display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--muted);transition:color .25s ease}.article-share :is(a,button):is(:hover,:focus-visible){color:var(--accent)}.article-share svg{width:24px;height:24px}
.reader .related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px;padding-top:24px}.reader .related>h2{grid-column:1/-1;margin:0 0 4px;font:500 22px/1.4 var(--sr-ui)}
.reader .related>.feed-row{display:flex;flex-direction:column;min-width:0;overflow:hidden;margin:0;padding:0;border:1px solid var(--line);border-radius:5px;background:var(--soft)}.reader .related .feed-photo{display:block;order:-1;height:150px;width:100%;overflow:hidden}.reader .related .feed-photo img{width:100%;height:100%;object-fit:cover}.reader .related .feed-copy{padding:16px;min-width:0}.reader .related .feed-copy h2{font:500 18px/1.4 var(--sr-ui);margin:8px 0 12px}.reader .related .feed-copy>p{font:400 14px/1.55 var(--sr-ui);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.reader .related .meta{font-size:12px;flex-wrap:wrap}
.sr-inner-sidebar{border-left:0;padding-left:0}.sr-inner-sidebar section{padding:20px;border:1px solid var(--line);border-radius:6px;background:linear-gradient(145deg,var(--paper),var(--soft))}.sr-inner-sidebar section+section{margin-top:22px;padding-top:20px}.sr-inner-sidebar h2{font-size:19px}.sr-inner-sidebar nav a{font-size:14px;padding:8px 0}
.info-page{max-width:960px;margin:0 auto}.info-page>h1{font:500 clamp(25px,2.4vw,32px)/1.35 var(--sr-ui);padding-bottom:21px;margin:0 0 26px;border-bottom:1px solid var(--line)}.info-page-content{font:400 18px/1.75 var(--sr-ui)}.info-page-content p{margin:0 0 20px}.info-page-content :is(h2,h3){font-family:var(--sr-ui);font-weight:500;line-height:1.4;margin:28px 0 16px}.info-page-content h2{font-size:25px}.info-page-content h3{font-size:22px}.info-page-content hr{height:0!important;border:0!important;border-top:1px solid var(--line)!important;opacity:.7;margin:25px 0}.info-page-content img{display:block;max-width:100%;max-height:480px;width:auto;height:auto;margin:24px auto;object-fit:contain}.info-page-content :is(ul,ol){padding-left:24px;margin:18px 0}.info-page-content li{margin-block:8px}.info-page-content table{border-collapse:collapse;width:100%}.info-page-content td,.info-page-content th{padding:10px 12px;border:1px solid var(--line)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.reader-picture img:hover{transform:scale(1.015);filter:brightness(1.03)}}
@media(max-width:800px){.sr-inner-sidebar{padding:0;border:0}.reader-text,.info-page-content{font-size:17px}.reader-picture img{max-height:310px}}
@media(max-width:600px){.reader .related{grid-template-columns:1fr}.reader-header h1{font-size:25px}.reader-picture img{max-height:260px}.reader-text img{max-height:440px}}
@media(prefers-reduced-motion:reduce){.reader-picture img{transition:none}}


/* Horizontal archive/rubric/author cards; a thumbnail never stretches with its row. */
.sr-list-cards>.feed-row{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:0;min-height:170px}
.sr-list-cards>.feed-row>.feed-photo{grid-column:1;grid-row:1;align-self:center;justify-self:center;order:0;width:144px;height:81px;min-height:81px;max-height:81px;aspect-ratio:16/9;margin:12px 0;border-radius:3px}
.sr-list-cards>.feed-row>.feed-photo img{width:100%;height:100%;object-fit:cover}.sr-list-cards>.feed-row>.feed-copy{grid-column:2;grid-row:1;padding:15px 16px;min-height:0}.sr-list-cards>.brief-row>.feed-copy{grid-column:1/-1;min-height:150px}.sr-list-cards .feed-copy h2{font-size:18px;line-height:1.35;margin-bottom:9px}.sr-list-cards .feed-copy>p{font-size:14px;line-height:1.5;-webkit-line-clamp:2;margin-bottom:10px}.sr-list-cards .feed-copy>.meta{font-size:11px;line-height:1.45}.sr-list-cards .feed-copy>.eyebrow{font-size:10px;margin-bottom:7px}
/* Native video-r wrapper: both dimensions come from 16:9, not old iframe attributes. */
.reader-text .video-r{position:relative;width:100%;height:auto!important;aspect-ratio:16/9;padding:0!important;margin:26px 0;overflow:hidden;border:1px solid var(--line);border-radius:5px;background:#000}
.reader-text .video-r>iframe{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;aspect-ratio:auto;border:0}
.reader-text>iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;margin:26px 0}.reader .related .feed-photo{height:auto;aspect-ratio:16/9}.reader .related .feed-photo img{width:100%;height:100%;object-fit:cover}
/* Human map: no enclosing card, no navigation duplicates, only a bounded indexed list. */
.info-page-sitemap{max-width:1100px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.sr-sitemap h1{font:500 29px/1.35 var(--sr-ui);margin:0 0 24px}.sr-map-filter{display:grid;grid-template-columns:160px minmax(220px,1fr) auto;gap:18px;align-items:end;padding:20px;margin:24px 0;background:var(--soft);border:1px solid var(--line);border-radius:5px}.sr-map-filter label{display:grid;gap:7px;font:400 14px/1.5 var(--sr-ui)}.sr-map-filter :is(select,button){min-height:42px;font:400 15px/1.5 var(--sr-ui);border:1px solid var(--line);border-radius:4px;padding:8px 12px;background:var(--paper);color:var(--ink)}.sr-map-filter button:hover{color:var(--accent)}.sr-map-records{list-style:none;padding:0!important;margin:0!important}.sr-map-records li{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;align-items:start;padding:11px 0;margin:0;border-bottom:1px solid var(--line)}.sr-map-records time{font:400 14px/1.7 var(--sr-ui);font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}.sr-map-records a{font:400 16px/1.6 var(--sr-ui)}
/* Compact native forms use the same editorial surface without a full site header/footer. */
.ms-sr-service-shell{max-width:800px;margin:40px auto 70px;padding:0 24px}.ms-sr-service-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:24px}.ms-sr-service-brand{display:flex;align-items:center;gap:11px;color:var(--ink);font:500 20px/1.4 var(--sr-ui)}.ms-sr-service-brand img{width:32px;height:32px}.ms-sr-service-controls{display:flex;align-items:center;gap:12px}.ms-sr-service-page .service-card{max-width:none;margin:0;padding:32px;border:1px solid var(--line);border-radius:7px;background:linear-gradient(145deg,var(--paper),var(--soft));color:var(--ink);box-shadow:0 9px 28px color-mix(in srgb,var(--ink) 3%,transparent);font:400 17px/1.7 var(--sr-ui)}
.service-card :is(.service-title,h1){font:500 27px/1.4 var(--sr-ui);margin:0 0 24px;padding-bottom:18px;border-bottom:1px solid var(--line);color:var(--ink)}.service-card .sr-contact-page>h1{font:500 27px/1.4 var(--sr-ui)}.service-card :is(.form-input,textarea,select){box-sizing:border-box;min-height:44px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);padding:10px 12px;font:400 16px/1.5 var(--sr-ui)}.service-card input[type=checkbox]{width:auto;min-height:0;accent-color:var(--accent)}.service-card :is(button,.button){padding:10px 18px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:4px;background:var(--soft);color:var(--ink);font:500 15px/1.5 var(--sr-ui);cursor:pointer}.service-card :is(button,.button):is(:hover,:focus-visible){color:var(--accent);border-color:var(--accent)}.service-card a{color:var(--accent)}.service-card :is(input,select,textarea):focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 40%,transparent);outline-offset:2px}
@media(max-width:1100px){.sr-list-cards>.feed-row{grid-template-columns:128px minmax(0,1fr)}.sr-list-cards>.feed-row>.feed-photo{width:112px;height:63px;min-height:63px;max-height:63px}}
@media(max-width:600px){.sr-list-cards>.feed-row{grid-template-columns:116px minmax(0,1fr)}.sr-list-cards>.feed-row>.feed-photo{width:100px;height:56.25px;min-height:56.25px;max-height:56.25px}.sr-list-cards .feed-copy h2{font-size:17px}.sr-map-filter{grid-template-columns:1fr;padding:16px;gap:12px}.sr-map-records li{grid-template-columns:86px minmax(0,1fr);gap:12px}.sr-map-records time{font-size:12px}.sr-map-records a{font-size:15px}.ms-sr-service-shell{padding:0 18px;margin-top:24px}.ms-sr-service-header{justify-content:center}.ms-sr-service-page .service-card{padding:24px 20px}.ms-sr-service-controls .sr-palette-picker{width:184px}}

.reader-text .video-r{box-sizing:content-box;border:0;box-shadow:0 0 0 1px var(--line)}

/* Owner refinement: no outer publication frame; a wider, centered reading surface. */
body[data-study-view=article] .reader{max-width:none;padding:0 10px;border:0;border-radius:0;background:transparent;box-shadow:none}body[data-study-view=article] .sr-inner-full>.reader{max-width:960px;margin-inline:auto}
.reader-picture{border-top:0}.reader-header .meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ms-sr-edit-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:23px;height:23px;margin-left:5px;color:var(--muted);transition:color .25s}.ms-sr-edit-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ms-sr-edit-icon:is(:hover,:focus-visible){color:var(--accent)}
/* Two quiet related cards with alternating thumbnail placement and the common page background. */
.reader .related{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.reader .related>.feed-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;padding:14px 0;min-height:145px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.reader .related .feed-photo{grid-column:1;grid-row:1;width:112px;height:63px;aspect-ratio:16/9;align-self:center;border-radius:3px;overflow:hidden}.reader .related .feed-copy{grid-column:2;grid-row:1;padding:0}.reader .related .feed-copy h2{font-size:17px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.reader .related .feed-copy>p{display:none}.reader .related .feed-copy>.eyebrow{font-size:10px}.reader .related .feed-copy>.meta{font-size:11px;line-height:1.45}.reader .related>.feed-row:nth-of-type(even){grid-template-columns:minmax(0,1fr) 112px}.reader .related>.feed-row:nth-of-type(even)>.feed-photo{grid-column:2}.reader .related>.feed-row:nth-of-type(even)>.feed-copy{grid-column:1}.reader .related>.brief-row>.feed-copy{grid-column:1/-1}
@media(max-width:600px){body[data-study-view=article] .reader{padding-inline:0}.reader .related{grid-template-columns:1fr}}

.reader-picture{border:0}.article-share{border:0;padding-block:10px}.reader .related{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.reader .related>.feed-row{border:0}.info-page{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0 10px}.ms-sr-service-page .service-card{border:0;border-radius:0;box-shadow:none;background:transparent;padding:24px 10px}

/* Owner's preliminary zoning study: inner pages only; Home keeps its masthead. */
body[data-study-view=home] .brief-panel>.section-heading{border-top:0}
/* All full page headers inherit the same masthead gradient as Home. */
html[data-sr-theme=dark][data-sr-palette] body:not([data-study-view=home]){--page:color-mix(in srgb,white 2%,color-mix(in srgb,var(--sr-dark-tint) 5%,var(--sr-base850)))}
/* Preserve the current dark footer while testing a slightly lighter content background. */
body[data-theme=dark]:not([data-study-view=home]) .sr-original-footer{--page:color-mix(in srgb,var(--sr-dark-tint) 5%,var(--sr-base850))}
.sr-crumb-band{background:transparent;margin-top:8px}
.sr-zone-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:46px;padding-block:11px;font:italic 400 16px/1.5 var(--sr-ui);color:var(--ink)}
.sr-zone-breadcrumb a{color:inherit;transition:color .24s}.sr-zone-breadcrumb a:hover{color:var(--accent)}
body:not([data-study-view=home]) main.page{padding-top:36px}
body:not([data-study-view=home]) main.page .breadcrumb{display:none}
.sr-editorial-sidebar{padding-top:24px}
.sr-inner-sidebar.sr-editorial-sidebar section{padding:0;border:0;border-radius:0;background:none}
.sr-inner-sidebar.sr-editorial-sidebar section+section{margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}
.sr-editorial-sidebar h2{font:500 19px/1.4 var(--sr-ui);margin:0 0 16px}.sr-editorial-sidebar h2 a{color:var(--ink)}
.sr-side-posts{display:grid;gap:16px}.sr-side-post{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.sr-side-post:not(:has(.sr-side-photo)){grid-template-columns:1fr}
.sr-side-post h3{font:400 15px/1.45 var(--sr-ui);margin:0;overflow-wrap:anywhere}.sr-side-post h3 a{color:var(--ink)}.sr-side-post h3 a:hover{color:var(--accent)}
.sr-side-photo{display:block;width:80px;aspect-ratio:16/9;overflow:hidden;border-radius:3px}.sr-side-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sr-side-video{grid-template-columns:1fr;gap:9px}.sr-side-video .sr-side-photo{width:100%}
.sr-inner-sidebar .sr-side-rubrics nav{display:grid;grid-template-columns:1fr;gap:8px}
.sr-inner-sidebar .sr-side-rubrics nav a{padding:10px 12px;border-bottom:0;border-left:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:3px;background:linear-gradient(115deg,var(--paper),var(--soft));font:400 15px/1.5 var(--sr-ui)}
.sr-inner-sidebar .sr-side-rubrics nav a:hover{color:var(--accent)}
body:not([data-theme=dark]):not([data-study-view=home]) .sr-original-footer{background:var(--menu-bg)}
body:not([data-theme=dark]):not([data-study-view=home]) .sr-original-info-grid{background:linear-gradient(180deg,var(--page),var(--menu-bg));max-width:none;padding-inline:max(24px,calc((100% - 1152px)/2))}
@media(max-width:800px){.sr-editorial-sidebar{padding-top:24px}.sr-zone-breadcrumb{font-size:15px}body:not([data-study-view=home]) main.page{padding-top:28px}}

/* Compact random sidebar miniatures: the same treatment for all three rubrics. */
.sr-editorial-sidebar{padding-top:var(--sr-sidebar-offset,24px)}
.sr-side-post,.sr-side-video{grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:start}
.sr-side-photo,.sr-side-video .sr-side-photo{width:64px;aspect-ratio:16/9}
.sr-side-post h3{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sr-side-posts{gap:14px}.sr-editorial-sidebar h2 a{display:flex;align-items:center;gap:8px}.sr-editorial-sidebar .sr-side-group h2 a::after{content:'»';font-weight:400;color:var(--accent)}
.sr-editorial-sidebar .sr-side-group+.sr-side-group{border-top:1px solid var(--line)}

/* Explicit owner review: visible theme-coloured sidebar section dividers. */
body #site .sr-inner-sidebar.sr-editorial-sidebar section+section{border-top:2px solid color-mix(in srgb,var(--accent) 48%,transparent)}

/* Korrespondent layout reference: thick below headings, thin between miniatures. */
body #site .sr-inner-sidebar.sr-editorial-sidebar section+section{border-top:0;padding-top:0;margin-top:28px}
body #site .sr-editorial-sidebar .sr-side-group>h2{padding-bottom:8px;margin-bottom:14px;border-bottom:3px solid color-mix(in srgb,var(--accent) 48%,transparent)}
.sr-editorial-sidebar .sr-side-post+.sr-side-post{border-top:1px solid color-mix(in srgb,var(--accent) 24%,transparent);padding-top:12px}

/* One responsive 16:9 frame for publication header images; body images keep their roles. */
body[data-study-view=article] .reader-picture{width:100%;max-width:720px;aspect-ratio:16/9;height:auto;max-height:none;padding:0;margin:24px auto 30px;overflow:hidden}
body[data-study-view=article] .reader-picture>a{display:block;width:100%;height:100%}
body[data-study-view=article] .reader-picture img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0}

/* A single desktop sidebar start for every inner view, independent of title height. */
.sr-editorial-sidebar{--sr-sidebar-offset:125px}
@media(max-width:800px){.sr-editorial-sidebar{--sr-sidebar-offset:24px}}

/* Shared one-line title baseline; more breathing space below the breadcrumb band. */
body:not([data-study-view=home]) main.page{padding-top:48px}
.sr-inner-layout>.sr-inner-content{padding-top:36px}
.sr-inner-layout .reader-header{min-height:125px;box-sizing:border-box}
.simple-list>h1,.sr-inner-layout .author-profile{box-sizing:border-box;min-height:125px;margin:0 0 24px;padding:25px 0 20px;border-bottom:1px solid var(--line)}
.simple-list>h1{font:500 clamp(25px,2.4vw,32px)/1.35 var(--sr-ui)}
@media(max-width:800px){body:not([data-study-view=home]) main.page{padding-top:36px}.sr-inner-layout>.sr-inner-content{padding-top:0}.simple-list>h1,.sr-inner-layout .author-profile{min-height:0;padding-top:0}.sr-inner-layout .reader-header{min-height:0}}

/* Optional lead image first; the title/meta and body simply follow, with no empty image slot. */
body[data-study-view=article] .reader-picture{margin:0 auto 26px}
body[data-study-view=article] .reader-header{min-height:0;margin:0 0 28px;padding:0;border-bottom:0}
body[data-study-view=article] .reader-header h1{font-size:clamp(23px,2vw,27px);line-height:1.35;margin:8px 0 13px}

/* Keep the source rule; navigation and related posts need only space, not extra lines. */
.sr-article-neighbors{border:0;padding:0;margin:28px 0}
.reader .related{border-top:0;padding-top:0;margin-top:28px}

/* Final owner review before pause: more space before related publications. */
.reader .related{margin-top:48px}

/* Final owner instruction: dark inner footer follows the same zoning as the light footer. */
body[data-theme=dark]:not([data-study-view=home]) .sr-original-footer{--page:color-mix(in srgb,white 2%,color-mix(in srgb,var(--sr-dark-tint) 5%,var(--sr-base850)));background:var(--menu-bg)}
body[data-theme=dark]:not([data-study-view=home]) .sr-original-info-grid{background:linear-gradient(180deg,var(--page),var(--menu-bg));max-width:none;padding-inline:max(24px,calc((100% - 1152px)/2))}

/* Native Berry handles the quote itself; only section-specific type/spacing stays here. */
.sr-zone-breadcrumb{font-weight:600}
body[data-study-view=home] .brief-panel{padding-top:0}
/* A compact related-publication list, without oversized thumbnails or outer cards. */
.reader .related{display:block}
.reader .related>h2{font-size:20px;margin-bottom:18px}
.reader .related>.feed-row,.reader .related>.feed-row:nth-of-type(even){display:block;min-height:0;padding:10px 0;margin:0;background:none;border:0}
.reader .related .feed-photo{display:none}
.reader .related .feed-copy{padding:0}
.reader .related .feed-copy h2{font-size:17px;margin:4px 0 7px;-webkit-line-clamp:3}
.reader .related .feed-copy>.meta{font-size:12px}

/* Media fit both available column width and a low laptop viewport, retaining 16:9. */
body[data-study-view=article]{--sr-media-width:min(100%,720px)}
@supports(width:1svh){body[data-study-view=article]{--sr-media-width:min(100%,720px,92.4444svh)}}
body[data-study-view=article] .reader-picture,.reader-text .video-r{width:var(--sr-media-width);max-width:100%;margin-inline:auto}
.reader-text>iframe{width:var(--sr-media-width);max-width:100%;margin-inline:auto;aspect-ratio:16/9;height:auto}
.reader-text,.info-page-content{font-size:clamp(1rem,calc(.9375rem + .16vw),1.125rem);line-height:1.7}
body[data-study-view=article] .reader-header h1{font-size:clamp(22px,1.9vw,27px)}

/* Keep inline photographs uncropped, fitting low-height windows and user font preferences. */
@supports(height:1svh){.reader-text img{max-height:min(560px,60svh)}.info-page-content img{max-height:min(480px,60svh)}}

/* Inner editorial study, 29 October: palette accents on an open reading surface.
   Inherits the installed Berry-backed palette; no new global palette or content parser. */
body:not([data-study-view=home]){--sr-detail:color-mix(in srgb,var(--accent) 11%,var(--page));--sr-detail-hover:color-mix(in srgb,var(--accent) 17%,var(--page))}
body[data-study-view=article] .reader-header{padding:18px 22px 20px;border:0;border-left:3px solid color-mix(in srgb,var(--accent) 55%,transparent);border-radius:0 5px 5px 0;background:linear-gradient(110deg,var(--sr-detail),transparent 88%)}
.reader-header>.eyebrow{color:var(--accent);font:500 .75rem/1.5 var(--sr-ui);letter-spacing:.055em}
.reader-header .meta{color:var(--muted);column-gap:10px;row-gap:7px;font-size:.8125rem}.reader-header .meta>a:not(.ms-sr-edit-icon){color:var(--accent)}
.reader-header h1{color:var(--ink);text-wrap:pretty}
.reader-text{overflow-wrap:break-word}.reader-text p{margin-bottom:1.15em}
.reader-text :is(h2,h3){color:var(--ink);font-weight:500;line-height:1.4;margin:1.6em 0 .7em}
.reader-text a,.info-page-content a{color:var(--accent);transition:color .25s ease}.reader-text a:is(:hover,:focus-visible),.info-page-content a:is(:hover,:focus-visible){color:var(--ink)}
.reader-text hr+p:has(>a){padding:12px 16px;background:var(--sr-detail);border-radius:4px;margin-top:16px}
.sr-article-neighbors{gap:18px;margin-block:30px}.sr-article-neighbors a{display:block;padding:13px 16px;border-radius:4px;background:var(--sr-detail);transition:background-color .3s ease,color .3s ease}
.sr-article-neighbors a:is(:hover,:focus-visible){background:var(--sr-detail-hover);color:var(--ink)}
.reader .related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reader .related>h2{grid-column:1/-1;font-size:1.125rem;font-weight:500;margin:0 0 4px;color:var(--muted)}
.reader .related>.feed-row,.reader .related>.feed-row:nth-of-type(even){display:block;padding:18px;background:linear-gradient(125deg,var(--sr-detail),transparent);border:0;border-radius:4px;min-width:0;margin:0}
.reader .related .feed-copy h2{font-size:1rem;font-weight:500;line-height:1.45}.reader .related .feed-copy>.eyebrow{color:var(--accent)}
.info-page>h1,.sr-sitemap>h1,.simple-list>h1,.author-profile{position:relative;border:0;border-radius:0 5px 5px 0;background:linear-gradient(110deg,var(--sr-detail),transparent 88%);padding:20px 24px!important;min-height:0!important;margin-bottom:28px!important}
.info-page>h1::before,.sr-sitemap>h1::before,.simple-list>h1::before,.author-profile::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:color-mix(in srgb,var(--accent) 55%,transparent)}
.info-page-content{max-width:100%;overflow-wrap:break-word}.info-page-content :is(h2,h3){color:var(--accent)}
.info-page-content blockquote{box-shadow:none}
body:not([data-study-view=home]) .archive-filter,.sr-map-filter{border:0;border-radius:5px;background:var(--sr-detail);padding:20px}
body:not([data-study-view=home]) :is(.archive-filter,.sr-map-filter) :is(input,select){background:var(--page);color:var(--ink);border:1px solid var(--line);border-radius:4px;min-width:0;max-width:100%}
body:not([data-study-view=home]) :is(.archive-filter,.sr-map-filter) button,.service-card :is(button,.button){background:var(--accent);color:var(--page);border:1px solid transparent;border-radius:4px;transition:filter .25s ease}
body:not([data-study-view=home]) :is(.archive-filter,.sr-map-filter) button:is(:hover,:focus-visible),.service-card :is(button,.button):is(:hover,:focus-visible){color:var(--page);filter:brightness(1.12)}
.ms-sr-service-page .service-card{padding:28px!important;border-radius:6px;background:linear-gradient(130deg,var(--sr-detail),transparent);border:0;border-left:3px solid color-mix(in srgb,var(--accent) 55%,transparent)}
.service-card :is(.service-title,h1){border:0;color:var(--ink)}
@media(max-width:600px){body[data-study-view=article] .reader-header{padding:15px 17px}.reader .related{grid-template-columns:1fr}.info-page>h1,.sr-sitemap>h1,.simple-list>h1{padding:16px 18px!important}.ms-sr-service-page .service-card{padding:22px 18px!important}}
@media(prefers-reduced-motion:reduce){.sr-article-neighbors a,.reader-text a,.info-page-content a{transition:none}}

/* Icon-only sharing: existing native links and accessible labels are retained. */
.article-share{justify-content:flex-start;gap:10px;margin:26px 0 0;padding:0;border:0;flex-wrap:wrap}
.article-share .sr-icon-label{display:none}
.article-share :is(a,button){--sr-network:var(--ink);position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border:0;border-radius:9px;color:var(--sr-network);background:color-mix(in srgb,var(--sr-network) 10%,var(--page));transition:color .28s ease,background-color .28s ease,box-shadow .28s ease}
.article-share :is(a,button)[data-share-network=Facebook]{--sr-network:#1877f2}
.article-share :is(a,button)[data-share-network=Telegram]{--sr-network:#229ed9}
.article-share :is(a,button)[data-share-network=X]{--sr-network:var(--ink)}
.article-share :is(a,button) svg{width:21px;height:21px;transform:translate(0,0) scale(1);transition:transform .32s cubic-bezier(.2,.7,.3,1)}
.article-share :is(a,button):is(:hover,:focus-visible){color:#fff;background:var(--sr-network);box-shadow:0 4px 12px color-mix(in srgb,var(--sr-network) 16%,transparent)}
.article-share :is(a,button)[data-share-network=X]:is(:hover,:focus-visible){color:var(--page)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .article-share :is(a,button)[data-share-network=Facebook]:hover svg{transform:translateY(-1px) scale(1.08)}
 .article-share :is(a,button)[data-share-network=X]:hover svg{transform:rotate(-7deg) scale(1.07)}
 .article-share :is(a,button)[data-share-network=Telegram]:hover svg{transform:translate(2px,-2px) scale(1.06)}
}
@media(prefers-reduced-motion:reduce){.article-share :is(a,button),.article-share :is(a,button) svg{transition:none}}

.article-share [data-share-network=WhatsApp]{--sr-network:#168a49}.article-share [data-share-network=Copy]{--sr-network:var(--accent)}
.article-share button{cursor:pointer}.article-share .sr-copied{background:var(--accent);color:var(--page)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.article-share [data-share-network=WhatsApp]:hover svg{transform:rotate(6deg) scale(1.06)}.article-share [data-share-network=Copy]:hover svg{transform:scale(1.1)}}

/* Brand-coloured icons remain readable on dark editorial surfaces. */
body[data-theme=dark] .article-share :is(a,button){color:color-mix(in srgb,var(--sr-network) 72%,white)}
body[data-theme=dark] .article-share :is(a,button):is(:hover,:focus-visible){color:#fff}
body[data-theme=dark] .article-share [data-share-network=X]:is(:hover,:focus-visible){color:var(--page)}

/* Owner review: source and neighbour links use plain text and a soft colour hover. */
.reader-text hr+p:has(>a){background:none;border-radius:0;padding:0;margin-top:16px}
.sr-article-neighbors a{background:none;border-radius:0;padding:4px 0;font-weight:500;transition:color .25s ease}
.sr-article-neighbors a:is(:hover,:focus-visible){background:none;color:var(--ink)}
.article-share [data-share-network=Viber]{--sr-network:#7360f2}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.article-share [data-share-network=Viber]:hover svg{transform:rotate(-6deg) scale(1.06)}}

/* Home review: preserve the lead position and retain category labels in column two. */
body[data-study-view=home] .overview-lead>.story-leadtop .kicker{visibility:hidden}
body[data-study-view=home] :is(.brief-panel,.mixed-middle,.mixed-topics) .kicker{display:none}
body[data-study-view=home] .mixed-middle>section:first-child>.story-text{border-top:0;padding-top:0}
body[data-study-view=home] .story-horizontal{grid-template-rows:auto auto;row-gap:14px;align-content:start}
body[data-study-view=home] .story-horizontal>.photo{grid-column:1;grid-row:1;align-self:start}
body[data-study-view=home] .story-horizontal>.story-copy{grid-column:2;grid-row:1/3;align-self:start}
body[data-study-view=home] .story-horizontal>.sr-story-caption{grid-column:1;grid-row:2;min-width:0}
body[data-study-view=home] .story-horizontal>.sr-story-caption>.meta{margin:0;line-height:1.5;gap:5px}
body[data-study-view=home] .story-horizontal>.sr-story-visual{grid-column:1;grid-row:1;align-self:start;min-width:0}
body[data-study-view=home] .story-horizontal>.story-copy{grid-row:1}
body[data-study-view=home] .sr-story-visual>.photo{margin:0}
body[data-study-view=home] .sr-story-visual>.sr-story-caption{margin-top:14px}
body[data-study-view=home] .sr-story-visual>.sr-story-caption>.meta{margin:0;line-height:1.5;gap:5px}
body[data-study-view=home] :is(.mixed-topics,.mixed-middle) .story :is(h2,h3){margin-top:0}
body[data-study-view=home] .brief-panel>.section-heading{margin:0 0 20px;padding-top:14px;padding-bottom:12px}
body[data-study-view=home] .brief-panel .story-brief{margin:0;padding:0;border:0}
body[data-study-view=home] .brief-panel .story-brief+.story-brief{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
body[data-study-view=home] .page-intro{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.9fr) minmax(0,.7fr);gap:30px;align-items:start}
body[data-study-view=home] .page-intro h1{grid-column:1/3}
body[data-study-view=home] .page-intro .sr-brief-intro{grid-column:3;font:400 18px/1.4 var(--sr-ui);color:var(--ink);margin:0}
.sr-brief-mobile-intro{display:none}
.story .summary.sr-has-readmore,.feed-copy>p.sr-has-readmore{display:block;overflow:visible;padding-right:0}
.sr-has-readmore>.sr-excerpt-text{display:inline}
.sr-has-readmore>.sr-read-more{display:inline-flex;vertical-align:-.1em;align-items:center;justify-content:center;width:1.2em;height:1em;margin-left:.2em;color:var(--accent);transition:color .3s ease,transform .3s ease;white-space:nowrap}
.sr-read-more svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sr-read-more:is(:hover,:focus-visible){color:var(--ink);transform:translateX(2px)}
@media(prefers-reduced-motion:reduce){.sr-has-readmore>.sr-read-more{transition:none}.sr-read-more:is(:hover,:focus-visible){transform:none}}
body #site :is(.story,.feed-row) :is(h2,h3) a{transition:color .3s ease}
body:not([data-theme=dark]) #site :is(.story,.feed-row):is(:hover,:focus-within) :is(h2,h3) a,body:not([data-theme=dark]) #site :is(.story,.feed-row) :is(h2,h3) a:is(:hover,:focus-visible){color:color-mix(in srgb,var(--accent) 60%,black);text-decoration:none}
body[data-theme=dark] #site :is(.story,.feed-row):is(:hover,:focus-within) :is(h2,h3) a,body[data-theme=dark] #site :is(.story,.feed-row) :is(h2,h3) a:is(:hover,:focus-visible){color:color-mix(in srgb,var(--accent) 50%,white);text-decoration:none}
@media(prefers-reduced-motion:reduce){body #site :is(.story,.feed-row) :is(h2,h3) a{transition:none}}
/* Quiet card feedback; the reading surface and every text baseline stay fixed. */
:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row){position:relative;isolation:isolate}
:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::before{content:'';position:absolute;inset:-7px;z-index:-1;border-radius:5px;background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 9%,transparent),color-mix(in srgb,var(--accent) 2%,transparent));opacity:0;transition:opacity .5s ease;pointer-events:none}
:is(.sr-list-cards>.feed-row,.reader .related>.feed-row)::before{inset:0}
:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::before{background-size:200% 100%;background-position:0% 50%;transition:opacity .55s ease,background-position 1s ease}
body[data-theme=dark] :is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::before{background:none;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}
body[data-theme=dark] :is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::after{content:'';position:absolute;inset:0;z-index:-1;border-radius:5px;background:linear-gradient(110deg,transparent 35%,rgb(255 255 255 / .09) 50%,transparent 65%);background-size:250% 100%;background-position:180% 50%;opacity:0;pointer-events:none}
@keyframes sr-card-glint{0%{background-position:180% 50%;opacity:0}20%{opacity:1}100%{background-position:-80% 50%;opacity:0}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body[data-theme=dark] :is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row):is(:hover,:focus-within)::after{animation:sr-card-glint 1.1s ease-out both}}
:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row):focus-within::before{opacity:1}
@media(hover:hover){:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row):hover::before{opacity:1}}
:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row):is(:hover,:focus-within)::before{background-position:100% 50%}
@media(prefers-reduced-motion:reduce){:is(.brief-panel .story-brief,.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::before{transition:none}}
.ending-rubrics a>span[aria-hidden=true]{display:none}
.mixed-reading>.section-heading>a{font:500 15px/1.5 var(--sr-ui);color:var(--accent);transition:color .3s ease}
.mixed-reading>.section-heading>a:is(:hover,:focus-visible){color:var(--ink)}
/* Cross-fade the reversed gradient, rather than switching the background image abruptly. */
body:not([data-theme=dark]) .ending-rubrics a{position:relative;isolation:isolate;transition:color .45s ease,border-color .45s ease,box-shadow .45s ease}
body:not([data-theme=dark]) .ending-rubrics a:hover{background:linear-gradient(115deg,var(--paper),var(--soft))}
body:not([data-theme=dark]) .ending-rubrics a::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(115deg,var(--soft),var(--paper));opacity:0;transition:opacity .55s ease;pointer-events:none}
body:not([data-theme=dark]) .ending-rubrics a::before{background-size:200% 100%;background-position:0% 50%;transition:opacity .55s ease,background-position 1s ease}
body:not([data-theme=dark]) .ending-rubrics a:is(:hover,:focus-visible)::before{opacity:1}
body:not([data-theme=dark]) .ending-rubrics a:is(:hover,:focus-visible)::before{background-position:100% 50%}
/* Spread the footer icons across the copyright/navigation width. */
body[data-study-view=home] .sr-original-main-inner{grid-template-columns:minmax(0,1fr) minmax(0,540px) minmax(0,1fr)}
body[data-study-view=home] .sr-original-main-inner>.footer-socials{width:100%;justify-content:space-between;gap:20px}
body[data-study-view=home] .sr-original-main-inner>.footer-socials svg{width:30px;height:30px}
@media(min-width:1550px){body[data-study-view=home] .page-intro{gap:36px}}
@media(max-width:1100px){body[data-study-view=home] .page-intro{display:block}body[data-study-view=home] .page-intro .sr-brief-intro{display:none}.sr-brief-mobile-intro{display:block;grid-column:1/-1;font:400 18px/1.4 var(--sr-ui);color:var(--ink);margin:0 0 8px}.brief-panel>.section-heading{grid-column:1/-1}body[data-study-view=home] .brief-panel .story-brief+.story-brief{border:0;margin:0;padding:0}}
@media(max-width:760px){body[data-study-view=home] .sr-original-main-inner{grid-template-columns:1fr}body[data-study-view=home] .sr-original-main-inner>.footer-socials{max-width:540px}}
@media(max-width:600px){body[data-study-view=home] .brief-panel .story-brief+.story-brief{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}body[data-study-view=home] .sr-original-main-inner>.footer-socials{max-width:320px}}
@media(prefers-reduced-motion:reduce){body:not([data-theme=dark]) .ending-rubrics a,body:not([data-theme=dark]) .ending-rubrics a::before{transition:none}}

/* Brief keeps the glint and title feedback, without a hover frame. */
body[data-theme=dark] .brief-panel .story-brief::before{border:0}

/* HOME ONLY: quiet records; rubric and archive card effects remain unchanged. */
body[data-study-view=home] #site :is(.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::before,
body[data-study-view=home] #site :is(.mixed-middle .story-text,.mixed-topics .story-text,.sr-list-cards>.feed-row,.reader .related>.feed-row)::after{content:none;border:0;animation:none;background:none}
body[data-study-view=home] #site :is(.sr-list-cards>.feed-row,.reader .related>.feed-row,.mixed-left-card,.mixed-picture-panel){border:0}
body[data-study-view=home] #site .mixed-left-card:is(:hover,:focus-within){transform:none;box-shadow:none}
body:not([data-theme=dark])[data-study-view=home] #site .brief-panel .story-brief::before{content:none;background:none;border:0}
body:not([data-theme=dark])[data-study-view=home] #site :is(.story,.story-copy,.mixed-left-card,.mixed-picture-panel,.sr-list-cards>.feed-row,.sr-list-cards .feed-copy,.reader .related>.feed-row){background:transparent;box-shadow:none}
body[data-theme=dark][data-study-view=home] #site .brief-panel .story-brief::before{border:0;background:none}

/* Rubric page only: the page heading already names the category. */
body[data-study-view=rubric] .sr-list-cards>.feed-row>.feed-copy>.eyebrow{display:none}

/* Rubric cards: every first title line starts at the same top inset. */
body[data-study-view=rubric] .sr-list-cards>.feed-row{align-items:start}
body[data-study-view=rubric] .sr-list-cards>.feed-row>.feed-copy{align-self:start;padding-top:18px}
body[data-study-view=rubric] .sr-list-cards .feed-copy h2{margin-top:0}

/* Owner scope: only dark Home rubric buttons inherit the quiet sidebar feedback. */
body[data-study-view=home][data-theme=dark] .ending-rubrics a{background:linear-gradient(115deg,var(--paper),var(--soft));color:var(--ink);transition:color .24s ease}
body[data-study-view=home][data-theme=dark] .ending-rubrics a:is(:hover,:focus-visible){background:linear-gradient(115deg,var(--paper),var(--soft));color:var(--accent);box-shadow:none;transform:none}
@media(prefers-reduced-motion:reduce){body[data-study-view=home][data-theme=dark] .ending-rubrics a{transition:none}}

/* Home only: align footer social icon edges with the copyright/RSS strip. */
body[data-study-view=home] .sr-original-main-inner>.footer-socials{width:min(100%,var(--sr-footer-social-width,30rem));justify-self:center;justify-content:space-between}
@media(max-width:760px){body[data-study-view=home] .sr-original-main-inner>.footer-socials{width:min(100%,240px)}}
body[data-study-view=home] .mixed-middle>section:first-child>.story+.story{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}

/* Owner: the same quiet divider between Home video entries; no layout redesign. */
body[data-study-view=home] .mixed-middle>section:nth-child(2) .journal-stack>.story+.story{border-top:1px solid var(--line);padding-top:24px}

/* Home: shared content rows keep the two intermediate dividers aligned. */
@supports(grid-template-rows:subgrid){
 @media(min-width:601px){
  body[data-study-view=home] .mixed-middle{grid-template-rows:auto auto auto;row-gap:0;align-items:stretch}
  body[data-study-view=home] .mixed-middle>section{display:grid;grid-row:1/4;grid-template-rows:subgrid;row-gap:0;align-self:stretch}
  body[data-study-view=home] .mixed-middle>section:first-child{grid-column:1}
  body[data-study-view=home] .mixed-middle>section:nth-child(2){grid-column:2}
  body[data-study-view=home] .mixed-middle>section>.story{align-self:start}
  body[data-study-view=home] .mixed-middle>section:nth-child(2)>.journal-stack{grid-row:2/4;grid-template-rows:subgrid;row-gap:0}
  body[data-study-view=home] .mixed-middle>section:nth-child(2) .journal-stack>.story{align-self:start}
  body[data-study-view=home] .mixed-middle>section:nth-child(2) .journal-stack>.story+.story{margin-top:28px}
 }
}
/* Give video credits the whole card row, rather than the thumbnail width. */
body[data-study-view=home] .mixed-middle>section:nth-child(2) .story-horizontal>.sr-story-caption{grid-column:1/-1;grid-row:2}
body[data-study-view=home] .mixed-middle>section:nth-child(2) .sr-story-caption>.meta{flex-wrap:nowrap}
body[data-study-view=home] .mixed-middle>section:nth-child(2) .sr-story-caption>.meta>a{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-study-view=home] .mixed-middle>section:nth-child(2) .sr-story-caption>.meta>time{flex-shrink:0;white-space:nowrap}

body[data-study-view=home] .mixed-middle>section:nth-child(2) .story-horizontal>.sr-story-visual{display:contents}
body[data-study-view=home] .mixed-middle>section:nth-child(2) .story-horizontal>.sr-story-visual>.photo{grid-column:1;grid-row:1}
body[data-study-view=home] .mixed-middle>section:nth-child(2) .story-horizontal>.sr-story-visual>.sr-story-caption{grid-column:1/-1;grid-row:2}

/* Paired Home records: credit rows share the bottom baseline of each grid row. */
@supports(grid-template-rows:subgrid){@media(min-width:601px){
 body[data-study-view=home] .mixed-middle>section>.story,
 body[data-study-view=home] .mixed-middle>section:nth-child(2) .journal-stack>.story{align-self:stretch}
 body[data-study-view=home] .mixed-middle>section:first-child>.story>.story-copy{display:flex;flex-direction:column;width:100%}
 body[data-study-view=home] .mixed-middle>section:first-child>.story>.story-copy>.meta{margin-top:auto;padding-top:10px}
 body[data-study-view=home] .mixed-middle>section:nth-child(2) .story-horizontal{grid-template-rows:minmax(min-content,1fr) auto}
 body[data-study-view=home] .mixed-middle>section:nth-child(2) .sr-story-caption{margin-top:0;align-self:end}
 body[data-study-view=home] .mixed-middle>section:nth-child(2) .sr-story-caption>.meta{line-height:1.7}
}}

/* Trial composition only for the agreed weapon-control article. */
body[data-sr-article-study="weapon"] .reader{padding-inline:0}
body[data-sr-article-study="weapon"] .reader-header{padding-inline:22px;border-left:3px solid color-mix(in srgb,var(--accent) 55%,transparent)}
@media(max-width:600px){body[data-sr-article-study="weapon"] .reader-header{padding-inline:17px}}

/* Raise only the title visually; retain the image and content flow positions. */
@media(min-width:801px){body[data-sr-article-study="weapon"] .reader-header{position:relative;top:-45px}}

/* Owner review: more breathing space between the cover and article text. */
body[data-sr-article-study="weapon"] .reader-picture{margin-bottom:40px}

body[data-sr-article-study="weapon"] .reader-header h1{margin-top:0}
@media(min-width:801px){body[data-sr-article-study="weapon"] .reader-header{min-height:134px}}

body[data-sr-article-study="weapon"] .reader-header h1{font-size:clamp(26px,calc(1.9vw + 4px),31px)}

/* Center the heading and author/date row vertically as one group. */
body[data-sr-article-study="weapon"] .reader-header{display:flex;flex-direction:column;justify-content:center;gap:14px;padding-block:18px}
body[data-sr-article-study="weapon"] .reader-header h1,body[data-sr-article-study="weapon"] .reader-header .meta{margin-block:0}

/* Sidebar archive and category headings: same rule as editorial groups. */
body #site .sr-inner-sidebar.sr-editorial-sidebar :is(.sr-side-archive,.sr-side-rubrics)>h2{padding-bottom:8px;margin-bottom:14px;border-bottom:3px solid color-mix(in srgb,var(--accent) 48%,transparent)}
body #site .sr-inner-sidebar.sr-editorial-sidebar :is(.sr-side-archive,.sr-side-rubrics){margin-top:54px}
body #site .sr-inner-sidebar.sr-editorial-sidebar .sr-side-archive>h2{margin-bottom:0}

/* Gentle feedback only on linked sidebar headings in the selected trial. */
body #site .sr-editorial-sidebar :is(.sr-side-group,.sr-side-archive)>h2>a{color:var(--ink);transition:color .3s ease}
body #site .sr-editorial-sidebar :is(.sr-side-group,.sr-side-archive)>h2>a:is(:hover,:focus-visible){color:color-mix(in srgb,var(--ink) 80%,var(--accent))}
body #site .sr-editorial-sidebar .sr-side-group h2 a::after{content:none}
.sr-side-chevrons{display:inline-flex;align-items:center;width:16px;height:10px;flex:none;color:var(--accent);opacity:.55;transition:transform .3s ease,opacity .3s ease}
.sr-side-chevrons svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .sr-editorial-sidebar h2>a:is(:hover,:focus-visible) .sr-side-chevrons{transform:translateX(2px);opacity:.85}
@media(prefers-reduced-motion:reduce){.sr-side-chevrons{transition:none}body .sr-editorial-sidebar h2>a:is(:hover,:focus-visible) .sr-side-chevrons{transform:none}}

/* One intermediate player size for all article videos; cover images retain their size. */
body[data-study-view=article]{--sr-video-width:min(100%,800px)}
@supports(width:1svh){body[data-study-view=article]{--sr-video-width:min(100%,800px,100svh)}}
body[data-study-view=article] .reader-text .video-r,body[data-study-view=article] .reader-text>iframe{width:var(--sr-video-width)!important;max-width:100%;margin-inline:auto}

/* Native HTML video uses the same standardized frame as iframe players. */
body[data-study-view=article] .reader-text .video-r>video{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;object-fit:contain;margin:0;background:#000}

/* Archive heading uses the shared inner-page title; breathing room before year/filter controls. */
body[data-study-view=archive] .simple-list>h1{margin-bottom:36px!important}

/* Shared sidebar identities; MySpaces matches the desktop menu mark and zoom. */
.sr-editorial-sidebar .sr-side-brands{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin:0 0 36px;padding:0;min-width:0}
.sr-side-brands .parent-brand{display:inline-flex;align-items:center;gap:8px;height:40px;margin:0;padding:0;font:20px/1 MSStudyFasol,sans-serif;letter-spacing:0;transform-origin:left center;transition:transform .3s ease;text-decoration:none}
.sr-side-brands .parent-brand svg{position:static;width:40px;height:40px;flex:none;fill:none;stroke:var(--accent);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.sr-side-brands .sr-side-reality{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-size:17px;font-weight:550;line-height:1.25;text-decoration:none;max-width:100%}
.sr-side-brands .sr-side-reality img{width:32px;height:32px;object-fit:contain;flex:none;transition:filter .3s ease}
@media(hover:hover){.sr-side-brands .parent-brand:hover{transform:scale(1.05)}.sr-side-brands .sr-side-reality:hover img{filter:brightness(1.18)}}
@media(prefers-reduced-motion:reduce){.sr-side-brands .parent-brand,.sr-side-brands .sr-side-reality img{transition:none}.sr-side-brands .parent-brand:hover{transform:none}}

/* Logos occupy the free area above the desktop sidebar, not its editorial flow.
   Breadcrumb is 46px high; main begins after it with 48px top spacing. */
@media(min-width:801px){
 .sr-inner-sidebar.sr-editorial-sidebar{position:relative}
 .sr-editorial-sidebar .sr-side-brands{position:absolute;top:-91px;left:0;right:0;margin:0}
}

/* Align the visible capital V, accounting for the heading font ascender space. */
@media(min-width:801px){.sr-editorial-sidebar{--sr-sidebar-offset:119px}}

/* Owner adjustment: add 10px top breathing room to both sidebar identities. */
@media(min-width:801px){.sr-editorial-sidebar .sr-side-brands{top:-81px}}

/* Owner size tuning: larger Reality mark and 5px extra separation. */
.sr-editorial-sidebar .sr-side-brands{gap:23px}
.sr-side-brands .sr-side-reality img{width:36px;height:36px}
.sr-side-brands .sr-side-reality{margin-left:2px}

/* Owner size tuning: larger Reality mark and 5px extra separation. */
.sr-editorial-sidebar .sr-side-brands{gap:23px}
.sr-side-brands .sr-side-reality img{width:40px;height:40px}
.sr-side-brands .sr-side-reality{margin-left:0}

/* Fine theme divider, the same 23px gap as between the two identities. */
.sr-editorial-sidebar .sr-side-brands::after{content:'';position:absolute;left:0;right:0;bottom:-24px;height:1px;background:color-mix(in srgb,var(--accent) 18%,transparent);pointer-events:none}
@media(max-width:800px){.sr-editorial-sidebar .sr-side-brands{position:relative}}

/* Match the quiet Home separators; render a half-pixel hairline. */
.sr-editorial-sidebar .sr-side-brands::after{background:var(--line);height:1px;transform:scaleY(.5);transform-origin:center}

/* Align with the title capital baseline (К), excluding у descenders. */
.sr-editorial-sidebar .sr-side-brands::after{bottom:-28px}
