/* ==========================================================================
   MAIN CONTENT CONTAINER & SECTION BLOCKS
   ========================================================================== */
.site-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-block {
  margin-top: 4.5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.65rem;
  margin: 0;
}

.section-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-camel);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.section-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   HERO SECTION (Featured Editorial Cover Story)
   ========================================================================== */
.featured-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  padding: 1.25rem;
  box-shadow: 0 10px 30px var(--shadow-warm);
}

.featured-img-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
  transform: scale(1.03);
}

.badge-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: oklch(from var(--bg-primary) l c h / 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--border-gold);
}

.featured-content {
  padding: 1rem 1.5rem 1rem 0;
}

.featured-title {
  font-size: 2.15rem;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.featured-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: var(--accent-camel);
}

.featured-excerpt {
  color: var(--text-subtle);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.read-more-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.read-more-link:hover {
  color: var(--accent-camel);
}

/* ==========================================================================
   GRID & LIST ARTICLE CARDS
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.card-img-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-gold);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .card-img {
  transform: scale(1.04);
}

.card-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background-color: var(--accent-sage);
  color: oklch(100% 0 0);
  font-family: var(--font-body);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.card-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0.5rem 0 0.65rem;
}

.card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--accent-camel);
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin: 0;
}

/* Articles List (Horizontal Row Style) */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid oklch(from var(--text-subtle) l c h / 0.12);
}

.list-img-wrapper {
  display: block;
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.list-card:hover .list-img {
  transform: scale(1.05);
}

.list-title {
  font-size: 1.25rem;
  margin: 0.4rem 0 0.5rem;
}

.list-title a {
  color: var(--text-main);
  text-decoration: none;
}

.list-title a:hover {
  color: var(--accent-camel);
}

.list-excerpt {
  font-size: 0.925rem;
  color: var(--text-subtle);
  margin: 0;
}

/* ==========================================================================
   ADSENSE SLOT CONTAINERS
   ========================================================================== */
.ad-container {
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

.ad-slot {
  background-color: var(--bg-secondary);
  border: 1px dashed var(--accent-camel);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.ad-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
}

.ad-placeholder {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   PRESET SHOWCASE BANNER
   ========================================================================== */
.preset-banner-section {
  margin-top: 4.5rem;
}

.preset-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, oklch(from var(--accent-camel) l c h / 0.15) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px var(--shadow-warm);
}

.preset-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-camel);
  display: block;
  margin-bottom: 0.5rem;
}

.preset-title {
  font-size: 2.1rem;
  margin: 0 0 0.75rem;
}

.preset-desc {
  color: var(--text-subtle);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.btn-preset-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-primary);
  background-color: var(--accent-navy);
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-preset-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE (Max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section-block {
    margin-top: 3rem;
  }

  .featured-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.85rem;
  }

  .featured-img-wrapper {
    height: 240px;
  }

  .featured-content {
    padding: 0.5rem 0.5rem 0.75rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .card-img-wrapper {
    height: 210px;
  }

  .list-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .list-img-wrapper {
    height: 190px;
  }

  .preset-banner {
    padding: 2.5rem 1.25rem;
  }

  .preset-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   BLOG PAGE HERO & CONTROLS
   ========================================================================== */
.blog-hero {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.blog-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-camel);
}

.blog-main-title {
  font-size: 3rem;
  margin: 0.25rem 0 0.75rem;
}

.blog-description {
  color: var(--text-subtle);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.6;
}

/* Controls: Category Filters & Search */
.blog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-subtle);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: oklch(93.5% 0.008 78.4);
  background-color: var(--accent-navy);
  border-color: var(--accent-navy);
}

.search-input {
  font-family: var(--font-body);
  font-size: 0.875rem;
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  outline: none;
  width: 220px;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--accent-camel);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.page-link, .page-next {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.page-link.active, .page-link:hover {
  background-color: var(--accent-navy);
  color: var(--bg-primary);
}

.page-next:hover {
  color: var(--accent-camel);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .blog-main-title {
    font-size: 2.25rem;
  }

  .blog-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .search-input {
    width: 100%;
  }
}