/*
Theme Name: BlackMagicStories
Theme URI: https://blackmagicstories.com/
Author: BlackMagicStories
Description: A custom dark storytelling theme for paranormal, horror, and mysterious stories.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: blackmagicstories
*/

:root {
    --bms-bg: #0b0b0e;
    --bms-surface: #15151b;
    --bms-text: #f4f1f1;
    --bms-muted: #aaa6b0;
    --bms-accent: #c62838;
    --bms-border: #292831;
    --bms-container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bms-bg);
    color: var(--bms-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: min(var(--bms-container), calc(100% - 40px));
    margin-inline: auto;
}

.site-header, .site-footer { width: 100%; background: var(--bms-surface); }
.site-header { border-bottom: 1px solid var(--bms-border); }
.site-footer { border-top: 1px solid var(--bms-border); margin-top: 60px; }

.site-header .container, .site-footer .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-title { font-size: 24px; font-weight: 800; }
.site-title span { color: var(--bms-accent); }

.site-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-nav a:hover, .read-more { color: var(--bms-accent); }

main.container { min-height: 55vh; padding-top: 40px; }

.page-heading { margin: 0 0 12px; line-height: 1.2; }
.intro { color: var(--bms-muted); margin-bottom: 32px; }

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.story-card {
    background: var(--bms-surface);
    border: 1px solid var(--bms-border);
    border-radius: 12px;
    padding: 22px;
    overflow-wrap: anywhere;
}

.story-card h2 { margin-top: 0; font-size: 22px; line-height: 1.35; }
.story-card p { color: var(--bms-muted); }
.entry-content { max-width: 800px; }
.entry-content img { border-radius: 10px; }

input, button { font: inherit; }
a:focus-visible { outline: 2px solid var(--bms-accent); outline-offset: 4px; }

@media (max-width: 800px) {
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-header .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .story-grid { grid-template-columns: 1fr; }
    .container { width: calc(100% - 28px); }
    main.container { padding-top: 28px; }
}

/* BlackMagicStories responsive header and homepage */
.site-header {
    position: relative;
    z-index: 100;
    background: #111116;
    border-bottom: 1px solid #30232a;
}
.header-inner { min-height: 82px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.brand-name span { color: #e33b4d; }

.site-nav { align-items: center; gap: 19px; }
.site-nav > a,
.dropdown-toggle {
    color: #eeeaf0;
    font-size: 14px;
    font-weight: 600;
}
.site-nav > a:hover,
.dropdown-toggle:hover { color: #ff6876; }

.nav-dropdown { position: relative; }
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 235px;
    padding: 8px;
    background: #191920;
    border: 1px solid #37313b;
    border-radius: 10px;
    box-shadow: 0 16px 35px rgba(0,0,0,.35);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}
.dropdown-menu a:hover { background: #2b2028; color: #ff6876; }

.header-search {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid #39333e;
    border-radius: 9px;
    background: #0c0c10;
}
.header-search input {
    width: 135px;
    min-width: 0;
    padding: 6px;
    color: #fff;
    background: transparent;
    border: 0;
    outline: 0;
}
.header-search button {
    padding: 5px 9px;
    color: #fff;
    background: #c62838;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.main-content { padding-top: 42px; }
.hero {
    padding: clamp(28px, 6vw, 70px);
    margin-bottom: 48px;
    border: 1px solid #342630;
    border-radius: 18px;
    background: radial-gradient(ellipse at top right, #38202a 0%, #19151d 48%, #111116 100%);
}
.eyebrow {
    color: #ed5364;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.page-heading {
    max-width: 850px;
    font-size: clamp(30px, 5vw, 52px);
    letter-spacing: -1.2px;
}
.hero .intro { max-width: 680px; }
.hero-search {
    display: flex;
    gap: 10px;
    max-width: 580px;
}
.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    color: #fff;
    background: #0c0c10;
    border: 1px solid #49404b;
    border-radius: 8px;
}
.hero-search button {
    padding: 12px 20px;
    color: #fff;
    background: #c62838;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 30px; }
.story-card { transition: border-color .2s, transform .2s; }
.story-card:hover { border-color: #70404b; transform: translateY(-2px); }
.story-card h2, .story-card h3 { line-height: 1.35; }
.story-card h3 { font-size: 21px; }
.story-card h2 a:hover, .story-card h3 a:hover { color: #ff6876; }
.story-meta { color: #aaa6b0; font-size: 13px; }
.card-image img, .featured-image img { width: 100%; border-radius: 9px; }
.entry-content { max-width: 800px; margin: 25px auto; font-size: 18px; }
.single-story .page-heading { font-size: clamp(30px, 4vw, 44px); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-nav a:hover { color: #ff6876; }

@media (max-width: 1050px) {
    .site-header .container { gap: 14px; }
    .site-nav { gap: 12px; }
    .brand-name { font-size: 19px; }
    .header-search input { width: 105px; }
}
@media (max-width: 800px) {
    .site-header .container {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
.site-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 10px 0 14px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav > a, .dropdown-toggle { display: flex; padding: 11px 8px; }
    .nav-dropdown { width: 100%; }
    .dropdown-toggle { justify-content: space-between; width: 100%; }
    .dropdown-menu {
        position: static;
        min-width: 0;
        margin: 0 0 8px;
        box-shadow: none;
    }
    .header-search { width: 100%; }
    .header-search input { width: 100%; }
    .main-content { padding-top: 26px; }
}
@media (max-width: 520px) {
    .brand-name { font-size: 18px; }
.hero-search { flex-direction: column; }
    .hero-search button { width: 100%; }
}

/* Enhanced BlackMagicStories footer */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 1fr 1.1fr;
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 36px;
}
.footer-brand p,
.footer-social p {
    color: var(--bms-muted, #aaa);
    font-size: 14px;
    line-height: 1.8;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bms-text, #fff);
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
}
.footer-logo span {
    color: #ff4657;
    margin-right: 5px;
}
.footer-column h2 {
    margin: 0 0 16px;
    color: var(--bms-text, #fff);
    font-size: 15px;
    font-weight: 700;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin: 0 0 11px;
}
.footer-column a,
.back-to-top {
    color: var(--bms-muted, #aaa);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}
.footer-column a:hover,
.back-to-top:hover {
    color: #ff6876;
}
/* Footer company and policy descriptions */
.footer-link-description {
    margin: 8px 0 0;
    color: var(--bms-muted, #aaa);
    font-size: 12px;
    line-height: 1.7;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.footer-column li:has(.footer-link-description) {
    margin-bottom: 16px;
}

.footer-link-description a {
    font-size: inherit;
}

.footer-social-note {
    font-size: 12px !important;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid var(--bms-border, #333);
}
.footer-bottom p {
    margin: 0;
    color: var(--bms-muted, #aaa);
    font-size: 13px;
}
.back-to-top {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--bms-border, #444);
    border-radius: 6px;
}
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}
@media (max-width: 520px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 30px;
        padding-bottom: 26px;
    }
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Center-aligned homepage hero section */
.home .hero {
    text-align: left;
}

.home .hero .eyebrow,
.home .hero .page-heading,
.home .hero .intro {
    margin-left: auto;
    margin-right: auto;
}

.home .hero .page-heading {
    max-width: 1000px;
    text-align: center;
}

.home .hero .intro {
    max-width: 800px;
    text-align: center;
    line-height: 1.8;
}

.home .hero-search {
    margin-left: auto;
    margin-right: auto;
}



/* Center headings for homepage story sections */
.section-heading-centered {
    justify-content: center;
    text-align: center;
}
.section-heading-centered > div {
    width: 100%;
    text-align: center;
}

/* BlackMagicStories header logo */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header .brand-logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .site-header .brand-logo {
        width: 48px;
        height: 48px;
    }
}

/* Circular BlackMagicStories header logo */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header .brand-logo {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

@media (max-width: 600px) {
    .site-header .brand-logo {
        width: 46px;
        height: 46px;
    }
}

/* Slight zoom to reduce visible white margins around the logo */
.site-header .brand {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
}

.site-header .brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.18);
    border-radius: 50%;
}

@media (max-width: 600px) {
    .site-header .brand {
        width: 50px;
        height: 50px;
    }
}

/* Website name beside the circular header logo */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.site-header .brand-text {
    color: var(--bms-text, #f4f1f1);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.site-header .brand-text-accent {
    color: var(--bms-accent, #c62838);
}

@media (max-width: 600px) {
    .site-header .brand {
        gap: 7px;
    }

    .site-header .brand-text {
        font-size: 16px;
        letter-spacing: 0;
    }
}

/* Fix logo image and website name side by side */
.site-header a.brand {
    width: auto;
    height: auto;
    min-width: 0;
    overflow: visible;
    border-radius: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.site-header a.brand .brand-logo {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.18);
    border-radius: 50%;
}

.site-header a.brand .brand-text {
    display: inline-block;
    visibility: visible;
    opacity: 1;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .site-header a.brand .brand-logo {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .site-header a.brand .brand-text {
        font-size: 16px;
    }
}

/* Stronger zoom for image logo only */
.site-header a.brand .brand-logo {
    transform: scale(1.9);
    transform-origin: center;
}

/* Fix logo placeholder size; keep zoom inside a fixed circular area */
.site-header a.brand {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.site-header a.brand .brand-logo {
    display: block !important;
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    transform: scale(1.9) !important;
    transform-origin: center !important;
}

@media (max-width: 600px) {
    .site-header a.brand .brand-logo {
        flex-basis: 50px !important;
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
}

/* Final logo layout fix: compact logo area with moderate zoom */
.site-header a.brand {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.site-header a.brand .brand-logo {
    display: block !important;
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    transform: scale(1.5) !important;
    transform-origin: center !important;
}

.site-header a.brand .brand-text {
    display: inline-block !important;
    white-space: nowrap !important;
}

@media (max-width: 600px) {
    .site-header a.brand .brand-logo {
        flex-basis: 50px !important;
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .site-header a.brand .brand-text {
        font-size: 16px !important;
    }
}

/* Keep logo placeholder compact and prevent image overflow */
.site-header a.brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

.site-header a.brand .brand-logo {
    display: block !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    transform: scale(1.15) !important;
    transform-origin: center !important;
}

.site-header a.brand .brand-text {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

@media (max-width: 600px) {
    .site-header a.brand .brand-logo {
        flex-basis: 44px !important;
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }
}

/* Compact desktop navigation spacing without changing the logo */
@media (min-width: 801px) {
    .site-header .header-inner {
        gap: 16px !important;
    }

    .site-header .site-nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 14px !important;
        min-width: 0;
    }

    .site-header .header-search input {
        width: 130px;
        max-width: 130px;
    }
}

/* Keep mobile navigation behavior unchanged */
@media (max-width: 800px) {
    .site-header .site-nav {
        gap: 4px;
    }
}

/* Final compact desktop header height */
@media (min-width: 801px) {
    .site-header .container {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .site-header .header-inner {
        min-height: 0 !important;
    }

    .site-header .site-nav {
        align-items: center;
    }
}

/* Desktop header height correction */
@media (min-width: 801px) {
    .site-header .container.header-inner {
        min-height: 0 !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        align-items: center !important;
    }

    .site-header a.brand .brand-logo {
        flex-basis: 44px !important;
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .site-header .site-nav > a,
    .site-header .site-nav .dropdown-toggle {
        line-height: 1.2 !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .site-header .header-search {
        padding: 2px !important;
    }

    .site-header .header-search input {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .site-header .header-search button {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}

/* BMS_LATEST_STORIES_PAGINATION */
.latest-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0 12px;
}
.latest-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--bms-border);
    border-radius: 8px;
    color: var(--bms-text, inherit);
    text-decoration: none;
}
.latest-pagination a.page-numbers:hover,
.latest-pagination .page-numbers.current {
    background: var(--bms-accent);
    border-color: var(--bms-accent);
    color: #fff;
}
/* BMS_COMPACT_HOME_STORY_CARDS_V1 */
.latest-stories:not(.related-stories) .story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.latest-stories:not(.related-stories) .story-card {
    min-width: 0;
    padding: 12px;
    overflow: hidden;
}

.latest-stories:not(.related-stories) .story-card .card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 7px;
}

.latest-stories:not(.related-stories) .story-card h2,
.latest-stories:not(.related-stories) .story-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 7px;
}

.latest-stories:not(.related-stories) .story-card p {
    font-size: 14px;
    line-height: 1.5;
}

.latest-stories:not(.related-stories) .story-card .story-meta {
    font-size: 12px;
}

@media (max-width: 900px) {
    .latest-stories:not(.related-stories) .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .latest-stories:not(.related-stories) .story-card {
        padding: 9px;
    }

    .latest-stories:not(.related-stories) .story-card h2,
    .latest-stories:not(.related-stories) .story-card h3 {
        font-size: 15px;
    }

    .latest-stories:not(.related-stories) .story-card p {
        font-size: 13px;
    }
}
/* END BMS_COMPACT_HOME_STORY_CARDS_V1 */

/* BMS_COMPACT_HOME_STORY_CARDS_V2 */
body.home .latest-stories:not(.related-stories) .story-grid,
body.blog .latest-stories:not(.related-stories) .story-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
}

body.home .latest-stories:not(.related-stories) .story-card,
body.blog .latest-stories:not(.related-stories) .story-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

body.home .latest-stories:not(.related-stories) .story-card .card-image img,
body.blog .latest-stories:not(.related-stories) .story-card .card-image img {
    display: block !important;
    width: 100% !important;
    height: 160px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
}

body.home .latest-stories:not(.related-stories) .story-card h3,
body.blog .latest-stories:not(.related-stories) .story-card h3 {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin: 8px 0 !important;
}

body.home .latest-stories:not(.related-stories) .story-card p:not(.story-meta),
body.blog .latest-stories:not(.related-stories) .story-card p:not(.story-meta) {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

@media (max-width: 900px) {
    body.home .latest-stories:not(.related-stories) .story-grid,
    body.blog .latest-stories:not(.related-stories) .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    body.home .latest-stories:not(.related-stories) .story-card .card-image img,
    body.blog .latest-stories:not(.related-stories) .story-card .card-image img {
        height: 120px !important;
    }

    body.home .latest-stories:not(.related-stories) .story-card h3,
    body.blog .latest-stories:not(.related-stories) .story-card h3 {
        font-size: 14px !important;
    }
}
/* END BMS_COMPACT_HOME_STORY_CARDS_V2 */

/* BMS_MOBILE_ONE_POST_PER_ROW */
@media (max-width: 767px) {
    body.home .latest-stories:not(.related-stories) .story-grid,
    body.blog .latest-stories:not(.related-stories) .story-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
/* END BMS_MOBILE_ONE_POST_PER_ROW */



/* BMS_HERO_IMAGE_V1 */
.hero-image {
    max-width: 760px;
    margin: 28px 0 0;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border: 1px solid #342630;
    border-radius: 14px;
}

@media (max-width: 520px) {
    .hero-image {
        margin-top: 22px;
    }

    .hero-image img {
        max-height: 320px;
        border-radius: 10px;
    }
}


/* BMS_HERO_ALIGNMENT_V2 */
.home .hero {
    text-align: left;
}

.home .hero .eyebrow,
.home .hero .page-heading,
.home .hero .intro {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.home .hero-search {
    margin-left: 0;
    margin-right: 0;
}

.home .hero-image {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 28px 0 0;
}


/* BMS_CINEMATIC_HERO_V1 */
.home .hero {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none;
    min-height: clamp(470px, 58vw, 680px);
    margin-top: 0;
    margin-bottom: 48px;
    margin-left: calc(50% - 50vw);
    padding: clamp(48px, 8vw, 108px) clamp(24px, 8vw, 120px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    text-align: left !important;
    background-color: #0d0d0d;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.97) 0%,
            rgba(0, 0, 0, 0.88) 35%,
            rgba(0, 0, 0, 0.57) 65%,
            rgba(0, 0, 0, 0.24) 100%
        ),
        url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home .hero .eyebrow {
    margin: 0 0 20px !important;
    color: #c62828 !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    line-height: 1.5;
    text-align: left !important;
}

.home .hero .page-heading {
    max-width: 780px;
    margin: 0 0 22px !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5.2vw, 68px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-align: left !important;
}

.home .hero .hero-unknown {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 6px solid #c62828;
    color: #fff;
}

.home .hero .intro {
    max-width: 610px;
    margin: 0 0 30px !important;
    color: #c4c4c4 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.8;
    text-align: left !important;
}

.home .hero .hero-explore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 25px;
    background: #c62828;
    border: 1px solid #c62828;
    border-radius: 2px;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home .hero .hero-explore-button:hover {
    background: #a51e1e;
    border-color: #a51e1e;
    transform: translateY(-2px);
}

.home .hero .hero-explore-button span {
    font-size: 21px;
    line-height: 1;
}

@media (max-width: 600px) {
    .home .hero {
        min-height: 520px;
        padding: 54px 24px;
        background-position: center;
        background-image:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.91) 0%,
                rgba(0, 0, 0, 0.78) 100%
            ),
            url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg");
    }

    .home .hero .eyebrow {
        margin-bottom: 16px !important;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .home .hero .page-heading {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.15;
        letter-spacing: -0.8px;
    }

    .home .hero .hero-unknown {
        border-bottom-width: 4px;
    }

    .home .hero .intro {
        font-size: 15px;
        line-height: 1.75;
    }
}



/* BMS_FULLSCREEN_HERO_V2 */
.home .hero {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    padding: clamp(32px, 7vw, 100px) clamp(24px, 8vw, 110px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: hidden;
    text-align: left !important;
    background-size: 100% 100% !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
}

.home .hero .eyebrow,
.home .hero .page-heading,
.home .hero .intro {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.home .hero .page-heading {
    max-width: 780px;
}

.home .hero .intro {
    max-width: 610px;
}

.home .hero .hero-explore-button {
    border-radius: 4px !important;
}

@media (max-width: 600px) {
    .home .hero {
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 30px 22px !important;
        background-size: 100% 100% !important;
        background-position: 0 0 !important;
    }

    .home .hero .page-heading {
        font-size: clamp(32px, 8.5vw, 46px);
        line-height: 1.15;
        letter-spacing: -0.6px;
    }

    .home .hero .intro {
        font-size: 15px;
        line-height: 1.7;
    }
}


/* BMS_TRANSPARENT_HERO_NAV_V1 */

/* Eliminate browser-default spacing */
html,
body {
    margin: 0;
    padding: 0;
}

/* Place existing navigation over the hero */
.home .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.32) 70%,
        transparent 100%
    ) !important;
    box-shadow: none !important;
}

.home .site-header .header-inner {
    box-sizing: border-box;
    background: transparent !important;
}

/* Transparent menu with readable text */
.home .site-header .site-nav {
    background: transparent;
}

.home .site-header .site-nav > a,
.home .site-header .dropdown-toggle,
.home .site-header .brand,
.home .site-header .brand-text {
    color: #fff !important;
}

.home .site-header .site-nav > a:first-child {
    position: relative;
}

.home .site-header .site-nav > a:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 3px;
    background: #c62828;
}

.home .site-header .dropdown-menu {
    background: #151116;
    border: 1px solid #342630;
}

.home .site-header .dropdown-menu a {
    color: #fff;
}

.home .site-header .header-search {
    background: rgba(13, 13, 13, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.home .site-header .header-search input {
    color: #fff;
    background: transparent;
}

.home .site-header .header-search input::placeholder {
    color: #c4c4c4;
}
/* Edge-to-edge, full-viewport hero */
.home .hero {
    box-sizing: border-box !important;
    position: relative;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 110px clamp(24px, 7vw, 110px) 40px !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0;
    overflow: hidden;
    text-align: left !important;
    background-color: #0d0d0d;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.82) 38%,
            rgba(0, 0, 0, 0.40) 72%,
            rgba(0, 0, 0, 0.12) 100%
        ),
        url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg");
    background-size: 100% 100% !important;
    background-position: center;
    background-repeat: no-repeat;
}

.home .hero .eyebrow,
.home .hero .page-heading,
.home .hero .intro {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.home .hero .page-heading {
    max-width: 780px;
}

.home .hero .hero-unknown {
    border-bottom: 6px solid #c62828;
}

.home .hero .intro {
    max-width: 610px;
}

.home .hero .hero-explore-button {
    border-radius: 4px !important;
}

/* Responsive navigation and hero */
@media (max-width: 768px) {
    .home .site-header .site-nav {
        background: rgba(13, 13, 13, 0.97);
    }

    .home .site-header .site-nav > a:first-child::after {
        bottom: 0;
    }

    .home .hero {
        padding: 100px 22px 35px !important;
        background-size: 100% 100% !important;
    }

    .home .hero .page-heading {
        font-size: clamp(32px, 8.5vw, 46px);
        line-height: 1.15;
        letter-spacing: -0.6px;
    }

    .home .hero .hero-unknown {
        border-bottom-width: 4px;
    }

    .home .hero .intro {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* BMS_HERO_BRIGHTER_IMAGE_V1 */
/* Keep the forest image clear; use only a light text-readability overlay */
.home .hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.28) 40%,
            rgba(0, 0, 0, 0.08) 75%,
            rgba(0, 0, 0, 0.00) 100%
        ),
        url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg");
    background-size: 100% 100% !important;
    background-position: center;
    background-repeat: no-repeat;
}

/* Make sure mobile uses the same brighter image */
@media (max-width: 768px) {
    .home .hero {
        background-image:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.38) 0%,
                rgba(0, 0, 0, 0.20) 100%
            ),
            url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg");
        background-size: 100% 100% !important;
    }
}



/* BMS_HERO_COMPACT_V1 */
@media (min-width: 768px) {
    body.home .hero {
        height: 68vh !important;
        min-height: 480px !important;
        max-height: 680px !important;
        padding: 105px 7vw 35px !important;
        box-sizing: border-box !important;
        background-size: 100% 100% !important;
        background-position: center !important;
    }

    body.home .hero .eyebrow {
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }

    body.home .hero .page-heading {
        font-size: clamp(30px, 3.5vw, 48px) !important;
        line-height: 1.12 !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        max-width: 760px !important;
    }

    body.home .hero .intro {
        font-size: 15px !important;
        line-height: 1.55 !important;
        max-width: 540px !important;
        margin-bottom: 18px !important;
    }

    body.home .hero .hero-explore-button {
        font-size: 12px !important;
        padding: 11px 20px !important;
    }
}

@media (max-width: 767px) {
    body.home .hero {
        height: 62vh !important;
        min-height: 420px !important;
        max-height: 560px !important;
        padding: 100px 22px 30px !important;
        box-sizing: border-box !important;
        background-size: 100% 100% !important;
        background-position: center !important;
    }

    body.home .hero .page-heading {
        font-size: clamp(27px, 7vw, 36px) !important;
        line-height: 1.15 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    body.home .hero .intro {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
}

/* BMS_MOBILE_HERO_HEIGHT_FIX_V1 */
@media screen and (max-width: 767px) {
    body.home .hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 105px 20px 32px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body.home .hero .eyebrow {
        margin-bottom: 8px !important;
        font-size: 11px !important;
    }

    body.home .hero .page-heading {
        font-size: clamp(26px, 7vw, 34px) !important;
        line-height: 1.12 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    body.home .hero .intro {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    body.home .hero .hero-explore-button {
        padding: 10px 17px !important;
        font-size: 11px !important;
    }
}

/* BMS_MOBILE_HERO_HEIGHT_FIX_V2 */
@media screen and (max-width: 767px) {
    body.home .hero {
        height: auto !important;
        min-height: 0 !important;
        padding: 82px 18px 22px !important;
        background-position: center center !important;
    }

    body.home .hero .eyebrow {
        margin-bottom: 5px !important;
    }

    body.home .hero .page-heading {
        font-size: clamp(23px, 6.3vw, 30px) !important;
        line-height: 1.08 !important;
        margin-bottom: 9px !important;
    }

    body.home .hero .intro {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin-bottom: 11px !important;
    }

    body.home .hero .hero-explore-button {
        padding: 8px 14px !important;
        font-size: 10px !important;
    }
}

/* BMS_HERO_RESPONSIVE_HEIGHT_FIX_V1 */

/* Tablet and resized desktop browser */
@media screen and (min-width: 768px) and (max-width: 1100px) {
    body.home .hero {
        height: 65vh !important;
        min-height: 430px !important;
        max-height: 600px !important;
        padding: 105px 5vw 30px !important;
        box-sizing: border-box !important;
        background-size: 100% 100% !important;
        background-position: center !important;
    }

    body.home .hero .page-heading {
        font-size: clamp(28px, 3.8vw, 40px) !important;
        line-height: 1.1 !important;
    }

    body.home .hero .intro {
        max-width: 500px !important;
    }
}

/* Larger desktop */
@media screen and (min-width: 1101px) {
    body.home .hero {
        height: 68vh !important;
        min-height: 480px !important;
        max-height: 680px !important;
        box-sizing: border-box !important;
    }
}

/* BMS_PROFESSIONAL_PC_HEADER_V1 */
@media screen and (min-width: 1101px) {
    body.home .site-header {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.home .site-header .header-inner {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 18px 42px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 28px !important;
    }

    body.home .site-header .brand {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.home .site-header .site-nav {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: clamp(14px, 1.5vw, 25px) !important;
    }

    body.home .site-header .header-search {
        flex: 0 1 210px !important;
        min-width: 150px !important;
        max-width: 210px !important;
    }
}

/* BMS_PC_HEADER_SEARCH_FIX_V1 */
@media screen and (min-width: 1101px) {
    body.home .site-header .site-nav {
        gap: clamp(10px, 1.2vw, 20px) !important;
    }

    body.home .site-header .header-search {
        display: flex !important;
        align-items: center !important;
        flex: 0 1 190px !important;
        width: 190px !important;
        min-width: 150px !important;
        max-width: 190px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.home .site-header .header-search input[type="search"],
    body.home .site-header .header-search input[type="text"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.home .site-header .header-search button,
    body.home .site-header .header-search input[type="submit"] {
        flex: 0 0 auto !important;
    }
}

/* BMS_PC_MENU_BUTTON_FIX_V1 */
@media screen and (min-width: 1101px) {
body.home .site-header .site-nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
    }
}

/* BMS_HERO_CARD_DESIGN_V1 */

/* Desktop: premium hero image card */
@media screen and (min-width: 768px) {
    body.home .hero {
        width: calc(100% - 64px) !important;
        max-width: 1500px !important;
        height: 68vh !important;
        min-height: 460px !important;
        max-height: 700px !important;
        margin: 105px auto 40px !important;
        padding: 65px clamp(35px, 6vw, 90px) 45px !important;
        box-sizing: border-box !important;
        border-radius: 22px !important;
        overflow: hidden !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        position: relative !important;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18) !important;
    }
}

/* Mobile: compact hero card */
@media screen and (max-width: 767px) {
    body.home .hero {
        width: calc(100% - 28px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 82px auto 26px !important;
        padding: 34px 20px 25px !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    }
}

/* BMS_PREMIUM_HERO_NAV_FINAL_V1 */

/* NAVIGATION: dark, full-width, professional */
body.home .site-header {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #0d0d0d !important;
    border-bottom: 1px solid #282828 !important;
    box-sizing: border-box !important;
    z-index: 1000 !important;
}

body.home .site-header .header-inner {
    width: 100% !important;
    max-width: 1600px !important;
    min-height: 76px !important;
    margin: 0 auto !important;
    padding: 14px 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    box-sizing: border-box !important;
}

body.home .site-header .brand {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

body.home .site-header .brand-text {
    color: #fff !important;
}

body.home .site-header .brand-text-accent {
    color: #e50925 !important;
}

body.home .site-header .site-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(12px, 1.7vw, 25px) !important;
}

body.home .site-header .site-nav > a {
    color: #e8e8e8 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color .2s ease !important;
}

body.home .site-header .site-nav > a:first-child {
    color: #e50925 !important;
}

body.home .site-header .site-nav > a:hover {
    color: #e50925 !important;
}

body.home .site-header .header-search {
    flex: 0 1 205px !important;
    width: 205px !important;
    min-width: 140px !important;
    max-width: 205px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.home .site-header .header-search input[type="search"],
body.home .site-header .header-search input[type="text"] {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* HERO: premium card */
body.home .main-content .hero {
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    height: 55vh !important;
    min-height: 500px !important;
    max-height: 620px !important;
    margin: 28px auto 0 !important;
    padding: 48px clamp(28px, 5vw, 76px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 1px solid #303030 !important;
    border-radius: 12px !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(0,0,0,.92) 0%,
            rgba(0,0,0,.76) 34%,
            rgba(0,0,0,.38) 65%,
            rgba(0,0,0,.08) 100%
        ),
        url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 12px 35px rgba(0,0,0,.22) !important;
}

body.home .main-content .hero .eyebrow {
    color: #e50925 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    margin: 0 0 16px !important;
}

body.home .main-content .hero .page-heading {
    max-width: 720px !important;
    color: #fff !important;
    font-family: "Merriweather", Georgia, serif !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -1px !important;
    margin: 0 0 18px !important;
}

body.home .main-content .hero .hero-unknown {
    display: inline-block !important;
    border-bottom: 5px solid #e50925 !important;
    padding-bottom: 4px !important;
}

body.home .main-content .hero .intro {
    max-width: 540px !important;
    color: #c5c5c5 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 0 25px !important;
}

body.home .main-content .hero .hero-explore-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 13px 22px !important;
    color: #fff !important;
    background: #e50925 !important;
    border: 1px solid #e50925 !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: background .2s ease !important;
}

body.home .main-content .hero .hero-explore-button:hover {
    background: #bd071d !important;
}

/* LATEST STORIES heading */
body.home .latest-stories {
    margin-top: 34px !important;
}

body.home .latest-stories > h2,
body.home .latest-stories .section-title {
    color: #f5f5f5 !important;
    font-family: "Merriweather", Georgia, serif !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-weight: 700 !important;
}

/* TABLET */
@media screen and (min-width: 768px) and (max-width: 1100px) {
    body.home .site-header .header-inner {
        padding-left: 22px !important;
        padding-right: 22px !important;
        gap: 16px !important;
    }

    body.home .site-header .site-nav {
        gap: 12px !important;
    }

    body.home .site-header .header-search {
        flex-basis: 155px !important;
        width: 155px !important;
        min-width: 125px !important;
    }

    body.home .main-content .hero {
        height: 55vh !important;
        min-height: 430px !important;
        padding: 36px !important;
    }

    body.home .main-content .hero .page-heading {
        font-size: clamp(30px, 4.2vw, 44px) !important;
    }
}

/* MOBILE */
@media screen and (max-width: 767px) {
    body.home .site-header .header-inner {
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    body.home .site-header .site-nav {
        gap: 14px !important;
    }

    body.home .main-content .hero {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 18px auto 0 !important;
        padding: 32px 20px 26px !important;
        border-radius: 10px !important;
        background-position: center !important;
        background-image:
            linear-gradient(
                90deg,
                rgba(0,0,0,.91) 0%,
                rgba(0,0,0,.72) 65%,
                rgba(0,0,0,.35) 100%
            ),
            url("https://blackmagicstories.com/wp-content/uploads/2026/10/Gemini_Generated_Image_13sj9n13sj9n13sj_1.jpg") !important;
    }

    body.home .main-content .hero .eyebrow {
        font-size: 10px !important;
        margin-bottom: 12px !important;
    }

    body.home .main-content .hero .page-heading {
        font-size: clamp(26px, 7.3vw, 35px) !important;
        line-height: 1.2 !important;
        letter-spacing: -.5px !important;
        margin-bottom: 14px !important;
    }

    body.home .main-content .hero .hero-unknown {
        border-bottom-width: 4px !important;
    }

    body.home .main-content .hero .intro {
        font-size: 12px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    body.home .main-content .hero .hero-explore-button {
        padding: 11px 16px !important;
        font-size: 10px !important;
    }

    body.home .latest-stories {
        margin-top: 25px !important;
    }
}

/* BMS_NAV_RESPONSIVE_OVERLAP_FIX_V1 */
@media screen and (min-width: 768px) and (max-width: 1250px) {
    body.home .site-header .header-inner {
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 12px !important;
    }

    body.home .site-header .site-nav {
        gap: 10px !important;
    }

    body.home .site-header .brand {
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    body.home .site-header .brand-text {
        font-size: clamp(15px, 1.5vw, 19px) !important;
    }

    body.home .site-header .header-search {
        flex: 0 1 150px !important;
        width: 150px !important;
        min-width: 110px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 950px) {
    body.home .site-header .header-inner {
        flex-wrap: wrap !important;
    }
body.home .site-header .site-nav {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
        background: #0d0d0d !important;
    }

    body.home .site-header .site-nav.is-open {
        display: flex !important;
    }

    body.home .site-header .site-nav > a,
    body.home .site-header .site-nav .dropdown-toggle {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
        white-space: normal !important;
    }

    body.home .site-header .nav-dropdown {
        width: 100% !important;
    }

    body.home .site-header .header-search {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }
}
/* END BMS_NAV_RESPONSIVE_OVERLAP_FIX_V1 */


/* BMS_GLOBAL_HEADER_RESPONSIVE_FIX_V2 */
@media screen and (min-width: 801px) and (max-width: 1250px) {
    .site-header .container.header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .site-header .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 54px) !important;
    }

    .site-header .brand-text {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
.site-header .site-nav {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .site-header .site-nav.is-open {
        display: flex !important;
    }

    .site-header .site-nav > a,
    .site-header .site-nav .dropdown-toggle {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        justify-content: flex-start !important;
    }

    .site-header .nav-dropdown {
        width: 100% !important;
        min-width: 0 !important;
    }

    .site-header .nav-dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .site-header .header-search {
        display: flex !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-header .header-search input {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* END BMS_GLOBAL_HEADER_RESPONSIVE_FIX_V2 */



/* BMS CLEAN HEADER NAVIGATION */
.site-header {
    position: relative;
    z-index: 1000;
}

.site-header .container.header-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    box-sizing: border-box;
}

.site-header .brand {
    flex: 0 0 auto;
    min-width: 0;
}

.site-header .menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    color: #fff;
    background: #c62838;
    border: 0;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
}

.site-header #primary-navigation {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.site-header #primary-navigation > ul.menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header #primary-navigation li {
    position: relative;
    margin: 0;
    list-style: none;
}

.site-header #primary-navigation a {
    display: block;
    padding: 9px 5px;
    color: #eeeaf0;
    text-decoration: none;
}

.site-header #primary-navigation a:hover,
.site-header #primary-navigation li.is-open > a {
    color: #ff6876;
}

.site-header #primary-navigation li.menu-item-has-children > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 255px;
    max-width: min(340px, 90vw);
    margin: 0;
    padding: 8px;
    background: #191920;
    border: 1px solid #37313b;
    border-radius: 10px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .4);
    z-index: 10002;
}

.site-header #primary-navigation li.menu-item-has-children:hover > ul.sub-menu,
.site-header #primary-navigation li.menu-item-has-children:focus-within > ul.sub-menu,
.site-header #primary-navigation li.menu-item-has-children.is-open > ul.sub-menu {
    display: block;
}

.site-header #primary-navigation ul.sub-menu a {
    padding: 10px 12px;
    border-radius: 6px;
    white-space: normal;
}

.site-header #primary-navigation ul.sub-menu a:hover {
    background: #2b2028;
    color: #ff6876;
}

.site-header .header-search {
    flex: 0 1 180px;
    min-width: 0;
}

@media screen and (max-width: 1250px) {
    .site-header .container.header-inner {
        flex-wrap: wrap;
    }

    .site-header .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-header #primary-navigation,
    .site-header #primary-navigation:not(.is-open) {
        display: none !important;
    }

    .site-header #primary-navigation.is-open {
        display: block !important;
        position: absolute !important;
        top: 100%;
        right: 16px;
        left: auto;
        width: min(360px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        margin: 0;
        padding: 12px;
        box-sizing: border-box;
        background: #0d0d0d;
        border: 1px solid #303038;
        border-radius: 10px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
        z-index: 10001;
    }

    .site-header #primary-navigation > ul.menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .site-header #primary-navigation > ul.menu > li,
    .site-header #primary-navigation > ul.menu > li > a {
        width: 100%;
        box-sizing: border-box;
    }

    .site-header #primary-navigation > ul.menu > li > a {
        padding: 11px 10px;
    }

    .site-header #primary-navigation li.menu-item-has-children > ul.sub-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0 0 6px;
        padding: 5px 8px 5px 14px;
        background: #17171d;
        border: 0;
        border-left: 2px solid #c62838;
        border-radius: 0 8px 8px 0;
        box-shadow: none;
        box-sizing: border-box;
    }

    .site-header #primary-navigation li.menu-item-has-children.is-open > ul.sub-menu {
        display: block;
    }

    .site-header #primary-navigation ul.sub-menu a {
        padding: 10px 8px;
    }

    .site-header .header-search {
        flex: 1 1 180px;
        min-width: 0;
    }
}

@media screen and (min-width: 1251px) {
    .site-header .menu-toggle {
        display: none !important;
    }

    .site-header #primary-navigation {
        display: block !important;
        position: static;
        order: initial;
        padding: 0;
        background: transparent;
    }

    .site-header .header-search {
        order: initial;
    }
}
/* END BMS CLEAN HEADER NAVIGATION */

/* BMS PROFESSIONAL COMPACT NAVBAR */
.site-header {
    position: relative;
    z-index: 1000;
}

.site-header .container.header-inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    min-height: 66px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-sizing: border-box;
}

.site-header .brand {
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap;
}

.site-header .brand-text {
    font-size: clamp(16px, 1.35vw, 20px) !important;
    line-height: 1.2 !important;
}

.site-header #primary-navigation {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

.site-header #primary-navigation > ul.menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 1.15vw, 18px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header #primary-navigation > ul.menu > li {
    flex: 0 0 auto;
}

.site-header #primary-navigation > ul.menu > li > a {
    padding: 8px 3px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

.site-header .header-search {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 190px !important;
    width: 190px !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 6px;
}

.site-header .header-search input[type="search"],
.site-header .header-search input[type="text"] {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
}

.site-header .header-search button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
}

/* Tablet and mobile */
@media screen and (max-width: 1250px) {
    .site-header .container.header-inner {
        flex-wrap: wrap !important;
        gap: 10px 14px !important;
        min-height: 58px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .site-header .brand {
        max-width: calc(100% - 58px);
    }

    .site-header .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 38px !important;
        min-height: 38px !important;
        margin-left: auto !important;
        padding: 6px 10px !important;
    }

    .site-header #primary-navigation,
    .site-header #primary-navigation:not(.is-open) {
        display: none !important;
    }

    .site-header #primary-navigation.is-open {
        display: block !important;
    }

    .site-header .header-search {
        flex: 1 1 100% !important;
        width: 100% !important;
        order: 3;
    }

    .site-header .header-search input[type="search"],
    .site-header .header-search input[type="text"] {
        flex: 1 1 auto !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1250px) {
    .site-header .header-search {
        max-width: 360px;
    }
}

@media screen and (max-width: 767px) {
    .site-header .container.header-inner {
        gap: 10px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .site-header .brand-text {
        font-size: 16px !important;
    }

    .site-header .header-search button {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* END BMS PROFESSIONAL COMPACT NAVBAR */

/* BMS UNIFIED NAVBAR ACROSS ALL PAGES */
body.home .site-header .container.header-inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    min-height: 66px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

body.home .site-header .brand {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.home .site-header #primary-navigation {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

body.home .site-header #primary-navigation > ul.menu {
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 1.15vw, 18px) !important;
}

body.home .site-header #primary-navigation > ul.menu > li > a {
    padding: 8px 3px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

body.home .site-header .header-search {
    flex: 0 0 190px !important;
    width: 190px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media screen and (max-width: 1250px) {
    body.home .site-header .container.header-inner {
        flex-wrap: wrap !important;
        gap: 10px 14px !important;
        min-height: 58px !important;
    }

    body.home .site-header .menu-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
    }

    body.home .site-header #primary-navigation,
    body.home .site-header #primary-navigation:not(.is-open) {
        display: none !important;
    }

    body.home .site-header #primary-navigation.is-open {
        display: block !important;
    }

    body.home .site-header .header-search {
        flex: 1 1 100% !important;
        width: 100% !important;
        order: 3 !important;
    }
}
/* END BMS UNIFIED NAVBAR */

/* BMS INNER PAGES CENTERED LAYOUT */
body:not(.home):not(.front-page) .bms-inner-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

body:not(.home):not(.front-page) .bms-inner-page .bms-inner-container {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body:not(.home):not(.front-page) .bms-inner-page .bms-inner-article {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
/* END BMS INNER PAGES CENTERED LAYOUT */

/* BMS SAME NAVBAR ON HOMEPAGE AND ALL INNER PAGES */
@media screen and (min-width: 1251px) {
    body .site-header .container.header-inner {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 24px !important;
        min-height: 66px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    body .site-header .brand {
        flex: 0 0 auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    body .site-header #primary-navigation {
        display: block !important;
        position: static !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
    }

    body .site-header #primary-navigation > ul.menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: clamp(8px, 1.15vw, 18px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .site-header #primary-navigation > ul.menu > li > a {
        padding: 8px 3px !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    body .site-header .header-search {
        display: flex !important;
        flex: 0 0 190px !important;
        width: 190px !important;
        min-width: 0 !important;
        margin: 0 !important;
        order: initial !important;
    }

    body .site-header .menu-toggle {
        display: none !important;
    }
}
/* END BMS SAME NAVBAR */



/* BMS GLOBAL NAVBAR ALIGNMENT — ALL PAGES */
@media screen and (min-width: 1251px) {
    body .site-header {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body .site-header .container.header-inner {
        width: 100% !important;
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 8px 28px !important;
        min-height: 66px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 24px !important;
        box-sizing: border-box !important;
    }

    body .site-header .brand {
        flex: 0 0 auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    body .site-header #primary-navigation {
        display: block !important;
        position: static !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
    }

    body .site-header #primary-navigation > ul.menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(8px, 1.1vw, 17px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .site-header #primary-navigation > ul.menu > li {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    body .site-header #primary-navigation > ul.menu > li > a {
        display: block !important;
        padding: 8px 3px !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    body .site-header .header-search {
        display: flex !important;
        flex: 0 0 190px !important;
        width: 190px !important;
        max-width: 190px !important;
        min-width: 0 !important;
        margin: 0 !important;
        order: initial !important;
    }

    body .site-header .menu-toggle {
        display: none !important;
    }
}
/* END BMS GLOBAL NAVBAR ALIGNMENT */



/* BMS CLEAN CENTERED ARTICLE LAYOUT */
body main.bms-inner-page {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px 24px 64px;
    box-sizing: border-box;
}

body main.bms-inner-page > .bms-inner-container {
    display: block;
    float: none;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
}

body main.bms-inner-page .bms-inner-article {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}

body main.bms-inner-page .bms-inner-heading,
body main.bms-inner-page .bms-inner-featured-image {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body main.bms-inner-page .bms-inner-content,
body main.bms-inner-page .bms-inner-post-footer {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body main.bms-inner-page .bms-inner-content {
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

body main.bms-inner-page .bms-inner-content img,
body main.bms-inner-page .bms-inner-content video,
body main.bms-inner-page .bms-inner-content iframe {
    max-width: 100%;
}

body main.bms-inner-page .bms-inner-content img {
    height: auto;
}

@media screen and (max-width: 767px) {
    body main.bms-inner-page {
        padding: 24px 18px 40px;
    }

    body main.bms-inner-page .bms-inner-content {
        font-size: 17px;
        line-height: 1.8;
    }
}
/* END BMS CLEAN CENTERED ARTICLE LAYOUT */

/* BMS FIX: CENTER ARTICLE TITLE, IMAGE AND CONTENT */
body.single-post main.bms-inner-page > .bms-inner-container,
body.single main.bms-inner-page > .bms-inner-container {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-post main.bms-inner-page .bms-inner-article,
body.single main.bms-inner-page .bms-inner-article {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-post main.bms-inner-page .bms-inner-heading,
body.single-post main.bms-inner-page .bms-inner-featured-image,
body.single main.bms-inner-page .bms-inner-heading,
body.single main.bms-inner-page .bms-inner-featured-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

body.single-post main.bms-inner-page .bms-inner-content,
body.single-post main.bms-inner-page .bms-inner-post-footer,
body.single main.bms-inner-page .bms-inner-content,
body.single main.bms-inner-page .bms-inner-post-footer {
    display: block !important;
    width: 100% !important;
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

body.single-post main.bms-inner-page .bms-inner-featured-image img,
body.single main.bms-inner-page .bms-inner-featured-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* END BMS ARTICLE ALIGNMENT FIX */


/* BMS_CATEGORY_GRID_V1: Category-only layout; does not affect single articles or navigation. */
body.category main.bms-category-page {
    padding: 30px 24px 56px;
}

body.category main.bms-category-page > .bms-inner-container {
    width: 100%;
    max-width: 1500px;
}

body.category .bms-category-heading {
    margin: 0 0 24px;
}

body.category .bms-category-heading h1 {
    margin: 0;
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.2;
}

body.category .bms-category-description {
    max-width: 850px;
    margin-top: 12px;
    color: var(--bms-muted);
}

body.category .bms-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

body.category .bms-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--bms-border);
    border-radius: 10px;
    background: var(--bms-surface);
    transition: border-color .2s ease, transform .2s ease;
}

body.category .bms-category-card:hover {
    border-color: var(--bms-accent);
    transform: translateY(-2px);
}

body.category .bms-category-card .bms-inner-card-image {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background: #202027;
}

body.category .bms-category-card .bms-inner-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.category .bms-category-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

body.category .bms-category-card .bms-inner-meta {
    margin: 0 0 6px;
    color: var(--bms-muted);
    font-size: 11px;
    line-height: 1.4;
}

body.category .bms-category-card h2 {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.category .bms-category-card h2 a {
    color: var(--bms-text);
    text-decoration: none;
}

body.category .bms-category-card h2 a:hover {
    color: var(--bms-accent);
}

body.category .bms-category-read-more {
    margin-top: auto;
    color: var(--bms-accent);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

body.category .bms-category-page .navigation.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

body.category .bms-category-page .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

body.category .bms-category-page .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 6px 11px;
    border: 1px solid var(--bms-border);
    border-radius: 7px;
    color: var(--bms-text);
    text-decoration: none;
}

body.category .bms-category-page .page-numbers.current,
body.category .bms-category-page .page-numbers:hover {
    border-color: var(--bms-accent);
    background: var(--bms-accent);
    color: #fff;
}

@media (max-width: 1250px) {
    body.category .bms-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.category .bms-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 600px) {
    body.category main.bms-category-page {
        padding: 22px 14px 36px;
    }

    body.category .bms-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.category .bms-category-card {
        padding: 8px;
    }

    body.category .bms-category-card h2 {
        font-size: 13px;
    }
}
/* END BMS_CATEGORY_GRID_V1 */


/* Black Magic Stories: Demon logo icon */
.site-header .brand-demon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 23px;
    line-height: 1;
    vertical-align: middle;
}

/* BMS DEMON ICON VISIBILITY FIX */
.site-header a.brand .brand-demon-icon {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-right: 2px !important;
    position: relative !important;
    z-index: 2 !important;
}
