/* --- News Fragment Global Wrapper --- */
.news-fragment-wrapper { 
    padding: 0 !important; 
    background: #f8fafc; 
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* --- THE FIXED SKIP HEADER --- */
.news-gateway-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important;
    right: 0 !important;
    z-index: 100000 !important;
    background: #ffffff !important; 
    height: 75px !important; 
    padding: 0 20px !important;
    display: none; 
    align-items: center !important; 
    justify-content: flex-end !important;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.news-skip-btn {
    background: #0A66C2 !important; 
    color: #ffffff !important; 
    height: 42px !important;
    padding: 0 25px !important; 
    border-radius: 50px !important;
    font-weight: 800 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 10px rgba(10, 102, 194, 0.2);
}

/* --- MAIN CONTENT AREA --- */
.news-container-main {
    padding: 20px 15px 120px 15px !important;
}

.gateway-mode-active .news-container-main {
    margin-top: 75px !important; 
}

/* --- THE BLUE SECTION HEADER (FORCED TEXT VISIBILITY) --- */
.news-sec-head { 
    background: linear-gradient(135deg, #0A66C2 0%, #004282 100%) !important;
    color: white !important; 
    padding: 22px 25px !important; 
    border-radius: 20px 20px 0 0 !important; 
    display: block !important; /* Block prevents flex-truncation */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* KILLING THE THREE DOTS (...) */
.news-sec-head span {
    font-size: 1.25rem !important; 
    font-weight: 800 !important;
    display: block !important;
    width: 100% !important;
    white-space: normal !important; 
    overflow: visible !important;   
    text-overflow: unset !important; 
    line-height: 1.4 !important;
}

/* --- NEWS CONTAINER & LIST --- */
.news-container {
    background: #ffffff !important; 
    border-radius: 0 0 24px 24px !important; 
    padding: 20px 18px !important;
    border: 1px solid #e2e8f0 !important; 
    border-top: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- THE EXECUTIVE NEWS CARD --- */
.news-card {
    position: relative; 
    background: #ffffff !important; 
    border-radius: 24px !important;
    padding: 22px !important; 
    margin-bottom: 20px !important; 
    overflow: hidden !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03) !important;
    opacity: 0; 
    transform: translateY(20px);
    animation: newsFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes newsFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.news-card-header {
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    margin-bottom: 15px !important;
}

.news-icon-circle {
    width: 44px; height: 44px; 
    background: #f0f7ff; color: #0A66C2;
    border-radius: 50%; display: flex; 
    align-items: center; justify-content: center;
    font-size: 1.2rem; border: 1px solid rgba(10, 102, 194, 0.1);
}

.news-cat-pill {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white; padding: 6px 14px; border-radius: 50px;
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
}

.news-card-title {
    font-size: 1.1rem; color: #1e293b; font-weight: 800; 
    margin: 5px 0 18px 0; line-height: 1.4;
}

/* --- PROPERTY TABLE (Single Line Aligned) --- */
.news-properties-box {
    background: #f8fafc; border-radius: 18px; padding: 8px 16px; border: 1px solid #f1f5f9;
}

.news-property-row {
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    padding: 10px 0 !important; border-bottom: 1px solid #edf2f7 !important;
}

.news-property-row:last-child { border-bottom: none !important; }

.news-prop-key {
    font-size: 0.7rem; color: #94a3b8; font-weight: 700; text-transform: uppercase;
}

.news-prop-val {
    font-size: 0.85rem; color: #0f172a; font-weight: 700; text-align: right;
}

/* --- Animated Shimmer Effect --- */
.news-gloss-shimmer {
    position: absolute; top: -100%; left: -100%; width: 300%; height: 300%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(35deg); animation: newsShimmer 10s ease-in-out infinite; pointer-events: none;
}

@keyframes newsShimmer {
    0% { transform: translate(-5%, -5%) rotate(35deg); }
    15% { transform: translate(10%, 10%) rotate(35deg); }
    100% { transform: translate(10%, 10%) rotate(35deg); }
}