/* News Layouts Design System - Bootstrap & Theme Integrated */

:root {
    --news-accent: var(--ColorSecondary);
    /* Vibrant Red from Theme */
    --news-primary: var(--ColorPrimary);
    --news-bg-card: var(--ColorLightPrimary);
    --news-border: var(--ColorLightSecondary);
}

/* Utilities */
.rounded_5 {
    border-radius: 5px;
}

.rounded_10 {
    border-radius: 10px;
}

.rounded_12 {
    border-radius: 12px;
}

.rounded_15 {
    border-radius: 15px;
}

.rounded_20 {
    border-radius: 20px;
}

.rounded_24 {
    border-radius: 24px;
}

.rounded_32 {
    border-radius: 32px;
}

.rounded_circle {
    border-radius: 50%;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.last-child-border-0:last-child {
    border-bottom: none !important;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ColorDarkPrimary);
    transition: 0.3s;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title:hover {
    color: var(--ColorPrimary);
}

.news-meta {
    font-size: 0.8rem;
    color: var(--ColorDarkSecondary);
}

.news-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--ColorPrimary);
    color: white;
    margin-bottom: 8px;
    display: inline-block;
}

/* Header Spotlight */
.header-spotlight {
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: 1px solid var(--ColorLightSecondary);
    padding-left: 20px;
    margin-left: 20px;
}

.spotlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
}

.spotlight-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.spotlight-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Layouts handled by Standardized News System in Blade */

.layout-split-list .list-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--ColorLightSecondary);
}

/* Layout 3: Mosaic */
.mosaic-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Section specific styles now in Blade @push('style-css') */

/* Layout 9: Live */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--news-accent);
    font-weight: 800;
    font-size: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--news-accent);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* Big Feature standardized in Blade */

/* New Layouts from ui-suggestion.html */

/* Mosaic Style */
.mosaic-card-lg {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.mosaic-side-card {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: var(--ColorLightPrimary);
    border-radius: 12px;
    border: 1px solid var(--ColorLightSecondary);
    margin-bottom: 15px;
}

.mosaic-side-thumb {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Tabbed Widget */
.news-tabs-wrap {
    background: var(--ColorLightPrimary);
    border-radius: 12px;
    border: 1px solid var(--ColorLightSecondary);
    overflow: hidden;
}

.nav-tabs-custom {
    display: flex;
    border-bottom: 1px solid var(--ColorLightSecondary);
}

.tab-btn-custom {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: var(--ColorLightSecondary);
    color: var(--ColorDarkSecondary);
}

.tab-btn-custom.active {
    background: var(--ColorLightPrimary);
    color: var(--ColorPrimary);
    border-top: 3px solid var(--ColorPrimary);
}

/* Live Update */
.live-feed-wrap {
    border-left: 2px solid var(--ColorLightSecondary);
    margin-left: 10px;
    padding-left: 20px;
}

.live-feed-item {
    position: relative;
    margin-bottom: 25px;
}

.live-feed-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--news-accent);
    border-radius: 50%;
    border: 2px solid white;
}

/* Video Layout standardized in Blade */

/* Responsive Overrides */
@media (max-width: 991px) {
    .header-spotlight {
        display: none;
    }

    .mosaic-grid {
        grid-template-columns: 1fr;
    }

    .feature-mega {
        height: 350px;
    }

    .video-hub-section {
        padding: 30px 15px;
    }
}