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

.updates-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.updates-section .container {
    position: relative;
}


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

.updates-section .section-heading {
    margin-bottom: 60px;
}

.updates-section .section-heading span {
    display: inline-block;
    color: #0F4C81;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.updates-section .section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    color: #1E293B;
    margin: 15px 0;
}

.updates-section .section-heading p {
    color: #64748B;
    font-size: 17px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}


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

.updates-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    overflow: hidden;
    height: 100%;
}


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

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 25px 30px;

    background: #0F4C81;
    color: #fff;
}

.updates-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;

    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.updates-header h3 i {
    flex: 0 0 auto;
    font-size: 19px;
}

.updates-header a {
    flex: 0 0 auto;

    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition: opacity .25s ease;
}

.updates-header a:hover {
    color: #fff;
    opacity: .8;
}


/* =========================================
   UPDATE ITEM
========================================= */

.update-item {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 26px 30px;

    border-bottom: 1px solid #EEF2F7;

    transition: background .3s ease;
}

.update-item:last-child {
    border-bottom: none;
}

.update-item:hover {
    background: #F7FBFF;
}


/* =========================================
   DATE
========================================= */

.update-date {
    flex: 0 0 132px;
    width: 132px;
    min-width: 132px;

    background: #F2F8FD;
    color: #0F4C81;

    border-radius: 14px;

    padding: 14px 10px;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;

    text-align: center;
}


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

.update-content {
    flex: 1;
    min-width: 0;
}

.update-content h5 {
    margin: 0;
    padding: 0;

    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;

    overflow-wrap: anywhere;
}

.update-content a {
    display: block;

    color: #0F4C81;
    text-decoration: none;
    font-weight: 600;

    transition: color .25s ease;
}

.update-content a:hover {
    color: #0b3c66;
}


/* =========================================
   EMPTY STATE
========================================= */

.updates-empty {
    min-height: 220px;

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

    text-align: center;

    padding: 40px 20px;
}

.updates-empty i {
    font-size: 52px;
    color: #0d4d8b;
    margin-bottom: 18px;
    opacity: .25;
}

.updates-empty h5 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;

    margin: 0 0 10px;

    color: #222;
}

.updates-empty p {
    margin: 0;

    color: #6c757d;

    max-width: 320px;

    font-size: 15px;
    line-height: 1.6;
}


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

@media (max-width: 991px) {

    .updates-section {
        padding: 80px 0;
    }

    .updates-section .section-heading {
        margin-bottom: 45px;
    }

    .updates-section .section-heading h2 {
        font-size: 36px;
    }

    .updates-section .section-heading p {
        font-size: 16px;
    }

    .updates-header {
        padding: 22px 25px;
    }

    .updates-header h3 {
        font-size: 20px;
    }

    .update-item {
        padding: 24px 25px;
        gap: 20px;
    }

    .update-date {
        flex-basis: 120px;
        width: 120px;
        min-width: 120px;
        font-size: 14px;
    }

}


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

@media (max-width: 576px) {

    .updates-section {
        padding: 60px 0;
    }

    .updates-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* Section heading */

    .updates-section .section-heading {
        margin-bottom: 30px;
    }

    .updates-section .section-heading span {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .updates-section .section-heading h2 {
        font-size: 30px;
        line-height: 1.2;
        margin: 10px 0;
    }

    .updates-section .section-heading p {
        font-size: 15px;
        line-height: 1.6;
    }


    /* Cards */

    .updates-card {
        border-radius: 17px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    }


    /* Header */

    .updates-header {
        padding: 18px 18px;
        gap: 12px;
    }

    .updates-header h3 {
        font-size: 18px;
        line-height: 1.3;
        gap: 8px;
    }

    .updates-header h3 i {
        font-size: 16px;
    }

    .updates-header a {
        font-size: 13px;
    }


    /* Update item */

    .update-item {
        display: flex;
        align-items: flex-start;

        gap: 12px;

        padding: 18px;
    }


    /* Date */

    .update-date {
        flex: 0 0 82px;
        width: 82px;
        min-width: 82px;

        padding: 10px 6px;

        border-radius: 10px;

        font-size: 12px;
        line-height: 1.25;
    }


    /* Content */

    .update-content {
        min-width: 0;
        padding-top: 2px;
    }

    .update-content h5 {
        font-size: 14px;
        line-height: 1.45;
    }


    /* Empty state */

    .updates-empty {
        min-height: 180px;
        padding: 30px 18px;
    }

    .updates-empty i {
        font-size: 42px;
        margin-bottom: 14px;
    }

    .updates-empty h5 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .updates-empty p {
        font-size: 14px;
        line-height: 1.5;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .updates-section {
        padding: 50px 0;
    }

    .updates-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .updates-section .section-heading h2 {
        font-size: 28px;
    }

    .updates-section .section-heading p {
        font-size: 14px;
    }


    /* Header */

    .updates-header {
        padding: 16px 15px;
        gap: 8px;
    }

    .updates-header h3 {
        font-size: 16px;
    }

    .updates-header a {
        font-size: 12px;
    }


    /* Items */

    .update-item {
        gap: 10px;
        padding: 16px 15px;
    }

    .update-date {
        flex-basis: 72px;
        width: 72px;
        min-width: 72px;

        padding: 9px 5px;

        font-size: 11px;
    }

    .update-content h5 {
        font-size: 13px;
        line-height: 1.4;
    }

}