/* WCoUH (World Cup of University Hockey) styling — overrides + extras. */

/* Sub-nav bar pod main header */
.wcouh-bar {
  background: linear-gradient(135deg, #0b1a30 0%, #1b2c4a 100%);
  border-bottom: 3px solid #4a90e2;
  color: #fff;
}
.wcouh-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.wcouh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}
.wcouh-brand__mark {
  padding: 6px 12px;
  background: #4a90e2;
  border-radius: 4px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
.wcouh-brand__title { font-size: 1.05rem; opacity: 0.85; }
.wcouh-subnav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: auto;
}
.wcouh-subnav a {
  color: #c0d4ec;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.wcouh-subnav a:hover { color: #fff; border-bottom-color: #4a90e2; }

/* Hero (homepage) */
.wcouh-hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(11, 26, 48, 0.85) 0%, rgba(27, 44, 74, 0.75) 100%),
    url('/static/sportspress/images/euhl-hero.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.wcouh-hero__inner {
  padding: 80px 0;
  max-width: 720px;
}
.wcouh-hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: #4a90e2;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 18px;
}
.wcouh-hero__title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.wcouh-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0 0 30px 0;
}
.wcouh-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.btn--primary { background: #4a90e2; color: #fff; }
.btn--primary:hover { background: #5fa1f0; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Stack & cards */
.wcouh-stack { display: flex; flex-direction: column; gap: 40px; padding: 40px 0; }
.wcouh-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 28px 32px;
}
.wcouh-card__title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.6rem;
  margin: 0 0 20px 0;
  color: #1a2536;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 8px;
}
.wcouh-card__subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6b7689;
  margin-left: 8px;
}
.wcouh-card__more { margin-top: 20px; text-align: right; }

/* Teams grid */
.wcouh-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.wcouh-teams-grid--lg { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.wcouh-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: #f6f8fb;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  text-decoration: none;
  color: #1a2536;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.wcouh-team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #4a90e2;
}
.wcouh-team-card__logo {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}
.wcouh-team-card__name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.wcouh-team-card__country, .wcouh-team-card__founded {
  font-size: 0.85rem;
  color: #6b7689;
  margin-top: 4px;
}

/* Team header */
.wcouh-team-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.wcouh-team-header__logo {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}
.wcouh-meta { margin: 4px 0; color: #4b5566; font-size: 0.95rem; }

/* Matches */
.wcouh-matches { display: flex; flex-direction: column; gap: 12px; }
.wcouh-match {
  display: block;
  padding: 16px 20px;
  background: #f6f8fb;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  text-decoration: none;
  color: #1a2536;
  transition: border-color 0.15s, background 0.15s;
}
.wcouh-match:hover { border-color: #4a90e2; background: #eaf2fb; }
.wcouh-match__teams {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.wcouh-match__teams img { max-height: 36px; max-width: 36px; object-fit: contain; }
.wcouh-match__name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  min-width: 60px;
  text-align: center;
}
.wcouh-match__score {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Roboto Condensed', sans-serif;
  padding: 4px 14px;
  background: #1a2536;
  color: #fff;
  border-radius: 3px;
}
.wcouh-match__date {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7689;
  margin-top: 6px;
}

/* Match hero */
.wcouh-match-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, #1a2536 0%, #2a3a52 100%);
  color: #fff;
  border-radius: 10px;
  margin: 40px 0;
}
.wcouh-match-hero__teams {
  display: flex;
  align-items: center;
  gap: 50px;
}
.wcouh-match-hero__team {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wcouh-match-hero__team img { max-width: 80px; max-height: 80px; object-fit: contain; }
.wcouh-match-hero__name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.wcouh-match-hero__score {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'Roboto Condensed', sans-serif;
  padding: 0 30px;
}
.wcouh-match-hero__date { margin-top: 20px; font-size: 0.95rem; opacity: 0.7; }

/* Players grid */
.wcouh-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.wcouh-player-card {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 5px;
  text-decoration: none;
  color: #1a2536;
  transition: border-color 0.15s, transform 0.15s;
}
.wcouh-player-card:hover {
  border-color: #4a90e2;
  transform: translateX(2px);
}
.wcouh-player-card__name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.wcouh-player-card__nat, .wcouh-player-card__meta {
  font-size: 0.82rem;
  color: #6b7689;
  margin-top: 3px;
}
.wcouh-player-card__uni {
  font-size: 0.78rem;
  color: #8895a8;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Player header */
.wcouh-player-header {
  padding: 24px 0;
  border-bottom: 1px solid #e0e6ed;
  margin-bottom: 28px;
}
.wcouh-player-header__team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a90e2;
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
}
.wcouh-player-header__team img { max-height: 28px; max-width: 28px; object-fit: contain; }

/* Player definitions list */
.wcouh-defs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 0;
}
.wcouh-defs dt {
  font-weight: 600;
  color: #6b7689;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.wcouh-defs dd { margin: 0; color: #1a2536; }

/* Filter chips */
.wcouh-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.wcouh-chip {
  padding: 6px 14px;
  background: #f0f3f8;
  border: 1px solid #d3dae4;
  border-radius: 20px;
  text-decoration: none;
  color: #4b5566;
  font-size: 0.88rem;
  font-weight: 600;
}
.wcouh-chip:hover { background: #e0e8f1; border-color: #4a90e2; }
.wcouh-chip--active { background: #4a90e2; color: #fff; border-color: #4a90e2; }

/* News list */
.wcouh-news-list { list-style: none; margin: 0; padding: 0; }
.wcouh-news-item { border-bottom: 1px solid #e0e6ed; }
.wcouh-news-item a {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  text-decoration: none;
  color: #1a2536;
  align-items: baseline;
}
.wcouh-news-item__date {
  font-size: 0.85rem;
  color: #8895a8;
  font-family: 'Roboto Condensed', sans-serif;
  min-width: 110px;
  flex-shrink: 0;
}
.wcouh-news-item__title {
  font-weight: 600;
  font-size: 1.05rem;
}
.wcouh-news-item a:hover .wcouh-news-item__title { color: #4a90e2; }

/* Article cards (hub) */
.wcouh-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.wcouh-article-card {
  display: block;
  padding: 16px 18px;
  background: #f6f8fb;
  border: 1px solid #e0e6ed;
  border-radius: 5px;
  text-decoration: none;
  color: #1a2536;
}
.wcouh-article-card:hover { border-color: #4a90e2; background: #eaf2fb; }
.wcouh-article-card__date { font-size: 0.82rem; color: #6b7689; margin-bottom: 6px; }
.wcouh-article-card__title { font-weight: 600; line-height: 1.35; }

/* Page titles */
.wcouh-page-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2.2rem;
  color: #1a2536;
  margin: 0 0 18px 0;
}

.wcouh-article { background: #fff; padding: 0; }

@media (max-width: 768px) {
  .wcouh-hero__title { font-size: 36px; }
  .wcouh-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .wcouh-subnav { margin-left: 0; gap: 14px; font-size: 0.85rem; }
  .wcouh-match-hero__teams { gap: 20px; flex-direction: column; }
  .wcouh-match-hero__score { font-size: 2.8rem; padding: 0; }
}
