/* =========================================================
   MST — COMMON PAGE HERO
   White + Gold Marble Theme
========================================================= */

.mst-page-hero {
    position: relative;

    min-height: 360px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fafafa 45%,
            #f5f5f3 100%
        );

    border-bottom: 1px solid rgba(184, 134, 11, .18);
}


/* =========================================================
   MARBLE TEXTURE
========================================================= */

.mst-hero-texture {
    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .55;

    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(184, 134, 11, .08) 0%,
            transparent 42%
        ),

        radial-gradient(
            ellipse at 85% 75%,
            rgba(184, 134, 11, .07) 0%,
            transparent 40%
        ),

        linear-gradient(
            115deg,
            transparent 0%,
            transparent 32%,
            rgba(120, 120, 120, .045) 32.5%,
            transparent 33%,
            transparent 52%,
            rgba(184, 134, 11, .035) 52.5%,
            transparent 53%
        ),

        linear-gradient(
            68deg,
            transparent 0%,
            transparent 45%,
            rgba(100, 100, 100, .035) 45.5%,
            transparent 46%,
            transparent 70%,
            rgba(184, 134, 11, .03) 70.5%,
            transparent 71%
        );
}


/* Extra fine texture */

.mst-page-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .22;

    background-image:
        repeating-linear-gradient(
            125deg,
            transparent 0,
            transparent 75px,
            rgba(0, 0, 0, .025) 76px,
            transparent 77px,
            transparent 150px
        );
}


/* =========================================================
   GOLD DECORATIVE ORBS
========================================================= */

.mst-hero-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    border: 1px solid rgba(184, 134, 11, .18);
}


.mst-hero-orb-one {
    width: 440px;
    height: 440px;

    right: -190px;
    top: -220px;
}


.mst-hero-orb-two {
    width: 300px;
    height: 300px;

    right: -125px;
    top: -150px;

    border-color: rgba(184, 134, 11, .10);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.mst-page-hero-content {
    position: relative;

    z-index: 2;

    max-width: 820px;

    padding: 75px 0;
}


/* =========================================================
   SUBTITLE
========================================================= */

.mst-hero-subtitle {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #a47708;

    font-family: var(--font-body);

    font-size: .76rem;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.mst-hero-subtitle::before {
    content: "";

    width: 34px;

    height: 2px;

    background: #c99a22;

    border-radius: 10px;
}


/* =========================================================
   TITLE
========================================================= */

.mst-hero-title {
    margin: 0;

    color: #171b22;

    font-family: var(--font-display);

    font-size: clamp(
        2.5rem,
        5vw,
        4.3rem
    );

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -.02em;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.mst-hero-description {
    max-width: 650px;

    margin: 18px 0 0;

    color: #69717c;

    font-family: var(--font-body);

    font-size: 1rem;

    line-height: 1.75;
}


/* =========================================================
   HERO WITH BANNER IMAGE
========================================================= */

.mst-page-hero-with-image {
    min-height: 420px;
}


/* Banner container */

.mst-hero-banner {
    position: absolute;

    top: 0;
    right: 0;

    width: 52%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}


/* Image */

.mst-hero-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* White fade + gold tint */

.mst-hero-banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255,255,255,.92) 10%,
            rgba(255,255,255,.35) 45%,
            rgba(255,255,255,.08) 100%
        );
}


/* Content stays above image */

.mst-page-hero-with-image .container {
    position: relative;

    z-index: 3;
}


.mst-page-hero-with-image .mst-page-hero-content {
    max-width: 650px;
}


/* Slight gold line on image */

.mst-page-hero-with-image::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 52%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        #c99a22
    );

    z-index: 4;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mst-page-hero-with-image {
        min-height: auto;
    }

    .mst-hero-banner {
        position: relative;

        top: auto;
        right: auto;

        width: 100%;

        height: 220px;

        order: 1;
    }

    .mst-hero-banner-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.05),
                rgba(255,255,255,.85)
            );
    }

    .mst-page-hero-with-image .container {
        order: 2;
    }

    .mst-page-hero-with-image {
        display: flex;

        flex-direction: column;
    }

    .mst-page-hero-with-image .mst-page-hero-content {
        padding: 45px 0 55px;
    }

    .mst-page-hero-with-image::after {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .mst-page-hero {
        min-height: 300px;
    }

    .mst-page-hero-content {
        padding: 60px 0;
    }

    .mst-hero-title {
        font-size: 2.5rem;
    }

    .mst-hero-description {
        font-size: .9rem;
    }

    .mst-hero-orb-one {
        width: 300px;
        height: 300px;

        right: -180px;
        top: -150px;
    }

    .mst-hero-orb-two {
        width: 210px;
        height: 210px;

        right: -130px;
        top: -100px;
    }

}