/*
 Theme Name:   Kadence Child – ETFHC
 Theme URI:    https://elktwpfhc.org
 Description:  Child theme for Elk Township Field Hockey Club
 Author:       ETFHC
 Template:     kadence
 Version:      1.1.0
*/

/* ============================================================
   ETFHC HOMEPAGE STYLES
   These styles power the custom homepage at /new-home/
   All classes are prefixed with .etfhc- to avoid conflicts.
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#1a2a4a;
  --navy-dark:#111a2e;
  --red:#c0192b;
  --red-hover:#a0141f;
  --blue-light:#e8eef8;
  --white:#ffffff;
  --off-white:#fafafa;
  --text:#1c1c1c;
  --muted:#5a5a5a;
  --border:#dde3ef;
  --r:6px;
  --r-lg:10px;
}
html{scroll-behavior:smooth}
body{font-family:'Source Sans 3',sans-serif;background:var(--off-white);color:var(--text);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-hover)}

/* ── NAV ──────────────────────────────────────────────── */
.etfhc-nav{
  background:var(--navy);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 2.5rem;height:70px;
  position:sticky;top:0;z-index:9999;
  border-bottom:3px solid var(--red);
  box-shadow:0 2px 10px rgba(0,0,0,0.3);
}
.etfhc-nav-logo img{height:48px;width:auto}
.etfhc-nav-links{display:flex;list-style:none;gap:0;align-items:center}
.etfhc-nav-links a{
  font-size:.8rem;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  color:rgba(255,255,255,.82);padding:0 1rem;height:70px;
  display:flex;align-items:center;
  border-bottom:3px solid transparent;
  transition:color .2s,border-color .2s;
  margin-top:3px;
}
.etfhc-nav-links a:hover{color:#fff;border-bottom-color:var(--red)}
.etfhc-nav-links .nav-cta{
  background:var(--red);color:#fff;
  padding:.5rem 1.25rem;border-radius:var(--r);
  margin-left:.5rem;height:auto;border-bottom:none;
  transition:background .2s;
}
.etfhc-nav-links .nav-cta:hover{background:var(--red-hover);border-bottom:none}
.etfhc-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:0}
.etfhc-hamburger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s}

/* ── HERO ─────────────────────────────────────────────── */
.etfhc-hero{
  background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 60%,#1e3560 100%);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  min-height:520px;
  text-align:center;
  padding:4rem 2rem;
  position:relative;
  overflow:hidden;
}
.etfhc-hero::before{
  content:'';
  position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.etfhc-hero::after{
  content:'';
  position:absolute;bottom:0;left:0;right:0;
  height:4px;background:var(--red);
}
.etfhc-hero-inner{position:relative;z-index:1;max-width:680px}
.etfhc-hero-badge{
  display:inline-block;
  background:var(--red);color:#fff;
  font-size:.7rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  padding:.35rem .9rem;border-radius:20px;margin-bottom:1.25rem;
}
.etfhc-hero h1{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2.8rem,6vw,4.5rem);
  line-height:1.05;letter-spacing:1px;
  margin-bottom:1rem;
  color:#ffffff;
}
.etfhc-hero h1 span{color:var(--red)}
.etfhc-hero p{
  font-size:1.15rem;color:rgba(255,255,255,.82);
  max-width:520px;margin:0 auto 2rem;
}
.etfhc-hero-btns{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.etfhc-btn{
  display:inline-block;padding:.75rem 1.75rem;
  border-radius:var(--r);font-weight:700;font-size:.9rem;
  letter-spacing:.4px;transition:all .2s;cursor:pointer;
}
.etfhc-btn-primary{background:var(--red);color:#fff}
.etfhc-btn-primary:hover{background:var(--red-hover);color:#fff;transform:translateY(-1px)}
.etfhc-btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5)}
.etfhc-btn-outline:hover{border-color:#fff;color:#fff;transform:translateY(-1px)}

/* ── STATS BAR ────────────────────────────────────────── */
.etfhc-stats{
  background:var(--red);color:#fff;
  display:flex;justify-content:center;flex-wrap:wrap;
  padding:1.25rem 2rem;gap:0;
}
.etfhc-stat{
  text-align:center;padding:.5rem 2.5rem;
  border-right:1px solid rgba(255,255,255,.25);
}
.etfhc-stat:last-child{border-right:none}
.etfhc-stat-num{
  font-family:'Bebas Neue',sans-serif;
  font-size:2.2rem;line-height:1;letter-spacing:1px;
}
.etfhc-stat-label{font-size:.72rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;opacity:.85;margin-top:.2rem}

/* ── SECTION BASICS ───────────────────────────────────── */
.etfhc-section{padding:4rem 2rem}
.etfhc-section-inner{max-width:1080px;margin:0 auto}
.etfhc-section-header{text-align:center;margin-bottom:2.5rem}
.etfhc-section-header h2{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2rem,4vw,2.8rem);
  color:var(--navy);letter-spacing:.5px;
  margin-bottom:.5rem;
}
.etfhc-section-header p{color:var(--muted);max-width:520px;margin:0 auto}
.etfhc-eyebrow{
  font-size:.7rem;font-weight:700;letter-spacing:1.5px;
  text-transform:uppercase;color:var(--red);
  margin-bottom:.4rem;display:block;
}

/* ── INFO CARDS ───────────────────────────────────────── */
.etfhc-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;
}
.etfhc-card{
  background:#fff;border-radius:var(--r-lg);
  padding:2rem 1.75rem;
  border:1px solid var(--border);
  box-shadow:0 2px 12px rgba(26,42,74,.06);
  transition:transform .2s,box-shadow .2s;
}
.etfhc-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(26,42,74,.12)}
.etfhc-card-icon{
  width:48px;height:48px;border-radius:var(--r);
  background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.1rem;
  font-size:1.5rem;
}
.etfhc-card h3{font-size:1.1rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}
.etfhc-card p{font-size:.9rem;color:var(--muted);margin-bottom:1rem}
.etfhc-card a{
  font-size:.82rem;font-weight:700;letter-spacing:.4px;
  text-transform:uppercase;color:var(--red);
  display:inline-flex;align-items:center;gap:.35rem;
}
.etfhc-card a::after{content:'→'}

/* ── ANNOUNCEMENT BANNER ──────────────────────────────── */
.etfhc-announce{
  background:var(--blue-light);
  border-left:4px solid var(--navy);
  border-radius:0 var(--r) var(--r) 0;
  padding:1.25rem 1.75rem;
  display:flex;gap:1rem;align-items:flex-start;
  max-width:1080px;margin:0 auto 2rem;
}
.etfhc-announce-icon{font-size:1.4rem;flex-shrink:0;margin-top:.1rem}
.etfhc-announce h4{color:var(--navy);font-weight:700;margin-bottom:.25rem}
.etfhc-announce p{font-size:.9rem;color:var(--muted)}

/* ── SPONSORS ─────────────────────────────────────────── */
.etfhc-sponsors-section{background:#fff;padding:4rem 2rem}
.etfhc-sponsor-tier{margin-bottom:2.5rem}
.etfhc-sponsor-tier-label{
  font-size:.68rem;font-weight:700;letter-spacing:1.5px;
  text-transform:uppercase;color:var(--muted);
  text-align:center;margin-bottom:1.25rem;
  display:flex;align-items:center;gap:.75rem;
}
.etfhc-sponsor-tier-label::before,.etfhc-sponsor-tier-label::after{
  content:'';flex:1;height:1px;background:var(--border);
}
.etfhc-sponsor-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
  justify-items:center;
}
.etfhc-sponsor-grid-sm{
  grid-template-columns:repeat(4,1fr);
  gap:.75rem;
}
@media(max-width:900px){
  .etfhc-sponsor-grid{grid-template-columns:repeat(3,1fr)}
  .etfhc-sponsor-grid-sm{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:600px){
  .etfhc-sponsor-grid{grid-template-columns:repeat(2,1fr)}
  .etfhc-sponsor-grid-sm{grid-template-columns:repeat(2,1fr)}
}
.etfhc-sponsor-box{
  background:var(--off-white);border:1px solid var(--border);
  border-radius:var(--r);padding:.75rem 1.75rem;
  font-weight:700;color:var(--navy);font-size:.9rem;
  letter-spacing:.2px;text-align:center;
  transition:border-color .2s,box-shadow .2s;
  min-width:160px;
}
.etfhc-sponsor-box:hover{border-color:var(--navy);box-shadow:0 2px 8px rgba(26,42,74,.1)}
.etfhc-sponsor-box.gold{min-width:200px;font-size:1rem;padding:1rem 2rem;border-color:#c9a227;background:#fffbef}
.etfhc-sponsor-box.gold:hover{box-shadow:0 4px 12px rgba(201,162,39,.2)}
.etfhc-sponsor-become{
  text-align:center;margin-top:2rem;padding-top:2rem;
  border-top:1px solid var(--border);
}
.etfhc-sponsor-become p{color:var(--muted);margin-bottom:1rem}

/* ── CONTACT ──────────────────────────────────────────── */
.etfhc-contact-section{
  background:linear-gradient(135deg,var(--navy-dark),var(--navy));
  color:#fff;padding:4rem 2rem;
}
.etfhc-contact-grid{
  max-width:900px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:3rem;
  align-items:start;
}
.etfhc-contact-info .etfhc-section-header{text-align:left}
.etfhc-contact-info .etfhc-section-header h2{color:rgba(255,255,255,0.7) !important}
.etfhc-contact-info .etfhc-section-header p{color:rgba(255,255,255,.7)}
.etfhc-contact-detail{
  display:flex;align-items:flex-start;gap:.75rem;
  margin-bottom:1rem;font-size:.9rem;
  color:rgba(255,255,255,.82);
}
.etfhc-contact-detail strong{color:#fff;display:block;font-size:.7rem;letter-spacing:.8px;text-transform:uppercase;margin-bottom:.15rem}
.etfhc-contact-detail-icon{font-size:1.1rem;flex-shrink:0;margin-top:.1rem}
.etfhc-contact-social{display:flex;gap:.75rem;margin-top:1.5rem}
.etfhc-social-btn{
  background:rgba(255,255,255,.12);color:#fff;
  border-radius:var(--r);padding:.6rem 1.25rem;
  font-size:.82rem;font-weight:700;letter-spacing:.4px;
  display:inline-flex;align-items:center;gap:.4rem;
  transition:background .2s;
}
.etfhc-social-btn:hover{background:rgba(255,255,255,.22);color:#fff}
.etfhc-contact-form-box{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--r-lg);padding:2rem;
}
.etfhc-contact-form-box h3{color:#fff;font-weight:700;margin-bottom:1.25rem}
.etfhc-field{margin-bottom:1rem}
.etfhc-field label{display:block;font-size:.75rem;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:rgba(255,255,255,.65);margin-bottom:.4rem}
.etfhc-field input,.etfhc-field textarea{
  width:100%;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r);padding:.6rem .9rem;
  color:#fff;font-family:inherit;font-size:.9rem;
  transition:border-color .2s;
}
.etfhc-field input::placeholder,.etfhc-field textarea::placeholder{color:rgba(255,255,255,.35)}
.etfhc-field input:focus,.etfhc-field textarea:focus{outline:none;border-color:rgba(255,255,255,.5)}
.etfhc-field textarea{resize:vertical;min-height:90px}
.etfhc-form-submit{
  width:100%;background:var(--red);color:#fff;
  border:none;border-radius:var(--r);padding:.75rem;
  font-family:inherit;font-size:.9rem;font-weight:700;
  cursor:pointer;letter-spacing:.4px;transition:background .2s;
}
.etfhc-form-submit:hover{background:var(--red-hover)}

/* ── FOOTER ───────────────────────────────────────────── */
.etfhc-footer{
  background:var(--navy-dark);color:rgba(255,255,255,.6);
  padding:2rem;text-align:center;
  border-top:3px solid var(--red);
}
.etfhc-footer-logo{margin:0 auto 1.25rem;display:flex;justify-content:center}
.etfhc-footer-logo img{height:52px;width:auto;opacity:.9}
.etfhc-footer-links{
  display:flex;justify-content:center;flex-wrap:wrap;
  gap:.25rem .1rem;list-style:none;margin-bottom:1rem;
}
.etfhc-footer-links a{
  color:rgba(255,255,255,.65);font-size:.82rem;font-weight:600;
  padding:.25rem .75rem;border-radius:20px;
  transition:color .2s,background .2s;
}
.etfhc-footer-links a:hover{color:#fff;background:rgba(255,255,255,.08)}
.etfhc-footer-copy{font-size:.78rem;color:rgba(255,255,255,.35)}
.etfhc-footer-copy a{color:rgba(255,255,255,.5)}
.etfhc-footer-copy a:hover{color:#fff}


/* ── DROPDOWN MENUS ───────────────────────────────────── */
.etfhc-has-dropdown{position:relative}
.etfhc-dropdown{
  display:none;
  position:absolute;top:100%;left:0;
  background:var(--navy-dark);
  border-top:2px solid var(--red);
  border-radius:0 0 var(--r) var(--r);
  min-width:200px;
  list-style:none;
  box-shadow:0 8px 20px rgba(0,0,0,.35);
  z-index:9999;
}
.etfhc-has-dropdown:hover .etfhc-dropdown{display:block}
.etfhc-dropdown li a{
  display:block;
  padding:.65rem 1.25rem;
  color:rgba(255,255,255,.82);
  font-size:.82rem;font-weight:600;letter-spacing:.3px;
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:background .15s,color .15s;
  height:auto;border-bottom-color:rgba(255,255,255,.07);
}
.etfhc-dropdown li:last-child a{border-bottom:none}
.etfhc-dropdown li a:hover{background:rgba(255,255,255,.08);color:#fff}
.etfhc-has-dropdown > a::after{
  content:' ▾';font-size:.65rem;opacity:.7;
}

/* ── SPONSOR LOGO BOXES ───────────────────────────────── */
.etfhc-sponsor-logo-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:.75rem 1.25rem;
  display:flex;align-items:center;justify-content:center;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  width:100%;max-width:100%;
  height:100px;
  overflow:hidden;
}
.etfhc-sponsor-logo-box:hover{
  border-color:var(--navy);
  box-shadow:0 4px 12px rgba(26,42,74,.12);
  transform:translateY(-2px);
}
.etfhc-sponsor-logo-box img{
  max-height:70px;width:auto;max-width:100%;
  object-fit:contain;display:block;
}
.etfhc-sponsor-elite{width:100%;height:110px}
.etfhc-sponsor-elite img{max-height:90px}
.etfhc-sponsor-premier{width:100%;height:110px}
.etfhc-sponsor-premier img{max-height:80px}
.etfhc-sponsor-sm{width:100%;height:90px}
.etfhc-sponsor-sm img{max-height:55px}
.etfhc-sponsor-grid-sm{gap:.75rem}

/* ── MOBILE ───────────────────────────────────────────── */
@media(max-width:768px){
  .etfhc-nav{padding:0 1.25rem}
  .etfhc-nav-links{
    display:none;flex-direction:column;
    position:fixed;top:70px;left:0;right:0;
    background:var(--navy-dark);padding:1rem 0;
    box-shadow:0 8px 20px rgba(0,0,0,.4);
    z-index:9998;
  }
  .etfhc-nav-links.open{display:flex}
  .etfhc-nav-links a{height:auto;padding:.75rem 2rem;border-bottom:none;border-top:1px solid rgba(255,255,255,.08);width:100%}
  .etfhc-nav-links .nav-cta{margin:1rem 2rem 0;border-radius:var(--r)}
  .etfhc-hamburger{display:flex}
  .etfhc-has-dropdown > a::after{content:' ▾'}
  .etfhc-dropdown{
    display:none;position:static;
    background:rgba(255,255,255,.05);
    border:none;border-radius:0;
    box-shadow:none;min-width:unset;
  }
  .etfhc-has-dropdown.open .etfhc-dropdown{display:block}
  .etfhc-dropdown li a{padding:.6rem 3rem;font-size:.8rem;border-bottom-color:rgba(255,255,255,.05)}

  .etfhc-hero{min-height:400px}
  .etfhc-stat{padding:.5rem 1.25rem;border-right:none;border-bottom:1px solid rgba(255,255,255,.2)}
  .etfhc-stat:last-child{border-bottom:none}
  .etfhc-stats{flex-direction:column;align-items:center}
  .etfhc-contact-grid{grid-template-columns:1fr}
}
/* ============================================================
   KADENCE THEME OVERRIDES
   Styles the Kadence header, nav & footer on inner pages
   to match the ETFHC brand (navy #1a2a4a / red #c0192b).
   ============================================================ */

/* ── KADENCE HEADER ──────────────────────────────────────── */
.site-header,
.site-header .site-header-row,
#masthead,
.kadence-header {
  background-color: var(--navy) !important;
  border-bottom: 3px solid var(--red) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

/* Logo area */
.site-branding,
.kadence-header .site-branding {
  padding: 0.5rem 0;
}

/* ── KADENCE PRIMARY NAV ─────────────────────────────────── */
/* High-specificity overrides to beat Kadence inline styles  */
body .site-header .main-navigation a,
body #masthead .main-navigation a,
body .header-navigation .nav-menu a,
body .kadence-header-nav a,
body header .nav-menu > li > a,
body #site-navigation a {
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
}

body .site-header .main-navigation a:hover,
body #masthead .main-navigation a:hover,
body header .nav-menu > li > a:hover,
body #site-navigation a:hover {
  color: #ffffff !important;
  opacity: 0.85;
}

body .site-header .main-navigation .current-menu-item > a,
body header .nav-menu .current-menu-item > a {
  color: #ffffff !important;
}

/* Site title text color (the "Elk Twp FHC" text beside logo) */
body .site-header .site-title a,
body #masthead .site-title a,
body .site-header .site-branding .site-title a {
  color: #ffffff !important;
}

body .site-header .site-description {
  color: rgba(255,255,255,0.7) !important;
}

/* Top-level links */
#primary-navigation a,
.main-navigation a,
.kadence-header .main-navigation a,
.kadence-navigation a {
  color: rgba(255,255,255,0.82) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  transition: color 0.2s !important;
}

#primary-navigation a:hover,
.main-navigation a:hover,
.kadence-navigation a:hover {
  color: #ffffff !important;
}

/* Active/current page link */
#primary-navigation .current-menu-item > a,
#primary-navigation .current-page-ancestor > a,
.main-navigation .current-menu-item > a {
  color: #ffffff !important;
  border-bottom: 2px solid var(--red) !important;
}

/* ── KADENCE DROPDOWN MENUS ──────────────────────────────── */
#primary-navigation .sub-menu,
.main-navigation .sub-menu {
  background-color: var(--navy-dark) !important;
  border-top: 2px solid var(--red) !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
}

#primary-navigation .sub-menu a,
.main-navigation .sub-menu a {
  font-size: 0.82rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 0.65rem 1.25rem !important;
}

#primary-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
}

/* ── MOBILE TOGGLE (hamburger) ───────────────────────────── */
.menu-toggle,
.kadence-mobile-toggle,
button.menu-toggle {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3) !important;
  background: transparent !important;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* Mobile menu panel */
.kadence-mobile-menu,
#mobile-menu {
  background-color: var(--navy-dark) !important;
}

.kadence-mobile-menu a,
#mobile-menu a {
  color: rgba(255,255,255,0.82) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.kadence-mobile-menu a:hover,
#mobile-menu a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.06) !important;
}

/* ── PAGE CONTENT TYPOGRAPHY ─────────────────────────────── */
.entry-title,
.page-title,
h1.entry-title {
  font-family: 'Bebas Neue', sans-serif !important;
  color: var(--navy) !important;
  letter-spacing: 0.5px !important;
}

h2, h3, h4 {
  color: var(--navy) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 700 !important;
}

.entry-content a,
.page-content a {
  color: var(--red) !important;
}

.entry-content a:hover,
.page-content a:hover {
  color: var(--red-hover) !important;
}

/* ── KADENCE FOOTER ──────────────────────────────────────── */
.site-footer,
#colophon,
.kadence-footer {
  background-color: var(--navy-dark) !important;
  color: rgba(255,255,255,0.6) !important;
  border-top: 3px solid var(--red) !important;
}

.site-footer a,
#colophon a,
.kadence-footer a {
  color: rgba(255,255,255,0.65) !important;
}

.site-footer a:hover,
#colophon a:hover {
  color: #ffffff !important;
}

.site-footer .copyright,
.site-footer p,
#colophon p {
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.78rem !important;
}

/* ── GOOGLE FONTS LOAD FOR INNER PAGES ───────────────────── */
/* Bebas Neue & Source Sans 3 are loaded by the homepage.
   For inner pages, load them via @import as a fallback.    */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ── KADENCE SITE TITLE (text beside logo) ───────────────── */
/* Targets every known Kadence variation of the site title   */
.site-title,
.site-title a,
.site-title a:visited,
body .site-title a,
body .site-title a:hover,
body #masthead .site-title,
body #masthead .site-title a,
body .site-header .site-title,
body .site-header .site-title a,
body .header-site-branding .site-title,
body .header-site-branding .site-title a,
body .wp-block-site-title,
body .wp-block-site-title a,
.kadence-header .site-title a,
header .site-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ── WPFORMS STYLING (contact section dark theme) ────────── */
/* Makes WPForms match the dark navy contact section          */

.etfhc-contact-form-box .wpforms-container,
.etfhc-contact-form-box .wpforms-form {
  margin: 0 !important;
}

/* Field labels */
.etfhc-contact-form-box .wpforms-field-label {
  color: rgba(255,255,255,0.65) !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
}

/* Input & textarea fields */
.etfhc-contact-form-box .wpforms-field input,
.etfhc-contact-form-box .wpforms-field textarea,
.etfhc-contact-form-box .wpforms-field select {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.9rem !important;
  padding: 0.6rem 0.9rem !important;
  width: 100% !important;
  box-shadow: none !important;
}

.etfhc-contact-form-box .wpforms-field input::placeholder,
.etfhc-contact-form-box .wpforms-field textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}

.etfhc-contact-form-box .wpforms-field input:focus,
.etfhc-contact-form-box .wpforms-field textarea:focus {
  border-color: rgba(255,255,255,0.5) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Submit button */
.etfhc-contact-form-box .wpforms-submit,
.etfhc-contact-form-box button[type=submit] {
  background: #c0192b !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  padding: 0.75rem 1.75rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.etfhc-contact-form-box .wpforms-submit:hover,
.etfhc-contact-form-box button[type=submit]:hover {
  background: #a0141f !important;
}

/* Validation errors */
.etfhc-contact-form-box .wpforms-error {
  color: #ff8a8a !important;
  font-size: 0.8rem !important;
}

/* Success message */
.etfhc-contact-form-box .wpforms-confirmation-container-full {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 1.25rem !important;
}

/* ── WPFORMS WHITE TEXT (force all form text white) ─────── */
.etfhc-contact-form-box,
.etfhc-contact-form-box p,
.etfhc-contact-form-box span,
.etfhc-contact-form-box label,
.etfhc-contact-form-box .wpforms-field-label,
.etfhc-contact-form-box .wpforms-field-sublabel,
.etfhc-contact-form-box .wpforms-field-description,
.etfhc-contact-form-box .wpforms-title,
.etfhc-contact-form-box .wpforms-description,
.etfhc-contact-form-box legend,
.etfhc-contact-form-box .wpforms-page-indicator-page-title,
.etfhc-contact-form-box .wpforms-required-label {
  color: #ffffff !important;
}

.etfhc-contact-form-box .wpforms-field input,
.etfhc-contact-form-box .wpforms-field input[type="text"],
.etfhc-contact-form-box .wpforms-field input[type="email"],
.etfhc-contact-form-box .wpforms-field input[type="tel"],
.etfhc-contact-form-box .wpforms-field textarea {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ── SPONSOR LOGO TABLES ─────────────────────────────────── */
/* Table layout is immune to WordPress p-tag wrapping         */
.etfhc-logo-table{
  width:100%;
  border-collapse:separate;
  border-spacing:10px;
  margin:0 auto;
}
.etfhc-logo-table td{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:.75rem 1rem;
  text-align:center;
  vertical-align:middle;
  width:25%;
  height:90px;
}
.etfhc-logo-table td a{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  width:100%;
}
.etfhc-logo-table td img{
  max-height:65px;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:inline-block;
  margin:0 auto;
}
.etfhc-logo-table td:hover{
  border-color:var(--navy);
  box-shadow:0 4px 12px rgba(26,42,74,.12);
}
@media(max-width:600px){
  .etfhc-logo-table,.etfhc-logo-table tbody,
  .etfhc-logo-table tr,.etfhc-logo-table td{
    display:inline-block;
    width:calc(50% - 12px);
    margin:5px;
    vertical-align:top;
  }
}

/* ── CENTER SPONSOR TABLES ───────────────────────────────── */
.etfhc-sponsors-section .etfhc-section-inner{text-align:center}
.etfhc-logo-table{margin-left:auto;margin-right:auto}
.etfhc-logo-table td{text-align:center;vertical-align:middle}
.etfhc-logo-table td a{display:inline-flex;align-items:center;justify-content:center}
.etfhc-logo-table td img{margin:0 auto}
.etfhc-sponsor-tier{text-align:center}
.etfhc-sponsor-tier-label{text-align:center}

/* ── FORCE SPONSOR IMAGES TO CENTER ─────────────────────── */
.etfhc-sponsors-section table td img,
.etfhc-sponsors-section table td a img {
  display:block !important;
  margin:0 auto !important;
  float:none !important;
}
.etfhc-sponsors-section table td a {
  display:block !important;
  text-align:center !important;
}
