:root {
    --bvg-navy: #10253f;
    --bvg-navy-mid: #173554;
    --bvg-blue: #2f6fed;
    --bvg-blue-dark: #2459c7;
    --bvg-blue-soft: #eef4ff;
    --bvg-bg: #f5f7fb;
    --bvg-surface: #ffffff;
    --bvg-text: #44556b;
    --bvg-muted: #718096;
    --bvg-border: #d9e1ec;
    --bvg-success: #218653;
}

.bv-guide-page,
.bv-guide-page * {
    box-sizing: border-box;
}

.bv-guide-page {
    background: var(--bvg-bg);
    color: var(--bvg-navy);
    font-family: "DM Sans", Arial, sans-serif;
}

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

.bv-guide-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--bvg-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bv-guide-hero {
    position: relative;
    isolation: isolate;
    padding: 92px 0 86px;
    overflow: hidden;
    border-bottom: 1px solid var(--bvg-border);
    background:
        radial-gradient(circle at 82% 13%, rgba(47,111,237,.14), transparent 30%),
        #ffffff;
}

.bv-guide-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    background-image:
        linear-gradient(rgba(16,37,63,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,37,63,.025) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bv-guide-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: 64px;
    align-items: center;
}

.bv-guide-hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--bvg-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.bv-guide-hero-copy > p {
    max-width: 710px;
    margin: 0;
    color: var(--bvg-text);
    font-size: 18px;
    line-height: 1.82;
}

.bv-guide-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bv-guide-btn {
    min-height: 52px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.bv-guide-btn:hover {
    transform: translateY(-1px);
}

.bv-guide-btn-primary {
    background: var(--bvg-blue);
    color: #fff;
    box-shadow: 0 14px 28px rgba(47,111,237,.22);
}

.bv-guide-btn-primary:hover {
    background: var(--bvg-blue-dark);
    color: #fff;
}

.bv-guide-btn-secondary {
    border-color: var(--bvg-border);
    background: #fff;
    color: var(--bvg-navy);
}

.bv-guide-btn-secondary:hover {
    border-color: var(--bvg-blue);
    color: var(--bvg-blue);
}

.bv-guide-hero-panel {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--bvg-navy), #122b49);
    box-shadow: 0 34px 90px rgba(16,37,63,.22);
}

.bv-guide-hero-panel-top {
    min-height: 54px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: #a7b8cc;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bv-guide-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #61d394;
}

.bv-guide-hero-status {
    padding: 5px 8px;
    border: 1px solid rgba(117,160,255,.20);
    border-radius: 999px;
    color: #bdd0ff;
    background: rgba(47,111,237,.14);
}

.bv-guide-hero-preview {
    min-height: 270px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.bv-guide-play-mark {
    width: 78px;
    height: 78px;
    margin-bottom: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(117,160,255,.27);
    border-radius: 50%;
    background: rgba(47,111,237,.20);
    color: #fff;
    box-shadow: 0 0 0 12px rgba(47,111,237,.07);
}

.bv-guide-play-mark svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
    transform: translateX(2px);
}

.bv-guide-hero-preview strong {
    margin-bottom: 7px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
}

.bv-guide-hero-preview > span {
    max-width: 330px;
    color: #94a9c1;
    font-size: 13px;
    line-height: 1.65;
}

.bv-guide-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.09);
}

.bv-guide-hero-stats > div {
    padding: 17px 10px;
    border-right: 1px solid rgba(255,255,255,.09);
    text-align: center;
}

.bv-guide-hero-stats > div:last-child {
    border-right: 0;
}

.bv-guide-hero-stats strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 17px;
}

.bv-guide-hero-stats span {
    color: #8fa5bd;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bv-guide-toolbar-section {
    padding: 72px 0 30px;
}

.bv-guide-toolbar-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.bv-guide-toolbar-heading h2 {
    margin: 0 0 10px;
    color: var(--bvg-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.bv-guide-toolbar-heading p {
    margin: 0;
    color: var(--bvg-text);
    line-height: 1.7;
}

.bv-guide-search {
    position: relative;
    width: min(380px, 100%);
    flex: 0 0 auto;
}

.bv-guide-search svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #8292a7;
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.bv-guide-search input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px 12px 46px;
    border: 1px solid var(--bvg-border);
    border-radius: 11px;
    background: #fff;
    color: var(--bvg-navy);
    font: inherit;
    outline: none;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

.bv-guide-search input:focus {
    border-color: var(--bvg-blue);
    box-shadow: 0 0 0 4px rgba(47,111,237,.10);
}

.bv-guide-filters {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.bv-guide-filter {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid var(--bvg-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bvg-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bv-guide-filter:hover,
.bv-guide-filter.active {
    border-color: var(--bvg-blue);
    background: var(--bvg-blue);
    color: #fff;
}

.bv-guide-library {
    padding: 24px 0 92px;
}

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

.bv-guide-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bvg-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15,23,42,.055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.bv-guide-card:hover {
    border-color: #b8c8dd;
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(16,37,63,.10);
}

.bv-guide-card[hidden] {
    display: none !important;
}

.bv-guide-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    display: block;
    border: 0;
    background: var(--bvg-navy);
    cursor: pointer;
}

.bv-guide-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bv-guide-thumbnail-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background:
        radial-gradient(circle at 80% 12%, rgba(47,111,237,.48), transparent 35%),
        linear-gradient(145deg, var(--bvg-navy), #173554);
}

.bv-guide-thumbnail-placeholder span {
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bv-guide-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--bvg-blue);
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.bv-guide-play svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transform: translateX(2px);
}

.bv-guide-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(15,23,42,.88);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.bv-guide-card-body {
    padding: 23px;
}

.bv-guide-card-meta {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--bvg-blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bv-guide-featured {
    padding: 4px 7px;
    border-radius: 999px;
    background: #ecf9f1;
    color: var(--bvg-success);
    letter-spacing: .02em;
    text-transform: none;
}

.bv-guide-card h3 {
    margin: 0 0 10px;
    color: var(--bvg-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
}

.bv-guide-card p {
    margin: 0;
    color: var(--bvg-text);
    font-size: 13px;
    line-height: 1.72;
}

.bv-guide-watch {
    margin-top: 19px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--bvg-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.bv-guide-empty {
    max-width: 520px;
    margin: 35px auto 0;
    padding: 42px 25px;
    border: 1px dashed #c8d4e4;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.bv-guide-empty h3 {
    margin: 0 0 7px;
    color: var(--bvg-navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
}

.bv-guide-empty p {
    margin: 0;
    color: var(--bvg-muted);
}

.bv-guide-help {
    padding: 70px 0;
    background:
        radial-gradient(circle at 82% 0%, rgba(47,111,237,.42), transparent 35%),
        var(--bvg-navy);
}

.bv-guide-help-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.bv-guide-help-inner > div:first-child {
    max-width: 720px;
}

.bv-guide-help .bv-guide-eyebrow {
    color: #92b4ff;
}

.bv-guide-help h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
}

.bv-guide-help p {
    margin: 0;
    color: #b8c6d7;
    line-height: 1.75;
}

.bv-guide-help-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.bv-guide-btn-light {
    background: #fff;
    color: var(--bvg-navy);
}

.bv-guide-btn-outline {
    border-color: rgba(255,255,255,.27);
    background: rgba(255,255,255,.07);
    color: #fff;
}

body.bv-video-open {
    overflow: hidden;
}

.bv-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-video-modal[hidden] {
    display: none !important;
}

.bv-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,13,24,.94);
    backdrop-filter: blur(8px);
}

.bv-video-dialog {
    position: relative;
    z-index: 1;
    width: min(1440px, 100%);
    height: min(900px, calc(100vh - 44px));
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: #081526;
    box-shadow: 0 35px 120px rgba(0,0,0,.55);
}

.bv-video-header {
    min-height: 72px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: #10253f;
}

.bv-video-header > div > span {
    display: block;
    margin-bottom: 3px;
    color: #91a7c0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bv-video-header h2 {
    margin: 0;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 17px;
}

.bv-video-close {
    min-height: 42px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.bv-video-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.bv-video-player {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.bv-video-player video,
.bv-video-player iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}

.bv-video-player video {
    object-fit: contain;
}

.bv-video-footer {
    min-height: 56px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.09);
    background: #10253f;
    color: #91a7c0;
    font-size: 11px;
}

.bv-video-footer kbd {
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 5px;
    background: rgba(255,255,255,.07);
    color: #fff;
}

.bv-video-footer-close {
    min-height: 36px;
    padding: 7px 12px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: var(--bvg-navy);
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 980px) {
    .bv-guide-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .bv-guide-hero-copy {
        text-align: center;
    }

    .bv-guide-hero-copy > p {
        margin-inline: auto;
    }

    .bv-guide-hero-actions {
        justify-content: center;
    }

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

@media (max-width: 760px) {
    .bv-guide-toolbar-heading,
    .bv-guide-help-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .bv-guide-search {
        width: 100%;
    }

    .bv-video-modal {
        padding: 0;
    }

    .bv-video-dialog {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }
}

@media (max-width: 620px) {
    .bv-guide-container {
        width: min(100% - 28px, 1180px);
    }

    .bv-guide-hero {
        padding: 58px 0;
    }

    .bv-guide-hero h1 {
        font-size: 41px;
    }

    .bv-guide-hero-copy > p {
        font-size: 16px;
    }

    .bv-guide-hero-actions,
    .bv-guide-help-actions {
        width: 100%;
        flex-direction: column;
    }

    .bv-guide-btn {
        width: 100%;
    }

    .bv-guide-grid {
        grid-template-columns: 1fr;
    }

    .bv-video-close span,
    .bv-video-footer > span {
        display: none;
    }

    .bv-video-footer-close {
        width: 100%;
        min-height: 42px;
    }
}
