/* =========================================================
       COMMON / GLOBAL
    ========================================================= */

    .footer_bottom {
        background: #fff;
    }

    .events p {
        text-align: justify;
    }

    .tabsFill .nav-link {
        font-size: 21px;
        font-family: "Inter Regular" !important;
        color: #343232;
    }


    /* =========================================================
       MAIN NEWS SECTION
    ========================================================= */

    .all-news-section {
        padding-bottom: 70px;
    }


    /* =========================================================
       BACK BUTTON
    ========================================================= */

    .all-news-back {
        margin-bottom: 10px;
    }

    .all-news-back a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 38px;
        height: 38px;

        color: #111;
        text-decoration: none;

        transition: all 0.2s ease;
    }

    .all-news-back a i {
        font-size: 28px;
        line-height: 1;
    }

    .all-news-back a:hover {
        color: #555;
        transform: translateX(-3px);
    }


    /* =========================================================
       SECTION HEADER
    ========================================================= */

    .all-news-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-bottom: 32px;
    }

    .all-news-title {
        margin: 0;
        padding: 0;

        color: #111;

        font-family: "Forma DJR Display Regular";

        font-size: 8rem !important;
        font-weight: 500;

        line-height: 1.15;

        letter-spacing: -0.8px;
    }


    /* =========================================================
       NEWS GRID
    ========================================================= */

    .all-news-grid {
        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 28px;

        width: 100%;
    }


    /* =========================================================
       NEWS CARD
    ========================================================= */

    .all-news-card {
        position: relative;

        width: 100%;
        height: 100%;

        display: flex;
        flex-direction: column;

        background: #fff;

        border: 1px solid #dedede;
        border-radius: 4px;

        overflow: hidden;

        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
    }

    .all-news-card:hover {
        transform: translateY(-4px);

        border-color: #cfcfcf;

        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.10);
    }


    /* =========================================================
       CARD IMAGE
    ========================================================= */

    .all-news-image {
        position: relative;

        display: block;

        width: 100%;

        aspect-ratio: 16 / 9;

        overflow: hidden;

        background: #f2f2f2;

        text-decoration: none;
    }

    .all-news-image img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        transition: transform 0.4s ease;
    }

    .all-news-card:hover .all-news-image img {
        transform: scale(1.035);
    }


    /* =========================================================
       CARD CONTENT
    ========================================================= */

    .all-news-content {
        width: 100%;

        padding: 17px 18px 0;

        /*
         * Do NOT use:
         *
         * flex: 1;
         *
         * here.
         *
         * It creates unnecessary empty space between
         * the title and footer.
         */
    }


    /* =========================================================
       CARD TITLE
    ========================================================= */

    .all-news-card-title {
        margin: 0;
        padding: 0;

        color: #222;
        font-family: "Inter Regular";

        font-size: 17px;
        font-weight: 500;

        line-height: 1.5;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        overflow: hidden;

        /*
         * Prevent browser default heading margins.
         */
        word-break: normal;
        overflow-wrap: break-word;
    }


    /* =========================================================
       CARD FOOTER
    ========================================================= */

    .all-news-footer {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        /*
         * Small gap between title and footer.
         */
        margin-top: 12px;

        padding: 12px 0;

        border-top: 1px solid #eeeeee;
    }


    /* =========================================================
       READ MORE LINK
    ========================================================= */

    .all-news-readmore {
        display: inline-flex;

        align-items: center;

        gap: 8px;

        color: #555 !important;

        font-family: "Inter Regular";

        font-size: 14px;
        font-weight: 500;

        line-height: 1;

        text-decoration: none !important;

        white-space: nowrap;

        transition:
            color 0.2s ease;
    }

    .all-news-readmore:hover {
        color: #111 !important;
    }


    /* =========================================================
       READ MORE ARROW
    ========================================================= */

    .all-news-arrow {
        width: 32px;
        height: 32px;

        display: inline-flex;

        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        background: #5b5b5b;

        color: #fff;

        border-radius: 2px;

        transition:
            background 0.2s ease,
            transform 0.2s ease;
    }

    .all-news-arrow i {
        margin: 0;

        font-size: 19px;

        line-height: 1;
    }

    .all-news-readmore:hover .all-news-arrow {
        background: #222;

        transform: translateX(3px);
    }


    /* =========================================================
       CARD NUMBER
    ========================================================= */

    .all-news-number {
        display: inline-block;

        color: #aaa;

        font-family: "Inter Regular";

        font-size: 12px;
        font-weight: 400;

        line-height: 1;

        white-space: nowrap;
    }


    /* =========================================================
       LARGE DESKTOP
       1200px AND ABOVE
    ========================================================= */

    @media (min-width: 1200px) {

        .all-news-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));

            gap: 28px;
        }

        .all-news-content {
            padding-left: 19px;
            padding-right: 19px;
        }

        .all-news-card-title {
            font-size: 17px;

            line-height: 1.5;
        }

        .all-news-footer {
            margin-top: 12px;

            padding-top: 12px;
            padding-bottom: 12px;
        }
    }


    /* =========================================================
       LAPTOP / DESKTOP
       992px - 1199px
    ========================================================= */

    @media (max-width: 1199px) {

        .all-news-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));

            gap: 24px;
        }

        .all-news-card-title {
            font-size: 16px;

            line-height: 1.5;
        }

        .all-news-content {
            padding: 16px 17px 0;
        }

        .all-news-footer {
            margin-top: 11px;

            padding-top: 11px;
            padding-bottom: 11px;
        }
    }


    /* =========================================================
       TABLET
       768px - 991px
    ========================================================= */

    @media (max-width: 991px) {

        .all-news-section {
            padding-bottom: 55px;
        }

        .all-news-header {
            margin-bottom: 27px;
        }

        .all-news-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));

            gap: 22px;
        }

        .all-news-content {
            padding: 15px 16px 0;
        }

        .all-news-card-title {
            font-size: 16px;

            line-height: 1.5;
        }

        .all-news-footer {
            margin-top: 10px;

            padding-top: 11px;
            padding-bottom: 11px;
        }

        .all-news-readmore {
            font-size: 13px;
        }

        .all-news-arrow {
            width: 31px;
            height: 31px;
        }

        .all-news-arrow i {
            font-size: 18px;
        }
    }


    /* =========================================================
       MOBILE
       576px - 767px
    ========================================================= */

    @media (max-width: 767px) {

        .all-news-section {
            padding-bottom: 45px;
        }

        .all-news-back {
            margin-bottom: 5px;
        }

        .all-news-back a {
            width: 34px;
            height: 34px;
        }

        .all-news-back a i {
            font-size: 25px;
        }

        .all-news-header {
            margin-bottom: 22px;
        }

        .all-news-title {
            font-size: 34px;

            letter-spacing: -0.4px;
        }

        .all-news-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));

            gap: 16px;
        }

        .all-news-content {
            padding: 14px 14px 0;
        }

        .all-news-card-title {
            font-size: 15px;

            line-height: 1.5;
        }

        .all-news-footer {
            margin-top: 9px;

            padding-top: 10px;
            padding-bottom: 10px;
        }

        .all-news-readmore {
            gap: 7px;

            font-size: 13px;
        }

        .all-news-arrow {
            width: 30px;
            height: 30px;
        }

        .all-news-arrow i {
            font-size: 18px;
        }

        .all-news-number {
            font-size: 11px;
        }
    }


    /* =========================================================
       SMALL MOBILE
       0px - 575px
    ========================================================= */

    @media (max-width: 575px) {

        .all-news-section {
            padding-bottom: 35px;
        }

        .all-news-title {
            font-size: 30px;

            letter-spacing: -0.3px;
        }

        /*
         * One card per row.
         */
        .all-news-grid {
            grid-template-columns: 1fr;

            gap: 18px;
        }

        .all-news-card {
            border-radius: 4px;
        }

        .all-news-image {
            aspect-ratio: 16 / 9;
        }

        .all-news-content {
            padding: 15px 15px 0;
        }

        .all-news-card-title {
            font-size: 16px;

            line-height: 1.5;
        }

        .all-news-footer {
            margin-top: 10px;

            padding-top: 11px;
            padding-bottom: 11px;
        }

        .all-news-readmore {
            font-size: 13px;
        }

        .all-news-arrow {
            width: 31px;
            height: 31px;
        }

        .all-news-arrow i {
            font-size: 18px;
        }
    }


    /* =========================================================
       EXTRA SMALL MOBILE
       360px AND BELOW
    ========================================================= */

    @media (max-width: 360px) {

        .all-news-title {
            font-size: 28px;
        }

        .all-news-grid {
            gap: 15px;
        }

        .all-news-content {
            padding: 14px 14px 0;
        }

        .all-news-card-title {
            font-size: 15px;

            line-height: 1.5;
        }

        .all-news-footer {
            margin-top: 9px;

            padding-top: 10px;
            padding-bottom: 10px;
        }

        .all-news-readmore {
            font-size: 12.5px;

            gap: 6px;
        }

        .all-news-arrow {
            width: 29px;
            height: 29px;
        }

        .all-news-arrow i {
            font-size: 17px;
        }

        .all-news-number {
            font-size: 10px;
        }
    }


    /* =========================================================
       ACCESSIBILITY
    ========================================================= */

    .all-news-image:focus-visible,
    .all-news-readmore:focus-visible,
    .all-news-back a:focus-visible {
        outline: 2px solid #555;

        outline-offset: 3px;
    }


    /* =========================================================
       REDUCED MOTION
    ========================================================= */

    @media (prefers-reduced-motion: reduce) {

        .all-news-card,
        .all-news-image img,
        .all-news-arrow,
        .all-news-back a {
            transition: none;
        }

        .all-news-card:hover {
            transform: none;
        }

        .all-news-card:hover .all-news-image img {
            transform: none;
        }

        .all-news-readmore:hover .all-news-arrow {
            transform: none;
        }

    }
