/* WAHAAZE Light — builds on weather.css (header, background, colors) */
.light-main {
  min-width: 0;
  display: grid;
  place-items: start center;
  padding: clamp(28px, 5vh, 56px) 0 28px;
}

.light-panel {
  width: min(1240px, 100%);
  min-width: 0;
  padding: clamp(22px, 3.6vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(250, 253, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.15);
}

.light-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.light-head .page-logo { height: clamp(110px, 16vw, 160px); width: auto; }
.light-head > div { flex: 1 1 260px; min-width: 0; }

.light-head h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--ink);
}

.light-lead {
  margin: 10px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

.light-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a1a00;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(140, 88, 0, 0.25);
}

.light-tabs {
  display: flex;
  gap: 8px;
  padding: 18px 0 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.light-tabs button {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #29475d;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.light-tabs button[aria-pressed="true"] {
  background: #163d59;
  border-color: #163d59;
  color: #fff;
}

.light-loading {
  padding: 40px 0;
  color: var(--ink-soft);
  text-align: center;
}

.light-section {
  margin-top: 34px;
}

.light-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.light-section-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}

.light-section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.5;
}

.light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 20px;
}

.light-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 58, 84, 0.08);
}

.light-card.lead {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
}

.light-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3ead2 url("/assets/wahaaze-logo-official-sm.png") center / auto 46% no-repeat;
  overflow: hidden;
}

.light-card.lead .light-media {
  flex: 1 1 min(460px, 100%);
  aspect-ratio: auto;
  min-height: 320px;
}

.light-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.light-media.is-logo { background: #fbf6e8; }
.light-media.is-logo img { object-fit: contain; padding: 6%; box-sizing: border-box; }

.light-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.light-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 38, 58, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.light-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.light-play span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.light-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 20px 20px;
  flex: 1;
}

.light-card.lead .light-body {
  flex: 1 1 min(360px, 100%);
  padding: 28px 30px;
  justify-content: center;
}

.light-kicker {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.light-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.22;
}

.light-card.lead h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.light-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.light-card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.light-summary {
  margin: 0;
  color: #34495a;
  line-height: 1.55;
  font-size: 0.95rem;
}

.light-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  padding-top: 6px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.light-meta a {
  color: #163d59;
  font-weight: 800;
}

/* Bring Them Home band */
.light-missing {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: #10263a;
  color: #f4f1e8;
}

.light-missing .light-section-head h2 {
  color: #ffd968;
}

.light-missing .light-section-head p {
  color: #d7dde3;
}

.light-missing-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.light-missing-layout .light-grid {
  flex: 3 1 560px;
  min-width: 0;
}

.light-missing .light-card {
  background: #18344c;
  border-color: rgba(255, 255, 255, 0.12);
}

.light-missing .light-card h3 a {
  color: #fff;
}

.light-missing .light-summary {
  color: #d7dde3;
}

.light-missing .light-meta,
.light-missing .light-kicker {
  color: #ffd968;
}

.light-missing .light-meta a {
  color: #fff;
}

.light-help {
  flex: 1 1 min(250px, 100%);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: #18344c;
}

.light-help h3 {
  margin: 0;
  color: #ffd968;
  font-size: 1.1rem;
}

.light-help p {
  margin: 0;
  line-height: 1.5;
}

.light-help a {
  color: #fff;
  font-weight: 800;
}

.light-help small {
  display: block;
  color: #c9d2da;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* International band */
.light-intl {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 217, 104, 0.22), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(201, 139, 10, 0.25);
}

.light-empty {
  padding: 26px;
  border: 1px dashed rgba(16, 38, 58, 0.25);
  border-radius: 22px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.light-empty a {
  color: #163d59;
  font-weight: 800;
}

.light-footer {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 10px 0 26px;
  text-align: center;
  color: #29475d;
  font-size: 0.9rem;
}

.light-footer p {
  margin: 6px 0;
}

.light-footer a {
  color: #163d59;
  font-weight: 700;
}

.light-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 640px) {
  .light-card.lead .light-media {
    min-height: 220px;
  }
  .light-card.lead .light-body {
    padding: 20px;
  }
}

.light-media img.is-missing {
  display: none;
}

/* Live headlines */
.light-wire-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 10px 22px;
}
.light-wire-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.light-wire-list img {
  flex: none;
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
}
.light-wire-list a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.light-wire-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.light-wire-list span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.light-wire-wait { color: var(--ink-soft); border-top: 0 !important; }

/* Scores */
.light-scores-body { display: flex; flex-direction: column; gap: 14px; }
.light-score-league h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.light-score-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.light-score {
  flex: none;
  width: 178px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.light-score.live { border-color: #c0392b; box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.25); }
.light-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: var(--ink-soft);
  font-weight: 700;
}
.light-score-row.won { color: var(--ink); }
.light-score-row img { width: 22px; height: 22px; object-fit: contain; }
.light-score-dot { width: 22px; height: 22px; border-radius: 50%; background: #e7edf1; }
.light-score-team { flex: 1; }
.light-score-pts { font-variant-numeric: tabular-nums; }
.light-score-status {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
}
.light-score.live .light-score-status { color: #c0392b; }
.light-more {
  display: inline-block;
  margin-top: 10px;
  color: #163d59;
  font-weight: 800;
}

.light-help .light-help-all {
  color: #ffd968;
}
