@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap");

/* ══════════════════════════════════════════
   BASE FONT
   ══════════════════════════════════════════ */
.sb-article,
.sb-article *,
.sb-related-section,
.sb-related-section * {
    font-family: 'Nunito Sans', sans-serif;
}

/* ══════════════════════════════════════════
   ARTICLE CONTAINER
   ══════════════════════════════════════════ */
.sb-article {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 96px;
}

@media (max-width: 1024px) {
    .sb-article {
        padding-bottom: 50px;
    }
}

/* ══════════════════════════════════════════
   TOP BAR (Back + Share icons)
   ══════════════════════════════════════════ */
.sb-top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .sb-top-bar {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .sb-top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* ── Back link ── */
.sb-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sb-back-link:hover {
    color: #003876;
}

.sb-back-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.sb-back-link:hover .sb-back-icon {
    transform: translateX(-4px);
}

/* ── Share icons row ── */
.sb-share-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #111827;
}

.sb-share-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sb-share-link:hover {
    color: #003876;
}

/* ── Icon sizes ── */
.sb-icon-16 {
    width: 16px;
    height: 16px;
}

.sb-icon-18 {
    width: 18px;
    height: 18px;
}

.sb-icon-20 {
    width: 20px;
    height: 20px;
}

/* ══════════════════════════════════════════
   HEADER BLOCK (Read time, Title, Desc, Author)
   ══════════════════════════════════════════ */
.sb-header-block {
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .sb-header-block {
        margin-bottom: 40px;
    }
}

/* ── Read time label ── */
.sb-read-time {
    font-size: 11px;
    font-weight: 700;
    color: #677080;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

/* ── Main blog title (h1) ── */
.sb-title {
    margin-bottom: 24px;
    font-family: Nunito Sans;
    font-size: 56px;
    letter-spacing: -1.04px;
    color: #0B1631;
    width: 90%;

}

.sb-title span {
    font-family: Nunito Sans;
    background: linear-gradient(90deg, #60A5FA 0%, #3B82F6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: Bold;

}

@media (max-width: 1024px) {
    .sb-title {
        font-size: 36px;
    }
}

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


/* ── Title description ── */
.sb-title-desc {
    color: #677080;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .sb-title-desc {
        font-size: 14px;
    }
}

/* ── Author row ── */
.sb-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f3f4f6;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.sb-author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-author-name {
    font-weight: 700;
    color: #0B1631;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 2px;
}

.sb-author-date {
    color: #677080;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

/* ══════════════════════════════════════════
   HERO IMAGE
   ══════════════════════════════════════════ */
.sb-hero-image-wrap {
    width: 90%;
    aspect-ratio: 2.2 / 1;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #f3f4f6;
}

@media (max-width: 1024px) {
    .sb-hero-image-wrap {
        aspect-ratio: 16 / 9;
        border-radius: 24px;
    }

}

@media (max-width: 767px) {
    .sb-hero-image-wrap {
        width: 100%;
        aspect-ratio: 4 / 3;
        margin-bottom: 20px;
    }
}

.sb-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ══════════════════════════════════════════
   CONTENT WRAP (Summary + Blog Content)
   ══════════════════════════════════════════ */
.sb-content-wrap {
    max-width: 90%;
}

.sb-content-wrap .headline {
    margin-bottom: 16px;
    font-family: Nunito Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    color: #0B1631;
}


.sb-content-wrap>*+* {
    margin-top: 32px;
}

/* ── Blog summary ── */
.sb-summary {
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
}

.sb-summary>*+* {
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .sb-summary {
        font-size: 15px;
    }

    .sb-content-wrap .headline {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .sb-content-wrap .headline {
        font-size: 20px;
    }
}

.sb-summary div h3 {
    font-family: Nunito Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    color: #0B1631;
}

@media (max-width: 767px) {
    .sb-summary div h3 {
        font-size: 16px;
    }
}

.sb-summary div p {
    font-family: Nunito Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    letter-spacing: 0%;

    color: #677080;
}

@media (max-width: 767px) {
    .sb-summary div p {
        font-size: 14px;
    }
}


/* ── Blog detail content (the_content) ── */
/* .blog-detail-content {
    font-weight: 400;
}

.blog-detail-content>*+* {
    margin-top: 32px;
}

.blog-detail-content h2 {
    font-weight: 700;
}

.blog-detail-content h3 {
    font-weight: 700;
}

.blog-detail-content h4 {
    font-weight: 700;
}

.blog-detail-content p {
    font-weight: 400;
}

.blog-detail-content ul,
.blog-detail-content ol,
.blog-detail-content li {
    font-weight: 400;
}

.blog-detail-content strong,
.blog-detail-content b {
    font-weight: 700;
} */

/* ══════════════════════════════════════════
   RELATED BLOGS SECTION
   ══════════════════════════════════════════ */
.sb-related-section {
    width: 100%;
    padding-bottom: 96px;
    border-top: 1px solid #f3f4f6;
}

@media (max-width: 1024px) {
    .sb-related-section {
        padding-bottom: 64px;
    }
}

.sb-related-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 1024px) {
    .sb-related-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ── Section heading ── */
.sb-related-heading {
    font-size: 44px;
    font-weight: 400;
    color: #0B1631;
    margin-bottom: 40px;
    font-family: Nunito Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
}
@media (max-width: 767px) {
    .sb-related-heading {
    margin-bottom: 0px;
    }
}
.sb-related-heading span {
    background: linear-gradient(90deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: Nunito Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;

}


@media (max-width: 1024px) {
    .sb-related-heading {
        font-size: 30px;
    }

    .sb-related-heading span {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .sb-related-heading {
        font-size: 20px;
    }

    .sb-related-heading span {
        font-size: 20px;
    }
}

/* ── Related blogs grid ── */
.sb-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .sb-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .sb-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Card hidden state ── */
.sb-card-hidden {
    display: none;
}

/* ── Related blog card ── */
.related-blog-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* ── Card image ── */
.sb-card-image-wrap {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.sb-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-blog-card:hover .sb-card-image {
    transform: scale(1.05);
}

/* ── Card read time ── */
.sb-card-read-time {
    font-size: 14px;
    font-weight: 600;
    color: #677080;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* ── Card title ── */
.sb-card-title {
    font-family: Nunito Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    color: #0B1631;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

@media (max-width: 1024px) {
    .sb-card-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .sb-card-title {
        font-size: 16px;
    }
}

.related-blog-card:hover .sb-card-title {
    color: #1e40af;
}

/* ── Card description ── */
.sb-card-desc {
    font-family: Nunito Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #677080;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .sb-card-desc {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .sb-card-desc {
        font-size: 14px;
    }
}

/* ── Card "Read more" link ── */
.sb-card-readmore {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Nunito Sans;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    color: #0B1631;
    transition: color 0.2s ease;
}

.related-blog-card:hover .sb-card-readmore {
    color: #003876;
}

.sb-card-readmore-icon {
    width: 14px;
    height: 14px;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.related-blog-card:hover .sb-card-readmore-icon {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════
   VIEW MORE BUTTON
   ══════════════════════════════════════════ */
.sb-view-more-wrap {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

.sb-view-more-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
}

.sb-view-more-btn:hover {
    color: #003876;
}

.sb-view-more-icon {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transform: translateY(0);
    transition: transform 0.2s ease, color 0.2s ease;
}

.sb-view-more-btn:hover .sb-view-more-icon {
    color: #003876;
    transform: translateY(4px);
}