/* ===========================
   NEWS PAGE
=========================== */
.news-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* ===========================
   HEADER
=========================== */
.news-header {
    text-align: center;
    margin-bottom: 45px;
}

.news-header h1 {
    font-size: 38px;
    color: #222;
    margin-bottom: 12px;
}

.news-header p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

/* ===========================
   GRID
=========================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===========================
   CARD
=========================== */
.news-card {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    transition: .3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* ===========================
   IMAGE
=========================== */
.news-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

/* ===========================
   CONTENT
=========================== */
.news-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.3;
    color: #222;
}

.news-date {
    color: #82BE21;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* ===========================
   READ MORE
=========================== */
.news-content .read-more-link {
    display: inline-block;
    align-self: flex-start;
    margin-top: 20px;
    color: #ff7b00;
    font-weight: bold;
    text-decoration: none;
    transition: .2s;
}

.news-content .read-more-link:hover {
    color: #82BE21;
}

/* =====================================
   NEWS ENGAGEMENT
===================================== */
.news-engagement {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    color: #777;
    font-size: 13px;
    font-weight: 600;
}

.news-engagement span {
    white-space: nowrap;
}

/* ========================================
   NEW NEWS BADGE & ANIMATION
======================================== */
.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #ff6600;
    color: #ffffff;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

@keyframes newBadgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.10); }
    100% { transform: scale(1); }
}

.new-badge,
.home-news-badge,
.nav-new-badge,
.article-new-badge {
    animation: newBadgePulse 2s ease-in-out infinite;
    transform-origin: center;
}

/* =====================================
   POPULAR BADGE
===================================== */
.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 20px;
    background: #fff3e8;
    color: #ff6600;
    border: 1px solid #ffd4b5;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}

/* =====================================
   ADVERTISE WITH COYCRUISIN
===================================== */
.news-advertise {
    max-width: 1200px;
    margin: 0 auto 45px;
    padding: 0 25px;
}

.news-advertise-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 28px;
    background: #eeeeea;
    border: 1px solid #e4e4e0;
    border-radius: 10px;
}

.news-advertise-container h2 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.news-advertise-container p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.news-advertise-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 10px 20px;
    background: #82BE21;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.news-advertise-btn:hover {
    background: #6fa719;
    transform: translateY(-2px);
}

/* =====================================
   TABLET RESPONSIVE
===================================== */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-page {
        padding: 0 15px;
    }

    .news-header h1 {
        font-size: 30px;
    }

    .news-header p {
        font-size: 16px;
    }

    .news-card {
        grid-template-columns: 180px 1fr;
    }

    .news-card img {
        min-height: 270px;
    }
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */
@media (max-width: 600px) {
    .news-advertise {
        padding: 0 20px;
        margin-bottom: 35px;
    }

    .news-advertise-container {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
        gap: 18px;
    }

    .news-advertise-container h2 {
        font-size: 19px;
    }

    .news-advertise-container p {
        font-size: 13px;
    }

    .news-advertise-btn {
        width: 100%;
        max-width: 220px;
    }

    .news-card {
        grid-template-columns: 38% 62%;
    }

    .news-card img {
        min-height: 230px;
        height: 100%;
        object-fit: cover;
    }

    .news-content {
        padding: 18px;
    }

    .news-content h2 {
        font-size: 19px;
    }

    .news-date {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .news-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .news-content .read-more-link {
        margin-top: 15px;
        font-size: 14px;
    }

    .popular-badge {
        top: 10px;
        left: 10px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .news-engagement {
        gap: 10px;
        margin-top: 10px;
        font-size: 12px;
    }
}
