/* =========================
   SECTION
========================= */

.news {
    padding: var(--space-11) 0;
    background: url(../../images/news-bg.jpg) no-repeat top center;
    background-size: 100% 100%;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.f-button.is-close-button{ top:10px; right:20px}

.f-button.is-close-button svg{    fill: #333;
    stroke: #333;
    color: #333;}

/* =========================
   LEFT CONTENT
========================= */

.news-left {
    position: relative;
    max-width: 520px;
}

.news-left .circle-accent {
    position: absolute;
    width: 110px;
    height: 110px;
    background: var(--color-light);
    border-radius: var(--radius-full);
    left: -30px;
    top: -20px;
    z-index: 0;display:none
}

.news-left h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    color: var(--color-primary);
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-5);
}

.news-left p {
    font-size: var(--fs-body-md);
    line-height: var(--lh-body);
    color: var(--color-text);
    margin-bottom: var(--space-6);
}


/* =========================
   RIGHT GRID
========================= */

.news-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

.news-right a {
    text-decoration: none;
    color:#333
}


/* =========================
   STAGGER EFFECT
========================= */

.news-right .news-card:nth-child(1) {
    margin-top: 40px;
}

.news-right .news-card:nth-child(3) {
    margin-top: 10px;
}


/* =========================
   CARD
========================= */

.news-card {
    background: #fff;
    padding: var(--space-6);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: var(--space-3);
    animation: floatCard 6s ease-in-out infinite;
    transition: all ease 0.3s;
}

.news-card:hover {
    box-shadow: none;
}

.news-card:nth-child(1) {
    animation: floatCard 3s ease-in-out infinite;
}

.news-card:nth-child(4) {
    animation: floatCard 3s ease-in-out infinite;
}

.news-card h4 {
    font-size: var(--fs-h6);
    color: var(--color-primary);
    line-height: var(--lh-heading);
    min-height: auto;
    margin-bottom: 0;
}

.news-card p {
    font-size: var(--fs-body);
    color: var(--color-text);
    line-height: var(--lh-body);
}

.news .line {
    width: 60%;
    height: 3px;
    background: var(--color-highlight);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .news-left {
        max-width: 100%;
    }

    .news-right {
        grid-template-columns: 1fr 1fr;
    }

    .news .circle-accent {
        left: -10px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .news {
        padding: var(--space-9) 0;
    }

    .news-left h2 {
        font-size: var(--fs-h3);
    }

    .news-right {
        grid-template-columns: 1fr;
    }

    .news-right .news-card {
        margin-top: 0 !important;
    }

    .news .circle-accent {
        width: 80px;
        height: 80px;
        top: -10px;
    }
}





/* =========================================================
   NEWS POPUP
========================================================= */

.news-popup {
    max-width: 820px;
    width: 100%;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 24px;
    overflow: hidden;
}

.news-popup-inner {
    background: #fff;
    padding: 45px;
    border-radius: 24px;
    max-height: 80vh;
    overflow-y: auto;
}


/* =========================================================
   POPUP HEADER
========================================================= */

.news-popup-header {
    display: flex;
    align-items: center;
    gap: 25px;

    padding-bottom: 28px;
    margin-bottom: 28px;

    border-bottom: 1px solid #e5e7eb;
}


/* =========================================================
   POPUP LOGO
========================================================= */

.news-popup-logo {
    width: 120px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    background: #f8fafc;
    border: 1px solid #edf0f3;
    border-radius: 12px;

    flex-shrink: 0;
}

.news-popup-logo img {
    max-width: 100%;
    max-height: 50px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   POPUP META
========================================================= */

.news-popup-meta {
    flex: 1;
}

.news-popup-meta h2 {
    margin: 0 0 12px;

    color: var(--color-primary);

    font-size: var(--fs-h4);
    line-height: 1.3;
    font-weight: 600;
}


/* Meta */

.news-popup-meta .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    font-size: 13px;
}

.news-popup-meta .source {
    color: var(--color-primary);
    font-weight: 600;
}

.news-popup-meta .source::after {
    content: "";

    display: inline-block;

    width: 4px;
    height: 4px;

    margin: 0 6px 2px 10px;

    background: var(--color-highlight);
    border-radius: 50%;
}

.news-popup-meta .date {
    color: #8993a1;
}


/* =========================================================
   POPUP CONTENT
========================================================= */

.news-popup-content {
    color: var(--color-text);

    font-size: var(--fs-body-md);
    line-height: 1.8;
}

.news-popup-content p {
    margin-bottom: 20px;
}

.news-popup-content p:last-child {
    margin-bottom: 0;
}

.news-popup-content h2,
.news-popup-content h3,
.news-popup-content h4 {
    color: var(--color-primary);
    margin-top: 25px;
    margin-bottom: 12px;
}

.news-popup-content ul,
.news-popup-content ol {
    margin-bottom: 20px;
    padding-left: 22px;
}

.news-popup-content img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   POPUP FOOTER
========================================================= */

.news-popup-footer {
    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #e5e7eb;
}


/* =========================================================
   FANCYBOX OVERRIDE
========================================================= */

.fancybox__content.news-popup {
    padding: 0 !important;
}

.fancybox__container .news-popup-inner {
    border-radius: 24px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .news-popup {
        max-width: calc(100vw - 30px);
    }

    .news-popup-inner {
        padding: 30px;
        max-height: 82vh;
    }

    .news-popup-header {
        align-items: flex-start;
        gap: 18px;
    }

    .news-popup-logo {
        width: 90px;
        height: 65px;
        padding: 10px;
    }

    .news-popup-logo img {
        max-height: 42px;
    }

    .news-popup-meta h2 {
        font-size: var(--fs-h5);
    }

    .news-popup-content {
        font-size: var(--fs-body);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .news-popup {
        max-width: calc(100vw - 20px);
    }

    .news-popup-inner {
        padding: 24px;
        border-radius: 18px;
    }

    .news-popup-header {
        flex-direction: column;
        align-items: flex-start;

        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .news-popup-logo {
        width: 100px;
        height: 65px;
    }

    .news-popup-meta h2 {
        font-size: 21px;
    }

    .news-popup-content {
        font-size: 15px;
        line-height: 1.75;
    }

}

/* =========================
   NEWS Detail page Full CSS
========================= */



/* =========================================================
   IN THE NEWS - ARCHIVE / LANDING PAGE
   ========================================================= */

.news-archive {
    padding: var(--space-8) 0 var(--space-11)
   
}




/* =========================================================
   NEWS GRID
   ========================================================= */

.news-archive .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;

    align-items: stretch;
}


/* =========================================================
   NEWS CARD
   ========================================================= */

.news-archive .news-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    background: #fff;

    border: 1px solid var(--box-border);
    border-radius: var(--radius-md);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.news-archive .news-card:hover {
    transform: translateY(-6px);

    border-color: rgba(35, 157, 234, 0.35);

    box-shadow:
        0 18px 45px rgba(16, 24, 40, 0.08);
}


/* =========================================================
   NEWS LOGO
   ========================================================= */

.news-archive .news-logo {
    width: 100%;
    height: 115px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 28px 30px;

    background: #f8fafc;

    border-bottom: 1px solid #edf0f3;
}


.news-archive .news-logo img {
    display: block;

    max-width: 170px;
    max-height: 58px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.news-archive .news-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 10px;
}


/* =========================================================
   NEWS TITLE
   ========================================================= */

.news-archive .news-content h3 {
    margin: 0 0 18px;

    font-size: var(--fs-h5);
    line-height: 1.35;
    font-weight: 600;

    color: var(--color-primary);

    transition: color 0.3s ease;
}


.news-archive .news-card:hover .news-content h3 {
    color: var(--color-highlight);
}


.news-archive .news-content a{color:#333; text-decoration:none; display:inline-block; margin-top:10px}

/* =========================================================
   META
   ========================================================= */

.news-archive .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    font-size: 13px;
    line-height: 1.4;
}


/* Source */

.news-archive .meta .source {
    position: relative;

    color: var(--color-primary);

    font-weight: 600;
}


/* Separator */

.news-archive .meta .source::after {
    content: "";

    display: inline-block;

    width: 4px;
    height: 4px;

    margin: 0 4px 2px 10px;

    background: var(--color-highlight);

    border-radius: 50%;
}


/* Date */

.news-archive .meta .date {
    color: #8993a1;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.news-archive .news-content > p {
    margin: 0;

    color: var(--color-text);

    font-size: var(--fs-body);
    line-height: 1.7;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
}


/* =========================================================
   READ MORE
   ========================================================= */

.news-archive .btn-link {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 8px;

    margin-top: auto;
    padding-top: 28px;

    color: var(--color-primary);

    font-size: var(--fs-body);
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}


.news-archive .btn-link:hover {
    color: var(--color-highlight);
    gap: 13px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.news-archive .pagination {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-top: 70px;
}


.news-archive .pagination .page-numbers {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    padding: 0 12px;

    margin: 0 4px;

    border: 1px solid var(--box-border);
    border-radius: var(--radius-sm);

    color: var(--color-primary);

    font-size: 14px;
    line-height: 1;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


/* Current */

.news-archive .pagination .page-numbers.current {
    background: var(--color-highlight);
    border-color: var(--color-highlight);

    color: #fff;
}


/* Hover */

.news-archive .pagination .page-numbers:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);

    color: #fff;
}


/* Prev / Next */

.news-archive .pagination .page-numbers.prev,
.news-archive .pagination .page-numbers.next {
    padding: 0 18px;

    font-weight: 500;
}


/* Dots */

.news-archive .pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;

    pointer-events: none;
}


/* =========================================================
   NO NEWS
   ========================================================= */

.news-archive .news-grid + p,
.news-archive .container > p {
    margin: 40px 0;

    color: var(--color-text);

    font-size: var(--fs-body-md);
}


/* =========================================================
   LARGE TABLET
   1200px
   ========================================================= */

@media (max-width: 1200px) {

    .news-archive {
        padding: var(--space-10) 0;
    }

    .news-archive .title-row {
        margin-bottom: 50px;
    }

    .news-archive .news-grid {
        gap: 24px;
    }

    .news-archive .news-content {
        padding: 26px;
    }

    .news-archive .news-logo {
        height: 105px;
        padding: 24px 26px;
    }

}


/* =========================================================
   TABLET
   1024px
   ========================================================= */

@media (max-width: 1024px) {

    .news-archive {
        padding: var(--space-10) 0;
    }

    .news-archive .title-row {
        margin-bottom: 45px;
    }

    .news-archive .title-row h1 {
        font-size: var(--fs-h2);
    }

    .news-archive .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .news-archive .news-card {
        min-height: 100%;
    }

    .news-archive .news-logo {
        height: 105px;
    }

}


/* =========================================================
   SMALL TABLET
   768px
   ========================================================= */

@media (max-width: 768px) {

    .news-archive {
        padding: var(--space-9) 0;
    }

    .news-archive .title-row {
        margin-bottom: 35px;
    }

    .news-archive .title-row h1 {
        font-size: var(--fs-h2);
    }

    .news-archive .title-row h1::after {
        width: 45px;
        height: 3px;
        margin-top: 14px;
    }

    .news-archive .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-archive .news-card {
        width: 100%;
    }

    .news-archive .news-logo {
        height: 100px;
        padding: 24px;
    }

    .news-archive .news-logo img {
        max-width: 160px;
        max-height: 52px;
    }

    .news-archive .news-content {
        padding: 24px;
    }

    .news-archive .news-content h3 {
        font-size: var(--fs-h6);
        margin-bottom: 14px;
    }

    .news-archive .meta {
        margin-bottom: 15px;
    }

    .news-archive .news-content > p {
        -webkit-line-clamp: 5;
    }

    .news-archive .btn-link {
        padding-top: 24px;
    }

    .news-archive .pagination {
        margin-top: 45px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .news-archive .pagination .page-numbers {
        margin: 0;
    }

}


/* =========================================================
   MOBILE
   480px
   ========================================================= */

@media (max-width: 480px) {

    .news-archive {
        padding: var(--space-8) 0;
    }

    .news-archive .title-row {
        margin-bottom: 30px;
    }

    .news-archive .title-row h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .news-archive .news-grid {
        gap: 16px;
    }

    .news-archive .news-logo {
        height: 90px;
        padding: 20px;
    }

    .news-archive .news-logo img {
        max-width: 145px;
        max-height: 48px;
    }

    .news-archive .news-content {
        padding: 22px 20px;
    }

    .news-archive .news-content h3 {
        font-size: 19px;
        line-height: 1.4;
    }

    .news-archive .meta {
        font-size: 12px;
        gap: 6px;
    }

    .news-archive .meta .source::after {
        margin-left: 7px;
        margin-right: 3px;
    }

    .news-archive .news-content > p {
        font-size: 15px;
        line-height: 1.65;
    }

    .news-archive .btn-link {
        font-size: 14px;
    }

    .news-archive .pagination {
        margin-top: 35px;
    }

    .news-archive .pagination .page-numbers {
        min-width: 38px;
        height: 38px;

        font-size: 13px;
    }

}


/* =========================================================
   EXTRA SMALL
   360px
   ========================================================= */

@media (max-width: 360px) {

    .news-archive .title-row h1 {
        font-size: 30px;
    }

    .news-archive .news-content {
        padding: 20px 18px;
    }

    .news-archive .news-logo {
        padding: 18px;
    }

}


/* =========================================================
   PAGE TITLE + YEAR FILTER
========================================================= */

.news-archive .news-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 55px;
}

.news-archive .news-title-row .title-row-left {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   YEAR FILTER
========================================================= */

.news-archive .news-year-filter-form {
    flex-shrink: 0;
}

.news-archive .news-year-filter {
    position: relative;
}

.news-archive .news-year-filter select {
    min-width: 155px;
    height: 48px;

    padding: 0 42px 0 18px;

    border: 1px solid var(--box-border);
    border-radius: 100px;

    background-color: #fff;

    color: var(--color-primary);

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    outline: none;

    appearance: none;
    -webkit-appearance: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.news-archive .news-year-filter {
    position: relative;
}


.news-archive .news-year-filter::after {
    content: "";

    position: absolute;

    right: 18px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 1.5px solid var(--color-primary);
    border-bottom: 1.5px solid var(--color-primary);

    transform: translateY(-65%) rotate(45deg);

    pointer-events: none;
}


.news-archive .news-year-filter select:hover {
    border-color: var(--color-primary);
}


.news-archive .news-year-filter select:focus {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(35, 157, 234, 0.10);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .news-archive .news-title-row {
        align-items: flex-start;
        gap: 25px;
        margin-bottom: 35px;
    }

    .news-archive .news-year-filter select {
        min-width: 135px;
        height: 44px;

        font-size: 14px;

        padding-left: 15px;
        padding-right: 38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .news-archive .news-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-archive .news-year-filter-form {
        width: 100%;
    }

    .news-archive .news-year-filter {
        width: 100%;
    }

    .news-archive .news-year-filter select {
        width: 100%;
    }

}


/* =========================
   NEWS POPUP
========================= */

.news {
    position: relative;
}

.news-popups {
    position: relative;
    z-index: 100;
}

.news-popup {
    display: none;
}

/* Fancybox overlay */
.fancybox__container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
}

/* Popup itself */
.news-popup-inner {
    width: min(900px, calc(100vw - 40px));
    max-height: 80vh;
    overflow-y: auto;

    background: #fff;
    border-radius: 20px;
    padding: 40px;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

/* Prevent page movement */
html.fancybox-active,
body.fancybox-active {
    overflow: hidden !important;
}

/* Header */
.news-popup-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

.news-popup-logo {
    flex: 0 0 100px;
}

.news-popup-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.news-popup-meta {
    flex: 1;
}

.news-popup-meta h2 {
    margin: 0 0 12px;
}

/* Content */
.news-popup-content {
    line-height: 1.7;
}

.news-popup-content p:last-child {
    margin-bottom: 0;
}

/* Close button */
.fancybox__button--close {
    top: 20px !important;
    right: 20px !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .news-popup-inner {
        width: calc(100vw - 24px);
        max-height: 85vh;
        padding: 25px 20px;
        border-radius: 16px;
    }

    .news-popup-header {
        flex-direction: column;
        gap: 15px;
    }

    .news-popup-logo {
        width: 80px;
        flex-basis: auto;
    }

}
.news-read-more {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
    margin-top: 15px;
    text-align: left;
}

html.fancybox-active,
body.fancybox-active {
    overflow: hidden !important;
}



