/*
Theme Name: News Portal
Author: Param Singh
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:white;
color:#333;
}

/* HEADER */

.header{
background:white;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
position:sticky;
top:0;
z-index:1000;
}

.header-content{
max-width:1200px;
margin:auto;
padding:15px 20px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:24px;
font-weight:700;
text-decoration:none;
color:#333;
}

.nav-menu{
display:flex;
list-style:none;
gap:30px;
}

.nav-menu a{
text-decoration:none;
color:#333;
font-weight:500;
}

.nav-menu a:hover{
color:#ff3b30;
}

/* MAIN */

.container{
max-width:1200px;
margin:auto;
padding:20px;
}

/* FEATURED */

.featured{
position:relative;
}

.featured img{
width:100%;
height:400px;
object-fit:cover;
border-radius:4px;
}

.featured-content{
position:absolute;
bottom:0;
left:0;
right:0;
padding:20px;
background:linear-gradient(transparent,rgba(0,0,0,0.9));
color:white;
}

.story-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:15px;
}

.story img{
width:100%;
height:140px;
object-fit:cover;
}

.footer{
background:#2d2d2d;
color:#ccc;
padding:50px 20px;
}