﻿
.news-image-container {
    width: 100%;
    max-width: 400px;
    height: 260px; /* fixed height */
    overflow: hidden;
    border-radius: 6px;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   DETAIL IMAGE + FULL BACKGROUND
   ========================================================= */

.news-detail-banner {
    position: relative;
    width: calc(100% + 2rem);
    margin-top: -1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/img/background/news/news-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

    /* Dark overlay */
    .news-detail-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.80);
        z-index: 0;
    }

.news-detail-image-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

    .news-detail-image-container img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        display: block;
        border-radius: 5px;
    }


/* end details ===========================================================================================*/

.news-banner {
    position: relative;
    overflow: hidden;
    background-image: url('/img/background/news/news-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 8px;
}

/* Dark overlay */
.news-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
    z-index: 0;
}

/* Keep content above overlay */
.news-banner > .row {
    position: relative;
    z-index: 1;
}
.important-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4d4d;
    font-weight: 700;
}

.important-note-icon {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff4d4d;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #ff4d4d;
    /* Glow */
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.8), 0 0 12px rgba(255, 77, 77, 0.5), inset 0 0 6px rgba(255, 77, 77, 0.2);
    text-shadow: 0 0 6px rgba(255, 77, 77, 0.9);
    flex-shrink: 0;
}





