﻿.brands-video-swiper {
    background: #f1f0eb;
}

/* CSS kopierad från statichome för korrekt textstyling */
.h3underVideo {
    text-align: left;
    margin-bottom: 0.2rem;
    margin-top: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    /* INGEN font-family här - ärver från body (ABC Monument Grotesk) på desktop */
}

.PunderVideo {
    text-align: left;
    font-size: 1rem;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: 'ABC Monument Grotesk', sans-serif; /* ALLTID ABC Monument Grotesk */
}

/* Mobil CSS - endast h3underVideo får Serbenta på mobil */
@media (max-width: 768px) {
    .h3underVideo {
        font-family: 'Serbenta';
    }
    /* PunderVideo behåller ABC Monument Grotesk även på mobil */
}

.brands-video-swiper__heading {
    width: 100%;
    font-weight: normal;
    box-sizing: border-box;
    padding-left: calc(max(2rem, ((100vw - 1500px) / 2)));
    padding-right: 50vw;
    padding-bottom: 10px;
    background: #f1f0eb;
    margin: 0 0 5px;
    font-size: clamp(1.5rem, 1.9vw, 80px);
    line-height: clamp(1.5rem, 2.4vw, 80px);
}

.brands-video-swiper__viewport {
    margin-left: calc(max(2rem, ((100vw - 1500px) / 2)));
    margin-right: 0;
}

.brands-video-swiper__swiper {
    width: 100%;
    background: #f1f0eb;
}

.brands-video-swiper__swiper .swiper-slide {
    background: #f1f0eb;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brands-video-swiper__swiper .swiper-slide img {
    display: block;
    object-fit: cover;
}

.brands-video-swiper__slide {
    position: relative;
}

.brands-video-swiper__slide video {
    width: 100%;
    height: auto;
    display: block;
}

.brands-video-swiper__overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 800px;
    height: 12%;
    border-radius: 1px;
    overflow: hidden;
    pointer-events: none;
    transition: none !important;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.brands-video-swiper__overlay-left {
    background: rgba(0, 0, 0, 0.6);
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
}

.brands-video-swiper__overlay-left img {
    width: clamp(120px, 70%, 220px) !important;
    max-height: 80%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: none !important;
}

.brands-video-swiper__overlay-right {
    background-color: rgba(255, 192, 203, 0.9);
    width: 40%;
    height: 100%;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
}

.brands-video-swiper__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: none !important;
}

.brands-video-swiper__title {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.brands-video-swiper__subtitle {
    font-size: clamp(0.9rem, 1.2vw, 20px);
    opacity: 0.8;
    margin: 1vw 0;
    color: black;
    line-height: 0.99;
}

.brands-video-swiper__play {
    width: 40px;
    height: 40px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.brands-video-swiper__brand-name {
    text-align: left;
    margin: 0.75rem 0 0.2rem;
    font-size: 1.5rem;
}

.brands-video-swiper__brand-copy {
    text-align: left;
    font-size: 1rem;
    margin: 0;
}
