.jnr {


    .news-card__image-block-middle a {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }


    .news-card__image-block-fetured img,
    .news-card__image-block-middle img,  
    .wp-post-image {
        position: relative;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .news-card__text-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 16px;
    }

    .news-card__text-container--cover {
        flex: initial; 
    }

    .news-card__title--cover {
        color: #fff;
        margin-top: auto;
    }

    .news-card__title-link {
        font-size: 1.32rem;
        line-height: 1.28;
        font-weight: 500;
        color: #282828;    
        display: inline-block;
    }

    

    .news-card__title-main-link {
        font-size: 1.32rem;
        font-weight: 500;
        color: #fff;
        line-height: 1.28;
    }

    .news-card__title-link--wite {
        display: inline-block;
        color: #fff;
    }

    .news-card__date {
        color: #282828;
        letter-spacing: 4px;
        font-size: 14px;
        margin-top: auto;
    }

    .news-card__date--white {
        color: #fff;
    }

    .news-card__date--cover {
        color: #fff;
        margin-top: initial; 
    }

    .news-card__category--news {
        background: #222e;
        color: #fff;
    }

    .news-card__category--publication {
        background: #36B0B6;
        color: #fff;
        position: absolute;
        z-index: 2;
        top: 16px;
        left: 16px;
    }

    .news-card__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .news-card {
        position: relative;

    }

    .news-card--text-only {
        padding: 24px;
        background: #f8f8f8;

    }

    .news-card__image-block-middle {
        position: absolute;
        min-height: 360px;
        width: 100%;
        height: 100%;
    }

    .news-card__image-block-fetured {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
    }
    
    .news-card {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .news-card--text-only {
        background: #F8F8F8;
    }

    .news-grid__block-divider {
        /* height: 1px;
        background: #888;
        margin-bottom: 20px;
        margin-top: 20px; */
        display:hidden;
    }

    .news-card__content {
        padding: 24px;
        z-index: 3;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .news-card__content--first {
        position: relative;
        display: flex;
        flex-direction: column;
        z-index: 3;
        justify-content: space-between;
        align-items: flex-start;
        height: 100%;
    }

    .news-card__content--cover {
        display: flex;
        flex-direction: column;
        flex: 1;
        aspect-ratio: 10/10;
    }

    .news-grid-block-1 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        margin-bottom: 20px;
    }

    .news-card--main {
        height: 360px;
    }

    .news-card--cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(2, 29, 73, 0.1), rgba(0, 0, 0, 0.5));;
        z-index: 2;
    }

    .news-card__list {
        gap: 24px;
        display: flex;
        flex-direction: column;
    }  
    


    .news-pagination {
        margin-top: 40px;
        text-align: left;
    }

    .news-pagination .page-numbers {
        display: inline-block;
        padding: 8px 16px;
        margin: 8px 4px 0 4px;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #333;
        border-radius: 4px;
        min-width: 44px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .news-pagination .current,
    .news-pagination a:hover {
        background: #1D71B8;
        color: white;
        border-color: #1D71B8;
    }

    .readmore {
        color: #1D71B8;
    }

      .events {
        margin-top: 20px;
      }

      .events .events-mini__list {
        margin-top: 24px;
      }

    .news-page__menu {
        display: flex;
        margin: 0 0 40px 0; 
    }

.page-news article {
    overflow: hidden;
}
.news-grid-category{
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 40px;
}


.news-grid-block-1 .news-item.featured-large {
    position: relative;
    aspect-ratio: 10/10;
    height: auto;
}

.news-grid-block-1 .news-item.featured-large::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.news-item.featured-large .post-content {
    position: relative;
    z-index: 3;
    padding: 32px 32px 24px 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.news-item.featured-large .post-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 70%;
}

.news-item.featured-large .post-category {
    background: #222;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    border-radius: 2px;
    padding: 6px 16px;
    margin-bottom: 18px;
    text-transform: uppercase;
    display: inline-block;
    opacity: 0.85;
}

.news-item.featured-large .post-title {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.news-item.featured-large .post-title a {
    color: inherit;
    font-size: 32px;
    line-height: 1.3;
}

.news-item.featured-large .post-excerpt {
    position: absolute;
    top: 16px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
    letter-spacing: 4px;
}

.news-item.featured-large .news-date {
    color:#fff;
    letter-spacing: 4px;
}


.news-item.text-only {
    background: #F8F8F8;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-item.text-only .post-category {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    color: #888;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 4px;
}

.news-item.text-only .post-title {
    font-size: 24px;
    font-weight: 500;
    color: #222;
    margin: 0;
    line-height: 1.25;
}

.news-item.text-only .news-date {
    margin-top: 16px;
    letter-spacing: 4px;
    display: inline-block;
}

.news-item.featured-medium {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 2px;
    overflow: hidden;
    background: #F8F8F8;
}

.news-item.featured-medium .featured-image {
    position: relative;
    width: 100%;
    height: 337px;
    overflow: hidden;
    height: inherit;
}

.news-item.featured-medium .featured-image img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/10;
}


.news-item.featured-medium .post-content {
    background: #F8F8F8;
    padding: 24px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0 0 8px 8px;
    border: none;
    box-shadow: none;
    height: 148px;
}



.news-item.featured-medium .news-photo-link {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2px;
    margin-left: 1px;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: color 0.2s;
}

.news-item.featured-small {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 2px;
    overflow: hidden;
    background: #f8f8f8;
}

.news-item.featured-small .featured-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.news-item.featured-small .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-item.featured-small .featured-image .post-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #23b6b6;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    padding: 5px 14px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    opacity: 0.95;
}

.news-item.featured-small .post-content {
    background: rgb(248, 248, 248);
    padding: 16px 16px 12px 16px;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0 0 8px 8px;
    flex: 1;
}

.news-item.featured-small .post-title {
    font-size: 24px;
    font-weight: 500;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.news-item.featured-small .news-photo-link {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2px;
    margin-left: 1px;

    padding: 0;

    transition: color 0.2s;
}

.news-item.featured-small .news-photo-link:hover {
    color: #23b6b6;
    text-decoration: underline;
}

.news-grid-block-2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
}


.news-grid-block-3 {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
    margin-bottom: 20px;
}

.news-grid-block-4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
}

.news-grid-block-5 {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
}

.page-content-header {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
}

.page-title {
    font-size: clamp(2.44rem, 4vw, 2.44rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 1.11rem 0 1.11rem 0;
    max-width: 40ch;
}

.jnr .news-page .page-content li {
    padding-left: 0!important;
}

.jnr .news-page .page-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-column: 20 / 25;
}


.news-page h1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 1.11rem 0 0.11rem 0;
    color: #12416A;
}

@media screen and (width > 576px) {

    .news-item.featured-medium {
        min-height: 485px;
    }

    .news-grid-block-1 .news-item.featured-large {
        aspect-ratio: 16 / 9;
    }

    .news-card__content--cover {
        aspect-ratio: 16 / 9;
    }

}

@media screen and (width > 768px) {
    .news-card__content--first {
        width: 70%;
    }
    
    .jnr .news-card--main {
        height: 520px;
    }

    .news-page h1 {
        font-size: clamp(2.44rem, 4vw, 2.44rem);
        font-weight: 500;
        line-height: 1.4;
        margin: 1.11rem 0 0.11rem 0;
        max-width: 40ch;
    }

    
    .news-grid__block-divider {
        display:block;
        height: 1px;
        background: #888;
        margin-bottom: 20px;
        margin-top: 20px; 
       
    }
    .news-grid-block-1 {
        grid-template-columns: repeat(3, 1fr)!important;
        margin-bottom:0;
    }


    .news-grid-block-2 {
        grid-template-columns: repeat(6, 1fr);
        margin-bottom:0;
    }


    .news-grid-block-3 {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 20px;
    }


    .news-grid-block-4 {
        grid-template-columns: repeat(6, 1fr);
    }

    .news-grid-block-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid-block-1 .div1 { grid-area: 1 / 1 / 3 / 4; }
    .news-grid-block-1 .div2 { grid-area: 3 / 2 / 5 / 4; }
    .news-grid-block-1 .div3 { grid-area: 3 / 1 / 4 / 2; }
    .news-grid-block-1 .div4 { grid-area: 4 / 1 / 5 / 2; }
    .news-grid-block-1 .div5 { grid-area: 5 / 1 / 6 / 2; }
    .news-grid-block-1 .div6 { grid-area: 5 / 2 / 6 / 3; }
    .news-grid-block-1 .div7 { grid-area: 5 / 3 / 6 / 4; }
    .news-grid-block-1 .div8 { grid-area: 6 / 1 / 7 / 2; }
    .news-grid-block-1 .div9 { grid-area: 6 / 2 / 7 / 3; }
    .news-grid-block-1 .div10 { grid-area: 6 / 3 / 7 / 4; }



    .news-grid-block-2 .div1 { grid-area: 1 / 1 / 2 / 4; }
    .news-grid-block-2 .div2 { grid-area: 1 / 4 / 2 / 7; }
    .news-grid-block-2 .div1 {
    grid-column: 1 / span 3; 
    }

    .news-grid-block-2 .div2 {
    grid-column: 4 / span 3;
    width: 100%;              
    max-width: none; 
    }
    .news-grid-block-3 .div3 { grid-area: 1 / 1 / 2 / 2; }
    .news-grid-block-3 .div4 { grid-area: 1 / 2 / 2 / 3; }
    .news-grid-block-3 .div5 { grid-area: 1 / 3 / 2 / 4; }
    .news-grid-block-3 .div6 { grid-area: 2 / 1 / 3 / 2; }
    .news-grid-block-3 .div7 { grid-area: 2 / 2 / 3 / 3; }
    .news-grid-block-3 .div8 { grid-area: 2 / 3 / 3 / 4; }
    .news-grid-block-3 .div9 { grid-area: 3 / 1 / 5 / 3; }
    .news-grid-block-3 .div10 { grid-area: 3 / 3 / 4 / 4; }
    .news-grid-block-3 .div11 { grid-area: 4 / 3 / 5 / 4; }
    .news-grid-block-3 .div12 { grid-area: 5 / 1 / 6 / 2; }
    .news-grid-block-3 .div13 { grid-area: 5 / 2 / 6 / 3; }
    .news-grid-block-3 .div14 { grid-area: 5 / 3 / 6 / 4; }


    .news-grid-block-4 .div15 { grid-area: 1 / 1 / 2 / 5; }
    .news-grid-block-4 .div16 { grid-area: 1 / 5 / 2 / 7; }
    .news-grid-block-5 .div17 { grid-area: 1 / 1 / 2 / 2; }
    .news-grid-block-5 .div18 { grid-area: 1 / 2 / 2 / 3; }
    .news-grid-block-5 .div19 { grid-area: 1 / 3 / 2 / 4; }



    .news-grid-category {
        grid-template-columns: repeat(3, 1fr); 
    }

    .news-item.featured-small .featured-image {
        height: 187px;
    }



}

@media screen and (width > 1280px) {
    .news-card__title-main-link {
        font-size: 1.78rem;
    }
}

}