body.bvd-studio-single {
    background: #f3eee5;
}

body.bvd-studio-single-legal,
body.bvd-studio-single-legal .wp-site-blocks,
body.bvd-studio-single-legal main,
body.bvd-studio-single-legal .wp-block-post-content {
    background: #f8fafc !important;
    color: #111827;
}

body.bvd-studio-single-legal main,
body.bvd-studio-single-legal .wp-block-post-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.bvd-studio-single .wp-block-post-title,
body.bvd-studio-single .entry-title,
body.bvd-studio-single .page-title,
body.bvd-studio-single .post-title,
body.bvd-studio-single .post-thumbnail,
body.bvd-studio-single .wp-block-post-featured-image {
    display: none !important;
}

body.bvd-studio-single .wp-block-post-content,
body.bvd-studio-single .entry-content {
    max-width: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.bvd-studio-single .wp-block-post-content > .bvd-studio-article {
    margin-top: 0;
}

.bvd-studio-article,
.bvd-studio-article * {
    box-sizing: border-box;
}

.bvd-studio-article {
    --bvd-ink: #111827;
    --bvd-muted: #667085;
    --bvd-gold: #b98a38;
    --bvd-gold-soft: #f4dfb6;
    --bvd-paper: #fffdf8;
    --bvd-panel: #fffefa;
    --bvd-sage: #789083;
    --bvd-blue: #243141;
    color: var(--bvd-ink);
    font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bvd-studio-article a {
    color: inherit;
}

.bvd-studio-hero-block {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 180px max(28px, calc((100vw - 1180px) / 2)) 78px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(185, 138, 56, 0.24), transparent 38%),
        linear-gradient(135deg, #080b0f 0%, #17202b 58%, #314253 100%);
}

.bvd-studio-hero-media,
.bvd-studio-hero-media img,
.bvd-studio-hero-overlay {
    position: absolute;
    inset: 0;
}

.bvd-studio-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bvd-studio-hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.44) 52%, rgba(5, 7, 10, 0.2)),
        linear-gradient(180deg, rgba(5, 7, 10, 0.24), rgba(5, 7, 10, 0.88));
}

.bvd-studio-hero-content {
    position: relative;
    z-index: 2;
    width: min(840px, 100%);
    color: #fff;
}

.bvd-studio-eyebrow,
.bvd-studio-section-label,
.bvd-studio-cta span {
    margin: 0 0 14px;
    color: var(--bvd-gold-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bvd-studio-hero-content h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 72px;
    line-height: 0.96;
    letter-spacing: 0;
}

.bvd-studio-summary {
    max-width: 700px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.65;
}

.bvd-studio-content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 52px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0 56px;
}

.bvd-studio-main-copy {
    min-width: 0;
}

.bvd-studio-lede {
    margin-bottom: 44px;
    padding: 34px 0 36px;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.bvd-studio-lede p {
    margin: 0;
    color: #26313f;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.55;
}

.bvd-studio-lede p + p {
    margin-top: 18px;
}

.bvd-studio-copy-section {
    margin-bottom: 44px;
}

.bvd-studio-copy-section h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--bvd-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: 0;
}

.bvd-studio-copy-section p {
    max-width: 760px;
    margin: 0;
    color: #344054;
    font-size: 18px;
    line-height: 1.85;
}

.bvd-studio-copy-section p + p {
    margin-top: 18px;
}

.bvd-studio-aside {
    display: grid;
    align-content: start;
    gap: 18px;
}

.bvd-studio-highlights,
.bvd-studio-side-figure,
.bvd-studio-cta {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
    background: var(--bvd-panel);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.bvd-studio-highlights {
    padding: 24px;
}

.bvd-studio-highlights h2 {
    margin: 0 0 16px;
    color: var(--bvd-blue);
    font-size: 18px;
    line-height: 1.2;
}

.bvd-studio-highlights ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bvd-studio-highlights li {
    position: relative;
    padding-left: 24px;
    color: #344054;
    font-size: 15px;
    line-height: 1.55;
}

.bvd-studio-highlights li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    border: 1px solid rgba(244, 223, 182, 0.35);
    background: linear-gradient(180deg, var(--bvd-gold-soft), var(--bvd-gold));
    content: "";
}

.bvd-studio-side-figure {
    margin: 0;
}

.bvd-studio-side-figure img {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.bvd-studio-side-figure figcaption {
    padding: 14px 16px 16px;
    color: var(--bvd-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bvd-studio-cta {
    display: grid;
    gap: 12px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(120, 144, 131, 0.18), transparent 45%),
        #111827;
    color: #fff;
}

.bvd-studio-cta strong {
    display: block;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    line-height: 1.05;
}

.bvd-studio-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: fit-content;
    margin-top: 6px;
    padding: 0 18px;
    border: 1px solid rgba(244, 223, 182, 0.35);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--bvd-gold-soft), var(--bvd-gold));
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.bvd-studio-wide-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 74px;
}

.bvd-studio-section-label {
    color: #8a6324;
}

.bvd-studio-video-section {
    padding: 34px;
    border-radius: 8px;
    background: #111827;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.bvd-studio-video-section .bvd-studio-section-label {
    color: var(--bvd-gold-soft);
}

.bvd-studio-video-frame {
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.bvd-studio-video-frame iframe,
.bvd-studio-video-frame video,
.bvd-studio-video-frame embed,
.bvd-studio-video-frame object {
    display: block;
    width: 100% !important;
    min-height: 560px;
    border: 0;
}

.bvd-studio-gallery-intro {
    max-width: 720px;
    margin: -4px 0 22px;
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
}

.bvd-studio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 12px;
}

.bvd-studio-gallery-grid figure {
    position: relative;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111827;
}

.bvd-studio-gallery-grid figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.bvd-studio-gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 260ms ease;
}

.bvd-studio-gallery-grid figure:hover img {
    transform: scale(1.035);
}

.bvd-studio-gallery-grid figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 42px 16px 14px;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.82));
}

.bvd-studio-template-image-story .bvd-studio-content-shell {
    grid-template-columns: minmax(0, 0.88fr) 410px;
}

.bvd-studio-template-image-story .bvd-studio-side-figure img {
    height: 430px;
}

.bvd-studio-template-gallery .bvd-studio-hero-block {
    min-height: 600px;
}

.bvd-studio-template-video .bvd-studio-content-shell {
    padding-bottom: 34px;
}

.bvd-studio-template-legal {
    background: #f8fafc;
}

.bvd-studio-legal-shell {
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
}

.bvd-studio-legal-hero {
    padding: 170px 0 64px;
    background:
        linear-gradient(135deg, rgba(185, 138, 56, 0.18), transparent 42%),
        #111827;
    color: #fff;
}

.bvd-studio-legal-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 58px;
    line-height: 1;
}

.bvd-studio-legal-hero p:not(.bvd-studio-eyebrow) {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.6;
}

.bvd-studio-legal-content {
    padding: 58px 0 84px;
}

.bvd-studio-legal-content h2 {
    margin: 36px 0 14px;
    color: #111827;
    font-size: 24px;
    line-height: 1.2;
}

.bvd-studio-legal-content h2:first-child {
    margin-top: 0;
}

.bvd-studio-legal-content p {
    margin: 0 0 16px;
    color: #344054;
    font-size: 17px;
    line-height: 1.8;
}

.bvd-studio-legal-table {
    width: 100%;
    margin: 18px 0 24px;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.bvd-studio-legal-table th,
.bvd-studio-legal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #344054;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

.bvd-studio-legal-table th {
    width: 70%;
    color: #111827;
    font-weight: 800;
}

.bvd-studio-legal-table tr:last-child th,
.bvd-studio-legal-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    .bvd-studio-hero-content h1 {
        font-size: 56px;
    }

    .bvd-studio-content-shell,
    .bvd-studio-template-image-story .bvd-studio-content-shell {
        grid-template-columns: 1fr;
    }

    .bvd-studio-aside {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .bvd-studio-hero-block {
        min-height: 560px;
        padding-top: 130px;
        padding-bottom: 54px;
    }

    .bvd-studio-hero-content h1 {
        font-size: 44px;
        line-height: 1;
    }

    .bvd-studio-summary {
        font-size: 18px;
        line-height: 1.55;
    }

    .bvd-studio-content-shell,
    .bvd-studio-wide-section {
        width: min(100% - 32px, 1180px);
    }

    .bvd-studio-content-shell {
        padding: 48px 0 36px;
    }

    .bvd-studio-lede p {
        font-size: 20px;
    }

    .bvd-studio-copy-section h2 {
        font-size: 31px;
    }

    .bvd-studio-aside {
        grid-template-columns: 1fr;
    }

    .bvd-studio-video-section {
        padding: 18px;
    }

    .bvd-studio-video-frame iframe,
    .bvd-studio-video-frame video,
    .bvd-studio-video-frame embed,
    .bvd-studio-video-frame object {
        min-height: 300px;
    }

    .bvd-studio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bvd-studio-gallery-grid figure:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 560px) {
    .bvd-studio-hero-block {
        min-height: 500px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .bvd-studio-hero-content h1 {
        font-size: 35px;
    }

    .bvd-studio-summary,
    .bvd-studio-copy-section p,
    .bvd-studio-gallery-intro {
        font-size: 16px;
    }

    .bvd-studio-lede {
        padding: 26px 0;
    }

    .bvd-studio-lede p {
        font-size: 18px;
    }

    .bvd-studio-copy-section h2 {
        font-size: 27px;
    }

    .bvd-studio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .bvd-studio-gallery-grid figure:first-child {
        grid-column: span 1;
    }

    .bvd-studio-legal-shell {
        width: min(100% - 32px, 920px);
    }

    .bvd-studio-legal-hero {
        padding-top: 130px;
    }

    .bvd-studio-legal-hero h1 {
        font-size: 38px;
    }

    .bvd-studio-legal-table th,
    .bvd-studio-legal-table td {
        display: block;
        width: 100%;
    }
}
