.main__subpage {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.main__subpage-content {
    width: 100%;
    flex-shrink: 1;
}

.sidebar__outer {
    width: 300px;
    flex-shrink: 0;
}

.mobile-nav-toggle {
    display: none;
    width: 100%;
    background-color: var(--highlight-color);
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    text-align: left;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-toggle .chevron {
    fill: #ffffff;
    width: 12px;
    height: 8px;
    transition: transform 0.2s ease;
}

.mobile-nav-toggle.active .chevron {
    transform: rotate(180deg);
}

.sidebar {
    width: 100%;
    font-family: "InstrumentSans-Regular";
    border-top: 1px solid #d3efff;
}

.sidebar-item {
    border-bottom: 1px solid #d3efff;
}

.sidebar-header {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--highlight-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.chevron {
    width: 10px;
    height: 6px;
    margin-right: 8px;
    fill: var(--highlight-color);
    transition: all 0.2s ease;
}

.sidebar-item.active .sidebar-header {
    background-color: var(--highlight-color);
    color: #ffffff;
    border-radius: 4px;
}

.sidebar-item.active .chevron {
    transform: rotate(180deg);
    fill: #ffffff;
}

.sidebar-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.sidebar-content>* {
    min-height: 0;
    overflow: hidden;
}

.sidebar-item.active .sidebar-content {
    grid-template-rows: 1fr;
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 6px 20px 6px 28px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #f0f8ff;
}

.sidebar-link.active {
    color: var(--highlight-color);
}

.chevron-right {
    width: 9px;
    height: 6px;
    margin-right: 10px;
    fill: var(--highlight-color);
    transform: rotate(-90deg);
}

@media (max-width: 993px) {
    .main__subpage {
        flex-direction: column;
    }

    .main__subpage {
        gap: 60px;
    }

    .sidebar__outer {
        width: 100%;
        margin-top: -45px;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .sidebar {
        display: none;
    }

    .sidebar.mobile-open {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }
}

@media (max-width: 576px) {
    .sidebar__outer {
        padding: 0 15px;
    }
}

@media (max-width: 400px) {
    .sidebar__outer {
        padding: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-news {
    padding: 125px 0;
}

@media (max-width: 991px) {
    .section-news {
        padding: 60px 0;
    }
}

.news2-item-title:not([href]) {
    color: var(--primary-color);
}

.news2-item-header:not([href])::after {
    content: none;
}