/* ===== Blog & News page ===== */

.blog-hero {
  background: var(--color-nav-bg);
  padding: 80px 175px;
}

.blog-hero h1 {
  font-size: 56px;
  max-width: 900px;
  margin-bottom: 24px;
}

.blog-hero .highlight {
  color: var(--color-maroon);
}

.blog-hero p {
  color: #555;
  font-size: 18px;
  max-width: 640px;
}

@media (max-width: 900px) {
  .blog-hero {
    padding: 48px 24px;
  }

  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-hero p {
    font-size: 16px;
  }
}

/* ===== Topic tabs ===== */
.topic-tabs {
  background: var(--color-nav-bg);
  padding: 0 175px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tab {
  font-family: var(--font-buttons);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-heading);
  background: var(--color-white);
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tab:hover {
  opacity: 0.8;
}

.tab.tab-active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}


@media (max-width: 900px) {
  .topic-tabs {
    padding: 0 24px 40px;
  }
}

/* ===== Featured article ===== */
.featured-article {
  background: var(--color-nav-bg);
  padding: 0 175px 64px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: 24px;
  overflow: hidden;
}

.featured-image {
  min-height: 460px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  background-color: #1c1c1c;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 12px),
    linear-gradient(135deg, #5a1206, #1c1c1c 70%);
}

.featured-badge {
  display: inline-block;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-buttons);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
}

.featured-content {
  background: var(--color-black);
  color: var(--color-white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-eyebrow {
  color: var(--color-maroon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.featured-content h2 {
  font-size: 32px;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 16px;
}

.featured-desc {
  color: #aaa;
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 28px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
  margin-bottom: 24px;
}

.featured-meta .dot {
  opacity: 0.6;
}

.featured-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
}

.featured-link:hover {
  color: var(--color-maroon);
}

@media (max-width: 900px) {
  .featured-article {
    padding: 0 24px 48px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 220px;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .featured-content h2 {
    font-size: 24px;
  }
}

/* ===== Latest posts ===== */
.latest-posts {
  padding: 0 175px 96px;
  background-color: #ededed;
}

.latest-posts h2 {
  font-size: 28px;
  margin-bottom: 32px;
}

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

.post-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-image {
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  padding: 20px;
}

.post-badge {
  display: inline-block;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-buttons);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.post-gradient-1 { background: linear-gradient(160deg, #8a1503, #3a0a02); }
.post-gradient-2 { background: linear-gradient(160deg, #3a3a3a, #1a1a1a); }
.post-gradient-3 { background: linear-gradient(160deg, #a8502e, #4a1206); }
.post-gradient-4 { background: linear-gradient(160deg, #b06a0a, #3a2205); }
.post-gradient-5 { background: linear-gradient(160deg, #5a5560, #2a2730); }
.post-gradient-6 { background: linear-gradient(160deg, #8a1503, #3a0a02); }

.post-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-eyebrow {
  color: var(--color-maroon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-body h3 a {
  color: var(--color-heading);
}

.post-excerpt {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-divider {
  display: block;
  border-top: 2px dotted #ccc;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
  margin-top: auto;
}

.post-meta .dot {
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .latest-posts {
    padding: 0 24px 64px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}

.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}
