/* =========================================================
   BeeGoBox Blog + Article v4.0
   Fully scoped to blog and article pages
   ========================================================= */

.bb-blog-wrap,
.bb-blog-wrap *,
.bb-post-wrap,
.bb-post-wrap * {
    box-sizing: border-box;
}

.bb-blog-wrap,
.bb-post-wrap {
    --bb-orange: #ffa54f;
    --bb-orange-dark: #e9781d;
    --bb-orange-soft: #fff7ef;
    --bb-ink: #20242d;
    --bb-copy: #596579;
    --bb-muted: #94a0b2;
    --bb-line: #e7ebf0;
    --bb-soft: #f8fafc;
    --bb-white: #ffffff;
    --bb-shadow: 0 16px 44px rgba(20, 30, 50, .06);
    --bb-heading-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bb-reading-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    min-height: 100vh;
    padding: 126px 0 76px;
    overflow: visible !important;
    background: #ffffff !important;
    color: var(--bb-ink);
    font-family: var(--bb-heading-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.bb-blog-wrap > .container,
.bb-post-wrap > .container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.bb-blog-layout,
.bb-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
    overflow: visible;
}

.bb-blog-main,
.bb-post-main {
    min-width: 0;
    overflow: visible;
}

.bb-blog-sidebar,
.bb-post-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    height: max-content;
    min-width: 0;
}

/* BLOG PAGE */
.bb-blog-header {
    max-width: 760px;
    margin: 0 0 30px;
    padding: 0 0 27px;
    border-bottom: 1px solid var(--bb-line);
}

.bb-blog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    margin-bottom: 12px;
    padding: 0 12px;
    border: 1px solid rgba(255, 165, 79, .38);
    border-radius: 999px;
    background: #fffaf5;
    color: var(--bb-orange-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(233, 120, 29, .07);
}

.bb-blog-kicker > span {
    font-size: 10px;
    line-height: 1;
}

.bb-blog-header h1 {
    margin: 0;
    color: var(--bb-ink);
    font-family: var(--bb-heading-font);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.bb-blog-header p {
    max-width: 650px;
    margin: 13px 0 0;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 14px;
    line-height: 1.75;
    text-align: left !important;
}

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

.bb-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bb-line);
    border-radius: 21px;
    background: var(--bb-white);
    box-shadow: 0 10px 30px rgba(20, 30, 50, .045);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.bb-blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 165, 79, .5);
    box-shadow: var(--bb-shadow);
}

.bb-blog-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    border-bottom: 1px solid #f0f2f5;
    background: #fffaf5;
}

.bb-blog-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .2s ease;
}

.bb-blog-card:hover .bb-blog-image img {
    transform: scale(1.012);
}

.bb-blog-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(233, 120, 29, .2);
    font-size: 22px;
    font-weight: 800;
}

.bb-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.bb-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.bb-blog-card-meta > span {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 9px;
    border-radius: 8px;
    background: var(--bb-orange-soft);
    color: var(--bb-orange-dark);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bb-blog-card-meta time {
    color: var(--bb-muted);
    font-family: var(--bb-reading-font);
    font-size: 10px;
    white-space: nowrap;
}

.bb-blog-title {
    display: block;
    color: var(--bb-ink);
    font-family: var(--bb-heading-font);
    font-size: 18px;
    font-weight: 680;
    line-height: 1.38;
    letter-spacing: -.025em;
    text-decoration: none;
}

.bb-blog-title:hover {
    color: var(--bb-orange-dark);
}

.bb-blog-card-body p {
    margin: 10px 0 0;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 12.5px;
    line-height: 1.7;
    text-align: left !important;
}

.bb-blog-read {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    padding-top: 17px;
    color: var(--bb-orange-dark);
    font-size: 10.5px;
    font-weight: 750;
    text-decoration: none;
}

.bb-blog-read span {
    transition: transform .18s ease;
}

.bb-blog-read:hover span {
    transform: translateX(3px);
}

/* ARTICLE HEADER */
.bb-post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin: 0 0 20px;
    padding: 0 13px 0 8px;
    border: 1px solid var(--bb-line);
    border-radius: 999px;
    background: #ffffff;
    color: #465268;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(20, 30, 50, .045);
    transition:
        color .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.bb-post-back-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bb-orange-soft);
    color: var(--bb-orange-dark);
    font-size: 12px;
    line-height: 1;
}

.bb-post-back:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 165, 79, .5);
    color: var(--bb-orange-dark);
    box-shadow: 0 10px 24px rgba(20, 30, 50, .065);
}

.bb-post-header {
    max-width: 820px;
    margin: 0 0 25px;
}

.bb-post-header h1 {
    max-width: 810px;
    margin: 0;
    color: var(--bb-ink);
    font-family: var(--bb-heading-font);
    font-size: clamp(34px, 4.15vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.046em;
}

.bb-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 10.5px;
    line-height: 1.5;
}

.bb-post-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bb-orange);
}

.bb-post-featured {
    margin: 0 0 26px;
    overflow: hidden;
    border: 1px solid var(--bb-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(20, 30, 50, .06);
}

.bb-post-featured img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.bb-post-article {
    max-width: 820px;
    margin: 0;
    padding: 40px 44px;
    overflow: visible;
    border: 1px solid var(--bb-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(20, 30, 50, .045);
}

.bb-article-body {
    max-width: 720px;
    margin: 0 auto;
    color: #465268;
    font-family: var(--bb-reading-font) !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.86 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
}

.bb-article-body > *:first-child {
    margin-top: 0 !important;
}

.bb-article-body > *:last-child {
    margin-bottom: 0 !important;
}

.bb-post-wrap .post-content p,
.bb-post-wrap .bb-article-body p {
    margin: 0 0 19px !important;
    color: #465268 !important;
    font-family: var(--bb-reading-font) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.86 !important;
    text-align: left !important;
    letter-spacing: 0 !important;
}

.bb-post-wrap .bb-article-body p:first-of-type {
    margin-bottom: 25px !important;
    padding: 0 0 0 17px;
    border-left: 3px solid var(--bb-orange);
    color: #283142 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.bb-article-body strong {
    color: var(--bb-ink);
    font-weight: 700;
}

.bb-post-wrap .bb-article-body h1,
.bb-post-wrap .bb-article-body h2,
.bb-post-wrap .bb-article-body h3,
.bb-post-wrap .bb-article-body h4,
.bb-post-wrap .bb-article-body h5,
.bb-post-wrap .bb-article-body h6 {
    color: var(--bb-ink) !important;
    font-family: var(--bb-heading-font) !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-wrap: balance;
}

.bb-post-wrap .bb-article-body h2 {
    position: relative;
    margin: 42px 0 15px !important;
    padding-top: 14px;
    font-size: clamp(23px, 2.7vw, 30px) !important;
    line-height: 1.26 !important;
    letter-spacing: -.035em !important;
}

.bb-post-wrap .bb-article-body h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 29px;
    height: 3px;
    border-radius: 999px;
    background: var(--bb-orange);
}

.bb-post-wrap .bb-article-body h3 {
    margin: 29px 0 11px !important;
    font-size: clamp(18px, 2vw, 22px) !important;
    line-height: 1.35 !important;
    letter-spacing: -.02em !important;
}

.bb-post-wrap .bb-article-body h4 {
    margin: 24px 0 9px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

.bb-article-body a {
    color: var(--bb-orange-dark);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bb-article-body a:hover {
    color: #bd5c17;
}

/* ARTICLE LISTS */
.bb-post-wrap .bb-article-body ul {
    display: grid !important;
    gap: 10px !important;
    margin: 18px 0 24px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.bb-post-wrap .bb-article-body ul > li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 0 0 24px !important;
    border: 0 !important;
    background: transparent !important;
    color: #465268 !important;
    font-family: var(--bb-reading-font) !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    list-style: none !important;
}

.bb-post-wrap .bb-article-body ul > li::before {
    content: "" !important;
    position: absolute;
    top: .66em;
    left: 2px;
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: var(--bb-orange-dark);
    box-shadow: 0 0 0 4px var(--bb-orange-soft);
}

.bb-post-wrap .bb-article-body ul > li::marker {
    content: "" !important;
}

.bb-post-wrap .bb-article-body ol {
    display: grid !important;
    gap: 11px !important;
    margin: 18px 0 25px !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: bb-steps;
}

.bb-post-wrap .bb-article-body ol > li {
    position: relative !important;
    min-height: 34px;
    margin: 0 !important;
    padding: 4px 0 4px 43px !important;
    color: #465268 !important;
    font-family: var(--bb-reading-font) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    list-style: none !important;
    counter-increment: bb-steps;
}

.bb-post-wrap .bb-article-body ol > li::before {
    content: counter(bb-steps) !important;
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: var(--bb-orange-soft);
    color: var(--bb-orange-dark);
    font-family: var(--bb-heading-font);
    font-size: 10px;
    font-weight: 800;
}

.bb-post-wrap .bb-article-body li[data-list="bullet"] {
    min-height: 0 !important;
    padding: 0 0 0 24px !important;
    counter-increment: none !important;
    list-style: none !important;
}

.bb-post-wrap .bb-article-body li[data-list="bullet"]::before {
    content: "" !important;
    position: absolute;
    top: .66em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bb-orange-dark);
    box-shadow: 0 0 0 4px var(--bb-orange-soft);
}

.bb-post-wrap .bb-article-body li[data-list="bullet"]::marker {
    content: "" !important;
}

.bb-article-body blockquote {
    margin: 27px 0;
    padding: 19px 22px;
    border: 0;
    border-left: 3px solid var(--bb-orange);
    border-radius: 0 14px 14px 0;
    background: #fffaf5;
    color: #566277;
    font-family: var(--bb-reading-font);
    font-size: 14px;
    font-style: normal;
    line-height: 1.78;
}

.bb-article-body blockquote p:last-child {
    margin-bottom: 0 !important;
}

.bb-article-body hr {
    height: 1px;
    margin: 33px 0;
    border: 0;
    background: var(--bb-line);
}

.bb-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 27px auto;
    border: 1px solid var(--bb-line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(20, 30, 50, .055);
    cursor: zoom-in;
}

.bb-article-body figure {
    margin: 27px 0;
}

.bb-article-body figcaption {
    margin-top: 9px;
    color: var(--bb-muted);
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.bb-article-body table {
    width: 100%;
    margin: 26px 0;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--bb-line);
    border-radius: 14px;
    font-family: var(--bb-reading-font);
    font-size: 12px;
}

.bb-article-body th,
.bb-article-body td {
    padding: 12px 13px;
    border-right: 1px solid var(--bb-line);
    border-bottom: 1px solid var(--bb-line);
    color: #465268;
    text-align: left;
    vertical-align: top;
}

.bb-article-body th {
    background: var(--bb-soft);
    color: var(--bb-ink);
    font-weight: 700;
}

.bb-article-body tr:last-child td {
    border-bottom: 0;
}

.bb-article-body th:last-child,
.bb-article-body td:last-child {
    border-right: 0;
}

/* ARTICLE CTA */
.bb-article-cta {
    max-width: 820px;
    margin: 24px 0 0;
    padding: 23px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(255, 165, 79, .3);
    border-radius: 19px;
    background: #fffaf5;
}

.bb-article-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 165, 79, .35);
    border-radius: 999px;
    background: #ffffff;
    color: var(--bb-orange-dark);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(233, 120, 29, .06);
}

.bb-article-cta-kicker > span {
    font-size: 9px;
    line-height: 1;
}

.bb-article-cta h2 {
    margin: 5px 0 0;
    color: var(--bb-ink);
    font-size: 18px;
    font-weight: 690;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.bb-article-cta p {
    margin: 5px 0 0;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 11px;
    line-height: 1.65;
}

.bb-article-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 47px;
    padding: 0 8px 0 19px;
    border: 1px solid rgba(219, 101, 17, .18);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bb-orange), var(--bb-orange-dark));
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(233, 120, 29, .22);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.bb-article-cta-arrow {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--bb-orange-dark);
    font-size: 13px;
    line-height: 1;
}

.bb-article-cta-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(233, 120, 29, .28);
}

/* EXISTING SIDEBAR PARTIAL */
.bb-blog-wrap .sb-gap,
.bb-post-wrap .sb-gap {
    gap: 15px;
}

.bb-blog-wrap .sb-widget,
.bb-post-wrap .sb-widget {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--bb-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(20, 30, 50, .04);
}

.bb-blog-wrap .sb-widget-title,
.bb-post-wrap .sb-widget-title {
    margin: 0 0 12px;
    color: var(--bb-ink);
    font-size: 12px;
    font-weight: 700;
}

.bb-blog-wrap .sb-search-input,
.bb-post-wrap .sb-search-input {
    height: 45px;
    padding: 0 41px 0 13px;
    border: 1px solid #dfe4ea;
    border-radius: 12px;
    background: #fbfcfd;
    color: var(--bb-ink);
    font: inherit;
    font-size: 10.5px;
}

.bb-blog-wrap .sb-search-input:focus,
.bb-post-wrap .sb-search-input:focus {
    border-color: rgba(255, 165, 79, .75);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 165, 79, .1);
}

.bb-blog-wrap .sb-search-btn,
.bb-post-wrap .sb-search-btn {
    right: 13px;
    color: var(--bb-orange-dark);
    font-size: 15px;
}

.bb-blog-wrap .sb-posts,
.bb-post-wrap .sb-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bb-blog-wrap .sb-posts li,
.bb-post-wrap .sb-posts li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bb-blog-wrap .sb-posts li + li,
.bb-post-wrap .sb-posts li + li {
    margin-top: 12px !important;
}

.bb-blog-wrap .sb-post-link,
.bb-post-wrap .sb-post-link {
    gap: 10px;
    align-items: flex-start;
}

.bb-blog-wrap .sb-post-thumb,
.bb-post-wrap .sb-post-thumb,
.bb-blog-wrap .sb-post-thumb-placeholder,
.bb-post-wrap .sb-post-thumb-placeholder {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    height: 47px !important;
    flex: 0 0 65px;
    border: 1px solid #eef1f4;
    border-radius: 9px;
    object-fit: contain !important;
    background: #fffaf5;
}

.bb-blog-wrap .sb-post-info,
.bb-post-wrap .sb-post-info {
    min-width: 0;
}

.bb-blog-wrap .sb-post-title,
.bb-post-wrap .sb-post-title {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    color: #3b4657;
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.43;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

.bb-blog-wrap .sb-post-date,
.bb-post-wrap .sb-post-date {
    margin-top: 3px;
    color: var(--bb-muted);
    font-size: 9px;
}

.bb-blog-wrap .sb-about-logo,
.bb-post-wrap .sb-about-logo {
    height: 43px;
    margin-bottom: 10px;
    object-fit: contain;
}

.bb-blog-wrap .sb-about-desc,
.bb-post-wrap .sb-about-desc {
    margin: 0;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 10.5px;
    line-height: 1.68;
    text-align: center !important;
}

.bb-blog-wrap .sb-about-link,
.bb-post-wrap .sb-about-link {
    margin-top: 10px;
    color: var(--bb-orange-dark);
    font-size: 10px;
    font-weight: 700;
}

/* PAGINATION */
.bb-blog-pagination {
    margin-top: 29px;
    text-align: center;
}

.bb-blog-pages {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bb-blog-pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid var(--bb-line);
    border-radius: 11px;
    background: #ffffff;
    color: var(--bb-copy);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.bb-blog-pages a:hover,
.bb-blog-pages a.active {
    border-color: var(--bb-orange-dark);
    background: var(--bb-orange-dark);
    color: #ffffff;
}

.bb-blog-pages a.disabled {
    pointer-events: none;
    opacity: .42;
}

/* LOADING / EMPTY */
.bb-blog-skeleton {
    min-height: 355px;
    overflow: hidden;
    border: 1px solid var(--bb-line);
    border-radius: 21px;
    background: #ffffff;
}

.bb-blog-skeleton::before {
    content: "";
    display: block;
    height: 195px;
    background: linear-gradient(
        90deg,
        #f3f5f7 25%,
        #fafbfc 50%,
        #f3f5f7 75%
    );
    background-size: 200% 100%;
    animation: bbBlogSkeleton 1.1s linear infinite;
}

.bb-blog-skeleton span {
    display: block;
    height: 12px;
    margin: 18px 20px 0;
    border-radius: 999px;
    background: #f0f2f5;
}

.bb-blog-skeleton span:nth-child(2) {
    width: 72%;
}

.bb-blog-skeleton span:nth-child(3) {
    width: 46%;
}

@keyframes bbBlogSkeleton {
    to {
        background-position: -200% 0;
    }
}

.bb-blog-empty {
    grid-column: 1 / -1;
    padding: 40px 22px;
    border: 1px solid var(--bb-line);
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    box-shadow: var(--bb-shadow);
}

.bb-blog-empty-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 11px;
    border-radius: 13px;
    background: var(--bb-orange-soft);
    color: var(--bb-orange-dark);
    font-size: 21px;
    font-weight: 800;
}

.bb-blog-empty h3 {
    margin: 0;
    color: var(--bb-ink);
    font-size: 18px;
    font-weight: 700;
}

.bb-blog-empty p {
    margin: 7px 0 0;
    color: var(--bb-copy);
    font-family: var(--bb-reading-font);
    font-size: 10.5px;
    line-height: 1.65;
}

/* READING PROGRESS */
.bb-reading-progress {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.bb-reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--bb-orange), var(--bb-orange-dark));
}

/* IMAGE MODAL */
.image-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    padding: 44px;
    background: rgba(9, 14, 26, .88);
    backdrop-filter: blur(7px);
}

.image-modal .modal-content {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    max-width: min(92vw, 1400px);
    max-height: 86vh;
    border-radius: 16px;
    transform: translate(-50%, -50%);
    transform-origin: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
    user-select: none;
}

.image-modal .close-modal {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bb-blog-layout,
    .bb-post-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .bb-blog-sidebar,
    .bb-post-sidebar {
        position: static;
        width: 100%;
        max-width: 720px;
        height: auto;
        margin-top: 36px;
    }

    .bb-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bb-blog-wrap,
    .bb-post-wrap {
        padding: 106px 0 50px;
        background: #ffffff !important;
    }

    .bb-blog-wrap > .container,
    .bb-post-wrap > .container {
        width: min(calc(100% - 30px), 1180px);
    }

    .bb-blog-header {
        margin-bottom: 23px;
        padding-bottom: 22px;
    }

    .bb-blog-kicker {
        min-height: 29px;
        margin-bottom: 10px;
        padding: 0 10px;
        font-size: 8px;
    }

    .bb-blog-header h1 {
        font-size: 31px;
        line-height: 1.1;
    }

    .bb-blog-header p {
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.7;
    }

    .bb-blog-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .bb-blog-card {
        border-radius: 19px;
    }

    .bb-blog-card-body {
        padding: 18px;
    }

    .bb-blog-title {
        font-size: 17px;
    }

    .bb-post-back {
        margin-bottom: 16px;
        font-size: 9.5px;
    }

    .bb-post-header {
        margin-bottom: 20px;
    }

    .bb-post-header h1 {
        font-size: clamp(29px, 8.6vw, 38px);
        line-height: 1.1;
    }

    .bb-post-meta {
        margin-top: 12px;
        font-size: 9.5px;
    }

    .bb-post-featured {
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .bb-post-article {
        padding: 25px 20px;
        border-radius: 19px;
    }

    .bb-article-body {
        font-size: 14px !important;
        line-height: 1.82 !important;
    }

    .bb-post-wrap .post-content p,
    .bb-post-wrap .bb-article-body p {
        font-size: 14px !important;
        line-height: 1.82 !important;
    }

    .bb-post-wrap .bb-article-body p:first-of-type {
        padding-left: 14px;
        font-size: 15px !important;
    }

    .bb-post-wrap .bb-article-body h2 {
        margin-top: 37px !important;
        font-size: 23px !important;
    }

    .bb-post-wrap .bb-article-body h3 {
        margin-top: 26px !important;
        font-size: 19px !important;
    }

    .bb-post-wrap .bb-article-body ul > li,
    .bb-post-wrap .bb-article-body ol > li,
    .bb-post-wrap .bb-article-body li[data-list="bullet"] {
        font-size: 14px !important;
    }

    .bb-article-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .bb-article-cta {
        display: block;
        margin-top: 19px;
        padding: 20px;
        border-radius: 17px;
    }

    .bb-article-cta h2 {
        font-size: 17px;
    }

    .bb-article-cta-button {
        width: 100%;
        margin-top: 16px;
        padding-left: 20px;
    }

    .bb-blog-sidebar,
    .bb-post-sidebar {
        margin-top: 28px;
    }

    .image-modal {
        padding: 18px;
    }

    .image-modal .modal-content {
        max-width: 92vw;
        max-height: 80vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bb-blog-card,
    .bb-blog-image img,
    .bb-blog-read span,
    .bb-article-cta-button {
        transition: none;
    }

    .bb-blog-skeleton::before {
        animation: none;
    }
}
