/* ═══════════════════════════════════════════════════════════
   BEZWADA BAR ASSOCIATION — Stylesheet
   Palette: Teal #2a9d8f | Gold #c9a227 | Cream #f9f5ec
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #2a9d8f;
  --navy2:  #1e7a6e;
  --navy3:  #0f5c54;
  --gold:   #c9a227;
  --gold2:  #a07d1a;
  --cream:  #f9f5ec;
  --light:  #f0faf8;
  --white:  #ffffff;
  --text:   #2d2d2d;
  --muted:  #667;
  --border: #ddd;
  --ff-serif: 'Libre Baskerville', Georgia, serif;
  --ff-sans:  'Inter', 'Segoe UI', sans-serif;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(15,92,84,.12);
  --shadow-lg: 0 8px 40px rgba(15,92,84,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--navy2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold2); color: var(--white); border-color: var(--gold2); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-nav {
  background: var(--gold);
  color: #1a1a1a !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
}
.btn-nav:hover { background: var(--gold2); color: var(--white) !important; }

/* ─── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy3);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(15,92,84,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.emblem { flex-shrink: 0; }
.header-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
}
.logo-text h1 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}
.tagline {
  font-size: 12px;
  color: var(--white);
  letter-spacing: .5px;
  opacity: 0.85;
}

/* Nav */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
}
.main-nav ul li a {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: var(--radius);
  display: block;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav ul li a:hover { background: rgba(255,255,255,.15); color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy2) 0%, #0d5a52 50%, var(--navy) 100%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,.09) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 24px 40px;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 28px 0;
}
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy2); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block;
  background: rgba(42,157,143,.12);
  color: var(--navy2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(42,157,143,.3);
  margin-bottom: 12px;
}
.section-dark .section-badge {
  background: rgba(255,255,255,.12);
  color: var(--gold);
  border-color: rgba(255,255,255,.25);
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy2);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-sub { color: var(--muted); max-width: 560px; margin: 12px auto 0; font-size: 15px; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

.divider {
  width: 60px;
  height: 3px;
  background: var(--navy);
  margin: 0 auto;
  border-radius: 2px;
}
.divider-gold { background: var(--gold); }

/* ─── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text h3 {
  font-family: var(--ff-serif);
  font-size: 1.45rem;
  color: var(--navy2);
  margin-bottom: 16px;
}
.about-text p { color: #444; margin-bottom: 16px; line-height: 1.8; }
.about-pillars { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  border-left: 3px solid var(--navy);
  box-shadow: var(--shadow);
}
.pillar-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.pillar strong { display: block; color: var(--navy2); font-weight: 700; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: 14px; color: #555; line-height: 1.6; }

/* Timeline */
.about-timeline h3 {
  font-family: var(--ff-serif);
  font-size: 1.45rem;
  color: var(--navy2);
  margin-bottom: 24px;
}
.timeline { list-style: none; position: relative; padding-left: 8px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), rgba(42,157,143,.1));
}
.timeline li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
.tl-year {
  min-width: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy2);
  padding-top: 4px;
  text-align: right;
  flex-shrink: 0;
}
.tl-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  flex: 1;
  position: relative;
}
.tl-body::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
  z-index: 1;
}
.tl-body strong { color: var(--navy2); display: block; margin-bottom: 4px; font-size: 14px; }
.tl-body p { margin: 0; font-size: 13px; color: #555; line-height: 1.5; }

/* ─── OFFICE BEARERS ─────────────────────────────────────── */
.bearers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.bearer-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.bearer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  border-color: var(--gold);
}
.bearers-featured-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bearer-card--featured {
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
  background: rgba(201,162,39,.1);
  border-color: var(--gold);
}
.bearer-avatar { flex-shrink: 0; }
.bearer-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.bearer-card h3 { color: var(--white); font-family: var(--ff-serif); font-size: 1.2rem; margin-bottom: 6px; }
.bearer-qual { font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.bearer-phone { font-size: 13px; color: rgba(255,255,255,.75); }
.bearer-bio { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; }

/* Executive Committee */
.exec-committee { margin-top: 16px; }
.exec-committee h3 {
  font-family: var(--ff-serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.exec-member {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.exec-member:hover { border-color: var(--gold); background: rgba(201,162,39,.1); }
.exec-member .exec-name { display: block; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.exec-member .exec-role { display: block; font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.exec-member .exec-phone { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ─── MEMBERS TABLE ───────────────────────────────────────── */
.members-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-input, .filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.search-input { flex: 1; min-width: 260px; }
.search-input:focus, .filter-select:focus { border-color: var(--navy); }

.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.members-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.members-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.members-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .4px;
  white-space: nowrap;
}
.members-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #eef0f5;
  color: #3a3a4a;
}
.members-table tbody tr:last-child td { border-bottom: none; }
.members-table tbody tr:hover { background: var(--light); }
.members-table tbody tr.hidden { display: none; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
.badge-active { background: #e6f4ea; color: #1a7a30; }

.table-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ─── NEWS & EVENTS ───────────────────────────────────────── */
.news-tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 2px solid #e8e8e8; }
.tab-btn {
  padding: 10px 22px;
  background: none;
  border: none;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-btn.active { color: var(--navy2); border-bottom-color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-card {
  background: var(--light);
  border-radius: 10px;
  padding: 28px;
  border: 1px solid #cde8e5;
  transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card--featured { grid-column: 1 / -1; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.news-cat {
  background: var(--navy2);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}
.news-date { font-size: 12px; color: var(--muted); }
.news-card h3 { font-family: var(--ff-serif); font-size: 1.15rem; color: var(--navy2); margin-bottom: 10px; }
.news-card p { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 14px; }
.read-more { font-size: 13px; font-weight: 700; color: var(--navy2); }
.read-more:hover { color: var(--navy); }

/* Events */
.events-list { display: flex; flex-direction: column; gap: 16px; }
.event-item {
  display: flex;
  gap: 24px;
  background: var(--light);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #cde8e5;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.event-item:hover { box-shadow: var(--shadow); }
.event-date-block {
  background: var(--navy2);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}
.event-day { display: block; font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.event-month { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.75); margin-top: 4px; }
.event-details h3 { font-family: var(--ff-serif); font-size: 1.1rem; color: var(--navy2); margin-bottom: 8px; }
.event-details p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 10px; }
.event-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* Notices */
.notices-list { display: flex; flex-direction: column; gap: 12px; }
.notice-item {
  display: flex;
  gap: 16px;
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--navy);
  align-items: flex-start;
}
.notice-item.notice-urgent { border-left-color: #c0392b; }
.notice-label {
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-urgent .notice-label { background: #c0392b; }
.notice-item h4 { color: var(--navy2); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.notice-item p { font-size: 13.5px; color: #555; line-height: 1.6; }

/* ─── GALLERY ─────────────────────────────────────────────── */
.gallery-filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.gfilter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.gfilter-btn:hover, .gfilter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform .25s, opacity .25s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item.hidden { display: none; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.gallery-placeholder span { color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; line-height: 1.4; }
.gallery-note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.gallery-note code { background: #e0f2f0; padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { grid-row: 1 / 3; }
.contact-block h3 { font-family: var(--ff-serif); color: var(--white); font-size: 1.3rem; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; color: var(--gold); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 4px; }
.contact-detail p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.7; margin: 0; }

/* Contact form */
.contact-form-wrap h3 { font-family: var(--ff-serif); color: var(--white); font-size: 1.25rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--gold); }

/* Map */
.contact-map h3 { font-family: var(--ff-serif); color: var(--white); font-size: 1.25rem; margin-bottom: 16px; }
.map-placeholder { background: rgba(255,255,255,.06); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.map-note { font-size: 12px; color: rgba(255,255,255,.45); padding: 10px 14px; text-align: center; }
.map-note code { background: rgba(255,255,255,.1); padding: 1px 5px; border-radius: 3px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy3); color: rgba(255,255,255,.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-brand h3 { font-family: var(--ff-serif); color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-bottom: 8px; }
.footer-tel { color: var(--gold) !important; font-size: 13px; }
.footer-links h4 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; font-size: 13.5px; }
.footer-links ul li a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ─── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
  line-height: 1;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--navy2); }

/* ─── NEWS TICKER ─────────────────────────────────────────── */
.news-ticker {
  display: flex;
  align-items: stretch;
  background: var(--navy3);
  border-bottom: 2px solid var(--gold);
  height: 40px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 999;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #1a1a1a;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 0 18px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}
.ticker-dot {
  width: 7px;
  height: 7px;
  background: #c0392b;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll linear infinite;
  will-change: transform;
}
.ticker-track.paused { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px 0 0;
  cursor: default;
}
.ticker-item-date {
  background: rgba(201,162,39,.25);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item-text {
  color: rgba(255,255,255,.9);
  font-size: 13.5px;
}
.ticker-sep {
  color: var(--gold);
  font-size: 16px;
  opacity: 0.5;
  padding-right: 40px;
  flex-shrink: 0;
}
.ticker-placeholder {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  padding: 0 24px;
}
.ticker-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: none;
  border-left: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: 10px;
  cursor: pointer;
  padding: 0 14px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
  letter-spacing: 1px;
}
.ticker-pause:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* ─── MULTI-PAGE LAYOUT ───────────────────────────────────── */

a.logo-block { text-decoration: none; }
a.logo-block:hover { opacity: .92; }

.main-nav a[aria-current="page"] {
  color: var(--gold) !important;
  background: rgba(255,255,255,.12);
}

/* Page hero banner (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  padding: 52px 0 44px;
  text-align: center;
}
.page-hero-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero h2 {
  font-family: var(--ff-serif);
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: .4; }

/* Home section cards */
.section-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid #cde8e5;
  border-radius: 12px;
  padding: 36px 24px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  color: inherit;
}
.section-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
  color: inherit;
}
.section-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
  width: 64px;
  height: 64px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cde8e5;
}
.section-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--navy2);
  margin-bottom: 8px;
}
.section-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.section-card-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .4px;
}

/* Home news preview */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.view-all-wrap { text-align: center; margin-top: 36px; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .bearers-grid { grid-template-columns: 1fr 1fr; }
  .bearers-featured-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .section-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .home-news-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy2);
    border-top: 1px solid rgba(255,255,255,.15);
    display: none;
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; flex-wrap: wrap; }
  .main-nav ul li a { padding: 12px 24px; border-radius: 0; font-size: 14px; white-space: normal; }
  .header-inner { position: relative; }
}
@media (max-width: 768px) {
  .topbar .container { justify-content: center; font-size: 11px; }

  .bearers-grid { grid-template-columns: 1fr; }
  .bearers-featured-row { grid-template-columns: 1fr; }
  .bearer-card--featured { flex-direction: column; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .exec-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── TOURNAMENT PAGE ─────────────────────────────────────── */
.tourn-info-strip {
  background: var(--navy3);
  border-bottom: 2px solid var(--gold);
  padding: 0;
}
.tourn-info-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.tourn-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  flex: 1;
  min-width: 160px;
}
.tourn-info-item:last-child { border-right: none; }
.tourn-info-icon { font-size: 1.4rem; flex-shrink: 0; }
.tourn-info-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); display: block; }
.tourn-info-val { font-size: 13.5px; color: rgba(255,255,255,.88); font-weight: 600; }

.tourn-step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.tourn-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.tourn-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ddd;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .3s, color .3s;
}
.tourn-step.active .tourn-step-num { background: var(--navy); color: var(--white); }
.tourn-step.done .tourn-step-num { background: var(--gold); color: #1a1a1a; }
.tourn-step.active { color: var(--navy2); }
.tourn-step.done { color: var(--navy2); }
.tourn-step-connector {
  width: 60px;
  height: 2px;
  background: #ddd;
  flex-shrink: 0;
  transition: background .3s;
}
.tourn-step-connector.done { background: var(--gold); }

.tourn-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.category-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid #cde8e5;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  user-select: none;
}
.category-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.category-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.category-card.selected {
  border-color: var(--gold);
  background: rgba(201,162,39,.07);
  box-shadow: 0 4px 20px rgba(201,162,39,.2);
}
.cat-icon-wrap {
  font-size: 2rem;
  width: 54px;
  height: 54px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.category-card.selected .cat-icon-wrap { background: rgba(201,162,39,.15); }
.cat-body { flex: 1; min-width: 0; }
.cat-title { font-family: var(--ff-serif); font-size: 1rem; font-weight: 700; color: var(--navy2); margin-bottom: 2px; }
.cat-type { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.cat-fee { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.cat-check-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: transparent;
  transition: all .2s;
}
.category-card.selected .cat-check-ring {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
}

/* Cart panel */
.cart-panel {
  position: sticky;
  top: 120px;
  background: var(--white);
  border: 1.5px solid #cde8e5;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cart-header {
  background: var(--navy2);
  color: var(--white);
  padding: 18px 20px;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.cart-body { padding: 20px; }
.cart-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 24px 0; }
.cart-empty-icon { font-size: 2rem; margin-bottom: 8px; opacity: .4; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.cart-item-type { font-size: 11px; color: var(--muted); }
.cart-item-fee { font-size: 13.5px; font-weight: 700; color: var(--navy2); white-space: nowrap; }
.cart-divider { height: 1px; background: #eee; margin: 8px 0; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 4px;
  font-weight: 700;
}
.cart-total-label { font-size: 14px; color: var(--text); }
.cart-total-amt { font-size: 1.25rem; color: var(--navy2); font-family: var(--ff-serif); }
.cart-note { font-size: 11.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.cart-proceed { width: 100%; padding: 13px; font-size: 15px; }

/* Registration form section */
.reg-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.reg-step-badge {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.reg-section-header h3 { font-family: var(--ff-serif); font-size: 1.35rem; color: var(--navy2); }

.reg-form-card {
  background: var(--white);
  border: 1px solid #cde8e5;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.reg-form-card .form-group label {
  color: #555;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.reg-form-card input, .reg-form-card select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.reg-form-card input:focus, .reg-form-card select:focus { border-color: var(--navy); }
.reg-form-card input::placeholder { color: #aaa; }
.reg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.partner-block {
  margin-top: 24px;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.partner-block-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy2);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 13px;
  color: #555;
}
.reg-terms input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

/* Confirmation card */
.confirm-card {
  text-align: center;
  background: var(--white);
  border: 1px solid #cde8e5;
  border-radius: 14px;
  padding: 52px 40px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.confirm-icon { font-size: 3.5rem; margin-bottom: 16px; }
.confirm-card h3 { font-family: var(--ff-serif); font-size: 1.6rem; color: var(--navy2); margin-bottom: 10px; }
.confirm-ref {
  display: inline-block;
  background: var(--light);
  border: 1px solid #cde8e5;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--navy2);
  font-weight: 700;
  letter-spacing: .5px;
  margin: 12px 0 20px;
}
.confirm-events { list-style: none; text-align: left; margin: 16px 0 24px; }
.confirm-events li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: var(--text);
}
.confirm-events li:last-child { border-bottom: none; }
.confirm-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy2);
  padding: 10px 0;
  border-top: 2px solid var(--navy);
  margin-top: 4px;
}
.confirm-note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #795500;
  text-align: left;
  margin: 20px 0;
  line-height: 1.6;
}

/* UPI Payment panel (embedded in confirm-card) */
.upi-pay-section {
  margin-top: 28px;
  border: 2px solid #cde8e5;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
/* UPI Payment panel (standalone Step 3 section) */
.upi-pay-standalone {
  border: 2px solid #cde8e5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.upi-pay-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--navy2);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
}
.upi-pay-deadline { font-size: 11.5px; color: var(--gold); font-weight: 600; }
.upi-pay-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
}
.upi-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  background: var(--light);
  border-right: 1px solid #cde8e5;
}
.upi-qr-box {
  width: 196px;
  height: 196px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,92,84,.1);
}
.upi-qr-caption {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.upi-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text);
  flex-wrap: wrap;
  justify-content: center;
}
.upi-copy-btn {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--ff-sans);
  font-weight: 600;
  transition: background .15s, color .15s;
}
.upi-copy-btn:hover { background: var(--navy); color: var(--white); }
.upi-mobile-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 20px;
  transition: background .15s, color .15s;
}
.upi-mobile-link:hover { background: var(--navy); color: var(--white); }
.upi-utr-col { padding: 22px 24px; }
.upi-amount-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border: 1.5px solid #cde8e5;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--navy2);
  margin-bottom: 14px;
  font-weight: 600;
}
.upi-amount-chip strong {
  font-size: 1.4rem;
  font-family: var(--ff-serif);
  color: var(--navy2);
}
.upi-instr {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.utr-hint {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
}
.utr-fail-btn {
  font-size: 13px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--ff-sans);
  transition: color .15s, border-color .15s;
}
.utr-fail-btn:hover { color: #c62828; border-color: #c62828; }
.utr-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.utr-status--ok   { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #a5d6a7; }
.utr-status--fail { background: #fdecea; color: #c62828; border: 1.5px solid #ef9a9a; }
.utr-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 13.5px;
  gap: 12px;
}
.utr-detail-row span { font-size: 12px; color: var(--muted); }
.utr-success-note {
  font-size: 12.5px;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 14px;
  line-height: 1.6;
}
.utr-fail-list {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.85;
}
.confirm-utr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  gap: 12px;
  color: var(--navy2);
  font-weight: 700;
  border-top: 2px solid var(--navy);
  margin-top: 4px;
}
.confirm-utr-row span { font-size: 12px; color: var(--muted); font-weight: 400; }

@media (max-width: 1024px) {
  .tourn-layout { grid-template-columns: 1fr; }
  .cart-panel { position: static; }
}
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: 1fr; }
  .reg-form-grid { grid-template-columns: 1fr; }
  .tourn-info-item { min-width: 50%; }
  .upi-pay-grid { grid-template-columns: 1fr; }
  .upi-qr-col { border-right: none; border-bottom: 1px solid #cde8e5; }
  .tourn-prize-item { min-width: 50%; }
  .confirm-card { padding: 36px 20px; }
  .tourn-contacts-grid { grid-template-columns: 1fr 1fr; }
}

.tourn-prize-strip {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  border-bottom: 2px solid rgba(201,162,39,.5);
  padding: 0;
}
.tourn-prize-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.tourn-prize-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-right: 1px solid rgba(255,255,255,.12);
  flex: 1;
  min-width: 160px;
}
.tourn-prize-item:last-child { border-right: none; }
.tourn-prize-icon { font-size: 1.6rem; flex-shrink: 0; }
.tourn-prize-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); display: block; }
.tourn-prize-val { font-size: 1.15rem; color: var(--white); font-weight: 700; font-family: var(--ff-serif); }

.tourn-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.tourn-contact-card {
  background: var(--light);
  border: 1.5px solid #cde8e5;
  border-radius: 10px;
  padding: 20px 22px;
  transition: box-shadow .2s, border-color .2s;
}
.tourn-contact-card:hover { box-shadow: var(--shadow); border-color: var(--navy); }
.tourn-contact-name { font-family: var(--ff-serif); font-size: 1rem; font-weight: 700; color: var(--navy2); margin-bottom: 6px; }
.tourn-contact-num { font-size: 14px; color: var(--navy); font-weight: 600; text-decoration: none; }
.tourn-contact-num:hover { color: var(--gold); }
.tourn-whatsapp-note { text-align: center; font-size: 14px; color: var(--muted); }
.tourn-whatsapp-note a { color: var(--navy); font-weight: 700; text-decoration: none; }
.tourn-whatsapp-note a:hover { color: var(--gold); }

@media (max-width: 480px) {
  .section-cards-grid { grid-template-columns: 1fr; }
  .home-news-grid     { grid-template-columns: 1fr; }
  .hero-content { padding: 50px 24px 32px; }
  .hero-actions { flex-direction: column; }
  .stats-row { gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
  .exec-grid { grid-template-columns: 1fr; }
  .event-item { flex-direction: column; gap: 14px; }
  .members-controls { flex-direction: column; }
  .search-input { min-width: unset; }
}

/* ─── BLOG PAGE ─────────────────────────────────────────── */

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.blog-filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid #cde8e5;
  background: var(--white);
  color: var(--navy2);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.blog-card {
  background: var(--white);
  border: 1px solid #e0f0ee;
  border-radius: 10px;
  padding: 26px 28px 22px;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--white);
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.blog-date { font-size: 13px; color: var(--muted); }

.blog-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--navy2);
  margin-bottom: 6px;
  line-height: 1.4;
}

.blog-author {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}

.blog-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.blog-expand-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color .2s;
  align-self: flex-start;
}

.blog-expand-btn:hover { color: var(--gold); }

.blog-full-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: #444;
  line-height: 1.85;
}

.blog-full-content p  { margin-bottom: 14px; }
.blog-full-content ul { padding-left: 20px; margin-bottom: 14px; }
.blog-full-content li { margin-bottom: 6px; }

.blog-collapse-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: .3px;
}

.blog-collapse-btn:hover { color: var(--navy); }

.blog-admin-link {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: right;
}

.blog-admin-link a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s;
}

.blog-admin-link a:hover { color: var(--navy); }

/* ─── COMPOSE PAGE ──────────────────────────────────────── */

.compose-wrap { max-width: 820px; margin: 0 auto; }

.compose-info {
  background: #fff8e1;
  border: 1px solid #f0d080;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #5a4a00;
  line-height: 1.6;
}

.compose-info code {
  background: rgba(0,0,0,.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 13px;
}

.compose-form-card {
  background: var(--white);
  border: 1px solid #e0f0ee;
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 28px;
}

.compose-form-card .form-group { margin-bottom: 20px; }

.compose-form-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.compose-form-card input,
.compose-form-card select,
.compose-form-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s;
  background: var(--white);
}

.compose-form-card input:focus,
.compose-form-card select:focus,
.compose-form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.compose-form-card textarea { resize: vertical; }

.compose-output {
  background: #f6fffe;
  border: 1.5px solid #cde8e5;
  border-radius: 10px;
  padding: 24px 28px;
}

.compose-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy2);
}

.compose-output-instruction {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.compose-output-instruction code {
  background: rgba(0,0,0,.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.compose-output pre {
  font-size: 12.5px;
  color: #2d2d2d;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #ddecea;
  border-radius: var(--radius);
  padding: 16px;
  line-height: 1.6;
}

/* ─── COMPOSE ACTIONS ───────────────────────────────────── */
.compose-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

/* ─── RICH EDITOR ───────────────────────────────────────── */
.editor-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.editor-wrap:focus-within { border-color: var(--navy); }

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  background: #f4faf9;
  border-bottom: 1.5px solid #cde8e5;
  padding: 8px 10px;
}

.editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid #cde8e5;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ff-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.editor-btn:hover  { background: var(--navy);  color: var(--white); border-color: var(--navy);  }
.editor-btn.active { background: var(--navy2); color: var(--white); border-color: var(--navy2); }

.editor-sep {
  width: 1px;
  height: 22px;
  background: #cde8e5;
  margin: 0 4px;
  flex-shrink: 0;
}

.editor-body {
  min-height: 300px;
  max-height: 580px;
  overflow-y: auto;
  padding: 18px 22px;
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--text);
  line-height: 1.85;
  outline: none;
  background: var(--white);
  cursor: text;
}

.editor-body p            { margin-bottom: 12px; }
.editor-body p:last-child { margin-bottom: 0; }
.editor-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  color: var(--navy2);
  margin: 16px 0 8px;
}
.editor-body ul,
.editor-body ol { padding-left: 22px; margin-bottom: 12px; }
.editor-body li { margin-bottom: 5px; }
.editor-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 16px;
  color: var(--muted);
  font-style: italic;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 14px 0;
}
.editor-body a    { color: var(--navy); text-decoration: underline; }
.editor-body hr   { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.editor-body strong { font-weight: 700; }
.editor-body em     { font-style: italic; }

/* ─── GITHUB SETTINGS ───────────────────────────────────── */
.gh-settings {
  background: #fffde7;
  border: 1px solid #f0d060;
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.gh-settings summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #5a4a00;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.gh-settings summary::-webkit-details-marker { display: none; }
.gh-settings summary::before {
  content: '\25B6';
  font-size: 10px;
  transition: transform .2s;
  display: inline-block;
}
.gh-settings[open] summary::before { transform: rotate(90deg); }

.gh-settings-body {
  padding: 0 18px 20px;
  border-top: 1px solid #f0d060;
}
.gh-settings-body > p {
  font-size: 13px;
  color: #7a6300;
  line-height: 1.65;
  margin: 14px 0 16px;
}
.gh-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.gh-settings-grid .form-group { margin: 0; }

/* ─── PUBLISH STATUS ────────────────────────────────────── */
.publish-status {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.65;
  display: none;
}
.publish-status code {
  background: rgba(0,0,0,.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}
.publish-status.loading { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }
.publish-status.success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.publish-status.error   { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; }

@media (max-width: 640px) {
  .blog-grid            { grid-template-columns: 1fr; }
  .compose-form-card    { padding: 20px 16px; }
  .gh-settings-grid     { grid-template-columns: 1fr; }
  .compose-actions      { flex-direction: column; }
  .compose-actions .btn { width: 100%; justify-content: center; }
  .editor-toolbar       { gap: 2px; padding: 6px 8px; }
  .editor-btn           { min-width: 28px; height: 26px; font-size: 12px; padding: 0 7px; }
}

/* ─── ADMIN MODAL & AUTH ──────────────────────────────────── */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}
.admin-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.admin-modal {
  background: var(--navy2);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: 12px;
  padding: 36px 40px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  transform: translateY(-18px);
  transition: transform .28s;
}
.admin-modal-overlay.open .admin-modal { transform: translateY(0); }
.admin-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,.45);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s;
}
.admin-modal-close:hover { color: var(--white); }
.admin-modal-header { text-align: center; margin-bottom: 28px; }
.admin-modal-icon { display: block; font-size: 34px; margin-bottom: 10px; }
.admin-modal-header h3 {
  font-family: var(--ff-serif);
  color: var(--white);
  font-size: 1.3rem;
  margin: 0;
}
.admin-form-group { margin-bottom: 16px; }
.admin-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.admin-form-group input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.admin-form-group input:focus { border-color: var(--gold); }
.admin-error {
  color: #e05c5c;
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 18px;
}
.admin-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}
.admin-submit-btn:hover:not(:disabled) { background: var(--gold2); }
.admin-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.admin-logout-btn { background: #c0392b; color: var(--white); }
.admin-logout-btn:hover:not(:disabled) { background: #a93226; }
.admin-panel-greeting {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}
.admin-panel-greeting strong { color: var(--gold); }
.admin-nav-link { color: var(--gold) !important; }
.admin-modal--wide { max-width: 480px; }
.admin-form-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  cursor: pointer;
}
.admin-form-group select:focus { border-color: var(--gold); }
.admin-form-group select option { background: var(--navy2); color: var(--white); }
.add-member-btn {
  margin-bottom: 16px;
  padding: 9px 20px;
  font-size: 13.5px;
}
