/*
Theme Name: Magazine Pro Elite
*/

body{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  background:#ffffff;
  color:#111;
}

/* TYPOGRAPHY */
h1,h2,h3,h4{
  font-family: Arial, Helvetica, sans-serif;
  font-weight:700;
  line-height:1.2;
}

p{
  line-height:1.7;
  font-size:16px;
}

/* LINKS */
a{ text-decoration:none; color:inherit; }

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

/* HEADER */
.site-header{
  border-bottom:1px solid #eee;
  background:#fff;
  position:sticky;
  top:0;
  z-index:999;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  font-size:12px;
  color:#666;
}

.logo{
  font-size:28px;
  font-weight:bold;
}

.nav{
  display:flex;
  gap:20px;
  padding:10px 0;
  border-top:1px solid #eee;
}

.nav a{
  font-size:13px;
  text-transform:uppercase;
  color:#333;
}

/* HERO */
.hero{
  position:relative;
  margin-bottom:40px;
}

.hero img{
  width:100%;
  height:460px;
  object-fit:cover;
}

.hero-overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:30px;
  background:linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color:#fff;
}

.hero h1{
  font-size:38px;
}

/* GRID */
.main-grid{
  display:grid;
  grid-template-columns:3fr 1fr;
  gap:30px;
}

/* TRENDING SIDEBAR */
.sidebar h3{
  font-size:16px;
  margin-bottom:15px;
}

.sidebar article{
  margin-bottom:15px;
}

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

/* CATEGORY */
.category-block{
  margin-top:50px;
  border-top:2px solid #111;
  padding-top:20px;
}

.block-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:15px;
}

.block-header h2{
  font-size:20px;
}

.block-header a{
  font-size:12px;
  color:#888;
}

/* EDITORIAL GRID */
.editorial-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

/* FEATURED */
.featured img{
  width:100%;
  height:280px;
  object-fit:cover;
}

.featured h3{
  font-size:22px;
  margin-top:10px;
}

/* SMALL */
.small-list{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.small-list article{
  display:flex;
  gap:10px;
}

.small-list img{
  width:100px;
  height:75px;
  object-fit:cover;
}

.small-list h4{
  font-size:14px;
  margin:0;
}

/* HOVER */
img{ transition:.3s; }
a:hover img{ transform:scale(1.05); opacity:.9; }