/* ═══════════════════════════════════════════════
   BLOG.CSS  –  Premium White Edition
   ═══════════════════════════════════════════════ */
body {
  background-color: var(--white, #ffffff);
}

/* ── Hero ── */
#blog-hero {
  background-color: var(--white, #ffffff);
  padding: 116px 24px;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
}
#blog-hero .content {
  max-width: 800px;
  margin: 0 auto;
}
#blog-hero h2 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  color: #111111;
  font-family: 'Sora', sans-serif;
  line-height: 1.1;
  margin-bottom: 20px;
}
#blog-hero h2 span {
  color: var(--accent, #0ea5e9);
}
#blog-hero p {
  font-size: 1.05rem;
  color: #555555;
  font-family: 'Outfit', sans-serif;
  line-height: 1.85;
}

/* ── Blog Grid ── */
#blog-list {
  padding: 116px 24px;
}
.blog-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ── Blog Card ── */
.blog-card-link {
  text-decoration: none;
  display: block;
  outline: none;
}
.blog-card {
  background: var(--white, #ffffff);
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
}
.blog-card-link:hover .blog-card {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border-color: rgba(14,165,233,0.3);
}

.blog-card .image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card-link:hover .blog-card .image img {
  transform: scale(1.05);
}

.blog-card .content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent, #0ea5e9);
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
}
.blog-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111111;
  font-family: 'Sora', sans-serif;
  line-height: 1.4;
  margin-bottom: 20px;
  flex: 1;
}
.blog-card .date {
  font-size: 0.95rem;
  color: #888888;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card .date span.material-symbols-outlined {
  font-size: 1.1rem;
}

/* ── Responsive ── */

/* --- 1499px Breakpoint --- */
@media (max-width: 1499px) {
  html {
    font-size: 17px;
  }
  #blog-hero { padding: 100px 24px; }
  #blog-list { padding: 100px 24px; }
  .blog-grid { max-width: 1140px; }
}

/* --- 1279px Breakpoint --- */
@media (max-width: 1279px) {
  html {
    font-size: 16px;
  }
  #blog-hero { padding: 80px 24px; }
  #blog-list { padding: 80px 24px; }
  .blog-grid { max-width: 960px; gap: 26px; }
  #blog-hero h2 { font-size: 3.0rem; }
}

/* --- 1023px Breakpoint --- */
@media (max-width: 1023px) {
  html {
    font-size: 15px;
  }
  #blog-hero { padding: 70px 20px; }
  #blog-list { padding: 70px 20px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  #blog-hero h2 { font-size: 2.6rem; }
}

/* --- 767px Breakpoint --- */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  #blog-hero { padding: 60px 16px; }
  #blog-list { padding: 60px 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  #blog-hero h2 { font-size: 2.2rem; }
}

/* --- 499px Breakpoint --- */
@media (max-width: 499px) {
  html {
    font-size: 13px;
  }
  #blog-hero { padding: 50px 16px; }
  #blog-list { padding: 50px 16px; }
  #blog-hero h2 { font-size: 1.6rem; }
  .blog-grid { gap: 16px; }
}
