:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #666;
  --line: #eaeaea;
  --max: 1200px;
  --radius: 14px;

  /* Header height (used to push page content down when header is fixed) */
  --header-h: 110px;
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  height: 100%;
}

body{
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;

  /* IMPORTANT: header is fixed, so push the page down */
  padding-top: var(--header-h);

  /* prevents horizontal scroll from full-width hero */
  overflow-x: hidden;
}

a{ color: var(--text); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== HEADER ===== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: none;

  height: var(--header-h);     /* 🔒 lock height */
}


.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  height: 100%;               /* 🔒 match header height */
  padding: 0 18px;            /* remove vertical padding */
  max-width: var(--max);
  margin: 0 auto;
}


.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-name{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  max-width: 260px;
}

.club-main{
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.club-sub{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #555;
}

.brand img{
  height: 78px;
  width: auto;
  display:block;
}

/* Center nav (desktop) */
.nav{
  flex: 1;
  display:flex;
  justify-content:center;
}

.nav-list{
  list-style:none;
  display:flex;
  gap: 22px;
  padding:0;
  margin:0;
  align-items:center;
}

.nav-list a{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 10px 6px;
  border-radius: 10px;
}
.nav-list a:hover{
  background: #f3f3f3;
  text-decoration:none;
}

/* Right */
.header-right{
  display:flex;
  align-items:center;
  gap: 12px;
}

.fb-link{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
}
.fb-link:hover{
  background:#f6f6f6;
  text-decoration:none;
}
.fb-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:#1877f2;
  color:#fff;
  font-weight: 800;
  font-family: ui-sans-serif, system-ui, Arial, sans-serif;
}

/* Burger (mobile only) */
.burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:#fff;
  padding: 10px;
}
.burger span{
  display:block;
  height: 2px;
  background: #111;
  margin: 6px 0;
  border-radius: 2px;
}

/* ===== MOBILE DRAWER MENU ===== */
.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;          /* just below header/menu */
}

.mobile-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;          /* full height */
  width: 240px;           /* fixed width */
  max-width: 86vw;        /* safety for small phones */
  background: #fff;
  z-index: 9999;

  border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px rgba(0,0,0,0.12);

  padding: 14px 14px 18px;
  transform: translateX(110%);
  transition: transform 220ms ease;
}

/* when open */
.mobile-menu.open{
  transform: translateX(0);
}

.mobile-menu-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 12px;
}

.mobile-menu-title{
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 16px;
}

.mobile-close{
	 margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-links{
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-links a{
  display: block;
  padding: 14px 10px;
  font-weight: 800;
  font-size: 18px;
  border-bottom: 1px solid var(--line); /* line break between items */
}

.mobile-menu-links a:last-child{
  border-bottom: none;
}

.mobile-menu-links a:hover{
  background: #f6f6f6;
  text-decoration: none;
}

/* prevent scrolling body when menu is open */
body.menu-open{
  overflow: hidden;
}

/* Social area (NOT a menu item) */
.mobile-social{
  padding: 14px 10px 0;
  border-bottom: none;          /* ensure no divider */
}

.mobile-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
}

.mobile-social-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}


/* ===== HERO SLIDER (Home only) ===== */
.hero{
  background:#fff;
  border-bottom: none;
}

.slider{
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.slide-frame{
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: clamp(260px, 45vw, 620px);
  border-radius: 0;
  border: none;
}

.slide-frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}
.slide-frame img.active{
  opacity: 1;
}

.dots{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin: 14px auto 0;
  max-width: var(--max);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
}
.dot.active{
  background:#111;
  border-color:#111;
}

/* ===== CONTENT ===== */
main{
  padding: 28px 0 40px;
}

.card{
  border: none;
  padding: 0;
}

h1{
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
p{
  margin: 0 0 14px;
  font-size: 17px;
  color: #222;
}

/* ===== FOOTER ===== */
.site-footer{
  background: #fafafa;
  border-top: 1px solid var(--line);
  padding: 34px 0 22px;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Layout */
.footer-sections{
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}

/* Logo */
.footer-logo-wrap img{
  height: 96px;
  width: auto;
}

/* Sections */
.footer-section{
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.footer-heading{
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.footer-content{
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link{
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
.footer-link:hover{
  text-decoration: underline;
}

/* Facebook icon (reuse header style) */
.footer-fb .fb-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: ui-sans-serif, system-ui, Arial, sans-serif;
}

/* Bottom */
.footer-bottom{
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Mobile */
@media (max-width: 800px){
  .footer-sections{
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo-wrap img{
    height: 80px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  :root{
    --header-h: 96px; /* slightly smaller pushdown on mobile */
  }

  .nav{ display:none; }
  .burger{ display:block; }
  .fb-text{ display:none; }
  .brand img{ height: 64px; }

  .club-name{
    max-width: 180px;
  }

  .club-main{
    font-size: 17px;
  }

  .club-sub{
    font-size: 12px;
  }
}
/* ===== SPONSOR SLIDER (CENTERED & ALIGNED) ===== */
.sponsor-strip{
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 26px 0 18px;
}

.sponsor-title{
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #111;
}

/* Viewport now matches body width */
.sponsor-marquee{
  width: 100%;
  overflow: hidden;
  padding: 10px 0 18px;
}

/* Moving track */
.sponsor-track{
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  margin: 0 auto;                 /* 🔑 center the track */
  animation: sponsorScroll 16s linear infinite;
  will-change: transform;
}

/* Logos */
.sponsor-track img{
  height: 58px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.sponsor-track img:hover{
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Endless loop */
@keyframes sponsorScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .sponsor-track{
    animation: none;
  }
}

/* Mobile */
@media (max-width: 700px){
  .sponsor-track{
    gap: 30px;
    animation-duration: 12s;
  }

  .sponsor-track img{
    height: 46px;
  }
}
/* ===== NEWS: FACEBOOK FULL WIDTH (FIXED) ===== */
/* ===== NEWS: TRUE FULL WIDTH ===== */
/* ===== NEWS: FACEBOOK FULL WIDTH (CENTERED) ===== */
.news-facebook{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 40px;
  background: #fff;

  display: flex;
  justify-content: center;   /* centers the iframe if it chooses a max width */
}

.news-facebook .fb-iframe{
  display: block;
  width: min(1200px, 100%);  /* full width up to 1200px */
  max-width: 1200px;
  border: 0;
}
/* ===== SPONSORS PAGE (CLEAN VERSION) ===== */
.sponsor-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 18px;
}

.sponsor-entry{
  padding-bottom: 10px;
}

.sponsor-divider{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.sponsor-head{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.sponsor-logo{
  width: 90px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo img{
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.sponsor-title h2{
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
}

.sponsor-badge{
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.sponsor-badge--light{
  background: #f2f2f2;
  color: #111;
  border: 1px solid var(--line);
}

.sponsor-services{
  padding-left: 18px;
}

.sponsor-services li{
  margin-bottom: 6px;
}

.sponsor-contact{
  margin-top: 10px;
}
/* ===== CONTACT PAGE ===== */
.contact-social{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.contact-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.contact-pill:hover{
  background: #f6f6f6;
  text-decoration: none;
}

.x-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:#111;
  color:#fff;
  font-weight: 800;
  font-family: ui-sans-serif, system-ui, Arial, sans-serif;
}

.contact-note{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

/* Full-width map like your hero */
.contact-map{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
}

.contact-map iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 700px){
  .contact-map iframe{
    height: 360px;
  }
}

/* Committee layout */
.committee-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 14px;
}

.committee-person{
  padding-top: 2px;
}

.committee-person h3{
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.committee-person .role{
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.committee-person .meta{
  margin: 0;
  font-weight: 650;
}

@media (max-width: 800px){
  .committee-grid{
    grid-template-columns: 1fr;
  }
}
