﻿/* =========================================================

PREMIUM NEWS & EVENTS
NEWS PAGE CSS
=============

========================================================= */
/* =========================================================
SECTION
TOP SPACE
========================================================= */
.news-premium-section {
    padding-top: 180px;
}

/* =========================================================
NEWS & EVENTS GRID
DESKTOP - 4 COLUMNS
========================================================= */

.news-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* =========================================================
NEWS CARD
========================================================= */

.news-events-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eeeeee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

    /* =========================================================
NEWS CARD HOVER
========================================================= */

    .news-events-card:hover {
        transform: translateY(-8px);
        border-color: rgba(244, 131, 56, 0.35);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
    }

/* =========================================================
NEWS IMAGE
========================================================= */

.news-events-image {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #f4f4f4;
}

    .news-events-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.65s ease;
    }

/* =========================================================
NEWS IMAGE HOVER
========================================================= */

.news-events-card:hover .news-events-image img {
    transform: scale(1.08);
}

/* =========================================================
IMAGE BOTTOM OVERLAY
========================================================= */

.news-events-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 75px;
    background: linear-gradient(to top, rgba(0,0,0,0.42), rgba(0,0,0,0));
    pointer-events: none;
}

/* =========================================================
DATE BOX
DAY + MONTH + YEAR
========================================================= */

.news-events-date {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 55px;
    height: 54px;
    background: #de5e04;
    color: #ffffff;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

/* =========================================================
DATE BOX HOVER
========================================================= */

.news-events-card:hover .news-events-date {
    transform: translateY(-4px);
    background: rgba(34, 34, 34, 0.90);
}

/* =========================================================
DATE - DAY
========================================================= */

.news-events-date-day {
    display: block;
    font-size: 19px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 1px;
}

/* =========================================================
DATE - MONTH
========================================================= */

.news-events-date-month {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 11px;
}

/* =========================================================
DATE - YEAR
========================================================= */

.news-events-date-year {
    display: block;
    width: 100%;
    margin-top: 2px;
    padding-top: 2px;
    border-top: 1px solid rgba(255,255,255,0.45);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.8px;
    line-height: 10px;
    text-align: center;
}

/* =========================================================
PLUS BUTTON
========================================================= */

.news-events-plus {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #f48338;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================================
PLUS BUTTON HOVER
========================================================= */

.news-events-card:hover .news-events-plus {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
PLUS ICON
========================================================= */

.news-events-plus i {
    font-size: 15px;
}

/* =========================================================
CARD CONTENT
========================================================= */

.news-events-content {
    position: relative;
    padding: 20px 20px 22px;
    text-align: left;
    background: #ffffff;
}

/* =========================================================
CATEGORY
========================================================= */

.news-events-category {
    display: inline-block;
    color: #f48338;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

/* =========================================================
NEWS TITLE
========================================================= */

.news-events-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
    min-height: 51px;
}

    /* =========================================================
NEWS TITLE LINK
========================================================= */

    .news-events-title a {
        color: #222222;
        text-decoration: none !important;
        transition: color 0.3s ease;
    }

        /* =========================================================
NEWS TITLE LINK HOVER
========================================================= */

        .news-events-title a:hover {
            color: #f48338;
        }

/* =========================================================
NEWS DESCRIPTION
========================================================= */

.news-events-text {
    font-size: 13px;
    line-height: 1.65;
    color: #323131;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
READ ARTICLE
========================================================= */

.news-events-readmore {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f48338 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

    /* =========================================================
READ ARTICLE ARROW
========================================================= */

    .news-events-readmore::after {
        content: "→";
        font-size: 17px;
        transition: transform 0.3s ease;
    }

    /* =========================================================
READ ARTICLE HOVER
========================================================= */

    .news-events-readmore:hover {
        color: #222222 !important;
    }

        .news-events-readmore:hover::after {
            transform: translateX(5px);
        }

/* =========================================================
CARD BOTTOM ORANGE ACCENT
========================================================= */

.news-events-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #f48338;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
    z-index: 5;
}

.news-events-card:hover::before {
    transform: scaleX(1);
}

/* =========================================================
NEWS MODAL
BACKGROUND
========================================================= */

.news-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 14, 0.86);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

/* =========================================================
NEWS MODAL BOX
========================================================= */

.news-modal-box {
    position: relative;
    width: 90%;
    max-width: 650px;
    max-height: 92vh;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    animation: newsModalOpen 0.35s ease;
    box-sizing: border-box;
}

/* =========================================================
MODAL OPEN ANIMATION
========================================================= */

@keyframes newsModalOpen {

     from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

   
}

/* =========================================================
MODAL IMAGE
========================================================= */

.news-modal-image {
    width: 100%;
    height: 290px;
    overflow: hidden;
    background: #eeeeee;
}

    .news-modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* =========================================================
MODAL CONTENT
========================================================= */

.news-modal-content {
    padding: 5px 28px 27px;
    box-sizing: border-box;
}

/* =========================================================
MODAL CATEGORY
========================================================= */

.news-modal-category {
    color: #f48338;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
MODAL DATE
========================================================= */

.news-modal-date {
    color: #f48338;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* =========================================================
MODAL TITLE
========================================================= */

.news-modal-title {
    color: #222222;
    font-size: 25px;
    line-height: 1.35;
    margin: 0 0 12px;
}

/* =========================================================
MODAL TEXT
========================================================= */

.news-modal-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

/* =========================================================
MODAL CLOSE BUTTON
========================================================= */

.news-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f48338;
    color: #ffffff;
    font-size: 23px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

    .news-modal-close:hover {
        background: #222222;
        transform: rotate(90deg);
    }

/* =========================================================
TABLET
MAX WIDTH 1199px
3 COLUMNS
========================================================= */

@media only screen and (max-width: 1199px) {

   
    .news-events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

   
}

/* =========================================================
MOBILE
MAX WIDTH 767px
========================================================= */

@media only screen and (max-width: 767px) {

   
    .news-premium-section {
        padding-top: 70px;
    }


    .news-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }


    .news-events-image {
        height: 155px;
    }


    .news-events-content {
        padding: 16px 14px 18px;
    }


    .news-events-title {
        font-size: 16px;
        line-height: 1.4;
        min-height: 45px;
    }


    .news-events-text {
        font-size: 12px;
    }


    .news-events-category {
        font-size: 10px;
    }


    .news-events-date {
        width: 50px;
        height: 51px;
        right: 10px;
        bottom: 10px;
        background: rgba(244, 131, 56, 0.70);
    }


    .news-events-date-day {
        font-size: 17px;
        line-height: 17px;
    }


    .news-events-date-month {
        font-size: 8px;
        line-height: 10px;
    }


    .news-events-date-year {
        font-size: 8px;
        line-height: 9px;
        margin-top: 2px;
        padding-top: 2px;
    }


    .news-events-plus {
        width: 34px;
        height: 34px;
        left: 10px;
        bottom: 10px;
    }


    /* =====================================================
   MOBILE MODAL
   ===================================================== */

    .news-modal {
        padding: 10px;
    }


    .news-modal-box {
        width: 95%;
        max-height: 90vh;
    }


    .news-modal-image {
        height: 210px;
    }


    .news-modal-content {
        padding: 19px 20px 22px;
    }


    .news-modal-title {
        font-size: 21px;
    }


    .news-modal-text {
        font-size: 13px;
    }

    
}

/* =========================================================
SMALL MOBILE
MAX WIDTH 480px
========================================================= */

@media only screen and (max-width: 480px) {

    
    .news-premium-section {
        padding-top: 55px;
    }


    .news-events-grid {
        grid-template-columns: 1fr;
    }


    .news-events-image {
        height: 190px;
    }


    .news-events-title {
        font-size: 18px;
    }


    .news-events-content {
        padding: 18px 17px 20px;
    }


    .news-events-date {
        width: 52px;
        height: 53px;
        right: 12px;
        bottom: 12px;
        background: rgba(244, 131, 56, 0.70);
    }


    .news-events-date-day {
        font-size: 18px;
        line-height: 18px;
    }


    .news-events-date-month {
        font-size: 8px;
        line-height: 10px;
    }


    .news-events-date-year {
        font-size: 8px;
        line-height: 9px;
    }


    /* =====================================================
   SMALL MOBILE MODAL
   ===================================================== */

    .news-modal-box {
        width: 96%;
    }


    .news-modal-image {
        height: 175px;
    }


    .news-modal-content {
        padding: 17px 17px 20px;
    }


    .news-modal-title {
        font-size: 19px;
    }

   
}

 /* =========================================================

# END OF PREMIUM NEWS & EVENTS CSS

========================================================= */
