* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f7;
    color: #222;
}


/* HEADER */

header {
    background: #111;
    color: white;
}

.top-bar {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 20px;
}

.logo {
    font-size: 38px;
    font-weight: bold;
}

.logo span {
    color: #e50914;
}

.date {
    font-size: 15px;
    color: #ddd;
}


/* NAVIGATION */

nav {
    background: #e50914;
}

.nav-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-container a {
    color: white;
    text-decoration: none;

    padding: 15px 18px;

    font-weight: bold;
    font-size: 15px;
}

.nav-container a:hover {
    background: #111;
}


/* BREAKING NEWS */

.breaking-news {
    display: flex;

    background: white;

    border-bottom: 1px solid #ddd;
}

.breaking-title {
    background: #111;
    color: white;

    padding: 12px 18px;

    font-weight: bold;
}

.breaking-text {
    flex: 1;
    padding: 12px;
}


/* MAIN */

main {
    max-width: 1200px;
    margin: auto;
}


/* HERO */

.hero {
    margin: 30px 20px;

    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.65)
        ),
        url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;

    border-radius: 12px;

    color: white;
}

.hero-content {
    max-width: 700px;
    padding: 30px;
}

.small-title {
    letter-spacing: 4px;
    font-weight: bold;
}

.hero h1 {
    font-size: 55px;
    margin: 15px 0;
}

.hero h1 span {
    color: #ff2020;
}

.hero p {
    font-size: 19px;
    line-height: 1.6;
}

.hero button {
    margin-top: 25px;
}


/* BUTTON */

button {
    border: none;

    background: #e50914;
    color: white;

    padding: 12px 22px;

    border-radius: 5px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

button:hover {
    background: #111;
    transform: translateY(-2px);
}


/* SECTION */

.section {
    padding: 20px;
}

.section h2,
.categories h2,
.about h2 {
    text-align: center;
    font-size: 30px;
}

.heading-line {
    width: 70px;
    height: 4px;

    background: #e50914;

    margin: 10px auto 30px;
}


/* NEWS GRID */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


/* NEWS CARD */

.news-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.15);
}


/* NEWS IMAGE */

.news-image {
    height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;

    font-size: 65px;
}


/* NEWS CONTENT */

.news-content {
    padding: 20px;
}

.category {
    color: #e50914;

    font-size: 12px;

    font-weight: bold;
}

.news-content h3 {
    font-size: 20px;

    margin: 10px 0;
}

.news-content p {
    color: #666;

    line-height: 1.6;

    margin-bottom: 15px;
}


/* CATEGORIES */

.categories {
    padding: 40px 20px;
}

.category-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.category-container a {
    background: white;

    padding: 25px;

    text-align: center;

    text-decoration: none;

    color: #222;

    font-weight: bold;

    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.category-container a:hover {
    background: #e50914;
    color: white;
}


/* ABOUT */

.about {
    background: white;

    margin: 20px;

    padding: 40px;

    border-radius: 10px;

    text-align: center;
}

.about p {
    max-width: 800px;

    margin: 12px auto;

    line-height: 1.7;

    color: #555;
}


/* FOOTER */

footer {
    margin-top: 40px;

    background: #111;

    color: white;
}

.footer-content {
    max-width: 1200px;

    margin: auto;

    padding: 40px 20px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.footer-content h2 span {
    color: #e50914;
}

.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content a {
    display: block;

    color: #ccc;

    text-decoration: none;

    margin: 8px 0;
}

.footer-content a:hover {
    color: white;
}

.footer-content p {
    color: #ccc;

    margin: 8px 0;
}

.copyright {
    text-align: center;

    padding: 18px;

    border-top: 1px solid #333;

    color: #aaa;
}


/* MOBILE */

@media (max-width: 800px) {

    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo {
        font-size: 32px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .category-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .breaking-title {
        font-size: 12px;
    }
}
.video-grid 
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-card iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

.video-card h3 {
    padding: 15px;
    margin: 0;
}
