@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --red: #C0272D;
  --red-dark: #8B1A1E;
  --red-light: #E8434A;
  --black: #111111;
  --charcoal: #1E1E1E;
  --gray-dark: #2E2E2E;
  --gray-mid: #555555;
  --gray-light: #ADADAD;
  --gray-bg: #F4F4F2;
  --white: #FFFFFF;
  --gold: #D4A017;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 1.65;
}

/* ── HEADER ── */
header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  flex-shrink: 0;
}

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

.logo-text .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-text .sub {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
nav a.active { color: var(--white); }

.nav-emergency {
  margin-left: 6px;
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 12px !important;
  border-radius: 3px;
}

.nav-emergency:hover { background: var(--red-dark) !important; }

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

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

/* ── HERO ── */
.hero {
  background: var(--charcoal);
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(192,39,45,0.04) 40px,
    rgba(192,39,45,0.04) 80px
  );
}

.hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--red);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--red-light); }

.hero-sub {
  color: var(--gray-light);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--red); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--red);
  padding: 1.25rem 0;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  white-space: nowrap;
}

/* ── SECTIONS ── */
section { padding: 4.5rem 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-title.white { color: var(--white); }

.section-intro {
  color: var(--gray-mid);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card-accent { height: 4px; background: var(--red); }
.card-body { padding: 1.5rem; }

.card-icon {
  width: 40px;
  height: 40px;
  background: #FFF0F0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 20px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.card p { color: var(--gray-mid); font-size: 15px; line-height: 1.6; }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.card-link:hover { color: var(--red-dark); }

/* ── DARK SECTION ── */
.section-dark {
  background: var(--charcoal);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-intro { color: var(--gray-light); }

/* ── EVENTS ── */
.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.event-item:hover { border-color: rgba(192,39,45,0.5); }

.event-date {
  background: var(--red);
  border-radius: 4px;
  padding: 8px 14px;
  text-align: center;
  flex-shrink: 0;
  min-width: 58px;
}

.event-date .month {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  display: block;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.event-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.event-info p { font-size: 14px; color: var(--gray-light); }

/* ── SPONSORS ── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.sponsor-tile {
  background: var(--gray-bg);
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s;
}

.sponsor-tile:hover { border-color: var(--red); }

.sponsor-tile .sponsor-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-top: 8px;
}

.sponsor-tile .sponsor-level {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 2px;
}

.sponsor-placeholder {
  width: 60px;
  height: 60px;
  background: #DCDCDC;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-mid);
}

/* ── CALL TICKER ── */
.call-ticker {
  background: var(--black);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-label {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gray-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ticker-dot { color: var(--red); font-size: 14px; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--charcoal);
  padding: 3.5rem 0;
  border-bottom: 3px solid var(--red);
}

.page-hero .eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
}

/* ── NEWS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
}

.news-card-top {
  background: var(--gray-bg);
  padding: 2rem 1.5rem 1rem;
  position: relative;
}

.news-date {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
}

.news-card-body { padding: 1.25rem 1.5rem; }
.news-card-body p { font-size: 15px; color: var(--gray-mid); }

/* ── CALENDAR TABLE ── */
.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.cal-table th {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red-dark);
  padding: 12px 16px;
  text-align: left;
}

.cal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #EBEBEB;
  vertical-align: middle;
}

.cal-table tr:last-child td { border-bottom: none; }
.cal-table tr:nth-child(even) td { background: var(--gray-bg); }

.cal-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.badge-training { background: #FFF3CD; color: #856404; }
.badge-meeting { background: #CCE5FF; color: #004085; }
.badge-community { background: #D4EDDA; color: #155724; }
.badge-drill { background: #F8D7DA; color: #721C24; }

/* ── CONTACT FORM ── */
.contact-form { max-width: 620px; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #DCDCDC;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ── VOLUNTEER ── */
.volunteer-banner {
  background: var(--red);
  padding: 3.5rem 0;
  text-align: center;
}

.volunteer-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.volunteer-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--gray-light);
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--red);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about .footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-about .footer-logo span {
  background: var(--red);
  padding: 2px 8px;
  border-radius: 3px;
}

.footer-about p { font-size: 14px; line-height: 1.7; color: var(--gray-mid); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  color: var(--gray-mid);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-mid);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 1rem;
    border-bottom: 2px solid var(--red);
    z-index: 99;
  }
  .hamburger { display: flex; }
  header { position: relative; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 calc(50% - 0.5rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 10px; letter-spacing: 1px; }
}

/* ── OFFICER CARDS ── */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
}

.officer-card {
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.officer-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.officer-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-bg);
  position: relative;
}

.officer-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.officer-info {
  padding: 1rem 0.75rem 1.25rem;
  border-top: 3px solid var(--red);
}

.officer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.2;
}

.officer-rank {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

/* ── HERO WITH ENGINE IMAGE ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 560px;
}

.hero-split .hero-content {
  padding: 5rem 3rem 5rem 0;
  max-width: 100%;
}

.hero-img-panel {
  position: relative;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
}

.hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.85;
}

.hero-img-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--charcoal) 0%, transparent 40%);
  z-index: 1;
}

/* ── APPARATUS SECTION ── */
.apparatus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.apparatus-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.apparatus-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.apparatus-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.apparatus-info {
  padding: 1rem 1.25rem;
  border-top: 3px solid var(--red);
  background: var(--white);
}

.apparatus-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
}

.apparatus-info p {
  font-size: 13px;
  color: var(--gray-mid);
}

/* ── NEWS PHOTO CARDS ── */
.news-photo-card {
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  overflow: hidden;
}

.news-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-photo-body {
  padding: 1.25rem 1.5rem;
  border-top: 3px solid var(--red);
}

.news-photo-body .news-date {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.news-photo-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.news-photo-body p {
  font-size: 15px;
  color: var(--gray-mid);
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-img-panel { display: none; }
  .apparatus-grid { grid-template-columns: 1fr; }
}

/* ── HEADER LOGO IMAGE ── */
.header-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── STORE BANNER ── */
.store-banner {
  background: var(--gold);
  padding: 0.6rem 0;
  text-align: center;
}

.store-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.store-banner a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.store-banner a:hover { opacity: 0.7; }

.store-divider {
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.25);
}

/* ── MEMBERS PAGE ── */
.members-login-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.members-login-header {
  background: var(--charcoal);
  padding: 2rem;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.members-login-header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.members-login-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.members-login-header p {
  font-size: 13px;
  color: var(--gray-light);
}

.members-login-body { padding: 2rem; }

.members-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.resource-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.resource-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.resource-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
}

.resource-card p {
  font-size: 13px;
  color: var(--gray-mid);
}

.members-locked {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-mid);
}

.lock-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ── DONATE PAGE ── */
.donate-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 3.5rem 0;
  text-align: center;
}

.donate-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.donate-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.donate-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.donate-card-header {
  background: var(--charcoal);
  padding: 1.5rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.donate-card-header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.donate-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.donate-card-body { padding: 2rem; }

.donate-type-toggle {
  display: flex;
  background: var(--gray-bg);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.donate-type-toggle button {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-mid);
  cursor: pointer;
  transition: 0.2s;
}

.donate-type-toggle button.active {
  background: var(--red);
  color: var(--white);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

.amount-btn {
  padding: 16px;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: 0.15s;
}

.amount-btn:hover { border-color: var(--red); }

.amount-btn.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.custom-amount-wrap span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-mid);
}

.custom-amount-wrap input {
  width: 100%;
  padding: 16px 14px 16px 32px;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
}

.custom-amount-wrap input:focus { border-color: var(--red); }
.custom-amount-wrap input.selected { border-color: var(--red); }

.donate-impact {
  background: var(--gray-bg);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-donate {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 12px !important;
  border-radius: 3px;
}
.nav-donate:hover { background: var(--red-dark) !important; }

@media (max-width: 480px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── BRONZE SPONSOR TIER ── */
.sponsor-tile.bronze {
  background: #F9F4EE;
  border-color: #C8A96E;
}
.sponsor-tile.bronze .sponsor-level { color: #8B6914; }
.sponsor-name-only {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid #E0E0E0;
  transition: border-color 0.2s;
}
.sponsor-name-only:hover { border-color: var(--gray-mid); }
.bronze-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
