/* =========================================
   TENDERS AND WHAT'S NEW SECTION
========================================= */

.tenders-news-section {
    width: 100%;
    padding: 30px 4.9% 22px;
    background: #eeebeb;
    box-sizing: border-box;
}

.tenders-news-container {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 26px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    align-items: stretch;
}

/* =========================================
   SECTION HEADINGS
========================================= */

.tenders-heading,
.tenders-news-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    margin: 0 0 15px;

    color: #162f6a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.tenders-heading i,
.tenders-news-heading i {
    font-size: 40px;
}

/* =========================================
   TENDERS PANEL
========================================= */

.tenders-panel {
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
}

/* PANEL TITLE */

.tenders-panel-title {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 10px 15px;

    background: #162f6a;
    color: #ffffff;

    font-size: 23px;
    font-weight: 700;
    text-align: center;

    box-sizing: border-box;
}

/* SCROLLABLE TENDER LIST */

.tenders-list {
    height: 315px;
    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: #162f6a #ffffff;
}

.tenders-list::-webkit-scrollbar {
    width: 7px;
}

.tenders-list::-webkit-scrollbar-track {
    background: #ffffff;
}

.tenders-list::-webkit-scrollbar-thumb {
    background: #162f6a;
    border-radius: 8px;
}
.tender-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}
.whatsnew-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}


/* INDIVIDUAL TENDER ROW */

.tender-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    min-height: 54px;
    padding: 12px 16px;

    background: #ffffff;
    border-bottom: 1px solid #d2dfff;

    color: #111111;
    font-size: 17px;
    line-height: 1.4;
    text-decoration: none;

    box-sizing: border-box;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

.tender-item span {
    flex: 1;
}

.tender-item > i {
    flex-shrink: 0;
    color: #162f6a;
    font-size: 14px;
}

.tender-item:hover {
    background: #d2dfff;
    color: #162f6a;
}

/* =========================================
   TENDERS VIEW MORE BUTTON
========================================= */

.tenders-view-more,
.tenders-news-view-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.tenders-view-more-btn,
.tenders-news-view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 43px;
    padding: 9px 13px;

    background: #ffffff;
    border: 1px solid #162f6a;
    border-radius: 3px;

    color: #162f6a;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;

    box-sizing: border-box;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

.tenders-view-more-btn:hover,
.tenders-news-view-more-btn:hover {
    background: #162f6a;
    color: #ffffff;
}

.tenders-view-more-btn i,
.tenders-news-view-more-btn i {
    font-size: 13px;
}

/* =========================================
   WHAT'S NEW PANEL
========================================= */

.tenders-news-panel {
    width: 100%;
    height: 370px;
    padding: 8px 16px;

    background: #162f6a;
    border-radius: 3px;

    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: #d2dfff #162f6a;
}

.tenders-news-panel::-webkit-scrollbar {
    width: 6px;
}

.tenders-news-panel::-webkit-scrollbar-track {
    background: #162f6a;
}

.tenders-news-panel::-webkit-scrollbar-thumb {
    background: #d2dfff;
    border-radius: 8px;
}

/* INDIVIDUAL NEWS ROW */

.tenders-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-height: 54px;
    padding: 12px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.45);

    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;

    box-sizing: border-box;
    transition: color 0.2s ease;
}

.tenders-news-item:last-child {
    border-bottom: none;
}

.tenders-news-item span {
    flex: 1;
}

.tenders-news-item > i {
    flex-shrink: 0;
    font-size: 13px;
}

.tenders-news-item:hover {
    color: #d2dfff;
    text-decoration: underline;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 992px) {

    .tenders-news-section {
        padding: 25px 3%;
    }

    .tenders-news-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .tenders-heading,
    .tenders-news-heading {
        font-size: 25px;
    }

    .tenders-heading i,
    .tenders-news-heading i {
        font-size: 36px;
    }

    .tenders-list {
        height: 300px;
    }

    .tenders-news-panel {
        height: auto;
        max-height: 370px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 576px) {

    .tenders-news-section {
        padding: 22px 15px;
    }

    .tenders-news-container {
        gap: 28px;
    }

    .tenders-heading,
    .tenders-news-heading {
        gap: 10px;
        min-height: 35px;
        margin-bottom: 12px;
        font-size: 22px;
    }

    .tenders-heading i,
    .tenders-news-heading i {
        font-size: 30px;
    }

    .tenders-panel-title {
        min-height: 46px;
        font-size: 19px;
    }

    .tenders-list {
        height: 260px;
    }

    .tender-item {
        min-height: 50px;
        padding: 11px 12px;
        font-size: 14px;
    }

    .tenders-news-panel {
        padding: 8px 13px;
        max-height: 340px;
    }

    .tenders-news-item {
        min-height: 50px;
        padding: 11px 0;
        font-size: 14px;
    }

    .tenders-view-more-btn,
    .tenders-news-view-more-btn {
        min-height: 39px;
        padding: 8px 11px;
        font-size: 14px;
    }
}