/* Home page extras — loaded after site.css on index.html only */

.hero-home {
  background: linear-gradient(135deg, #14171c 55%, #1f242b 100%);
  color: #fff;
  padding: 64px 0 60px;
  border-bottom: 4px solid var(--red);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-home h1 { font-family: var(--head); font-weight: 600; font-size: 52px; line-height: 1.08; margin: 0 0 18px; }
.hero-home .lead { font-size: 18px; line-height: 1.55; color: #e3e5e8; max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-ghost { background: transparent; border: 1px solid #7a7f87; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-home .side-card { margin-bottom: 0; }

.section { padding: 64px 0; }
.section h2.section-title { font-family: var(--head); font-weight: 600; font-size: 32px; margin: 0 0 8px; }
.section .sub { color: var(--muted); margin: 0 0 28px; max-width: 620px; font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.match-card {
  --c: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--c);
  border-radius: 8px; padding: 24px; display: flex; flex-direction: column;
}
.match-card.t-uspsa { --c: var(--red); }
.match-card.t-steel { --c: var(--gold); }
.match-card.t-pcsl { --c: var(--grey); }
.match-card .kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
}
.match-card h3 { font-family: var(--head); font-weight: 600; font-size: 23px; line-height: 1.2; margin: 0 0 10px; }
.match-card p { margin: 0; font-size: 15px; color: #3d4249; }
.match-card .fact { margin-top: auto; padding-top: 16px; }
.match-card .fact span { display: block; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.panel h2 { font-family: var(--head); font-weight: 600; font-size: 26px; margin: 0 0 10px; }
.panel p { margin: 0 0 18px; color: #3d4249; }
.panel .link { color: var(--red); font-weight: 700; text-decoration: none; }
.panel .link:hover { text-decoration: underline; }
.panel.dark { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.panel.dark p { color: #cfd2d7; }

.findus { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.findus address { font-style: normal; font-size: 17px; line-height: 1.5; }
.findus address strong { display: block; font-family: var(--head); font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.findus .contact { margin-top: 10px; font-size: 15px; color: var(--muted); }
.findus .contact a { color: var(--red); font-weight: 700; text-decoration: none; }

.affil { text-align: center; font-size: 14px; color: var(--muted); padding: 0 0 48px; }
.affil a { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-home { padding: 44px 0 40px; }
  .hero-home h1 { font-size: 38px; }
  .section { padding: 44px 0; }
}

.hero-logo { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 0 22px -6px; filter: drop-shadow(0 0 22px rgba(40, 90, 255, 0.28)); }

/* Ghosted match logos behind the "Pick your match" cards */
.match-card { position: relative; overflow: hidden; isolation: isolate; }
.match-card::before {
  content: ""; position: absolute; z-index: -1; right: 5%; bottom: 3%; width: 72%; height: 56%;
  background: var(--logo) no-repeat right bottom / contain;
  opacity: 0.12; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(135deg, transparent 0%, #000 60%);
}
.match-card.t-uspsa { --logo: url("Images/logo-uspsa.png"); }
.match-card.t-steel { --logo: url("Images/logo-scsa.png"); }
.match-card.t-pcsl  { --logo: url("Images/logo-pcsl.png"); }
.match-card.t-pcsl::before { opacity: 0.09; }
.match-card .fact span { border-top-color: rgba(0,0,0,.12); }
