/* ============================================================
   TAR - Taranaki Airsoft Rangers
   assets/css/tar-main.css
   Military-tactical aesthetic . Forest green . Ranger orange
============================================================ */

:root {
  --forest:    #1e2b1b;   /* slightly lighter than before */
  --deep:      #141f12;   /* slightly lighter than before */
  --olive:     #3d4a2e;
  --sage:      #7a9660;   /* much lighter — was #5a6e45 */
  --khaki:     #b8c4a0;   /* much lighter — was #8a8a6a */
  --dust:      #ddd8c4;   /* lighter — was #c4b99a */
  --paper:     #f2ede0;   /* near white — was #e8e0ce */
  --orange:    #e06820;   /* slightly brighter */
  --orange-lt: #ff8c3a;   /* brighter for outdoor visibility */
  --red:       #8b1a1a;
  --white:     #f0ece2;
  --mono:      'Share Tech Mono', monospace;
  --display:   'Barlow Condensed', sans-serif;
  --body:      'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
}

/* -- NOISE OVERLAY -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* -- HEX BACKGROUND -- */
body {
  background-color: var(--forest);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(61,74,46,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,98,26,0.08) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V17L28 0l28 17v33z' fill='none' stroke='%235a6e45' stroke-width='0.4' stroke-opacity='0.2'/%3E%3Cpath d='M28 100L0 83V50l28-17 28 17v33z' fill='none' stroke='%235a6e45' stroke-width='0.4' stroke-opacity='0.2'/%3E%3C/svg%3E");
}

/* 
   HEX PATTERN BACKGROUND UTILITY
   Apply to any wrapper to show the hex pattern behind its content
 */
.tar-hex-bg {
  position: relative;
}
/* All sections within any hex-bg page use semi-transparent backgrounds */
/* Sections inside hex-bg pages: let the hex show through */
.tar-hex-bg section,
.tar-hex-bg .tar-section {
  background: transparent !important;
}
.tar-hex-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(61,74,46,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,98,26,0.08) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V17L28 0l28 17v33z' fill='none' stroke='%235a6e45' stroke-width='0.4' stroke-opacity='0.2'/%3E%3Cpath d='M28 100L0 83V50l28-17 28 17v33z' fill='none' stroke='%235a6e45' stroke-width='0.4' stroke-opacity='0.2'/%3E%3C/svg%3E");
  background-color: var(--forest);
  pointer-events: none;
  z-index: -1;
}


/* ============================================================
   AWARDS-STYLE PAGE HEADER (used on all inner pages)
   Matches the awards page exactly — eyebrow, title, orange rule
   ============================================================ */
.tar-ap-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5a6e45;
  margin-bottom: 10px;
}
.tar-ap-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #e8dcc8;
  margin: 0 0 14px;
  line-height: 1;
}
.tar-ap-rule {
  width: 56px;
  height: 3px;
  background: #f07830;
  margin-bottom: 18px;
}
.tar-ap-intro {
  font-size: 16px;
  color: #8a9a7a;
  max-width: 640px;
  line-height: 1.75;
  margin: 0;
}
.tar-page-header {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 0 36px;
  box-sizing: border-box;
}

/* ============================================================
   INNER PAGE STANDARD LAYOUT
   Consistent styling for all inner pages (About, FAQ, Rules etc)
   ============================================================ */
.tar-page-hero {
  background: rgba(26,37,24,0.88);
  padding: 4rem 10% 3rem;
  border-bottom: 1px solid rgba(90,110,69,0.3);
}
.tar-page-hero .section-label {
  margin-bottom: 8px;
}
.tar-page-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem,5vw,4rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin: 0;
}
.tar-page-content {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 0 80px;
  box-sizing: border-box;
  line-height: 1.8;
  color: var(--dust);
}
/* ---- Base layout for shortcode-driven content pages ---- */
/* Master inner content wrapper — used by ALL page content areas */
/* Gives consistent 80% width, centred, with standard vertical padding */
.tar-inner-wrap,
.tar-content-page,
.tar-page-content,
.tar-events-wrap,
.tar-profile-wrap,
.tar-reg-wrap,
.tar-gm-wrap,
.tar-doclib-wrap,
.tar-hub-wrap {
  width: 80%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}


.tar-content-page {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 0 80px;
  box-sizing: border-box;
  line-height: 1.8;
  color: var(--dust);
}

/* ---- Inner page font hierarchy (gold standard = Rules & Safety) ---- */
/* h2 = major section heading (e.g. "1.0 General Rules") */
.tar-page-content h2,
.tar-content-page h2,
.tar-section h2,
.section-title {
  color: var(--white);
}
/* h3 = sub-section heading (e.g. "1.1 Firearms Code") */
.tar-page-content h3,
.tar-content-page h3,
.tar-section h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 1.75rem 0 0.5rem;
  line-height: 1.2;
}
/* h4 = fine detail heading */
.tar-page-content h4,
.tar-content-page h4,
.tar-section h4 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sage);
  margin: 1.25rem 0 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
/* Body copy */
.tar-page-content p,
.tar-content-page p,
.tar-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dust);
  margin-bottom: 1rem;
}
/* Lists */
.tar-page-content ul,
.tar-content-page ul,
.tar-section ul {
  color: var(--dust);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .tar-page-header {
    width: 90%;
    padding-top: 36px;
  }
  .tar-page-hero {
    padding: 3rem 5% 2.5rem;
  }
}
@media (max-width: 768px) {
  .tar-page-header {
    width: 92%;
  }
  .tar-page-content {
    width: 92%;
    padding: 2.5rem 0 60px;
  }
  .tar-page-hero {
    padding: 2.5rem 4% 2rem;
  }
}

/* 
   NAVIGATION
 */
#tar-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(15, 21, 16, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90,110,69,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-badge {
  width: 40px; height: 40px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--deep);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-logo:hover .nav-logo-badge { transform: rotate(30deg); }

.nav-logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-logo-sub {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--khaki);
  letter-spacing: 0.2em;
  display: block;
}

.nav-links {
  /* Hidden by default (mobile-first) — shown on desktop via min-width: 860px rule */
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile open state — full-width dropdown */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #0f1510;
  border-top: 1px solid rgba(90,110,69,0.3);
  z-index: 9999;
  gap: 0;
  padding: 8px 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-links.open a {
  padding: 16px 20px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(90,110,69,0.15);
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--dust);
}

.nav-links.open a:active { background: rgba(240,120,48,0.1); }

.nav-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dust);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-lt);
  border-color: rgba(212,98,26,0.4);
  background: rgba(212,98,26,0.08);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--deep) !important;
  border-color: var(--orange) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--orange-lt) !important;
  border-color: var(--orange-lt) !important;
}

.nav-committee {
  background: rgba(139,26,26,0.3) !important;
  color: #ff8888 !important;
  border-color: rgba(139,26,26,0.5) !important;
}

.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--sage);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.nav-mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Animate to X when menu is open */
.nav-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 
   NEWS TICKER
 */
.news-ticker {
  margin-top: 64px;
  background: var(--olive);
  padding: 0.6rem 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--paper);
  text-transform: uppercase;
  padding: 0 3rem;
}

.ticker-item::before {
  content: '* ';
  color: var(--orange);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 
   HERO
 */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 0;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(212,98,26,0.05) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-left {
  padding: 5rem 2rem 5rem 14vw;
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.6s ease 0.25s both;
}
.hero-title .accent { color: var(--orange); display: block; }

.hero-subtitle {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--khaki);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease 0.4s both;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dust);
  max-width: 480px;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s ease 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.65s both;
}

.hero-right {
  position: relative;
  height: 100%;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  grid-column: 2;
  grid-row: 1;
}

.hero-emblem {
  position: relative;
  width: min(480px, 80%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease 0.4s both;
}

.emblem-ring { display: none; }

.emblem-hex {
  width: 60%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--olive), var(--forest));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(212,98,26,0.15), 0 0 120px rgba(212,98,26,0.05);
}

.emblem-initials {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--orange);
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(212,98,26,0.5);
}

.emblem-tagline {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--khaki);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.emblem-cross-h, .emblem-cross-v {
  position: absolute;
  background: rgba(90,110,69,0.2);
}
.emblem-cross-h { width: 100%; height: 1px; top: 50%; }
.emblem-cross-v { height: 100%; width: 1px; left: 50%; }

.hero-stat-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 5vw;
  z-index: 5;
  border-top: 1px solid rgba(240,120,48,0.2);
  background: rgba(10,16,9,0.4);
}

.hero-stat {
  text-align: center;
  padding: 1rem 2.5rem;
  border-left: 2px solid var(--orange);
}

.hero-stat-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--khaki);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 
   BUTTONS
 */
.btn-primary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  background: var(--orange);
  color: var(--deep);
  border: 2px solid var(--orange);
  transition: all 0.2s;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover {
  background: var(--orange-lt);
  border-color: var(--orange-lt);
  transform: translateY(-2px);
  color: var(--deep);
  text-decoration: none;
}

.btn-secondary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--sage);
  transition: all 0.2s;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange-lt);
  text-decoration: none;
}

.btn-dark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  background: var(--deep);
  color: var(--orange-lt);
  border: 2px solid var(--deep);
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-dark:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--orange-lt);
}

/* 
   SECTION COMMONS
 */
section { padding: 6rem 10%; }
/* First section directly after the page header has no top gap */
.tar-page-header + section,
.tar-page-header + .tar-content-page,
.tar-page-header + .tar-inner-wrap,
.tar-page-header + .tar-content-page > section:first-child,
.tar-page-header + .tar-inner-wrap > section:first-child,
.tar-hex-bg > .tar-content-page > section:first-child,
.tar-hex-bg > section:first-of-type,
/* Membership page: how-to-join pattern directly after header */
#howitworks:first-of-type,
.tar-hex-bg #howitworks {
  padding-top: 2rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-intro {
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* 
   MEMBERSHIP GRID
 */
#membership { background: transparent; position: relative; }
#membership::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,98,26,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(90,110,69,0.2);
}

.membership-card {
  background: var(--forest);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.25s;
  overflow: hidden;
}
.membership-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--orange);
  transition: height 0.3s;
}
.membership-card:hover::before { height: 100%; }
.membership-card:hover { background: rgba(61,74,46,0.6); }

.mem-tier {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mem-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
}

.mem-perks { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mem-perks li {
  font-size: 0.88rem;
  color: var(--paper);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.mem-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.mem-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: bold;
}
.mem-badge.casual    { background: rgba(90,110,69,0.5); color: var(--dust); }
.mem-badge.member    { background: rgba(212,98,26,0.3); color: var(--orange-lt); }
.mem-badge.life      { background: rgba(212,98,26,0.7); color: var(--deep); }
.mem-badge.youth     { background: rgba(90,110,69,0.4); color: var(--paper); }
.mem-badge.committee { background: rgba(139,26,26,0.6); color: #ff8888; }

/* 
   HOW IT WORKS
 */
#howitworks { background: transparent; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

.step { text-align: center; padding: 0 1.5rem 2rem; position: relative; }

.step-num {
  width: 52px; height: 52px;
  background: var(--forest);
  border: 2px solid var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--orange);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.step:hover .step-num {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--deep);
  transform: scale(1.1);
}

.step-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.step-desc { font-size: 0.9rem; color: var(--paper); line-height: 1.6; }

/* 
   EVENTS
 */
#events { background: var(--forest); }

.events-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.events-sidebar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dust);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(90,110,69,0.4);
}

.mini-calendar {
  background: rgba(15,21,16,0.6);
  padding: 1.25rem;
  border: 1px solid rgba(90,110,69,0.3);
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cal-header button {
  background: none;
  border: 1px solid var(--sage);
  color: var(--dust);
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cal-header button:hover { background: var(--sage); }

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--khaki);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dust);
  cursor: pointer;
  transition: all 0.15s;
  border-radius: 2px;
}
.cal-day:hover  { background: rgba(90,110,69,0.4); }
.cal-day.has-event { color: var(--orange); font-weight: bold; }
.cal-day.today  { background: var(--orange); color: var(--deep); font-weight: bold; }
.cal-day.empty  { color: transparent; pointer-events: none; }

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(90,110,69,0.15);
}

.event-item {
  background: rgba(15,21,16,0.8);
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: center;
  transition: background 0.2s;
  cursor: pointer;
}
.event-item:hover { background: rgba(61,74,46,0.5); }

.event-date-block { text-align: center; padding: 0.5rem; border: 1px solid rgba(90,110,69,0.4); }
.event-date-day { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--orange); line-height: 1; }
.event-date-month { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--khaki); text-transform: uppercase; }

.event-info-type { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--orange); text-transform: uppercase; margin-bottom: 0.3rem; }
.event-info-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--white); text-transform: uppercase; margin-bottom: 0.25rem; }
.event-info-detail { font-size: 0.85rem; color: var(--khaki); }

.event-status {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border: 1px solid;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-status.open  { color: #66bb6a; border-color: #66bb6a; background: rgba(102,187,106,0.08); }
.event-status.soon  { color: var(--orange); border-color: var(--orange); background: rgba(212,98,26,0.08); }
.event-status.full  { color: var(--khaki); border-color: var(--khaki); background: rgba(138,138,106,0.08); }

/* 
   PLAYER CLASSES GRID
 */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(90,110,69,0.15);
}

.class-card {
  background: rgba(15,21,16,0.9);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.25s;
}
.class-card:hover { background: rgba(61,74,46,0.4); }

.class-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.class-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: 0.25rem; }
.class-rule { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--orange); text-transform: uppercase; margin-bottom: 1rem; }

.class-details { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.class-details li { font-size: 0.88rem; color: var(--dust); padding-left: 1rem; position: relative; }
.class-details li::before { content: ''; position: absolute; left: 0; color: var(--orange); }

/* 
   SAFETY SECTION
 */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.safety-item {
  padding: 2rem;
  border: 1px solid rgba(90,110,69,0.3);
  background: rgba(15,21,16,0.5);
  position: relative;
  transition: border-color 0.2s;
}
.safety-item:hover { border-color: var(--orange); }

.safety-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.safety-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.safety-item p { font-size: 0.92rem; color: var(--paper); line-height: 1.7; }
.safety-item strong { color: var(--orange-lt); }

/* 
   AWARDS
 */
.awards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.award-patch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s;
}
.award-patch:hover { transform: translateY(-8px); }

.patch-shape {
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.patch-shape.hex {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.patch-shape.shield {
  clip-path: polygon(15% 0%, 85% 0%, 100% 25%, 100% 65%, 50% 100%, 0% 65%, 0% 25%);
}
.patch-shape.circle {
  border-radius: 50%;
  border: 2px solid rgba(90,110,69,0.5);
}
.patch-icon { font-size: 2.2rem; filter: drop-shadow(0 2px 8px rgba(212,98,26,0.4)); }
.patch-name { font-family: var(--display); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dust); text-align: center; }
.patch-desc { font-size: 0.78rem; color: var(--khaki); text-align: center; max-width: 130px; line-height: 1.4; }

/* 
   ABOUT SECTION
 */
.tar-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 5vw;
  background: var(--forest);
}

.tar-btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-image-area {
  position: relative;
  height: 480px;
}

.about-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive) 0%, var(--deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-img-placeholder .map-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(90,110,69,0.1) 30px, rgba(90,110,69,0.1) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(90,110,69,0.1) 30px, rgba(90,110,69,0.1) 31px);
}

.about-frame-tl, .about-frame-br { position: absolute; width: 40px; height: 40px; }
.about-frame-tl { top: -8px; left: -8px; border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); }
.about-frame-br { bottom: -8px; right: -8px; border-bottom: 3px solid var(--orange); border-right: 3px solid var(--orange); }

.about-photo-credit {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(196,185,154,0.4);
  text-transform: uppercase;
}

.about-content p { font-size: 1.05rem; line-height: 1.8; color: var(--paper); margin-bottom: 1.5rem; }

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.about-list li {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--dust);
  padding-left: 1.2rem;
  position: relative;
  text-transform: uppercase;
}
.about-list li::before { content: ''; position: absolute; left: 0; color: var(--orange); font-size: 0.5rem; top: 0.1em; }

/* 
   CTA STRIP
 */
#cta-strip {
  background: var(--orange);
  padding: 4rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  clip-path: polygon(0 15px, 100% 0, 100% calc(100% - 15px), 0 100%);
}

.cta-text h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--deep);
  text-transform: uppercase;
  line-height: 1;
}
.cta-text p { font-size: 1.05rem; color: rgba(15,21,16,0.75); margin-top: 0.5rem; }

/* 
   FOOTER
 */
#footer {
  background: #080c09;
  padding: 4rem 5vw 2rem;
  border-top: 1px solid rgba(90,110,69,0.2);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: var(--khaki); max-width: 300px; margin-top: 0.75rem; }

.footer-col h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dust);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(90,110,69,0.3);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; color: var(--khaki); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange-lt); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(90,110,69,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: rgba(138,138,106,0.5); text-transform: uppercase; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(90,110,69,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--khaki);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); background: rgba(212,98,26,0.08); }

/* 
   SCROLL REVEAL
 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 
   RESPONSIVE
 */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 5rem 1.5rem 2rem; }
  .hero-stat-strip { gap: 0; flex-wrap: nowrap; padding: 0.75rem 2vw; width: 100%; }
  #about,
  .tar-about-grid {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
      padding: 3rem 1.25rem !important;
  }
  .about-image-area { height: 240px; }
  .events-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  #cta-strip { text-align: center; justify-content: center; }
  .about-list { grid-template-columns: 1fr; }
}

/* 
   WORDPRESS DEFAULT OVERRIDES
*/

/* Remove Gutenberg block width constraints that cause the "two-thirds page" issue */
.is-layout-constrained > *,
.is-layout-constrained {
    max-width: 100% !important;
}
.wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
}
.wp-site-blocks,
.wp-block-post-content,
.entry-content,
.wp-block-group__inner-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Ensure all block HTML sections are full width */
.wp-block-html,
.wp-block-html > section,
.wp-block-html > div {
    max-width: 100% !important;
    width: 100% !important;
}
.wp-block-image img,
.aligncenter { max-width: 100%; height: auto; }

a { color: var(--orange-lt); }
a:hover { color: var(--orange); }

p { line-height: 1.7; font-weight: 400; color: var(--paper); }

img { max-width: 100%; height: auto; }

/* 
   LOGO STYLES
 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-badge-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s;
  /* Remove black background from logo */
  mix-blend-mode: normal;
}
.nav-logo:hover .nav-logo-badge-img {
  transform: rotate(15deg) scale(1.05);
}

.nav-logo-wordmark-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  /* Gold wordmark on dark background works perfectly */
}

.nav-logo-text-block {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-logo-sub {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--khaki);
  letter-spacing: 0.2em;
}

/* Footer logo */
.footer-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

/* Hero emblem -- TAR logo with spinning rings */
.emblem-hex {
  background: transparent;
  clip-path: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  aspect-ratio: 1;
}

.emblem-logo-img {
  width: 100%;
  height: auto;
  filter: none;
  transition: filter 0.3s, transform 0.3s;
}
.emblem-logo-img:hover {
  filter: drop-shadow(0 0 40px rgba(212,98,26,0.6));
  transform: scale(1.03);
}

/* Hide old text-badge elements */
.nav-logo-badge { display: none; }

/* Responsive logo */
@media (max-width: 600px) {
  .nav-logo-text-block { display: none; }
  .nav-logo-wordmark-img { height: 22px; }
}

/* 
   PRICING SECTION
 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(90,110,69,0.2);
}

.pricing-col {
  background: var(--deep);
  display: flex;
  flex-direction: column;
}

.pricing-col-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(90,110,69,0.3);
  background: rgba(61,74,46,0.2);
}

.pricing-col-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
}

.pricing-col-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.pricing-item {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(90,110,69,0.15);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.1rem 1rem;
  align-items: center;
  transition: background 0.2s;
}
.pricing-item:hover { background: rgba(61,74,46,0.2); }

.pricing-item--featured {
  background: rgba(212,98,26,0.06);
  border-left: 3px solid var(--orange);
}
.pricing-item--free { border-left: 3px solid var(--sage); }

.pricing-item-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
  grid-column: 1;
  grid-row: 1;
}

.pricing-item-price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  text-align: right;
}

.pricing-item-note {
  font-size: 0.8rem;
  color: var(--dust);
  grid-column: 1;
  grid-row: 2;
  line-height: 1.4;
}

/* 
   TESTIMONIALS
 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(90,110,69,0.15);
}

.testimonial-card {
  background: rgba(15,21,16,0.8);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  transition: background 0.25s;
}
.testimonial-card:hover { background: rgba(61,74,46,0.3); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--display);
  font-size: 5rem;
  color: rgba(212,98,26,0.15);
  line-height: 1;
  font-weight: 900;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--paper);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--olive);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
  flex-shrink: 0;
  border: 1px solid rgba(212,98,26,0.3);
}

.testimonial-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.05em;
}

.testimonial-role {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* 
   COMMITTEE GRID
 */
.committee-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.committee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: rgba(26,35,24,0.8);
  border: 1px solid rgba(90,110,69,0.2);
  width: 130px;
  transition: all 0.25s;
  cursor: default;
}
.committee-card:hover {
  border-color: var(--orange);
  background: rgba(61,74,46,0.3);
  transform: translateY(-4px);
}

.committee-avatar {
  width: 64px; height: 64px;
  background: var(--olive);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.05em;
  overflow: hidden;
}
.committee-avatar--photo {
  border: 2px solid rgba(90,110,69,0.4);
}



.committee-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.committee-role {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--khaki);
  text-transform: uppercase;
  text-align: center;
}

/* 
   LOCATION SECTION
 */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-icon { font-size: 1.2rem; margin-top: 0.1rem; flex-shrink: 0; }

.location-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.location-value {
  font-size: 0.95rem;
  color: var(--paper);
  line-height: 1.5;
}

.map-embed-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(90,110,69,0.3);
}

.map-overlay-label {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(15,21,16,0.85);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--khaki);
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 900px) {
  #location { grid-template-columns: 1fr !important; }
}

/* 
   COMMITTEE -- ROLE-BASED STYLES
 */
/* All cards use the same visual template — no per-role overrides */


/* -- Committee nav dropdown ----------------------------------- */
.nav-committee-dropdown { position: relative; }
.nav-committee-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; user-select: none; }
.nav-committee-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a2318;
    border: 1px solid #2a3520;
    min-width: 180px;
    z-index: 999;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.nav-committee-dropdown.open .nav-committee-menu { display: block; }
.nav-committee-menu li a {
    display: block;
    padding: 10px 18px;
    color: #c4b99a;
    font-size: 13px;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 1px solid #2a3520;
}
.nav-committee-menu li:last-child a { border-bottom: none; }
.nav-committee-menu li a:hover { background: rgba(240,120,48,.08); color: #f07830; }
.nav-committee-menu li a .tar-nav-treasurer { color: #81C465 !important; }
@media (max-width: 768px) {
    .nav-committee-menu {
        position: static;
        transform: none;
        border: none;
        border-left: 3px solid #f07830;
        background: rgba(26,35,24,.5);
        box-shadow: none;
        padding: 0;
    }
    .nav-committee-menu li a { padding: 8px 24px; font-size: 13px; }
}

/* ============================================================
   EVENTS CALENDAR
   ============================================================ */

.tar-events-wrap { padding: 0 0 80px; }

.tar-events-empty {
    text-align:center;
    padding:60px 20px;
    color:#888;
    font-size:1.05rem;
    background:rgba(255,255,255,.04);
    border-radius:8px;
    border:1px dashed rgba(255,255,255,.12);
}

.tar-events-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap:20px;
}

/* Event Card */
.tar-event-card {
    background:#1a1a1a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    overflow:hidden;
    position:relative;
    display:flex;
    flex-direction:column;
    transition:border-color .2s, box-shadow .2s;
}
.tar-event-card:hover {
    border-color:rgba(240,120,48,.4);
    box-shadow:0 4px 20px rgba(0,0,0,.3);
}
.tar-event-card--cancelled { opacity:.6; }

.tar-event-badge {
    position:absolute;
    top:12px; right:12px;
    padding:3px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
}
.tar-event-badge--registered  { background:#5a6e45; color:#fff; }
.tar-event-badge--full        { background:#7a4a1a; color:#fff; }
.tar-event-badge--cancelled   { background:#5a1a1a; color:#ff8080; }
.tar-event-badge--meeting     { background:#b8960c; color:#0f1510; font-weight:700; }
.tar-event-card--meeting      { border-color:#b8960c44; }

.tar-event-date-block {
    background:linear-gradient(135deg,#d4621a,#f07830);
    padding:14px 18px;
    display:flex;
    align-items:baseline;
    gap:6px;
    flex-shrink:0;
}
.tar-event-day   { font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.8); }
.tar-event-num   { font-size:2.2rem; font-weight:900; color:#fff; line-height:1; }
.tar-event-month { font-size:13px; font-weight:600; color:rgba(255,255,255,.85); }

.tar-event-body { padding:16px 18px; flex:1; }

.tar-event-title {
    font-size:1.05rem;
    font-weight:700;
    margin:0 0 10px;
    padding-right:60px;
}
.tar-event-title a { color:#f5f0e8; text-decoration:none; }
.tar-event-title a:hover { color:#f07830; }

.tar-event-meta-row {
    display:flex;
    flex-wrap:wrap;
    gap:6px 14px;
    margin-bottom:10px;
}
.tar-event-meta-item {
    font-size:12px;
    color:#aaa;
}

.tar-event-capacity { margin-bottom:10px; }
.tar-event-cap-bar {
    height:4px;
    background:rgba(255,255,255,.1);
    border-radius:2px;
    overflow:hidden;
    margin-bottom:4px;
}
.tar-event-cap-fill {
    height:100%;
    background:linear-gradient(90deg,#5a6e45,#f07830);
    border-radius:2px;
    transition:width .3s;
}
.tar-event-cap-text { font-size:12px; color:#aaa; }

.tar-event-excerpt { font-size:13px; color:#999; margin:8px 0 0; }

.tar-event-actions {
    padding:12px 18px;
    border-top:1px solid rgba(255,255,255,.06);
    display:flex;
    gap:10px;
    align-items:center;
}

.tar-event-btn-details {
    font-size:13px;
    font-weight:600;
    color:#aaa;
    text-decoration:none;
    padding:7px 14px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:5px;
    transition:all .2s;
}
.tar-event-btn-details:hover { color:#fff; border-color:rgba(255,255,255,.4); }

.tar-event-btn-rsvp {
    background:linear-gradient(135deg,#d4621a,#f07830);
    color:#fff;
    border:none;
    padding:8px 18px;
    border-radius:5px;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
    transition:opacity .2s;
    text-decoration:none;
    display:inline-block;
}
.tar-event-btn-rsvp:hover { opacity:.85; color:#fff; }

.tar-event-btn-cancel {
    background:transparent;
    color:#888;
    border:1px solid rgba(255,255,255,.12);
    padding:7px 14px;
    border-radius:5px;
    font-size:12px;
    cursor:pointer;
    transition:all .2s;
}
.tar-event-btn-cancel:hover { color:#ff6b6b; border-color:#ff6b6b; }

.tar-event-btn-disabled {
    font-size:12px;
    color:#666;
    padding:7px 14px;
    border:1px solid rgba(255,255,255,.06);
    border-radius:5px;
}

/* ============================================================
   EVENT REGISTER PANEL (single event page)
   ============================================================ */

.tar-event-register-panel {
    background:#1a1a1a;
    border:1px solid rgba(255,255,255,.1);
    border-radius:10px;
    overflow:hidden;
    max-width:640px;
    margin:24px 0;
}

.tar-event-reg-details { padding:20px 24px; }

.tar-event-reg-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:9px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
}
.tar-event-reg-row:last-child { border-bottom:none; }

.tar-event-reg-label { font-size:13px; color:#888; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.tar-event-reg-value { font-size:14px; color:#f5f0e8; }
.tar-event-reg-value a { color:#f07830; }
.tar-event-fee { font-size:1.1rem; font-weight:700; color:#f07830; }

.tar-event-reg-action {
    padding:20px 24px;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.02);
}

.tar-event-notice {
    padding:12px 16px;
    border-radius:6px;
    font-size:14px;
    margin-bottom:12px;
}
.tar-event-notice--success  { background:rgba(90,110,69,.2);  border-left:3px solid #5a6e45; color:#a8c890; }
.tar-event-notice--info     { background:rgba(60,100,180,.15); border-left:3px solid #3a64b4; color:#9ab4e0; }
.tar-event-notice--full     { background:rgba(120,74,26,.2);  border-left:3px solid #7a4a1a; color:#d4924a; }
.tar-event-notice--cancelled{ background:rgba(120,30,30,.2);  border-left:3px solid #8b2020; color:#ff8080; }
.tar-event-notice--completed{ background:rgba(60,60,60,.3);   border-left:3px solid #555;    color:#aaa; }
.tar-event-notice a { color:inherit; font-weight:700; }

.tar-event-btn-rsvp--panel {
    width:100%;
    padding:14px;
    font-size:1rem;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    background:linear-gradient(135deg,#d4621a,#f07830);
    color:#fff;
    border:none;
    border-radius:7px;
    cursor:pointer;
    transition:opacity .2s;
}
.tar-event-btn-rsvp--panel:hover { opacity:.88; }

.tar-event-btn-cancel--panel {
    width:100%;
    padding:10px;
    font-size:13px;
    background:transparent;
    color:#666;
    border:1px solid rgba(255,255,255,.1);
    border-radius:7px;
    cursor:pointer;
    transition:all .2s;
    margin-top:8px;
}
.tar-event-btn-cancel--panel:hover { color:#ff6b6b; border-color:#ff6b6b; }

.tar-event-reg-note {
    font-size:12px;
    color:#666;
    text-align:center;
    margin:10px 0 0;
}

/* Who's coming list */
.tar-event-reg-list {
    padding:16px 24px;
    border-top:1px solid rgba(255,255,255,.06);
}
.tar-event-reg-list h4 {
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#888;
    margin:0 0 12px;
}
.tar-event-players-grid {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.tar-event-player-chip {
    display:flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    color:#ccc;
}
.tar-event-player-dot {
    width:8px; height:8px;
    border-radius:50%;
    flex-shrink:0;
}
.tar-event-player-cs { letter-spacing:.5px; }
.tar-event-player-checked { color:#5a6e45; font-size:11px; }

/* Responsive */
@media (max-width:600px) {
    .tar-events-grid { grid-template-columns:1fr; }
    .tar-event-reg-row { flex-direction:column; align-items:flex-start; gap:2px; }
}

/* ============================================================
   SINGLE EVENT PAGE
   ============================================================ */
.tar-single-event { background:#0f120e; min-height:100vh; }

/* Hero */
.tar-event-hero {
    background: linear-gradient(135deg,#1a2a14 0%,#0f120e 100%);
    padding: 60px 40px 48px;
    border-bottom: 1px solid rgba(240,120,48,.2);
}
.tar-event-hero--img {
    background-size: cover;
    background-position: center;
}
.tar-event-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.tar-event-back {
    display: inline-block;
    color: rgba(245,240,232,.5);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 24px;
    letter-spacing: .5px;
    transition: color .2s;
}
.tar-event-back:hover { color: #f07830; }

.tar-event-hero-date {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.tar-event-hero-day   { font-size:12px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(240,120,48,.8); }
.tar-event-hero-num   { font-size:4rem; font-weight:900; color:#fff; line-height:1; font-family:'Barlow Condensed',sans-serif; }
.tar-event-hero-month { font-size:18px; font-weight:600; color:rgba(245,240,232,.8); }

.tar-event-hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #f5f0e8;
    margin: 8px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tar-event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: rgba(245,240,232,.75);
    margin-bottom: 16px;
}
.tar-event-hero-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tar-event-hero-badge--open      { background:rgba(90,110,69,.4); color:#a8c88a; border:1px solid rgba(90,110,69,.5); }
.tar-event-hero-badge--full      { background:rgba(122,74,26,.4); color:#e8a870; border:1px solid rgba(122,74,26,.5); }
.tar-event-hero-badge--cancelled { background:rgba(90,26,26,.4); color:#ff8080; border:1px solid rgba(90,26,26,.5); }
.tar-event-hero-badge--completed { background:rgba(30,60,90,.4); color:#80b0e0; border:1px solid rgba(30,60,90,.5); }

/* Content grid */
.tar-event-content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.tar-event-sidebar {
    position: sticky;
    top: 100px;
}
@media (max-width: 860px) {
    .tar-event-content-wrap { grid-template-columns: 1fr; padding: 24px 20px 60px; }
    .tar-event-hero { padding: 40px 20px 32px; }
    .tar-event-hero-title { font-size: 2rem; }
    .tar-event-sidebar { order: -1; position: static; }
}

.tar-event-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f07830;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tar-event-attendee-count {
    font-size: 14px;
    color: rgba(245,240,232,.5);
    font-weight: 400;
    letter-spacing: 0;
}

/* Description */
.tar-event-description {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    color: #c8c0b0;
    line-height: 1.7;
    font-size: 15px;
}

/* Attendees */
.tar-event-attendees { margin-bottom: 32px; }

/* Organiser line */
.tar-event-organiser-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.tar-event-organiser-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f07830;
}
.tar-event-organiser-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f07830;
}
.tar-event-cap-bar--large {
    height: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.tar-event-cap-bar--large .tar-event-cap-fill {
    height: 100%;
    background: linear-gradient(90deg,#5a6e45,#f07830);
    border-radius: 4px;
    transition: width .4s ease;
}
.tar-event-spots-text { font-size:13px; color:#aaa; margin:0 0 16px; }

.tar-event-players-grid--large {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.tar-event-player-chip--large {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 5px 12px 5px 8px;
    font-size: 13px;
    color: #f5f0e8;
}
.tar-event-player-rental { font-size:11px; }
.tar-event-player-checked { color:#5a6e45; font-size:12px; font-weight:700; }
.tar-event-no-attendees { color:#666; font-size:14px; font-style:italic; }

/* Location */
.tar-event-location-block { margin-bottom: 32px; }
.tar-event-location-text a { color:#f07830; text-decoration:none; font-size:14px; }
.tar-event-location-text a:hover { text-decoration:underline; }
.tar-event-map {
    width: 100%;
    height: 280px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    margin-top: 12px;
    filter: grayscale(.6) invert(.9) hue-rotate(180deg);
}

/* RSVP sidebar card */
.tar-event-rsvp-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(240,120,48,.25);
    border-radius: 10px;
    overflow: visible;
}
.tar-event-rsvp-header {
    background: linear-gradient(135deg,#f07830,#d4621a);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 10px 10px 0 0;
}
.tar-event-rsvp-details { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.tar-event-rsvp-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    gap: 12px;
}
.tar-event-rsvp-row:last-child { border-bottom: none; }
.tar-event-rsvp-label { font-size:12px; color:#888; font-weight:600; text-transform:uppercase; letter-spacing:.5px; flex-shrink:0; }
.tar-event-rsvp-value { font-size:13px; color:#f5f0e8; text-align:right; }
.tar-event-rsvp-value a { color:#f07830; text-decoration:none; }
.tar-event-fee { color:#f07830; font-weight:700; }

.tar-event-rsvp-action { padding: 20px; }
.tar-event-rsvp-note { font-size:12px; color:#777; margin:8px 0 0; }
.tar-event-rsvp-rental-info { font-size:13px; color:#a8c88a; margin:4px 0; }

.tar-event-btn-rsvp--sidebar {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg,#f07830,#d4621a);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
}
.tar-event-btn-rsvp--sidebar:hover:not(:disabled) { opacity: .85; }
.tar-event-btn-rsvp--sidebar:disabled { opacity: .5; cursor:not-allowed; }

.tar-event-btn-cancel--sidebar {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255,107,107,.4);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 8px;
    transition: border-color .2s, color .2s;
}
.tar-event-btn-cancel--sidebar:hover { color:#ff4444; border-color:#ff4444; }

/* Rental option */
.tar-event-rental-opt {
    background: rgba(240,120,48,.08);
    border: 1px solid rgba(240,120,48,.2);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 14px;
}
.tar-event-rental-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #f5f0e8;
    cursor: pointer;
}
.tar-event-rental-label input { accent-color: #f07830; width:16px; height:16px; }
.tar-event-rental-note { font-size:12px; color:#999; margin:6px 0 0; }

/* Notices */
.tar-event-notice {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}
.tar-event-notice--success    { background:rgba(90,110,69,.25); border:1px solid rgba(90,110,69,.4); color:#a8c88a; }
.tar-event-notice--cancelled  { background:rgba(90,26,26,.25); border:1px solid rgba(90,26,26,.4); color:#ff8080; }
.tar-event-notice--completed  { background:rgba(30,60,90,.25); border:1px solid rgba(30,60,90,.4); color:#80b0e0; }
.tar-event-notice--full       { background:rgba(122,74,26,.25); border:1px solid rgba(122,74,26,.4); color:#e8a870; }
.tar-event-notice--info       { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); color:#c8c0b0; }
.tar-event-notice--info a     { color:#f07830; }

/* Pending event styles */
.tar-event-card--pending { opacity: .75; }
.tar-event-badge--pending { background: rgba(60,80,120,.5); color: #a0b8e0; }
.tar-event-hero-badge--pending { background:rgba(60,80,120,.4); color:#a0b8e0; border:1px solid rgba(60,80,120,.5); }

/* ============================================================
   MOBILE -- COMPREHENSIVE RESPONSIVE OVERRIDES
   Covers: nav, homepage, events, dashboard, profile, forms,
           treasurer, secretary, POS, inventory, probation
   Primary breakpoints: 900px (tablet), 600px (mobile), 400px (small)
   ============================================================ */

/* -- Global helpers ------------------------------------------- */
@media (max-width: 900px) {
    body { overflow-x: hidden; }

    /* Prevent any element blowing out the viewport */
    .tar-reg-wrap,
    .tar-profile-wrap,
    .tar-tr,
    .tar-checkin-wrap,
    .tar-pos-wrap,
    .tar-inventory-wrap {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }
}

/* -- Navigation (mobile) -------------------------------------- */
@media (max-width: 900px) {
    #tar-nav { padding: 0 1rem; }

    /* Full-screen dropdown menu */
    .nav-links.open {
        gap: 0;
        padding: 8px 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Large tap targets for every link */
    .nav-links.open a {
        padding: 16px 20px;
        font-size: 1.05rem;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(90,110,69,.15);
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
    }
    .nav-links.open a:active { background: rgba(240,120,48,.1); }

    /* Committee toggle in mobile menu */
    .nav-committee-toggle {
        padding: 16px 20px;
        font-size: 1.05rem;
        min-height: 52px;
        width: 100%;
        display: flex !important;
        align-items: center;
        border-bottom: 1px solid rgba(90,110,69,.15);
        color: #f07830;
        font-family: 'Barlow Condensed', sans-serif;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* Committee sub-items */
    .nav-committee-menu li a {
        padding: 14px 32px !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Hide logout CTA in nav — shows in menu instead */
    .nav-cta--logout { display: none; }

    /* Logout in mobile menu */
    .nav-links.open .nav-cta--logout {
        display: flex !important;
        margin: 8px 12px;
        text-align: center;
        justify-content: center;
        padding: 14px 20px !important;
        border: 1px solid rgba(240,120,48,.3) !important;
    }
}

@media (max-width: 600px) {
    #tar-nav { height: 56px; }
    .nav-links.open { top: 56px !important; max-height: calc(100vh - 56px); }
    .nav-mobile-toggle { width: 44px; height: 44px; }
}

/* -- Homepage hero -------------------------------------------- */
@media (max-width: 900px) {
    /* Stack hero to single column, hide right emblem column */
    #hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 0;
    }
    .hero-right { display: none; }
    .hero-left {
        padding: 5rem 1.5rem 2rem;
        text-align: left;
    }
    .hero-title { font-size: clamp(2.8rem, 10vw, 4rem); }
    .hero-actions { flex-direction: row; gap: 1rem; flex-wrap: wrap; }
    .hero-actions a { text-align: center; width: auto; box-sizing: border-box; }

    /* Stat strip -- remove absolute positioning so it doesn't overflow */
    .hero-stat-strip {
        position: static;
        margin-top: 0;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: stretch;
        padding: 0;
        width: 100%;
    }
    .hero-stat {
        flex: 1;
        padding: 1rem 0.5rem;
        text-align: center;
        border-left: 2px solid var(--orange);
    }
    .hero-stat-num { font-size: 1.5rem; }
    .hero-stat-label { font-size: 0.5rem; letter-spacing: 0.1em; }

    /* News ticker -- keep contained */
    .news-ticker { margin-top: 56px; }
}

@media (max-width: 600px) {
    .hero-left { padding: 4rem 1rem 1.5rem; }
    .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
    .hero-tag { font-size: 0.6rem; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-stat-num { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.45rem; }
}

/* -- Section headings ----------------------------------------- */
@media (max-width: 600px) {
    .section-label { font-size: 10px; }
    .section-title { font-size: 1.8rem !important; line-height: 1.1; }
    .section-title--lg { font-size: 2rem !important; }
}

/* -- Homepage & content page pattern mobile fixes ------------- */
@media (max-width: 768px) {
    /* Stat strip: 2x2 grid so all 4 stats are visible */
    .hero-stat-strip {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        position: static !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    .hero-stat {
        flex: none !important;
        padding: 0.9rem 0.5rem !important;
        border-left: 2px solid var(--orange) !important;
        border-bottom: 1px solid rgba(90,110,69,0.15) !important;
    }
    .hero-stat-num { font-size: 1.3rem !important; }
    .hero-stat-label { font-size: 0.5rem !important; }

    /* Hero buttons: stack and full width */
    .hero-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .hero-actions a {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Steps (How to Join): single column */
    .steps-row {
        grid-template-columns: 1fr !important;
    }
    .steps-row::before { display: none; }
    .step { border-bottom: 1px solid rgba(90,110,69,0.2); padding-bottom: 1.5rem; }

    /* Safety grid: single column */
    .safety-grid {
        grid-template-columns: 1fr !important;
    }

    /* Pricing grid: single column */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials grid: single column */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Membership section buttons: stack vertically, full width, readable */
    .tar-btn-row,
    #membership > div[style*="text-align:center"],
    .tar-content-page div[style*="text-align:center"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    .tar-btn-row a,
    #membership > div[style*="text-align:center"] a,
    .tar-content-page div[style*="text-align:center"] a {
        margin-left: 0 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
    }

    /* Committee: 3 per row */
    .committee-grid {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    .committee-card {
        flex: 1 1 28% !important;
        min-width: 90px !important;
        max-width: 120px !important;
        padding: 1rem 0.5rem !important;
    }
    .committee-avatar {
        width: 52px !important;
        height: 52px !important;
        font-size: 0.85rem !important;
    }
    .committee-name { font-size: 0.75rem !important; }
    .committee-role { font-size: 0.65rem !important; }

    /* Membership tier cards: wider, less towering text */
    .membership-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1px !important;
    }
    .membership-card {
        padding: 1.25rem 1rem !important;
    }
    .mem-name { font-size: 0.9rem !important; }
    .mem-perks li { font-size: 0.78rem !important; line-height: 1.4 !important; }

    /* Centre section headings and intros */
    #membership .section-title,
    #membership .section-intro,
    #pricing .section-title,
    #pricing .section-intro,
    #testimonials .section-title,
    #committee .section-title,
    #howitworks .section-title,
    #safety .section-title,
    .tar-content-page .section-title {
        text-align: center !important;
    }
    .section-label { justify-content: center !important; text-align: center !important; }

    /* Location details: single column */
    .location-details { flex-direction: column !important; }

    /* Section padding */
    .tar-section { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    #membership, #pricing, #testimonials, #committee, #howitworks, #safety, #about {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* CTA strip: stack */
    #cta-strip {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
        padding: 3rem 1.25rem !important;
    }
    #cta-strip .btn-dark {
        width: 100% !important;
        text-align: center !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    /* Section titles: smaller on mobile */
    .section-title { font-size: clamp(1.8rem, 8vw, 2.5rem) !important; }
}

@media (max-width: 480px) {
    /* Committee: 2 per row */
    .committee-card { flex: 1 1 45% !important; }

    /* Hero title */
    .hero-title { font-size: clamp(2rem, 11vw, 3rem) !important; }
}

/* -- FAQ / Membership tier cards ------------------------------ */
@media (max-width: 700px) {
    /* 2-column grid for tier cards */
    .membership-grid { grid-template-columns: 1fr 1fr !important; gap: 1px; }
    .class-card { padding: 1.2rem 1rem; }
    .class-name { font-size: 1rem; }
    .class-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .class-details li { font-size: 0.8rem; }

    /* Section content containers -- stop overflowing */
    #membership .section-inner,
    #membership > div { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* -- Pricing grid --------------------------------------------- */
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 1px; }
    .pricing-card { padding: 1.5rem 1.25rem; }
}

/* -- Footer --------------------------------------------------- */
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-col { padding: 0; }
}

/* -- Events calendar grid ------------------------------------- */
@media (max-width: 600px) {
    .tar-events-wrap { padding: 0 12px; }
    .tar-events-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .tar-event-card { padding: 16px; }
    .tar-event-card-meta { flex-direction: column; gap: 4px; }
}

/* -- Single event page ---------------------------------------- */
@media (max-width: 860px) {
    /* Sidebar stacks below content on mobile */
    .tar-event-content-wrap {
        grid-template-columns: 1fr;
        padding: 20px 16px 60px;
        gap: 24px;
    }
    .tar-event-sidebar { order: -1; position: static; }
    .tar-event-hero { padding: 32px 16px 24px; }
    .tar-event-hero-title { font-size: 1.8rem; }
    .tar-event-hero-num { font-size: 3rem; }
    .tar-event-hero-meta { gap: 10px; font-size: 13px; }
    .tar-event-players-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important; }
    .tar-event-rsvp-card { border-radius: 8px; }

    /* Edit game form grid becomes single column */
    #tar-edit-game-form > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .tar-event-hero { padding: 24px 14px 20px; }
    .tar-event-hero-title { font-size: 1.5rem; }
    .tar-event-location-block iframe { height: 200px; }
}

/* -- Member profile ------------------------------------------- */
@media (max-width: 600px) {
    .tar-profile-wrap { padding: 20px 14px !important; }
    .tar-profile-header { flex-direction: column; align-items: flex-start; gap: 14px; }
    .tar-profile-header > div:last-child { text-align: left !important; }
    .tar-profile-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .tar-profile-card { padding: 16px 14px; }
    .tar-profile-actions { flex-direction: column; }
    .tar-profile-btn { text-align: center; width: 100%; box-sizing: border-box; }
    .tar-profile-name h2 { font-size: 1.6rem; }

    /* Games I'm running cards */
    .tar-profile-wrap div[style*="display:flex"][style*="align-items:center"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

/* -- Page hero banner (page.php template) --------------------- */
@media (max-width: 768px) {
    /* Page hero - TAR / PAGE TITLE banner */
    .tar-page-hero {
        padding: 2.5rem 1.25rem 2rem !important;
    }
    .tar-page-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem) !important;
    }
    /* Page content area */
    .tar-page-content {
        padding: 2rem 1.25rem 3rem !important;
    }
    /* Fix page top padding for shorter mobile nav */
    .tar-page-wrap {
        padding-top: 56px !important;
    }
}

/* -- Registration / membership forms ------------------------- */
@media (max-width: 600px) {
    .tar-reg-wrap { padding: 20px 14px !important; }
    .tar-reg-grid,
    .tar-reg-form-grid { grid-template-columns: 1fr !important; }
    .tar-reg-field { margin-bottom: 14px; }
    .tar-reg-submit { width: 100%; box-sizing: border-box; }

    /* Full-width buttons on forms */
    .tar-reg-wrap button[type="submit"],
    .tar-reg-wrap input[type="submit"] {
        width: 100%;
        box-sizing: border-box;
    }
}

/* -- Committee panel ------------------------------------------ */
@media (max-width: 700px) {
    /* Member table becomes scrollable */
    .tar-committee-table-wrap,
    .tar-reg-wrap table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
    }
    /* Hide less-critical columns on small screens */
    .tar-committee-table th:nth-child(4),
    .tar-committee-table td:nth-child(4),
    .tar-committee-table th:nth-child(5),
    .tar-committee-table td:nth-child(5) { display: none; }
}

/* -- Treasurer dashboard -------------------------------------- */
@media (max-width: 700px) {
    .tar-tr { padding: 16px 14px !important; }
    .tar-tr h2 { font-size: 1.8rem; }
    .tar-tr-summary { grid-template-columns: 1fr 1fr !important; gap: 8px; }
    .tar-tr-card { padding: 12px 14px; }
    .tar-tr-card-val { font-size: 1.6rem; }
    .tar-tr-fy-nav { gap: 6px; }
    .tar-tr-fy-btn { padding: 5px 10px; font-size: 10px; }
    .tar-tr-actions { gap: 6px; }
    .tar-tr-action-btn { padding: 7px 12px; font-size: 11px; }

    /* Tables scroll horizontally */
    .tar-tr-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tar-tr-table { min-width: 500px; }
    .tar-tr-agm { padding: 16px 14px; }
}

@media (max-width: 480px) {
    .tar-tr-summary { grid-template-columns: 1fr !important; }
    .tar-tr-actions { flex-direction: column; }
    .tar-tr-action-btn { width: 100%; text-align: center; box-sizing: border-box; }
}

/* -- Secretary panel ------------------------------------------ */
@media (max-width: 700px) {
    /* Wrap tables in scrollable container */
    .tar-sec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* -- Probation tracker ---------------------------------------- */
@media (max-width: 600px) {
    /* Probation cards stack vertically */
    .tar-prob-grid { grid-template-columns: 1fr !important; }
    .tar-prob-card { padding: 16px 14px !important; }
}

/* -- POS (Point of Sale) -------------------------------------- */
@media (max-width: 700px) {
    .tar-pos-wrap { padding: 14px !important; }
    /* POS layout: stack columns */
    .tar-pos-layout,
    .tar-pos-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }
    .tar-pos-items { grid-template-columns: repeat(2, 1fr) !important; }
    .tar-pos-cart { position: static !important; }
}

@media (max-width: 400px) {
    .tar-pos-items { grid-template-columns: 1fr !important; }
}

/* -- Check-in panel ------------------------------------------- */
@media (max-width: 600px) {
    .tar-checkin-wrap { padding: 16px 12px !important; }
    .tar-checkin-grid { grid-template-columns: 1fr !important; }
    .tar-checkin-search input { font-size: 16px; /* prevent iOS zoom on focus */ }
}

/* -- Inventory ------------------------------------------------ */
@media (max-width: 600px) {
    .tar-inventory-wrap { padding: 16px 12px !important; }
    .tar-inventory-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 400px) {
    .tar-inventory-grid { grid-template-columns: 1fr !important; }
}

/* -- General table responsiveness ----------------------------- */
@media (max-width: 600px) {
    /* Any table not already handled -- make it scrollable */
    table:not(.tar-tr-table):not(.tar-event-reg-details) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
}

/* -- Form inputs on mobile -- prevent iOS zoom ----------------- */
@media (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* iOS zooms on inputs < 16px */
    }
}

/* -- Notices and alert boxes ---------------------------------- */
@media (max-width: 600px) {
    .tar-reg-notice,
    .tar-upgrade-box,
    .tar-event-notice { padding: 14px 12px; font-size: 13px; }
}

/* -- Small phone -- 400px -------------------------------------- */
@media (max-width: 400px) {
    .tar-profile-name h2 { font-size: 1.4rem; }
    .tar-tr h2 { font-size: 1.5rem; }
    .tar-event-hero-title { font-size: 1.3rem; }
    .hero-left h1 { font-size: 1.8rem; }
}

/* ============================================================
   MOBILE NAV FIXES -- better touch targets and committee dropdown
   ============================================================ */
@media (max-width: 900px) {
    /* Bigger touch targets for all nav links */
    .nav-links.open a {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Committee toggle in mobile menu */
    .nav-committee-toggle {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        min-height: 48px;
        width: 100%;
        display: flex !important;
        align-items: center;
        color: #f07830;
        font-family: 'Barlow Condensed', sans-serif;
        letter-spacing: 2px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(90,110,69,.2);
    }

    /* Committee submenu items in mobile */
    .nav-committee-menu li a {
        padding: 14px 28px !important;
        font-size: 0.9rem !important;
        min-height: 44px;
        display: flex !important;
        align-items: center;
    }

    /* Make the mobile nav taller and more scrollable */
    .nav-links.open {
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Log out button in mobile menu */
    .nav-cta--logout {
        display: block !important;
        margin: 8px 20px;
        text-align: center;
        padding: 14px 20px !important;
    }
}

/* ============================================================
   SHARED CAROUSEL COMPONENT
============================================================ */
.tar-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15,21,16,0.7);
    border: 1px solid rgba(90,110,69,0.4);
    color: var(--paper);
    font-size: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.tar-carousel-btn:hover { background: rgba(212,98,26,0.6); }
.tar-carousel-prev { left: 10px; }
.tar-carousel-next { right: 10px; }
.tar-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.tar-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.tar-carousel-dot.active { background: var(--orange); }

/* ============================================================
   OUTDOOR HIGH-CONTRAST MODE
   Activated by class .tar-outdoor on <body>
   Boosts ALL text to near-white for sunlight readability.
   Covers both CSS classes AND common inline colour values.
============================================================ */

body.tar-outdoor {
    background: #1a2518 !important;
}

/* ── Universal text boost ──────────────────────────────── */
/* Any element inside body.tar-outdoor gets light text */
body.tar-outdoor * {
    color: inherit;
}

/* Base text colour for everything */
body.tar-outdoor,
body.tar-outdoor p,
body.tar-outdoor li,
body.tar-outdoor td,
body.tar-outdoor th,
body.tar-outdoor span,
body.tar-outdoor div,
body.tar-outdoor label {
    color: #f0ede4;
}

/* ── Inline colour overrides ───────────────────────────── */
/* These target the specific dark hex values used in inline styles */

/* Very dark text (#3a4530, #3a5030, #2a3520, #2a4a22) → bright mint */
body.tar-outdoor [style*="color:#3a4530"],
body.tar-outdoor [style*="color:#3a5030"],
body.tar-outdoor [style*="color:#2a3520"],
body.tar-outdoor [style*="color:#2a4a22"],
body.tar-outdoor [style*="color:#3d4a2e"],
body.tar-outdoor [style*="color:#1a2318"] {
    color: #a8d890 !important;
}

/* Medium dark olive (#5a6e45, #5a7a9a, #5a8a45) → bright mint */
body.tar-outdoor [style*="color:#5a6e45"],
body.tar-outdoor [style*="color:#5a7a9a"],
body.tar-outdoor [style*="color:#5a8a45"],
body.tar-outdoor [style*="color:#4a7a8a"],
body.tar-outdoor .tar-qr-label {
    color: #b8e0a0 !important;
}

/* Muted grey-green (#8a9a7a, #8a8a6a, #7a9660, #7a8a9a) → light */
body.tar-outdoor [style*="color:#8a9a7a"],
body.tar-outdoor [style*="color:#8a8a6a"],
body.tar-outdoor [style*="color:#7a9660"],
body.tar-outdoor [style*="color:#7a8a9a"] {
    color: #d4e8c0 !important;
}

/* Already-light values — keep or boost */
body.tar-outdoor [style*="color:#c4b99a"],
body.tar-outdoor [style*="color:#c4b998"] {
    color: #f0ede4 !important;
}

body.tar-outdoor [style*="color:#e8dcc8"],
body.tar-outdoor [style*="color:#f0ece2"] {
    color: #ffffff !important;
}

/* ── CSS class rules ───────────────────────────────────── */

/* Profile labels */
body.tar-outdoor .tar-profile-card h4,
body.tar-outdoor .tar-profile-row .label { color: #a8d890 !important; }
body.tar-outdoor .tar-profile-row .value { color: #ffffff !important; font-weight: 600 !important; }
body.tar-outdoor .tar-prob-label { color: #b8e0a0 !important; }

/* Section labels */
body.tar-outdoor .section-label { color: #d4e8c0 !important; }
body.tar-outdoor .tar-tier-badge { font-weight: 700 !important; }

/* Upgrade box */
body.tar-outdoor .tar-upgrade-box p { color: #f0ede4 !important; }

/* Nav */
body.tar-outdoor .nav-links a { color: #f0ede4 !important; font-weight: 600 !important; }
body.tar-outdoor .nav-logo-name { color: #ffffff !important; }
body.tar-outdoor .nav-logo-subtitle { color: #d4e8c0 !important; }

/* Ticker */
body.tar-outdoor .ticker-item { color: #f0ede4 !important; font-weight: 600 !important; }

/* Event cards */
body.tar-outdoor .event-title { color: #ffffff !important; }
body.tar-outdoor .event-info-detail { color: #d4e8c0 !important; }
body.tar-outdoor .event-date-month { color: #d4e8c0 !important; }

/* Buttons */
body.tar-outdoor .btn-primary,
body.tar-outdoor .tar-profile-btn--primary {
    background: #e06820 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}
body.tar-outdoor .btn-secondary,
body.tar-outdoor .tar-profile-btn--secondary {
    border: 2px solid #d4e8c0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Cards & backgrounds */
body.tar-outdoor .membership-card,
body.tar-outdoor .tar-profile-card,
body.tar-outdoor .pricing-col,
body.tar-outdoor .testimonial-card,
body.tar-outdoor .event-card {
    background: #263320 !important;
    border-color: #4a6038 !important;
}

/* Form elements */
body.tar-outdoor input,
body.tar-outdoor select,
body.tar-outdoor textarea {
    background: #1a2518 !important;
    color: #ffffff !important;
    border-color: #6a8a50 !important;
}
body.tar-outdoor label { color: #d4e8c0 !important; font-weight: 600 !important; }

/* History/table text */
body.tar-outdoor .tar-login-remember { color: #d4e8c0 !important; }

/* Footer */
body.tar-outdoor .footer-col ul a { color: #d4e8c0 !important; }
body.tar-outdoor .footer-brand p { color: #d4e8c0 !important; }

/* Secretary/committee panels */
body.tar-outdoor .tar-sec-table td,
body.tar-outdoor .tar-sec-table th { color: #f0ede4 !important; }
body.tar-outdoor .tar-cp-table td,
body.tar-outdoor .tar-cp-table th { color: #f0ede4 !important; }

/* Membership grid */
body.tar-outdoor .mem-tier { color: #a8d890 !important; }
body.tar-outdoor .mem-name { color: #ffffff !important; font-weight: 700 !important; }
body.tar-outdoor .mem-perks li { color: #f0ede4 !important; }

/* Pricing */
body.tar-outdoor .pricing-col-sub { color: #a8d890 !important; }
body.tar-outdoor .pricing-item-name { color: #f0ede4 !important; }
body.tar-outdoor .pricing-item-note { color: #d4e8c0 !important; }

/* Committee */
body.tar-outdoor .committee-role { color: #a8d890 !important; }
body.tar-outdoor .committee-name { color: #ffffff !important; }

/* About / location */
body.tar-outdoor .location-label { color: #a8d890 !important; }
body.tar-outdoor .location-value { color: #f0ede4 !important; }
body.tar-outdoor .about-content p { color: #f0ede4 !important; }
body.tar-outdoor .about-list li { color: #f0ede4 !important; }

/* Hero */
body.tar-outdoor .hero-desc { color: #f0ede4 !important; }
body.tar-outdoor .hero-stat-label { color: #d4e8c0 !important; }

/* CTA strip */
body.tar-outdoor #cta-strip { background: #d4621a !important; }
body.tar-outdoor #cta-strip h2,
body.tar-outdoor #cta-strip p { color: #ffffff !important; }

/* Toggle button */
.tar-outdoor-toggle {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 9999;
    background: #e06820;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}
.tar-outdoor-toggle:hover { background: #c05010; }
body.tar-outdoor .tar-outdoor-toggle {
    background: #263320;
    border: 1px solid #6a8a50;
    color: #d4e8c0;
}


/* ── Safety Quiz (registration) ──────────────────────────────── */
.tar-quiz-block { transition: border-color 0.2s; }
.tar-quiz-block label:hover { border-color: #5a6e45 !important; background: #111a0f !important; cursor: pointer; }
.tar-quiz-options input[type="radio"] { accent-color: #f07830; width: 16px; height: 16px; }

/* ============================================================
   DESKTOP LAYOUT -- min-width 860px
   These rules ensure proper desktop layout without overriding mobile
   ============================================================ */

@media (min-width: 860px) {
    /* Navigation -- full nav on desktop */
    #tar-nav { padding: 0 2.5rem; }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 0.25rem;
        align-items: center;
        max-height: none;
        overflow: visible;
    }
    .nav-links a { padding: 0.4rem 0.75rem; font-size: 0.8rem; border-bottom: none; width: auto; min-height: auto; }
    .nav-mobile-toggle { display: none !important; }
    .nav-cta { display: inline-block; }
    .nav-logo-text-block { display: flex; }
    .nav-logo-wordmark-img { height: 26px; }
    .news-ticker { margin-top: 64px; }

    /* Hero -- two-column on desktop */
    #hero { grid-template-columns: 1fr 1fr; min-height: 100vh; }
    .hero-right { display: flex; }
    .hero-left { padding: 5rem 2rem 5rem 14vw; }
    .hero-title { font-size: clamp(3.5rem, 7vw, 6.5rem); }
    .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 1rem; }
    .hero-actions a { width: auto; text-align: left; }
    .hero-stat-strip { justify-content: center; gap: 0; padding: 1.5rem 5vw; }
    .hero-stat { flex: none; padding: 1rem 1.5rem; }
    .hero-stat-num { font-size: 2.2rem; }
    .hero-stat-label { font-size: 0.6rem; letter-spacing: 0.2em; }

    /* About/Location -- two-column on desktop */
    #about, .tar-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 6rem 5vw; }
    #location { grid-template-columns: 1fr 1fr; }

    /* Footer -- 4-column on desktop */
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; }

    /* Events layout -- sidebar + list on desktop */
    .events-layout { grid-template-columns: 1fr 2fr; }

    /* Membership grid -- 4 per row on desktop */
    .membership-grid { grid-template-columns: repeat(4, 1fr); }

    /* Committee dropdown positioning */
    .nav-committee-menu { position: absolute; transform: translateX(-50%); border: 1px solid #2a3520; background: #1a2318; box-shadow: 0 8px 24px rgba(0,0,0,.5); padding: 6px 0; }
}


/* ============================================================
   MOBILE RESPONSIVE — INNER PAGES
   Applies to all non-homepage content pages at 768px and below
   ============================================================ */

/* -- Tablet / narrow desktop (≤ 900px) ----------------------- */
@media (max-width: 900px) {
    .tar-page-header {
        width: 90%;
        padding-top: 36px;
        padding-bottom: 28px;
    }
    .tar-page-hero {
        padding: 3rem 5% 2.5rem;
    }
    .tar-inner-wrap,
    .tar-content-page,
    .tar-page-content,
    .tar-events-wrap,
    .tar-profile-wrap,
    .tar-reg-wrap,
    .tar-gm-wrap,
    .tar-doclib-wrap,
    .tar-hub-wrap {
        width: 90%;
    }
}

/* -- Mobile (≤ 768px) ---------------------------------------- */
@media (max-width: 768px) {
    .tar-page-header {
        width: 92%;
        padding-top: 28px;
        padding-bottom: 20px;
    }
    .tar-ap-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: 2px;
    }
    .tar-ap-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }
    .tar-page-hero {
        padding: 2.5rem 4% 2rem;
    }
    .tar-page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .tar-inner-wrap,
    .tar-content-page,
    .tar-page-content,
    .tar-events-wrap,
    .tar-profile-wrap,
    .tar-reg-wrap,
    .tar-gm-wrap,
    .tar-doclib-wrap,
    .tar-hub-wrap {
        width: 92%;
    }
    .tar-content-page { padding: 2rem 0 60px; }
    .tar-page-content { padding: 2rem 0 60px; }
    /* Inner page headings: scale down on mobile */
    .tar-page-content h2,
    .tar-content-page h2,
    .tar-section h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }
    .tar-page-content h3,
    .tar-content-page h3,
    .tar-section h3 {
        font-size: clamp(1rem, 3.5vw, 1.2rem) !important;
    }
    /* Section label + title: left-align on mobile */
    .tar-content-page .section-label,
    .tar-page-content .section-label {
        justify-content: flex-start;
    }
    /* Rules page sections: tighten vertical padding, keep 0 horizontal so container controls margins */
    .tar-section {
        padding: 2rem 0 !important;
    }
}

/* -- Small phone (≤ 480px) ----------------------------------- */
@media (max-width: 480px) {
    .tar-page-header {
        width: 94%;
    }
    .tar-ap-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }
    .tar-inner-wrap,
    .tar-content-page,
    .tar-page-content,
    .tar-events-wrap,
    .tar-profile-wrap,
    .tar-reg-wrap,
    .tar-gm-wrap,
    .tar-doclib-wrap,
    .tar-hub-wrap {
        width: 94%;
    }
    .tar-page-content h2,
    .tar-content-page h2,
    .tar-section h2 {
        font-size: clamp(1.6rem, 7vw, 2rem) !important;
    }
    .tar-page-content h3,
    .tar-content-page h3,
    .tar-section h3 {
        font-size: 1rem !important;
    }
}


/* ============================================================
   OUTDOOR MODE - POS ONLY
   White high-contrast layout for field use in sunlight.
   Only fires on .tar-pos-wrap elements when body.tar-outdoor
============================================================ */

/* All POS sections go white */
body.tar-outdoor .tar-pos-section {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-section h3 {
    color: #666 !important;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 8px;
}

/* Event select */
body.tar-outdoor .tar-pos-event-select {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Search input */
body.tar-outdoor .tar-pos-search {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* Player header bar (blue in screenshot) */
body.tar-outdoor .tar-pos-player-header,
body.tar-outdoor [style*="background:#1a3050"],
body.tar-outdoor [style*="background:#1a2a50"],
body.tar-outdoor [style*="background:#1e3a5f"],
body.tar-outdoor [style*="background:#0a1628"],
body.tar-outdoor [style*="background:rgba(26,48,80"] {
    background: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-player-header * {
    color: #fff !important;
}

/* Item buttons in grid */
body.tar-outdoor .tar-pos-items-grid button,
body.tar-outdoor .tar-pos-item-btn {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-items-grid button:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}
body.tar-outdoor .tar-pos-items-grid button span:first-child {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}
body.tar-outdoor .tar-pos-items-grid button span:last-child,
body.tar-outdoor .tar-pos-items-grid .pos-price {
    color: #f07830 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

/* Greyed out item (rental unavailable) */
body.tar-outdoor .tar-pos-items-grid button:disabled,
body.tar-outdoor .tar-pos-items-grid button[disabled] {
    background: #e0e0e0 !important;
    border-color: #999 !important;
    box-shadow: none !important;
    color: #999 !important;
}

/* Custom item row */
body.tar-outdoor .tar-pos-custom input {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-custom button {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    font-weight: 700 !important;
}

/* Add another player section */
body.tar-outdoor #tar-pos-add-player-section,
body.tar-outdoor .tar-pos-add-player {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}

/* Scan QR button */
body.tar-outdoor .tar-pos-scan-btn,
body.tar-outdoor [onclick*="tarPosScan"],
body.tar-outdoor button[class*="scan"] {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    font-weight: 700 !important;
}

/* Cart panel */
body.tar-outdoor .tar-pos-cart {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-cart h3 {
    color: #666 !important;
}
body.tar-outdoor .tar-pos-cart-group-name {
    color: #1a1a1a !important;
    font-weight: 900 !important;
}
body.tar-outdoor .tar-pos-cart-item-name {
    color: #1a1a1a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
body.tar-outdoor .tar-pos-cart-item-price {
    color: #f07830 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}
body.tar-outdoor .tar-pos-cart-remove {
    color: #c0392b !important;
}
body.tar-outdoor .tar-pos-cart-subtotal {
    color: #666 !important;
    border-bottom-color: #ddd !important;
}
body.tar-outdoor .tar-pos-total {
    color: #f07830 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
}
body.tar-outdoor .tar-pos-cart-empty {
    color: #bbb !important;
}

/* Payment buttons */
body.tar-outdoor .tar-pos-pay-btn {
    background: #fff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}
body.tar-outdoor .tar-pos-pay-btn.active {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* Charge button */
body.tar-outdoor #tar-pos-charge {
    background: #f07830 !important;
    color: #fff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 4px 4px 0 #1a1a1a;
    font-size: 19px !important;
    font-weight: 900 !important;
    padding: 18px !important;
}
body.tar-outdoor #tar-pos-charge:active {
    transform: translate(4px,4px);
    box-shadow: none !important;
}

/* New sale button */
body.tar-outdoor .tar-pos-new-sale {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Game day tool buttons */
body.tar-outdoor .tar-pos-right > div:last-child button,
body.tar-outdoor [id*="tar-pos-gd-"] button,
body.tar-outdoor button[onclick*="tarPosSmsField"],
body.tar-outdoor button[onclick*="tarPosGameday"],
body.tar-outdoor button[onclick*="tarPosEod"],
body.tar-outdoor button[onclick*="tarPosBriefing"],
body.tar-outdoor button[onclick*="tarPosInduction"],
body.tar-outdoor button[onclick*="tarPosGameRun"] {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
    padding: 12px 14px !important;
}

/* Set Float button */
body.tar-outdoor .tar-pos-float-btn,
body.tar-outdoor button[onclick*="tarPosOpenFloat"] {
    background: #fff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}

/* Warning/notice text */
body.tar-outdoor .tar-pos-warn,
body.tar-outdoor [style*="color:#f07830"],
body.tar-outdoor .tar-pos-not-registered {
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* Page heading */
body.tar-outdoor .tar-pos-heading,
body.tar-outdoor h1.tar-pos-title {
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-date {
    color: #666 !important;
}

/* Additional POS outdoor overrides - targeting specific class names */
body.tar-outdoor .tar-pos-member-block-body {
    background: #f5f5f5 !important;
    border-top: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-member-prereg {
    background: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffc107 !important;
}
body.tar-outdoor .tar-pos-item-btn {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a;
    font-size: 13px !important;
    font-weight: 600 !important;
}
body.tar-outdoor .tar-pos-item-btn:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}
body.tar-outdoor .tar-pos-item-btn[style*="opacity:.4"],
body.tar-outdoor .tar-pos-item-btn[disabled] {
    background: #e0e0e0 !important;
    border-color: #999 !important;
    box-shadow: none !important;
}
body.tar-outdoor .tar-pos-custom input {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-custom button {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    font-weight: 700 !important;
}
body.tar-outdoor .tar-pos-cart {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-eod-body {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-att-btn {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    box-shadow: 2px 2px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-att-btn:active {
    transform: translate(2px,2px);
    box-shadow: none !important;
}
/* Player header - target by inline style background colours */
body.tar-outdoor [style*="background:#1a3050"],
body.tar-outdoor [style*="background: #1a3050"],
body.tar-outdoor [style*="background:#162850"],
body.tar-outdoor [style*="background:#0a1628"],
body.tar-outdoor [style*="background:#1e3a5f"],
body.tar-outdoor [style*="background:#162a48"] {
    background: #1a1a1a !important;
}
/* Merchandise label */
body.tar-outdoor .tar-pos-merch-label,
body.tar-outdoor [style*="letter-spacing:3px"][style*="text-transform:uppercase"] {
    color: #666 !important;
}
/* Section heading text within white sections */
body.tar-outdoor .tar-pos-section * {
    color: #1a1a1a;
}
body.tar-outdoor .tar-pos-section h3 {
    color: #555 !important;
}
/* Item price text */
body.tar-outdoor .tar-pos-item-price {
    color: #f07830 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}
body.tar-outdoor .tar-pos-item-name {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* Player block header - override inline background */
body.tar-outdoor .tar-pos-member-block-header {
    background: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-member-block-header * {
    color: #fff !important;
}
body.tar-outdoor .tar-pos-member-block-name {
    color: #fff !important;
}
body.tar-outdoor .tar-pos-member-block-sub {
    color: #aaa !important;
}
body.tar-outdoor .tar-pos-member-block {
    border: 2px solid #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-member-block-remove {
    background: #fff !important;
    border: 2px solid #c0392b !important;
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* ── Player header - white background black text ── */
body.tar-outdoor .tar-pos-member-block-header {
    background: #ffffff !important;
    border-bottom: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-member-block-header * {
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-member-block-name {
    color: #1a1a1a !important;
    font-weight: 900 !important;
}
body.tar-outdoor .tar-pos-member-block-sub {
    color: #555 !important;
}

/* ── Add another player section ── */
body.tar-outdoor .tar-pos-add-member {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-add-member h3 {
    color: #555 !important;
}

/* ── Scan QR button - orange background white text ── */
body.tar-outdoor .tar-pos-qr-btn {
    background: #f07830 !important;
    border: 2px solid #1a1a1a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-qr-btn:hover {
    background: #d4621a !important;
    color: #fff !important;
}
body.tar-outdoor .tar-pos-qr-btn svg {
    stroke: #fff !important;
}

/* ── Cart total - black text ── */
body.tar-outdoor .tar-pos-cart-group-name {
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-cart h3,
body.tar-outdoor .tar-pos-cart-label {
    color: #555 !important;
}
body.tar-outdoor .tar-pos-cart-empty {
    color: #aaa !important;
}

/* ── Game day tool buttons (all use inline styles, target by onclick) ── */
body.tar-outdoor button[onclick*="tarPosSmsField"],
body.tar-outdoor button[onclick*="tarPosBriefOpen"],
body.tar-outdoor button[onclick*="tarPosGameRunnerOpen"],
body.tar-outdoor button[onclick*="tarPosToggleEOD"] {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}
body.tar-outdoor button[onclick*="tarPosSmsField"]:active,
body.tar-outdoor button[onclick*="tarPosBriefOpen"]:active,
body.tar-outdoor button[onclick*="tarPosGameRunnerOpen"]:active,
body.tar-outdoor button[onclick*="tarPosToggleEOD"]:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}

/* ── Set Float button ── */
body.tar-outdoor button[onclick*="tarPosOpenFloat"] {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}

/* ── Page title and date ── */
body.tar-outdoor .tar-pos-wrap h1,
body.tar-outdoor .tar-pos-wrap > h1 {
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-wrap > p,
body.tar-outdoor .tar-pos-wrap > div > p {
    color: #555 !important;
}

/* Cart total word "Total" - orange */
body.tar-outdoor .tar-pos-total span:first-child,
body.tar-outdoor .tar-pos-cart-total-label {
    color: #f07830 !important;
}

/* Cart Total label - orange in outdoor mode */
body.tar-outdoor .tar-pos-total {
    color: #f07830 !important;
    border-top: 2px solid #1a1a1a !important;
}

/* ── Cash modal & keypad outdoor mode ── */
body.tar-outdoor .tar-pos-kp-modal .tar-pos-kp-box {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
    width: 360px !important;
}
body.tar-outdoor .tar-pos-kp-header {
    background: #1a1a1a !important;
    border-bottom: none !important;
}
body.tar-outdoor .tar-pos-kp-header span {
    color: #f07830 !important;
}
body.tar-outdoor .tar-pos-kp-close {
    color: #fff !important;
    font-size: 24px !important;
}
body.tar-outdoor .tar-pos-kp-body {
    background: #ffffff !important;
}
body.tar-outdoor .tar-pos-kp-due-label {
    color: #555 !important;
}
body.tar-outdoor .tar-pos-kp-due-amt {
    color: #f07830 !important;
    font-size: 28px !important;
}
body.tar-outdoor .tar-pos-kp-display {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-kp-display-label {
    color: #555 !important;
}
body.tar-outdoor .tar-pos-kp-display-value {
    color: #1a1a1a !important;
    font-size: 36px !important;
}
body.tar-outdoor .tar-pos-kp-change {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-kp-change-value {
    color: #f07830 !important;
    font-size: 36px !important;
    font-weight: 900 !important;
}
/* Number buttons - bigger, white with black border */
body.tar-outdoor .tar-pos-kpb {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    padding: 18px !important;
    box-shadow: 3px 3px 0 #1a1a1a;
    transition: transform 0.1s, box-shadow 0.1s !important;
}
body.tar-outdoor .tar-pos-kpb:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}
body.tar-outdoor .tar-pos-kpb:hover {
    background: #f5f5f5 !important;
}
/* Quick amount buttons */
body.tar-outdoor .tar-pos-kpb--q {
    background: #1a1a1a !important;
    color: #f07830 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-color: #1a1a1a !important;
    box-shadow: 3px 3px 0 #555;
}
/* Delete button */
body.tar-outdoor .tar-pos-kpb--del {
    background: #fff !important;
    color: #c0392b !important;
    border-color: #c0392b !important;
    font-size: 20px !important;
    box-shadow: 3px 3px 0 #c0392b;
}
/* Enter/Confirm button */
body.tar-outdoor .tar-pos-kp-confirm {
    background: #e0e0e0 !important;
    color: #999 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    padding: 18px !important;
    border: 2px solid #ccc !important;
}
body.tar-outdoor .tar-pos-kp-confirm.ready {
    background: #f07830 !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: 4px 4px 0 #1a1a1a;
    cursor: pointer !important;
}
body.tar-outdoor .tar-pos-kp-confirm.ready:active {
    transform: translate(4px,4px);
    box-shadow: none !important;
}
/* Keypad grid gap - wider */
body.tar-outdoor .tar-pos-kp-grid {
    gap: 8px !important;
    margin-bottom: 8px !important;
}
body.tar-outdoor .tar-pos-kp-quick {
    gap: 8px !important;
    margin-bottom: 12px !important;
}

/* ── Search results dropdown outdoor mode ── */
body.tar-outdoor .tar-pos-results {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-results > div,
body.tar-outdoor .tar-pos-result-item {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-bottom: 1px solid #ddd !important;
    font-weight: 600 !important;
}
body.tar-outdoor .tar-pos-results > div:hover,
body.tar-outdoor .tar-pos-result-item:hover {
    background: #f5f5f5 !important;
}
body.tar-outdoor .tar-pos-results * {
    color: #1a1a1a !important;
}

/* ── Compact cash modal for tablet screens ── */
body.tar-outdoor .tar-pos-kp-display {
    padding: 6px 12px !important;
}
body.tar-outdoor .tar-pos-kp-display-value {
    font-size: 28px !important;
    min-height: 28px !important;
}
body.tar-outdoor .tar-pos-kp-change {
    padding: 6px 12px !important;
    margin-bottom: 8px !important;
}
body.tar-outdoor .tar-pos-kp-change-value {
    font-size: 28px !important;
    min-height: 28px !important;
}
body.tar-outdoor .tar-pos-kp-due {
    margin-bottom: 6px !important;
}
body.tar-outdoor .tar-pos-kp-due-amt {
    font-size: 22px !important;
}
body.tar-outdoor .tar-pos-kp-body {
    padding: 10px 12px !important;
}
body.tar-outdoor .tar-pos-kpb {
    padding: 14px !important;
    font-size: 22px !important;
}
body.tar-outdoor .tar-pos-kp-grid {
    gap: 6px !important;
    margin-bottom: 6px !important;
}
body.tar-outdoor .tar-pos-kp-quick {
    gap: 6px !important;
    margin-bottom: 8px !important;
}
body.tar-outdoor .tar-pos-kp-confirm {
    padding: 14px !important;
    font-size: 18px !important;
}

/* Quick amount buttons ($20, $50, $100, $150) - white like number buttons */
body.tar-outdoor .tar-pos-kpb--q {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px !important;
}
body.tar-outdoor .tar-pos-kpb--q:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}

/* ── All POS popup modals - white background in outdoor mode ── */

/* Safety Brief / Induction modal */
body.tar-outdoor #tar-pos-brief-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-pos-brief-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-brief-modal [style*="color:#f07830"],
body.tar-outdoor #tar-pos-brief-modal [id*="eyebrow"] {
    color: #f07830 !important;
}
body.tar-outdoor #tar-pos-brief-modal select {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-brief-doc-wrap {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor #tar-brief-save-btn {
    background: #f07830 !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 14px 24px !important;
}
body.tar-outdoor #tar-pos-brief-modal button:not(#tar-brief-save-btn) {
    background: #fff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* Game Run By modal */
body.tar-outdoor #tar-pos-runner-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-pos-runner-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-runner-modal [style*="color:#f07830"] {
    color: #f07830 !important;
}
body.tar-outdoor #tar-pos-runner-modal select {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-runner-slots select,
body.tar-outdoor #tar-runner-slots input {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor button[onclick*="tarRunnerSubmit"] {
    background: #f07830 !important;
    color: #fff !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: 3px 3px 0 #1a1a1a;
    font-size: 16px !important;
    font-weight: 900 !important;
}
body.tar-outdoor button[onclick*="tarRunnerClose"],
body.tar-outdoor button[onclick*="tarRunnerAddSlot"] {
    background: #fff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* Rental Replica Picker modal */
body.tar-outdoor #tar-rental-picker-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-rental-picker-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-rental-picker-list button {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}

/* Merch Size Picker modal */
body.tar-outdoor #tar-merch-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-merch-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-merch-modal button {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 2px 2px 0 #1a1a1a;
}
body.tar-outdoor #tar-merch-modal button[style*="background:#f07830"] {
    background: #f07830 !important;
    color: #fff !important;
}

/* General .tar-pos-modal-box (QR scanner, attendance) */
body.tar-outdoor .tar-pos-modal-box {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-modal-box * {
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-modal-cancel {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}

/* Attendance modal buttons */
body.tar-outdoor .tar-pos-att-btn {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    box-shadow: 2px 2px 0 #1a1a1a;
}
body.tar-outdoor .tar-pos-att-btn * {
    color: #1a1a1a !important;
}

/* EOD body panel */
body.tar-outdoor .tar-pos-eod-body {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}
body.tar-outdoor .tar-pos-eod-row {
    border-bottom-color: #ddd !important;
}
body.tar-outdoor .tar-pos-eod-row span:first-child {
    color: #555 !important;
}
body.tar-outdoor .tar-pos-eod-total {
    color: #f07830 !important;
}
body.tar-outdoor .tar-pos-eod-tin {
    border-top-color: #ddd !important;
    color: #1a1a1a !important;
}
body.tar-outdoor .tar-pos-eod-tin span:last-child {
    color: #2a8a2a !important;
}
body.tar-outdoor .tar-pos-eod-reconcile-title {
    color: #f07830 !important;
}
body.tar-outdoor .tar-pos-eod-reconcile input {
    background: #f5f5f5 !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}

/* Card confirmation modal outdoor mode */
body.tar-outdoor #tar-pos-card-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-pos-card-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-card-modal [style*="color:#f07830"] {
    color: #f07830 !important;
}
body.tar-outdoor #tar-pos-card-modal [style*="color:#5a6e45"] {
    color: #555 !important;
}
body.tar-outdoor #tar-card-accepted {
    background: #2a8a2a !important;
    border: 3px solid #1a1a1a !important;
    color: #fff !important;
    box-shadow: 4px 4px 0 #1a1a1a;
    font-size: 20px !important;
    padding: 18px !important;
}
body.tar-outdoor #tar-card-declined {
    background: #c0392b !important;
    border: 3px solid #1a1a1a !important;
    color: #fff !important;
    box-shadow: 4px 4px 0 #1a1a1a;
    font-size: 20px !important;
    padding: 18px !important;
}

/* EOD modal outdoor mode */
body.tar-outdoor #tar-pos-eod-modal > div {
    background: #ffffff !important;
    border: 3px solid #1a1a1a !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
body.tar-outdoor #tar-pos-eod-modal * {
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-eod-modal [style*="color:#f07830"],
body.tar-outdoor #tar-pos-eod-modal .tar-pos-eod-total,
body.tar-outdoor #tar-pos-eod-modal .tar-pos-eod-reconcile-title {
    color: #f07830 !important;
}
body.tar-outdoor #tar-pos-eod-modal .tar-pos-eod-row {
    border-bottom-color: #ddd !important;
}
body.tar-outdoor #tar-pos-eod-modal .tar-pos-eod-tin {
    border-top-color: #1a1a1a !important;
    color: #1a1a1a !important;
}
body.tar-outdoor #tar-pos-eod-modal .tar-pos-eod-tin span:last-child {
    color: #2a8a2a !important;
}
body.tar-outdoor #tar-pos-eod-modal button {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* EOD button outdoor mode - white with black text */
body.tar-outdoor button[onclick*="tarPosOpenEOD"] {
    background: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 3px 3px 0 #1a1a1a;
}
body.tar-outdoor button[onclick*="tarPosOpenEOD"]:active {
    transform: translate(3px,3px);
    box-shadow: none !important;
}

/* ============================================================
   CLUB DASHBOARD NAV — plain link, no dropdown
   ============================================================ */

/* ============================================================
   TAR-BTN — Standard action button used across Club Dashboard
   features (Field Maintenance, Ideas Board, Asset Management)
   ============================================================ */
.tar-btn {
    display: inline-block;
    background: #f07830;
    color: #fff;
    border: 2px solid #f07830;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}
.tar-btn:hover {
    background: #d4621a;
    border-color: #d4621a;
    color: #fff;
}
.tar-btn--outline {
    background: transparent;
    color: #c4b99a;
    border: 2px solid #3a4530;
}
.tar-btn--outline:hover {
    border-color: #f07830;
    color: #f07830;
    background: transparent;
}
@media (max-width: 900px) {
    .tar-btn { font-size: 0.78rem; padding: 7px 14px; }
}
