
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:#f5f5f7;
  color:#222;
}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 15px;
}

/* HEADER */
header{
  background:#ffffff;
  border-bottom:1px solid #e0e0e0;
}
.header-inner{
  padding:20px 15px 15px;
}
.site-title{
  font-size:34px;
  font-weight:bold;
  letter-spacing:0.5px;
}
.site-tagline{
  font-size:13px;
  color:#777;
  margin-top:4px;
}

/* NAV */
nav{
  background:#ffffff;
  border-top:1px solid #eaeaea;
  border-bottom:1px solid #eaeaea;
}
.nav-inner{
  max-width:1180px;
  margin:0 auto;
  padding:10px 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.nav-menu{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  font-size:14px;
}
.nav-menu li a{
  text-transform:uppercase;
  font-weight:600;
  color:#333;
}
.nav-menu li a:hover{
  color:#0073e6;
}
.nav-toggle{
  display:none;
  cursor:pointer;
  font-size:14px;
  font-weight:bold;
}

/* LAYOUT */
main{
  padding:25px 0 40px;
}
.layout-main{
  display:grid;
  grid-template-columns:2.2fr 1fr;
  gap:25px;
}

/* HERO GRID */
.hero-grid{
  display:grid;
  grid-template-columns:2fr 1.2fr;
  gap:18px;
  margin-bottom:25px;
}
.hero-main,
.hero-small{
  position:relative;
  background:#000;
  overflow:hidden;
  color:#fff;
}
.hero-main{
  min-height:320px;
}
.hero-small{
  min-height:110px;
  margin-bottom:13px;
}
.hero-main img,
.hero-small img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.9;
  transition:transform .3s ease, opacity .3s ease;
}
.hero-main:hover img,
.hero-small:hover img{
  transform:scale(1.03);
  opacity:1;
}
.hero-overlay,
.hero-overlay-small{
  position:absolute;
  inset:0;
  padding:22px 22px;
  background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0));
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.hero-overlay-small{
  padding:12px 14px;
}
.cat-label{
  display:inline-block;
  padding:3px 8px;
  background:#0073e6;
  font-size:11px;
  text-transform:uppercase;
  margin-bottom:8px;
}
.hero-title{
  font-size:24px;
  line-height:1.3;
  margin-bottom:8px;
}
.hero-meta,
.hero-meta-small{
  font-size:11px;
  text-transform:uppercase;
  color:#ddd;
}
.hero-title-small{
  font-size:14px;
  line-height:1.3;
  margin-bottom:6px;
}

/* ARTICLE LIST */
.section-heading{
  font-size:18px;
  text-transform:uppercase;
  margin-bottom:10px;
  font-weight:bold;
}
.article-list{
  background:#ffffff;
  border:1px solid #e0e0e0;
  padding:18px 18px 12px;
}
.article-card{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:15px;
  padding:12px 0;
  border-bottom:1px solid #f0f0f0;
}
.article-card:last-child{
  border-bottom:none;
}
.article-thumb img{
  width:100%;
  height:110px;
  object-fit:cover;
}
.article-meta{
  font-size:11px;
  color:#999;
  text-transform:uppercase;
  margin-bottom:4px;
}
.article-title{
  font-size:17px;
  margin-bottom:6px;
}
.article-excerpt{
  font-size:13px;
  color:#666;
  line-height:1.45;
}

/* PAGINATION */
.pagination{
  display:flex;
  justify-content:center;
  gap:4px;
  margin-top:14px;
  font-size:13px;
}
.pagination a,
.pagination span{
  display:inline-block;
  padding:4px 8px;
  border:1px solid #ddd;
  background:#fff;
}
.pagination .current{
  background:#0073e6;
  color:#fff;
  border-color:#0073e6;
}

/* SIDEBAR */
.sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.widget{
  background:#ffffff;
  border:1px solid #e0e0e0;
  padding:14px 16px 16px;
  font-size:13px;
}
.widget-title{
  font-size:15px;
  font-weight:bold;
  text-transform:uppercase;
  border-bottom:1px solid #e5e5e5;
  padding-bottom:6px;
  margin-bottom:10px;
}
.widget ul li{
  padding:6px 0;
  border-bottom:1px solid #f3f3f3;
}
.widget ul li:last-child{
  border-bottom:none;
}
.widget-small-post{
  margin-bottom:10px;
}
.widget-small-post-title{
  font-size:13px;
  line-height:1.3;
}
.tagcloud a{
  display:inline-block;
  margin:3px 4px 3px 0;
  padding:3px 7px;
  border:1px solid #ddd;
  font-size:12px;
}
.generator-label{
  display:block;
  margin-bottom:4px;
  font-size:12px;
}
.generator-input,
.generator-textarea{
  width:100%;
  padding:6px;
  border:1px solid #ddd;
  margin-bottom:8px;
  font-size:13px;
}
.generator-btn{
  display:inline-block;
  padding:7px 12px;
  background:#0073e6;
  color:#fff;
  border:none;
  cursor:pointer;
  font-size:13px;
  font-weight:bold;
}
.generator-note{
  font-size:11px;
  color:#888;
  margin-top:6px;
}

/* RELATED POSTS */
.related-posts{
  margin-top:18px;
  padding-top:10px;
  border-top:1px solid #eee;
}
.related-posts-title{
  font-size:14px;
  text-transform:uppercase;
  margin-bottom:8px;
}
.related-posts ul li{
  font-size:13px;
  margin-bottom:4px;
}

/* FOOTER */
footer{
  background:#111;
  color:#aaa;
  font-size:12px;
  padding:14px 15px;
}
footer .container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}

/* RESPONSIVE */
@media(max-width:980px){
  .layout-main{
    grid-template-columns:1.6fr 1fr;
  }
  .hero-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:768px){
  .nav-inner{
    flex-wrap:wrap;
  }
  .nav-menu{
    display:none;
    flex-direction:column;
    width:100%;
    margin-top:8px;
  }
  .nav-toggle{
    display:block;
  }
  .layout-main{
    grid-template-columns:1fr;
  }
  .article-card{
    grid-template-columns:1fr;
  }
}
