/* ==========================================================================
   Club Team product page (scoped under .ct)
   Dark layout mirroring the Front Page 2026 design language.
   ========================================================================== */

.ct {
  --ct-orange: #ff5800;
  --ct-blue:   #0078e1;
  --ct-black:  #000000;
  --ct-white:  #fefefe;
  --ct-muted:  rgba(255,255,255,.6);
  --ct-display: 'Saira Condensed', 'Pathway Gothic One', 'Oswald', sans-serif;
  --ct-max: 1200px;
  background: var(--ct-black);
  color: var(--ct-white);
  overflow-x: hidden;
}

/* Full-bleed: header.php/footer.php skip .grid-container for club teams. */
body.ct-page { background: #000; }
body.ct-page #mastInsert { box-shadow: none; }
#content.ct { margin-top: 0; }

.ct * { box-sizing: border-box; }
.ct a { text-decoration: none; }

.ct-dtitle {
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
}
.ct-dtitle .is-white  { color: var(--ct-white); }
.ct-dtitle .is-orange { color: var(--ct-orange); }
.ct-dtitle .is-blue   { color: var(--ct-blue); }

/* ====================  HERO  ============================================= */
.ct-hero {
  position: relative;
  min-height: clamp(340px, 44vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111 var(--ct-hero-bg, url('../../assets/club-product-banner.png')) center / cover no-repeat;
  overflow: hidden;
}
.ct-hero::after { /* legibility scrim */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}

/* Diagonal brand accents (match home 2026 hero) */
.ct-hero__accent {
  position: absolute;
  z-index: 2;
  width: 46px;
  transform: skewX(-18deg);
  pointer-events: none;
}
.ct-hero__accent--tl1 { top: -8%; left: 3%;                  height: 60%; background: var(--ct-orange); }
.ct-hero__accent--tl2 { top: -8%; left: calc(3% + 60px);     height: 60%; background: var(--ct-blue); opacity: .9; }
.ct-hero__accent--br1 { bottom: -8%; right: 3%;              height: 60%; background: var(--ct-blue); }
.ct-hero__accent--br2 { bottom: -8%; right: calc(3% + 60px); height: 60%; background: var(--ct-orange); opacity: .9; }

.ct-hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--ct-max);
  width: 100%;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(16px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ct-hero__title {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
  margin: 0 0 1.75rem;
}

/* ====================  INFO STRIP  ======================================= */
.ct-info { background: var(--ct-black); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.ct-info__inner {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ct-info__col {
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.ct-info__col + .ct-info__col { border-left: 1px solid rgba(255,255,255,.18); }
.ct-info__block { text-align: center; }
.ct-info__icon { display: block; margin: 0 auto .9rem; width: clamp(40px, 4vw, 56px); color: var(--ct-white); }
.ct-info__icon svg { width: 100%; height: auto; }
.ct-info__head {
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ct-orange);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin: 0 0 .6rem;
  letter-spacing: .02em;
}
.ct-info__body { font-size: clamp(.78rem, 1vw, .92rem); line-height: 1.55; color: var(--ct-white); }
.ct-info__line { display: block; }
/* Frozen Commitment/Tournaments lists: blank line between items so the spacing
   matches the Tryouts block (whose field value double-breaks via nl2br). */
.ct-info__block--list .ct-info__line + .ct-info__line { margin-top: 1.55em; }
.ct-info__email { color: var(--ct-white); white-space: nowrap; font-size: clamp(.7rem, .95vw, .85rem); }
.ct-info__email:hover { color: var(--ct-orange); }

/* ====================  CTA ROW  ========================================== */
.ct-cta { background: var(--ct-black); padding: 0 0 clamp(2rem, 5vw, 3.5rem); }
.ct-cta__inner {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.6rem, 1.5vw, 1rem);
}
.ct-cta__register {
  flex: 1 1 260px;   /* two side by side when wide; stack when narrow */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--ct-blue);
  color: var(--ct-white);
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  padding: clamp(.9rem, 1.8vw, 1.3rem);
  border-radius: 4px;
  transition: background .15s ease;
}
.ct-cta__register:hover { background: #0063bd; color: var(--ct-white); }

/* ====================  BANNERS (Features/Outcomes, Coaches)  ============= */
.ct-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(220px, 30vw, 380px);
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--ct-black) var(--ct-banner-bg, none) center / cover no-repeat;
  overflow: hidden;
}
.ct-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
}
.ct-banner__inner--right { justify-content: flex-end; text-align: right; }
.ct-banner__title {
  font-size: clamp(2.4rem, 8vw, 6rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}

/* ====================  FEATURES / OUTCOMES / SCHEDULE  =================== */
.ct-fo { background: var(--ct-black); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ct-fo__inner {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.ct-fo__group + .ct-fo__group { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ct-fo__head {
  color: var(--ct-white);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin: 0 0 .9rem;
}
.ct-fo__list { list-style: none; margin: 0; padding: 0; }
.ct-fo__list li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0 0 .55rem;
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  color: var(--ct-white);
}
.ct-fo__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 6px; height: 6px;
  background: var(--ct-orange);
  border-radius: 50%;
}
.ct-fo__muted { color: var(--ct-muted); }
.ct-fo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.5rem, 1.2vw, 1rem);
  align-content: start;
  /* The condensed-italic headings' glyphs overhang their box upward, so the
     photos otherwise sit lower than the "Features" cap. Pull the grid up by
     that overhang (~0.33x the heading font-size) to align the tops. */
  margin-top: calc(clamp(1.6rem, 3.5vw, 2.6rem) * -0.33);
}
.ct-fo__photo {
  display: block;
  aspect-ratio: 3 / 2;
  background: #1a1a1a center top / cover no-repeat;
  border-radius: 2px;
}

/* ====================  COACHES GRID  ===================================== */
.ct-coaches { background: var(--ct-black); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ct-coaches__inner {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.ct-coaches__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.ct-coach { text-align: center; }
.ct-coach__photo {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ct-orange);
  margin-bottom: .8rem;
  overflow: hidden;
}
.ct-coach__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform-origin: center center;
}
.ct-coach__name {
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ct-white);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  margin: 0 0 .25rem;
  letter-spacing: .01em;
}
.ct-coach__role {
  color: var(--ct-orange);
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  margin: 0 0 .15rem;
}
.ct-coach__link {
  display: inline-block;
  color: var(--ct-orange);
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  letter-spacing: .02em;
}
.ct-coach__link:hover { color: var(--ct-white); }

/* ====================  SCHEDULE (full-width)  =========================== */
.ct-schedule { background: var(--ct-black); padding: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.ct-schedule__inner {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.ct-schedule__title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}
.ct-schedule__body { color: var(--ct-white); }
.ct-schedule__body img,
.ct-schedule__body iframe,
.ct-schedule__body table { max-width: 100%; }
.ct-schedule__muted { color: var(--ct-muted); }

/* The schedule shortcode prepends a sticky-nav spacer, a separator and an
   xlarge top margin before its first heading — dead space under our own
   "The Schedule" title. Suppress the leading ones (only one of each). */
.ct-schedule__body .nav-spacer { display: none; }
.ct-schedule__body .wp-block-separator:first-of-type { display: none; }
.ct-schedule__body .xlarge-margin-top { margin-top: 0; }

/* Mirror the homepage calendar look (.f26-cal): the schedule shortcode's light
   tables are restyled into dark calendar-style cards. Scoped to .ct-schedule,
   and this stylesheet only loads on club-test products, so the shortcode's
   normal usage on other live pages is untouched. */

/* Team name + section labels — strip the plugin's blue gradient bar */
.ct-schedule__body .header-bar {
  font-family: var(--ct-display);
  font-style: italic;   /* match .ct-dtitle (the "EXECUTIVE TEAM" display style) */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ct-white);
  background: none !important;
  padding: 0;
}
.ct-schedule__body h4.header-bar {              /* team name */
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.05;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 .6rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ct-orange);
}
.ct-schedule__body h5.header-bar {              /* "Rosters" / "Schedule" */
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  letter-spacing: .08em;
  color: var(--ct-white);
  margin: 0 0 .85rem;
}
/* Program title (e.g. "Corona Nation - Boys Rosters") — same display look,
   sized just above the team name (h4). */
.ct-schedule__body h3 {
  font-family: var(--ct-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  color: var(--ct-white);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 .8rem;
}

/* Coach / practice meta lines */
.ct-schedule__body p { color: var(--ct-muted); margin: .15rem 0; font-size: .95rem; }

/* Breathing room below the Coach/Practice meta, before the Rosters/Schedule tables */
.ct-schedule__body .wp-block-columns { margin-top: clamp(1.1rem, 3vw, 1.9rem); }

/* Tables -> dark calendar cards */
.ct-schedule__body table {
  width: 100%;
  border-collapse: collapse;
  background: #141414;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
}
.ct-schedule__body th,
.ct-schedule__body td {
  color: var(--ct-white) !important;
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .85rem 1.25rem;
  text-align: left;
  vertical-align: top;
}
/* Kill the plugin's light backgrounds (white <tbody>, zebra-striped <tr>) so the
   dark table card shows through as clean calendar rows. */
.ct-schedule__body thead,
.ct-schedule__body tbody,
.ct-schedule__body tbody tr { background: transparent !important; }
.ct-schedule__body tbody tr:last-child td { border-bottom: 0; }
.ct-schedule__body tbody tr:hover td { background: rgba(255,255,255,.03) !important; }

/* Header row (DATE / TOURNAMENT / LOCATION) */
.ct-schedule__body thead th,
.ct-schedule__body thead td {
  font-family: var(--ct-display);   /* match the section headers */
  font-style: italic;
  font-weight: 900;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ct-white) !important;
  background: var(--ct-blue) !important;   /* match the homepage calendar header */
  border-bottom: 1px solid rgba(255,255,255,.12);
}

/* Schedule table only (the one with a header): color columns like the calendar
   — orange date, bold white event, muted location. The roster table has no
   <thead>, so its player names stay plain white. */
.ct-schedule__body table:has(thead) tbody td:first-child {
  color: var(--ct-orange) !important;
  font-weight: 600;
}
.ct-schedule__body table:has(thead) tbody td:nth-child(2) { font-weight: 700; }
.ct-schedule__body table:has(thead) tbody td:nth-child(3) { color: var(--ct-muted) !important; }

.ct-schedule__body a { color: var(--ct-orange) !important; text-decoration: none; }
.ct-schedule__body a:hover { text-decoration: underline; }

/* ====================  RESPONSIVE  ======================================= */
@media (max-width: 860px) {
  .ct-info__inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 0; }
  .ct-info__col:nth-child(odd) { border-left: none; }
  .ct-fo__inner { grid-template-columns: 1fr; }
  .ct-fo__grid { order: 2; }
  .ct-coaches__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ct-info__inner { grid-template-columns: 1fr; }
  .ct-info__col { padding-top: 1.5rem; }
  .ct-info__col + .ct-info__col { border-left: none; border-top: 1px solid rgba(255,255,255,.18); }
  .ct-coaches__grid { grid-template-columns: repeat(2, 1fr); }
  .ct-hero__accent { width: 30px; }
  .ct-hero__accent--tl2 { left: calc(3% + 40px); }
  .ct-hero__accent--br2 { right: calc(3% + 40px); }
}

/* Footer dark chrome now lives globally in css/chrome-dark.css (site-wide). */
