/* =========================================================
   BAILEYS FURNITURE — BLOG HUB
========================================================= */
.bf-blog-page {
    --bf-black: #171717;
    --bf-black-soft: #242424;
    --bf-gold: #C9A84C;
    --bf-gold-dark: #A98232;
    --bf-cream: #F8F6F1;
    --bf-cream-dark: #EFEAE1;
    --bf-white: #FFFFFF;
    --bf-text: #2A2723;
    --bf-muted: #716C65;
    --bf-border: #E7E1D8;
    --bf-shadow: 0 22px 65px rgba(23, 23, 23, .09);
    --bf-shadow-soft: 0 12px 34px rgba(23, 23, 23, .065);
    --bf-radius: 15px;
    --bf-container: 1180px;

    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 0%, rgba(201, 168, 76, .08), transparent 26%),
        linear-gradient(180deg, #FFFFFF 0%, #FBFAF8 48%, #F6F2EB 100%);

    color: var(--bf-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

.elementor-widget-shortcode .bf-blog-page {
    width: 100vw !important;
    max-width: 100vw !important;
}

.bf-blog-page,
.bf-blog-page *,
.bf-blog-page *::before,
.bf-blog-page *::after {
    box-sizing: border-box;
}

.bf-blog-page a {
    text-decoration: none;
}

.bf-blog-page img {
    max-width: 100%;
}

/* =========================================================
   HERO
========================================================= */
.bf-blog-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 78px;
    overflow: hidden;
    text-align: center;

    background:
        radial-gradient(circle at 82% 15%, rgba(201, 168, 76, .18), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(201, 168, 76, .08), transparent 30%),
        linear-gradient(135deg, #0E0E0E 0%, #1B1B1B 55%, #242424 100%);
}

.bf-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .14;

    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);

    background-size: 42px 42px;
}

.bf-blog-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -220px;
    z-index: -1;
    width: 490px;
    height: 490px;
    border: 1px solid rgba(201, 168, 76, .22);
    border-radius: 50%;

    box-shadow:
        0 0 0 42px rgba(201, 168, 76, .035),
        0 0 0 84px rgba(201, 168, 76, .02);
}

.bf-blog-container {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 980px);
    margin: 0 auto;
}

.bf-blog-badge {
    margin-bottom: 22px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, .52);
    border-radius: 999px;
    background: rgba(201, 168, 76, .10);
    color: var(--bf-gold);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.65px;
    line-height: 1.2;
    text-transform: uppercase;
}

.bf-blog-hero h1 {
    max-width: 940px;
    margin: 0 auto;
    color: var(--bf-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5.4vw, 68px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.04;
    text-wrap: balance;
}

.bf-blog-hero h1 span {
    color: var(--bf-gold);
}

.bf-blog-hero > .bf-blog-container > p {
    max-width: 760px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .70);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   SEARCH & FILTER
========================================================= */
.bf-blog-search {
    width: 100%;
    max-width: 980px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) minmax(235px, .78fr) 165px auto;
    gap: 12px;
    align-items: stretch;
}

.bf-blog-search-field,
.bf-blog-select-field {
    position: relative;
    min-width: 0;
}

.bf-blog-search-icon {
    position: absolute;
    top: 50%;
    left: 19px;
    z-index: 2;
    margin: 0;
    transform: translateY(-50%);
    color: var(--bf-gold);
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

.bf-blog-search input,
.bf-blog-search select,
.bf-blog-search button,
.bf-blog-reset {
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
}

.bf-blog-search input,
.bf-blog-search select {
    border: 1px solid rgba(201, 168, 76, .48) !important;
    outline: 0 !important;
    background-color: rgba(255, 255, 255, .075) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF;
    box-shadow: none !important;
    font-size: 11px !important;
    line-height: 1.3;
}

.bf-blog-search input {
    padding: 12px 20px 12px 50px !important;
}

.bf-blog-search input::placeholder {
    color: rgba(255, 255, 255, .56) !important;
    opacity: 1;
    -webkit-text-fill-color: rgba(255, 255, 255, .56);
}

.bf-blog-search input::-webkit-search-cancel-button {
    filter: invert(1);
    opacity: .62;
}

.bf-blog-search select {
    z-index: 1;
    padding: 12px 48px 12px 20px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.bf-blog-select-field::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 21px;
    z-index: 3;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--bf-gold);
    border-bottom: 2px solid var(--bf-gold);
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}

.bf-blog-search select option {
    background: #FFFFFF !important;
    color: #171717 !important;
    -webkit-text-fill-color: #171717;
    font-size: 13px;
}

.bf-blog-search input:-webkit-autofill,
.bf-blog-search input:-webkit-autofill:hover,
.bf-blog-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0 1000px #292929 inset !important;
    caret-color: #FFFFFF;
    transition: background-color 9999s ease-out 0s;
}

.bf-blog-search input:focus,
.bf-blog-search select:focus {
    border-color: var(--bf-gold) !important;
    background-color: rgba(255, 255, 255, .11) !important;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, .10) !important;
}

.bf-blog-search button,
.bf-blog-reset {
    min-width: 0;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bf-gold) !important;
    background: var(--bf-gold) !important;
    color: var(--bf-black) !important;
    cursor: pointer;
    font-size: 9.5px;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bf-blog-search button:hover,
.bf-blog-reset:hover {
    background: var(--bf-white) !important;
    color: var(--bf-black) !important;
    transform: translateY(-1px);
}

.bf-blog-reset {
    border-color: rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .07) !important;
    color: var(--bf-white) !important;
}

/* =========================================================
   MAIN
========================================================= */
.bf-blog-main {
    width: min(100% - 40px, var(--bf-container));
    margin: 0 auto;
    padding: 64px 0 84px;
}

.bf-blog-intro {
    max-width: 790px;
    margin: 0 auto 37px;
    text-align: center;
}

.bf-blog-eyebrow {
    margin: 0 0 7px;
    color: var(--bf-gold-dark);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.bf-blog-intro h2,
.bf-blog-section-heading h2,
.bf-blog-editorial-note h2 {
    margin: 0;
    color: var(--bf-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3.4vw, 42px);
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.18;
}

.bf-blog-intro > p:last-child,
.bf-blog-section-heading > div > p:last-child {
    margin: 13px auto 0;
    color: var(--bf-muted);
    font-size: 12px;
    line-height: 1.75;
}

/* =========================================================
   TOPIC NAV
========================================================= */
.bf-blog-topic-nav {
    margin-bottom: 56px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
}

.bf-blog-topic-nav > a {
    min-width: 0;
    min-height: 190px;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--bf-border);
    border-radius: 13px;
    background: linear-gradient(145deg, #FFFFFF, #FBF9F5);
    text-align: center;
    box-shadow: var(--bf-shadow-soft);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.bf-blog-topic-nav > a:hover,
.bf-blog-topic-nav > a.active {
    border-color: var(--bf-gold);
    box-shadow: var(--bf-shadow);
    transform: translateY(-4px);
}

.bf-blog-topic-nav .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 168, 76, .42);
    border-radius: 50%;
    background: var(--bf-black);
    color: var(--bf-gold);
    font-size: 19px;
}

.bf-blog-topic-nav strong {
    color: var(--bf-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.35;
}

.bf-blog-topic-nav small {
    margin-top: 7px;
    color: var(--bf-muted);
    font-size: 9px;
    line-height: 1.55;
}

/* =========================================================
   SECTIONS
========================================================= */
.bf-blog-section {
    margin-bottom: 68px;
}

.bf-blog-section:last-of-type {
    margin-bottom: 0;
}

.bf-blog-section-heading {
    margin-bottom: 23px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.bf-blog-section-heading > div {
    max-width: 760px;
}

.bf-blog-section-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bf-blog-section-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border: 1px solid rgba(201, 168, 76, .45);
    border-radius: 50%;
    background: linear-gradient(145deg, #FFFFFF, var(--bf-cream));
    color: var(--bf-gold-dark);
    box-shadow: 0 8px 20px rgba(23, 23, 23, .075);
    font-size: 21px;
}

.bf-blog-view-topic {
    min-height: 39px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border: 1px solid rgba(201, 168, 76, .42);
    border-radius: 999px;
    background: rgba(201, 168, 76, .08);
    color: var(--bf-black);
    font-size: 8.5px;
    font-weight: 850;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bf-blog-view-topic:hover {
    background: var(--bf-black);
    color: var(--bf-gold);
    transform: translateY(-1px);
}

/* =========================================================
   ARTICLE CARDS
========================================================= */
.bf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.bf-blog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bf-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--bf-shadow-soft);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.bf-blog-card:hover {
    border-color: rgba(201, 168, 76, .70);
    box-shadow: var(--bf-shadow);
    transform: translateY(-4px);
}

.bf-blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bf-cream);
}

.bf-blog-card-image {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.bf-blog-card:hover .bf-blog-card-image {
    transform: scale(1.035);
}

.bf-blog-image-fallback {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: grid;
    place-content: center;
    justify-items: center;

    background:
        radial-gradient(circle at 75% 20%, rgba(201, 168, 76, .22), transparent 28%),
        linear-gradient(145deg, #1C1C1C, #0F0F0F);

    color: var(--bf-gold);
}

.bf-blog-image-fallback > span {
    font-size: 42px;
}

.bf-blog-image-fallback small {
    margin-top: 7px;
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.bf-blog-card-body {
    padding: 20px 20px 22px;
}

.bf-blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--bf-muted);
    font-size: 8px;
    font-weight: 700;
}

.bf-blog-topic-chip {
    padding: 5px 9px;
    border: 1px solid rgba(201, 168, 76, .28);
    border-radius: 999px;
    background: rgba(201, 168, 76, .09);
    color: var(--bf-gold-dark);
    font-size: 7.5px;
    font-weight: 850;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.bf-blog-card-title {
    margin: 13px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.3;
}

.bf-blog-card-title a {
    color: var(--bf-black);
}

.bf-blog-card-title a:hover {
    color: var(--bf-gold-dark);
}

.bf-blog-card-excerpt {
    margin: 11px 0 0;
    color: var(--bf-muted);
    font-size: 10.5px;
    line-height: 1.7;
}

.bf-blog-read-link {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bf-black);
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .25px;
}

.bf-blog-read-link:hover {
    color: var(--bf-gold-dark);
}

/* =========================================================
   LATEST LAYOUT
========================================================= */
.bf-blog-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 17px;
    align-items: stretch;
}

.bf-blog-card-featured {
    height: 100%;
}

.bf-blog-card-featured .bf-blog-card-media {
    aspect-ratio: 16 / 9;
}

.bf-blog-card-featured .bf-blog-card-title {
    font-size: clamp(27px, 3vw, 38px);
}

.bf-blog-card-featured .bf-blog-card-excerpt {
    font-size: 11.5px;
}

.bf-blog-latest-side {
    display: grid;
    gap: 12px;
}

.bf-blog-latest-side .bf-blog-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
}

.bf-blog-latest-side .bf-blog-card-media {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
}

.bf-blog-latest-side .bf-blog-card-body {
    padding: 15px;
}

.bf-blog-latest-side .bf-blog-card-title {
    margin-top: 9px;
    font-size: 16px;
}

.bf-blog-latest-side .bf-blog-card-excerpt {
    display: none;
}

.bf-blog-latest-side .bf-blog-read-link {
    margin-top: 10px;
}

/* =========================================================
   EMPTY TOPIC & SHOP LINK
========================================================= */
.bf-blog-empty-topic,
.bf-blog-no-results {
    padding: 34px 24px;
    border: 1px dashed rgba(201, 168, 76, .55);
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    text-align: center;
}

.bf-blog-empty-icon,
.bf-blog-no-results > span {
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bf-black);
    color: var(--bf-gold);
    font-size: 20px;
}

.bf-blog-empty-topic h3,
.bf-blog-no-results h3 {
    margin: 0;
    color: var(--bf-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.bf-blog-empty-topic p,
.bf-blog-no-results p {
    max-width: 610px;
    margin: 9px auto 0;
    color: var(--bf-muted);
    font-size: 10.5px;
    line-height: 1.65;
}

.bf-blog-empty-topic > a,
.bf-blog-no-results > a {
    min-height: 38px;
    margin-top: 15px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bf-gold);
    border-radius: 999px;
    background: var(--bf-gold);
    color: var(--bf-black);
    font-size: 8.5px;
    font-weight: 850;
}

.bf-blog-shop-link {
    margin-top: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid rgba(201, 168, 76, .25);
    border-radius: 10px;
    background: rgba(201, 168, 76, .065);
    color: var(--bf-muted);
    font-size: 9.5px;
}

.bf-blog-shop-link a {
    color: var(--bf-black);
    font-size: 8.5px;
    font-weight: 850;
}

.bf-blog-shop-link a:hover {
    color: var(--bf-gold-dark);
}

/* =========================================================
   PAGINATION
========================================================= */
.bf-blog-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.bf-blog-pagination .page-numbers {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bf-border);
    border-radius: 9px;
    background: var(--bf-white);
    color: var(--bf-black);
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(23, 23, 23, .045);
}

.bf-blog-pagination .page-numbers:hover,
.bf-blog-pagination .page-numbers.current {
    border-color: var(--bf-gold);
    background: var(--bf-black);
    color: var(--bf-gold);
}

/* =========================================================
   EDITORIAL NOTE
========================================================= */
.bf-blog-editorial-note {
    margin-top: 65px;
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    border: 1px solid rgba(201, 168, 76, .35);
    border-radius: var(--bf-radius);

    background:
        radial-gradient(circle at 100% 0%, rgba(201, 168, 76, .15), transparent 35%),
        linear-gradient(145deg, #1B1B1B, #111111);

    box-shadow: var(--bf-shadow);
}

.bf-blog-editorial-note h2 {
    color: var(--bf-white);
    font-size: clamp(25px, 3vw, 36px);
}

.bf-blog-editorial-note > div > p:last-child {
    max-width: 770px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    line-height: 1.7;
}

.bf-blog-editorial-note > a {
    min-height: 43px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bf-gold);
    border-radius: 999px;
    background: var(--bf-gold);
    color: var(--bf-black);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}

/* =========================================================
   FOOTER
========================================================= */
.bf-blog-footer {
    padding: 28px 20px;
    border-top: 1px solid rgba(201, 168, 76, .25);

    background:
        radial-gradient(circle at 50% 0%, rgba(201, 168, 76, .10), transparent 40%),
        var(--bf-black);

    text-align: center;
}

.bf-blog-footer p {
    margin: 0;
    color: rgba(255, 255, 255, .60);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .25px;
    line-height: 1.7;
}

.bf-blog-footer a {
    color: var(--bf-gold);
    font-weight: 800;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.bf-blog-page a:focus-visible,
.bf-blog-page button:focus-visible,
.bf-blog-page input:focus-visible,
.bf-blog-page select:focus-visible {
    outline: 2px solid var(--bf-gold);
    outline-offset: 3px;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1050px) {
    .bf-blog-hero {
        padding: 72px 0 64px;
    }

    .bf-blog-main {
        width: min(100% - 30px, var(--bf-container));
        padding: 52px 0 68px;
    }

    .bf-blog-topic-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bf-blog-topic-nav > a:nth-last-child(-n+2) {
        min-height: 165px;
    }

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

    .bf-blog-latest-layout {
        grid-template-columns: 1fr;
    }

    .bf-blog-latest-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bf-blog-latest-side .bf-blog-card {
        display: block;
    }

    .bf-blog-latest-side .bf-blog-card-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}


/* =========================================================
   COMPACT DESKTOP / TABLET SEARCH
========================================================= */
@media (min-width: 768px) and (max-width: 1050px) {
    .bf-blog-search {
        max-width: 820px;
        grid-template-columns: minmax(280px, 1fr) minmax(220px, .75fr) 155px;
    }

    .bf-blog-search .bf-blog-reset {
        grid-column: 1 / -1;
        width: max-content;
        min-width: 100px;
        justify-self: center;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    .bf-blog-hero {
        padding: 54px 0 48px;
    }

    .bf-blog-container {
        width: min(100% - 28px, 980px);
    }

    .bf-blog-badge {
        margin-bottom: 17px;
        padding: 8px 14px;
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .bf-blog-hero h1 {
        max-width: 620px;
        font-size: clamp(34px, 10.5vw, 48px);
        letter-spacing: -1.1px;
        line-height: 1.08;
    }

    .bf-blog-hero > .bf-blog-container > p {
        margin-top: 16px;
        font-size: 11.5px;
        line-height: 1.7;
    }

    .bf-blog-search {
        max-width: 620px;
        margin-top: 23px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bf-blog-search input,
    .bf-blog-search select,
    .bf-blog-search button,
    .bf-blog-reset {
        width: 100%;
        min-height: 50px;
    }

    .bf-blog-main {
        width: min(100% - 18px, var(--bf-container));
        padding: 36px 0 48px;
    }

    .bf-blog-intro {
        margin-bottom: 28px;
    }

    .bf-blog-intro h2,
    .bf-blog-section-heading h2 {
        font-size: 28px;
    }

    .bf-blog-intro > p:last-child,
    .bf-blog-section-heading > div > p:last-child {
        font-size: 10.5px;
    }

    .bf-blog-topic-nav {
        margin-bottom: 43px;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .bf-blog-topic-nav > a,
    .bf-blog-topic-nav > a:nth-last-child(-n+2) {
        min-height: 0;
        padding: 17px 15px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .bf-blog-topic-nav .icon {
        width: 44px;
        height: 44px;
        margin: 0;
        grid-row: 1 / span 2;
    }

    .bf-blog-topic-nav small {
        margin-top: 2px;
    }

    .bf-blog-section {
        margin-bottom: 48px;
    }

    .bf-blog-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .bf-blog-section-title-group {
        align-items: flex-start;
        gap: 11px;
    }

    .bf-blog-section-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 17px;
    }

    .bf-blog-view-topic {
        min-height: 35px;
    }

    .bf-blog-grid,
    .bf-blog-latest-side {
        grid-template-columns: 1fr;
    }

    .bf-blog-card-body {
        padding: 18px 17px 20px;
    }

    .bf-blog-card-title {
        font-size: 20px;
    }

    .bf-blog-card-featured .bf-blog-card-title {
        font-size: 26px;
    }

    .bf-blog-shop-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .bf-blog-editorial-note {
        margin-top: 48px;
        padding: 27px 20px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bf-blog-editorial-note > a {
        width: 100%;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 390px) {
    .bf-blog-container {
        width: min(100% - 20px, 980px);
    }

    .bf-blog-main {
        width: min(100% - 12px, var(--bf-container));
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .bf-blog-page *,
    .bf-blog-page *::before,
    .bf-blog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Elementor editor preview compatibility */
body.elementor-editor-active .bf-blog-page,
.elementor-editor-preview .bf-blog-page {
    min-height: 100px;
}
