/* ==========================
   NEWS HIGHWAY
   STYLE.CSS
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f5f5;
    color:#222;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:95%;
    max-width:1300px;
    margin:auto;
}

/* ==========================
   HERO
========================== */

.hero{
    background:#111;
    color:#fff;
    padding:40px 0;
}

.hero .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.hero-left{
    flex:1;
}

.hero-left h1{
    font-size:42px;
    margin-bottom:20px;
    color:#FFC107;
}

.hero-left p{
    font-size:18px;
    color:#ddd;
}

.hero-right{
    flex:1;
}

.hero-right img{
    width:100%;
    border-radius:10px;
}

/* ==========================
   BREAKING NEWS
========================== */

.breaking{
    background:#FFC107;
    padding:12px 0;
}

.breaking .container{
    display:flex;
    align-items:center;
}

.breaking-title{

    background:#111;

    color:#fff;

    padding:10px 18px;

    font-weight:bold;

    margin-right:15px;
}

.breaking-scroll{

    flex:1;

    color:#111;

    font-weight:bold;
}

/* ==========================
   LATEST NEWS
========================== */

.latest-news{

    padding:50px 0;
}

.latest-news h2{

    margin-bottom:30px;

    font-size:30px;

    border-left:6px solid #FFC107;

    padding-left:15px;
}

.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));

    gap:25px;
}

.news-card{

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.news-card:hover{

    transform:translateY(-6px);
}

.news-card img{

    width:100%;

    height:220px;

    object-fit:cover;
}

.news-content{

    padding:18px;
}

.news-content h3{

    font-size:22px;

    margin-bottom:10px;

    line-height:1.4;
}

.news-content h3:hover{

    color:#FFC107;
}

.news-content p{

    color:#666;

    font-size:15px;

    margin-bottom:15px;
}

.date{

    color:#999;

    font-size:13px;
}

/* ==========================
   BUTTON
========================== */

.btn{

    display:inline-block;

    background:#111;

    color:#FFC107;

    padding:12px 20px;

    border-radius:5px;

    font-weight:bold;
}

.btn:hover{

    background:#FFC107;

    color:#111;
}

/* ==========================
   SECTION GAP
========================== */

section{

    margin-bottom:40px;
}

/* ==========================
   FOOTER
========================== */

footer{

    background:#111;

    color:#fff;

    padding:40px 0;

    margin-top:50px;
}

footer p{

    text-align:center;

    color:#bbb;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

.hero .container{

flex-direction:column;

}

.hero-left h1{

font-size:32px;

}

.news-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.news-grid{

grid-template-columns:1fr;

}

.breaking .container{

flex-direction:column;

align-items:flex-start;

}

.breaking-title{

margin-bottom:10px;

}

.hero{

padding:25px 0;

}

.hero-left h1{

font-size:28px;

}

}

@media(max-width:480px){

.hero-left h1{

font-size:24px;

}

.latest-news h2{

font-size:24px;

}

.news-content h3{

font-size:18px;

}

}