.blog-public .hamburger {
    align-items: center;
    justify-content: center;
    border: 1px solid #dce7f6;
    border-radius: 12px;
    background: #f7faff;
}

.blog-public .hamburger:hover,
.blog-public .hamburger[aria-expanded="true"] {
    border-color: #b7ccec;
    background: #edf4ff;
}

.blog-site {
    --blog-ink: #12233d;
    --blog-muted: #65748b;
    --blog-blue: #0f3a8a;
    --blog-deep: #041832;
    --blog-accent: #d7a928;
    --blog-line: #e2e8f0;
    --blog-paper: #f5f7fb;
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px 88px;
    color: var(--blog-ink);
}

.blog-site *,
.blog-site *::before,
.blog-site *::after {
    box-sizing: border-box;
}

.blog-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr);
    gap: 36px;
    align-items: center;
    overflow: hidden;
    min-height: 330px;
    padding: clamp(30px, 5vw, 64px);
    border-radius: 26px;
    background:
        radial-gradient(circle at 84% 18%, rgba(215, 169, 40, .25), transparent 25%),
        linear-gradient(120deg, var(--blog-deep), #0b3979 76%, #164b8e);
    color: #fff;
    box-shadow: 0 24px 60px rgba(4, 24, 50, .17);
}

.blog-hero::after {
    position: absolute;
    right: -80px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 72px rgba(255, 255, 255, .025);
    content: "";
    pointer-events: none;
}

.blog-hero-copy,
.blog-hero-aside {
    position: relative;
    z-index: 1;
}

.blog-eyebrow,
.blog-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f0ca66;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.blog-eyebrow::before {
    width: 24px;
    height: 2px;
    background: var(--blog-accent);
    content: "";
}

.blog-hero h1 {
    max-width: 720px;
    margin: 14px 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.blog-hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: #d5dfed;
    font-size: 1.02rem;
    line-height: 1.75;
}

.blog-search {
    display: flex;
    gap: 8px;
    max-width: 620px;
    margin-top: 25px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.blog-search input,
.blog-search select {
    min-width: 0;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--blog-ink);
    font: inherit;
}

.blog-search input {
    flex: 1 1 220px;
    padding: 0 14px;
}

.blog-search select {
    flex: 0 1 180px;
    padding: 0 12px;
}

.blog-search button,
.blog-primary-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--blog-accent);
    color: #14213b;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.blog-search button:hover,
.blog-primary-link:hover {
    transform: translateY(-1px);
    background: #f0ca66;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    color: #14213b;
}

.blog-search input:focus-visible,
.blog-search select:focus-visible,
.blog-search button:focus-visible,
.blog-site a:focus-visible,
.blog-comment-form button:focus-visible {
    outline: 3px solid #3e6fb1;
    outline-offset: 3px;
}

.blog-hero-aside {
    justify-self: end;
    width: min(100%, 270px);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.blog-hero-aside i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(215, 169, 40, .18);
    color: #f0ca66;
    font-size: 1.2rem;
}

.blog-hero-aside strong,
.blog-hero-aside span {
    display: block;
}

.blog-hero-aside strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: 1rem;
}

.blog-hero-aside span {
    color: #d5dfed;
    font-size: .88rem;
    line-height: 1.6;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 26px 0 42px;
}

.blog-category-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid #d5deeb;
    border-radius: 999px;
    background: #fff;
    color: #425570;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.blog-category-chip:hover,
.blog-category-chip.is-active {
    border-color: var(--blog-blue);
    background: var(--blog-blue);
    color: #fff;
}

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    min-height: 350px;
    overflow: hidden;
    margin-bottom: 56px;
    border: 1px solid var(--blog-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 41, 77, .08);
}

.blog-featured-media,
.blog-card-media,
.blog-cover-placeholder {
    position: relative;
    display: grid;
    min-height: 100%;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #123b79, #071c3c);
    color: #f0ca66;
}

.blog-featured-media img,
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.blog-featured:hover .blog-featured-media img,
.blog-card:hover .blog-card-media img {
    transform: scale(1.035);
}

.blog-featured-media i,
.blog-cover-placeholder i {
    font-size: 3rem;
}

.blog-featured-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(25px, 5vw, 52px);
}

.blog-section-eyebrow {
    color: #9a7415;
    letter-spacing: .1em;
}

.blog-featured-body h2 {
    margin: 14px 0 12px;
    color: var(--blog-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.blog-featured-body h2 a,
.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-body h2 a:hover,
.blog-card h3 a:hover {
    color: var(--blog-blue);
}

.blog-featured-body > p {
    margin: 0 0 18px;
    color: #5f6f85;
    line-height: 1.7;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    margin-bottom: 19px;
    color: var(--blog-muted);
    font-size: .84rem;
}

.blog-meta-row span,
.blog-meta-row a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-meta-row i {
    color: #9a7415;
}

.blog-primary-link {
    margin-top: auto;
    background: var(--blog-blue);
    color: #fff;
}

.blog-primary-link:hover {
    background: #174ca6;
    color: #fff;
}

.blog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.blog-section-heading h2 {
    margin: 5px 0 0;
    color: var(--blog-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -.025em;
}

.blog-section-heading p {
    margin: 5px 0 0;
    color: var(--blog-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 41, 77, .055);
    transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 41, 77, .12);
}

.blog-card-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    text-decoration: none;
}

.blog-card-media img {
    position: absolute;
    inset: 0;
}

.blog-card-media i {
    color: #f0ca66;
    font-size: 2.25rem;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.blog-card-category {
    color: #8a6815;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 9px 0;
    color: var(--blog-ink);
    font-size: 1.18rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.blog-card-body > p {
    margin: 0 0 18px;
    color: #5f6f85;
    font-size: .92rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.blog-card .blog-meta-row {
    margin-top: auto;
    margin-bottom: 14px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-blue);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-read-link:hover {
    color: #0b2d62;
    text-decoration: underline;
}

.blog-empty-state {
    grid-column: 1 / -1;
    padding: 46px 24px;
    border: 1px dashed #b6c4d7;
    border-radius: 18px;
    background: #fff;
    color: var(--blog-muted);
    text-align: center;
}

.blog-empty-state i {
    display: block;
    margin-bottom: 12px;
    color: #9a7415;
    font-size: 2rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.blog-pagination .pagination {
    flex-wrap: wrap;
    gap: 5px;
}

.blog-article {
    max-width: 920px;
    margin: 0 auto;
}

.blog-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--blog-blue);
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}

.blog-article-header {
    max-width: 820px;
    margin: 0 auto 30px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e0e9f4;
    border-radius: 22px;
    background: linear-gradient(145deg, #f8fbff, #fff 70%);
    box-shadow: 0 12px 32px rgba(15, 41, 77, .05);
    text-align: center;
}

.blog-article-header .blog-card-category {
    display: inline-flex;
    padding: 5px 12px;
    border: 1px solid #eddfb4;
    border-radius: 999px;
    background: #fff8e6;
}

.blog-article-header h1 {
    margin: 13px 0;
    color: var(--blog-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5.2vw, 4.25rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.blog-article-summary {
    max-width: 760px;
    margin: 0 auto;
    color: #566a84;
    font-size: 1.08rem;
    line-height: 1.75;
}

.blog-article-header .blog-meta-row {
    justify-content: center;
    margin: 20px 0 0;
}

.blog-article-cover {
    display: block;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 34px;
    border-radius: 22px;
    background: #e9eef5;
    object-fit: cover;
    box-shadow: 0 20px 46px rgba(15, 41, 77, .12);
}

.blog-prose {
    max-width: 760px;
    margin: 0 auto;
    color: #293d59;
    font-size: 1.04rem;
    line-height: 1.88;
    overflow-wrap: anywhere;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
    margin: 1.7em 0 .6em;
    color: var(--blog-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol,
.blog-prose blockquote,
.blog-prose table {
    margin-bottom: 1.15em;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
}

.blog-prose blockquote {
    padding: 15px 20px;
    border-left: 4px solid var(--blog-accent);
    border-radius: 0 10px 10px 0;
    background: #f6f8fc;
    color: #425570;
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
}

.blog-prose th,
.blog-prose td {
    padding: 10px;
    border: 1px solid var(--blog-line);
}

.blog-prose a {
    color: var(--blog-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    max-width: 760px;
    margin: 34px auto 58px;
    padding: 18px;
    border: 1px solid var(--blog-line);
    border-radius: 16px;
    background: #f8faff;
}

.blog-share strong {
    margin-right: 5px;
    color: var(--blog-ink);
}

.blog-share a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--blog-line);
    border-radius: 999px;
    background: #fff;
    color: #425570;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-share a:hover {
    border-color: var(--blog-blue);
    color: var(--blog-blue);
}

.blog-related {
    margin: 0 0 64px;
    padding-top: 10px;
}

.blog-comments {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--blog-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 41, 77, .06);
}

.blog-comments h2 {
    margin: 0 0 8px;
    color: var(--blog-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.blog-comment {
    padding: 18px 0;
    border-bottom: 1px solid var(--blog-line);
}

.blog-comment-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 12px;
}

.blog-comment-heading strong {
    color: var(--blog-ink);
}

.blog-comment-date {
    color: var(--blog-muted);
    font-size: .8rem;
}

.blog-comment-body {
    margin-top: 8px;
    color: #425570;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.blog-reply {
    margin: 16px 0 0 14px;
    padding: 0 0 0 17px;
    border-left: 2px solid #dbe5f1;
}

.blog-reply details {
    margin-top: 12px;
}

.blog-reply summary {
    color: var(--blog-blue);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 750;
}

.blog-comment-form {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.blog-comment-form label {
    color: #324763;
    font-size: .88rem;
    font-weight: 750;
}

.blog-comment-form input,
.blog-comment-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd6e4;
    border-radius: 9px;
    outline: none;
    background: #fbfcfe;
    color: var(--blog-ink);
    font: inherit;
}

.blog-comment-form input:focus,
.blog-comment-form textarea:focus {
    border-color: #3e6fb1;
    box-shadow: 0 0 0 3px rgba(62, 111, 177, .14);
}

.blog-comment-form button {
    justify-self: start;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: var(--blog-blue);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.blog-comment-form button:hover {
    background: #0b2d62;
}

.blog-alert {
    margin: 16px 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: .9rem;
}

.blog-alert-success {
    background: #e7f7ed;
    color: #17613a;
}

.blog-alert-error {
    background: #fff0ef;
    color: #992d24;
}

@media (max-width: 900px) {
    .blog-hero {
        grid-template-columns: 1fr;
    }

    .blog-hero-aside {
        justify-self: start;
    }

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

    .blog-featured-media {
        min-height: 260px;
        aspect-ratio: 16 / 9;
    }

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

@media (max-width: 600px) {
    .blog-site {
        padding: 24px 16px 60px;
    }

    .blog-hero {
        gap: 24px;
        min-height: 0;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .blog-search {
        flex-wrap: wrap;
    }

    .blog-search input,
    .blog-search select,
    .blog-search button {
        flex: 1 1 100%;
    }

    .blog-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .blog-category-chip {
        flex: 0 0 auto;
    }

    .blog-featured {
        margin-bottom: 42px;
        border-radius: 17px;
    }

    .blog-featured-body {
        padding: 23px 20px;
    }

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

    .blog-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-article-header {
        padding: 24px 20px;
        border-radius: 18px;
        text-align: left;
    }

    .blog-article-header h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.12;
    }

    .blog-article-summary {
        font-size: .98rem;
        line-height: 1.65;
    }

    .blog-article-header .blog-meta-row {
        justify-content: flex-start;
        gap: 8px 14px;
    }

    .blog-share strong {
        flex: 1 0 100%;
    }

    .blog-article-cover {
        aspect-ratio: 4 / 3;
        margin-bottom: 26px;
        border-radius: 15px;
    }

    .blog-prose {
        font-size: .98rem;
    }

    .blog-comments {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-site *,
    .blog-site *::before,
    .blog-site *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
