.blog-page,
.blog-detail {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    color: #17233c;
}

.blog-intro {
    padding: clamp(64px, 10vw, 124px) 0 56px;
    text-align: center;
}

.blog-eyebrow {
    display: inline-block;
    color: #ff6b2b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.blog-intro h1,
.blog-detail-header h1 {
    max-width: 820px;
    margin: 15px auto;
    color: #173c8d;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.12;
}

.blog-intro > p {
    max-width: 620px;
    margin: 0 auto;
    color: #68758a;
    font-size: 17px;
    line-height: 1.7;
}

.blog-listing {
    padding-bottom: 90px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #e6eaf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(23 60 141 / 6%);
}

.blog-card-image {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #eaf0fb;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    color: #173c8d;
    font-size: 48px;
    font-weight: 700;
}

.blog-card-placeholder span {
    color: #ff6b2b;
    font-size: 13px;
    letter-spacing: .2em;
    text-align: center;
}

.blog-card-body {
    padding: 23px 24px 25px;
}

.blog-card-body time,
.blog-detail-header time {
    color: #778398;
    font-size: 13px;
}

.blog-card-body h2 {
    margin: 12px 0 10px;
    color: #173c8d;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-body p {
    min-height: 72px;
    margin: 0 0 20px;
    color: #68758a;
    font-size: 14px;
    line-height: 1.7;
}

.blog-read-more,
.blog-back-link {
    color: #173c8d;
    font-size: 14px;
    font-weight: 700;
}

.blog-read-more span {
    margin-left: 5px;
    color: #ff6b2b;
}

.blog-empty {
    padding: 70px 20px;
    border-radius: 16px;
    background: #f3f6fc;
    text-align: center;
}

.blog-empty h2 {
    margin: 0 0 10px;
    color: #173c8d;
}

.blog-empty p {
    margin: 0;
    color: #68758a;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.blog-pagination nav > div:first-child {
    display: none;
}

.blog-pagination nav > div:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination span[aria-current] span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f6fc;
    color: #173c8d;
}

.blog-pagination span[aria-current] span {
    background: #173c8d;
    color: #fff;
}

.blog-detail {
    max-width: 860px;
    padding: 54px 0 90px;
}

.blog-detail-header {
    text-align: center;
}

.blog-detail-header .blog-back-link {
    display: block;
    width: fit-content;
    margin: 0 auto 34px;
}

.blog-detail-header h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.blog-detail-excerpt {
    margin: 22px auto 0;
    color: #68758a;
    font-size: 18px;
    line-height: 1.75;
}

.blog-detail-cover {
    margin: 38px 0;
}

.blog-detail-cover img {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 16px;
    object-fit: cover;
}

.blog-detail-cover figcaption,
.blog-detail-gallery figcaption {
    margin-top: 8px;
    color: #778398;
    font-size: 13px;
    text-align: center;
}

.blog-detail-content {
    color: #27354b;
    font-size: 17px;
    line-height: 1.9;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-section h2,
.blog-detail-faqs h2 {
    color: #173c8d;
}

.blog-detail-gallery {
    display: grid;
    gap: 24px;
    margin: 34px 0;
}

.blog-detail-gallery figure {
    margin: 0;
}

.blog-detail-gallery img {
    display: block;
    width: 100%;
    max-height: 480px;
    border-radius: 14px;
    object-fit: cover;
}

.blog-detail-sections,
.blog-detail-faqs {
    margin-top: 44px;
}

.blog-detail-section {
    padding: 24px 0;
    border-top: 1px solid #e6eaf1;
}

.blog-detail-section h2,
.blog-detail-faqs h2 {
    font-size: 24px;
}

.blog-detail-faqs details {
    padding: 18px 0;
    border-bottom: 1px solid #e6eaf1;
}

.blog-detail-faqs summary {
    color: #173c8d;
    cursor: pointer;
    font-weight: 600;
}

.blog-detail-faqs details > div {
    padding-top: 12px;
    color: #68758a;
    line-height: 1.7;
}

.blog-bottom-link {
    display: inline-block;
    margin-top: 44px;
}

@media (max-width: 820px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .blog-card-image {
        height: 190px;
    }
}

@media (max-width: 560px) {
    .blog-page,
    .blog-detail {
        width: min(100% - 28px, 1120px);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 220px;
    }

    .blog-detail {
        padding-top: 34px;
    }
}
