/* Widget Elementor "Carrossel de Capa" (absites_hero_carousel)
   Imagens a passar automaticamente, com bolinhas e setas.
   Com apenas 1 imagem fica estático. Igual em desktop e mobile. */

.absites-hero {
    position: relative;
    width: 100%;
}

.absites-hero__viewport {
    width: 100%;
    overflow: hidden;
}

.absites-hero__track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}

.absites-hero__slide {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
}

.absites-hero__link {
    display: block;
}

.absites-hero__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--absites-hero-ratio, 1942 / 809);
    object-fit: cover;
}

/* Setas — discretas, sem fundo nem contorno vermelho */
.absites-hero .absites-hero__arrow {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--e-global-color-primary, #9B061A);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    line-height: 0;
    cursor: pointer;
    opacity: 1;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.absites-hero .absites-hero__arrow:hover,
.absites-hero .absites-hero__arrow:focus-visible {
    background: #7d0515;
    color: #ffffff;
    opacity: 1;
}

.absites-hero .absites-hero__arrow--prev {
    left: 16px;
}

.absites-hero .absites-hero__arrow--next {
    right: 16px;
}

.absites-hero .absites-hero__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* Bolinhas — pequeninas, sem contorno */
.absites-hero .absites-hero__dots {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.absites-hero .absites-hero__dot {
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--e-global-color-primary, #9B061A);
    box-shadow: none;
    line-height: 0;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.absites-hero .absites-hero__dot.is-active {
    opacity: 1;
    transform: scale(1.3);
}

/* Mobile: exatamente o mesmo comportamento, só setas mais compactas. */
@media (max-width: 767px) {
    .absites-hero .absites-hero__arrow {
        width: 34px;
        height: 34px;
    }

    .absites-hero .absites-hero__arrow--prev {
        left: 8px;
    }

    .absites-hero .absites-hero__arrow--next {
        right: 8px;
    }

    .absites-hero .absites-hero__dots {
        bottom: 10px;
    }
}
