.blog-detail-page {
    overflow: hidden;
    padding-bottom: 80px;
}

.article-header {
    background: #f5f8fc;
    padding: 64px 0 70px;
}

.article-header__container,
.article-featured-image {
    width: min(calc(100% - 48px), 1120px);
    margin-inline: auto;
}

.article-category {
    color: #1687d9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.article-title {
    color: #102342;
    font-size: clamp(42px, 4.3vw, 62px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
    max-width: 900px;
}

.article-meta {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin: 22px 0 0;
}

.article-intro {
    color: #53657d;
    font-size: 19px;
    line-height: 1.65;
    margin: 20px 0 0;
    max-width: 780px;
}

.article-featured-image {
    margin-block: 36px 0;
}

.article-featured-image img {
    aspect-ratio: 16 / 8.5;
    border-radius: 16px;
    display: block;
    max-height: 560px;
    object-fit: cover;
    width: 100%;
}

.article-content {
    margin: 52px auto 0;
    width: min(calc(100% - 48px), 820px);
}

.blog-content {
    color: #243b5a;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
}

.blog-content p {
    color: #243b5a;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    margin: 0 0 18px;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #102342;
    font-weight: 700;
}

.blog-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 32px 0 12px;
}

.blog-content h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 26px 0 10px;
}

.blog-content h4 {
    font-size: 19px;
    line-height: 1.4;
    margin: 24px 0 10px;
}

.blog-content ul,
.blog-content ol {
    margin: 8px 0 22px;
    padding-left: 26px;
}

.blog-content li {
    color: #243b5a;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 7px;
}

.blog-content li:last-child {
    margin-bottom: 0;
}

.blog-content ul li::marker {
    color: #1687d9;
}

.blog-content a {
    color: #087fce;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: #075f9e;
}

.blog-content img {
    border-radius: 12px;
    display: block;
    height: auto;
    margin: 28px auto;
    max-width: 100%;
}

.blog-content blockquote {
    background: #f4f9fd;
    border-left: 4px solid #1687d9;
    border-radius: 0 10px 10px 0;
    color: #34455d;
    margin: 32px 0;
    padding: 20px 24px;
}

.blog-content > :first-child {
    margin-top: 0;
}

.blog-content > :last-child {
    margin-bottom: 0;
}

.blog-content p:empty,
.blog-content p:has(> br:only-child) {
    display: none;
    margin: 0;
}

.blog-back-row {
    border-top: 1px solid #dbe5f0;
    margin-top: 32px;
    padding-top: 28px;
}

.blog-back-link {
    align-items: center;
    background: #fff;
    border: 1px solid #0b78c8;
    border-radius: 8px;
    color: #0b78c8;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.blog-back-link:hover {
    background: #0b78c8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-back-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(11, 120, 200, .16);
    outline: none;
}

@media (max-width: 768px) {
    .blog-detail-page {
        padding-bottom: 64px;
    }

    .article-header {
        padding: 44px 0 48px;
    }

    .article-header__container,
    .article-featured-image,
    .article-content {
        width: calc(100% - 36px);
    }

    .article-title {
        font-size: clamp(34px, 10vw, 44px);
        letter-spacing: 0;
        line-height: 1.1;
    }

    .article-intro {
        font-size: 17px;
    }

    .article-featured-image {
        margin-top: 26px;
    }

    .article-featured-image img {
        aspect-ratio: 16 / 10;
        border-radius: 12px;
    }

    .article-content {
        margin-top: 36px;
    }

    .blog-content,
    .blog-content p {
        font-size: 16px;
        line-height: 1.75;
    }

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

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

    .blog-content h4 {
        font-size: 18px;
    }

    .blog-content li {
        font-size: 16px;
    }
}
