.sipo-home-latest-slider,
.sipo-home-latest-grid {
    box-sizing: border-box;
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
    color: #063f37;
    font-family: inherit;
}

.sipo-home-latest-slider {
    margin-top: 28px;
    margin-bottom: 18px;
}

.sipo-home-latest-slider__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.sipo-home-latest-slider__topline h2,
.sipo-home-latest-grid__heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
}

.sipo-home-latest-slider__controls {
    display: flex;
    gap: 8px;
}

.sipo-home-latest-slider__button,
.sipo-home-latest-slider__dot {
    border: 1px solid rgba(6, 63, 55, 0.22);
    background: #ffffff;
    color: #063f37;
    cursor: pointer;
}

.sipo-home-latest-slider__button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}

.sipo-home-latest-slider__button:focus-visible,
.sipo-home-latest-slider__dot:focus-visible,
.sipo-home-latest-slide__link:focus-visible,
.sipo-home-latest-card a:focus-visible {
    outline: 3px solid #00a37a;
    outline-offset: 3px;
}

.sipo-home-latest-slider__viewport {
    overflow: hidden;
    border-radius: 18px;
    background: #0b3d35;
}

.sipo-home-latest-slider__track {
    display: flex;
    transition: transform 420ms ease;
    will-change: transform;
}

.sipo-home-latest-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 260px;
    background-color: #0b3d35;
    background-position: center;
    background-size: cover;
}

.sipo-home-latest-slide.is-fallback {
    background:
        linear-gradient(135deg, #0b3d35 0%, #137d69 58%, #f2c66d 100%);
}

.sipo-home-latest-slide__link {
    position: relative;
    display: block;
    min-height: 260px;
    color: #ffffff;
    text-decoration: none;
}

.sipo-home-latest-slide__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 31, 0.58);
}

.sipo-home-latest-slide__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    max-width: 720px;
    padding: 34px;
}

.sipo-home-latest-slide__label {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #bdeee2;
}

.sipo-home-latest-slide__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
}

.sipo-home-latest-slide__date {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
}

.sipo-home-latest-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.sipo-home-latest-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
}

.sipo-home-latest-slider__dot[aria-selected="true"] {
    background: #00a37a;
    border-color: #00a37a;
}

.sipo-home-latest-grid {
    margin-top: 72px;
    margin-bottom: 72px;
}

.sipo-home-latest-grid__heading {
    margin-bottom: 28px;
}

.sipo-home-latest-grid__heading p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.7;
}

.sipo-home-latest-grid__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.sipo-home-latest-card {
    min-width: 0;
}

.sipo-home-latest-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #eff7f2;
}

.sipo-home-latest-card__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sipo-home-latest-card__fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #0b3d35;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0;
}

.sipo-home-latest-card h3 {
    margin: 18px 0 8px;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

.sipo-home-latest-card h3 a {
    color: #006a8a;
    text-decoration: none;
}

.sipo-home-latest-card h3 a:hover {
    text-decoration: underline;
}

.sipo-home-latest-card time {
    color: #666666;
    font-size: 13px;
}

.sipo-home-latest-grid__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 42px;
    padding: 0 24px;
    border-radius: 999px;
    background: #33383d;
    color: #ffffff;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .sipo-home-latest-slider__track {
        transition: none;
    }
}

@media (max-width: 820px) {
    .sipo-home-latest-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sipo-home-latest-slider,
    .sipo-home-latest-grid {
        padding-right: 18px;
        padding-left: 18px;
    }

    .sipo-home-latest-slider {
        margin-top: 20px;
    }

    .sipo-home-latest-slide,
    .sipo-home-latest-slide__link,
    .sipo-home-latest-slide__content {
        min-height: 230px;
    }

    .sipo-home-latest-slide__content {
        padding: 24px;
    }

    .sipo-home-latest-slide__title {
        font-size: 21px;
    }

    .sipo-home-latest-grid__items {
        grid-template-columns: 1fr;
    }
}
