/* Editorial typography and figures; only the two Resources installations load this file. */
.fc-resource-avatar-placeholder { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; border:1px solid #c5d8ee; border-radius:50%; background:#eaf3ff; color:#315f90; vertical-align:middle; max-width:100%; }
.fc-resource-avatar-placeholder svg { width:75%; height:75%; stroke:currentColor; stroke-width:1.6; }
body.fc-resource-v3 #fc-resource-main { --fcr-ink:#153857; --fcr-copy:#425e78; background:#f7faff; }
body.fc-resource-v3 #fc-resource-main .post-single { background:#fff; border:1px solid #d7e3f2; border-radius:16px; padding:clamp(23px,3vw,48px); }
body.fc-resource-v3 #fc-resource-main .post-single :is(.post-header,article.post-content) { max-width:860px; }
body.fc-resource-v3 #fc-resource-main .post-header h1 { font-size:clamp(33px,3.2vw,49px); font-weight:650; line-height:1.18; letter-spacing:-.035em; color:#102f52; }
body.fc-resource-v3 #fc-resource-main .post-header .meta { font-size:14px; line-height:1.75; margin-top:22px; color:#506b87; }
body.fc-resource-v3 #fc-resource-main article.post-content { font:18px/1.85 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:#425c77; }
body.fc-resource-v3 #fc-resource-main article.post-content :is(h2,h3,h4) { color:#173e64; font-family:inherit; letter-spacing:-.02em; }
body.fc-resource-v3 #fc-resource-main article.post-content h2 { font-size:30px; line-height:1.3; margin-top:1.7em; }
body.fc-resource-v3 #fc-resource-main article.post-content h3 { font-size:25px; }
body.fc-resource-v3 #fc-resource-main article.post-content .fc-article-summary { font-size:21px; line-height:1.75; color:#284d71; }
body.fc-resource-v3 #fc-resource-main .fc-resource-update { display:inline-flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:13px; font-weight:550; padding:7px 12px; border:1px solid #c7dcef; border-radius:6px; background:#f1f7ff; color:#335d88; margin-bottom:25px; }
body.fc-resource-v3 #fc-resource-main .fc-editorial-figure { padding:18px; border:1px solid #c8dcf2; border-radius:11px; background:#f4f8ff; }
body.fc-resource-v3 #fc-resource-main .fc-editorial-figure img { display:block; width:100%; height:auto; border-radius:6px; background:#fff; }
body.fc-resource-v3 #fc-resource-main .fc-editorial-figure figcaption { font-size:14px; line-height:1.7; color:#4b6683; padding-top:13px; }
body.fc-resource-v3 #fc-resource-main .fc-diagram-open { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; min-height:44px; color:#0755bc; text-decoration:underline; text-underline-offset:3px; }
body.fc-resource-v3 #fc-resource-main .fc-resource-revision dl { padding:23px 27px; background:#f1f6fd; border:1px solid #d2e0f1; border-radius:10px; }
body.fc-resource-v3 #fc-resource-main .fc-resource-revision dt { color:#173f6d; font-size:19px; font-weight:650; line-height:1.55; margin-top:22px; }
body.fc-resource-v3 #fc-resource-main .fc-resource-revision dt:first-child { margin-top:0; }
body.fc-resource-v3 #fc-resource-main .fc-resource-revision dd { margin:10px 0 0; }
body.fc-resource-v3 #fc-resource-main .fc-resource-revision dd p:last-child { margin-bottom:0; }
body.fc-resource-v3 #fc-resource-main .sidebar .widget { border-radius:12px!important; }
body.fc-resource-v3 #fc-resource-main .fc-resource-related h3 { font-size:22px; margin:0 0 22px; line-height:1.4; color:#15395e; text-align:start; }
body.fc-resource-v3 #fc-resource-main .fc-resource-related ul { padding:0; margin:0; list-style:none; }
body.fc-resource-v3 #fc-resource-main .fc-resource-related li { padding:0; margin:0; }
body.fc-resource-v3 #fc-resource-main .fc-resource-related a { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding-block:17px; border-top:1px solid #d5e3f2; color:#204e80; font-size:16px; line-height:1.65; text-decoration:none; }
body.fc-resource-v3 #fc-resource-main .fc-resource-related a:hover { color:#075bd9; text-decoration:underline; text-underline-offset:3px; }
body.fc-resource-v3 #fc-resource-main :is(a,button,summary):focus-visible { outline:3px solid #197df0; outline-offset:4px; }
.fc-article-dialog { width:min(94vw,1240px); max-width:1240px; max-height:92dvh; padding:0; border:1px solid #97bce5; border-radius:12px; background:#fff; color:#163753; box-shadow:0 25px 100px #00152b80; }
.fc-article-dialog::backdrop { background:#02152fd6; }
.fc-article-dialog[open] { display:flex; flex-direction:column; }
.fc-article-dialog-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 20px; padding:16px 22px; border-bottom:1px solid #cbddf1; background:#f1f7ff; }
.fc-article-dialog-head h2 { margin:0; font:600 18px/1.5 Inter,Arial,sans-serif; }
.fc-article-dialog-actions { display:flex; align-items:center; gap:9px; }
.fc-article-dialog button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; padding:9px 15px; border:1px solid #aec9e9; border-radius:6px; color:#154f98; background:#fff; font:600 14px/1.5 Inter,Arial,sans-serif; cursor:pointer; }
.fc-article-dialog button:hover { background:#e3efff; }
.fc-article-dialog button:focus-visible { outline:3px solid #1579e4; outline-offset:2px; }
.fc-article-dialog-stage { overflow:auto; background:#eaf2fc; padding:25px; overscroll-behavior:contain; }
.fc-article-dialog-stage img { display:block; width:100%; max-width:none!important; height:auto!important; margin:0 auto; background:#fff; border:1px solid #c0d5ef; border-radius:5px; }
.fc-article-dialog-stage[data-zoomed] img { width:max(170%,1100px); }
.fc-article-dialog-caption { margin:0; padding:15px 22px; font:14px/1.7 Inter,Arial,sans-serif; color:#496481; }
@media(max-width:767px) {
 body.fc-resource-v3 #fc-resource-main .post-single { padding:23px 19px; border-radius:11px; }
 body.fc-resource-v3 #fc-resource-main .post-header h1 { font-size:34px; }
 body.fc-resource-v3 #fc-resource-main article.post-content { font-size:18px; line-height:1.8; }
 body.fc-resource-v3 #fc-resource-main article.post-content .fc-article-summary { font-size:20px; }
 body.fc-resource-v3 #fc-resource-main article.post-content h2 { font-size:28px; }
 body.fc-resource-v3 #fc-resource-main .fc-editorial-figure { padding:10px; margin-inline:-6px; }
 body.fc-resource-v3 #fc-resource-main .fc-resource-revision dl { padding:20px; }
 .fc-article-dialog { width:96vw; max-height:94dvh; }
 .fc-article-dialog-head { padding:13px 15px; }
 .fc-article-dialog-stage { padding:12px; }
 .fc-article-dialog-caption { padding:12px 15px; font-size:13px; }
}

/* Give the article title and publication details a predictable rhythm. */
html body.fc-resource-v3 #fc-resource-main .post-single .post-header h1 { font-size:clamp(33px,3.2vw,49px); line-height:1.18; }
html body.fc-resource-v3 #fc-resource-main .post-header .meta { display:flex; flex-wrap:wrap; gap:8px 14px; margin:18px 0 0; padding:0; }
html body.fc-resource-v3 #fc-resource-main .post-header .meta > li { margin:0; }
html body.fc-resource-v3 #fc-resource-main .post-header .meta > li::after { display:none; }
html body.fc-resource-v3 #fc-resource-main .post-header .meta .fc-resource-post-categories { flex-basis:100%; order:5; padding-top:8px; border-top:1px solid #dce7f4; font-size:13px; line-height:1.65; }
@media(max-width:767px) {
 html body.fc-resource-v3 #fc-resource-main > .main-content { padding-top:26px; }
 html body.fc-resource-v3 #fc-resource-main .breadcrumbs .current-item { display:none; }
 html body.fc-resource-v3 #fc-resource-main .breadcrumbs { margin-bottom:20px; }
 html body.fc-resource-v3 #fc-resource-main .post-single .post-header h1 { font-size:32px; line-height:1.2; }
 html body.fc-resource-v3 #fc-resource-main .post-header .meta .fc-resource-post-categories { min-width:0; max-width:100%; overflow:visible; white-space:normal; overflow-wrap:anywhere; padding-block:8px; }
 html body.fc-resource-v3 #fc-resource-main .post-header .meta .fc-resource-post-categories:focus-visible { outline:3px solid #197df0; outline-offset:3px; }
}

.fc-article-dialog { position:fixed; inset:0; margin:auto; height:fit-content; }
html body.fc-resource-v3 #fc-resource-main .widget_categories li { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:12px; }
html body.fc-resource-v3 #fc-resource-main .widget_categories li > a { min-width:0; white-space:normal; overflow-wrap:anywhere; }
html body.fc-resource-v3 #fc-resource-main .widget_categories li > .widget-count { position:static; float:none; margin:0; white-space:nowrap; }

html body.fc-resource-v3 #fc-resource-main .widget_categories li { position:relative; padding-inline-start:20px; }
html body.fc-resource-v3 #fc-resource-main .widget_categories li::before { position:absolute; inset-inline-start:0; top:18px; }

/* A focusable overflow table keeps its native table semantics. */
html body.fc-resource-v3 #fc-resource-main .fc-resource-revision table:focus-visible { outline:3px solid #197df0; outline-offset:4px; }

/* Explain horizontal overflow only when the table actually needs scrolling. */
html body.fc-resource-v3 #fc-resource-main .fc-resource-revision .fc-resource-table-hint { margin:12px 0 8px; color:#285482; font-size:14px; line-height:1.6; font-weight:600; }
html body.fc-resource-v3 #fc-resource-main .fc-resource-revision .fc-resource-table-hint[hidden] { display:none; }
