/* Shared by the Home 2026 and Prospects templates. :is() keeps the ID-level specificity the theme rules need to lose to. */

:is(#home-2026, #prospects) {
  --h26-bg: #0a0d0b;
  --h26-bg-raised: #141a16;
  --h26-green: #39d353;
  --h26-green-hover: #5fe374;
  --h26-green-ink: #062b0d;
  --h26-light: #f1f3f2;
  --h26-white: #fff;
  --h26-ink: #111;
  --h26-muted: #5c6360;
  --h26-line: #dfe3e1;
  --h26-gutter: clamp(16px, 3vw, 40px);

  background: var(--h26-bg);
  color: var(--h26-white);
}
:is(#home-2026, #prospects) *,
:is(#home-2026, #prospects) *::before,
:is(#home-2026, #prospects) *::after { box-sizing: border-box; }
:is(#home-2026, #prospects) a { text-decoration: none; }

/* Headings + section header row */
:is(#home-2026, #prospects) .h26-heading {
  margin: 0;
  padding-left: 14px;
  border-left: 5px solid var(--h26-green);
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: inherit;
}
:is(#home-2026, #prospects) .h26-heading--sm { font-size: clamp(22px, 2vw, 28px); }
:is(#home-2026, #prospects) .h26-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}
:is(#home-2026, #prospects) .h26-more {
  font-size: 14px;
  color: inherit;
  white-space: nowrap;
}
:is(#home-2026, #prospects) .h26-more::after { content: ' \2192'; color: var(--h26-green); }
:is(#home-2026, #prospects) .h26-more:hover,
:is(#home-2026, #prospects) .h26-more:focus-visible { color: var(--h26-green); }

/* Buttons */
:is(#home-2026, #prospects) .h26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
:is(#home-2026, #prospects) .h26-btn--green { background: var(--h26-green); color: var(--h26-green-ink); }
:is(#home-2026, #prospects) .h26-btn--green:hover,
:is(#home-2026, #prospects) .h26-btn--green:focus-visible { background: var(--h26-green-hover); color: var(--h26-green-ink); }
:is(#home-2026, #prospects) .h26-btn--sm { width: 100%; padding: 9px 12px; font-size: 14px; }

/* Prospect card */
:is(#home-2026, #prospects) .h26-prospect {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(57, 211, 83, 0.45);
  border-radius: 8px;
  background: var(--h26-bg-raised);
}
:is(#home-2026, #prospects) .h26-prospect__media { position: relative; }
:is(#home-2026, #prospects) .h26-prospect__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
:is(#home-2026, #prospects) .h26-prospect__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, var(--h26-bg-raised));
}
:is(#home-2026, #prospects) .h26-prospect__brand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  max-width: 88px;
  max-height: 44px;
  object-fit: contain;
  /* Light glow keeps black brand logos visible over the dark fade */
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}
:is(#home-2026, #prospects) .h26-prospect__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 12px 12px;
}
:is(#home-2026, #prospects) .h26-prospect__name {
  margin: 0 0 4px;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--h26-white);
}
:is(#home-2026, #prospects) .h26-prospect__meta,
:is(#home-2026, #prospects) .h26-prospect__team,
:is(#home-2026, #prospects) .h26-prospect__event {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
}
:is(#home-2026, #prospects) .h26-prospect__event { margin-bottom: 10px; color: rgba(255, 255, 255, 0.65); }
:is(#home-2026, #prospects) .h26-prospect__stats { margin-top: auto; margin-bottom: 12px; }
:is(#home-2026, #prospects) .h26-statline {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}
:is(#home-2026, #prospects) .h26-statline__item {
  padding: 5px 2px;
  text-align: center;
}
:is(#home-2026, #prospects) .h26-statline__item + .h26-statline__item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
:is(#home-2026, #prospects) .h26-statline dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}
:is(#home-2026, #prospects) .h26-statline dd {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  line-height: 1.2;
  color: var(--h26-green);
}

/* Focus: visible for keyboard */
:is(#home-2026, #prospects) a:focus-visible,
:is(#home-2026, #prospects) button:focus-visible,
:is(#home-2026, #prospects) select:focus-visible,
:is(#home-2026, #prospects) input:focus-visible {
  outline: 2px solid var(--h26-green);
  outline-offset: 2px;
}
