.cover__wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.slider-enabled .hero__container {
    padding-bottom: 80px;
}

.cover__wrapper, .cover__text.with-see-more {
    width: 100%;
}

.cover__text {
    color: #000;
    position: relative;
}

.cover__text.text-white {
    color: #fff;
}

.cover.no-slider {
    display: flex;
    justify-content: center;
}


.cover__navigation-container {
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
    max-width: var(--lb-container);
    justify-content: space-between;
    margin-left: var(--lb-gutter);
    margin-right: var(--lb-gutter);
    width: 100%;
}

@media only screen and (max-width: 767px) {
    .hero__navigation-container {
        margin-left: 1.125rem;
        margin-right: 1.125rem;
    }
}

.keen-slider {
    width: 100%;
}

.cover__navigation {
    position: absolute;
    bottom: 50px;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
}

.keen-slider__dots {
    display: flex;
    align-items: center;
}

.keen-slider__dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    border: none;
    cursor: pointer;
}

.keen-slider__dot.active {
    background: white;
}

.keen-slider__arrows {
    display: flex;
    align-items: center;
}

.keen-slider__arrow {
    width: 60px;
    height: 60px;
    background: #DB0812;
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    border: none;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

@media only screen and (max-width: 767px) {
    .keen-slider__arrow {
        width: 45px;
        height: 45px;
    }

    .keen-slider__arrow svg {
        width: 25px;
    }
}

.keen-slider__arrow--left {
    transform: translateX(-10px);
}

.keen-slider__slide {
    display: flex;
    justify-content: center;
}

.keen-slider__arrow--right {
    transform: translateX(10px);
}

.keen-slider__arrow.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background-color: #007BFF;
}

.cover__overlay {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(6, 40, 67, 0.20) 0%, rgba(6, 40, 67, 0.70) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Default: match the cover's actual height (non full-height pages) */
    height: 100%;
    z-index: 1;
}

.cover.full-height .cover__overlay {
    min-height: calc(100svh + 50px);
}

.cover__overlay {
    /* Döljer overlay på mobila enheter om klassen hide-on-mobile finns */
    @media only screen and (max-width: 767px) {
        .hero__overlay.hide-on-mobile {
            display: none !important;
        }
    }
}

.cover__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cover__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover {
    position: relative;
    color: white;
    margin-top: 0;
    overflow: hidden;
    background-color: var(--lb-sand);
    /* Default: content-driven height unless explicitly full-height */
    height: auto;
    /* Give non-full-height covers a sensible hero height */
    min-height: 28rem;
    display: flex;
    justify-content: center;
    align-items: start!important;
    mask-repeat: no-repeat;
}

.cover:not(.full-height) .cover__container {
    /* Ensure justify-content options (flex-start/center/end) actually have height to work with */
    min-height: 28rem;
}

.cover.full-height {
    height: calc(100svh + 50px);
    min-height: calc(100svh + 50px);
}

.cover__video {
    contain: size layout;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.cover__video video {
    object-fit: cover;
    pointer-events: none;
}

.cover__video, .cover__video video {
    contain: size layout;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.cover-section {
    height: 100%;
    background-color: var(--lb-sand);
}

.cover__container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    z-index: 1;
    position: relative;
    max-width: var(--lb-container);
    justify-content: flex-end;
    margin-left: var(--lb-gutter);
    margin-right: var(--lb-gutter);
    /* Default: avoid forcing big whitespace on non full-height pages */
    min-height: unset;
    width: 100%;
    padding-top: 75px;
    padding-bottom: 70px;
}

.cover.full-height .cover__container {
    min-height: calc(50rem + 20px);
}


@media only screen and (max-width: 991px) {
    .cover__container {
        margin-left: 1.875rem;
        margin-right: 1.875rem;
        justify-content: flex-end;
        min-height: 19.5rem;
        padding-bottom: 60px;
    }
}

.cover__container.no-background {
    color: #000;
    min-height: calc(12rem + 20px);

    max-height: unset;
    padding-top: 60px;
    padding-bottom: 30px;
}


.cover__headline, .cover__subtext, .cover__subheadline {
    white-space: pre-line;
}

.cover__subtext {
    font-style: normal;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 110%;
}

.cover__subtext--alt {
    color: #DBD5C0;
    font-family: "Fasthin", sans-serif;
    font-size: clamp(1.9rem, 4vw, 4.0625rem);
    font-style: normal;
    margin-bottom: 25px;
    font-weight: 400;
    transform: rotate(-18.154deg);
    line-height: 110%;
    position: absolute;
    top: 116%;
    left: 15%;
}


.cover__headline {
    font-size: clamp(1.9rem, 4vw, 4.0625rem);
    max-width: 1200px;
    line-height: 110%;
    margin: 0;
    font-family: var(--lb-font-display);
    font-weight: 500;
}

.cover__headline.small-title {
    font-size: clamp(2.5rem, 4vw + 1rem, 4.625rem);
}

@media only screen and (max-width: 767px) {
    .cover__subtext {
        transform: rotate(-11.154deg);
        top: -12px;
        left: 31%;
        position: relative;
    }

    .cover__headline.small-title {
        font-size: clamp(1.5rem, 5vw + 0.5rem, 2.125rem);
        line-height: 100%;
    }
}


.cover__container.align-items-start {
    align-items: flex-start;
}

.cover__container.align-items-center {
    align-items: center;
}

.cover__container.justify-content-flex-start {
    justify-content: flex-start;
}

.cover__container.justify-content-center {
    justify-content: center;
}

.cover__container.justify-content-end {
    justify-content: flex-end;
}

.cover__container.text-align-left {
    text-align: left;
}

.cover__container.text-align-center {
    text-align: center;
}

.cover__container.text-align-right {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .cover__container.justify-content-mobile-flex-start {
        justify-content: flex-start;
    }

    .cover__container.justify-content-mobile-center {
        justify-content: center;
    }

    .cover__container.justify-content-mobile-space-between {
        justify-content: space-between;
    }
}
.cover__subtext--alt {

}
