/* Yeta Blog 2.0: shared editorial layout. Colors are supplied by Y24. */
:root {
    --brand-color: #0d3b66;
    --accent-color: #f4a261;
    --portal-ink: var(--text-color-custom, #202723);
    --portal-muted: var(--muted-color-custom, #64706a);
    --portal-line: var(--border-color-custom, #e3e7e5);
    --portal-soft: var(--search-wrapper-bg-custom, #f5f7f6);
    --portal-tint: color-mix(in srgb, var(--brand-color) 7%, white);
    --portal-dark: color-mix(in srgb, var(--brand-color) 72%, #101716);
    --paper: #fff;
    --text: var(--portal-ink);
    --muted: var(--portal-muted);
    --border: var(--portal-line);
    --radius: 10px;
    --radius-sm: 7px;
    --font-body: Arial, Helvetica, sans-serif;
    --font-headings: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 170px; }
body { margin: 0; color: var(--portal-ink); background: #fff; font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--link-color-custom, var(--brand-color)); text-decoration: none; }
a:hover { color: var(--link-hover-custom, var(--portal-dark)); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
svg { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
h1, h2, h3, h4, h5, h6 { color: var(--portal-ink); font-family: var(--font-headings); }
p { margin: 0 0 1em; }
:where(a, button, input, summary, textarea) { transition: color .18s, background-color .18s, border-color .18s, box-shadow .18s, transform .18s, opacity .18s; }
:where(a, button, input, summary, textarea):focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-color) 40%, transparent); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 32px)); max-width: none; margin-inline: auto; min-width: 0; }
.site-main { padding: 0 0 40px; min-height: 55vh; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden; position: absolute !important; white-space: nowrap; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; top: 8px; left: 8px; z-index: 100000; background: white; padding: 12px 20px; }

/* Masthead and both navigation modes. */
.site-header { position: relative; z-index: 100; background: #fff; padding-bottom: 0; }
.header-main { display: grid; grid-template-columns: 245px minmax(200px, 560px) auto; justify-content: space-between; align-items: center; gap: 30px; min-height: 91px; padding-top: 15px; padding-bottom: 10px; }
.header-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; }
.site-branding { display: inline-flex; max-width: 100%; color: var(--portal-ink); align-items: center; line-height: 1; }
.site-title { color: var(--portal-ink); font-size: 31px; font-weight: 800; letter-spacing: -1.8px; overflow-wrap: anywhere; }
.site-logo { display: block; width: var(--logo-width-desktop, 180px); max-width: 100%; height: auto; max-height: 65px; object-fit: contain; object-position: left center; border-radius: 0; }
.site-description { color: var(--portal-muted); margin: 6px 0 0; font-size: 11px; line-height: 1.35; }
.header-inline-search { display: flex; align-items: center; border: 1px solid var(--search-wrapper-border-custom, #e0e5e3); background: var(--portal-soft); border-radius: 999px; min-width: 0; }
.header-inline-search:focus-within { border-color: var(--brand-color); box-shadow: 0 0 0 3px var(--portal-tint); }
.header-inline-search input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; padding: 11px 16px; font-size: 16px; }
.header-inline-search button { border: 0; background: transparent; color: var(--portal-muted); padding: 10px 15px; }
.header-tools, .header-socials { display: flex; align-items: center; gap: 14px; }
.header-tools { justify-content: flex-end; }
.header-socials { gap: 10px; }
.header-social-link { color: var(--portal-muted); display: inline-flex; }
.header-social-link:hover { color: var(--brand-color); transform: translateY(-2px); }
.header-social-icon, .header-social-icon svg { display: block; width: 20px; height: 20px; }
.header-favorites-toggle { position: relative; display: inline-flex; align-items: center; gap: 5px; color: var(--portal-muted); font-size: 14px; border: 0; background: none; padding: 7px 0; white-space: nowrap; }
.header-favorites-toggle:hover { color: var(--brand-color); }
.header-favorites-toggle[aria-current="page"] { color: var(--brand-color); }
.header-favorites-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand-color); color: var(--portal-on-brand, white); font-size: 10px; font-weight: 700; line-height: 1; }
.header-search-toggle { display: none; align-items: center; justify-content: center; border: 0; padding: 8px; width: 40px; height: 40px; background: transparent; }
.header-search-icon, .header-search-icon svg { display: block; width: 23px; height: 23px; }
.desktop-navigation { position: relative; display: flex; align-items: center; gap: 25px; padding: 8px 14px; border: 1px solid var(--portal-line); border-radius: 10px; box-shadow: 0 4px 12px #0f281f08; min-height: 60px; margin-top: 4px; }
.nav-home { display: grid; place-items: center; width: 42px; height: 38px; flex: none; border-radius: 8px; color: var(--portal-ink); background: var(--portal-soft); }
.nav-home:hover { color: var(--brand-color); background: var(--portal-tint); }
.main-menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 21px; margin: 0; padding: 0; flex: 1; }
.main-menu li { position: relative; margin: 0; list-style: none; }
.main-menu > li > a { display: inline-flex; align-items: center; gap: 14px; padding: 8px 0; color: var(--portal-ink); font-size: 14px; line-height: 1.4; font-weight: 650; position: relative; }
.main-menu > li > a::before { content: ''; height: 2px; position: absolute; inset: auto 0 1px; background: var(--brand-color); transform: scaleX(0); transform-origin: center; transition: transform .18s; }
.main-menu > li:hover > a, .main-menu > li:focus-within > a, .main-menu > .current-menu-item > a, .main-menu > .current_page_item > a { color: var(--brand-color); }
.main-menu > li > a:hover::before, .main-menu > li > a:focus-visible::before, .main-menu > .current-menu-item > a::before, .main-menu > .current_page_item > a::before { transform: scaleX(1); }
.main-menu .menu-item-has-children > a::after { content: ''; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; width: 6px; height: 6px; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.main-menu .menu-item-has-children:hover > a::after, .main-menu .menu-item-has-children:focus-within > a::after { transform: translateY(1px) rotate(225deg); }
.desktop-navigation .sub-menu { position: absolute; z-index: 10; top: 100%; left: var(--yeta-submenu-shift, 0px); width: 255px; max-width: calc(100vw - 32px); margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--portal-line); border-radius: 10px; box-shadow: 0 12px 30px #142c241a; opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .18s, visibility .18s, transform .18s; }
.desktop-navigation li:hover > .sub-menu, .desktop-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.desktop-navigation .sub-menu .sub-menu { top: -8px; left: 100%; }
.desktop-navigation .submenu-align-right > .sub-menu { left: auto; right: 0; }
.desktop-navigation .sub-menu .submenu-align-right > .sub-menu { left: auto; right: 100%; }
.desktop-navigation .sub-menu a { display: flex; justify-content: space-between; gap: 14px; color: var(--portal-ink); padding: 10px 12px; border-radius: 6px; font-size: 14px; line-height: 1.4; }
.desktop-navigation .sub-menu a:hover, .desktop-navigation .sub-menu a:focus-visible { background: var(--portal-tint); color: var(--brand-color); }
.desktop-navigation .sub-menu .current-menu-item > a { color: var(--brand-color); background: var(--portal-soft); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; width: 42px; height: 42px; }
.menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { display: block; position: relative; width: 22px; height: 2px; background: currentColor; transition: transform .2s, background .2s; }
.menu-toggle-icon::before, .menu-toggle-icon::after { content: ''; position: absolute; left: 0; }
.menu-toggle-icon::before { top: -7px; }
.menu-toggle-icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-navigation { display: none; }
.header-search-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: min(15vh, 100px) 16px 30px; background: #12221bcc; backdrop-filter: blur(8px); overflow-y: auto; }
.header-search-dialog { width: min(640px, 100%); min-width: 0; padding: 24px; background: white; border: 1px solid var(--portal-line); border-radius: 12px; box-shadow: 0 20px 80px #0003; }
.header-search-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.header-search-title { font-size: 20px; font-weight: 600; margin: 0; }
.header-search-close { display: grid; place-items: center; border: 0; background: var(--portal-soft); border-radius: 50%; width: 36px; height: 36px; padding: 0; font-size: 25px; }
.header-search-form { display: flex; }
.header-search-open { overflow: hidden; }

/* Lead stories, category shortcuts, and shared article cards. */
.front-featured { margin-top: 16px; }
.featured-news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.featured-news-grid--solo { grid-template-columns: 1fr; }
.featured-lead, .featured-mini { position: relative; display: flex; color: #fff; border-radius: 10px; overflow: hidden; background: var(--portal-dark); transition: transform .22s, box-shadow .22s; min-width: 0; }
.featured-lead { min-height: 430px; }
.featured-side-list { display: grid; grid-auto-rows: 1fr; gap: 12px; min-width: 0; }
.featured-mini { min-height: 209px; }
.featured-image-link { position: absolute; inset: 0; display: block; }
.featured-image-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, #040e0ad9 100%); }
.featured-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .38s, filter .38s; }
.featured-copy { position: relative; z-index: 1; padding: 24px; min-height: inherit; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.featured-copy a { color: inherit; }
.featured-lead-title { color: #fff; font-size: clamp(30px, 3.6vw, 49px); letter-spacing: -1.8px; line-height: 1.05; font-weight: 400; margin: 10px 0 8px; }
.featured-mini-title { color: #fff; font-size: 20px; line-height: 1.2; font-weight: 400; margin: 9px 0 0; }
.featured-excerpt { color: #fff; font-size: 16px; line-height: 1.55; margin: 0; }
.featured-cat-badge, .post-card-category-badge { display: inline-flex; align-items: center; max-width: 100%; min-height: 25px; padding: 5px 10px; border-radius: 5px; background: var(--brand-color); color: var(--portal-on-brand, #fff); font-size: 11px; text-transform: uppercase; font-weight: 800; line-height: 1.2; }
.featured-copy .featured-cat-badge { background: white; color: var(--portal-dark); }
.post-card-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; }
.post-card-badges:empty { display: none; }
.yeta-sponsored-label { display: block; margin: 0 0 8px; color: var(--link-hover-custom, var(--portal-dark)); font: 800 12px/1.55 var(--font-body); text-transform: uppercase; }
.yeta-sponsored-badge { display: block; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--portal-muted); font: 500 10px/1.5 var(--font-body); letter-spacing: .055em; text-transform: uppercase; }
.featured-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.featured-footer .featured-button { margin-top: 0; }
.featured-copy .yeta-sponsored-badge { color: #ffffffe6; }
.featured-mini .yeta-sponsored-badge { margin-top: 9px; }
.post-card-category-badge:hover { background: var(--portal-dark); color: #fff; }
.featured-button { display: inline-flex; align-items: center; gap: 5px; background: white; color: var(--portal-ink) !important; border-radius: 7px; padding: 10px 16px; font-size: 14px; font-weight: 700; margin-top: 10px; }
.featured-lead:hover, .featured-mini:hover { transform: translateY(-3px); box-shadow: 0 13px 30px #0e2d232e; }
.featured-lead:hover img, .featured-mini:hover img { transform: scale(1.025); filter: saturate(1.04); }
.featured-lead:hover .featured-button { background: var(--brand-color); color: var(--portal-on-brand, white) !important; transform: translateX(3px); }
.featured-copy h1 a::after, .featured-copy h2 a::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.portal-categories { display: grid; grid-template-columns: repeat(var(--portal-tile-columns, 8), minmax(0, 1fr)); gap: 7px; margin: 18px 0 10px; }
.portal-category { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 126px; padding: 12px 8px; background: linear-gradient(#fbfcfc, var(--portal-soft)); border: 1px solid var(--portal-line); border-radius: 9px; color: var(--portal-ink); }
.portal-category-icon { color: var(--brand-color); margin-bottom: 8px; line-height: 1; }
.portal-category-icon svg { width: 25px; height: 25px; }
.portal-category strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.portal-category > span:last-child:not(.portal-category-icon) { color: var(--portal-muted); margin-top: 5px; font-size: 11px; line-height: 1.35; }
.portal-category:hover { background: var(--portal-tint); color: var(--portal-dark); border-color: color-mix(in srgb, var(--brand-color) 30%, white); transform: translateY(-4px); box-shadow: 0 10px 24px #103f3217; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 28px 0 13px; }
.section-head h2, .related-posts > h2, .single-faq > h2, .comments-title, .comment-reply-title { margin: 0; font-size: 27px; font-weight: 400; line-height: 1.25; letter-spacing: -.7px; }
.section-head > a { flex: none; color: var(--brand-color); font-size: 13px; font-weight: 700; }
.section-head h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 42px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.1; }
.not-found-section { padding-block: 45px 80px; }
.not-found-section .section-head { display: block; }
.not-found-section .search-form { max-width: 580px; }
.no-results { padding: 28px 0; }
.no-results h2 { font-size: 27px; font-weight: 400; margin: 0 0 12px; }
.front-grid .section-head { margin-top: 12px; }
.front-grid-layout, .news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.front-grid-main, .news-main, .single-main, .page-main { min-width: 0; max-width: 100%; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { border: 1px solid var(--portal-line); background: #fff; border-radius: 9px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.post-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--portal-soft); overflow: hidden; }
.post-card-media-link { display: block; width: 100%; height: 100%; }
.post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; border-radius: 0; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.post-card-content { padding: 13px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; }
.post-card-title { margin: 7px 0 12px; font-size: 16px; font-weight: 400; line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; }
.post-card-title a { color: var(--portal-ink); }
.post-card-title a:hover { color: var(--brand-color); }
.post-card-content > .yeta-sponsored-badge { margin: -2px 0 10px; }
/* Arial has no medium face; a fractional stroke adds weight without changing metrics. */
.featured-lead-title,
.featured-mini-title,
.post-card-title,
.featured-lead-title a,
.featured-mini-title a,
.post-card-title a {
    -webkit-text-stroke: 0.15px currentColor;
    paint-order: stroke fill;
}
.post-card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; font-size: 11px; color: var(--portal-muted); margin: auto 0 0; padding-top: 2px; }
.post-card-meta > span { flex: none; }
.portal-favorite { position: absolute; right: 9px; top: 9px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 0; background: #fff; color: var(--portal-ink); box-shadow: 0 3px 14px #00000024; }
.portal-favorite svg { width: 20px; height: 20px; }
.portal-favorite:hover, .portal-favorite[aria-pressed="true"] { color: var(--accent-color); background: color-mix(in srgb, var(--accent-color) 8%, white); transform: translateY(-2px); }
.portal-favorite[aria-pressed="true"] svg { fill: currentColor; }
.portal-favorites-page { padding-bottom: 24px; }
.portal-favorites-page-head { margin: 26px 0 22px; }
.portal-favorites-page-head h1 { font-size: 32px; font-weight: 500; letter-spacing: -.8px; line-height: 1.2; margin: 0 0 10px; }
.portal-favorites-page-head p { color: var(--portal-muted); font-size: 14px; margin: 0; }
.portal-favorites-page-head .portal-favorites-total { color: var(--brand-color); font-size: 12px; font-weight: 600; margin-top: 8px; }
.portal-favorites-empty { padding: 30px 24px; border: 1px solid var(--portal-line); border-radius: 10px; background: var(--portal-soft); text-align: center; }
.portal-favorites-empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: white; color: var(--brand-color); }
.portal-favorites-empty-icon svg { width: 26px; height: 26px; }
.portal-favorites-empty p { max-width: 500px; margin: 0 auto 15px; color: var(--portal-muted); font-size: 15px; }
.portal-favorites-browse { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.portal-saved-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand-color); background: var(--portal-tint); }
.portal-saved-placeholder svg { width: 42px; height: 42px; }
.portal-favorites-storage-warning { border: 1px solid var(--portal-line); border-radius: 8px; padding: 12px 16px; background: var(--portal-soft); font-size: 14px; }
.portal-favorites-toast { position: fixed; z-index: 10010; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--brand-color); border-radius: 9px; color: var(--portal-on-brand, white); background: var(--brand-color); box-shadow: 0 8px 30px #0002; font-size: 14px; pointer-events: none; }

/* Breadcrumbs, archives and pages use the same scale as article listings. */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0; color: var(--portal-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.breadcrumbs a { color: var(--portal-muted); text-decoration: underline; text-decoration-color: var(--portal-line); text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--brand-color); text-decoration-color: currentColor; }
.breadcrumbs-home { display: inline-flex; align-items: center; }
.breadcrumbs-home-icon, .breadcrumbs-home-icon svg { display: block; width: 16px; height: 16px; color: rgb(107 117 135); }
.section-head-archive { display: block; margin: 34px 0 18px; padding: 0; background: transparent; border: 0; }
.section-head-archive h1, .page-head h1 { font-size: clamp(32px, 4vw, 42px); letter-spacing: -1.5px; line-height: 1.1; font-weight: 400; margin: 0 0 10px; }
.archive-description { color: var(--portal-muted); font-size: 16px; }
.archive-description > :last-child { margin-bottom: 0; }
.archive-category-bottom-description { border-top: 1px solid var(--portal-line); margin-top: 40px; padding-top: 30px; }
.archive-category-bottom-description .archive-description { color: var(--portal-ink); font-size: 17px; line-height: 1.75; }
.archive-section > .news-layout:not(:has(.sidebar .widget)) { grid-template-columns: minmax(0, 1fr); }
.pagination, .portal-pagination, .news-main > .page-numbers { margin-top: 28px; }
.nav-links, .portal-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; }
.page-numbers { display: inline-flex; min-width: 36px; min-height: 36px; padding: 6px 11px; align-items: center; justify-content: center; border: 1px solid var(--portal-line); border-radius: 6px; color: var(--portal-ink); font-size: 13px; }
.page-numbers.current, a.page-numbers:hover { background: var(--brand-color); border-color: var(--brand-color); color: var(--portal-on-brand, white); }
.page-article { max-width: 100%; min-width: 0; }
.page-head { margin-top: 30px; }
.page-layout { min-width: 0; }
.page-layout:not(.news-layout) .page-main { width: 100%; max-width: none; margin-inline: 0; }

/* Article opening and long-form content. */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.single-layout > .sidebar { padding-top: 55px; }
.single-article { min-width: 0; max-width: 100%; --single-header-ink: color-mix(in srgb, var(--brand-color) 8%, #141b18); --single-header-muted: color-mix(in srgb, var(--brand-color) 12%, #5d605f); }
.single-article > .breadcrumbs { line-height: 1.55; }
.single-article > .breadcrumbs a { color: var(--single-header-muted); }
.single-article > .breadcrumbs a:hover { color: var(--brand-color); }
.single-header { margin-bottom: 18px; }
.single-header > .post-card-category-badge { display: flex; width: fit-content; line-height: 1; }
.single-title { margin: 10px 0; color: var(--single-header-ink); font-size: clamp(35px, 5vw, 56px); line-height: 1.06; letter-spacing: -2px; font-weight: 400; }
.single-excerpt { max-width: none; width: 100%; margin: 0; color: color-mix(in srgb, var(--brand-color) 12%, #4f4d4d); font-size: 19px; font-weight: 400; line-height: 1.55; }
.portal-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0; color: var(--single-header-muted); font-size: 13px; }
.single-author-meta { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0; padding: 0; background: none; border: 0; min-width: 0; }
.single-author-meta-avatar-link { flex: 0 0 43px; }
.single-author-meta-text { min-width: 0; }
.single-author-meta-avatar { display: block; width: 43px; height: 43px; object-fit: cover; border-radius: 50%; }
.single-author-meta-name { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; }
.single-author-meta-name a { color: inherit; }
.single-author-meta-name a:hover { color: var(--brand-color); }
.single-author-meta-profile { display: block; font-size: 11px; color: var(--brand-color); }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: inherit; }
.single-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.single-meta-item svg { width: 16px; height: 16px; }
.single-meta-updated { font-size: 11px; }
.single-share-reading-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 20px; }
.single-favorite-button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--brand-color) 15%, #eef0ef); border-radius: 999px; color: var(--portal-dark); background: white; font-weight: 700; line-height: 1.55; }
.single-favorite-button svg { width: 20px; height: 20px; }
.single-favorite-button:hover, .single-favorite-button[aria-pressed="true"] { color: var(--brand-color); border-color: var(--brand-color); background: var(--portal-tint); }
.single-favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.single-share { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--single-header-ink); }
.single-share-label { font-size: 13px; font-weight: 700; margin: 0; }
.single-share-list { display: flex; gap: 7px; align-items: center; }
.single-share-link, .single-share-copy { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 34px; min-width: 34px; height: 34px; padding: 0; background: white; border: 1px solid var(--portal-line); border-radius: 50%; font-size: 16px; font-weight: 800; line-height: 1; text-align: center; color: var(--portal-dark); }
.single-share-link svg, .single-share-copy svg { display: block; flex: 0 0 17px; width: 17px; height: 17px; margin: 0; }
.single-share-copy:not(:has(svg)) { width: auto; border-radius: 999px; white-space: nowrap; padding-inline: 11px; }
.single-share-link:hover, .single-share-copy:hover { background: var(--brand-color); border-color: var(--brand-color); color: var(--portal-on-brand, white); transform: translateY(-2px); }
.single-google-source { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; max-width: 100%; margin-left: auto; padding: 7px 14px; border: 1px solid color-mix(in srgb, var(--brand-color) 35%, white); border-radius: 999px; background: white; color: var(--portal-dark); }
.single-google-source:hover { color: var(--brand-color); border-color: var(--brand-color); background: var(--portal-tint); }
.single-google-source-logo { width: 24px; height: 24px; flex: 0 0 24px; }
.single-google-source > span { min-width: 0; text-align: left; }
.single-google-source strong, .single-google-source small { display: block; line-height: 1.35; }
.single-google-source strong { font-size: 12px; font-weight: 750; }
.single-google-source small { margin-top: 1px; font-size: 11px; }
.single-thumbnail { position: relative; margin: 0 0 22px; }
.single-thumbnail > img { display: block; width: 100%; max-height: 600px; object-fit: cover; border-radius: 10px; }
.single-image-updated-badge { display: inline-flex; align-items: center; gap: 6px; position: absolute; top: 12px; right: 12px; z-index: 2; max-width: calc(100% - 24px); padding: 6px 10px; background: #fffffff0; border: 1px solid #ffffffb3; border-radius: 999px; box-shadow: 0 5px 16px #071b152e; color: var(--portal-dark); font-size: 11px; font-weight: 750; line-height: 1.55; }
.single-image-updated-badge svg { width: 13px; height: 13px; }
.single-image-caption { margin: 8px 0 0; color: var(--single-header-muted); text-align: center; font-size: 12px; line-height: 1.4; }
.entry-content { min-width: 0; max-width: 100%; color: var(--portal-ink); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.78; overflow-wrap: anywhere; }
.entry-content::after { content: ''; display: table; clear: both; }
.entry-content p { margin: 0 0 19px; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { line-height: 1.25; font-weight: 700; scroll-margin-top: 175px; }
.entry-content h2 { margin: 38px 0 12px; font-size: 29px; }
.entry-content h3 { margin: 26px 0 9px; font-size: 22px; }
.entry-content h4 { font-size: 20px; }
.entry-content h5, .entry-content h6 { font-size: 18px; }
.entry-content a { color: var(--link-color-custom, var(--brand-color)); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--link-hover-custom, var(--portal-dark)); }
.entry-content ul, .entry-content ol { margin: 16px 0 24px; padding-left: 25px; }
.entry-content li + li { margin-top: 7px; }
.entry-content li::marker { color: var(--link-color-custom, var(--brand-color)); }
.single-article .entry-content li::marker { color: var(--brand-color); }
.entry-content li > ul, .entry-content li > ol { margin: 8px 0 4px; }
.entry-content blockquote { border: 1px solid var(--portal-line); border-left: 5px solid var(--brand-color); background: var(--portal-tint); border-radius: 10px; margin: 28px 0; padding: 24px 26px; font-style: italic; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
/* Block display is a no-JS fallback; enhanced tables retain their native layout. */
.entry-content table { display: block; width: 100%; max-width: 100%; margin: 24px 0; overflow-x: auto; overscroll-behavior-inline: contain; border-collapse: collapse; border-spacing: 0; font-size: 16px; line-height: 1.6; }
.entry-content :where(td, th) { min-width: 128px; padding: 12px 16px; border: 1px solid var(--portal-line); vertical-align: top; overflow-wrap: anywhere; word-break: normal; }
.entry-content :where(th) { background: var(--portal-tint); color: var(--portal-dark); font-weight: 600; overflow-wrap: break-word; }
.entry-content :where(th:not([align]):not([class*="has-text-align-"])) { text-align: start; }
.entry-content :where(td, th) > :last-child { margin-bottom: 0; }
.entry-content :where(caption) { padding: 12px 16px; color: var(--portal-muted); text-align: start; font-size: 14px; line-height: 1.5; }
.entry-content .wp-block-table { min-width: 0; max-width: 100%; margin: 24px 0; overflow-x: auto; }
.entry-content .wp-block-table > table { margin: 0; }
.entry-content .yeta-content-table { min-width: 0; max-width: 100%; margin: 24px 0; border: 1px solid var(--portal-line); border-radius: 10px; background: var(--paper); }
.entry-content .wp-block-table > .yeta-content-table { margin: 0; }
.entry-content .yeta-content-table__scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border-radius: inherit; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--brand-color) var(--portal-soft); }
.entry-content .yeta-content-table__scroll:focus-visible { outline: 2px solid var(--brand-color); outline-offset: 3px; }
.entry-content .yeta-content-table__scroll::-webkit-scrollbar { height: 8px; }
.entry-content .yeta-content-table__scroll::-webkit-scrollbar-track { background: var(--portal-soft); }
.entry-content .yeta-content-table__scroll::-webkit-scrollbar-thumb { border: 2px solid var(--portal-soft); border-radius: 8px; background: var(--brand-color); }
.entry-content .yeta-content-table__scroll > table { display: table; min-width: max(100%, var(--yeta-table-min-width, 0px)); max-width: none; margin: 0; overflow: visible; }
.entry-content .yeta-content-table__scroll > table:not(.has-background):not([style*="background"]):not(.is-style-stripes table) > tbody > tr:nth-child(even) { background: color-mix(in srgb, var(--brand-color) 3%, var(--paper)); }
.entry-content .wp-block-table.has-background .yeta-content-table { background: transparent; }
.entry-content .yeta-content-table__hint { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-top: 1px solid var(--portal-line); color: var(--portal-muted); font-size: 12px; line-height: 1.5; }
.entry-content .yeta-content-table__hint svg { width: 16px; height: 16px; color: var(--brand-color); }
@media (max-width: 640px) {
    .entry-content .yeta-content-table__scroll > table { font-size: 14px; line-height: 1.6; }
    .entry-content :where(td, th) { padding: 10px 12px; }
}
.entry-content > figure, .entry-content .wp-block-image, .entry-content .wp-caption, .entry-content .alignwide, .entry-content .alignfull { max-width: 100%; margin-inline: 0; }
.entry-content .wp-block-image, .entry-content .wp-caption { margin-top: 24px; margin-bottom: 28px; }
.entry-content img:not(.emoji):not(.wp-smiley) { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content .wp-block-image img, .entry-content .wp-caption img { display: block; }
.entry-content .aligncenter, .entry-content .wp-block-image.aligncenter { display: table; margin-inline: auto; text-align: center; }
.entry-content .aligncenter img, .entry-content img.aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 8px 24px 16px 0; }
.entry-content .alignright { float: right; margin: 8px 0 16px 24px; }
.entry-content figcaption, .entry-content .wp-caption-text { text-align: center; font-size: 12px; color: var(--portal-muted); font-style: italic; line-height: 1.45; margin: 8px 0 0; }
.entry-content img.emoji, .entry-content img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; max-width: 1em !important; margin: 0 .05em !important; border: 0 !important; border-radius: 0 !important; vertical-align: -.1em; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.wp-block-embed__wrapper, .single-video-embed, .single-video-player { max-width: 100%; }
.single-video-embed iframe, .single-video-player iframe, .wp-block-embed.is-type-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border: 0; border-radius: 10px; }

/* Contents, author, related articles and discussion. */
.single-highlights { margin: 0 0 32px; padding: 22px; border-radius: 9px; background: color-mix(in srgb, var(--brand-color) 9%, white); color: var(--single-header-ink, var(--portal-ink)); }
.single-highlights-title { margin: 0 0 12px; color: inherit; font-size: 20px; font-weight: 700; line-height: 1.55; letter-spacing: 0; }
.single-highlights-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.single-highlights-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; margin: 0; padding: 0; font-size: 16px; line-height: 1.55; }
.single-highlights-check { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 3px; background: var(--brand-color); color: var(--portal-on-brand, white); border-radius: 50%; }
.single-highlights-check svg { display: block; width: 13px; height: 13px; }
.single-highlights-text { min-width: 0; overflow-wrap: anywhere; }
.table-of-contents { background: white; border: 1px solid var(--portal-line); border-radius: 10px; margin: 24px 0; padding: 16px; }
.table-of-contents-toggle { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.table-of-contents-title { font-size: 16px; font-weight: 400; }
.table-of-contents-arrow { width: 7px; height: 7px; margin-right: 3px; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(225deg); transition: transform .2s; }
.is-collapsed .table-of-contents-arrow { transform: rotate(45deg); }
.table-of-contents-divider { border: 0; border-top: 1px solid var(--portal-line); margin: 13px 0; }
.is-collapsed .table-of-contents-divider { display: none; }
.table-of-contents ol { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.table-of-contents li { margin: 9px 0; padding-left: 15px; position: relative; }
.table-of-contents li::before { content: ''; position: absolute; left: 1px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-color); }
.table-of-contents .toc-level-3 { margin-left: 12px; font-size: 12px; }
.table-of-contents a { display: block; padding: 4px 7px; border-radius: 6px; color: #4b4b4b; line-height: 1.55; }
.table-of-contents a:hover, .table-of-contents a.is-active { background: var(--portal-tint); color: var(--toc-link-hover-custom, var(--brand-color)); transform: translateX(3px); }
.portal-sidebar-toc:empty { display: none; }
.portal-sidebar-toc { position: static; }
.portal-sidebar-toc .table-of-contents { margin: 0; }
.portal-sidebar-toc .table-of-contents-body { max-height: min(65vh, 680px); overflow-y: auto; scrollbar-width: thin; }
.single-underpost-chips { border: 1px solid var(--portal-line); border-radius: 9px; padding: 16px; margin: 24px 0; background: var(--portal-soft); }
.single-underpost-chips > h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.single-underpost-chips-list { display: grid; gap: 8px; }
.single-underpost-chip { color: var(--portal-ink); font-size: 14px; line-height: 1.5; display: flex; align-items: baseline; gap: 8px; }
.single-underpost-chip:hover { color: var(--brand-color); }
.single-underpost-chip .chip-icon { display: none; }
.single-underpost-chip::before { content: '\2192'; color: var(--brand-color); }
.single-faq { margin: 30px 0 20px; }
.single-faq > h2 { margin-bottom: 14px; }
.single-faq-list { display: grid; gap: 10px; }
.single-faq-item { border: 1px solid var(--portal-line); border-radius: 10px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.single-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; font-size: 16px; font-weight: 600; list-style: none; }
.single-faq-question { font-size: inherit; }
.single-faq-item summary::-webkit-details-marker { display: none; }
.single-faq-item summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--portal-tint); border-radius: 50%; color: var(--brand-color); font-size: 20px; }
.single-faq-item[open] summary::after { content: '\2212'; }
.single-faq-answer { padding: 0 19px 18px; color: var(--portal-muted); font-size: 16px; }
.single-faq-answer p:last-child { margin-bottom: 0; }
.single-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 16px; }
.single-post-tags-label { margin: 0; font-size: 12px; color: var(--portal-muted); }
.single-post-tags-list { display: flex; flex-wrap: wrap; gap: 7px; }
.single-post-tag-chip { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--portal-muted); background: var(--portal-soft); font-size: 12px; }
.single-post-tag-chip:hover { color: var(--brand-color); background: var(--portal-tint); }
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 18px; border: 1px solid var(--portal-line); border-radius: 12px; background: var(--author-box-bg-custom, var(--portal-soft)); padding: 20px; margin: 20px 0 28px; scroll-margin-top: 24px; }
.author-avatar-link { display: block; width: 64px; border-radius: 50%; margin-top: 2px; }
.author-avatar { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.author-content { min-width: 0; }
.author-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-bottom: 6px; }
.author-role { margin: 0; line-height: 1; }
.author-role-badge { display: inline-flex; padding: 4px 8px; border-radius: 4px; background: var(--author-role-badge-bg); color: var(--author-role-badge-text); font-size: 11px; font-weight: 600; line-height: 1.4; }
.author-heading-row { display: flex; flex-wrap: wrap; gap: 5px 10px; align-items: center; margin-bottom: 6px; }
.author-name { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.author-name a { color: var(--portal-ink); }
.author-name a:hover { color: var(--brand-color); }
.author-count { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--portal-muted); margin: 0; white-space: nowrap; }
.author-count::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.author-bio { max-width: 72ch; font-size: 14px; color: var(--portal-muted); margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.author-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.author-actions { margin: 0; }
.author-posts-btn { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--brand-color); }
.author-posts-btn svg { width: 16px; height: 16px; transition: transform .18s; }
.author-posts-btn:hover { color: var(--portal-dark); text-decoration: underline; text-underline-offset: 3px; }
.author-posts-btn:hover svg { transform: translateX(3px); }
.author-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0; margin: 0; list-style: none; }
.author-social-link { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--portal-line); border-radius: 50%; background: white; color: var(--brand-color); }
.author-social-link:hover { background: var(--brand-color); color: var(--portal-on-brand, white); }
.author-social-icon svg { display: block; width: 15px; height: 15px; }
.author-profile { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 28px; margin: 24px 0 38px; padding: 28px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--brand-color) 9%, white); color: color-mix(in srgb, var(--brand-color) 8%, #141b18); }
.author-profile-avatar { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.author-profile-initials { display: grid; place-items: center; background: var(--brand-color); color: var(--portal-on-brand, white); font-size: 34px; font-weight: 850; }
.author-profile-content { min-width: 0; overflow-wrap: anywhere; }
.author-profile-eyebrow { color: var(--brand-color); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.author-profile-name { margin: 2px 0 8px; font-size: 38px; font-weight: 400; line-height: 1.55; letter-spacing: 0; color: inherit; }
.author-profile-bio { max-width: 720px; margin: 0 0 8px; color: color-mix(in srgb, var(--brand-color) 10%, #47504c); font-size: 16px; line-height: 1.55; white-space: pre-line; }
.author-profile-count { font-size: 16px; font-weight: 700; }
.author-profile-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.author-profile-socials a { display: grid; place-items: center; width: 34px; height: 34px; background: white; border-radius: 50%; color: var(--brand-color); }
.author-profile-socials a:hover { background: var(--brand-color); color: var(--portal-on-brand, white); transform: translateY(-2px); }
.author-profile-socials svg { width: 17px; height: 17px; }
.author-archive > .breadcrumbs { line-height: 1.55; }
.author-archive-heading { margin: 0 0 13px; }
.author-archive-heading h2 { line-height: 1.55; }
.author-archive .post-card-meta { padding-top: 0; }
.related-posts { margin-top: 26px; }
.related-posts > h2 { margin-bottom: 14px; }
.comments-block { margin-top: 40px; }
.comments-title { margin-bottom: 18px; }
.comments-empty { margin: 0 0 22px; color: var(--portal-muted); font-size: 16px; line-height: 1.6; }
.comments-closed { margin: 20px 0 0; color: var(--portal-muted); font-size: 14px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { margin-left: 24px; }
.comment-body { position: relative; border: 1px solid var(--portal-line); border-radius: 9px; margin-bottom: 12px; padding: 16px 18px; font-size: 15px; }
.comment-author { font-size: 14px; }
.comment-author .avatar { float: left; width: 36px; height: 36px; object-fit: cover; border-radius: 50%; margin: 0 10px 8px 0; }
.comment-author .fn { font-style: normal; font-weight: 600; }
.comment-metadata { font-size: 11px; color: var(--portal-muted); margin-top: 3px; }
.comment-metadata a { color: inherit; }
.comment-content { clear: both; padding-top: 8px; }
.comment-content p:last-child { margin-bottom: 6px; }
.reply { font-size: 12px; }
.comment-respond { margin-top: 22px; min-width: 0; }
.comments-empty + .comment-respond { margin-top: 0; }
.comment-reply-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.comment-reply-title:not(:has(#cancel-comment-reply-link)), .comment-reply-title:has(#cancel-comment-reply-link[style*="display:none"]), .comment-reply-title:has(#cancel-comment-reply-link[style*="display: none"]) { display: none; }
.comment-reply-title small { margin-left: 8px; font-size: 12px; font-weight: 400; }
.comment-list .comment-respond { margin-bottom: 22px; }
.comment-list .comment-reply-title { margin-bottom: 12px; }
.comment-form { display: grid; gap: 18px; min-width: 0; border-radius: 11px; background: color-mix(in srgb, var(--portal-line) 45%, white); padding: 20px; font-size: 14px; }
.comment-form > p, .comment-form > div { min-width: 0; max-width: 100%; margin: 0; }
.comment-form label { display: block; margin-bottom: 7px; color: color-mix(in srgb, var(--portal-ink) 65%, var(--portal-muted)); font-size: 14px; font-weight: 700; line-height: 1.5; }
.comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]), .comment-form textarea { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--portal-line) 85%, var(--portal-muted)); border-radius: 7px; background: white; color: var(--portal-ink); font-size: 16px; line-height: 1.5; }
.comment-form input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]) { min-height: 46px; }
.comment-form textarea { display: block; min-height: 112px; height: 112px; resize: vertical; }
.comment-form input:not([type="submit"]):focus-visible, .comment-form textarea:focus-visible { border-color: var(--brand-color); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form-cookies-consent input { margin: 4px 0 0; }
.comment-form-cookies-consent label { margin: 0; font-size: 12px; font-weight: 400; color: var(--portal-muted); }
.comment-form .submit, .search-submit, .wp-block-search__button { color: var(--portal-on-brand, white); background: var(--brand-color); border: 0; border-radius: 7px; padding: 10px 15px; font-weight: 700; font-size: 14px; }
.comment-form .submit:hover, .search-submit:hover, .wp-block-search__button:hover { color: white; background: var(--portal-dark); }
.form-submit { margin-bottom: 0; }
.comment-form .form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.comment-form .submit { flex: none; min-height: 45px; padding: 11px 15px; font-size: 16px; }
.comment-form-moderation-note { flex: 1 1 240px; color: var(--portal-muted); font-size: 13px; line-height: 1.5; }

/* Sidebars never dictate the width or height of the content column. */
.sidebar { min-width: 0; width: 100%; max-width: 100%; align-self: stretch; position: relative; display: flex; flex-direction: column; gap: 16px; }
.front-grid .sidebar { padding-top: 59px; }
.sidebar .widget { min-width: 0; width: 100%; max-width: 100%; height: auto; flex: none; border: 1px solid var(--portal-line); border-radius: 10px; background: var(--widget-bg-custom, white); padding: 17px; margin: 0; box-shadow: none; font-size: 14px; }
.sidebar .widget-title, .sidebar .wp-block-heading, .sidebar .widget h2, .sidebar .widget h3, .sidebar .widget h4 { font-size: 18px; line-height: 1.3; font-weight: 400; letter-spacing: 0; margin: 0 0 14px; }
.sidebar ul, .sidebar ol { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin: 11px 0; }
.sidebar li:first-child { margin-top: 0; }
.sidebar li:last-child { margin-bottom: 0; }
.sidebar a { color: var(--portal-ink); }
.sidebar a:hover { color: var(--brand-color); }
.sidebar-latest-link { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 9px; align-items: center; font-size: 12px; line-height: 1.35; }
.sidebar-latest-thumb { width: 58px; height: 45px; overflow: hidden; border-radius: 5px; background: var(--portal-soft); }
.sidebar-latest-thumb img, .sidebar-latest-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-latest-title { font-size: 12px; line-height: 1.35; font-weight: 400; }
.sidebar-latest-link:hover { transform: translateX(3px); }
.sidebar .tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.sidebar .tagcloud a { font-size: 12px !important; background: var(--portal-soft); padding: 5px 9px; border-radius: 999px; }
.sidebar .widget_search, .sidebar .widget_block:has(.wp-block-search) { border: 0; background: transparent; padding: 0; }
.sidebar .widget-has-no-chrome { border-radius: 10px !important; overflow: hidden; }
.sidebar .widget-has-no-chrome img { display: block; border-radius: inherit; }
.sidebar .widget_yeta_blog_widget_rklm_sidebar { padding: 0; border: 0; background: transparent; box-shadow: none; }
.sidebar .widget_yeta_blog_widget_rklm_sidebar .widget-title { margin-bottom: 8px; }
.wp-block-search { margin: 0; }
.search-form, .wp-block-search__inside-wrapper { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.search-form label { flex: 1; min-width: 0; }
.search-icon { display: none; }
.search-field, .search-form input[type="search"], .wp-block-search__input { width: 100%; min-width: 0; flex: 1; border: 1px solid var(--search-wrapper-border-custom, var(--portal-line)); background: var(--search-wrapper-bg-custom, var(--portal-soft)); border-radius: 7px; padding: 10px 12px; font-size: 16px; }
.search-submit, .wp-block-search__button { flex: none; margin: 0; }
.wp-block-search__label { display: block; margin-bottom: 8px; font-size: 14px; }
.search-results .archive-section > .search-form { max-width: 600px; margin-bottom: 25px; }
.wp-block-latest-posts__list li { min-height: 45px; font-size: 13px; }
.wp-block-latest-posts__featured-image { float: left; margin: 0 9px 5px 0; width: 58px; height: 45px; }
.wp-block-latest-posts__featured-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }

/* Brand-colored footer; configured menus keep their original order. */
.site-footer { color: #ffffffd6; background: color-mix(in srgb, var(--brand-color) 52%, #101716); padding: 28px 0 17px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(200px, .75fr) minmax(0, 2.25fr); align-items: start; gap: 32px; }
.footer-branding { min-width: 0; }
.footer-title { color: white; font-size: 22px; font-weight: 700; letter-spacing: -.6px; margin: 0 0 9px; }
.footer-description { font-size: 13px; line-height: 1.65; max-width: 320px; margin: 0; }
.footer-menus { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px; min-width: 0; }
.footer-navigation { flex: 1 1 160px; min-width: 0; }
.footer-navigation:first-child { flex: 3 1 360px; }
.footer-menu-title { color: white; font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.footer-menu { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; list-style: none; padding: 0; margin: 0; }
.footer-menu li { max-width: 100%; margin: 0; }
.site-footer a { color: #ffffffd6; font-size: 13px; }
.site-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-menu a { display: block; line-height: 1.5; overflow-wrap: anywhere; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer-social-link { display: grid; place-items: center; width: 30px; height: 30px; background: #ffffff12; border: 1px solid #ffffff26; border-radius: 50%; }
.footer-social-link svg { display: block; width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid #ffffff26; margin-top: 20px; padding-top: 12px; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-widgets-row { margin-top: 20px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Preserve placement behavior while adapting compact controls to the new UI. */
.yeta-rklm-row--header-affiliate, .yeta-rklm-row--header-affiliate .yeta-rklm-slot, .yeta-rklm-row--header-affiliate .yeta-rklm-slot-inner { width: 100%; max-width: none; margin: 0; padding: 0; }
.yeta-rklm-slot { border: 0; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; pointer-events: none; }
.admin-bar .scroll-progress { top: 32px; }
.scroll-progress-bar { display: block; width: 100%; height: 100%; background: var(--accent-color); }
.yeta-rklm-int-progress-bar { background: var(--accent-color); }

@media (max-width: 1100px) {
    .header-main { grid-template-columns: 210px minmax(160px, 1fr) auto; gap: 20px; }
    .main-menu { gap: 4px 16px; }
    .desktop-navigation { gap: 18px; }
    .header-socials { display: none; }
}
@media (max-width: 1024px) {
    .header-main { display: flex; min-height: 76px; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .header-brand { margin-right: auto; }
    .site-logo { width: var(--logo-width-mobile, 140px); max-height: 48px; }
    .site-title { font-size: 28px; }
    .header-inline-search, .desktop-navigation { display: none; }
    .header-tools { gap: 3px; }
    .header-favorites-toggle, .header-search-toggle, .menu-toggle { flex: none; width: 40px; height: 40px; padding: 0; color: var(--portal-ink); }
    .header-favorites-toggle { justify-content: center; }
    .header-favorites-toggle > svg, .header-search-icon, .header-search-icon svg { display: block; flex: none; width: 22px; height: 22px; }
    .header-favorites-toggle > svg, .header-search-icon svg { stroke-width: 2; }
    .header-favorites-toggle:hover, .header-search-toggle:hover, .menu-toggle:hover { color: var(--brand-color); }
    .header-favorites-toggle [data-favorites-label] { display: none; }
    .header-favorites-count { position: absolute; top: 1px; right: -3px; min-width: 16px; height: 16px; padding-inline: 3px; font-size: 9px; }
    .header-search-toggle, .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .mobile-navigation { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 0 16px; max-height: calc(100dvh - 95px); overflow-y: auto; background: white; border-bottom: 1px solid var(--portal-line); box-shadow: 0 10px 20px #10231b12; }
    .mobile-menu, .mobile-navigation .main-menu { display: block; list-style: none; padding: 0; margin: 0; }
    .mobile-navigation li { position: relative; list-style: none; margin: 0; }
    .mobile-navigation li > a { display: block; padding: 12px 44px 12px 12px; color: var(--portal-ink); font-size: 15px; font-weight: 500; border-radius: 6px; }
    .mobile-navigation .current-menu-item > a, .mobile-navigation a:hover { background: var(--portal-tint); color: var(--brand-color); }
    .mobile-navigation a::before, .mobile-navigation a::after { display: none; }
    .mobile-navigation .sub-menu { display: grid; grid-template-rows: 0fr; opacity: 0; max-height: 0; padding: 0; margin: 0 0 0 16px; overflow: hidden; visibility: hidden; transition: max-height .25s, opacity .2s, visibility .2s; border-left: 1px solid var(--portal-line); }
    .mobile-navigation .is-submenu-open > .sub-menu { display: block; max-height: 1500px; opacity: 1; visibility: visible; margin-bottom: 8px; }
    .submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--portal-muted); border-radius: 6px; }
    .submenu-toggle-icon { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
    .is-submenu-open > .submenu-toggle .submenu-toggle-icon { transform: translateY(2px) rotate(225deg); }
    .featured-news-grid { grid-template-columns: 1fr; }
    .featured-side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-mini { min-height: 220px; }
    .portal-categories { grid-template-columns: repeat(var(--portal-tile-columns-tablet, 4), minmax(0, 1fr)); }
    .front-grid-layout, .news-layout, .single-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .front-grid .sidebar { padding-top: 0; }
    .single-layout > .sidebar { padding-top: 0; }
    .sidebar .portal-sidebar-toc { grid-column: 1 / -1; }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer .footer-menus { flex-direction: column; gap: 18px; }
    .site-footer .footer-navigation { flex: none; width: 100%; }
}
@media (max-width: 782px) {
    .admin-bar .scroll-progress { top: 46px; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 95px; }
    .container { width: min(1180px, calc(100% - 32px)); }
    .header-main { min-height: 74px; }
    .site-title { font-size: 25px; letter-spacing: -1px; }
    .site-description { font-size: 10px; }
    .header-tools { gap: 0; }
    .header-favorites-toggle { width: 34px; }
    .header-search-toggle { width: 34px; }
    .menu-toggle { width: 34px; }
    .front-featured { margin-top: 12px; }
    .featured-lead { min-height: 420px; }
    .featured-copy { padding: 20px; }
    .featured-lead-title { font-size: 30px; letter-spacing: -1.2px; line-height: 1.08; }
    .featured-lead .featured-excerpt { display: none; }
    .featured-side-list { grid-template-columns: 1fr; }
    .featured-mini { min-height: 190px; }
    .featured-mini-title { font-size: 21px; }
    .portal-categories { grid-template-columns: repeat(var(--portal-tile-columns-mobile, 2), minmax(0, 1fr)); margin-bottom: 4px; }
    .portal-category { min-height: 112px; }
    .section-head { gap: 8px; margin: 24px 0 13px; }
    .section-head h2 { font-size: 25px; }
    .section-head > a { font-size: 11px; }
    .post-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .post-card-title { font-size: 19px; line-height: 1.35; }
    .post-card-content { padding: 15px; }
    .post-card-meta { font-size: 12px; }
    .post-card-media { aspect-ratio: 16 / 9; }
    .sidebar { grid-template-columns: minmax(0, 1fr); }
    .single-title { font-size: 36px; line-height: 1.06; letter-spacing: -1.2px; }
    .portal-byline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
    .single-author-meta { margin-right: 0; }
    .single-meta { flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
    .single-meta-item { justify-content: flex-end; }
    .single-google-source { flex-basis: 100%; width: 100%; margin: 2px 0 0; }
    .entry-content { font-size: 18px; line-height: 1.75; }
    .entry-content h2 { font-size: 26px; margin-top: 30px; scroll-margin-top: 95px; }
    .entry-content h3 { font-size: 21px; scroll-margin-top: 95px; }
    .entry-content .alignleft, .entry-content .alignright { float: none; margin: 24px auto; }
    .entry-content blockquote { padding: 20px; }
    .section-head-archive { margin: 26px 0 18px; }
    .section-head-archive h1 { font-size: 36px; }
    .author-box { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 18px 16px; gap: 12px; }
    .author-avatar-link { width: 56px; margin-top: 0; }
    .author-avatar { width: 56px; height: 56px; }
    .author-content { width: 100%; }
    .author-eyebrow-row, .author-heading-row { justify-content: center; }
    .author-heading-row { flex-direction: column; gap: 4px; margin-bottom: 8px; }
    .author-count::before { display: none; }
    .author-name { font-size: 1.1rem; }
    .author-bio { font-size: 13px; }
    .author-footer { flex-direction: column; justify-content: center; gap: 10px; }
    .author-socials { justify-content: center; }
    .author-social-link { width: 36px; height: 36px; }
    .author-posts-btn { font-size: 12px; }
    .author-profile { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px; }
    .author-profile-name { font-size: 32px; line-height: 1.2; margin: 8px 0 12px; }
    .author-profile-socials { justify-content: center; }
    .author-archive .author-archive-heading { margin: 0 0 13px; }
    .author-archive-heading h2 { font-size: 27px; }
    .related-grid { grid-template-columns: 1fr; }
    .comment-form { padding: 16px; }
    .comment-form .submit { width: 100%; }
    .comment-form-moderation-note { flex-basis: 100%; }
    .comment-list .children { margin-left: 12px; }
    .site-footer .footer-grid, .footer-widgets { grid-template-columns: minmax(0, 1fr); }
    .footer-description { max-width: none; }
    .header-search-dialog { padding: 18px; }
    .portal-favorites-page-head h1 { font-size: 28px; }
    body:has(.mobile-bottom-nav) .portal-favorites-toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
    .header-search-form { flex-wrap: wrap; }
    .header-search-form input { flex-basis: 100%; }
    body:has(.mobile-bottom-nav) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
