/* Shared page shell for subpages — all subpages use this so we stop duplicating CSS. */

body { background: #fff; color: #000; }
body[data-theme="light"] { background: #fff; }

.pg { display: grid; grid-template-columns: 112px 1fr; min-height: 100vh; }
.pg__main { min-width: 0; background: #fff; }
.pg__inner { padding: 28px 36px 80px; max-width: 1180px; }

/* Crumbs (used outside hero) */
.pg-crumbs {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(0,0,0,.5);
  margin-bottom: 18px;
}
.pg-crumbs a { color: inherit; text-decoration: none; }
.pg-crumbs a:hover { color: var(--fc-electric); }
.pg-crumbs .sep { opacity: .35; }
.pg-crumbs .here { color: var(--fc-black); }

/* Standardised section header */
.pg-sec-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 36px 0 14px; gap: 24px;
}
.pg-sec-hd__l h2 {
  margin: 0; font-family: var(--fc-font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.005em;
}
.pg-sec-hd__l .sub { margin-top: 4px; font-size: 13px; color: rgba(0,0,0,.55); }
.pg-sec-hd__l .sub a { color: var(--fc-bubblegum); text-decoration: none; font-weight: 600; }
.pg-sec-hd__l .sub a:hover { text-decoration: underline; }
.pg-sec-hd .more {
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--fc-bubblegum); text-decoration: none;
  padding: 4px 8px; border-radius: 4px; flex-shrink: 0;
}
/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.pg-sec-hd .more:hover { background: var(--fc-bubblegum); color: var(--fc-black); }

/* Card surface (consistent across new pages) */
.pg-card {
  background: #fff; border: 1px solid #ececea; border-radius: 8px;
}
.pg-card--pad { padding: 22px; }
.pg-card__hd {
  padding: 14px 18px; border-bottom: 1px solid #ececea;
  display: flex; align-items: center; justify-content: space-between;
}
.pg-card__hd h4 {
  margin: 0;
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--fc-bubblegum);
}

.member-profile__details {
  display: grid;
  grid-template-columns: minmax(100px, .45fr) minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  margin: 0;
}
.member-profile__details dt,
.member-profile__details dd {
  margin: 0;
}
.member-profile__details dt {
  color: rgba(0,0,0,.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.member-profile__details dd {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 13px;
  border: 1.5px solid #d8d6d0;
  border-radius: 6px;
  background: var(--fc-white);
  color: var(--fc-black);
  font-weight: 600;
}

/* Empty state */
.pg-empty {
  border: 1px dashed #d8d6d0; border-radius: 8px;
  padding: 36px 24px; text-align: center;
  background: #faf9f5;
}
.pg-empty__hd {
  font-family: var(--fc-font-display); font-weight: 700; font-size: 22px;
  margin: 0 0 6px;
}
.pg-empty__sub {
  font-size: 14px; color: rgba(0,0,0,.6); max-width: 44ch; margin: 0 auto;
  line-height: 1.5;
}
.pg-empty__cta {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  /* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA
     4.5:1 — ink reaches 8.16:1. */
  background: var(--fc-bubblegum); color: var(--fc-black); border: 0;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-family: var(--fc-font-mono); font-weight: 800; font-size: 12px; letter-spacing: .08em;
  text-decoration: none;
}
.pg-empty__cta:hover { background: #000; color: #fff; }

/* Coming soon (FAN-575) */
.pg-empty--coming-soon {
  border-style: solid;
  border-color: var(--fc-bubblegum);
}
.pg-empty__eyebrow {
  margin: 0 0 8px;
  color: rgba(0,0,0,.55);
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Pill row (filter chips) */
.pg-pillrow {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 18px;
}
.pg-pill {
  min-width: 0;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--fc-font-body); font-weight: 600; font-size: 13px;
  background: #f3f1eb; color: #000; border: 0; cursor: pointer;
  transition: background var(--fc-t-fast), color var(--fc-t-fast);
  text-decoration: none;
  overflow-wrap: anywhere;
  hyphens: auto;
}
/* FAN-581 (A11Y-M07): white text on bubblegum was 2.57:1, fails AA 4.5:1 —
   ink reaches 8.16:1. */
.pg-pill:hover { background: var(--fc-bubblegum); color: var(--fc-black); }
.pg-pill.active { background: #000; color: #fff; }
.pg-pill .ct {
  font-family: var(--fc-font-mono); font-size: 10px;
  margin-left: 6px; opacity: .6;
}

/* Generic 4-up + 2-up grids */
.pg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Ranked row — same as team page, isolated here */
.pg-rrow {
  display: grid; grid-template-columns: 32px 64px minmax(0, 1fr) 84px 52px auto;
  gap: 14px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid #f3f1eb;
  cursor: pointer; transition: background var(--fc-t-fast);
  text-decoration: none; color: inherit;
}
.pg-rrow:last-child { border-bottom: 0; }
.pg-rrow:hover { background: #faf9f5; }
.pg-rrow.is-playing { background: rgba(255,111,177,.10); }
.pg-rrow__rank {
  font-family: var(--fc-font-mono); font-size: 13px;
  color: rgba(0,0,0,.42); font-variant-numeric: tabular-nums;
}
.pg-rrow__cover {
  width: 64px; height: 64px; border-radius: 4px; overflow: hidden;
  background: #1D428A;
}
.pg-rrow__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-rrow__cover--team {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--team-primary, #1D428A);
}
.pg-rrow__cover--team i:nth-child(1) { background: var(--team-primary, #1D428A); }
.pg-rrow__cover--team i:nth-child(2) { background: var(--team-secondary, #FFC72C); }
.pg-rrow__cover--team i:nth-child(3) { background: var(--team-tertiary, #fff); }
.pg-rrow__main { min-width: 0; }
.pg-rrow__title {
  font-family: var(--fc-font-display); font-weight: 700; font-size: 18px;
  line-height: 1.2; color: #000;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pg-rrow__meta {
  font-family: var(--fc-font-mono); font-size: 11px;
  overflow: hidden;
  color: rgba(0,0,0,.55); margin-top: 4px; letter-spacing: .04em;
  text-overflow: ellipsis; white-space: nowrap;
}
.pg-rrow__blurb {
  overflow: hidden;
  margin-top: 5px;
  color: rgba(0,0,0,.66);
  font-size: 12.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg-rrow__plays {
  font-family: var(--fc-font-mono); font-size: 12px;
  color: rgba(0,0,0,.6); text-align: right; font-variant-numeric: tabular-nums;
}
.pg-rrow__dur {
  font-family: var(--fc-font-mono); font-size: 12px;
  color: rgba(0,0,0,.45); text-align: right; font-variant-numeric: tabular-nums;
}
.pg-rrow__play {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  /* FAN-581 (A11Y-M07): white icon on bubblegum was 2.57:1, fails even the
     3:1 icon floor — ink reaches 8.16:1. */
  background: var(--fc-bubblegum); color: var(--fc-black); cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--fc-t-fast), transform var(--fc-t-instant);
}
.pg-rrow__play:hover { background: #000; color: #fff; transform: scale(1.06); }
.pg-rrow__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Hero: country page */
.country-hero {
  position: relative; overflow: hidden; border-radius: 10px;
  padding: 40px 36px 32px; color: #fff;
  border: 1px solid rgba(0,0,0,.08);
  isolation: isolate;
}
.country-hero__top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}
.country-hero__body {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
}
.country-hero__title {
  font-family: var(--fc-font-display); font-weight: 700;
  font-size: 96px; line-height: .9; letter-spacing: 0;
  margin: 0 0 12px;
}
.country-hero__sub {
  font-family: var(--fc-font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.country-hero__sub b { color: #fff; font-weight: 700; }

.country-page {
  --country-red: #C8102E;
  --country-ink: #111;
}
.country-hero--fanchants {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 100%),
    var(--country-red);
}
.country-hero--flag {
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.32) 100%),
    var(--country-flag) center / cover no-repeat,
    var(--country-red);
}
.country-hero--fanchants::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .14;
  background:
    linear-gradient(0deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%);
}
.country-hero--flag::before { content: none; }
.country-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.country-hero__ghost {
  color: #fff;
  border-color: rgba(255,255,255,.58);
}
.country-hero__ghost:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}
.country-hero__browse {
  color: #000;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.country-hero__browse:hover {
  color: #000;
  background: var(--fc-volt);
  border-color: var(--fc-volt);
}
.country-hero__browse svg {
  transition: transform var(--fc-t-fast);
}
.country-hero__browse:hover svg {
  transform: translateX(3px);
}
.country-hero__national-team {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.45);
  text-underline-offset: 3px;
}
.country-hero__national-team:hover {
  color: var(--fc-volt);
  text-decoration-color: var(--fc-volt);
}
.country-strip {
  margin-top: 18px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid #ececea;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.country-strip__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.country-strip__l {
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(0,0,0,.55);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.country-strip__v {
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--country-red);
  font-variant-numeric: tabular-nums;
}
.country-strip__cell:nth-child(2) .country-strip__v { color: var(--fc-electric); }
.country-strip__cell:nth-child(3) .country-strip__v { color: var(--fc-bubblegum); }
.country-strip__cell:nth-child(4) .country-strip__v { color: var(--country-ink); }
.country-feature-grid,
.country-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}
.pg-card__hd h2 {
  margin: 0;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--fc-bubblegum);
  text-transform: uppercase;
}
.country-mini-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border-bottom: 1px solid #f3f1eb;
}
.country-mini-row:last-child { border-bottom: 0; }
.country-mini-row a {
  font-family: var(--fc-font-display);
  font-weight: 700;
  color: #000;
  text-decoration: none;
}
.country-mini-row a:hover { color: var(--fc-bubblegum); }
.country-mini-row span,
.country-side-card__body span {
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(0,0,0,.55);
}
.country-team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.country-team-card {
  min-height: 142px;
  padding: 16px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--fc-t-fast), box-shadow var(--fc-t-fast);
}
.country-team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.country-team-card__rank {
  font-family: var(--fc-font-mono);
  font-size: 11px;
  color: var(--fc-bubblegum);
}
.country-team-card__mark,
.country-roster-row__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,0,0,.08);
  flex: 0 0 auto;
}
.country-team-card__mark i:first-child,
.country-roster-row__mark i:first-child {
  background: var(--team-primary);
}
.country-team-card__mark i:last-child,
.country-roster-row__mark i:last-child {
  background: var(--team-secondary);
}
.country-team-card__mark--visual,
.country-roster-row__mark--visual {
  display: block;
  background: #111;
}
.country-team-card__mark--visual img,
.country-roster-row__mark--visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.country-roster-row__flag {
  display: block;
  width: 24px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}
.country-roster-row__flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.country-team-card b,
.country-team-card em,
.country-roster-row a,
.country-roster-row em,
.country-side-card__body a,
.country-side-card__body b {
  display: block;
}
.country-team-card b {
  font-family: var(--fc-font-display);
  font-size: 19px;
  line-height: 1.1;
}
.country-team-card em {
  margin-top: 5px;
  font-style: normal;
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(0,0,0,.55);
}
.country-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.country-roster-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f1eb;
}
.country-roster-row:nth-child(odd) { border-right: 1px solid #f3f1eb; }
.country-roster-row a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}
.country-roster-row a:hover { color: var(--fc-bubblegum); }
.country-roster-row em {
  margin-top: 4px;
  font-style: normal;
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(0,0,0,.55);
}
.country-roster-row em a {
  display: inline;
  font-weight: 400;
  color: rgba(0,0,0,.6);
}
.country-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.country-side-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.country-side-card__body a {
  font-family: var(--fc-font-display);
  font-weight: 700;
  color: #000;
  text-decoration: none;
}
.country-side-card__body a:hover { color: var(--fc-bubblegum); }
.country-album {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
}
.country-album img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}
.country-empty {
  margin: 0;
  padding: 18px;
  color: rgba(0,0,0,.55);
}

@media (max-width: 980px) {
  .country-hero__body,
  .country-feature-grid,
  .country-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .country-hero__body > *,
  .country-feature-grid > *,
  .country-main-grid > * {
    min-width: 0;
  }
  .country-hero__actions {
    align-items: flex-start;
  }
  .country-strip,
  .country-team-grid,
  .country-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .country-hero {
    padding: 30px 22px 26px;
  }
  .country-hero__title {
    font-size: 56px;
  }
  .country-team-grid,
  .country-roster {
    grid-template-columns: minmax(0, 1fr);
  }
  .country-team-grid > *,
  .country-roster > * {
    min-width: 0;
  }
  .country-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 16px 18px;
  }
  .country-roster-row:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .pg {
    display: block;
    overflow-x: hidden;
  }
  .pg__main {
    min-width: 0;
  }
  .pg__inner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Generic submit / form styles */
.pg-form { background: #fff; border: 1px solid #ececea; border-radius: 8px; padding: 26px 28px; }
.pg-form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.pg-form__label {
  font-family: var(--fc-font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(0,0,0,.55); font-weight: 700;
}
.pg-form__hint {
  font-size: 12px; color: rgba(0,0,0,.5); margin-top: -2px;
}
.pg-form__input,
.pg-form__textarea,
.pg-form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d8d6d0; border-radius: 6px;
  background: #fff; font-family: var(--fc-font-body); font-size: 14px;
  color: #000; outline: none; transition: border-color var(--fc-t-fast);
}
.pg-form__textarea { resize: vertical; min-height: 100px; }
.pg-form__input:focus,
.pg-form__textarea:focus,
.pg-form__select:focus { border-color: var(--fc-electric); }
.pg-form__input.has-error { border-color: var(--fc-orange); }
.pg-form__error {
  font-family: var(--fc-font-mono); font-size: 11px; color: var(--fc-orange);
  margin-top: 4px; letter-spacing: .04em;
}

/* Big primary action button */
.pg-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #000; color: #fff; border: 0;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--fc-font-mono); font-weight: 800; font-size: 12px; letter-spacing: .12em;
  cursor: pointer; transition: background var(--fc-t-fast), transform var(--fc-t-instant);
  text-decoration: none;
}
/* FAN-581 (A11Y-M07): both inherit color:#fff from .pg-btn-primary above;
   on a bubblegum background that was 2.57:1, fails AA 4.5:1 — ink reaches
   8.16:1. */
.pg-btn-primary:hover { background: var(--fc-bubblegum); color: var(--fc-black); }
.pg-btn-primary:active { transform: scale(.98); }
.pg-btn-primary--bubble { background: var(--fc-bubblegum); color: var(--fc-black); }
.pg-btn-primary--bubble:hover { background: #000; color: #fff; }

.pg-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #000; border: 1.5px solid #d8d6d0;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--fc-font-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em;
  cursor: pointer; transition: background var(--fc-t-fast), border-color var(--fc-t-fast);
  text-decoration: none;
}
.pg-btn-ghost:hover { border-color: #000; background: #f3f1eb; }

/* Legacy flat pages */
.flat-page {
  max-width: 980px;
  padding-bottom: 120px;
}
.flat-article {
  border-top: 4px solid var(--fc-black);
  padding-top: 30px;
}
.flat-article__head {
  max-width: 760px;
  margin-bottom: 30px;
}
.flat-article__eyebrow {
  margin: 0 0 12px;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fc-bubblegum);
}
.flat-article h1 {
  margin: 0;
  font-family: var(--fc-font-display);
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
}
.flat-article__body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(0,0,0,.78);
}
.flat-article__body > *:first-child { margin-top: 0; }
.flat-article__body p,
.flat-article__body ul,
.flat-article__body ol {
  margin: 0 0 1.15em;
}
.flat-article__body h2,
.flat-article__body h3 {
  margin: 1.75em 0 .65em;
  font-family: var(--fc-font-display);
  line-height: 1.15;
  color: var(--fc-black);
  letter-spacing: 0;
}
.flat-article__body h2 { font-size: 27px; }
.flat-article__body h3 { font-size: 22px; }
.flat-article__body a {
  color: var(--fc-bubblegum);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.flat-article__body strong { color: var(--fc-black); }
.flat-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.flat-article__body th,
.flat-article__body td {
  border: 1px solid #ececea;
  padding: 10px 12px;
  vertical-align: top;
}
.flat-article__body th {
  background: #f7f5ef;
  color: var(--fc-black);
  text-align: left;
}

.contact-page {
  display: grid;
  gap: 32px;
}
.contact-page__intro {
  max-width: 60ch;
}
.contact-page__form {
  max-width: 560px;
  padding: 24px;
  border: 1px solid #ececea;
  border-radius: 8px;
  background: #faf9f5;
}
.contact-page__form h2,
.contact-page__direct h2 {
  margin-top: 0;
}
.contact-page__form .pg-empty__cta {
  margin-top: 0;
}
.contact-page__form .fc-status p {
  margin: 6px 0 0;
  font-weight: 400;
}
.contact-page__direct {
  max-width: 560px;
}
.contact-page__direct dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #ececea;
}
.contact-page__direct dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ececea;
}
.contact-page__direct dt {
  color: var(--fc-black);
  font-family: var(--fc-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-page__direct dd {
  margin: 0;
}
.contact-page__catalogue {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .flat-page {
    padding: 24px 20px 96px;
  }
  .flat-article h1 {
    font-size: 38px;
  }
  .flat-article__body {
    font-size: 16px;
  }
  .contact-page__form {
    padding: 20px;
  }
  .contact-page__direct dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* FAN-419: keyboard focus must stay visible where outlines are reset */
input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--fc-electric, #5000FF);
  outline-offset: 2px;
}
