.blog-detail-page {
    background: linear-gradient(180deg, #f5f8fb 0%, #ffffff 45%);
}

.blog-detail-shell {
    padding: 42px 0 56px;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) 290px;
    gap: 28px;
    align-items: start;
}

.blog-article-card,
.blog-sidebar-card,
.blog-share-card {
    background: #ffffff;
    border: 1px solid #e3edf4;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.blog-article-card {
    overflow: hidden;
}

.blog-article-hero {
    position: relative;
    min-height: 420px;
    background: #d9e7f1;
}

.blog-article-hero img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.blog-article-hero__overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 26px 28px 22px;
    background: linear-gradient(180deg, rgba(6, 17, 29, 0) 0%, rgba(6, 17, 29, 0.82) 100%);
}

.blog-article-hero__meta,
.blog-article-title__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.blog-article-hero h1,
.blog-article-title h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.blog-article-title {
    padding: 28px 30px 10px;
    background: linear-gradient(135deg, #0f2b46 0%, #1c7da9 100%);
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #16a7db;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-chip--ghost {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.blog-article-body {
    padding: 24px 28px 30px;
}

.blog-rich-text {
    color: #000000;
    font-size: 1rem;
    line-height: 1.85;
}

.blog-rich-text p,
.blog-rich-text ul,
.blog-rich-text ol,
.blog-rich-text blockquote {
    margin: 0 0 18px;
    color: #000000;
}

.blog-rich-text h2,
.blog-rich-text h3,
.blog-rich-text h4 {
    margin: 30px 0 14px;
    color: #000000;
    font-weight: 800;
    line-height: 1.28;
}

.blog-rich-text h2 {
    padding-bottom: 12px;
    border-bottom: 2px solid #b9e6f6;
    font-size: 2rem;
}

.blog-rich-text h3 {
    font-size: 1.5rem;
}

.blog-rich-text h4 {
    font-size: 1.18rem;
}

.blog-rich-text a {
    color: #0996c8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-rich-text ul,
.blog-rich-text ol {
    padding-left: 22px;
}

.blog-rich-text li {
    margin-bottom: 10px;
}

.blog-rich-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.blog-rich-text table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.blog-rich-text table th,
.blog-rich-text table td {
    padding: 10px 12px;
    border: 1px solid #d7e5ee;
}

.blog-rich-text blockquote {
    padding: 18px 20px;
    border-left: 4px solid #16a7db;
    border-radius: 0 14px 14px 0;
    background: #f5fbfe;
    color: #1b364d;
}

.blog-secondary-content {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #deecf4;
}

.blog-section-heading {
    margin-bottom: 18px;
}

.blog-section-heading span {
    display: inline-block;
    margin-bottom: 6px;
    color: #0996c8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-section-heading h2 {
    margin: 0;
    color: #000000;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800;
    line-height: 1.18;
}

.blog-sidebar {
    display: grid;
    gap: 22px;
}

.blog-sidebar-card {
    padding: 16px;
}

.blog-sidebar-card__head {
    margin-bottom: 14px;
}

.blog-sidebar-card__head h3,
.blog-share-card h3 {
    margin: 0;
    color: #091a2c;
    font-size: 1.2rem;
    font-weight: 800;
}

.blog-related-list {
    display: grid;
    gap: 16px;
}

.blog-related-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e4edf4;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.blog-related-card__image {
    display: block;
}

.blog-related-card__image img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.blog-related-card__body {
    padding: 14px 16px 16px;
}

.blog-related-card__body h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.blog-related-card__body h4 a {
    color: #091a2c;
    text-decoration: none;
}

.blog-related-card__body p {
    margin: 0 0 10px;
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-related-card__link {
    color: #0996c8;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-share-card {
    padding: 18px 16px;
    background: linear-gradient(135deg, #17a5df 0%, #1596c9 100%);
    color: #ffffff;
}

.blog-share-card h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 1rem;
}

.blog-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-sidebar-card--compact {
    padding-bottom: 18px;
}

.blog-sidebar-links {
    display: grid;
    gap: 10px;
}

.blog-sidebar-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f5fafc;
    border: 1px solid #dceaf1;
    color: #113047;
    font-weight: 700;
    text-decoration: none;
}

.blog-faq-section {
    margin-top: 36px;
}

.blog-faq-list {
    display: grid;
    gap: 10px;
}

.blog-faq-item {
    overflow: hidden;
    border: 1px solid #d9e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.blog-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    background: #ffffff;
    color: #0a1f31;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.blog-faq-question.active {
    background: #f6fbfe;
}

.blog-faq-toggle {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #16a7db;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.blog-faq-answer {
    display: none;
    padding: 0 18px 18px;
    color: #425668;
    line-height: 1.8;
}

.blog-faq-answer.open {
    display: block;
}

.blog-faq-answer p:last-child,
.blog-faq-answer ul:last-child,
.blog-faq-answer ol:last-child {
    margin-bottom: 0;
    color: #000;
}

@media (max-width: 991px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    .blog-detail-shell {
        padding: 26px 0 40px;
    }

    .blog-article-hero,
    .blog-article-hero img {
        min-height: 280px;
        height: 280px;
    }

    .blog-article-hero__overlay,
    .blog-article-body,
    .blog-article-title {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-article-hero__overlay {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    .blog-article-hero h1, .blog-article-title h1{
        font-size: 1.4rem;
    }

    .blog-rich-text h2 {
        font-size: 1.55rem;
    }

    .blog-rich-text h3 {
        font-size: 1.28rem;
    }

    .blog-faq-question {
        font-size: 0.95rem;
    }
}
