.category-page {
  min-height: 100vh;
  background: var(--white);
}

.category-hero {
  padding: clamp(18px, 2vw, 26px) var(--page-pad) clamp(24px, 2.5vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  grid-template-areas:
    "kicker kicker"
    "title deck";
  row-gap: 14px;
  column-gap: clamp(28px, 6vw, 100px);
  align-items: end;
}

.category-kicker {
  grid-area: kicker;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-hero h1 {
  grid-area: title;
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.category-hero h1 br { display: none; }

.category-deck {
  grid-area: deck;
  max-width: 28ch;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.category-template {
  padding: 0 var(--page-pad) clamp(58px, 7vw, 104px);
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 14px;
}

.editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: clamp(36px, 5vw, 72px);
}

.editorial-grid .template-lead {
  grid-column: auto;
  grid-row: auto;
}

.editorial-grid .template-card:not(.template-lead) {
  grid-column: auto;
}

.editorial-grid .template-card:nth-child(4),
.editorial-grid .template-card:nth-child(5) {
  grid-column: auto;
}

.editorial-grid-four .template-lead {
  grid-column: auto;
  grid-row: auto;
}

.editorial-grid-four .template-card:not(.template-lead),
.editorial-grid-four .template-card:nth-child(4) {
  grid-column: auto;
}

.editorial-grid .template-lead figure { aspect-ratio: 4 / 3; }
.editorial-grid .template-card:not(.template-lead) figure { aspect-ratio: 4 / 3; }
.editorial-grid .template-card:nth-child(4) figure,
.editorial-grid .template-card:nth-child(5) figure { aspect-ratio: 4 / 3; }
.editorial-grid-four .template-lead figure { aspect-ratio: 4 / 3; }
.editorial-grid-four .template-card:nth-child(4) figure { aspect-ratio: 4 / 3; }

.editorial-grid .template-deck {
  color: #555;
}

.editorial-grid .template-card h2 {
  font-size: clamp(22px, 2vw, 34px);
}

.sport-template {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sport-template .template-card { grid-column: auto; }

.template-card {
  min-width: 0;
}

.template-card > a { display: block; }

.template-card figure {
  aspect-ratio: 4 / 3;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  background: #ececec;
  color: #707070;
}

.template-lead figure {
  aspect-ratio: 3 / 2;
  background: var(--black);
  color: var(--white);
}

.template-card figure.template-image {
  padding: 0;
  display: block;
  overflow: hidden;
  background: #e5e5e5;
}

.sport-template .template-card figure { aspect-ratio: 3 / 2; }

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.template-image-formula img { object-position: 58% center; }
.template-image-cba img { object-position: center 28%; }
.template-image-aubl-2027 img { object-position: center 44%; }
.template-image-poster img {
  object-fit: cover;
  object-position: center top;
}

.category-feature {
  padding: 0 var(--page-pad) clamp(58px, 7vw, 104px);
  display: grid;
  gap: 18px;
}

.category-feature article > a {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
  min-height: 680px;
  overflow: hidden;
  background: #07110e;
  color: var(--white);
}

.category-feature article.category-feature-warm > a {
  background: #1a120c;
}

.category-feature article.category-feature-black > a,
.category-feature article.category-feature-black figure {
  background: #050505;
}

.category-feature figure {
  min-height: 0;
  overflow: hidden;
  background: #07110e;
}

.category-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.category-feature a:hover figure img,
.category-feature a:focus-visible figure img {
  filter: contrast(1.05);
  transform: scale(1.025);
}

.category-feature-copy {
  padding: clamp(34px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-feature-copy h2 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.category-feature-title-line {
  display: block;
  white-space: nowrap;
}

.category-feature-copy .template-deck {
  max-width: 30ch;
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}

.fashion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fashion-grid article > a {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 520px;
}

.fashion-grid .category-feature-copy {
  padding: clamp(26px, 3vw, 52px);
}

.fashion-grid .category-feature-copy h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.1vw, 52px);
  line-height: 0.94;
}

html[lang="en"] .fashion-grid .chitiner-card .category-feature-copy h2 {
  max-width: none;
  font-size: clamp(28px, 2.15vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

html[lang="en"] .fashion-grid .chitiner-card .category-feature-title-line {
  white-space: normal;
}

.fashion-grid .category-feature-copy .template-deck {
  margin-top: 20px;
  font-size: clamp(15px, 1.1vw, 18px);
}

.template-card > a:hover .template-image img,
.template-card > a:focus-visible .template-image img {
  filter: contrast(1.06);
  transform: scale(1.035);
}

.template-card figure span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.template-card h2 {
  margin-top: 16px;
  max-width: none;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.template-lead h2 {
  font-size: clamp(30px, 3vw, 48px);
}

.template-deck {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.template-note {
  padding: 0 var(--page-pad) 36px;
  color: #777;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (max-width: 920px) {
  .category-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "deck";
    row-gap: 0;
  }

  .category-hero h1 { margin-top: 18px; }
  .category-deck { margin-top: 12px; }
  .category-template,
  .sport-template { grid-template-columns: 1fr 1fr; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-grid .template-lead { grid-column: auto; grid-row: auto; }
  .editorial-grid .template-card:not(.template-lead),
  .editorial-grid .template-card:nth-child(4),
  .editorial-grid .template-card:nth-child(5) { grid-column: auto; }
  .editorial-grid-four .template-lead { grid-column: auto; }
  .editorial-grid-four .template-card:not(.template-lead),
  .editorial-grid-four .template-card:nth-child(4) { grid-column: auto; }
  .template-lead { grid-column: 1 / -1; }
  .sport-template .template-lead { grid-column: 1 / -1; }
  .sport-template .template-card:not(.template-lead) { grid-column: auto; }

  .category-feature article > a {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    min-height: 580px;
  }

  .fashion-grid { grid-template-columns: 1fr; }
  .fashion-grid article > a { min-height: 520px; }
}

@media (max-width: 640px) {
  .category-hero {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .category-hero h1 {
    margin-top: 14px;
    font-size: clamp(48px, 13vw, 64px);
    line-height: 0.88;
  }

  .category-hero h1 br { display: block; }

  .category-deck {
    margin-top: 10px;
    font-size: 16px;
  }

  .category-template {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 64px;
  }

  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid .template-lead,
  .editorial-grid .template-card:not(.template-lead),
  .editorial-grid .template-card:nth-child(4),
  .editorial-grid .template-card:nth-child(5) { grid-column: auto; }

  .template-lead { grid-column: auto; }
  .sport-template .template-lead,
  .sport-template .template-card:not(.template-lead) { grid-column: auto; }
  .sport-template .template-card.template-lead figure { aspect-ratio: 4 / 3; }
  .template-card figure,
  .template-lead figure { aspect-ratio: 4 / 3; }
  .template-card h2,
  .template-lead h2 { font-size: 30px; }

  .category-feature article > a {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .category-feature figure { aspect-ratio: 3 / 4; }
  .category-feature-copy { padding: 32px 24px 38px; }
  .category-feature-copy h2 {
    max-width: none;
    font-size: 42px;
  }

  .fashion-grid .category-feature-copy h2 { font-size: 36px; }
  html[lang="en"] .fashion-grid .chitiner-card .category-feature-copy h2 { font-size: 34px; }

}
