.blog-detail-page {
    background: #f9f9ff;
    color: #151c27;
}

.blog-article-hero {
    padding: 3.25rem 0 2rem;
}

.blog-article-hero .container,
.blog-article-shell .container {
    max-width: 960px;
}

.blog-article-back {
    align-items: center;
    color: #064e3b;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.25rem;
    text-decoration: none;
}

.blog-article-back:hover,
.blog-article-back:focus {
    color: #78350f;
}

.blog-article-hero__eyebrow {
    color: #064e3b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-article-hero__title {
    color: #151c27;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.13;
}

.blog-article-hero__lead {
    color: #404944;
    font-size: 1.06rem;
    line-height: 1.8;
    max-width: 760px;
}

.blog-article-meta {
    align-items: center;
    color: #707974;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.55rem;
}

.blog-article-meta__dot {
    color: #bfc9c3;
}

.blog-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-topic-tags__item {
    background: #eef3f0;
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 999px;
    color: #064e3b;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.38rem 0.75rem;
    text-decoration: none;
}

.blog-topic-tags__item:hover,
.blog-topic-tags__item:focus {
    background: #e2ece6;
    color: #042f24;
}

.blog-article-shell {
    padding-bottom: 4rem;
}

.blog-article-main {
    background: #fff;
    border: 1px solid rgba(191, 201, 195, 0.45);
    border-radius: 16px;
    overflow: hidden;
}

.blog-article-main__image {
    aspect-ratio: 16 / 8;
    display: block;
    object-fit: cover;
    width: 100%;
}

.blog-article-main__content {
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.blog-article-content {
    color: #24303a;
    font-size: 1.03rem;
    line-height: 1.9;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: #151c27;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    margin-top: 2rem;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 1.05rem;
}

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

.blog-article-action-bar,
.blog-article-tools,
.blog-article-author,
.blog-article-cta {
    background: #fff;
    border: 1px solid rgba(191, 201, 195, 0.45);
    border-radius: 14px;
    margin-top: 1rem;
}

.blog-article-action-bar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.blog-article-action-bar h2,
.blog-article-tools__header h2 {
    color: #151c27;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
}

.blog-article-action-bar p {
    color: #707974;
    font-size: 0.9rem;
    line-height: 1.55;
}

.blog-article-action-bar__buttons {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.blog-article-action-bar__buttons .btn {
    min-height: 42px;
}

.blog-article-tools {
    padding: 1rem;
}

.blog-article-tools__header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.blog-article-share-link {
    background: transparent;
    border: 0;
    color: #064e3b;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0;
}

.blog-article-share-link:hover,
.blog-article-share-link:focus {
    color: #78350f;
}

.blog-article-links {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-article-links a {
    align-items: center;
    background: #f9f9ff;
    border: 1px solid rgba(191, 201, 195, 0.42);
    border-radius: 10px;
    color: #151c27;
    display: flex;
    font-size: 0.92rem;
    font-weight: 800;
    justify-content: space-between;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    text-decoration: none;
}

.blog-article-links a:hover,
.blog-article-links a:focus {
    background: #eef3f0;
    border-color: rgba(6, 78, 59, 0.22);
    color: #064e3b;
}

.blog-article-author {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
}

.blog-article-author__avatar {
    align-items: center;
    background: #eef3f0;
    border-radius: 999px;
    color: #064e3b;
    display: inline-flex;
    flex: 0 0 auto;
    height: 52px;
    justify-content: center;
    object-fit: cover;
    width: 52px;
}

.blog-article-author__avatar--placeholder {
    font-size: 1.25rem;
}

.blog-article-author__meta h3 {
    color: #151c27;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.blog-article-author__meta p {
    color: #707974;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.blog-detail-section {
    padding: 0 0 4rem;
}

.blog-detail-section__title {
    color: #151c27;
    font-weight: 800;
}

.blog-related-post-card {
    background: #fff;
    border: 1px solid rgba(191, 201, 195, 0.45);
    border-radius: 14px;
    height: 100%;
    overflow: hidden;
}

.blog-related-post-card__image {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.blog-related-post-card__body {
    padding: 1rem;
}

.blog-related-post-card__date {
    color: #707974;
    font-size: 0.82rem;
}

.blog-related-post-card h3 {
    color: #151c27;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.blog-related-post-card p {
    color: #404944;
    font-size: 0.92rem;
    line-height: 1.65;
}

.blog-article-cta {
    padding: 1.5rem;
}

@media (max-width: 991.98px) {
    .blog-article-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .blog-article-action-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-article-action-bar__buttons {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .blog-article-main__image {
        aspect-ratio: 4 / 3;
    }

    .blog-article-action-bar__buttons .btn,
    .blog-article-links {
        width: 100%;
    }

    .blog-article-action-bar__buttons {
        flex-direction: column;
    }

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

    .blog-article-author {
        align-items: flex-start;
    }
}
