/* NEWS CONTAINER - RAIN THEME */
.news-container {
    background: linear-gradient(to right, #e0f1fb, #f5fbff);
    box-shadow: 0 6px 18px rgba(106, 168, 214, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    width: 90%;
    margin: 20px auto 0 auto;
    margin-bottom: 0px;
    position: relative;
    isolation: isolate;
}

.news-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/clean-gray-paper.png");
    opacity: 0.05;
    z-index: 0;
}

.news-label {
    background-color: #336699;
    color: #ffffff;
    font-weight: bold;
    padding: 15px 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    white-space: nowrap;
    font-family: 'Segoe UI', Calibri, sans-serif;
    position: relative;
    z-index: 1;
}

.news-label::after {
    content: "";
    position: absolute;
    right: -14.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #336699;
}

.news-marquee {
    flex: 1;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Calibri, sans-serif;
    font-size: 1.2rem;
    color: #2b3e51;
    padding: 0 10px;
    background: linear-gradient(to right, #ffffff, #f0f8ff);
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.news-marquee marquee {
    width: 100%;
    padding: 15px 0;
    animation: drizzle-fade 10s ease-in-out infinite alternate;
}

/* Animated raindrop fade shimmer */
@keyframes drizzle-fade {
    0% {
        opacity: 0.8;
        transform: translateY(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(2px);
    }
}

@media (max-width: 700px) {
    .news-container {
        flex-direction: column;
        align-items: stretch;
    }

    .news-label {
        width: 100%;
        border-radius: 6px 6px 0 0;
        justify-content: center;
        font-size: 1.5rem;
        padding: 12px;
    }

    .news-marquee {
        padding: 10px;
        font-size: 1.5rem;
    }

    .news-marquee marquee {
        padding: 10px 0;
    }
}
