body.slider-moderno-active .site-page {
    padding-top: var(--atb-header-layout-height);
}

.home-editorial-slider {
    padding: 48px 0 34px;
    background: #f5f3ed;
    color: #202b2b;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.home-editorial-slider [hidden] {
    display: none;
}

.home-editorial-slider__inner {
    width: min(1170px, calc(100% - 30px));
    margin: 0 auto;
}

.home-editorial-slider__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    aspect-ratio: 2.35 / 1;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 60px rgba(28, 42, 39, .06);
}

.home-editorial-slider__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #d5d7d0;
}

.home-editorial-slider__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    transition: opacity 1.05s ease, transform 6s linear;
}

.home-editorial-slider__photo.is-visible {
    opacity: 1;
    transform: scale(1);
}

.home-editorial-slider__shade {
    position: absolute;
    inset: 45% 0 0;
    /*background: linear-gradient(transparent, rgba(0, 0, 0, .38));*/
    pointer-events: none;
}

.home-editorial-slider__caption {
    position: absolute;
    bottom: 30px;
    left: 28px;
    max-width: 65%;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    text-shadow: 0 1px 4px #0008;
}

.home-editorial-slider__photo-controls {
    position: absolute;
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
}

.home-editorial-slider__photo-controls button,
.home-editorial-slider__chapter-controls button {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ffffff90;
    border-radius: 50%;
    background: #0003;
    color: inherit;
    cursor: pointer;
    place-items: center;
}

.home-editorial-slider__photo-controls button:hover,
.home-editorial-slider__photo-controls button:focus-visible {
    background: #0008;
    outline: none;
}

.home-editorial-slider__photo-controls svg,
.home-editorial-slider__chapter-controls svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.home-editorial-slider__photo-controls span {
    min-width: 35px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.home-editorial-slider__copy {
    display: flex;
    min-width: 0;
    padding: clamp(26px, 3vw, 40px) clamp(22px, 3vw, 38px) clamp(20px, 2.6vw, 34px);
    background: #fff;
    flex-direction: column;
}

.home-editorial-slider__count {
    margin: 0;
    color: #a1aaa7;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-editorial-slider__pretitle {
    margin: clamp(13px, 1.5vw, 20px) 0 6px;
    color: #008f91;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.home-editorial-slider__title {
    margin: 0 0 14px;
    color: #202b2b;
    font-size: clamp(29px, 3.05vw, 43px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.09;
}

.home-editorial-slider__description {
    max-width: 440px;
    color: #52605f;
    font-size: clamp(16px, 1.28vw, 17px);
    line-height: 1.6;
}

.home-editorial-slider__description p {
    margin: 0 0 8px;
}

.home-editorial-slider__description p:last-child {
    margin-bottom: 0;
}

.home-editorial-slider__cta {
    display: inline-flex;
    align-self: flex-start;
    gap: 7px;
    margin-top: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    color: #008f91;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.home-editorial-slider__cta:hover,
.home-editorial-slider__cta:focus-visible {
    color: #005b5d;
    outline: none;
}

.home-editorial-slider__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.home-editorial-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-editorial-slider__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd3d0;
    cursor: pointer;
}

.home-editorial-slider__dots button.is-active {
    width: 25px;
    border-radius: 5px;
    background: #008f91;
}

.home-editorial-slider__dots button:focus-visible {
    outline: 2px solid #008f91;
    outline-offset: 3px;
}

.home-editorial-slider__chapter-controls {
    display: flex;
    gap: 8px;
    color: #202b2b;
}

.home-editorial-slider__chapter-controls button {
    border-color: #d9ded9;
    background: #fff;
}

.home-editorial-slider__chapter-controls button:hover,
.home-editorial-slider__chapter-controls button:focus-visible {
    border-color: #008f91;
    color: #008f91;
    outline: none;
}

.home-editorial-slider__under {
    display: flex;
    justify-content: flex-end;
    padding: 17px 2px 0;
}

.home-editorial-slider__under button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #5b7774;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 850px) {
    .home-editorial-slider { padding-top: 34px; }
    .home-editorial-slider__hero { grid-template-columns: 1fr; aspect-ratio: auto; }
    .home-editorial-slider__visual { aspect-ratio: 4 / 3; }
    .home-editorial-slider__copy { min-height: 340px; padding: 36px; }
}

@media (max-width: 520px) {
    .home-editorial-slider { padding: 30px 0; }
    .home-editorial-slider__inner { width: min(100% - 24px, 680px); }
    .home-editorial-slider__visual { aspect-ratio: 4 / 3; }
    .home-editorial-slider__copy { min-height: 355px; padding: 30px 25px 25px; }
    .home-editorial-slider__pretitle { margin-top: 22px; font-size: 23px; }
    .home-editorial-slider__title { font-size: clamp(31px, 9vw, 38px); }
    .home-editorial-slider__description { font-size: 15px; }
    .home-editorial-slider__caption { bottom: 22px; left: 16px; }
    .home-editorial-slider__photo-controls { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-editorial-slider__photo { transition-duration: 1ms; }
}
