.at-slider {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #edf0e7;
}

.at-slider-stage {
    position: relative;
    height: clamp(380px, 49.58vw, 760px)
}

.at-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .6s ease,
        visibility .6s ease;
}

.at-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.at-slide-picture,
.at-slide-picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.at-slide-picture img {
    object-fit: cover;
    object-position: center;
}

.at-slide.has-content::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgb(15 31 19 / 66%) 0%,
        rgb(15 31 19 / 28%) 43%,
        transparent 78%
    );
    content: "";
    pointer-events: none;
}

.at-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-block: 50px 100px;
    color: white;
}

.at-slide-copy {
    width: min(560px, 50%);
}

.at-slide-copy h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 550;
    line-height: 1.12;
    letter-spacing: -1.8px;
    overflow-wrap: anywhere;
}

.at-slide-copy p {
    max-width: 440px;
    margin: 22px 0 0;
    color: rgb(255 255 255 / 88%);
    font-size: 14px;
    line-height: 1.85;
    white-space: pre-line;
}

.at-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 48px;
    padding: 12px 20px;
    margin-top: 28px;
    border: 1px solid white;
    border-radius: 2px;
    background: white;
    color: #244f38;
    font-size: 12px;
    font-weight: 600;
}

.at-slide-button:hover {
    background: #f0f3e9;
    border-color: #f0f3e9;
}

.at-slide-button span {
    font-size: 18px;
}

.at-slider-bottom {
    position: absolute;
    right: 0;
    bottom: 27px;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    pointer-events: none;
}

.at-slider-dots,
.at-slider-controls {
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.at-slider-dots {
    flex-wrap: wrap;
    gap: 5px;
}

.at-slider-dots button {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
}

.at-slider-dots button::before {
    position: absolute;
    top: 15px;
    right: 3px;
    left: 3px;
    height: 3px;
    background: rgb(255 255 255 / 45%);
    box-shadow: 0 0 1px rgb(0 0 0 / 35%);
    content: "";
}

.at-slider-dots button.is-active::before {
    background: white;
    height: 4px;
}

.at-slider-controls {
    gap: 1px;
    background: white;
    color: #244f38;
}

.at-slider-count {
    padding-inline: 15px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.at-slider-count-separator {
    padding-inline: 5px;
    color: #a2a999;
}

.at-slider-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-left: 1px solid #edf0e7;
    background: white;
    color: #244f38;
}

.at-slider-controls button:hover {
    background: #f1f4ec;
}

.at-slider-controls svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.at-slider-controls .at-slider-playback {
    width: 65px;
    font-size: 10px;
}

.at-slider-controls [hidden] {
    display: none;
}

.at-slider :where(a, button):focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
    box-shadow: 0 0 0 5px #244f38;
}

@media (max-width: 760px) {
    .at-slider-stage {
        height: auto;
        aspect-ratio: 3 / 5;
    }

    .at-slide.has-content::after {
        background: linear-gradient(
            0deg,
            rgb(15 31 19 / 75%) 0%,
            rgb(15 31 19 / 30%) 52%,
            transparent 100%
        );
    }

    .at-slide-content {
        align-items: flex-end;
        padding-block: 25px 100px;
    }

    .at-slide-copy {
        width: 100%;
        max-width: 440px;
    }

    .at-slide-copy h2 {
        font-size: clamp(27px, 7.6vw, 42px);
        letter-spacing: -.9px;
    }

    .at-slide-copy p {
        margin-top: 13px;
        font-size: 12px;
        line-height: 1.7;
    }

    .at-slide-button {
        min-height: 43px;
        margin-top: 19px;
        padding: 9px 16px;
        font-size: 11px;
    }

    .at-slider-bottom {
        bottom: 15px;
        gap: 10px;
    }

    .at-slider-dots {
        max-width: 38%;
        gap: 1px;
    }

    .at-slider-dots button {
        width: 24px;
        height: 30px;
    }

    .at-slider-count {
        padding-inline: 10px;
        font-size: 10px;
    }

    .at-slider-controls button {
        width: 35px;
        height: 38px;
    }

    .at-slider-controls .at-slider-playback {
        width: 54px;
        font-size: 9px;
    }
}

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

.at-slide-full-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

.at-slide-full-link:focus-visible {
    outline: 3px solid white;
    outline-offset: -7px;
    box-shadow: inset 0 0 0 8px #244f38;
}

/* Slayt metni tam alan bağlantısının altında kalır. */
.at-slide-content {
    pointer-events: none;
}

/* Görünen buton kendi bağlantısını kullanmaya devam eder. */
.at-slide-button {
    pointer-events: auto;
}