.blog-page-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(69, 97, 115, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f5f2 0%, #fff 42%);
}

.blog-page-hero {
  margin-bottom: 1.75rem;
}

.blog-page-header {
  max-width: 40rem;
}

.blog-page-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.blog-page-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.15;
}

.blog-page-subtitle {
  margin: 0.65rem 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}

.blog-page-title-rule {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 1rem;
  background: #456173;
}

.blog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.blog-sidebar {
  position: sticky;
  top: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(69, 97, 115, 0.14);
  border-radius: 14px;
  background: #fff;
}

.blog-sidebar-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.blog-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.blog-cat-link {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 0.92rem;
}

.blog-cat-link:hover,
.blog-cat-link.is-active {
  background: rgba(69, 97, 115, 0.1);
  color: #1f2937;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(69, 97, 115, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e8eef2;
  overflow: hidden;
}

.blog-card-media img,
.blog-card-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-image-fallback {
  background: linear-gradient(135deg, #d7e0e7, #f0ebe3);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}

.blog-card-category {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #456173;
  text-decoration: none;
  font-weight: 600;
}

.blog-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
}

.blog-card-title a {
  color: #1f2937;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #456173;
}

.blog-card-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.blog-card-excerpt {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.blog-card-link {
  margin-top: 0.35rem;
  color: #456173;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(69, 97, 115, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.blog-empty a {
  color: #456173;
  font-weight: 600;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.blog-page-link {
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(69, 97, 115, 0.18);
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  background: #fff;
}

.blog-page-link.is-active,
.blog-page-link:hover {
  background: #456173;
  border-color: #456173;
  color: #fff;
}

.blog-detail {
  max-width: 760px;
  margin: 0 auto;
}

.blog-detail-header {
  margin-bottom: 1.25rem;
}

.blog-detail-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  color: #6b7280;
}

.blog-detail-kicker a {
  color: #456173;
  text-decoration: none;
}

.blog-detail-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: #1f2937;
}

.blog-detail-meta {
  margin: 0.75rem 0 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.blog-detail-banner {
  margin: 1.25rem 0 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eef2;
}

.blog-detail-banner img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.blog-detail-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

.blog-detail-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #1f2937;
}

.blog-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.blog-detail-body p {
  margin-bottom: 1rem;
}

.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(69, 97, 115, 0.14);
}

.blog-related-title {
  margin: 0 0 1.15rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

@media (max-width: 991.98px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
  }
}
