/* Category Page */

.only-cat .remix-modal-overlay,
.only-cat .lightbox-overlay {
  display: none;
}

.category-page {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  position: relative;
  background-color: #ffffff;
  width: 100%;
}

/* ── Upper / hero area ─────────────────────────────────────── */
.cat-upper {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  z-index: 2;
}

.cat-hero-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #000000 0%, #4f024f 100%);
}

/* Nav sits inside hero, transparent background handled by site-nav */
.category-page .site-nav {
  background-color: transparent;
}

/* ── Category hero ─────────────────────────────────────────── */
.category-hero {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 30px 60px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 800px) {
  .category-hero {
    padding: 50px 50px 70px;
  }
}

@media (min-width: 1200px) {
  .category-hero {
    padding: 60px 80px 80px;
    max-width: 1440px;
    margin: 0 auto;
  }
}

@media (min-width: 1440px) {
  .category-hero {
    padding: 70px 90px 90px;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-link {
  font-family: "Gotham-Medium", Helvetica;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #FF7F51;
}

.breadcrumb-sep {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  color: #FF9B54;
  font-size: 10px;
}

.breadcrumb-current {
  font-family: "Gotham-Bold", Helvetica;
  color: #FF7F51;
  font-size: 14px;
}

.category-intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.category-title {
  font-family: "Gotham-Bold", Helvetica;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0px 4px 24px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.category-description {
  font-family: "Gotham-Medium", Helvetica;
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.6;
  max-width: 800px;
  margin: 0;
}

.category-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (min-width: 800px) {
  .category-stats {
    gap: 50px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-family: "Gotham-Black", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -1.5px;
  line-height: 1;
  background: linear-gradient(135deg, #FF7F51 0%, #CE4257 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-label {
  font-family: "DM Sans", Helvetica, sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Filter bar ─────────────────────────────────────────────── */
.filter-section {
  padding: 30px;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 800px) {
  .filter-section {
    padding: 30px 50px;
  }
}

@media (min-width: 1200px) {
  .filter-section {
    padding: 35px 80px;
  }
}

@media (min-width: 1440px) {
  .filter-section {
    padding: 35px 90px;
  }
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.filter-title {
  font-family: "Gotham-Bold", Helvetica;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0;
}

.filter-reset {
  all: unset;
  box-sizing: border-box;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #CE4257;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-reset:hover {
  color: #FF7F51;
}

.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .filter-groups {
    flex-direction: row;
    gap: 40px;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-group-label {
  font-family: "Gotham-Medium", Helvetica;
  color: #999999;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-color: #2a2a2a;
  border-radius: 6px;
  border: 2px solid #444;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #e0e0e0;
  font-size: 14px;
  white-space: nowrap;
}

.filter-btn:hover {
  background-color: #333;
  border-color: #CE4257;
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: #CE4257;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(206, 66, 87, 0.4);
}

/* ── Stories grid ──────────────────────────────────────────── */
.content-section {
  padding: 40px 30px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 800px) {
  .content-section {
    padding: 50px;
  }
}

@media (min-width: 1200px) {
  .content-section {
    padding: 60px 80px;
  }
}

@media (min-width: 1440px) {
  .content-section {
    padding: 60px 90px;
  }
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .stories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-8px);
}

.story-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 0.75;
  overflow: hidden;
  border-radius: 3px;
  background-color: #000000;
}

.story-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: block;
}

.story-card:hover .story-card-image {
  transform: scale(1.05);
}

.story-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.story-card-badge span:first-child {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  font-size: 10px;
  color: #1a1a1a;
}

.badge-text {
  font-family: "DM Sans", Helvetica;
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.story-card-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.story-card-title {
  font-family: "Gotham Narrow-Bold", Helvetica;
  color: #000000;
  font-size: 18px;
  letter-spacing: -0.25px;
  line-height: 1.2;
  margin: 0;
}

.story-card-author {
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #555555;
  font-size: 13px;
  margin: 0;
}

.story-card-meta {
  font-family: "DM Sans", Helvetica;
  color: #999999;
  font-size: 12px;
  margin: 0;
}

/* ── Load more ─────────────────────────────────────────────── */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.load-more-btn {
  all: unset;
  box-sizing: border-box;
  padding: 16px 40px;
  border: 2px solid #111111;
  border-radius: 6px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 15px;
  color: #111111;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: #111111;
  color: #ffffff;
}
