/* ==========================================================================
Blog (/blog, /blog/category/{slug}, /blog/{slug}) - ported from 2X Academy.
Loaded only on blog pages (@push('styles')). Builds on inner-pages.css
(.inner-page-hero, .content-card, .content-prose) and the site palette.
========================================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Category chips --------------------------------------------------------- */
.blog-hero .inner-hero-kicker {
    text-decoration: none;
}

.blog-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px auto 0;
    max-width: 1000px;
    justify-content: center;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.blog-chip:hover,
.blog-chip:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

.blog-chip.is-active {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* Blog heading and intro -------------------------------------------------- */
.page-lead {
    padding-top: 4px;
}

.blog-index .page-topbar,
.page.blog-category .page-topbar {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 142px;
    padding: 24px 0;
    background: linear-gradient(110deg, #0b1528 0%, #0b1528 48%, #00398f 100%);
}

.blog-index .page-topbar::after,
.page.blog-category .page-topbar::after,
.blog-show .page-topbar::after {
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    top: -190px;
    right: 12%;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .025), 0 0 0 58px rgba(255, 255, 255, .02);
    content: "";
    pointer-events: none;
}

.blog-index .page-topbar-row,
.page.blog-category .page-topbar-row,
.blog-show .page-topbar-row {
    position: relative;
    z-index: 1;
}

.blog-index .page-topbar-title,
.page.blog-category .page-topbar-title {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.035em;
}

.blog-index .page-topbar-title::after,
.page.blog-category .page-topbar-title::after {
    display: block;
    width: 44px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: #60a5fa;
    content: "";
}

.blog-show .page-topbar {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(138px, 18vw, 220px);
    padding: 26px 0;
}

.blog-show .page-topbar-title {
    max-width: 1000px;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -.02em;
    text-transform: none;
}

.blog-show .page-topbar::before {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -275px;
    border-radius: 50%;
    background: rgba(0, 102, 255, .16);
    content: "";
    pointer-events: none;
}

/* Sections --------------------------------------------------------------- */
.blog-section {
    padding: clamp(44px, 5.5vw, 72px) 0;
    background: #f8fafc;
}

.blog-related {
    background: #eef4ff;
}

/* Featured post ---------------------------------------------------------- */
.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.blog-featured-image {
    display: block;
    min-height: 320px;
    background: linear-gradient(141deg, #0066ff 0%, #0b1528 70%);
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-content {
    min-width: 0;
    padding: clamp(24px, 3.2vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    justify-content: center;
}

.blog-featured-badge {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-featured-content h2 {
    font-family: var(--heading-font-family);
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.25;
    color: var(--secondary-color);
}

.blog-featured-content h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-content h2 a:hover,
.blog-featured-content h2 a:focus-visible {
    color: var(--primary-color);
}

.blog-featured-content p {
    color: #475569;
    line-height: 1.7;
}

.blog-meta-line {
    display: flex;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

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

/* Card grid -------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 102, 255, 0.14);
}

.blog-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(141deg, #0066ff 0%, #0b1528 70%);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 48px;
}

.blog-card-category {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-card-category.is-alt {
    background: #f59e0b;
}

.blog-card-category.is-dark {
    background: #0b1528;
}

.blog-card-category.is-static {
    position: static;
    align-self: flex-start;
}

.blog-read-time {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 30px;
    background: rgba(11, 21, 40, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.blog-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-date {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.blog-card-content h3 {
    font-family: var(--heading-font-family);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.4;
    color: var(--secondary-color);
    overflow-wrap: anywhere;
}

.blog-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-content h3 a:hover,
.blog-card-content h3 a:focus-visible {
    color: var(--primary-color);
}

.blog-card-content p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.blog-card-footer a {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

.blog-card-footer a i {
    font-size: 11px;
    margin-left: 4px;
}

.blog-card-footer span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Buttons / empty / pagination ------------------------------------------ */
.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    font-family: var(--heading-font-family);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}

.blog-btn:hover {
    background: #0052cc;
    border-color: #0052cc;
    color: #fff;
}

.blog-btn.is-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.blog-btn.is-ghost:hover {
    background: #fff;
    color: var(--primary-color);
}

.blog-empty {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
    padding: 52px 32px;
    text-align: center;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #f7faff 100%);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.blog-empty::before,
.blog-empty::after {
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.blog-empty::before {
    top: -150px;
    right: -80px;
    background: rgba(0, 102, 255, 0.08);
}

.blog-empty::after {
    bottom: -180px;
    left: -100px;
    background: rgba(96, 165, 250, 0.1);
}

.blog-empty i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background: #eff6ff;
    color: var(--primary-color);
    font-size: 34px;
}

.blog-empty h2 {
    margin-bottom: 10px;
    font-family: var(--heading-font-family);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    color: var(--secondary-color);
}

.blog-empty p {
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.65;
}

.blog-empty .blog-btn {
    justify-content: center;
    min-height: 48px;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}

.blog-pagination a,
.blog-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.blog-pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-pagination .is-current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.blog-pagination .is-disabled {
    opacity: .45;
}

/* Post page -------------------------------------------------------------- */
.post-hero .inner-hero-title {
    max-width: 900px;
}

.blog-show .page-topbar-title {
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.2;
}

.blog-show .page-lead {
    padding: 20px 0 32px;
}

.blog-show .page-lead-text {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
}

.post-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 600;
}

.post-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;
    background: rgba(255, 255, 255, .07);
}

.post-meta i {
    color: #60a5fa;
}

.page-lead .post-meta {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-lead .post-meta li {
    min-width: 0;
}

.page-lead .post-meta a {
    color: inherit;
    text-decoration: none;
}

.page-lead .post-meta a:hover,
.page-lead .post-meta a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body {
    border-top: 1px solid #edf1f6;
    background: #fff;
}

.post-layout {
    max-width: 760px;
    margin: 0 auto;
}

.post-layout.has-toc {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: center;
    align-items: start;
    gap: clamp(36px, 6vw, 88px);
}

.post-toc {
    position: sticky;
    top: 28px;
    padding: 2px 0 2px 20px;
    border-left: 1px solid #dbe3ef;
}

.post-toc-title {
    margin-bottom: 16px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.post-toc ol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}

.post-toc li {
    min-width: 0;
    padding-left: 3px;
    color: #94a3b8;
    overflow-wrap: anywhere;
}

.post-toc a {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    text-decoration: none;
}

.post-toc a:hover,
.post-toc a:focus-visible {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.post-figure {
    margin: 0 0 36px;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f5f9;
}

.post-figure img {
    display: block;
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-prose {
    max-width: 70ch;
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.post-prose h2 {
    scroll-margin-top: 32px;
    margin: 48px 0 16px;
    color: #0f172a;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.3;
}

.post-prose h3 {
    margin: 32px 0 12px;
    color: #172554;
    font-size: 21px;
    line-height: 1.4;
}

.post-prose h4 {
    margin: 24px 0 10px;
    color: #172554;
    font-size: 18px;
    line-height: 1.4;
}

.post-prose p {
    margin-bottom: 20px;
}

.post-prose ul,
.post-prose ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.post-prose ul {
    list-style: disc;
}

.post-prose ol {
    list-style: decimal;
}

.post-prose li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.post-prose a {
    color: #0759c7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-prose a:hover,
.post-prose a:focus-visible {
    color: #003e91;
}

.post-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 14px;
}

.post-prose blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 18px;
    border-left: 2px solid #93c5fd;
    color: #475569;
    font-style: italic;
}

.post-prose pre {
    max-width: 100%;
    margin: 22px 0;
    padding: 16px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.65;
}

.post-prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: .9em;
}

.post-prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.post-prose table {
    display: block;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.post-prose th,
.post-prose td {
    min-width: 120px;
    padding: 11px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.post-prose th {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.post-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e8edf3;
}

.post-tags li {
    padding: 5px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e8edf3;
}

.author-box>div {
    min-width: 0;
}

.author-initials {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    font-family: var(--heading-font-family);
    font-size: 19px;
    font-weight: 800;
}

.author-label {
    margin-bottom: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.author-name {
    color: #0f172a;
    font-family: var(--heading-font-family);
    font-size: 16px;
    font-weight: 800;
}

.author-bio {
    color: #64748b;
    font-size: 13px;
}

.blog-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.blog-related-head .eyebrow {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.blog-related-head h2 {
    font-family: var(--heading-font-family);
    font-size: clamp(24px, 2.4vw, 32px);
    color: var(--secondary-color);
}

.blog-related-head h2 span {
    color: var(--primary-color);
}

.blog-all-link {
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

/* CTA -------------------------------------------------------------------- */
.blog-cta {
    padding: 0 0 70px;
    background: #f8fafc;
}

.blog-related+.blog-cta {
    background: #eef4ff;
}

.blog-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 22px;
    background: linear-gradient(141deg, #0066ff 0%, #0b1528 60%, #00398f 100%);
    color: #fff;
}

.blog-cta-inner h2 {
    font-family: var(--heading-font-family);
    font-size: clamp(21px, 2.2vw, 28px);
    margin-bottom: 6px;
}

.blog-cta-inner p {
    color: rgba(255, 255, 255, .8);
}

.blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-cta .blog-btn:not(.is-ghost) {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

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

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

    .post-toc {
        position: static;
        padding: 18px 20px;
        border: 1px solid #e8edf3;
        border-radius: 14px;
        background: #f8fafc;
    }

    .post-toc ol {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .blog-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .page-topbar-title {
        font-size: 20px;
    }

    .blog-index .page-topbar,
    .page.blog-category .page-topbar {
        min-height: 104px;
        padding: 16px 0;
    }

    .blog-index .page-topbar-title,
    .page.blog-category .page-topbar-title {
        font-size: 34px;
    }

    .blog-show .page-topbar {
        min-height: 0;
        padding: 20px 0;
    }

    .blog-show .page-topbar-title {
        font-size: 21px;
    }

    .page-lead {
        padding: 0 0 18px;
    }

    .blog-section {
        padding: 36px 0;
    }

    .blog-chip-row {
        gap: 8px;
        margin-top: 18px;
    }

    .blog-chip {
        min-height: 38px;
        padding: 7px 14px;
        font-size: 12px;
    }

    .blog-featured {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 16px;
    }

    .blog-featured-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .blog-featured-content {
        gap: 12px;
        padding: 22px;
    }

    .blog-featured-content h2 {
        font-size: 24px;
    }

    .blog-grid {
        gap: 18px;
    }

    .blog-card {
        border-radius: 16px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-content h3 {
        font-size: 19px;
    }

    .blog-empty {
        padding: 38px 22px;
        border-radius: 20px;
    }

    .blog-empty i {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
        border-radius: 18px;
        font-size: 28px;
    }

    .blog-empty p {
        font-size: 14px;
    }

    .blog-show .page-lead {
        padding: 16px 0 22px;
    }

    .blog-show .page-lead-text {
        font-size: 15px;
    }

    .post-meta {
        justify-content: flex-start;
        gap: 7px;
        margin-top: 16px;
        font-size: 12px;
    }

    .post-meta li {
        min-height: 34px;
        padding: 6px 10px;
    }

    .post-body {
        padding: 30px 0 44px;
    }

    .post-layout.has-toc {
        gap: 24px;
    }

    .post-toc {
        padding: 16px;
    }

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

    .post-article.content-card {
        padding: 0;
    }

    .post-figure {
        margin-bottom: 26px;
        border-radius: 14px;
    }

    .post-figure img {
        max-height: 320px;
    }

    .post-prose {
        font-size: 15px;
        line-height: 1.75;
    }

    .post-prose h2 {
        margin-top: 32px;
        font-size: 23px;
    }

    .post-prose h3 {
        margin-top: 22px;
        font-size: 18px;
    }

    .post-prose blockquote {
        padding: 14px 16px;
    }

    .post-prose pre {
        padding: 14px;
    }

    .author-box {
        align-items: flex-start;
        padding: 16px;
    }

    .author-initials {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 20px;
    }

    .blog-related-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .blog-all-link {
        white-space: normal;
    }

    .blog-cta {
        padding-bottom: 44px;
    }

    .blog-cta-inner {
        gap: 20px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .blog-cta-actions {
        width: 100%;
    }

    .blog-cta-actions .blog-btn {
        justify-content: center;
        flex: 1 1 180px;
    }

    .blog-pagination {
        gap: 6px;
        margin-top: 32px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-topbar {
        min-height: 64px;
        padding: 10px 0;
    }

    .page-topbar-row {
        gap: 10px;
    }

    .page-topbar-title {
        font-size: 17px;
    }

    .blog-index .page-topbar,
    .page.blog-category .page-topbar {
        min-height: 92px;
    }

    .blog-index .page-topbar-title,
    .page.blog-category .page-topbar-title {
        font-size: 30px;
    }

    .blog-show .page-topbar-title {
        font-size: 19px;
    }

    .page-topbar-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .blog-chip-row {
        justify-content: flex-start;
    }

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

    .blog-featured-content {
        padding: 20px;
    }

    .blog-featured-content h2 {
        font-size: 21px;
    }

    .blog-meta-line {
        flex-wrap: wrap;
    }

    .blog-card-content {
        padding: 18px;
    }

    .post-meta li {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .post-prose h2 {
        font-size: 21px;
    }

    .post-prose h3 {
        font-size: 17px;
    }

    .post-tags {
        gap: 6px;
    }

    .post-tags li {
        font-size: 12px;
    }

    .blog-pagination {
        gap: 5px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 34px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .blog-card,
    .blog-card-image img,
    .blog-chip,
    .blog-btn {
        transition: none;
    }

    .blog-card:hover,
    .blog-card:focus-within {
        transform: none;
    }

    .blog-card:hover .blog-card-image img {
        transform: none;
    }
}