/* =============================================================
   LAX LOCK — Custom Theme Styles
   Loaded via wp_enqueue_style() after hostinger-ai-style
   ============================================================= */

/* ---- DESIGN TOKENS ---- */
:root {
  --lax-navy:        #0a1628;
  --lax-navy-mid:    #0f2040;
  --lax-navy-light:  #1a3155;
  --lax-orange:      #f97316;
  --lax-orange-dark: #ea6c0a;
  --lax-white:       #ffffff;
  --lax-off-white:   #f8fafc;
  --lax-text:        #1e293b;
  --lax-muted:       #64748b;
  --lax-border:      #e2e8f0;
  --lax-card-bg:     #ffffff;
  --lax-radius:      12px;
  --lax-shadow:      0 4px 24px rgba(10,22,40,0.10);
  --lax-shadow-lg:   0 8px 40px rgba(10,22,40,0.18);
  --lax-font:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lax-max-width:   1160px;
  --lax-gutter:      clamp(1rem, 4vw, 2rem);
}

/* ---- BASE ---- */
body {
  font-family: var(--lax-font);
  color: var(--lax-text);
  background: var(--lax-white);
  -webkit-font-smoothing: antialiased;
  padding-top: 0 !important;
}

/* Remove default block-gap between top-level sections */
.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

/* ---- STICKY NAV ---- */
header.site-header,
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: var(--lax-navy) !important;
  box-shadow: 0 2px 12px rgba(10,22,40,0.28) !important;
}

.lax-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--lax-max-width);
  margin: 0 auto;
  padding: 0 var(--lax-gutter);
  height: 68px;
}

.lax-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lax-nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--lax-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--lax-white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.lax-nav__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lax-white);
  letter-spacing: -0.3px;
}

.lax-nav__name span {
  color: var(--lax-orange);
}

.lax-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lax-nav__links li {
  margin: 0;
  padding: 0;
}

.lax-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s;
  padding: 4px 0;
}

.lax-nav__links a:hover {
  color: var(--lax-orange) !important;
  border-bottom: none !important;
}

.lax-nav__cta {
  background: var(--lax-orange) !important;
  color: var(--lax-white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
  border-bottom: none !important;
}

.lax-nav__cta:hover {
  background: var(--lax-orange-dark) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.lax-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.lax-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lax-white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.lax-hero {
  background: linear-gradient(135deg, var(--lax-navy) 0%, var(--lax-navy-mid) 60%, #0c1e42 100%) !important;
  padding: clamp(4rem, 10vw, 7rem) var(--lax-gutter) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--lax-white);
}

.lax-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(249,115,22,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(249,115,22,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.lax-hero__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.lax-hero__eyebrow {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.35);
  color: var(--lax-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.lax-hero__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--lax-white) !important;
  letter-spacing: -0.5px;
  margin: 0 0 1.25rem 0;
}

.lax-hero__headline em {
  font-style: normal;
  color: var(--lax-white);
}

.lax-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72) !important;
  margin: 0 auto 2.25rem;
  max-width: 580px;
}

.lax-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.lax-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none !important;
  line-height: 1;
}

.lax-btn--primary {
  background: var(--lax-orange);
  color: var(--lax-white) !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}

.lax-btn--primary:hover {
  background: var(--lax-orange-dark) !important;
  color: var(--lax-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.45);
  border-bottom: none !important;
}

.lax-btn--outline {
  background: transparent;
  color: var(--lax-white) !important;
  border-color: rgba(255,255,255,0.35);
}

.lax-btn--outline:hover {
  border-color: rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.06) !important;
  color: var(--lax-white) !important;
  transform: translateY(-2px);
  border-bottom: none !important;
}

/* Hero stats bar */
.lax-hero__stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.lax-hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--lax-orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.lax-hero__stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ---- SERVICES SECTION ---- */
.lax-services {
  padding: clamp(3.5rem, 8vw, 6rem) var(--lax-gutter);
  background: var(--lax-off-white);
}

.lax-services__inner {
  max-width: var(--lax-max-width);
  margin: 0 auto;
}

.lax-section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.lax-section-eyebrow {
  display: inline-block;
  color: var(--lax-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lax-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--lax-navy);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

.lax-section-desc {
  color: var(--lax-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Cards grid */
.lax-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lax-card {
  background: var(--lax-card-bg);
  border-radius: var(--lax-radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--lax-shadow);
  border: 1px solid var(--lax-border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.lax-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lax-shadow-lg);
}

.lax-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(249,115,22,0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.lax-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--lax-orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lax-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lax-navy);
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.2px;
}

.lax-card__desc {
  color: var(--lax-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 1.5rem 0;
}

.lax-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--lax-orange) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: gap 0.2s;
}

.lax-card__link:hover {
  gap: 0.65rem;
  color: var(--lax-orange-dark) !important;
  border-bottom: none !important;
}

.lax-card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- CTA BAND ---- */
.lax-cta-band {
  background: var(--lax-navy);
  padding: clamp(3rem, 6vw, 4.5rem) var(--lax-gutter);
  text-align: center;
}

.lax-cta-band__inner {
  max-width: 640px;
  margin: 0 auto;
}

.lax-cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--lax-white) !important;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.lax-cta-band__sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin: 0 0 2rem 0;
}

/* ---- PAGE HEADER (Teams / Coaches pages) ---- */
.lax-page-header {
  background: linear-gradient(135deg, var(--lax-navy) 0%, var(--lax-navy-mid) 100%);
  padding: clamp(3rem, 7vw, 5rem) var(--lax-gutter);
  text-align: center;
}

.lax-page-header__eyebrow {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.30);
  color: var(--lax-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.lax-page-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--lax-white) !important;
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.4px;
}

.lax-page-header__sub {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- SUBMISSION FORM ---- */
.lax-form-section {
  background: var(--lax-off-white);
  padding: clamp(3rem, 7vw, 5rem) var(--lax-gutter);
}

.lax-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--lax-white);
  border-radius: var(--lax-radius);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--lax-shadow);
  border: 1px solid var(--lax-border);
}

.lax-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lax-navy);
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.2px;
}

.lax-form-wrap > p {
  color: var(--lax-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem 0;
}

.lax-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lax-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.lax-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lax-form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lax-text);
  letter-spacing: 0.1px;
}

.lax-form__field input,
.lax-form__field select,
.lax-form__field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--lax-border);
  border-radius: 8px;
  font-family: var(--lax-font);
  font-size: 0.95rem;
  color: var(--lax-text);
  background: var(--lax-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.lax-form__field input:focus,
.lax-form__field select:focus,
.lax-form__field textarea:focus {
  outline: none;
  border-color: var(--lax-orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.lax-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.lax-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.lax-form__submit {
  padding: 0.85rem 2rem;
  background: var(--lax-orange);
  color: var(--lax-white);
  border: none;
  border-radius: 10px;
  font-family: var(--lax-font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(249,115,22,0.30);
}

.lax-form__submit:hover {
  background: var(--lax-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.40);
}

/* Notices */
.lax-notice {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.lax-notice--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.lax-notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}

/* ---- FOOTER ---- */
footer.site-footer,
.site-footer {
  background: var(--lax-navy) !important;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.lax-footer {
  max-width: var(--lax-max-width);
  margin: 0 auto;
  padding: 2rem var(--lax-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.lax-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.lax-footer__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lax-white);
}

.lax-footer__name span {
  color: var(--lax-orange);
}

.lax-footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
  margin: 0;
}

.lax-footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lax-footer__links a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  border-bottom: none !important;
  transition: color 0.2s;
}

.lax-footer__links a:hover {
  color: #f97316 !important;
  border-bottom: none !important;
}

.lax-footer__contact { color: #ffffff !important; font-size: 0.875rem; margin: 0; }
.lax-footer__contact a { color: #ffffff !important; text-decoration: none !important; }
.lax-footer__contact a:hover { color: #f97316 !important; }

/* =============================================================
   TEAMS DIRECTORY
   ============================================================= */

/* Wrapper shared by both landing and tab views.
   Explicit hex on background AND color so nothing bleeds in from
   WordPress block inline styles on the parent wp-block-group. */
.lax-dir {
  background: #f8fafc !important;
  color: #1e293b !important;
  min-height: 60vh;
}

/* ---- Landing: two big tab cards ---- */
.lax-dir-landing {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  /* Reset any inherited color from wp-block-group ancestors */
  color: #1e293b !important;
}

.lax-tab-card {
  /* Solid white background — not a variable — so it always wins */
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none !important;
  /* Hardcoded dark color — never inherit white from a parent */
  color: #1e293b !important;
  box-shadow: 0 4px 24px rgba(10,22,40,0.10);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.lax-tab-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f97316;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.lax-tab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(10,22,40,0.18);
  border-color: #f97316 !important;
  color: #1e293b !important;
}

.lax-tab-card:hover::after {
  transform: scaleX(1);
}

.lax-tab-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(249,115,22,0.12) !important;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lax-tab-card__icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  stroke: #f97316 !important;
  fill: none !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.lax-tab-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0a1628 !important;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin: 0;
}

.lax-tab-card__sub {
  font-size: 0.92rem;
  color: #64748b !important;
  margin: 0;
  line-height: 1.5;
}

.lax-tab-card__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f97316 !important;
  margin-top: auto;
  padding-top: 0.5rem;
}

.lax-tab-card__count svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Catch-all: prevent any SVG inside directory sections from
   inheriting a 100% width and stretching to container size. */
.lax-tab-card__icon svg,
.lax-tab-card__count svg,
.lax-dir-landing svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  flex-shrink: 0;
}
.lax-tcard svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  flex-shrink: 0;
}

/* ---- Tab view: header bar ---- */
.lax-dir-content {
  max-width: var(--lax-max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--lax-gutter) clamp(3rem, 7vw, 5rem);
}

.lax-dir-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.lax-dir-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lax-muted) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s;
}

.lax-dir-back svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lax-dir-back:hover {
  color: var(--lax-navy) !important;
}

.lax-dir-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lax-dir-heading h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--lax-navy);
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.2;
}

.lax-dir-badge {
  background: rgba(249,115,22,0.12);
  color: var(--lax-orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---- Search & actions row ---- */
.lax-dir-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.lax-dir-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.lax-dir-search-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: #64748b;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.lax-dir-filter {
  padding: 0.72rem 2rem 0.72rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--lax-font);
  font-size: 0.92rem;
  color: #1e293b;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.65rem center / 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.lax-dir-filter:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}

#lax-team-search,
#lax-event-search,
#lax-coach-search {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.6rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--lax-font);
  font-size: 0.92rem;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#lax-team-search:focus,
#lax-event-search:focus,
#lax-coach-search:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}

/* ── Coach grid ── */
.lax-cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .lax-cgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lax-cgrid { grid-template-columns: 1fr; }
}

.lax-ccard {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}

.lax-ccard:hover {
  box-shadow: 0 4px 20px rgba(10,22,40,0.10);
  border-color: #f97316;
  transform: translateY(-2px);
}

.lax-ccard__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 0.1rem;
  line-height: 1.3;
}

.lax-ccard__city {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
}

.lax-ccard__bg {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lax-ccard__bg li {
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lax-ccard__positions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.lax-ccard__pos-badge {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(249,115,22,0.12);
  color: #c2550a;
  padding: 0.18rem 0.5rem;
  border-radius: 99px;
  line-height: 1.4;
}

.lax-ccard__email {
  font-size: 0.74rem;
  color: #64748b !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  transition: color 0.15s;
}

.lax-ccard__email:hover {
  color: #f97316 !important;
}

/* email icon is now an inline SVG — no separate rule needed */

.lax-dir-submit-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  background: #f97316 !important;
  color: #ffffff !important;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 12px rgba(249,115,22,0.28);
  white-space: nowrap;
}

.lax-dir-submit-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lax-dir-submit-btn:hover {
  background: var(--lax-orange-dark);
  transform: translateY(-1px);
}

/* ---- No results message ---- */
.lax-dir-empty {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--lax-muted);
  font-size: 0.95rem;
}

/* ---- Team cards grid ---- */
.lax-tgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  /* Reset color so cards always start from a known dark baseline */
  color: #1e293b !important;
}

.lax-tcard {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  color: #1e293b !important;
}

.lax-tcard:hover {
  border-color: rgba(249,115,22,0.55) !important;
  box-shadow: 0 4px 16px rgba(10,22,40,0.08);
  transform: translateY(-2px);
}

.lax-tcard__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a1628 !important;
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
}

.lax-tcard__city {
  font-size: 0.78rem;
  color: #64748b !important;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
}

.lax-tcard__city svg {
  width: 11px;
  height: 11px;
  stroke: #64748b !important;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Section labels above each sub-grid */
.lax-tgrid__section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0 0 0.5rem;
  border-bottom: 1.5px solid #e2e8f0;
  margin: 0 0 1rem;
}
#lax-tgrid-youth + .lax-tgrid__section-label {
  margin-top: 3rem;
}
.lax-tgrid__section-label--youth {
  margin-top: 2rem;
}

/* linked club cards */
.lax-tcard--linked {
  cursor: pointer;
  text-decoration: none !important;
  display: block;
}
.lax-tcard--linked:hover {
  border-color: #f97316 !important;
  box-shadow: 0 4px 20px rgba(249,115,22,0.18);
  transform: translateY(-2px);
}
.lax-tcard--linked .lax-tcard__name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #0a1628 !important;
}
.lax-tcard__ext-icon {
  width: 11px !important;
  height: 11px !important;
  max-width: 11px !important;
  stroke: #f97316 !important;
  fill: none !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.8;
}
.lax-tcard__contact {
  font-size: 0.75rem;
  color: #64748b !important;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.3rem 0 0 0;
}
.lax-tcard__contact-icon {
  font-size: 9px;
  color: #94a3b8;
  flex-shrink: 0;
  line-height: 1;
}

/* ---- Directory submission form ---- */
.lax-dir-form-section {
  border-top: 1px solid var(--lax-border);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.lax-dir-form-section .lax-form-wrap {
  max-width: 720px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .lax-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .lax-form__row {
    grid-template-columns: 1fr;
  }
  .lax-tgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .lax-nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--lax-navy-mid);
    flex-direction: column;
    padding: 1.25rem var(--lax-gutter);
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .lax-nav__links.is-open {
    display: flex;
  }

  .lax-nav__toggle {
    display: flex !important;
  }

  .lax-cards {
    grid-template-columns: 1fr;
  }

  .lax-hero__stats {
    gap: 1.5rem;
  }

  .lax-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .lax-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .lax-dir-landing {
    grid-template-columns: 1fr;
  }

  .lax-tgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lax-egrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lax-dir-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lax-dir-submit-btn {
    justify-content: center;
  }
}

/* Hide WordPress post title on directory pages — it renders above
   the navy hero section and duplicates our lax-page-header heading. */
body.page-template-page-teams .wp-block-post-title,
body.page-template-page-coaches .wp-block-post-title,
body.page-template-page-tournaments .wp-block-post-title,
body.page-id-10 .wp-block-post-title,
body.page-id-9 .wp-block-post-title,
body.page-id-43 .wp-block-post-title {
  display: none !important;
}

/* =============================================================
   TOURNAMENTS & SHOWCASES DIRECTORY
   ============================================================= */

.lax-egrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.lax-ecard {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}

.lax-ecard:hover {
  box-shadow: 0 4px 20px rgba(10,22,40,0.12);
  border-color: #f97316;
  transform: translateY(-2px);
}

.lax-ecard__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a1628 !important;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.lax-ecard__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lax-ecard__organizer,
.lax-ecard__location,
.lax-ecard__season,
.lax-ecard__ages {
  font-size: 0.78rem;
  color: #64748b !important;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  line-height: 1.3;
}

.lax-ecard__location {
  margin-bottom: 0.25rem;
}

.lax-ecard__organizer svg,
.lax-ecard__location svg,
.lax-ecard__season svg,
.lax-ecard__ages svg {
  width: 12px !important;
  height: 12px !important;
  stroke: #94a3b8 !important;
  fill: none !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.lax-ecard--linked {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
}

.lax-ecard--linked .lax-ecard__name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lax-ecard__badge {
  margin-top: 0.6rem;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  line-height: 1.4;
}

.lax-ecard__badge--tournament {
  background: rgba(249,115,22,0.13);
  color: #c2550a;
}

.lax-ecard__badge--showcase {
  background: rgba(10,22,40,0.09);
  color: #0f2040;
}

@media (max-width: 640px) {
  .lax-egrid {
    grid-template-columns: 1fr;
  }
}

/* ---- BLOG POST CARDS ---- */
.post-item {
  background: var(--lax-card-bg);
  border: 1.5px solid var(--lax-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  list-style: none;
}

.post-item:hover {
  box-shadow: var(--lax-shadow);
  border-color: #cbd5e1;
}

.post-item .wp-block-post-title a {
  text-decoration: none;
  color: var(--lax-text);
}

.post-item .wp-block-post-title a:hover {
  color: var(--lax-orange);
}

.post-item .wp-block-post-excerpt__excerpt {
  color: var(--lax-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-item .wp-block-post-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ── Form help text ── */
.lax-form-help {
  text-align: center;
  font-size: 0.82rem;
  color: var(--lax-muted);
  margin: 2rem 0 0.5rem;
}
.lax-form-help a {
  color: var(--lax-orange);
  text-decoration: none;
}
.lax-form-help a:hover {
  text-decoration: underline;
}

/* ── Contact page ── */
.lax-contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--lax-gutter) 4rem;
}
.lax-contact-form-outer {
  background: var(--lax-white);
  border: 1.5px solid var(--lax-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--lax-shadow);
}
.lax-contact-iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: none;
}

/* ── Nav dropdown ── */
.lax-nav__dropdown {
  position: relative;
}
.lax-nav__dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.lax-nav__dropdown-toggle:hover {
  color: var(--lax-orange);
}
.lax-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--lax-white);
  border: 1.5px solid var(--lax-border);
  border-radius: 10px;
  box-shadow: var(--lax-shadow);
  list-style: none;
  padding: 0.4rem 0;
  z-index: 200;
}
.lax-nav__dropdown-menu.is-open {
  display: block;
}
.lax-nav__dropdown-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: var(--lax-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.lax-nav__dropdown-menu li a:hover {
  color: var(--lax-orange) !important;
  background: rgba(234,88,12,0.05);
}
@media (max-width: 768px) {
  .lax-nav__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
  }
  .lax-nav__dropdown-toggle svg {
    display: none;
  }
}

/* ── Getting Recruited page ── */

.lax-hero--sm {
  padding: 4rem 1.5rem 3rem;
  min-height: unset;
}
.lax-hero--sm .lax-hero__headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Rec cards (blog post links) */
.lax-rec-card {
  background: var(--lax-white);
  border: 1.5px solid var(--lax-border);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.lax-rec-card:hover {
  box-shadow: var(--lax-shadow);
  border-color: #cbd5e1;
}
.lax-rec-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lax-orange);
  background: rgba(234,88,12,0.08);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  width: fit-content;
}
.lax-rec-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lax-text);
  line-height: 1.35;
  margin: 0;
}
.lax-rec-card__desc {
  font-size: 0.9rem;
  color: var(--lax-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.lax-rec-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lax-orange);
  text-decoration: none;
  margin-top: 0.25rem;
}
.lax-rec-card__link:hover {
  text-decoration: underline;
}

/* Recruiting timeline */
.lax-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2.5rem;
}
.lax-timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--lax-border);
}
.lax-timeline__item {
  position: relative;
  padding: 0 0 2rem 1.25rem;
}
.lax-timeline__item::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lax-orange);
  border: 2px solid var(--lax-white);
  box-shadow: 0 0 0 2px var(--lax-orange);
}
.lax-timeline__year {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lax-orange);
  margin-bottom: 0.3rem;
}
.lax-timeline__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--lax-text);
}
.lax-timeline__body p {
  font-size: 0.9rem;
  color: var(--lax-muted);
  line-height: 1.65;
  margin: 0;
}
