/* ==========================================================================
   MathB Events Theme
   Hero
   ========================================================================== */

/* ==========================================================================
   Hero Wrapper
   ========================================================================== */

.mathb-hero {

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--mathb-color-text-light);

    background-color: var(--mathb-color-background);

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;

}

.mathb-hero-home {

    min-height: 100vh;

}

.mathb-page-header {

    min-height: 420px;

    padding-top: calc(var(--mathb-header-height) + 4rem);

    padding-bottom: 5rem;

}

/* ==========================================================================
   Hero Overlay
   ========================================================================== */

.mathb-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background: var(--mathb-color-overlay);

}

/* ==========================================================================
   Hero Background
   ========================================================================== */

.mathb-hero-background {

    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

}

.mathb-hero-background img,
.mathb-hero-background video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

}

/* ==========================================================================
   Hero Content
   ========================================================================== */

.mathb-hero-content {

    position: relative;

    z-index: 10;

    width: 100%;

}

.mathb-container {

    position: relative;

    z-index: 5;

}

.mathb-hero-inner {

    max-width: 760px;

    padding-top: 8rem;

    padding-bottom: 8rem;

}

/* ==========================================================================
   Hero Eyebrow
   ========================================================================== */

.mathb-hero-eyebrow {

    display: inline-flex;

    align-items: center;

    margin-bottom: 1.5rem;

    padding: .5rem 1rem;

    font-size: .85rem;

    font-weight: var(--mathb-fw-semibold);

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--mathb-color-primary);

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.10);

    border-radius: var(--mathb-radius-pill);

}

/* ==========================================================================
   Hero Title
   ========================================================================== */

.mathb-hero-title {

    margin-bottom: 2rem;

    color: var(--mathb-color-text-light);

    font-size: clamp(3.5rem, 7vw, 6rem);

    line-height: 1.05;

}

.mathb-page-header .mathb-hero-title {

    margin-bottom: 1rem;

    font-size: clamp(2.5rem,5vw,4rem);

}

.mathb-hero-title span {

    color: var(--mathb-color-primary);

}

/* ==========================================================================
   Hero Text
   ========================================================================== */

.mathb-hero-text {

    max-width: 650px;

    margin-bottom: 2.5rem;

    font-size: 1.2rem;

    line-height: 1.9;

    color: rgba(255,255,255,.88);

}

/* ==========================================================================
   Hero Actions
   ========================================================================== */

.mathb-hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 1rem;

    margin-top: 2rem;

}

.mathb-hero-actions .mathb-button {

    min-width: 180px;

}

/* ==========================================================================
   Secondary Hero Button
   ========================================================================== */

.mathb-button-outline {

    color: var(--mathb-color-text-light);

    background: transparent;

    border: 2px solid rgba(255,255,255,.30);

}

.mathb-button-outline:hover {

    color: var(--mathb-color-text-light);

    background: rgba(255,255,255,.08);

    border-color: var(--mathb-color-primary);

}

/* ==========================================================================
   Hero Statistics
   ========================================================================== */

.mathb-hero-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 3rem;

    margin-top: 4rem;

}

.mathb-hero-stat strong {

    display: block;

    margin-bottom: .35rem;

    font-size: 2rem;

    color: var(--mathb-color-primary);

}

.mathb-hero-stat span {

    color: rgba(255,255,255,.75);

    font-size: .95rem;

}

/* ==========================================================================
   Hero Breadcrumbs
   ========================================================================== */

.mathb-hero-breadcrumbs {

    margin-top: 2rem;

}

.mathb-breadcrumbs {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: .5rem;

    margin: 0;

    padding: 0;

    list-style: none;

    font-size: .9rem;

}

.mathb-breadcrumbs a {

    color: rgba(255,255,255,.75);

    text-decoration: none;

    transition: color var(--mathb-transition);

}

.mathb-breadcrumbs a:hover {

    color: var(--mathb-color-primary);

}

.mathb-breadcrumb-item.current {

    color: var(--mathb-color-text-light);

}

.mathb-breadcrumb-separator {

    color: rgba(255,255,255,.40);

}

/* ==========================================================================
   Hero Scroll Indicator
   ========================================================================== */

.mathb-hero-scroll {

    position: absolute;

    left: 50%;

    bottom: 2.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 60px;

    transform: translateX(-50%);

    z-index: 20;

    text-decoration: none;

}

.mathb-hero-scroll span {

    display: block;

    width: 2px;

    height: 45px;

    background: rgba(255,255,255,.50);

    animation: mathb-scroll-indicator 2s infinite;

}

.mathb-hero-scroll:hover span {

    background: var(--mathb-color-primary);

}

/* ==========================================================================
   Hero Fade In
   ========================================================================== */

.mathb-hero-title,

.mathb-hero-text,

.mathb-hero-actions,

.mathb-hero-breadcrumbs,

.mathb-hero-stats {

    animation: mathb-fade-up .8s ease both;

}

.mathb-hero-text {

    animation-delay: .15s;

}

.mathb-hero-actions {

    animation-delay: .3s;

}

.mathb-hero-breadcrumbs {

    animation-delay: .45s;

}

.mathb-hero-stats {

    animation-delay: .6s;

}

/* ==========================================================================
   Hero Variants
   ========================================================================== */

.mathb-hero-image {

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;

}

.mathb-hero-video {

    overflow: hidden;

}

.mathb-hero-video video {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    z-index: 0;

}

/* ==========================================================================
   Page Header
   ========================================================================== */

.mathb-page-header .mathb-hero-inner {

    padding-top: calc(var(--mathb-header-height) + 3rem);

    padding-bottom: 3rem;

}

.mathb-page-header .mathb-hero-text {

    max-width: 720px;

    margin-bottom: 1.5rem;

    font-size: 1.1rem;

}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {

    .mathb-hero-inner {

        max-width: 680px;

    }

}

@media (max-width: 991px) {

    .mathb-hero-home {

        min-height: 85vh;

    }

    .mathb-page-header {

        min-height: 340px;

    }

    .mathb-hero-inner {

        padding-top: calc(var(--mathb-header-height) + 2rem);

        padding-bottom: 4rem;

    }

    .mathb-hero-title {

        font-size: clamp(2.8rem, 7vw, 4.5rem);

    }

    .mathb-page-header .mathb-hero-title {

        font-size: clamp(2rem, 5vw, 3rem);

    }

    .mathb-hero-text {

        font-size: 1.1rem;

    }

}

@media (max-width: 767px) {

    .mathb-hero-home {

        min-height: 75vh;

    }

    .mathb-page-header {

        min-height: 280px;

    }

    .mathb-hero-inner {

        padding-top: calc(var(--mathb-header-height) + 1.5rem);

        padding-bottom: 3rem;

    }

    .mathb-hero-title {

        margin-bottom: 1.5rem;

        font-size: clamp(2.2rem, 8vw, 3.2rem);

    }

    .mathb-hero-text {

        margin-bottom: 2rem;

        font-size: 1rem;

        line-height: 1.7;

    }

    .mathb-hero-actions {

        width: 100%;

        flex-direction: column;

        align-items: stretch;

    }

    .mathb-hero-actions .mathb-button {

        width: 100%;

        min-width: auto;

    }

    .mathb-hero-stats {

        gap: 2rem;

    }

    .mathb-hero-scroll {

        display: none;

    }

}

@media (max-width: 480px) {

    .mathb-page-header {

        min-height: 240px;

    }

    .mathb-hero-inner {

        padding-top: calc(var(--mathb-header-height) + 1rem);

        padding-bottom: 2.5rem;

    }

}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes mathb-fade-up {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes mathb-scroll-indicator {

    0% {

        opacity: 0;

        transform: translateY(0);

    }

    50% {

        opacity: 1;

    }

    100% {

        opacity: 0;

        transform: translateY(12px);

    }

}

/* ==========================================================================
   End
   ========================================================================== */