.t4-content {
    background-color: #F8F8F8;
}
.layout-home .t4-sticky.t4-palette-dark {
    color: #fff !important;
    }
#t4-header {
    transition: box-shadow 0.25s ease;
    background-color: #fff;
}
@media (max-width: 992px) {
#t4-header .logo-img-sm {
    display: block !important;
    position: fixed;
    top: 5px;
    max-width: 30px;
}
#t4-header .logo-img {
    display: none !important;
}
}
body.not-at-top #t4-header {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 15px 40px;
}
#t4-header.scrolled {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 15px 40px;
}
#t4-mainbody .t4-section-inner {
    background-color: #fff;
}
.t4-megamenu .navbar-nav>li>a, .t4-megamenu .navbar-nav>li>.nav-link {color: #284275;text-transform: uppercase;}
.t4-masthead {
    padding-left: 0;
    padding-right: 0;
}
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}
#t4-section-2 .container {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}
#t4-section-2 .t4-section-inner {
    max-width: fit-content;
}
#t4-section-6 .container {
    padding-top: 0 !important;
    padding-bottom: 20px !important;    
}
#t4-section-6 .section-6{
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    margin:75px auto 60px;
    background-color: #fff;
    border-radius: 18px;
}
#t4-section-6 .section-6 .category-module.mod-blog .mod-articles-category-title a{
    color: #1E3E84;
}
#t4-section-6 .category-module.mod-blog .mod-articles-category-title {
    text-transform: uppercase;
}
.bloger .category-module.mod-blog .item-image{
    max-width: 200px !important;
    float: left !important;
    margin-right: 15px !important;
}
#t4-section-6 .module-title {
    margin: 20px 0 20px;
    font-size: 32px;
    font-weight: 700;
    color: #143d82;
}
#t4-section-6 .module-inner {
    padding: 15px;
}
#t4-section-6 .mod-articles-category-introtext {
    color: #414141;
    font-style: italic;
}
#t4-section-6 .mod-articles-category-readmore a{
    color: #E7C100;
}
#t4-section-6 .category-module .mod-articles-category-writtenby {
    font-size: .725rem;
    text-transform: uppercase;
    color: #adb5bd;
}
#t4-section-6 .category-module .mod-articles-category-writtenby {
    font-size: .725rem;
    text-transform: uppercase;
    color: #adb5bd;
}
@media (max-width:992px){
    #t4-section-6 .container{
        max-width: fit-content;
    }
}
@media (max-width:992px){
    #t4-section-6 .section-6{
        margin:20px auto 20px;
    }
}
.t4-section-module .item-info {
    border-bottom: 1px solid #cfcfcf;
    padding: 15px 0;
}
.t4-section-module .mod-grid .row > div:last-child .item-info {
    border-bottom: none !important;
}
#t4-section-1 .t4-section-inner {
    padding-top: 0px; padding-bottom: 0;
}
#t4-section-2 .t4-section-inner {
    padding-top: 35px;
    padding-bottom: 0px;
    margin-bottom: -60px;
}
.services{
    max-width:1200px;
    margin:-60px auto 60px;
    background:#fff;
    border-radius:22px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    display:flex;
    overflow:hidden;
    position:relative;
    z-index:5;
}
#t4-section-2 .module-head-group{
    display:none;
}

#t4-section-2 .module-ct{
    flex:0 0 100%;
    max-width:100%;
}
#t4-mainbody .item-image img {
    max-width: 300px;
}
.services{
    display:grid;
    grid-template-columns:repeat(6, 1fr);

    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}
.services-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:35px 20px;

    text-align:center;

    text-decoration:none;
    color:inherit;

    border-right:1px solid #ececec;

    transition:.3s;
}

.services-item:last-child{
    border-right:none;
}

.services-item:hover{
    background:#f8fbff;
    text-decoration: none;
}

.icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#0b4ea2;
    font-size:36px;
    transition:.3s;
}

.services-item:hover .icon{
    transform:translateY(-5px);
}

.services-item h3{
    font-size:18px;
    font-weight:700;
    color:#133d82;
    margin-bottom:12px;
}

.services-item p{
    font-size:15px;
    color:#666;
    line-height:1.6;
}
@media (max-width:992px){

    .services{
        grid-template-columns:repeat(3,1fr);
    }

    .services-item{
        border-right:1px solid #ececec;
        border-bottom:1px solid #ececec;
    }

    .services-item:nth-child(3n){
        border-right:none;
    }

    .services-item:nth-last-child(-n+3){
        border-bottom:none;
    }

}
@media (max-width:576px){

    .services{
        grid-template-columns:repeat(2,1fr);
    }

    .services-item{
        border-right:1px solid #ececec;
        border-bottom:1px solid #ececec;
        padding: 10px 10px;
    }

    .services-item:nth-child(3n){
        border-right:1px solid #ececec;
    }

    .services-item:nth-child(2n){
        border-right:none;
    }

    .services-item:nth-last-child(-n+2){
        border-bottom:none;
    }
    .services-item .icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0px;
    }

}
.sidebar{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.sidebar-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 12px 35px rgba(13,58,122,.08);
}

.sidebar-card h2{
    margin:0 0 25px;
    font-size:32px;
    font-weight:700;
    color:#143d82;
}

.sidebar-card p{
    margin:0 0 30px;
    color:#455468;
    line-height:1.9;
    font-size:17px;
}

.btn-more{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:14px 26px;
    background:#0f4ca6;
    color:#fff;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.btn-more:hover{
    background:#0a3d86;
}

.btn-more span{
    font-size:20px;
}

/* ---------- */

.important-links{
    list-style:none;
    margin:0;
    padding:0;
}

.important-links li{
    margin-bottom:15px;
}

.important-links li:last-child{
    margin-bottom:0;
}

.important-links a{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 20px;

    background:#fff;

    border:1px solid #edf1f7;

    border-radius:12px;

    text-decoration:none;

    transition:.3s;
}

.important-links a:hover{
    background:#f7faff;
    border-color:#d8e7ff;
    transform:translateX(5px);
}

.left{
    display:flex;
    align-items:center;
    gap:15px;

    color:#1f2f45;
    font-size:16px;
    line-height:1.5;
}

.left i{
    width:24px;
    text-align:center;

    color:#0d4ea2;

    font-size:20px;
}

.important-links span{
    color:#0d4ea2;
    font-size:22px;
}
@media (min-width: 992px) {
    .nav-breakpoint-lg .t4-megamenu .navbar-nav>li>a, .nav-breakpoint-lg .t4-megamenu .navbar-nav>li>.nav-link {
        padding: 2.875rem 0.25em 1.875rem 0.25em;
    }
}
.t4-megamenu .navbar-nav>li>a .item-caret::before, .t4-megamenu .navbar-nav>li>.nav-link .item-caret::before {
    border-top-color: #0c416e !important;
}
.t4-megamenu .navbar-nav>li>a{
    font-size: 14px;
}
.t4-megamenu .navbar-nav>li>a:hover {
    color: #0d4ea2 !important;
}
.t4-megamenu .navbar-nav>li.active>a, .t4-megamenu .navbar-nav>li.active>.nav-link {
    color: #0d4ea2 !important;
    border-bottom: none;
    text-decoration: underline;
}
.t4-megamenu .navbar-nav>li.show>a, .t4-megamenu .navbar-nav>li.show>.nav-link, .t4-megamenu .navbar-nav>li:hover>a, .t4-megamenu .navbar-nav>li:hover>.nav-link {
    color: #0d4ea2 !important;
    border-bottom: none;
    text-decoration: underline;
}
.logo-img {
    min-width: 340px;
}
@media (min-width: 992px) {
    .nav-breakpoint-lg #t4-header .logo {
        display: block;
        width: inherit;
        position: absolute;
    }
    #t4-header {
        height: 102px;
    }
}
.t4-offcanvas-toggle i, .navbar-toggler i {
    font-size: 22px;
    color: #133d82;
}
#t4-topbar {
    background: #0d2d5c;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

#t4-topbar .t4-section-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
}

#t4-topbar .custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
    flex-wrap: wrap;
}

#t4-topbar .custom span {
    display: flex;
    align-items: center;
    color: #fff;
    white-space: nowrap;
    font-weight: 400;
}

#t4-topbar a {
    color: #fff;
    text-decoration: none;
    transition: .25s;
}

#t4-topbar a:hover {
    color: #ffd54d;
}

@media (max-width: 991px) {

    #t4-topbar .custom {
        justify-content: center;
        gap: 12px;
        padding: 8px 0;
    }

    #t4-topbar .custom span {
        width: 100%;
        justify-content: center;
    }

}
.not-at-top .t4-sticky.t4-palette-dark {
    background-color: #fff;
}

/* =========================================================
   ТАБЛИЦІ ЗАКЛАДІВ ОСВІТИ
   Стиль сайту Відділу освіти
   ========================================================= */

.edu-table-wrap {
    width: 100%;
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(23, 59, 115, 0.08);
    -webkit-overflow-scrolling: touch;
}

.edu-table {
    width: 100%;
    min-width: 950px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    color: #4d596b;
    font-size: 15px;
    line-height: 1.55;
}

/* Заголовок */

.edu-table thead th {
    padding: 17px 16px;
    background: #244a82;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    vertical-align: middle;
    border: 0;
    letter-spacing: 0.2px;
}

.edu-table thead th:first-child {
    border-radius: 16px 0 0 0;
}

.edu-table thead th:last-child {
    border-radius: 0 16px 0 0;
}

/* Номер */

.edu-table-number {
    width: 55px;
    min-width: 55px;
    text-align: center !important;
    color: #244a82;
    font-weight: 700;
}

/* Номер у заголовку */

.edu-table thead .edu-table-number {
    color: #fff;
}

/* Рядки */

.edu-table tbody td {
    padding: 20px 16px;
    border: 0;
    border-bottom: 1px solid #e8edf4;
    vertical-align: top;
    background: #fff;
}

.edu-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Чергування рядків */

.edu-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

/* Ефект при наведенні */

.edu-table tbody tr {
    transition: all 0.2s ease;
}

.edu-table tbody tr:hover td {
    background: #f1f5fa;
}

.edu-table tbody tr:hover .edu-table-number {
    color: #e5b900;
}

/* Назва закладу */

.edu-table td strong {
    display: block;
    color: #243f70;
    font-weight: 700;
}

/* Посилання */

.edu-table a {
    color: #244f91;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edu-table a:hover {
    color: #e3b800;
    text-decoration: underline;
}

/* Порожні значення */

.edu-table-empty {
    color: #9ba5b3;
}

/* Трохи виділяємо email */

.edu-table td a[href^="mailto:"] {
    word-break: break-word;
}
/* =========================================================
   АДАПТИВНІСТЬ
   На телефоні таблиця перетворюється на картки
   ========================================================= */

@media (max-width: 1200px) {

    .edu-table-wrap {
        margin: 20px 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .edu-table {
        min-width: 0;
        width: 100%;
        display: block;
        background: transparent;
    }

    .edu-table thead {
        display: none;
    }

    .edu-table tbody {
        display: block;
    }

    .edu-table tbody tr {
        display: block;
        margin-bottom: 20px;
        padding: 5px 0;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 6px 25px rgba(23, 59, 115, 0.09);
        overflow: hidden;
    }

    .edu-table tbody tr:hover {
        transform: none;
    }

    .edu-table tbody td {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 11px 18px 11px 135px;
        position: relative;
        background: #fff !important;
        border-bottom: 1px solid #edf0f4;
        min-height: 24px;
        box-sizing: border-box;
    }

    .edu-table tbody td:last-child {
        border-bottom: 0;
    }

    .edu-table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 18px;
        top: 11px;
        width: 105px;
        color: #244a82;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 1.35;
    }

    .edu-table tbody .edu-table-number {
        width: 100%;
        text-align: left !important;
        padding: 14px 18px;
        background: #244a82 !important;
        color: #fff;
        font-size: 16px;
    }

    .edu-table tbody .edu-table-number::before {
        display: none;
    }

    .edu-table td strong {
        color: #243f70;
    }
}

/* Дуже вузькі екрани */

@media (max-width: 480px) {

    .edu-table tbody td {
        padding-left: 18px;
        padding-top: 8px;
    }

    .edu-table tbody td::before {
        position: static;
        display: block;
        width: auto;
        margin-bottom: 4px;
    }

    .edu-table tbody .edu-table-number {
        padding: 12px 18px;
    }
}

/* Таблиця працівників */
@media (min-width: 1200px) {
    .staff-table{
        table-layout:fixed;
    }

    .staff-table td:nth-child(1),
    .staff-table th:nth-child(1){
        width:25%;
    }

    .staff-table td:nth-child(2),
    .staff-table th:nth-child(2){
        width:25%;
    }

    .staff-table td:nth-child(3),
    .staff-table th:nth-child(3){
        width:50%;
    }

    .staff-table td{
        word-break:break-word;
    }

    .staff-table td:nth-child(3){
        line-height:1.7;
    }
}
/* Кнопки категорій */
.categories-list-btn .page-header h2 {
    margin: 0;
}

.categories-list-btn .page-header h2 a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 24px;
    margin-bottom: 18px;

    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;

    color: #1e2e5a;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(0,0,0,.05);

    transition: all .25s ease;
}
.categories-list-btn .article-aside {
    display: none;
}
.categories-list-btn .item-intro {
    display: none;
}

/* Іконка */
.categories-list-btn .page-header h2 a::before {
    content: "🎓";
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-right: 18px;

    background: #3a76ce;
    color: #fff;
    border-radius: 50%;

    font-size: 22px;

    flex-shrink: 0;
}

/* Стрілка */
.categories-list-btn .page-header h2 a::after {
    content: "➜";
    font-size: 24px;
    color: #f4b400;
    margin-left: auto;

    transition: transform .2s ease;
}

/* Hover */
.categories-list-btn .page-header h2 a:hover {
    background: #f8fbff;
    border-color: #1e3b73;
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.categories-list-btn .page-header h2 a:hover::after {
    transform: translateX(6px);
}
/* Заголовок категорії */
.category-title .page-header h3{
    margin:0;
}

.category-title .page-header h3 a{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:16px 24px;

    background:linear-gradient(90deg,#1e3b73,#2f5fb5);
    color:#fff;

    border-radius:16px;

    text-decoration:none;
    font-size:24px;
    font-weight:700;

    box-shadow:0 6px 18px rgba(30,59,115,.18);

    transition:.25s;
}

.category-title .page-header h3 a::before{
    content:"📂";
    margin-right:14px;
    font-size:22px;
}

.category-title .page-header h3 a:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(30,59,115,.28);
}
.com-content-category-blog.finance-page .page-header.item-title {
    margin: 0 0 18px;
}

.com-content-category-blog.finance-page .page-header.item-title h3 {
    margin: 0;
}

.com-content-category-blog.finance-page .page-header.item-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    background: #fff;
    border: 1px solid #d9e5df;
    border-radius: 16px;

    color: #23406b;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;

    box-shadow: 0 6px 18px rgba(0,0,0,.06);

    transition: .25s;
}

.com-content-category-blog.finance-page .page-header.item-title a::before {
    content: "💼";
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 18px;

    background: #62b267;
    color: #fff;
    border-radius: 50%;

    flex-shrink: 0;
}
.com-content-category-blog.finance-page .page-header.item-title a::after {
    content: "➜";
    margin-left: auto;
    color: #d89b00;
    font-size: 24px;
}

.com-content-category-blog.finance-page .page-header.item-title a:hover {
    background: #f8fcfa;
    border-color: #1f7a5b;
    transform: translateY(-3px);
}


/* ===========================
   NEWS PAGE
=========================== */

.news-page .item {
    margin-bottom: 35px;
}

.news-page .item{
    display:flex;
    align-items:center;
    gap:30px;

    padding:22px;
    background:#fff;
    border:1px solid #dce6f2;
    border-radius:18px;

    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.3s;
}

.news-page .item:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 36px rgba(0,0,0,.12);
}

/* Фото */

.news-page figure.item-image{
    flex:0 0 260px;
    width:260px;
    height:180px;

    margin:0 !important;
    overflow:hidden;
    border-radius:14px;
}

.news-page figure.item-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.news-page  .blog-item-content:hover img{
    transform:scale(1.08);
}

/* Текст */

.news-page  .item-content{
    flex:1;
    min-width:0;
}

.news-page .page-header{
    margin:0 0 14px;
}

.news-page .page-header h2,
.news-page .page-header h3,
.news-page .page-header a{
    color:#1d3f7c;
    font-size:2rem;
    font-weight:700;
    line-height:1.3;
    text-decoration:none;
}

.news-page .page-header a:hover{
    color:#f5a300;
}

.news-page .article-info{
    margin-bottom:16px;
}

.news-page .item-intro{
    color:#444;
    line-height:1.7;
    margin-bottom:20px;
}

.news-page .readmore{
    margin-top:18px;
}

.news-page .readmore .btn{
    background:#2bb673;
    border:none;
    border-radius:30px;
    padding:11px 28px;
    font-weight:600;
    transition:.3s;
}

.news-page .readmore .btn:hover{
    background:#1c9b5c;
    transform:translateY(-2px);
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

.news-page .item{
    display:block;
    padding:18px;
}

.news-page figure.item-image{
    width:100%;
    height:220px;
    margin-bottom:18px !important;
}

.news-page .page-header h2,
.news-page .page-header h3,
.news-page .page-header a{
    font-size:1.55rem;
}

}
/* masthead */
.ja-masthead:before {
    opacity: 0.2;
}
.t4-offcanvas .t4-off-canvas-header .close span {
    color: #fff;    
}
.t4-offcanvas .t4-off-canvas-header .close {
    background: none !important;
}
.t4-footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
}