/*
Theme Name: Premium Blog
Author: Your Name
Version: 1.0
Description: Premium white WordPress blogging theme.
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #111827;
  font-family: Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1240px, 92%);
  margin: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.logo-area {
  text-align: center;
  padding: 34px 0 24px;
}

.site-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: #111827;
}

.logo-area img {
  max-height: 86px;
  width: auto;
  margin: auto;
}

.main-menu {
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.main-menu ul {
  list-style: none;
}

.main-menu li {
  display: inline-block;
}

.main-menu a {
  display: block;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: #374151;
}

.main-menu a:hover {
  color: #b7791f;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 24px;
  margin-top: 38px;
}

.hero-main,
.hero-small,
.slider-post {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.hero-main {
  border-radius: 18px;
  overflow: hidden;
}

.hero-main a {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
}

.hero-image,
.hero-image img,
.no-image {
  height: 100%;
  min-height: 520px;
}

.hero-image img {
  object-fit: cover;
}

.no-image,
.slider-no-image,
.mini-no-image {
  background: linear-gradient(135deg, #111827, #374151);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.hero-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category,
.post-category a,
.category-label {
  color: #b7791f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  margin: 16px 0 18px;
  color: #111827;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
}

.read-more {
  margin-top: 28px;
  display: inline-block;
  width: fit-content;
  background: #111827;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-small {
  border-radius: 16px;
  overflow: hidden;
}

.hero-small a {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.hero-small-img,
.hero-small-img img,
.mini-no-image {
  width: 132px;
  height: 104px;
  border-radius: 12px;
  overflow: hidden;
}

.hero-small-img img {
  object-fit: cover;
}

.hero-small span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.hero-small h3 {
  margin-top: 7px;
  font-size: 18px;
  line-height: 1.32;
  color: #111827;
}

.category-posts-area {
  padding: 62px 0 76px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head span {
  color: #b7791f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: #111827;
}

.category-row {
  margin-top: 42px;
}

.category-row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.category-row-head h3 {
  margin-top: 6px;
  font-size: 30px;
  color: #111827;
}

.view-category {
  border: 1px solid #111827;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  color: #111827;
}

.view-category:hover {
  background: #111827;
  color: #ffffff;
}

.post-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
}

.slider-post {
  border-radius: 18px;
  overflow: hidden;
  min-width: 260px;
}

.slider-img,
.slider-img img,
.slider-no-image {
  height: 190px;
}

.slider-img img {
  object-fit: cover;
}

.slider-content {
  padding: 18px;
}

.slider-content span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.slider-content h4 {
  margin: 9px 0;
  font-size: 21px;
  line-height: 1.25;
  color: #111827;
}

.slider-content p {
  color: #4b5563;
  line-height: 1.55;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.post-card {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.post-card-content {
  padding: 22px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 35px;
  margin: 45px auto;
}

.article-box,
.sidebar,
.page-box {
  background: #ffffff;
  border: 1px solid #eeeeee;
  padding: 30px;
  border-radius: 16px;
}

.site-footer {
  background: #111827;
  color: #ffffff;
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col h3 {
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #d1d5db;
  line-height: 1.7;
}

.copyright {
  text-align: center;
  border-top: 1px solid #374151;
  margin-top: 38px;
  padding-top: 22px;
  color: #d1d5db;
}

@media (max-width: 980px) {
  .home-hero,
  .hero-main a,
  .content-layout,
  .footer-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-image img,
  .no-image {
    min-height: 360px;
    height: 360px;
  }

  .hero-content {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .main-menu li {
    display: block;
  }

  .hero-small a {
    grid-template-columns: 100px 1fr;
  }

  .hero-small-img,
  .hero-small-img img,
  .mini-no-image {
    width: 100px;
    height: 82px;
  }

  .category-row-head {
    align-items: start;
    flex-direction: column;
  }

  .post-slider {
    grid-auto-columns: 82%;
  }
}