/* Velgrina Hero — Dynamic Slider */

.velgrina-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -1px;
}

/* Remove gap between header and hero */
.cms-index-index .column.main,
.cms-index-index .page-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.velgrina-hero-inner {
    height: 70vh;
    min-height: 450px;
    max-height: 650px;
}

@media (max-width: 767px) {
    .velgrina-hero-inner {
        height: 60vh;
        min-height: 350px;
        max-height: 500px;
    }
}

/* Overlay variants */
.velgrina-hero__overlay--left {
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.05) 70%, transparent 100%);
}

.velgrina-hero__overlay--right {
    background: linear-gradient(to left, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.05) 70%, transparent 100%);
}

.velgrina-hero__overlay--full {
    background: rgba(0,0,0,0.4);
}

/* Text position — !important to override Tailwind compiled CSS */
.velgrina-hero__text {
    max-width: 480px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    left: 24px !important;
    right: 24px !important;
}

@media (min-width: 768px) {
    .velgrina-hero__text {
        left: 48px !important;
        right: auto !important;
    }
}

@media (min-width: 1200px) {
    .velgrina-hero__text {
        left: calc((100vw - 1300px) / 2 + 32px) !important;
    }
}

/* Typography */
.velgrina-hero__title {
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
    -webkit-text-size-adjust: 100%;
    text-rendering: geometricPrecision;
}

.velgrina-hero__subtitle {
    font-size: 15px !important;
    font-weight: 400 !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
    -webkit-text-size-adjust: 100%;
    text-rendering: geometricPrecision;
}

@media (min-width: 768px) {
    .velgrina-hero__title {
        font-size: 44px !important;
    }
    .velgrina-hero__subtitle {
        font-size: 16px !important;
    }
}

@media (min-width: 1200px) {
    .velgrina-hero__title {
        font-size: 52px !important;
    }
    .velgrina-hero__subtitle {
        font-size: 17px !important;
    }
}

/* CTA */
.velgrina-hero__cta {
    display: inline-block;
    padding: 11px 28px;
    border: 1.5px solid rgba(255,255,255,0.8);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s;
}

.velgrina-hero__cta:hover {
    background: #fff;
    color: #1e2022 !important;
    border-color: #fff !important;
}

/* Dots */
.velgrina-hero__dots {
    bottom: 1.25rem;
    z-index: 20;
}
