.celtiis-hero-media {
    position: relative;
    width: 100%;
    min-height: 540px;
    overflow: hidden;
    display: block;
    isolation: isolate;
    background-color: #1d2433;
}

.celtiis-hero-media__media,
.celtiis-hero-media__overlay,
.celtiis-hero-media__content {
    position: absolute;
    inset: 0;
}

.celtiis-hero-media__media {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.01);
}

.celtiis-hero-media__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.celtiis-hero-media__overlay {
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.celtiis-hero-media__content {
    z-index: 2;
    display: flex;
    justify-content: start;
    align-items: center;
}

.celtiis-hero-media__content-box {
    width: 100%;
    margin-inline: auto;
    color: #fff;
    text-align: left;
}

.celtiis-hero-media__title {
    margin: 0;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    font-size: 65px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.celtiis-hero-media__description {
    margin: 24px 0 0;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.celtiis-hero-media__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding: 18px 28px;
    border-radius: 999px;
    background: var(--bs-primary);
    color: var(--bs-secondary);
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        transform var(--celtiis-transition-fast),
        background-color var(--celtiis-transition-fast),
        color var(--celtiis-transition-fast),
        box-shadow var(--celtiis-transition-fast);
}

.celtiis-hero-media__button:hover,
.celtiis-hero-media__button:focus-visible {
    transform: translateY(-1px);
    background: #a7d248;
    color: var(--bs-secondary);
}

.celtiis-hero-media__button:focus-visible {
    outline: none;
    box-shadow: var(--celtiis-focus-ring);
}

@media (max-width: 991px) {
    .celtiis-hero-media {
        min-height: 440px;
    }

    .celtiis-hero-media__title {
        font-size: 58px;
    }
}

@media (max-width: 767px) {
    .celtiis-hero-media {
        min-height: 380px;
    }

    .celtiis-hero-media__content-box {
        max-width: 100%;
    }

    .celtiis-hero-media__title {
        font-size: 38px;
        line-height: 1.02;
    }

    .celtiis-hero-media__description {
        margin-top: 18px;
        font-size: 0.95rem;
    }

    .celtiis-hero-media__button {
        margin-top: 25px;
        width: auto;
        max-width: 100%;
        padding: 16px 24px;
        font-size: 14px;
        text-align: center;
    }
}
