/* -----------------------------
   GLOBAL
------------------------------ */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #f4f5f7;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 40px 5%;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 5px solid #ff1e1e;
    padding-left: 10px;
}

/* -----------------------------
   BREAKING NEWS BAR
------------------------------ */
.breaking-bar {
    background: #ff1e1e;
    color: #fff;
    padding: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.breaking-bar span {
    background: #fff;
    color: #ff1e1e;
    padding: 5px 10px;
    margin-right: 20px;
    border-radius: 3px;
    font-weight: 700;
}

/* -----------------------------
   HERO SECTION
------------------------------ */
.hero-section {
    width: 100%;
    height: 520px;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    background: rgba(0, 0, 0, 0.55);
    padding: 30px;
    color: #fff;
    border-radius: 10px;
    width: 60%;
    margin: 20px;
}

.hero-content h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.4;
}

.hero-category {
    font-size: 14px;
    background: #ff1e1e;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
}

.btn {
    background: #ff1e1e;
    padding: 9px 18px;
    display: inline-block;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 10px;
}

/* -----------------------------
   GRID CARDS
------------------------------ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.card-body .cat {
    color: #ff1e1e;
    font-size: 13px;
    font-weight: 600;
}

/* -----------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 900px) {
    .hero-content {
        width: 90%;
    }

    .hero-content h1 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 30px 20px;
    }

    .hero-section {
        height: 350px;
    }

    .hero-content {
        padding: 20px;
    }
}