:root {
  --red: #cc1c27;
  --red-dark: #a51620;
  --navy: #11294b;
  --black: #0a0a0a;
  --ink: #0a0a0a;
  --muted: #666;
  --line: #dedede;
  --paper: #fff;
  --wash: #f4f4f4;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: var(--red-dark); }
.site-header { color: white; background: linear-gradient(110deg, var(--black), #303030); border-bottom: 5px solid var(--red); }
.brand { width: min(1100px, calc(100% - 32px)); min-height: 92px; margin: auto; display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .08em; }
.brand-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: var(--red); font-size: 2rem; font-weight: 900; }
.brand span, .brand strong { display: block; }
.brand span { font-size: .75rem; }
.brand strong { font-size: 1.55rem; }
.page-shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 48px; }
.page-shell.narrow { max-width: 800px; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.button { display: inline-block; padding: 10px 16px; color: white; background: var(--red); border: 1px solid var(--red); border-radius: 4px; font-weight: 700; text-decoration: none; }
.button:hover, .button:focus { background: var(--red-dark); }
.button-secondary { color: var(--ink); background: white; border-color: #bbb; }
.button-secondary:hover, .button-secondary:focus { color: white; }
.hero h1 { margin: 0; color: var(--black); font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.15; }
.hero p { margin-top: 8px; }
.eyebrow { margin-bottom: 5px !important; color: var(--red-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted, .event-meta { color: var(--muted); }
.card, .day-group { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.card { padding: 22px; }
.team-list { display: grid; gap: 10px; }
.team-link { display: flex; justify-content: space-between; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; font-weight: 700; }
.team-link:hover, .team-link:focus { border-color: var(--red); background: #fff8f9; }
.status { margin: 28px 0; padding: 18px; text-align: center; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 6px; }
.status.error { color: #7b071a; background: #fff2f4; border-color: #e8aab5; }
.events { display: grid; gap: 18px; }
.day-heading { margin: 0; padding: 12px 18px; color: white; background: var(--black); border-radius: 6px 6px 0 0; font-size: 1rem; }
.event { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px; border-top: 1px solid var(--line); }
.event:first-of-type { border-top: 0; }
.event-time { color: var(--red-dark); font-weight: 800; }
.event h3 { margin: 0 0 5px; font-size: 1.08rem; }
.event p { margin: 3px 0; }
.site-footer { padding: 24px 16px; color: #eee; background: var(--black); text-align: center; font-size: .84rem; }
@media (max-width: 620px) { .event { grid-template-columns: 1fr; gap: 5px; } .brand { min-height: 78px; } }

/* Compact team view designed to sit inside a CYGHA iframe. */
.team-view { background: white; }
.team-page { width: 100%; max-width: none; padding: 12px 16px 24px; }
.team-page .hero { padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.team-page .team-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-page .hero h1 { color: var(--navy); font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 600; }
.team-page .hero p { margin: 4px 0 0; font-size: .78rem; }
.team-page .download-button { flex: 0 0 auto; padding: 6px 10px; color: white; background: var(--navy); border-radius: 3px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.team-page .download-button:hover, .team-page .download-button:focus { background: var(--red); }
.team-page .status { margin: 16px 0; box-shadow: none; }
.team-page .empty-status { margin-bottom: 0; padding: 10px 12px; }
.has-no-events .team-page { padding-bottom: 8px; }
.team-page .events { display: block; }
.team-page .event { grid-template-columns: minmax(170px, 220px) 1fr; gap: 14px; padding: 9px 4px; border-top: 1px solid #d8dce2; line-height: 1.25; }
.team-page .event:first-child { border-top: 0; }
.team-page .event-date { color: var(--navy); font-weight: 700; }
.team-page .event-time { color: var(--red); font-size: .92rem; font-weight: 700; }
.team-page .event h2 { margin: 0 0 2px; color: var(--navy); font-size: 1rem; font-weight: 600; }
.team-page .event p { margin: 0; font-size: .9rem; }
@media (max-width: 620px) { .team-page .event { grid-template-columns: 1fr; gap: 2px; } .team-page .team-heading-row { align-items: flex-start; } }
