/* --------------------------------------------------

   GLOBAL RESET & BASE

-------------------------------------------------- */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    background: #f5f7fa;

    color: #222;

    line-height: 1.6;

}



/* --------------------------------------------------

   TOP BAR

-------------------------------------------------- */

.top-bar {

    background: #0d1b2a;

    color: #fff;

    padding: 8px 20px;

    display: flex;

    justify-content: space-between;

    font-size: 14px;

}



.top-bar a {

    color: #fff;

    margin-right: 15px;

    text-decoration: none;

}



.top-bar a:hover {

    text-decoration: underline;

}



/* --------------------------------------------------

   MAIN NAV

-------------------------------------------------- */

.main-nav {

    background: #ffffff;

    padding: 15px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 2px solid #e3e6ea;

}



.logo {

    font-size: 28px;

    font-weight: 700;

    color: #0d1b2a;

}



.logo span {

    color: #1b6ec2;

}



.nav-menu a {

    margin-left: 20px;

    text-decoration: none;

    color: #333;

    font-weight: 500;

}



.nav-menu a:hover {

    color: #1b6ec2;

}



/* --------------------------------------------------

   PAGE WRAP

-------------------------------------------------- */

.page-wrap {

    width: 95%;

    max-width: 1300px;

    margin: 25px auto;

}



/* --------------------------------------------------

   HERO BLOCK

-------------------------------------------------- */

.hero-block {

    position: relative;

    display: flex;

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    margin-bottom: 40px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);

}



.hero-img {

    width: 55%;

    height: 420px;

    object-fit: cover;

}



.hero-text {

    padding: 30px;

    width: 45%;

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.hero-text h1 {

    font-size: 32px;

    margin-bottom: 15px;

    font-weight: 700;

}



.hero-text p {

    font-size: 17px;

    margin-bottom: 20px;

    color: #444;

}



.hero-text .meta {

    font-size: 14px;

    color: #777;

    margin-bottom: 20px;

}



.read-more {

    background: #1b6ec2;

    color: #fff;

    padding: 12px 18px;

    border-radius: 6px;

    text-decoration: none;

    width: fit-content;

    font-weight: 600;

}



.read-more:hover {

    background: #155a9a;

}



/* --------------------------------------------------

   TOP STORIES

-------------------------------------------------- */

.top-stories h2,

.news-grid h2 {

    font-size: 26px;

    margin-bottom: 20px;

    border-left: 5px solid #1b6ec2;

    padding-left: 12px;

}



.top-stories-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



.story-card {

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 15px rgba(0,0,0,0.06);

    padding-bottom: 15px;

}



.story-card img {

    width: 100%;

    height: 180px;

    object-fit: cover;

}



.story-card h3 {

    font-size: 18px;

    padding: 12px;

    font-weight: 600;

}



.story-card p {

    padding: 0 12px 12px;

    color: #555;

    font-size: 15px;

}



.story-card a {

    margin-left: 12px;

    color: #1b6ec2;

    font-weight: 600;

    text-decoration: none;

}



.story-card a:hover {

    text-decoration: underline;

}



/* --------------------------------------------------

   NEWS GRID (3-COLUMN)

-------------------------------------------------- */

.grid-3 {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



.grid-card {

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 15px rgba(0,0,0,0.06);

    padding-bottom: 15px;

}



.grid-card img {

    width: 100%;

    height: 160px;

    object-fit: cover;

}



.grid-card h4 {

    font-size: 17px;

    padding: 12px;

    font-weight: 600;

}



.grid-card a {

    margin-left: 12px;

    color: #1b6ec2;

    font-weight: 600;

    text-decoration: none;

}



.grid-card a:hover {

    text-decoration: underline;

}



/* --------------------------------------------------

   FOOTER

-------------------------------------------------- */

.footer {

    text-align: center;

    padding: 25px;

    margin-top: 40px;

    background: #0d1b2a;

    color: #fff;

    font-size: 14px;

}



/* --------------------------------------------------

   RESPONSIVE

-------------------------------------------------- */

@media (max-width: 900px) {

    .hero-block {

        flex-direction: column;

    }

    .hero-img {

        width: 100%;

        height: 260px;

    }

    .hero-text {

        width: 100%;

    }

    .top-stories-grid,

    .grid-3 {

        grid-template-columns: 1fr;

    }

}

