/* Modern News Design - Blue Ice Theme */

/* Header */
.modern-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 5px;
}

.modern-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    /* Blue Gradient: Cyan to Deep Blue */
    background: linear-gradient(135deg, rgb(255, 60, 60) 0%, rgb(120, 0, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    /* Muted Blue */
    color: rgb(150, 180, 200);
    border: 1px solid rgba(150, 180, 200, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.modern-view-all:hover {
    color: #ff3b3b;
    border-color: #ff3b3b;
    background: rgba(255,0,0,0.2);
}

.modern-view-all span {
    font-size: 13px;
    font-weight: 500;
}

.icon-chevron-right {
    height: 16px;
    width: 16px;
    transition: transform 0.3s;
}

.modern-view-all:hover .icon-chevron-right {
    transform: translateX(3px);
}

/* Featured Card */
.modern-featured-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    /* Dark Blue BG */
    background: linear-gradient(135deg, rgba(16, 20, 28, 0.6) 0%, rgba(9, 12, 18, 0.8) 100%);
    /* Blue Border */
    border: 1px solid rgba(255,0,0,0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    text-decoration: none !important;
    height: 100%;
}

.featured-image-container {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.modern-featured-card:hover .featured-image {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Gradient to Dark Blue/Black */
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 6, 12, 0.3) 40%, rgba(5, 7, 10, 0.95) 100%);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.featured-badge {
    display: inline-block;
    padding: 4px 12px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
    /* Blue Badge */
    background: linear-gradient(135deg, rgb(120, 0, 0) 0%, rgb(255, 60, 60) 100%);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(255,0,0,0.4);
}

.featured-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: rgb(220, 230, 240);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0 0 12px 0;
    transition: color 0.3s;
    line-height: 1.2;
}

.modern-featured-card:hover .featured-title {
    color: #ff3b3b;
    /* Hover Blue */
}

.featured-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgb(150, 170, 190);
    font-size: 13px;
}

.icon-calendar {
    margin-right: 8px;
    color: #ff3b3b;
}

.featured-desc {
    color: rgb(150, 170, 190);
    font-size: 15px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.9;
}

.read-more {
    display: flex;
    align-items: center;
    color: #ff3b3b;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 5px;
}

.icon-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.modern-featured-card:hover .icon-chevron {
    transform: translateX(5px);
}

.hover-glow {
    position: absolute;
    inset: 0;
    /* Blue Glow */
    background: radial-gradient(circle, rgba(255,0,0,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.modern-featured-card:hover .hover-glow {
    opacity: 1;
}

/* List Cards */
.hero-news-flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.hero-news-flex-row>.col-md-8,
.hero-news-flex-row>.col-md-4 {
    display: flex;
    flex-direction: column;
}

.modern-news-list {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.modern-list-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Dark Blue BG */
    background: linear-gradient(135deg, rgba(16, 20, 28, 0.7) 0%, rgba(9, 12, 18, 0.5) 100%);
    border: 1px solid rgba(255,0,0,0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    height: 100%;
    flex: 1;
}

.list-image-container {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.modern-list-card:hover .list-image {
    transform: scale(1.1);
}

.list-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(9, 12, 18, 0.8) 100%);
}

.list-content {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.list-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: rgb(220, 230, 240);
    margin: 0 0 10px 0;
    transition: color 0.3s;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-list-card:hover .list-title {
    color: #ff3b3b;
}

.list-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgb(150, 170, 190);
    font-size: 13px;
}

.list-desc {
    color: rgb(150, 170, 190);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.9;
    line-height: 1.5;
}

.icon-calendar-sm {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #ff3b3b;
}

.read-more-sm {
    display: flex;
    align-items: center;
    color: #ff3b3b;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    gap: 4px;
    margin-top: auto;
}

.icon-chevron-sm {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.modern-list-card:hover .icon-chevron-sm {
    transform: translateX(3px);
}

.hover-glow-sm {
    position: absolute;
    inset: 0;
    /* Blue Glow */
    background: radial-gradient(circle, rgba(255,0,0,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.modern-list-card:hover .hover-glow-sm {
    opacity: 1;
}

/* Responsiveness adjustments */
@media (max-width: 991px) {
    .modern-news-list {
        margin-top: 20px;
        height: auto;
    }

    .modern-featured-card {
        height: auto;
    }

    .featured-image-container {
        height: 250px;
    }

    .modern-list-card {
        height: auto;
    }
}

/* ===== MU VOLCON NEWS RED THEME ===== */

.modern-featured-card,
.modern-list-card {
    background: linear-gradient(135deg, rgba(25,0,0,.82) 0%, rgba(8,0,0,.92) 100%) !important;
    border: 1px solid rgba(255,0,0,.25) !important;
    box-shadow: 0 0 30px rgba(255,0,0,.15);
}

.featured-overlay,
.list-overlay {
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(20,0,0,.75) 50%, rgba(0,0,0,.96) 100%) !important;
}

.featured-title,
.list-title,
.modern-title {
    background: linear-gradient(90deg,#ff2b2b,#ff6a00,#ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.featured-badge {
    background: linear-gradient(180deg,#ff1a1a,#7a0000) !important;
    box-shadow: 0 0 18px rgba(255,0,0,.35);
}

.modern-view-all {
    border: 1px solid rgba(255,0,0,.25) !important;
    color: #ff8c8c !important;
}

.modern-view-all:hover {
    background: rgba(255,0,0,.12) !important;
    border-color: rgba(255,0,0,.45) !important;
    box-shadow: 0 0 15px rgba(255,0,0,.25);
}

.hover-glow,
.hover-glow-sm {
    background: radial-gradient(circle, rgba(255,0,0,.18) 0%, transparent 70%) !important;
}
