
/* =========================================
   AARAMBHA RESPONSIVE HALF DISPLAY BANNER
========================================= */

.ae-hero {
    --ae-brown: #88431f;
    --ae-green: #60bc4d;

    position: relative;
    width: 100%;
    height: clamp(240px, 30vw, 380px);
    min-height: 0;
    overflow: hidden;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    margin-top: 0;
}

.ae-hero-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
}

.ae-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SLIDE */

.ae-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);

    transition:
        opacity .7s ease,
        transform .7s ease,
        visibility .7s ease;

    background: #fff;
}

.ae-slide.is-active {
    position: absolute;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

/* LEFT TEXT SECTION */

.ae-slide-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    min-width: 0;
    padding: clamp(18px, 4vw, 55px);

    background: #faf8f6;
}

.ae-slide-kicker {
    color: var(--ae-green);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
}

.ae-slide-title {
    color: #222;
    font-size: clamp(22px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.ae-slide-subtitle {
    color: #666;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.6;
    margin: 0 0 18px;
}

.ae-slide-button {
    display: inline-block;
    padding: 11px 22px;

    background: var(--ae-brown);
    color: #fff !important;

    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;

    transition: .3s;
}

.ae-slide-button:hover {
    background: var(--ae-green);
}

/* RIGHT IMAGE SECTION */

.ae-slide-image {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #fff;
}

.ae-slide-image picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.ae-slide-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    max-width: 100%;
    max-height: 100%;
}

/* NAVIGATION ARROWS */

.ae-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, .55);
    color: white;

    font-size: 18px;
    cursor: pointer;
}

.ae-hero-arrow:hover {
    background: var(--ae-brown);
}

.ae-hero-prev {
    left: 10px;
}

.ae-hero-next {
    right: 10px;
}

/* SLIDER DOTS */

.ae-hero-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 6;

    display: flex;
    gap: 7px;
}

.ae-hero-dot {
    width: 9px;
    height: 9px;

    border: none;
    border-radius: 20px;

    background: #aaa;
    cursor: pointer;
}

.ae-hero-dot.is-active {
    width: 23px;
    background: var(--ae-green);
}

.ae-hero-empty {
    padding: 30px;
    text-align: center;
}

/* TABLET */

@media (max-width: 900px) {

    .ae-hero {
        height: 290px;
    }

    .ae-slide-copy {
        padding: 22px;
    }

    .ae-slide-title {
        font-size: 26px;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .ae-hero {
        height: 283px;
    }

    .ae-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 145px 135px;
    }

    .ae-slide-image {
        grid-row: 1;
        height: 145px;
        background: #fff;
    }

    .ae-slide-copy {
        grid-row: 2;
        padding: 12px 18px 25px;
        min-height: 0;
    }

    .ae-slide-title {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .ae-slide-kicker {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .ae-slide-subtitle {
        font-size: 9px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .ae-slide-button {
        padding: 8px 15px;
        font-size: 10px;
    }

    .ae-hero-arrow {
        width: 27px;
        height: 27px;
        font-size: 12px;
    }

}

/* SMALL MOBILE */

@media (max-width: 360px) {

    .ae-hero {
        height: 260px;
    }

    .ae-slide {
        grid-template-rows: 130px 130px;
    }

    .ae-slide-image {
        height: 130px;
    }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .ae-slide {
        transition: none;
    }
}
