.promo h1 {
    margin-bottom: 50px;
}
.page-content {
    .filter {
        position: relative;
        display: grid;
        grid-template-rows: max-content 0fr;
        transition: grid-template-rows .3s linear;
        padding: 15px 20px;
        margin-bottom: 40px;
        border: 1px solid var(--2);
        &:has(> label input:checked) {
            grid-template-rows: max-content 1fr;
        }
        >label {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--5);
            font-weight: 300;
            letter-spacing: -0.2px;
            cursor: pointer;
            input {
                position: absolute;
                z-index: -11;
                opacity: 0;
            }
            span {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                width: 20px;
                height: 20px;
                transition: background-color .3s linear;
                color: inherit;
                &::before {
                    content: '\e908';
                    font: 100 10px / 1 icon;
                    transition: transform .3s linear;
                }
            }
            &:has(input:checked) {
                color: var(--2);
                span {
                    background-color: var(-2);
                    &::before {
                        transform: rotate(180deg);
                    }
                }
            }
        }
        .filter-body {
            display: flex;
            flex-direction: column;
            gap: 20px;
            overflow: hidden;
            >*:first-child {
                margin-top: 20px;
            }
            fieldset {
                border: none;
                padding-bottom: 20px;
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                legend {
                    margin-bottom: 10px;
                    font-weight: 700;
                    line-height: 1.4;
                    letter-spacing: 0.2px;
                }
                >div {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    max-height: 200px;
                    overflow-y: auto;
                    padding-right: 4px;
                }
                &.year>div {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    >* {
                        width: fit-content;
                    }
                }
            }
        }
        .red-btn {
            width: 100%;
        }
    }
    .links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
        a {
            padding: 4px 10px;
            font-size: 14px;
            font-weight: 300;
            letter-spacing: 0.2px;
            color: var(--2);
            background-color: var(--f5);
            transition: background-color .3s linear, color .3s linear;
        }
    }
    button[type="reset"] {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--5);
        width: 100%;
        height: 50px;
        font-size: 14px;
        font-weight: 300;
        text-decoration: underline;
        border: none;
        background: none;
        transition: color .3s linear;
    }
    .news-list {
        .list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            container: list / inline-size;
            .item {
                display: grid;
                grid-template-columns: 1fr;
                gap: 20px;
                &:has(.image) {
                    height: 280px;
                    grid-template-columns: .56fr .44fr;
                }
                .image {
                    height: 100%;
                    a {
                        position: relative;
                        display: flex;
                        width: 100%;
                        height: 100%;
                    }
                    img {
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        object-position: top center;
                    }
                }
                .box {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    >a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: fit-content;
                        height: initial;
                        margin-top: auto;
                        padding: 7px 20px;
                        .text-h b {
                            display: flex;
                            align-items: center;
                            gap: 4px;
                            font-size: 14px;
                            &::after {
                                content: '\e904';
                                font: 100 11px/1 icon;
                                margin-top: 2px;
                            }
                        }
                    }
                }
                .title a {
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    line-clamp: 3;
                    -webkit-line-clamp: 3;
                    overflow: hidden;
                    font-size: 24px;
                    font-weight: 600;
                    line-height: 1;
                    letter-spacing: 0.2px;
                    color: var(--2);
                }
                .text {
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    line-clamp: 2;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    font-weight: 300;
                    letter-spacing: 0.2px;
                    color: var(--5);
                    * {
                        display: contents;
                        font-size: inherit;
                        line-height: inherit;
                        letter-spacing: inherit;
                        font-weight: inherit;
                        color: hsl(0, 0%, 33%);
                    }
                }
                .date {
                    font-size: 14px;
                    font-weight: 300;
                    letter-spacing: 0.2px;
                    color: var(--5);
                }
            }
        }
    }
}
.bg-box:has(.our-events) .bg {
    background: url(../images/news/slider-bg.webp) top center / cover;
}
.our-events {
    padding-block: 100px;
    h2 {
        color: var(--white);
    }
}
@media (max-width: 1080px) {
    .promo-box {
        padding-top: 70px;
        min-height: 0;
        .content nav {
            gap: 10px;
        }
        h1 {
            margin-bottom: 20px;
            font-size: 36px;
            line-height: 36px;
            max-width: 700px;
        }
    }
}
@container list (max-width: 780px) {
    .page-content .news-list .list .item {
        display: flex;
        flex-direction: column;
        &:has(.image) {
            height: initial;
        }
        .image {
            min-height: 250px;
        }
    }
}
@media (max-width: 768px) {
    .promo-box {
        .content {
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }
    .promo .content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        a span,
        a.news span {
            max-width: initial;
        }
    }
}
@media (hover:hover) {
    .page-content {
        button[type="reset"]:hover {
            color: var(--2);
        }
        .links a:hover {
            background-color: var(--2);
            color: var(--white);
        }
    }
}