/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}

.section:first-of-type {
  border-top: none;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.1;
}

.section__title a {
  color: inherit;
  text-decoration: none;
}

.section__title a:hover {
  color: var(--tb-red);
}

.section__more {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.section__more:hover {
  color: var(--tb-red-dark);
}

/* ==========================================================================
   Editorial Pick
   ========================================================================== */

.editorial-pick {
  background: var(--color-bg-dark);
  padding: 80px 0;
  text-align: center;
}

.editorial-pick__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tb-red);
  margin-bottom: 20px;
}

.editorial-pick__title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.editorial-pick__title a {
  color: inherit;
  transition: text-decoration var(--transition);
}

.editorial-pick__title a:hover {
  text-decoration: underline;
}

.editorial-pick__excerpt {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.editorial-pick__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.editorial-pick__image {
  max-width: 900px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.editorial-pick__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  background: linear-gradient(135deg, var(--tb-teal-dark) 0%, var(--tb-teal) 100%);
  padding: 80px 0;
  text-align: center;
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.newsletter__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  color: var(--color-heading);
  background: #ffffff;
  outline: none;
}

.newsletter__input::placeholder {
  color: var(--color-meta);
}

.newsletter__btn {
  padding: 14px 28px;
  background: var(--tb-red);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter__btn:hover {
  background: var(--tb-red-dark);
}

/* ---- Responsive ---- */

@media (max-width: 767px) {
  .section__header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .editorial-pick__title {
    font-size: 1.75rem;
  }

  .editorial-pick__excerpt {
    font-size: 16px;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter__btn {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1280px) {
  .editorial-pick__title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   Gaming Section
   ========================================================================== */

.section--gaming {
  background-color: #f8f8f8;
  border-top-color: #e5e5e5;
}

[data-theme="dark"] .section--gaming {
  background-color: #1a1a1a;
  border-top-color: #2a2a2a;
}

.gaming-overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap, 32px);
  margin-bottom: var(--grid-gap, 32px);
}

.gaming-overlay-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.gaming-overlay-card__link {
  display: block;
  height: 100%;
}

.gaming-overlay-card__img,
.gaming-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gaming-overlay-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.gaming-overlay-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tb-red, #e71c1e);
  margin-bottom: 8px;
}

.gaming-overlay-card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.gaming-overlay-card__meta {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

@media (max-width: 767px) {
  .gaming-overlay-grid {
    grid-template-columns: 1fr;
  }
}
