.sb-blog-index {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, rgba(247, 247, 247, 0.95) 0%, #fff 42%), #f7f7f7;
}

.header-language-switcher .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #161e2d;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.header-language-switcher .dropdown-menu {
    min-width: 150px;
    border-radius: 8px;
    border-color: rgba(22, 30, 45, 0.1);
    box-shadow: 0 18px 48px rgba(22, 30, 45, 0.12);
}

@media (max-width: 991px) {
    .header-language-switcher {
        display: none;
    }
}

.sb-blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 38px;
    align-items: stretch;
    margin-bottom: 48px;
}

.sb-blog-hero__content {
    padding: 48px;
    border: 1px solid rgba(22, 30, 45, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 30, 45, 0.08);
}

.sb-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(22, 30, 45, 0.12);
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(21, 117, 84, 0.08);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.sb-blog-hero h1 {
    max-width: 760px;
    font-size: 52px;
    line-height: 1.08;
    margin-bottom: 18px;
}

.sb-blog-hero p {
    max-width: 660px;
    color: #5c6368;
    font-size: 18px;
    line-height: 30px;
}

.sb-blog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.sb-blog-link {
    color: #161e2d;
    font-family: var(--heading-font);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.sb-blog-link:hover {
    color: var(--primary-color);
}

.sb-blog-hero__media,
.sb-blog-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #e9ecef;
}

.sb-blog-hero__media img,
.sb-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sb-blog-hero__media {
    min-height: 420px;
    box-shadow: 0 24px 70px rgba(22, 30, 45, 0.12);
}

.sb-blog-hero__media:hover img,
.sb-blog-card:hover .sb-blog-card__image img {
    transform: scale(1.05);
}

.sb-blog-hero__media span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(22, 30, 45, 0.78);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
}

.sb-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 38px;
    align-items: start;
}

.sb-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.sb-blog-card {
    overflow: hidden;
    border: 1px solid rgba(22, 30, 45, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 46px rgba(22, 30, 45, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sb-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 30, 45, 0.18);
    box-shadow: 0 22px 60px rgba(22, 30, 45, 0.1);
}

.sb-blog-card__image {
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.sb-blog-card__body {
    padding: 26px;
}

.sb-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 14px;
    color: #5c6368;
    font-size: 13px;
    line-height: 20px;
}

.sb-blog-card__meta a {
    color: var(--primary-color);
    font-weight: 700;
}

.sb-blog-card h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.25;
}

.sb-blog-card p {
    color: #5c6368;
    font-size: 15px;
    line-height: 25px;
}

.sb-blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #161e2d;
    font-family: var(--heading-font);
    font-weight: 700;
}

.sb-blog-card__read:hover {
    color: var(--primary-color);
}

.sb-blog-sidebar {
    position: sticky;
    top: 100px;
    padding: 28px;
    border: 1px solid rgba(22, 30, 45, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 46px rgba(22, 30, 45, 0.06);
}

.sb-post-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #161e2d;
}

.sb-post-hero__bg {
    position: absolute;
    inset: 0;
}

.sb-post-hero__bg::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(13, 21, 34, 0.9), rgba(13, 21, 34, 0.58) 48%, rgba(13, 21, 34, 0.22));
}

.sb-post-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-post-hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 120px 0 72px;
    color: #fff;
}

.sb-post-hero__content .sb-blog-eyebrow {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
}

.sb-post-hero h1 {
    color: #fff;
    font-size: 56px;
    line-height: 1.08;
    margin-bottom: 18px;
}

.sb-post-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 31px;
}

.sb-post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
}

.sb-post-section {
    padding: 72px 0 90px;
    background: #fff;
}

.sb-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 330px;
    gap: 56px;
    align-items: start;
    justify-content: center;
}

.sb-post-article {
    min-width: 0;
}

.sb-post-content {
    padding-bottom: 28px;
}

.single-detail.ck-content.sb-post-content p:not([class]) {
    color: #323a46;
    font-size: 18px;
    line-height: 34px;
    margin-bottom: 22px;
}

.single-detail.ck-content.sb-post-content h2,
.single-detail.ck-content.sb-post-content h3,
.single-detail.ck-content.sb-post-content h4 {
    margin-top: 34px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.single-detail.ck-content.sb-post-content ul:not([class]),
.single-detail.ck-content.sb-post-content ol:not([class]) {
    margin: 18px 0 26px;
    padding-left: 24px;
}

.single-detail.ck-content.sb-post-content li:not([class]) {
    margin-bottom: 10px;
    line-height: 30px;
}

.single-detail.ck-content.sb-post-content a.tf-btn.primary {
    margin-top: 8px;
}

.sb-post-aside {
    position: sticky;
    top: 100px;
}

.sb-post-cta,
.sb-post-keywords {
    border: 1px solid rgba(22, 30, 45, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(22, 30, 45, 0.08);
}

.sb-post-cta {
    padding: 30px;
}

.sb-post-cta span,
.sb-post-keywords > span,
.sb-post-tags > span,
.sb-post-share > span {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sb-post-cta h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sb-post-cta p {
    color: #5c6368;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 22px;
}

.sb-post-cta .tf-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 14px;
}

.sb-post-cta .sb-blog-link {
    display: table;
    margin: 0 auto;
}

.sb-post-keywords {
    margin-top: 22px;
    padding: 24px;
}

.sb-post-keywords a {
    display: inline-flex;
    margin: 0 8px 10px 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #5c6368;
    font-size: 13px;
}

.sb-post-keywords a:hover {
    color: #fff;
    background: var(--primary-color);
}

.sb-post-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin: 34px 0 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(22, 30, 45, 0.1);
}

.sb-post-tags ul,
.sb-post-share ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1199px) {
    .sb-blog-hero,
    .sb-blog-layout,
    .sb-post-layout {
        grid-template-columns: 1fr;
    }

    .sb-blog-sidebar,
    .sb-post-aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .sb-blog-index {
        padding: 42px 0 60px;
    }

    .sb-blog-hero {
        gap: 20px;
        margin-bottom: 30px;
    }

    .sb-blog-hero__content {
        padding: 28px;
    }

    .sb-blog-hero h1,
    .sb-post-hero h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .sb-blog-hero p,
    .sb-post-hero p {
        font-size: 16px;
        line-height: 27px;
    }

    .sb-blog-hero__media {
        min-height: 260px;
    }

    .sb-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sb-blog-card__body {
        padding: 22px;
    }

    .sb-blog-card h2 {
        font-size: 22px;
    }

    .sb-post-hero {
        min-height: 460px;
    }

    .sb-post-hero__content {
        padding: 92px 0 48px;
    }

    .sb-post-section {
        padding: 46px 0 64px;
    }

    .single-detail.ck-content.sb-post-content p:not([class]) {
        font-size: 16px;
        line-height: 30px;
    }

    .sb-post-cta {
        padding: 24px;
    }
}
