.section-header {
  max-width: var(--container-max-width);
}
.section-header-text {
  max-width: var(--content-max-width);
}
.section-subtitle {
  color: var(--color-text-secondary);
  max-width: var(--content-max-width);
}
.hero-content {
  min-width: 0;
}
.hero-media-img {
  display: block;
}
.section-featured {
  position: relative;
}
.section-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: radial-gradient(circle at center, rgba(83, 215, 255, 0.6) 0, transparent 65%);
  opacity: 0.5;
}
.section-featured .section-header {
  margin-bottom: var(--space-lg);
}
.featured-layout {
  align-items: stretch;
}
.featured-media {
  min-width: 0;
}
.featured-media-frame {
  box-shadow: var(--color-shadow-soft);
}
.featured-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}
.featured-card {
  height: 100%;
}
.featured-card-title {
  margin-bottom: var(--space-xs);
}
.featured-card-excerpt {
  color: var(--color-text-secondary);
}
.featured-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
}
.section-trending .section-header {
  margin-bottom: var(--space-lg);
}
.trending-layout {
  align-items: stretch;
}
.trending-media,
.trending-content {
  min-width: 0;
}
.trending-media-frame {
  box-shadow: var(--color-shadow-soft);
}
.trending-content .pill-filter-group {
  justify-content: flex-start;
}
.trending-item {
  min-width: 0;
}
.trending-title {
  margin-bottom: var(--space-xs);
}
.trending-excerpt {
  color: var(--color-text-secondary);
}
.categories-grid {
  align-items: stretch;
}
.category-card {
  text-decoration: none;
}
.category-title {
  margin-bottom: var(--space-xs);
}
.category-text {
  color: var(--color-text-secondary);
}
.category-card-wide {
  grid-column: auto;
}
.section-community .section-header {
  margin-bottom: var(--space-lg);
}
.community-layout {
  align-items: stretch;
}
.community-media,
.community-content {
  min-width: 0;
}
.community-media-frame {
  box-shadow: var(--color-shadow-soft);
}
.community-card {
  height: 100%;
}
.community-title {
  margin-bottom: var(--space-xs);
}
.community-text {
  color: var(--color-text-secondary);
}
.community-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}
.community-highlight {
  min-width: 0;
}
.community-form {
  margin-top: var(--space-lg);
}
.newsletter-status {
  min-height: 1.2em;
}
.newsletter-status-success {
  color: var(--color-text-success);
}
.newsletter-status-error {
  color: var(--color-text-danger);
}
.btn-full-sm {
  max-width: 100%;
}
@media (max-width: 1024px) {
  .featured-layout,
  .trending-layout,
  .community-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .featured-media,
  .trending-media,
  .community-media {
    order: -1;
  }
}
@media (max-width: 768px) {
  .featured-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .trending-content .pill-filter-group {
    justify-content: flex-start;
  }
  .community-highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .section-header {
    gap: var(--space-sm);
  }
  .featured-list {
    gap: var(--space-sm);
  }
}
