:root {
    --brand-color: #0d3b66;
    --accent-color: #f4a261;
    --button-color: #0d3b66;
    --button-hover-color: #f4a261;
    --logo-width-desktop: 180px;
    --logo-width-mobile: 140px;
    --page-bg: #f7f9fc;
    --paper: #ffffff;
    --text: #1a1d21;
    --muted: #5e6572;
    --border: #dfe5ee;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 20px;
    --shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
    --shadow-soft: 0 4px 16px rgba(13, 59, 102, 0.06);
    --shadow-hover: 0 14px 32px rgba(13, 59, 102, 0.14);
    --focus-ring: 0 0 0 3px rgba(13, 59, 102, 0.18);
    --font-body: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
    --font-headings: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 16% -8%, rgba(13, 59, 102, 0.06), transparent 28%),
        radial-gradient(circle at 92% -6%, rgba(244, 162, 97, 0.08), transparent 23%),
        var(--page-bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    letter-spacing: -0.01em;
    color: #1f2935;
}

a {
    color: var(--brand-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
    color: var(--accent-color);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
}

.site-main {
    padding: 1.35rem 0 4rem;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background-color: #ffffff;
    background-image: none;
    position: sticky;
    top: 0;
    z-index: 99;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(13, 59, 102, 0.12);
    box-shadow: 0 10px 26px rgba(21, 42, 74, 0.09);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    min-height: 80px;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.site-logo {
    width: var(--logo-width-desktop);
    max-width: 100%;
    border-radius: 0;
}

.site-title {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-description-wrap {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
}

.site-description {
    margin: 0;
    padding: 0.62rem 0;
    font-size: 0.93rem;
    line-height: 1.45;
    color: var(--muted);
}

.main-menu,
.mobile-menu,
.footer-menu {
    display: flex;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a,
.mobile-menu a,
.footer-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    font-weight: 650;
    color: #243446;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-menu a:hover,
.mobile-menu a:hover,
.footer-menu a:hover,
.main-menu a:focus-visible,
.mobile-menu a:focus-visible,
.footer-menu a:focus-visible {
    background: rgba(13, 59, 102, 0.1);
    color: var(--brand-color);
}

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a,
.main-menu .current-menu-parent > a,
.main-menu .current_page_item > a,
.main-menu .current_page_parent > a,
.mobile-menu .current-menu-item > a,
.mobile-menu .current-menu-ancestor > a,
.mobile-menu .current-menu-parent > a,
.mobile-menu .current_page_item > a,
.mobile-menu .current_page_parent > a,
.mobile-navigation .main-menu .current-menu-item > a,
.mobile-navigation .main-menu .current-menu-ancestor > a,
.mobile-navigation .main-menu .current-menu-parent > a,
.mobile-navigation .main-menu .current_page_item > a,
.mobile-navigation .main-menu .current_page_parent > a {
    background: rgba(13, 59, 102, 0.12);
    color: var(--brand-color);
    box-shadow: inset 0 0 0 1px rgba(13, 59, 102, 0.24);
    font-weight: 700;
}

.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after,
.main-menu .current-menu-parent > a::after,
.main-menu .current_page_item > a::after,
.main-menu .current_page_parent > a::after,
.mobile-menu .current-menu-item > a::after,
.mobile-menu .current-menu-ancestor > a::after,
.mobile-menu .current-menu-parent > a::after,
.mobile-menu .current_page_item > a::after,
.mobile-menu .current_page_parent > a::after,
.mobile-navigation .main-menu .current-menu-item > a::after,
.mobile-navigation .main-menu .current-menu-ancestor > a::after,
.mobile-navigation .main-menu .current-menu-parent > a::after,
.mobile-navigation .main-menu .current_page_item > a::after,
.mobile-navigation .main-menu .current_page_parent > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--paper);
    color: var(--text);
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: rgba(13, 59, 102, 0.07);
    border-color: rgba(13, 59, 102, 0.26);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle-icon {
    width: 20px;
    height: 2px;
    background: currentColor;
    display: block;
    position: relative;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.menu-toggle-icon::before {
    top: -6px;
}

.menu-toggle-icon::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] {
    background: rgba(13, 59, 102, 0.08);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-navigation {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-navigation .mobile-menu,
.mobile-navigation .main-menu {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
}

.section-head {
    margin-bottom: 1.35rem;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.front-featured {
    margin-top: 1.25rem;
    margin-bottom: 2.15rem;
}

.featured-carousel {
    position: relative;
}

.featured-track-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.featured-track {
    display: flex;
    transition: transform 0.4s ease;
}

.featured-slide {
    min-width: 100%;
}

.featured-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
}

.featured-media {
    height: 315px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.featured-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.featured-cats {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: calc(100% - 20px);
}

.featured-cat-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 59, 102, 0.16);
    color: var(--brand-color);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.featured-cat-badge:hover,
.featured-cat-badge:focus-visible {
    background: #fff;
    border-color: rgba(13, 59, 102, 0.32);
    color: var(--brand-color);
}

.featured-content {
    padding: 1.4rem 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
}

.featured-content h1,
.featured-content h2 {
    font-size: clamp(1.48rem, 3vw, 2.16rem);
    margin: 0;
    line-height: 1.11;
    max-width: 21ch;
    color: #2d3947;
}

.featured-content h1 a,
.featured-content h2 a {
    color: inherit;
}

.featured-content h1 a:hover,
.featured-content h1 a:focus-visible,
.featured-content h2 a:hover,
.featured-content h2 a:focus-visible {
    color: #213142;
}

.featured-eyebrow {
    margin: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    font-weight: 700;
}

.featured-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.89rem;
    color: #6f7b8a;
}

.featured-meta a {
    color: inherit;
}

.featured-meta a:hover,
.featured-meta a:focus-visible {
    color: #4f5f72;
}

.featured-excerpt {
    margin: 0;
    color: #5c6877;
    font-size: 0.98rem;
    line-height: 1.52;
    max-width: 43ch;
}

.featured-content .btn-read {
    align-self: flex-start;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 59, 102, 0.86);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.78rem;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: #b7c0cf;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    transform: scale(1.1);
    background: #8c9bb0;
}

.carousel-dot.is-active {
    background: var(--brand-color);
}

.btn-read {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    padding: 0.66rem 1.08rem;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: var(--button-color);
    box-shadow: 0 6px 16px rgba(13, 59, 102, 0.2);
    transition: background-color 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

.btn-read:hover,
.btn-read:focus-visible {
    background: var(--button-hover-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 59, 102, 0.26);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
}

.post-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover,
.post-card:focus-within {
    transform: translateY(-3px);
    border-color: #cfdaea;
    box-shadow: var(--shadow-hover);
}

.post-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #edf1f7;
    overflow: hidden;
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.35s ease;
}

.post-card:hover .post-card-media img,
.post-card:focus-within .post-card-media img {
    transform: scale(1.03);
}

.post-card-content {
    padding: 1.05rem 1rem 1.08rem;
}

.post-card-meta {
    margin: 0 0 0.65rem;
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.post-card-meta .dot,
.featured-meta .dot {
    color: #8f9cb2;
    font-size: 0.8rem;
}

.post-card-title {
    margin: 0 0 0.48rem;
    font-size: 1.2rem;
    line-height: 1.27;
    letter-spacing: -0.01em;
}

.post-card-title a {
    color: #263547;
}

.post-card-title a:hover,
.post-card-title a:focus-visible {
    color: #1b3f66;
}

.post-card-excerpt {
    margin: 0;
    color: var(--muted);
}

.post-card-related .post-card-title {
    font-size: 1rem;
    margin-bottom: 0;
}

.post-card-related .post-card-content {
    padding: 0.85rem;
}

.archive-section,
.page-section {
    margin-top: 1.2rem;
}

.front-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.3rem;
}

.single-latest-section {
    margin-bottom: 1.15rem;
}

.single-latest-section h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.single-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.single-latest-card {
    display: grid;
    grid-template-columns: 122px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem;
    border-radius: 20px;
    border: 1px solid #dcd6f6;
    background: #ffffff;
}

.single-latest-thumb {
    display: block;
    width: 122px;
    height: 98px;
    overflow: hidden;
    border-radius: 16px;
    background: #eff3fa;
}

.single-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.single-latest-content {
    min-width: 0;
}

.single-latest-cat {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: #ebe7fb;
    color: #4f3ee0;
    font-weight: 700;
    font-size: 0.94rem;
}

.single-latest-title {
    margin: 0.55rem 0 0;
    font-size: clamp(1.06rem, 1.4vw, 1.3rem);
    line-height: 1.16;
}

.single-latest-date {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.3rem;
}

.single-article {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.28rem;
    box-shadow: var(--shadow-soft);
}

.breadcrumbs {
    margin-bottom: 0.95rem;
    font-size: 0.9rem;
    color: #6d7788;
}

.breadcrumbs .sep {
    margin: 0 0.35rem;
}

.single-title {
    margin: 0;
    font-size: clamp(1.6rem, 4.4vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.single-meta {
    margin-top: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.single-meta .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--chip-bg-custom, #edf4ff);
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.84rem;
    line-height: 1.15;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-meta .meta-chip:hover,
.single-meta .meta-chip:focus-within {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

.single-meta .meta-chip a {
    color: inherit;
}

.single-meta .chip-icon {
    font-size: 0.82rem;
}

.single-excerpt {
    margin: 0;
    color: #5f6d7d;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8rem;
    max-width: 62ch;
}

.single-thumbnail {
    margin: 1.2rem 0;
    position: relative;
}

.single-image-alt-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
    max-width: min(75%, 420px);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.78rem;
    line-height: 1.25;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-image-alt-badge:hover,
.single-image-alt-badge:focus-visible {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

.table-of-contents {
    margin: 1.15rem 0;
    background: var(--chip-bg-custom, #edf4ff);
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    border-radius: 12px;
    padding: 0.88rem 1.02rem;
    box-shadow: 0 2px 10px rgba(13, 59, 102, 0.05);
}

.table-of-contents h2 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.2rem;
}

.table-of-contents li {
    margin: 0.32rem 0;
}

.table-of-contents .toc-level-3 {
    margin-left: 0.75rem;
}

.entry-content > * {
    margin-block: 1rem;
}

.entry-content {
    color: #253344;
    font-size: 1.03rem;
}

.entry-content p,
.entry-content li {
    line-height: 1.78;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    line-height: 1.26;
    margin-top: 1.4rem;
    margin-bottom: 0.72rem;
    color: #1f2d3b;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 1.2rem 0;
    padding: 0.72rem 1rem;
    background: #f9fbff;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.inline-category-more {
    margin: 1.15rem 0;
    border: 1px solid #d6d9de;
    background: #f3f4f6;
}

.inline-category-more-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem;
    border-top: 1px solid #d6d9de;
}

.inline-category-more-item:first-child {
    border-top: 0;
}

.inline-category-more-thumb {
    display: block;
    width: 240px;
    height: 160px;
    overflow: hidden;
    background: #e6e9ee;
}

.inline-category-more-thumb img,
.inline-category-thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.inline-category-more-kicker {
    display: inline-block;
    font-size: 0.86rem;
    letter-spacing: 0.2em;
    color: #3a3f4d;
}

.inline-category-more-title {
    margin: 0.38rem 0 0;
    font-size: clamp(1.48rem, 2.5vw, 2.1rem);
    line-height: 1.14;
}

.inline-category-more-title a {
    color: #107a89;
}

.inline-category-more-title a:hover,
.inline-category-more-title a:focus-visible {
    color: #0c6470;
}

.single-underpost-chips {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.single-underpost-chips h2 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
}

.single-underpost-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-underpost-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    max-width: min(100%, 360px);
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.84rem;
    line-height: 1.15;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.16s ease;
}

.single-underpost-chip:hover,
.single-underpost-chip:focus-visible {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
    transform: translateY(-1px);
}

.single-underpost-chip .chip-icon {
    font-size: 0.82rem;
}

.single-underpost-chip-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-faq {
    margin-top: 1.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}

.single-faq h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.single-faq-list {
    display: grid;
    gap: 0.55rem;
}

.single-faq-item {
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    border-radius: 12px;
    background: var(--chip-bg-custom, #edf4ff);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-faq-item:hover,
.single-faq-item:focus-within {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
    box-shadow: 0 6px 16px rgba(13, 59, 102, 0.08);
}

.single-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.8rem 2.5rem 0.8rem 0.9rem;
    position: relative;
    font-weight: 700;
    color: var(--chip-text-custom, #23456a);
}

.single-faq-item summary::-webkit-details-marker {
    display: none;
}

.single-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-weight: 700;
    line-height: 1;
}

.single-faq-item:hover summary::after,
.single-faq-item:focus-within summary::after {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

.single-faq-item[open] summary::after {
    content: '-';
}

.single-faq-answer {
    padding: 0 0.9rem 0.8rem;
    color: var(--chip-text-custom, #23456a);
}

.single-faq-answer p {
    margin: 0;
}

.single-post-tags {
    margin-top: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.single-post-tags-label {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #2f4056;
    white-space: nowrap;
}

.single-post-tags-list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.single-post-tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.68rem;
    border-radius: 999px;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-post-tag-chip:hover,
.single-post-tag-chip:focus-visible {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.entry-content th,
.entry-content td {
    border: 1px solid var(--border);
    padding: 0.5rem;
}

.sidebar {
    display: grid;
    gap: 1.05rem;
    align-content: start;
}

.widget {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    color: #2a394b;
}

.widget ul {
    margin: 0;
    padding-left: 1rem;
}

.author-box {
    margin-top: 1.35rem;
    padding: 1.05rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fbff;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    margin: 0;
    font-size: 1.1rem;
}

.author-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
}

.author-count-badge {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.author-role,
.author-count,
.author-bio {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.author-socials {
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.author-socials a {
    display: inline-flex;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.author-socials a:hover,
.author-socials a:focus-visible {
    background: #f5f9ff;
    border-color: #c8d9ee;
}

.related-posts {
    margin-top: 1.35rem;
}

.related-posts h2 {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.42rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbff 0%, #f3f7fd 100%);
    box-shadow: var(--shadow-soft);
}

.search-label {
    position: relative;
    flex: 1;
    display: block;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8ca6;
    font-size: 1rem;
    pointer-events: none;
}

.search-field {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d8e1ee;
    padding: 0 0.85rem 0 2.15rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field::placeholder {
    color: #8793a5;
}

.search-field:focus {
    border-color: var(--brand-color);
    box-shadow: var(--focus-ring);
    outline: none;
}

.search-submit {
    border: 0;
    border-radius: 10px;
    background: var(--button-color);
    color: #fff;
    font-weight: 700;
    height: 44px;
    padding: 0 1rem;
    min-width: 96px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.16s ease;
}

.search-submit:hover,
.search-submit:focus-visible {
    background: var(--button-hover-color);
    transform: translateY(-1px);
}

.widget_search .search-form {
    margin: 0;
}

.widget_search .search-submit {
    min-width: 84px;
}

.widget_search .search-field {
    width: 100%;
}

.wp-block-search {
    margin: 1rem 0;
}

.wp-block-search .wp-block-search__label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: #4a5668;
}

.wp-block-search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem;
    border: 1px solid var(--search-wrapper-border-custom, var(--border));
    border-radius: 14px;
    background: var(--search-wrapper-bg-custom, #f3f7fd);
    box-shadow: var(--shadow-soft);
}

.wp-block-search .wp-block-search__input {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d8e1ee;
    padding: 0 0.85rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-search .wp-block-search__input::placeholder {
    color: #8793a5;
}

.wp-block-search .wp-block-search__input:focus {
    border-color: var(--brand-color);
    box-shadow: var(--focus-ring);
    outline: none;
}

.wp-block-search .wp-block-search__button {
    border: 0;
    border-radius: 10px;
    background: var(--button-color);
    color: #fff;
    font-weight: 700;
    height: 44px;
    padding: 0 1rem;
    min-width: 96px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.16s ease;
}

.wp-block-search .wp-block-search__button:hover,
.wp-block-search .wp-block-search__button:focus-visible {
    background: var(--button-hover-color);
    transform: translateY(-1px);
}

.comments-area {
    margin-top: 1.35rem;
    border-top: 1px solid var(--border);
    padding-top: 1.05rem;
}

.comments-title {
    margin-top: 0;
    font-size: 1.25rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.98rem;
    margin-bottom: 0.9rem;
}

.comment-content p {
    margin-bottom: 0;
}

.comment-respond {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.comment-form label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    border-color: var(--brand-color);
    box-shadow: var(--focus-ring);
    outline: none;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit,
.comment-form input[type="submit"] {
    border: 0;
    border-radius: 10px;
    background: var(--button-color);
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1rem;
    cursor: pointer;
}

.comment-form .submit:hover,
.comment-form .submit:focus-visible,
.comment-form input[type="submit"]:hover,
.comment-form input[type="submit"]:focus-visible {
    background: var(--button-hover-color);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
    padding-top: 2.1rem;
    margin-top: 0.8rem;
}

.site-footer .widget {
    box-shadow: none;
}

.site-footer .footer-menu {
    gap: 0.55rem;
}

.site-footer .footer-menu a {
    padding: 0.28rem 0.52rem;
    border-radius: 10px;
    color: #415266;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus-visible {
    color: #1e3f65;
    background: #f3f7fd;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1.2rem;
}

.footer-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #23374d;
}

.footer-description {
    margin: 0;
    color: #5b6b7e;
    font-size: 0.94rem;
    line-height: 1.62;
}

.footer-socials {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color-custom, #d7deea);
    background: var(--surface-bg-custom, #ffffff);
    color: #274667;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    border-color: var(--brand-color);
    color: var(--link-hover-custom, #145081);
    background: var(--menu-hover-bg-custom, #f6f9ff);
}

.footer-social-icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
}

.footer-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-menus {
    display: grid;
    gap: 0.9rem;
}

.footer-menus--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-menus--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer .footer-navigation {
    min-width: 0;
}

.site-footer .footer-navigation .footer-menu {
    display: grid;
    gap: 0.2rem;
}

.site-footer .footer-navigation .footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 0;
    padding: 0.2rem 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #47596f;
    font-weight: 600;
}

.site-footer .footer-navigation .footer-menu a::before {
    content: "\2022";
    color: var(--accent-color);
    font-size: 0.92em;
    line-height: 1;
}

.site-footer .footer-navigation .footer-menu a:hover,
.site-footer .footer-navigation .footer-menu a:focus-visible {
    color: var(--link-hover-custom, #145081);
    background: transparent;
}

.footer-widgets-row {
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 1.3rem;
    padding: 1rem 0 1.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.pagination,
.nav-links,
.page-numbers {
    margin-top: 1.2rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    margin-right: 0.35rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-numbers:hover,
.page-numbers:focus-visible {
    border-color: #c7d7ec;
    background: #f5f9ff;
    color: #1f3f65;
}

.page-numbers.current {
    color: #fff;
    background: var(--brand-color);
    border-color: transparent;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-latest-grid {
        grid-template-columns: 1fr;
    }

    .front-grid-layout,
    .single-layout {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-menus--3,
    .footer-menus--4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .desktop-navigation {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-logo {
        width: var(--logo-width-mobile);
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-media {
        height: auto;
        min-height: 220px;
    }

    .featured-content {
        padding: 1rem 1rem 1.05rem;
        gap: 0.68rem;
    }

    .featured-content h1,
    .featured-content h2 {
        max-width: 100%;
        font-size: clamp(1.32rem, 5.8vw, 1.9rem);
    }

    .featured-excerpt {
        max-width: 100%;
    }

    .featured-cats {
        top: 8px;
        left: 8px;
        gap: 0.3rem;
        max-width: calc(100% - 16px);
    }

    .featured-cat-badge {
        min-height: 24px;
        padding: 0 0.55rem;
        font-size: 0.73rem;
    }

    .single-latest-card {
        grid-template-columns: 98px 1fr;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .single-latest-thumb {
        width: 98px;
        height: 82px;
        border-radius: 12px;
    }

    .single-latest-title {
        font-size: 1.04rem;
    }

    .single-latest-cat {
        height: 30px;
        padding: 0 0.75rem;
        font-size: 0.86rem;
    }

    .inline-category-more-item {
        grid-template-columns: 108px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .inline-category-more-thumb {
        width: 108px;
        height: 82px;
    }

    .inline-category-more-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .inline-category-more-title {
        font-size: 1.12rem;
        line-height: 1.2;
    }

    .single-underpost-chips-list {
        flex-direction: column;
    }

    .single-underpost-chip {
        max-width: 100%;
    }

    .mobile-menu .current-menu-item > a::after,
    .mobile-menu .current-menu-ancestor > a::after,
    .mobile-menu .current-menu-parent > a::after,
    .mobile-menu .current_page_item > a::after,
    .mobile-menu .current_page_parent > a::after,
    .mobile-navigation .main-menu .current-menu-item > a::after,
    .mobile-navigation .main-menu .current-menu-ancestor > a::after,
    .mobile-navigation .main-menu .current-menu-parent > a::after,
    .mobile-navigation .main-menu .current_page_item > a::after,
    .mobile-navigation .main-menu .current_page_parent > a::after {
        display: none;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        grid-template-columns: 1fr;
    }

    .author-avatar {
        width: 72px;
        height: 72px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-menus--3,
    .footer-menus--4 {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-submit {
        width: 100%;
        height: 42px;
    }

    .wp-block-search .wp-block-search__inside-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .wp-block-search .wp-block-search__button {
        width: 100%;
        min-width: 0;
        height: 42px;
    }
}

/* Portal UX Overhaul */
:root {
    --page-bg: #f3f5f9;
    --paper: #ffffff;
    --text: #1f2935;
    --muted: #5f6b7a;
    --border: #d7deea;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 10px 24px rgba(16, 34, 62, 0.08);
    --shadow-soft: 0 5px 18px rgba(16, 34, 62, 0.06);
    --shadow-hover: 0 16px 36px rgba(16, 34, 62, 0.14);
}

body {
    background:
        radial-gradient(circle at 110% -15%, rgba(13, 59, 102, 0.07), transparent 30%),
        radial-gradient(circle at -8% 8%, rgba(13, 59, 102, 0.05), transparent 24%),
        var(--page-bg);
    color: var(--text);
    font-size: 16.5px;
}

.container {
    width: min(1260px, 94vw);
}

.site-main {
    padding: 1.5rem 0 4.25rem;
}

.site-header {
    border-bottom: 1px solid #d6deea;
    background-color: #fff;
    background-image: none;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(13, 59, 102, 0.14);
    box-shadow: 0 12px 28px rgba(17, 36, 66, 0.11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-utility-wrap {
    border-bottom: 1px solid #e1e7f1;
    background: var(--topbar-bg-custom, #f4f8ff);
}

.header-utility-wrap:empty {
    display: none;
}

.header-topbar {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    padding: 0.25rem 0;
    color: var(--topbar-text-custom, #33485f);
    background: transparent;
}

.header-topbar-info {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 500;
    white-space: nowrap;
}

.header-topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 0.72rem;
    border-radius: 999px;
    background: var(--topbar-cta-bg-custom, #0d3b66);
    color: var(--topbar-cta-text-custom, #ffffff);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.header-topbar-cta:hover,
.header-topbar-cta:focus-visible {
    background: var(--button-hover-color, #f4a261);
    color: var(--topbar-cta-text-custom, #ffffff);
}

.header-main {
    min-height: 74px;
}

.site-description-wrap {
    border-top: 1px solid #e4ebf5;
    background: #f8fbff;
}

.site-description {
    padding: 0.5rem 0;
    font-size: 0.84rem;
    color: #6a778b;
}

.main-menu,
.mobile-menu,
.footer-menu {
    gap: 0.5rem;
}

.main-menu a,
.mobile-menu a,
.footer-menu a {
    min-height: 38px;
    padding: 0.45rem 0.72rem;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 650;
}

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a,
.main-menu .current-menu-parent > a,
.main-menu .current_page_item > a,
.main-menu .current_page_parent > a {
    background: #edf4ff;
    box-shadow: inset 0 0 0 1px #c7d8ee;
}

.section-head {
    margin-bottom: 1rem;
}

.section-head h1,
.section-head h2 {
    font-size: clamp(1.38rem, 2.5vw, 2rem);
    line-height: 1.15;
    margin: 0;
}

.section-head p,
.archive-description {
    margin: 0.5rem 0 0;
    max-width: 78ch;
    color: #627086;
}

.section-head-archive {
    margin-bottom: 1rem;
    padding: 1.05rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--archive-head-border-custom, #dce4f0);
    background: var(--archive-head-bg-custom, #ffffff);
}

.archive-category-bottom-description {
    margin-top: 1.2rem;
    padding: 1rem 1.05rem;
    border-top: 1px solid #dde5f1;
}

.archive-category-bottom-description .archive-description {
    margin: 0;
    max-width: none;
    color: #4f5f76;
}

.front-featured {
    margin-top: 1.15rem;
    margin-bottom: 1.4rem;
}

.featured-track-wrap {
    border-radius: 22px;
    border: 1px solid #d7dfec;
    box-shadow: var(--shadow);
}

.featured-post {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    border: 0;
    border-radius: 0;
}

.featured-media {
    border-right: 1px solid #e0e7f2;
}

.featured-content {
    padding: 1.6rem 1.7rem;
    gap: 0.72rem;
}

.featured-content h1,
.featured-content h2 {
    font-size: clamp(1.58rem, 2.6vw, 2.2rem);
    line-height: 1.08;
    max-width: 18ch;
    color: #223043;
}

.featured-meta {
    font-size: 0.84rem;
    color: #728095;
}

.featured-excerpt {
    font-size: 1rem;
    line-height: 1.62;
    color: #677486;
    max-width: 52ch;
}

.carousel-dots {
    margin-top: 0.8rem;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    background: #bec8d8;
}

.front-quick-section {
    margin-bottom: 1.5rem;
}

.front-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.front-quick-item {
    border: 1px solid #d7dfec;
    border-radius: 14px;
    background: #fff;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.72rem;
    min-height: 100%;
}

.front-quick-thumb {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    background: #ebf0f8;
}

.front-quick-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.front-quick-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.front-quick-category,
.post-card-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 24px;
    padding: 0 0.6rem;
    border-radius: 999px;
    border: 1px solid #d0dcf0;
    background: #eef4ff;
    color: #20486f;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.front-quick-title {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
}

.front-quick-title a {
    color: #263446;
}

.front-quick-title a:hover,
.front-quick-title a:focus-visible {
    color: #1a3f67;
}

.front-quick-date {
    margin: 0;
    color: #79879a;
    font-size: 0.82rem;
}

.front-grid-layout,
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, clamp(280px, 26vw, 320px));
    gap: 1.5rem;
    align-items: start;
}

.front-grid-main,
.news-main {
    min-width: 0;
}

.post-grid {
    gap: 1.2rem;
}

.post-card {
    border-radius: 14px;
    border-color: #d7deea;
}

.post-card-content {
    padding: 0.92rem 0.95rem 1rem;
}

.post-card-category {
    margin-bottom: 0.6rem;
}

.post-card-meta {
    margin: 0 0 0.52rem;
    font-size: 0.82rem;
    color: #7a879a;
}

.post-card-title {
    margin: 0 0 0.36rem;
    font-size: 1.08rem;
    line-height: 1.3;
}

.post-card-excerpt {
    color: #617084;
    font-size: 0.92rem;
    line-height: 1.56;
}

.single-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, clamp(280px, 26vw, 320px));
    gap: 1.5rem;
}

.single-article {
    border-radius: 18px;
    border-color: #d9e1ee;
    padding: 1.45rem;
}

.single-title {
    font-size: clamp(1.84rem, 4vw, 2.72rem);
}

.single-meta .meta-chip {
    font-size: 0.78rem;
    padding: 0.22rem 0.5rem;
    gap: 0.24rem;
}

.single-excerpt {
    font-size: 1.3rem;
    font-weight: 600;
    color: #5f6d7d;
    line-height: 1.8rem;
}

.entry-content {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #263446;
}

.entry-content p,
.entry-content li {
    line-height: 28px;
}

.single .entry-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.single .entry-content figure,
.single .entry-content .wp-block-image,
.single .entry-content .wp-caption {
    max-width: 100% !important;
}

.single .entry-content figure img,
.single .entry-content .wp-block-image img {
    width: auto;
    max-width: 100% !important;
    height: auto !important;
}

.single .entry-content figure figcaption,
.single .entry-content .wp-element-caption,
.single .entry-content .wp-caption .wp-caption-text,
.single .entry-content .wp-caption-text {
    margin-top: 0.48rem;
    text-align: center;
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--muted-color-custom, #7a899d);
}

.single .entry-content ul li::marker,
.single .entry-content ol li::marker {
    color: var(--brand-color);
}

.single .entry-content .alignleft,
.single .entry-content .alignright,
.single .entry-content .aligncenter,
.single .entry-content .alignnone {
    max-width: 100% !important;
}

.sidebar {
    gap: 1rem;
}

.widget {
    border-radius: 14px;
    border-color: #d8e0ec;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 0.42rem 0;
    border-bottom: 1px solid #e8eef6;
}

.widget li:last-child {
    border-bottom: 0;
}

.widget a {
    color: #2c3d52;
    line-height: 1.45;
}

.widget a:hover,
.widget a:focus-visible {
    color: #173f67;
}

.comments-area {
    margin-top: 1.55rem;
    padding-top: 1.2rem;
}

.comment-body {
    border-radius: 14px;
    border-color: #d8e2ef;
    background: #f7faff;
}

.comment-respond {
    border-radius: 14px;
    border-color: #d8e2ef;
}

.site-footer {
    margin-top: 1.2rem;
    padding-top: 2.2rem;
    border-top-color: #d8dfeb;
}

.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1.2rem;
}

@media (max-width: 1320px) {
    .front-grid-layout,
    .news-layout,
    .single-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .front-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .front-grid-layout,
    .news-layout,
    .single-layout {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

@media (max-width: 800px) {
    .header-topbar {
        min-height: 34px;
        gap: 0.4rem;
        padding: 0.22rem 0;
    }

    .header-topbar-info {
        font-size: 0.75rem;
    }

    .header-topbar-cta {
        min-height: 24px;
        padding: 0 0.58rem;
        font-size: 0.72rem;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-media {
        border-right: 0;
        border-bottom: 1px solid #e0e7f2;
    }

    .featured-content {
        padding: 1rem;
    }

    .featured-content h1,
    .featured-content h2 {
        font-size: clamp(1.3rem, 6vw, 1.88rem);
        max-width: 100%;
    }

    .front-quick-grid {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .section-head-archive {
        padding: 0.82rem 0.9rem;
    }

    .single-article {
        padding: 1rem;
    }
}

/* UX Refinement - newsroom layout */
body {
    background: var(--page-bg-custom, #ffffff);
    color: var(--text-color-custom, #1f2935);
}

a:hover,
a:focus-visible {
    color: var(--link-hover-custom, #145081);
}

.desktop-navigation {
    margin-left: auto;
}

.header-utility-wrap {
    max-height: 56px;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled .header-utility-wrap {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.65rem;
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d8e1ee;
    background: #f9fbff;
    color: #3b4c62;
}

.header-social-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
}

.header-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.header-social-link:hover,
.header-social-link:focus-visible {
    background: #edf4ff;
    border-color: #c2d4ea;
    color: #143f69;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.65rem;
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0.22rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3b4c62;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-search-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.header-search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible {
    background: transparent;
    color: var(--brand-color, #143f69);
    transform: translateY(-1px);
}

body.header-search-open {
    overflow: hidden;
}

.header-search-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: min(9vh, 78px) 0.9rem 0;
    background: rgba(14, 22, 35, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-search-modal[hidden] {
    display: none !important;
}

.header-search-dialog {
    width: min(760px, 100%);
    border: 1px solid #d6deea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(13, 30, 54, 0.22);
    padding: 0.9rem;
}

.header-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.header-search-title {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 700;
    color: #223449;
}

.header-search-close {
    border: 1px solid #d8e1ee;
    border-radius: 999px;
    background: #f7faff;
    color: #3f5067;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.4rem;
    line-height: 1;
}

.header-search-close:hover,
.header-search-close:focus-visible {
    border-color: #c2d4ea;
    background: #edf4ff;
    color: #163f66;
}

.header-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.header-search-form .header-search-input {
    margin: 0;
    width: 100%;
    min-height: 48px;
    padding: 0 0.9rem;
    border-radius: 12px;
    border: 1px solid #ccd8e8;
    background: #ffffff;
    color: #1f2f42;
    font-size: 1rem;
}

.header-search-form .header-search-input:focus {
    outline: none;
    border-color: var(--link-color-custom, #2b5a94);
    box-shadow: 0 0 0 3px rgba(43, 90, 148, 0.16);
}

.header-search-form .header-search-submit {
    min-height: 48px;
    border-radius: 12px;
    padding: 0 1rem;
    border: 1px solid transparent;
    background: var(--button-bg-custom, var(--brand-color, #2b5a94));
    color: var(--button-text-custom, #ffffff);
    font-weight: 700;
}

.header-search-form .header-search-submit:hover,
.header-search-form .header-search-submit:focus-visible {
    background: var(--button-hover-bg-custom, #1e486f);
    color: var(--button-hover-text-custom, #ffffff);
}

.main-menu a {
    border: 1px solid transparent;
    background: transparent;
    color: #2b3b4f;
}

.main-menu a:hover,
.main-menu a:focus-visible {
    border-color: var(--border-color-custom, #d7deea);
    background: var(--menu-hover-bg-custom, #f6f9ff);
    color: var(--menu-hover-text-custom, #193f67);
}

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a,
.main-menu .current-menu-parent > a,
.main-menu .current_page_item > a,
.main-menu .current_page_parent > a {
    border-color: var(--border-color-custom, #d7deea);
    background: var(--menu-active-bg-custom, #ebf3ff);
    color: var(--menu-active-text-custom, #133e68);
    box-shadow: none;
}

.main-menu .current-menu-item > a::after,
.main-menu .current-menu-ancestor > a::after,
.main-menu .current-menu-parent > a::after,
.main-menu .current_page_item > a::after,
.main-menu .current_page_parent > a::after,
.mobile-menu .current-menu-item > a::after,
.mobile-menu .current-menu-ancestor > a::after,
.mobile-menu .current-menu-parent > a::after,
.mobile-menu .current_page_item > a::after,
.mobile-menu .current_page_parent > a::after,
.mobile-navigation .main-menu .current-menu-item > a::after,
.mobile-navigation .main-menu .current-menu-ancestor > a::after,
.mobile-navigation .main-menu .current-menu-parent > a::after,
.mobile-navigation .main-menu .current_page_item > a::after,
.mobile-navigation .main-menu .current_page_parent > a::after {
    display: none;
}

.front-featured {
    margin-bottom: 1.65rem;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.featured-side-list {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.featured-lead {
    display: block;
    position: relative;
    border: 1px solid #d6dfec;
    border-radius: 18px;
    background: var(--surface-bg-custom, #ffffff);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-color: var(--border-color-custom, #d7deea);
}

.featured-lead-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-lead-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.45s ease;
}

.featured-lead-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.2rem 1.15rem 1.05rem;
    background: linear-gradient(180deg, rgba(13, 23, 39, 0) 0%, rgba(13, 23, 39, 0.84) 66%, rgba(13, 23, 39, 0.92) 100%);
    transition: background 0.25s ease;
}

.featured-lead-title {
    margin: 0;
    font-size: clamp(1.42rem, 2.4vw, 2.02rem);
    line-height: 1.1;
}

.featured-lead-title a {
    color: #ffffff;
}

.featured-lead-title a:hover,
.featured-lead-title a:focus-visible {
    color: #dff0ff;
}

.featured-mini {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.68rem;
    border: 1px solid #d8e0ed;
    border-radius: 14px;
    background: var(--surface-bg-custom, #ffffff);
    box-shadow: var(--shadow-soft);
    align-self: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border-color: var(--border-color-custom, #d7deea);
}

.featured-mini-media {
    position: relative;
    width: 148px;
    height: 104px;
    border-radius: 10px;
    overflow: hidden;
    background: #ebf0f8;
}

.featured-mini-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.35s ease;
}

.featured-mini-content {
    min-width: 0;
}

.featured-mini-title {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.26;
}

.featured-mini-title a {
    color: #26364a;
}

.featured-mini-title a:hover,
.featured-mini-title a:focus-visible {
    color: #163f68;
}

.featured-lead:hover,
.featured-lead:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.featured-lead:hover .featured-lead-media img,
.featured-lead:focus-within .featured-lead-media img {
    transform: scale(1.03);
}

.featured-lead:hover .featured-lead-content,
.featured-lead:focus-within .featured-lead-content {
    background: linear-gradient(180deg, rgba(13, 23, 39, 0.1) 0%, rgba(13, 23, 39, 0.86) 62%, rgba(13, 23, 39, 0.95) 100%);
}

.featured-mini:hover,
.featured-mini:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #c7d8ec;
}

.featured-mini:hover .featured-mini-media img,
.featured-mini:focus-within .featured-mini-media img {
    transform: scale(1.04);
}

.featured-lead .featured-meta {
    margin: 0.62rem 0 0.5rem;
    color: rgba(236, 243, 255, 0.9);
}

.featured-lead .featured-meta a {
    color: inherit;
}

.featured-mini .featured-meta {
    margin-top: 0.25rem;
}

.featured-lead .featured-excerpt {
    margin: 0;
    color: rgba(232, 240, 253, 0.93);
    max-width: 60ch;
}

.post-grid {
    gap: 1.05rem;
}

.post-card {
    border-radius: 12px;
    box-shadow: none;
    background: var(--surface-bg-custom, #ffffff);
    border-color: var(--border-color-custom, #d7deea);
}

.post-card:hover,
.post-card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.post-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #edf2f9;
    overflow: hidden;
}

.post-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card-media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.post-card-category-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 59, 102, 0.2);
    color: #173f68;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.post-card-category-badge:hover,
.post-card-category-badge:focus-visible {
    background: #fff;
    color: #0f365c;
}

.post-card-content {
    padding: 0.82rem 0.9rem 0.94rem;
}

.post-card-title {
    margin: 0 0 0.4rem;
    font-size: 1.03rem;
    line-height: 1.3;
}

.post-card-title a {
    color: #243446;
    transition: color 0.2s ease;
}

.post-card-title a:hover,
.post-card-title a:focus-visible {
    color: var(--link-hover-custom, #145081);
}

.post-card-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted-color-custom, #7a899d);
}

.post-card-excerpt {
    margin-top: 0.5rem;
}

.single-share {
    margin: 0.2rem 0 0.72rem;
    padding-top: 0;
    border-top: 0;
    display: flex;
    align-items: center;
    gap: 0.58rem;
}

.single-share h2 {
    margin: 0;
    font-size: 0.92rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.single-share-list {
    display: inline-flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem;
    padding-bottom: 0;
    min-width: 0;
}

.single-share-link,
.single-share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

.single-share-link:hover,
.single-share-link:focus-visible,
.single-share-copy:hover,
.single-share-copy:focus-visible {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

.single-layout {
    align-items: start;
}

.single-main {
    min-width: 0;
}

.single-article {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.single-excerpt {
    max-width: none;
    margin: 0.8rem 0 1.05rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8rem;
    color: #000000;
}

.single-thumbnail {
    margin-bottom: 0.32rem;
}

.single-image-alt-badge {
    bottom: 20px;
}

.single-main > .author-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #d8e0ec;
    border-radius: 16px;
    background: var(--author-box-bg-custom, #f8fbff);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-color-custom, #d7deea);
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 0.95rem;
    align-items: center;
}

.single-main > .author-box .author-avatar {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    align-self: center;
    justify-self: start;
}

.author-prefix {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #59667b;
}

.author-role {
    margin: 0.42rem 0 0;
}

.single-main > .author-box .author-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.single-main > .author-box .author-prefix {
    display: none;
}

.single-main > .author-box .author-role {
    margin: 0;
}

.author-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--author-role-badge-border, #b6e7c6);
    background: var(--author-role-badge-bg, #e8f8ee);
    color: var(--author-role-badge-text, #1d7a39);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.single-main > .author-box .author-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}

.single-main > .author-box .author-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.14;
}

.author-name a {
    color: #313131;
}

.single-main > .author-box .author-count {
    margin: 0;
}

.single-main > .author-box .author-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(81, 85, 212, 0.2);
    background: rgba(81, 85, 212, 0.1);
    color: #4b44d3;
    font-size: 0.82rem;
    font-weight: 700;
}

.single-main > .author-box .author-bio {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--muted-color-custom, #5f6b7a);
}

.author-actions {
    margin: 0.75rem 0 0;
}

.single-main > .author-box .author-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.single-main > .author-box .author-actions {
    margin: 0;
}

.author-posts-btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-color-custom, #d7deea);
    background: var(--surface-bg-custom, #ffffff);
    color: var(--brand-color);
    font-size: 0.86rem;
    font-weight: 700;
}

.single-main > .author-box .author-posts-btn {
    min-height: 38px;
    padding: 0 0.78rem;
    font-size: 0.88rem;
}

.single-main > .author-box .author-posts-btn::after {
    content: "\203A";
    margin-left: 0.56rem;
    font-size: 1.2em;
    line-height: 1;
}

.author-posts-btn:hover,
.author-posts-btn:focus-visible {
    border-color: var(--brand-color);
    color: var(--link-hover-custom, #145081);
    background: var(--menu-hover-bg-custom, #f6f9ff);
}

.single-main > .author-box .author-socials {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.single-main > .author-box .author-socials li {
    margin: 0;
}

.single-main > .author-box .author-social-link {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border-color-custom, #d7deea);
    background: var(--surface-bg-custom, #ffffff);
    color: var(--brand-color);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.single-main > .author-box .author-social-link:hover,
.single-main > .author-box .author-social-link:focus-visible {
    border-color: var(--brand-color);
    color: var(--link-hover-custom, #145081);
    background: var(--menu-hover-bg-custom, #f6f9ff);
}

.single-main > .author-box .author-social-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
}

.single-main > .author-box .author-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.author-archive .author-box {
    margin-top: 0.35rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid #d8e0ec;
    border-radius: 16px;
    background: var(--author-box-bg-custom, #f8fbff);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-color-custom, #d7deea);
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 0.95rem;
    align-items: center;
}

.author-archive .author-box .author-avatar {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    align-self: center;
    justify-self: start;
}

.author-archive .author-box .author-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.author-archive .author-box .author-prefix {
    display: none;
}

.author-archive .author-box .author-role {
    margin: 0;
}

.author-archive .author-box .author-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}

.author-archive .author-box .author-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.14;
}

.author-archive .author-box .author-name a {
    color: #313131;
}

.author-archive .author-box .author-name a:hover,
.author-archive .author-box .author-name a:focus-visible,
.author-archive .author-box .author-name a:visited {
    color: #313131;
}

.author-archive .author-box .author-count {
    margin: 0;
}

.author-archive .author-box .author-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(81, 85, 212, 0.2);
    background: rgba(81, 85, 212, 0.1);
    color: #4b44d3;
    font-size: 0.82rem;
    font-weight: 700;
}

.author-archive .author-box .author-bio {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--muted-color-custom, #5f6b7a);
}

.author-archive .author-box .author-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.author-archive .author-box .author-socials {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.author-archive .author-box .author-socials li {
    margin: 0;
}

.author-archive .author-box .author-social-link {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border-color-custom, #d7deea);
    background: var(--surface-bg-custom, #ffffff);
    color: var(--brand-color);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.author-archive .author-box .author-social-link:hover,
.author-archive .author-box .author-social-link:focus-visible {
    border-color: var(--brand-color);
    color: var(--link-hover-custom, #145081);
    background: var(--menu-hover-bg-custom, #f6f9ff);
}

.author-archive .author-box .author-social-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
}

.author-archive .author-box .author-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.single-main > .related-posts {
    margin-top: 1.15rem;
}

.single-main > .related-posts .post-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.single-main > .related-posts .post-card-related {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.single-main > .related-posts .post-card-related .post-card-media {
    aspect-ratio: auto;
    height: 98px;
    overflow: hidden;
}

.single-main > .related-posts .post-card-related .post-card-content {
    padding: 0.7rem 0.82rem;
}

.single-main > .related-posts .post-card-related .post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.comments-block {
    margin-top: 1.2rem;
}

.comments-block .comments-area {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.sidebar {
    align-content: start;
    align-self: start;
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.sidebar .widget {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: var(--widget-bg-custom, #ffffff);
    box-shadow: none;
    height: auto;
    border-color: var(--border-color-custom, #d7deea);
    min-width: 0;
}

.sidebar .search-form,
.sidebar .wp-block-search .wp-block-search__inside-wrapper {
    min-width: 0;
    max-width: 100%;
}

.sidebar .widget.widget-is-sticky-top {
    position: relative;
    z-index: 4;
}

.widget-sticky-spacer {
    display: none;
    width: 100%;
}

.sidebar .widget.widget-is-sticky-top.is-sticky-fixed {
    z-index: 18;
}

.widget-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #34465c;
}

.sidebar .widget ul li {
    padding: 0.4rem 0;
}

.sidebar .widget h2,
.sidebar .widget h3,
.sidebar .widget .wp-block-heading {
    margin: 0 0 0.72rem;
    font-size: 1rem;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}

.home .front-grid .sidebar .widget_search {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home .front-grid .sidebar .widget_search .search-form {
    margin: 0;
}

.single .sidebar .widget_search {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.single .sidebar .widget_search .search-form {
    margin: 0;
}

.sidebar .widget a:hover,
.sidebar .widget a:focus-visible,
.widget-area a:hover,
.widget-area a:focus-visible {
    color: var(--link-hover-custom, #145081);
}

.sidebar .widget_yeta_blog_widget_rklm_sidebar {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sidebar .widget_yeta_blog_widget_rklm_sidebar .widget-title {
    margin: 0 0 0.5rem;
}

.yeta-rklm-slot--sidebar-widget {
    border: 0;
    border-radius: 0;
    background: transparent;
}

@media (max-width: 1024px) {
    .sidebar .widget.widget-is-sticky-top {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
    }
}

.section-head-archive {
    padding: 3.05rem 1.05rem;
}

.wp-block-search {
    margin: 0;
}

.mobile-navigation .main-menu,
.mobile-navigation .mobile-menu {
    width: 100%;
}

.mobile-navigation .container {
    width: 100%;
    max-width: none;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
}

.mobile-navigation .main-menu > li,
.mobile-navigation .mobile-menu > li {
    width: 100%;
}

.mobile-navigation .main-menu a,
.mobile-navigation .mobile-menu a {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    justify-content: flex-start;
    border: 1px solid transparent;
    background: transparent;
}

.mobile-navigation .main-menu a:hover,
.mobile-navigation .mobile-menu a:hover,
.mobile-navigation .main-menu a:focus-visible,
.mobile-navigation .mobile-menu a:focus-visible {
    background: var(--menu-hover-bg-custom, #f6f9ff);
    color: var(--menu-hover-text-custom, #193f67);
    border-color: var(--border-color-custom, #d7deea);
}

.mobile-navigation .main-menu .current-menu-item > a,
.mobile-navigation .main-menu .current-menu-ancestor > a,
.mobile-navigation .main-menu .current-menu-parent > a,
.mobile-navigation .main-menu .current_page_item > a,
.mobile-navigation .main-menu .current_page_parent > a,
.mobile-navigation .mobile-menu .current-menu-item > a,
.mobile-navigation .mobile-menu .current-menu-ancestor > a,
.mobile-navigation .mobile-menu .current-menu-parent > a,
.mobile-navigation .mobile-menu .current_page_item > a,
.mobile-navigation .mobile-menu .current_page_parent > a {
    background: #ffffff;
    color: var(--menu-active-text-custom, #133e68);
    border-color: var(--border-color-custom, #d7deea);
    box-shadow: none;
}

.mobile-navigation .main-menu .sub-menu,
.mobile-navigation .mobile-menu .sub-menu {
    margin: 0.32rem 0 0.15rem;
    padding: 0.24rem 0 0.28rem 0.72rem;
    border-left: 2px solid var(--border-color-custom, #d7deea);
    list-style: none;
    display: grid;
    gap: 0.1rem;
    width: 100%;
}

.mobile-navigation .main-menu .sub-menu li,
.mobile-navigation .mobile-menu .sub-menu li {
    margin: 0;
}

.mobile-navigation .main-menu .sub-menu a,
.mobile-navigation .mobile-menu .sub-menu a {
    min-height: 36px;
    font-size: 0.92rem;
    padding: 0.35rem 0.64rem;
}

.sidebar-latest-item {
    padding: 0;
    border: 0;
}

.widget .sidebar-latest-item {
    border-bottom: 0;
    padding: 0;
}

.sidebar-latest-link {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.55rem;
    align-items: center;
    padding: 0.3rem 0;
}

.sidebar-latest-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #ecf1f8;
    display: block;
}

.sidebar-latest-thumb img,
.sidebar-latest-thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.sidebar-latest-title {
    font-size: 0.9rem;
    line-height: 1.34;
}

@media (max-width: 1100px) {
    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .featured-side-list {
        gap: 0.6rem;
    }

    .featured-mini {
        grid-template-columns: 116px 1fr;
    }

    .featured-mini-media {
        width: 116px;
        height: 84px;
    }
}

@media (max-width: 800px) {
    .header-socials {
        display: none;
    }

    .header-tools {
        margin-left: auto;
    }

    .header-search-toggle {
        padding: 0.2rem;
    }

    .header-search-modal {
        padding-top: min(10vh, 82px);
    }

    .header-search-dialog {
        padding: 0.78rem;
        border-radius: 14px;
    }

    .header-search-form {
        grid-template-columns: 1fr;
    }

    .header-search-form .header-search-submit {
        width: 100%;
    }

    .featured-mini {
        grid-template-columns: 104px 1fr;
    }

    .featured-mini-media {
        width: 104px;
        height: 78px;
    }

    .featured-lead-content {
        padding: 0.95rem 0.82rem 0.9rem;
    }

    .featured-lead .featured-excerpt {
        display: none;
    }

    .single-main > .related-posts .post-card-related {
        grid-template-columns: 104px 1fr;
    }

    .single-main > .related-posts .post-card-related .post-card-media {
        height: 78px;
    }

    .sidebar-latest-link {
        grid-template-columns: 56px 1fr;
        gap: 0.5rem;
    }

    .sidebar-latest-thumb {
        width: 56px;
        height: 42px;
    }

    .section-head-archive {
        padding: 1.82rem 0.9rem;
    }
}

.scroll-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    z-index: 4;
    background: rgba(13, 59, 102, 0.08);
    pointer-events: none;
}

.scroll-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--brand-color);
    transition: transform 0.08s linear;
}

.table-of-contents {
    padding: 0;
    overflow: hidden;
}

.table-of-contents-toggle {
    width: 100%;
    padding: 0.86rem 1rem;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--chip-text-custom, #23456a);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    font: inherit;
}

.table-of-contents-title {
    font-size: 1rem;
    font-weight: 700;
}

.table-of-contents-arrow {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.table-of-contents-toggle[aria-expanded="false"] .table-of-contents-arrow {
    transform: rotate(-45deg);
}

.table-of-contents-body {
    padding: 0 1rem 0.88rem;
}

.table-of-contents-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--chip-border-custom, #d3e2f7);
}

.table-of-contents.is-collapsed .table-of-contents-body {
    display: none;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.2rem;
}

.table-of-contents a {
    color: var(--chip-text-custom, #23456a);
}

.table-of-contents a:hover,
.table-of-contents a:focus-visible {
    color: var(--toc-link-hover-custom, var(--chip-hover-text-custom, #16355a));
}

@media (max-width: 800px) {
    .single-main > .author-box {
        grid-template-columns: 1fr;
        gap: 0.92rem;
        padding: 1rem;
    }

    .single-main > .author-box .author-avatar {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        justify-self: center;
    }

    .single-main > .author-box .author-heading-row {
        gap: 0.5rem 0.62rem;
    }

    .single-main > .author-box .author-name {
        font-size: clamp(1.18rem, 6.5vw, 1.56rem);
    }

    .single-main > .author-box .author-posts-btn {
        min-height: 36px;
        padding: 0 0.7rem;
        font-size: 0.84rem;
    }

    .single-main > .author-box .author-social-link {
        width: 34px;
        height: 34px;
    }

    .author-archive .author-box {
        grid-template-columns: 1fr;
        gap: 0.92rem;
        padding: 1rem;
    }

    .author-archive .author-box .author-avatar {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        justify-self: center;
    }

    .author-archive .author-box .author-content {
        align-items: center;
        text-align: center;
    }

    .author-archive .author-box .author-heading-row {
        gap: 0.5rem 0.62rem;
        justify-content: center;
    }

    .author-archive .author-box .author-name {
        font-size: 1.1rem;
    }

    .author-archive .author-box .author-footer {
        justify-content: center;
    }

    .author-archive .author-box .author-social-link {
        width: 34px;
        height: 34px;
    }
}

.single-author-meta {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 12px;
    background: var(--surface-bg-custom, #ffffff);
}

.single-author-meta-avatar-link {
    display: inline-flex;
}

.single-author-meta-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color-custom, #d7deea);
}

.single-author-meta-text {
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    min-width: 0;
}

.single-author-meta-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5f6b7a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.single-author-meta-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.1;
    color: #233446;
}

.single-author-meta-name a {
    color: #233446;
}

.single-author-meta-name a:hover,
.single-author-meta-name a:focus-visible,
.single-author-meta-name a:visited {
    color: #233446;
}

.single-meta {
    margin-top: 0.55rem;
}

.single-reading-time-badge {
    margin: 0 0 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--chip-border-custom, #d3e2f7);
    background: var(--chip-bg-custom, #edf4ff);
    color: var(--chip-text-custom, #23456a);
    font-size: 0.82rem;
    line-height: 1.15;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-reading-time-badge:hover,
.single-reading-time-badge:focus-visible {
    border-color: var(--chip-hover-border-custom, #bbcee7);
    background: var(--chip-hover-bg-custom, #e3edfd);
    color: var(--chip-hover-text-custom, #16355a);
}

@media (min-width: 801px) {
    .single-share-reading-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.95rem;
    }

    .single-share-reading-row .single-share {
        flex: 1 1 auto;
        min-width: 0;
    }

    .single-share-reading-row .single-reading-time-badge {
        margin: 0;
        flex: 0 0 auto;
    }
}

.single-thumbnail {
    position: relative;
}

.single-thumbnail-category-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 59, 102, 0.2);
    background: rgba(255, 255, 255, 0.92);
    color: #173f68;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.single-thumbnail-category-badge:hover,
.single-thumbnail-category-badge:focus-visible {
    color: #0f365c;
    background: #ffffff;
}

@media (max-width: 800px) {
    .single .entry-content .alignleft,
    .single .entry-content .alignright,
    .single .entry-content .aligncenter {
        float: none;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .single-author-meta {
        width: 100%;
        max-width: 260px;
    }

    .single-author-meta-avatar {
        width: 38px;
        height: 38px;
    }

    .single-author-meta-name {
        font-size: 0.84rem;
    }

    .single-post-tags {
        gap: 0.4rem;
    }

    .single-main > .author-box .author-content {
        align-items: center;
        text-align: center;
    }

    .single-main > .author-box .author-footer {
        justify-content: center;
    }

    .single-main > .author-box .author-name {
        font-size: 1.1rem;
    }
}

.breadcrumbs-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    min-height: 1.55rem;
    font-size: 1rem;
    line-height: 1;
}

.breadcrumbs-home-icon {
    display: inline-block;
    width: 0.95rem;
    height: 0.95rem;
    color: rgb(107 117 135);
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 8h-3v10h-5v-6h-2v6H6V11H3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 8h-3v10h-5v-6h-2v6H6V11H3z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.yeta-rklm-row {
    margin: 0.35rem 0 1.15rem;
}

.yeta-rklm-slot {
    width: 100%;
    min-height: var(--yeta-rklm-min-height, 0px);
    border: 0;
    border-radius: 14px;
    background: var(--surface-bg-custom, #ffffff);
    overflow: hidden;
}

.yeta-rklm-slot-inner {
    width: 100%;
    height: 100%;
    text-align: center;
}

.yeta-rklm-slot-inner iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

.yeta-rklm-slot--front-top-placement .yeta-rklm-slot-inner > * {
    margin-left: auto;
    margin-right: auto;
}

.yeta-rklm-row--front-top .yeta-rklm-slot--front-top-placement .yeta-rklm-slot-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yeta-rklm-slot-inner img,
.yeta-rklm-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

.yeta-rklm-slot-inner--test {
    min-height: var(--yeta-rklm-min-height, 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceff3;
}

.yeta-rklm-test-label {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7f8a96;
}

.yeta-rklm-slot--single-inline-insert {
    margin: 1rem 0;
}

.yeta-rklm-int-open {
    overflow: hidden;
}

.yeta-rklm-int-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(14, 23, 36, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.yeta-rklm-int-overlay[hidden] {
    display: none !important;
}

.yeta-rklm-int-shell {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
}

.yeta-rklm-int-head {
    min-height: 50px;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid var(--border-color-custom, #d7deea);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.yeta-rklm-int-left {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
}

.yeta-rklm-int-close {
    min-height: 34px;
    padding: 0 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--brand-color);
    background: var(--brand-color);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.yeta-rklm-int-close:hover,
.yeta-rklm-int-close:focus-visible {
    border-color: var(--button-hover-color);
    background: var(--button-hover-color);
    color: #ffffff;
}

.yeta-rklm-int-progress {
    height: 3px;
    background: rgba(13, 59, 102, 0.08);
}

.yeta-rklm-int-progress > span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--brand-color);
}

.yeta-rklm-int-content {
    padding: 1rem;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yeta-rklm-slot--interstitial-body {
    width: min(1180px, 95vw);
    min-height: var(--yeta-rklm-min-height, 320px);
    max-height: 78vh;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .yeta-rklm-int-head {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .yeta-rklm-int-close {
        min-height: 32px;
        padding: 0 0.62rem;
        margin-left: auto;
    }

    .yeta-rklm-int-content {
        padding: 0.68rem;
        align-items: stretch;
    }

    .yeta-rklm-slot--interstitial-body {
        width: 100%;
        max-height: none;
    }
}

/* Footer mobile layout lock: one column only */
@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .site-footer .footer-menus,
    .site-footer .footer-menus--3,
    .site-footer .footer-menus--4 {
        grid-template-columns: 1fr !important;
    }
}

/* Header menu: active only on exact current page/item */
.main-menu .current-menu-ancestor > a,
.main-menu .current-menu-parent > a,
.main-menu .current_page_parent > a,
.mobile-menu .current-menu-ancestor > a,
.mobile-menu .current-menu-parent > a,
.mobile-menu .current_page_parent > a,
.mobile-navigation .main-menu .current-menu-ancestor > a,
.mobile-navigation .main-menu .current-menu-parent > a,
.mobile-navigation .main-menu .current_page_parent > a,
.mobile-navigation .mobile-menu .current-menu-ancestor > a,
.mobile-navigation .mobile-menu .current-menu-parent > a,
.mobile-navigation .mobile-menu .current_page_parent > a {
    background: transparent !important;
    color: #243446 !important;
    box-shadow: none !important;
    font-weight: 650 !important;
}

.main-menu .current-menu-ancestor > a::after,
.main-menu .current-menu-parent > a::after,
.main-menu .current_page_parent > a::after,
.mobile-menu .current-menu-ancestor > a::after,
.mobile-menu .current-menu-parent > a::after,
.mobile-menu .current_page_parent > a::after,
.mobile-navigation .main-menu .current-menu-ancestor > a::after,
.mobile-navigation .main-menu .current-menu-parent > a::after,
.mobile-navigation .main-menu .current_page_parent > a::after,
.mobile-navigation .mobile-menu .current-menu-ancestor > a::after,
.mobile-navigation .mobile-menu .current-menu-parent > a::after,
.mobile-navigation .mobile-menu .current_page_parent > a::after {
    display: none !important;
    content: none !important;
}

.main-menu .current-menu-item > a,
.main-menu .current_page_item > a,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a,
.mobile-navigation .main-menu .current-menu-item > a,
.mobile-navigation .main-menu .current_page_item > a,
.mobile-navigation .mobile-menu .current-menu-item > a,
.mobile-navigation .mobile-menu .current_page_item > a {
    background: var(--menu-active-bg-custom, #ebf3ff) !important;
    color: var(--menu-active-text-custom, #133e68) !important;
    box-shadow: inset 0 0 0 1px rgba(13, 59, 102, 0.24) !important;
    font-weight: 700 !important;
}
