/* =============================================
   TAXI JACK — NEWS SECTION (Homepage)
   /css/sections/nieuws.css
   ============================================= */

.news-cyber {
    position: relative;
    padding: 80px 0;
    background: #0a0a0a;
    overflow: hidden;
}

.news-grid-cyber {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 10px;
}

/* --- NEWS CARD --- */
.news-card-cyber {
    position: relative;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.news-card-cyber:hover {
    border-color: rgba(255, 192, 0, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.news-card-cyber .card-bg-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 72px;
    font-weight: 900;
    font-style: italic;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

/* Card Image */
.news-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #111;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-cyber:hover .news-card-image img {
    transform: scale(1.06);
}

.news-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.news-card-placeholder i {
    font-size: 48px;
    color: rgba(255, 192, 0, 0.15);
}

/* Card Content */
.news-card-content {
    position: relative;
    z-index: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffc000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-card-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 10px;
    transition: color 0.2s;
}

.news-card-cyber:hover .news-card-content h3 {
    color: #ffc000;
}

.news-card-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}

.news-card-content .card-action {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffc000;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.news-card-cyber:hover .card-action {
    gap: 14px;
}

/* Glow effect on hover */
.news-card-cyber .card-border-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffc000, transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.news-card-cyber:hover .card-border-glow {
    opacity: 1;
}


/* --- RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .news-grid-cyber {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .news-cyber {
        padding: 60px 0;
    }

    .news-card-image {
        height: 180px;
    }
}
