.main-container {
    overflow-x: hidden;
}

.other-news-block {
    padding: var(--space-80) var(--space-36) var(--space-64);

    .inner-container {
        max-width: 1296px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: var(--space-48);

        .title-controls {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-32);

            h2 {
                color: var(--text-primary);
                font-family: BOG, sans-serif;
                font-size: 32px;
                font-style: normal;
                font-weight: 700;
                line-height: 48px;
            }

            .description-controls {
                width: 100%;
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
                gap: var(--space-24);

                .description {
                    color: var(--text-primary);
                    text-align: center;
                    font-family: BOG, sans-serif;
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 30px;
                    width: 100%;
                }

                .controls {
                    display: flex;
                    align-items: center;
                    width: fit-content;
                    gap: var(--space-24);
                    flex-shrink: 0;

                    &.controls-hidden {
                        visibility: hidden;
                    }

                    .prev,
                    .next {
                        padding: 20px;
                        border-radius: var(--border-radius-circle);
                        background-color: var(--invert-component-tr-80);
                        cursor: pointer;
                        border: none;
                        overflow: hidden;

                        &.active {
                            background-color: var(--invert-component-tr-70);
                        }

                        &.swiper-button-disabled {
                            opacity: 0.5;
                            cursor: not-allowed;
                        }

                        svg {
                            width: 16px !important;
                            height: 16px !important;
                            color: var(--invert-component-tr-50) !important;
                        }
                    }
                }
            }
        }

        .news-container {
            position: relative;
            width: 100%;
            overflow: visible;
            -ms-overflow-style: none;
            scrollbar-width: none;

            &::-webkit-scrollbar {
                display: none;
            }

            .news-list {
                display: flex;
                -ms-overflow-style: none;
                scrollbar-width: none;
                padding: 0;

                &::-webkit-scrollbar {
                    display: none;
                }

                .news-card {
                    display: flex;
                    flex-direction: column;
                    gap: var(--space-24);
                    height: auto;
                    min-height: 100%;
                    width: 410px;
                    overflow: hidden;
                    border-radius: var(--border-radius-20);
                    border: 1px solid var(--border-01);
                    background-color: var(--layer-01);

                    .card-media {
                        img {
                            width: 100%;
                            height: 230px;
                            object-fit: cover;
                            object-position: center;
                        }
                    }

                    .card-content {
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        gap: var(--space-16);
                        padding: 0 var(--space-32) var(--space-32);

                        .card-inner-content {
                            .card-tax-date {
                                display: flex;
                                gap: var(--space-12);
                                align-items: center;
                                margin-bottom: var(--space-16);

                                .card-category {
                                    padding: var(--space-4) var(--space-8);
                                    text-align: center;
                                    max-width: 320px;
                                    width: fit-content;
                                    border-radius: var(--border-radius-100);
                                    background: var(--status-info-01);
                                    color: var(--text-primary);
                                    font-family: BOG, sans-serif;
                                    font-size: 10px;
                                    font-style: normal;
                                    font-weight: 500;
                                    line-height: 16px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                }

                                .card-date {
                                    color: var(--text-helper);
                                    font-family: BOG, sans-serif;
                                    font-size: 12px;
                                    font-style: normal;
                                    font-weight: 500;
                                    line-height: 20px;
                                    text-wrap: nowrap;
                                }
                            }

                            .card-title {
                                color: var(--text-primary);
                                font-family: BOG, sans-serif;
                                font-size: 16px;
                                font-style: normal;
                                font-weight: 600;
                                line-height: 24px;
                                display: -webkit-box;
                                -webkit-line-clamp: 3;
                                -webkit-box-orient: vertical;
                                overflow: hidden;
                                text-overflow: ellipsis;
                            }
                        }

                        .card-link-button {
                            height: fit-content;
                            width: fit-content;
                            color: var(--button-text-low);
                            font-family: BOG, sans-serif;
                            font-size: 13px;
                            font-style: normal;
                            font-weight: 500;
                            line-height: 19px;
                            padding: var(--space-4) var(--space-8) var(--space-4) 0;
                        }
                    }
                }
            }
        }

        .news-view-more {
            .button {
                display: flex;
                padding: var(--space-20) var(--space-32);
                justify-content: center;
                align-items: center;
                border-radius: var(--border-radius-8);
                background: var(--button-primary);
                width: fit-content;
                margin: 0 auto;

                color: var(--text-white);
                font-family: BOG Headline, sans-serif;
                font-size: 12px;
                font-style: normal;
                font-weight: 500;
                line-height: 18px;
                text-transform: uppercase;
            }
        }
    }
}

@media (max-width: 1024px) {
    .other-news-block .inner-container {
        .title-controls {
            gap: var(--space-24);

            .description-controls .controls {
                .prev,
                .next {
                    padding: var(--space-12);
                }
            }
        }

        .news-container .news-list {
            .news-card {
                max-width: 337px;
            }
        }
    }
}

@media (max-width: 768px) {
    .other-news-block {
        padding: var(--space-80) var(--space-28) var(--space-64);

        .inner-container {
            .title-controls {
                h2 {
                    width: 100%;
                    text-align: center;
                }

                .description-controls .controls {
                    display: none;
                }
            }

            .news-container .news-list {
                .news-card {
                    max-width: 320px;
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .other-news-block {
        padding: var(--space-48) var(--space-24);

        .inner-container {
            gap: var(--space-32);

            .title-controls {
                h2 {
                    font-size: 22px;
                    line-height: 34px;
                }

                .description-controls {
                    .description {
                        font-size: 16px;
                        line-height: 24px;
                        font-weight: 400;
                    }
                }
            }

            .news-container .news-list .news-card {
                max-width: 288px;

                .card-content {
                    padding: 0 var(--space-24);
                }
            }
        }
    }
}