.navigation-component {
    width: 100%;
    height: 105px;
    min-height: 100%;
    margin: 0 auto;
    background-color: #F3FAFF;
    padding: 20px 40px;
}
.nav-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
}
.nav-content-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 24px;
    min-height: 100%;
}
.nav-content-top-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;

}
.nav-content-top-main img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}
.nav-content-top-main p {
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
    text-decoration: underline;
}
.nav-content-top-img {
    width: 13px;
    height: 13px;
    object-fit: cover;
}
.nav-content-top-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
}
.nav-underline {
    font-weight: 600;
    color: #08487C;
    text-decoration: underline;
}
.nav-content-bottom p {
    font-size: 30px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
    text-transform: uppercase;
    padding: 0 8px;
}

.library-rules-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 2px;
}
.library-rules-content-left-item.active{
    background-color: #08487C;
}
.library-rules-content-left-item.active p {
   color: #FFFFFF;
}
.library-rules-content-left-item {
    width: 325px;
    height: 73px;
    background-color: #F3FAFF;
    padding: 20px 40px;
}
.library-rules-content-left-item p {
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
}
.library-rules-content-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.library-rules-content-right {
    background-color: #F3FAFF;
    padding: 40px;
    width: 690px;
    height: 100%;
    min-height: 301px;
}
.library-rules-content-right ul li {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
}
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
.sovet-page-section {
    padding: 40px;
}
.sovet-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}
.sovet-top-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #000000;
}
.sovet-top-text span {
    font-weight: 700;
}
.sovet-bottom-articles {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}
.sovet-bottom-articles h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
}
.sovet-article-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sovet-article-card {
    width: 100%;
    max-width: 310px;
}
.sovet-article-card span {
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #666666;
}
.sovet-article-card h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 0;
    color: #08487C;
    text-decoration: underline;
}
.sovet-article-card h5:hover {
    cursor: pointer;
    text-decoration: none;
}
.sovet-pagination-btn {
    width: 32px;
    height: 32px;
    background-color: #B8A05E !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 70%;
    text-decoration: none;
}
.sovet-pagination-item {
    width: 32px;
    height: 32px;
    border: 1px solid #D9D9D9 !important;
    border-radius: 4px;
    background-color: #FFFFFF !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0%;
    margin-bottom: 0;
    text-decoration: none;
}
.sovet-pagination-item.active {
    border: 1px solid #B8A05E !important;
    color: #B8A05E !important;
}
.sovet-pagination-btn.active {
    opacity: 100%;
    border-color: transparent;
}
.sovet-pagination-item:hover {
    border: 1px solid #B8A05E !important;
    color: #B8A05E !important;
}
.sovet-pagination-btn:hover {
     opacity: 100%;
}
.sovet-pagination-btn.disabled {
     opacity: 30%;
}
@media (max-width:1280px) {
    .container {
      max-width: 100% !important;
      padding: 0 !important;
    }
    .nav-content-top-main img {
      width: 22px;
      height: 22px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle {
      font-size: 12px;
    }
    .nav-content-top-img {
      width: 11px;
      height: 11px;
    }
    .nav-content-bottom p {
      font-size: 28px;
    }
    .nav-content {
      gap: 10px;
    }
    .navigation-component {
      height: 100%;
      padding: 16px 36px;
    }
    .library-rules-content-left-item {
        width: 100%;
        height: 68px;
        padding: 18px 38px;
    }
    .library-rules-content-right {
        width: 100%;
        padding: 35px;
    }
    .library-rules-content-right ul li, .library-rules-content-left-item p, .sovet-top-text p, .sovet-article-card h5 {
        font-size: 14px;
    }
    .sovet-page-section {
        padding: 30px;
    }
    .sovet-content {
        gap: 30px;
    }
    .sovet-middle-tabs {
        width: 100%;
    }
    .sovet-bottom-articles h4 {
        font-size: 22px;
    }
    .sovet-bottom-articles {
        gap: 20px;
    }
    .sovet-article-cards {
        gap: 15px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width:768px) {
   .nav-content-top-main img {
        width: 19px;
        height: 19px;
    }
    .nav-content-top-main {
        gap: 5px;
        padding: 10px 5px;
    }
    .nav-content-top-img {
        width: 9px;
        height: 9px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle {
        font-size: 10px;
    }
    .nav-content-top {
        gap: 10px;
    }
    .nav-content {
        gap: 5px;
    }
    .navigation-component {
        height: 100%; 
        padding: 15px 20px;
    }
    
    .nav-content-bottom p {
        font-size: 24px; 
        padding: 0 5px;
    }
    .nav-content-top-main p, .nav-content-top-subtitle, .sovet-article-card span {
       font-size: 12px;
    }
    .sovet-page-section {
        padding: 20px;
    }
    .library-rules-content-right ul li, .library-rules-content-left-item p, .sovet-top-text p, .sovet-article-card h5 {
        font-size: 12px;
    }
    .library-rules-content {
        flex-direction: column;
        align-items: center;
    }
    .library-rules-content-left {
        width: 100%;
    }
    .library-rules-content-left-item {
        height: 56px;
        padding: 22px 18px;
    }
    .library-rules-content-right {
        padding: 15px 10px;
        min-height: 0;
    }
    .sovet-bottom-articles h4 {
        font-size: 20px;
    }
    .sovet-bottom-articles {
        gap: 10px;
    }
    .sovet-pagination-item {
        font-size: 11px !important;
    }
}
@media (max-width: 480px) {
    .nav-content-top-main p, .nav-content-top-subtitle {
        font-size: 10px;
    }
    .nav-content-bottom p {
        font-size: 18px;
    }
    .nav-content-top-main img {
        width: 17px;
        height: 17px;
    }
    .nav-content-top-img {
        width: 7px;
        height: 7px;
    }
    .nav-content-top {
        gap: 5px;
    }
    .navigation-component {
        padding: 10px 15px;
    }
    .sovet-page-section {
        padding: 10px
    }
}