body{
    background-color: #F4F4F4;
}
section{
    background-color: white;
    border-radius: 24px;
    margin: 24px 0;
    padding-top: 32px;
    padding-right: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    border-radius: 24px;
}
header{
    background-color: white;
}
.news-section .text-muted{
    font-family: Manrope;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%;

    color:#9F9F9F!important;
}
.news-section .card .card-title{
    font-family: Manrope;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 3%;
    color: #0A0D0F; 
    min-height: 66px;
}

.news-section .card .card-title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news-section .main-card-news{
    background-color: #F9F9F9; 
}
.news-section .main-card-news .card-title{
    font-family: Manrope;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 3%;   
}
.news-section .main-card-news .card-body{
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 16px;
    padding-left: 20px;
}
.news-section .button-all-news a{ 
    gap: 8px;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 12px;
    padding-left: 20px;
    border-radius: 8px;
    border-width: 1px; 
    font-family: Manrope;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 2%;
    border:1px solid #E2E3E4;
    font-family: Manrope;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 2%;
}
.all-announcements{
    font-family: Manrope;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 2%;
    border: 1px solid #E2E3E4;
    border-radius: 8px!important;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 12px;
    padding-left: 20px;
    margin-right:30px;
    color: #0A0D0F;
}
.all-announcements:hover{
    background-color: #3A86F8;
    color: white;
    border-color: #3A86F8;
}
.all-announcements:hover svg path{ 
    stroke: white;
}
.carousel-next:hover svg path{ 
    stroke: white;
}
.carousel-prev:hover svg path{
    stroke: white;
}
.help-carousel-next:hover svg path{
    stroke: white;
}
.help-carousel-prev:hover svg path{
    stroke: white;
}
.photo-carousel-next:hover svg path{
    stroke: white;
}
.photo-carousel-prev:hover svg path{
    stroke: white;
}
.video-carousel-next:hover svg path{
    stroke: white;
}
.video-carousel-prev:hover svg path{
    stroke: white;
}
.announcements-section .card-body .card-title{
    font-family: Manrope;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 3%;
    color: #3A86F8;
}
.announcements-section .card-body .text-muted{
    font-family: Manrope;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%; 
    color: #9F9F9F!important;

}
.activities-section .col-md-3{
    min-height: 132px;
}

.activities-section .col-md-3 .card-body{
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
.activities-section .col-md-3:hover .card{
    background-color: #3A86F8!important;
    color: white!important;
    border-color: #3A86F8!important;
}
.activities-section .col-md-3:hover svg path{ 
    stroke: white;
}
.useful-links-section .card-title { 
    font-family: Manrope;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    color: #0A0D0F;

}
.useful-links-section .text-muted{
    color: #9F9F9F!important;
    text-decoration: none;
}
.useful-links-section .text-muted:hover{
    color: #3A86F8!important; 
} 
.help-section .card-title{
    font-family: Manrope;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 3%;    
    color: #0A0D0F;
}
.help-section p{
    font-family: Manrope;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%;    
    color: #9F9F9F;
} 
.help-section .card-body .row{
    background-color: #F9F9F9;
}
.media-section{
    background-color: inherit;
} 
.media-section .card-body .text-muted{
    font-family: Manrope;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #9F9F9F;
}
footer .fw-bold{
    font-family: Manrope;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 2%;
}
footer .logo-text{ 
    font-family: 'Manrope', sans-serif;
    margin-left: 10px;
    font-weight: 600;
}

/* Добавляем стили для активного элемента в боковой панели страниц */
.active-page > a {
    color: #3A86F8 !important;
    font-weight: 500;
}

.sidebar .list-unstyled li {
    position: relative;
    padding: 5px 0;
}

.sidebar .list-unstyled li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.sidebar .list-unstyled li a:hover {
    color: #3A86F8;
}

.sidebar .fw-bold {
    font-weight: 600 !important;
}

.sidebar .card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
    overflow: hidden;
}

.sidebar .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.sidebar .card-header h5 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 16px;
}

/* Стиль для вложенного уровня страниц */
.sidebar .list-unstyled .list-unstyled {
    margin-top: 8px !important;
    padding-left: 15px !important;
    border-left: 2px solid #e9ecef !important;
}

.sidebar .list-unstyled .list-unstyled li {
    padding: 3px 0;
}

/* Индикатор активной страницы */
.sidebar li.active-page {
    background-color: rgba(58, 134, 248, 0.05);
    border-left: 3px solid #3A86F8;
    margin-left: -12px;
    padding-left: 9px;
    border-radius: 0 4px 4px 0;
}

/* Стили для чекбоксов в боковой панели */
.list-group-checkable {
    display: grid;
    gap: 0.5rem;
    border-radius: 0.5rem;
}

.list-group-checkable .list-group-item {
    cursor: pointer;
    border-radius: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    border: 1px solid rgba(227, 230, 232, 0.8);
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease-in-out;
}

.list-group-checkable .list-group-item:hover {
    border-color: #3A86F8; 
}

.list-group-checkable .list-group-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.list-group-item-check:checked + .list-group-item {
    background-color: rgba(58, 134, 248, 0.08);
    border-color: #3A86F8;
    box-shadow: 0 0 0 0.15rem rgba(58, 134, 248, 0.25);
    color: #3A86F8;
    font-weight: 500;
}

.list-group-checkable label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.list-group-checkable .small {
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

/* Стили для списка элементов */
.list-group {
    --bs-list-group-color: var(--bs-body-color);
    --bs-list-group-bg: var(--bs-body-bg);
    --bs-list-group-border-color: var(--bs-border-color);
    --bs-list-group-border-width: var(--bs-border-width);
    --bs-list-group-border-radius: var(--bs-border-radius);
    --bs-list-group-item-padding-x: 1rem;
    --bs-list-group-item-padding-y: 0.5rem;
    --bs-list-group-action-color: var(--bs-secondary-color);
    --bs-list-group-action-hover-color: var(--bs-emphasis-color);
    --bs-list-group-action-hover-bg: var(--bs-tertiary-bg);
    --bs-list-group-action-active-color: var(--bs-body-color);
    --bs-list-group-action-active-bg: var(--bs-secondary-bg);
    --bs-list-group-disabled-color: var(--bs-secondary-color);
    --bs-list-group-disabled-bg: var(--bs-body-bg);
    --bs-list-group-active-color: #fff;
    --bs-list-group-active-bg: #4285F4;
    --bs-list-group-active-border-color: #4285F4;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: var(--bs-list-group-border-radius);
}
.list-group {
    max-width: 100%;
    margin: 0;
}

.list-group-checkable {
    display: grid;
    gap: .5rem;
    border: 0;
}

.list-group-checkable .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
}

.list-group-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.list-group-item-check:hover + .list-group-item {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.list-group-item-check:checked + .list-group-item {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.list-group-item-check:disabled + .list-group-item {
    pointer-events: none;
    opacity: .5;
}
.list-group-item-check:checked + .child-activity {
    background-color: rgba(var(--bs-primary-rgb), 0.15) !important;
    border-left-color: var(--bs-primary);
    color: var(--bs-primary) !important;
    font-weight: 500;
}
.list-group-item-child {
    margin-left: 20px;
    width: calc(100% - 20px)!important;
}