/* VFW Post 1197 - Batavia, IL
   Tasteful patriotic design: Navy, Red, White */

/* CSS Custom Properties */
:root {
  --navy: #1a365d;
  --navy-dark: #0f2744;
  --navy-light: #2c5282;
  --red: #c53030;
  --red-dark: #9b2c2c;
  --white: #ffffff;
  --off-white: #f7fafc;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gold: #d69e2e;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--navy);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.1;
}

.logo h1 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
}

.logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  opacity: 0.9;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  background: var(--navy-light);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Accent bar */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--navy) 66%, var(--navy) 100%);
}

/* Page Header */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
  margin: 0;
}

/* Content Sections */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0.5rem auto 0;
}

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

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Info Box */
.info-box {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.info-box h3 {
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Hours Table */
.hours-table {
  width: 100%;
}

.hours-table tr {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table .closed {
  color: var(--red);
}

.hours-note {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--gray-100);
  border-radius: 4px;
}

/* Contact Info */
.contact-info p {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.contact-info strong {
  min-width: 80px;
}

/* Venue Cards */
.venue-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.venue-image {
  height: 200px;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 1.25rem;
}

.venue-details {
  padding: 1.5rem;
}

.capacity-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Resource Cards */
.resource-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 4px solid var(--navy);
}

.resource-card h3 {
  margin-bottom: 1rem;
}

.resource-card ul {
  list-style: none;
  margin: 1rem 0;
}

.resource-card li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.resource-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--navy);
}

.resource-link {
  display: inline-block;
  margin-top: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.resource-link:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* Map Container */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  height: 350px;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA Button */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  font-weight: 600;
}

nav .btn-sm {
  margin-left: 0.5rem;
}

nav .btn-sm:hover {
  background: #c9a800;
  color: var(--navy);
}

/* Features List */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-100);
  border-radius: 4px;
}

.features li::before {
  content: '★';
  color: var(--gold);
}

/* About Content */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-box {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.mission-box h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.mission-box p {
  font-size: 1.1rem;
  margin: 0;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 6rem 0;
}

.error-page h1 {
  font-size: 8rem;
  color: var(--navy);
  margin-bottom: 0;
}

.error-page h2 {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    width: 100%;
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
    padding-top: 1rem;
  }
  
  nav a {
    display: block;
    padding: 0.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .two-col {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .footer-grid {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Leadership Page Styles */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem 0;
  justify-items: center;
}

/* Tablet: 2 across */
@media (min-width: 500px) {
  .officers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptop: 3 across */
@media (min-width: 768px) {
  .officers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 4 across */
@media (min-width: 1100px) {
  .officers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large/4K: 5 across */
@media (min-width: 1500px) {
  .officers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Ultra-wide: 6 across */
@media (min-width: 1900px) {
  .officers-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.officer-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 280px;
}

.officer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.officer-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}

.officer-card h3 {
  margin: 1rem 0 0.25rem 0;
  font-size: 1.1rem;
  color: #1a1a2e;
}

.officer-card .position {
  font-weight: 600;
  color: #b8860b;
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.officer-card .branch {
  color: #666;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.officer-card .service {
  color: #888;
  font-size: 0.85rem;
  font-style: italic;
  margin: 0.25rem 0 1rem 0;
}

.officer-card p:last-child {
  margin-bottom: 1rem;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

.two-column .column {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #bf0a30;
}

.two-column .column h3 {
  margin-top: 0;
  color: #1a1a2e;
}

/* CTA Buttons */
.cta-buttons {
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  background: #bf0a30;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: #8b0722;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #bf0a30;
  color: #bf0a30;
}

.btn-outline:hover {
  background: #bf0a30;
  color: #fff;
}

.small-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide.fade {
  animation: fadeIn 0.8s;
}

@keyframes fadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.slideshow-prev, .slideshow-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  background-color: rgba(0,0,0,0.4);
  border: none;
  border-radius: 0 4px 4px 0;
  user-select: none;
  text-decoration: none;
  transition: background-color 0.3s;
}

.slideshow-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.slideshow-prev:hover, .slideshow-next:hover {
  background-color: rgba(0,0,0,0.7);
}

.slideshow-dots {
  text-align: center;
  padding: 1rem 0;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: var(--primary);
}

@media (max-width: 600px) {
  .slideshow-prev, .slideshow-next {
    padding: 10px;
    font-size: 18px;
  }
}

/* Calendar page */
.calendar-image {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.calendar-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Event Cards */
.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 4px solid var(--red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.event-date {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.event-card h3 {
  margin-bottom: 0.5rem;
}

.event-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.event-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Signup Form */
.signup-form {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 600px;
}

.signup-form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.signup-form .field-hint {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: normal;
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.signup-form input:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.15);
}

.signup-form textarea {
  resize: vertical;
  min-height: 80px;
}

.signup-form .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.05rem;
}

.signup-form .form-message {
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 500;
  display: none;
}

.signup-form .form-message.success {
  display: block;
  background: #f0fff4;
  color: #276749;
  border: 1px solid #c6f6d5;
}

.signup-form .form-message.error {
  display: block;
  background: #fff5f5;
  color: var(--red);
  border: 1px solid #fed7d7;
}

/* Event Detail */
.event-detail {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.event-detail .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.event-detail .event-meta strong {
  color: var(--navy);
}

/* Roster List */
.roster-section {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 600px;
}

.roster-list {
  list-style: none;
  padding: 0;
}

.roster-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.roster-item:last-child {
  border-bottom: none;
}

.roster-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.roster-count {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.roster-empty {
  color: var(--gray-600);
  font-style: italic;
}

.roster-loading {
  color: var(--gray-600);
}

/* Event page two-column layout */
.event-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Task Cards */
.task-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.task-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 3px solid var(--navy);
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.task-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.task-lead {
  font-size: 0.8rem;
  color: var(--white);
  background: var(--navy-light);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.task-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Task Checkboxes */
.task-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal !important;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 0.3rem 0;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--navy);
}

@media (max-width: 768px) {
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-cards {
    grid-template-columns: 1fr;
  }

  .task-checkboxes {
    grid-template-columns: 1fr;
  }

  .task-list {
    grid-template-columns: 1fr;
  }
}

/* Documents Page */
.back-link {
  margin-bottom: 2rem;
}

.back-link a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.back-link a:hover {
  color: var(--red);
}

.doc-section {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.doc-section-title {
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.5rem;
}

.doc-subsection {
  margin-bottom: 2rem;
}

.doc-subsection:last-child {
  margin-bottom: 0;
}

.doc-subsection > h3 {
  color: var(--navy-light);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Year Accordions */
.year-accordion {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.year-accordion summary {
  background: var(--gray-100);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.year-accordion summary::-webkit-details-marker {
  display: none;
}

.year-accordion summary::before {
  content: '▶';
  font-size: 0.75rem;
  color: var(--navy-light);
  transition: transform 0.2s ease;
}

.year-accordion[open] summary::before {
  transform: rotate(90deg);
}

.year-accordion summary:hover {
  background: var(--gray-200);
}

.year-accordion[open] summary {
  background: var(--navy);
  color: var(--white);
}

.year-accordion[open] summary::before {
  color: var(--gold);
}

/* Document Lists */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  border-bottom: 1px solid var(--gray-100);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.doc-link:hover {
  background: var(--off-white);
  color: var(--red);
}

.doc-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doc-text {
  flex: 1;
}

.doc-empty {
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  font-style: italic;
}

@media (max-width: 768px) {
  .doc-section {
    padding: 1.5rem;
  }

  .doc-section-title {
    font-size: 1.25rem;
  }

  .doc-subsection > h3 {
    font-size: 1.1rem;
  }

  .year-accordion summary {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }

  .doc-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }

  .doc-icon {
    font-size: 1rem;
  }
}
