/* ==========================================================================
   1. BASE STRUCTURE SYSTEM
   ========================================================================== */
:root {
  --bg-primary: #f9fafb;
  --bg-card: #ffffff;
  --bg-header: #1a2e40; /* The Deep Blue Area Color */
  --text-main: #111827;
  --text-muted: #4b5563;
  --accent-color: #10b981;
  --border-color: #e5e7eb;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

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

.fill-remaining-space {
  flex-grow: 1;
}

/* ==========================================================================
   2. RESTRUCTURED STACKED BLUE HEADER LAYOUT (FIXED)
   ========================================================================== */
.site-header {
  background-color: var(--bg-header) !important; /* Locks color to the dark blue container area */
  color: #ffffff;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  padding: 16px 0; /* Creates structural vertical thickness */
}

/* Parent container aligning the logo area and the navigation container next to each other */
.header-inner {
  display: flex;
  align-items: center;
}

/* Left side layout spacing */
.header-logo-side {
  padding-right: 32px;
}

/* White background shield box frame holding your retro club image */
.logo-white-badge {
  display: block;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
}

/* ENLARGED LOGO SYSTEM: Clean bounds explicitly resizing your logo image graphic asset */
.logo-white-badge img {
  display: block;
  height: 125px !important; /* Noticeably enlarged footprint to show the line art */
  width: auto !important;    /* Retains correct image aspect ratio dimensions */
  max-width: 260px;
  object-fit: contain;
}

/* Right side content wrapper displaying rows from top to bottom */
.header-nav-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* TOP ROW: Pushes brand title cleanly into the top blue zone */
.brand-title-row {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* Clean visual split line */
  margin-bottom: 12px;
}

.club-main-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* BOTTOM ROW: Navigation Link Items */
.nav-links-row {
  display: flex;
  align-items: center;
}

.nav-item {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.075em;
  margin-right: 32px;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: #ffffff;
}

.nav-item.active {
  color: #ffffff;
  border-bottom: 3px solid #60a5fa; /* Blue active layout focus underline tracking */
}

/* Accent Call To Action button adjustments */
.btn-join-accent {
  background-color: var(--accent-color);
  color: #1a2e40;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  margin-left: auto; /* Aligns button to the far right margin */
  margin-right: 0;
  border-bottom: none !important;
}

.btn-join-accent:hover {
  background-color: #34d399;
  color: #1a2e40;
}

/* Bottom Segment: Menu Links Row Layout */
.nav-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensures proper separation between menus and actions */
  width: 100%;
}

/* ==========================================================================
   MOBILE-FIRST NAVIGATION SPACING ADJUSTMENTS
   ========================================================================== */

/* 1. Hide the desktop link list by default on small viewports */
.desktop-links {
  display: none; 
}

/* 2. When the screen gets wider (tablets and desktops), display the row of links */
@media (min-width: 768px) {
  .desktop-links {
    display: flex;
    align-items: center;
  }
}

/* 3. Improve the header columns layout for narrow screens */
@media (max-width: 767px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Make the logo container slightly more compact on phones */
  .logo-white-badge img {
    height: 80px !important; 
    max-width: 160px;
  }

  /* Hide the large club name row entirely on tiny phone screens to stop text wrapping */
  .brand-title-row {
    display: none;
  }
  
  .header-nav-side {
    width: auto;
  }
}


/* Actions block framing buttons on the right side */
.header-actions-block {
  display: flex;
  align-items: center;
  gap: 16px; /* Clean gap space between Join button and Menu bar */
  margin-left: auto;
}

/* Always Visible Hamburger Button Styling */
.menu-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.menu-toggle-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08); /* Subtle focus ring background glow */
}

/* Precise responsive SVG sizing control framework */
.hamburger-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Accent Call To Action button adjustments */
.btn-join-accent {
  background-color: var(--accent-color);
  color: #1a2e40;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.075em;
  transition: background-color 0.15s ease;
}

.btn-join-accent:hover {
  background-color: #34d399;
}


/* ==========================================================================
   3. HERO CONTENT SECTION
   ========================================================================== */
.main-content {
  padding-top: 30px;
  padding-bottom: 30px;
  flex: 1;
}

.hero-intro {
  max-width: 1200px;
  margin-bottom: 20px;
}

.hero-intro h1 {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.hero-intro h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.hero-intro h3 {
  color: #0f172a;
  margin-bottom: 8px;
}

.hero-intro p, .shared-p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ==========================================================================
   4. REPEATER DIRECTORY TABLE GRID
   ========================================================================== */
.table-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.table-header {
  background-color: #f3f4f6;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.025em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background-color: var(--bg-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-color);
}

td {
  padding: 16px 24px;
  font-size: 14px;
  vertical-align: top;
  border-bottom: 1px solid #f3f4f6;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: #f9fafb;
}

.td-callsign {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.td-callsign::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 8px;
}

.td-freq {
  font-weight: 500;
}

.td-meta {
  color: var(--text-muted);
}

/* ==========================================================================
   5. MATCHING SITE FOOTER DESIGN SYSTEM
   ========================================================================== */
.site-footer {
  background-color: var(--bg-header); /* Shares the same deep blue area hex color code */
  color: #ffffff;
  margin-top: 64px;
  padding-top: 30px;
  width: 100%;
}

/* Three-column flex wrapper grid layout alignment rules */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: 24px;
  padding-right: 16px;
}

.footer-heading {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-color);
  padding-left: 8px;
}

.footer-text {
  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.footer-meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
}

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

.footer-list li {
  margin-bottom: 8px;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Bottom bar formatting containing general licensing and date timestamps */
.footer-bottom {
  background-color: #111e2a; /* Slightly darker shade of blue for grounding containment */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  flex-wrap: flex;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.copyright-text, .credit-text {
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.025em;
}

.credit-text {
  font-weight: 500;
}

/* Ensure nice stack layout presentation rules adjust fine when viewed on narrower viewport sizes */
@media (max-width: 640px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   6. SIDE DRAWER NAVIGATION PANEL STYLING
   ========================================================================== */
.side-drawer {
  position: fixed;
  top: 0;
  right: -320px; /* Hidden completely off-screen bounds by default layout rules */
  width: 320px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 200; /* Layers over the topmost header areas safely */
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Snappy easing transition speed */
}

/* Toggle state triggered cleanly via class assignment manipulation via JavaScript handles */
.side-drawer.open {
  right: 0;
}

/* Header strip zone contained inside navigation side drawer shelf panel box area */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.drawer-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Close action toggle icon configurations */
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: inline-flex;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.close-btn:hover {
  background-color: #e5e7eb;
  color: var(--text-main);
}

.close-icon {
  width: 22px;
  height: 22px;
}

/* Vertical Stack Navigation Menus layout frame mapping rules properties */
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.drawer-item {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer-item:hover {
  background-color: #f3f4f6;
  color: var(--bg-header);
}

.drawer-item.active {
  background-color: #eff6ff;
  color: #2563eb;
}

/* Drawer primary standout call to action option button layout block spacing properties rules */
.drawer-join-btn {
  background-color: var(--accent-color);
  color: var(--bg-header);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 14px;
  border-radius: 8px;
  margin-top: 24px;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
  transition: background-color 0.15s ease;
}

.drawer-join-btn:hover {
  background-color: #34d399;
}

/* Semi-transparent dark click shield backdrop filter layer system background layout formatting properties */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 190;
  opacity: 0;
  pointer-events: none; /* Allows clicks to pass through hidden defaults safely */
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto; /* Activates click detection layers block area surface maps safely */
}

/* ==========================================================================
   7. CLUB MEMBERSHIP ROSTER GRID STYLING
   ========================================================================== */
/* Automatic multi-column layout grid frame adjustments based on screen sizes */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

/* Card base wrapper containers */
.roster-card {
  background-color: var(--bg-card);
  border: 1px solid #cbd5e1; 
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Structural top divider strip inside member boxes */
.roster-card-header {
  /* Shifted header block to a slightly darker slate tint for higher contrast */
  background-color: #f1f5f9; 
  border-bottom: 1px solid #cbd5e1; /* Matches the enhanced outer border track */
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* High visibility callsign indicator layout text rules */
.member-callsign {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-header); /* Highlights callsign with main header blue accent codes */
  letter-spacing: 0.025em;
}

/* License class badge label styles */
.member-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 2px;
  border-radius: 4px;
  background-color: #e2e8f0;
  color: #475569;
}

/* Specialty variation license level identifiers colors mapping */
.member-badge.extra {
  background-color: #fef3c7;
  color: #d97706; /* Warm gold/amber accent for Extra level tags */
}

/* Warm orange badge for Advanced class operators */
.member-badge.advanced {
  background-color: #ffedd5;
  color: #ea580c;
}

.member-badge.tech {
  background-color: #e0f2fe;
  color: #0369a1; /* Cool cyan tone background accents for Technician tags */
}

/* Crisp light gray/slate badge for Novice class operators */
.member-badge.novice {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1; /* Subtle outline helps light tags stand out */
}

/* Bottom interior space box content dimensions settings */
.roster-card-body {
  padding: 2px;
}

.member-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1px;
}


/* ==========================================================================
   8. REAL-TIME SEARCH BAR INPUT STYLING
   ========================================================================== */
.search-filter-wrapper {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.search-input-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* Constrains field sprawl across vast desktop views */
}

/* Position and scale the magnifying glass icon */
.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none; /* Passes click input layers directly to the parent field block mapping rules */
}

/* The actual text input element field */
.roster-search-field {
  width: 100%;
  padding: 14px 16px 14px 46px; /* Extra left padding avoids clipping the search glass icon canvas */
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Seamless interactive active focus tracking properties settings glow templates */
.roster-search-field:focus {
  border-color: #3b82f6; /* Switches to matching active blue border framework highlights */
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12); /* Clean subtle ambient aura wrap */
}

.roster-search-field::placeholder {
  color: #9ca3af;
}

/* Results text counters tracking tags descriptors format styles rules metrics options */
.search-counter-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.025em;
}

/* ==========================================================================
   9. EVENTS TIMELINE LAYOUT STYLES
   ========================================================================== */
.timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.timeline-card {
  background-color: var(--bg-card);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.timeline-date-badge {
  background-color: var(--bg-header);
  color: #ffffff;
  width: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 16px;
}

.timeline-day { font-size: 18px; font-weight: 800; line-height: 1; }
.timeline-month { font-size: 18px; font-weight: 700; text-transform: uppercase; margin-top: 4px; color: #93c5fd; }
.timeline-day { font-size: 18px; font-weight: 800; line-height: 1; }
.timeline-month { font-size: 18px; font-weight: 700; text-transform: uppercase; margin-top: 4px; color: #93c5fd; }
.timeline-card-content { padding: 20px 24px; }
.event-tag { display: inline-block; font-size: 11px; font-weight: 700; uppercase; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.net-tag { background-color: #eff6ff; color: #1d4ed8; }
.out-tag { background-color: #fef2f2; color: #b91c1c; }
.event-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.event-time { font-size: 13px; font-weight: 600; color: #2563eb; margin-bottom: 8px; }
.event-desc { font-size: 14px; color: var(--text-muted); }

/* ==========================================================================
   10. ELMERS GRID LAYOUT STYLES
   ========================================================================== */
.elmer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.elmer-card { background-color: var(--bg-card); border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; }
.elmer-card-header { background-color: #f1f5f9; border-bottom: 1px solid #cbd5e1; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.elmer-name { font-size: 16px; font-weight: 700; color: var(--text-main); }
.elmer-callsign { font-size: 16px; font-weight: 700; color: #2563eb; }
.elmer-card-body { padding: 20px; }
.specialty-label-container { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.specialty-pill { background-color: #ecfdf5; color: #047857; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.elmer-bio { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; min-height: 64px; }
.elmer-contact-btn { display: inline-block; background-color: #f1f5f9; color: var(--text-main); font-size: 13px; font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 6px; border: 1px solid #cbd5e1; transition: background-color 0.15s ease; }
.elmer-contact-btn:hover { background-color: #e2e8f0; }

/* ==========================================================================
   11. PHOTO GALLERY LAYOUT STYLES
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.gallery-card { background-color: var(--bg-card); border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.gallery-image-wrapper { width: 100%; height: 220px; background-color: #e2e8f0; overflow: hidden; position: relative; }
.gallery-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-card:hover .gallery-image-wrapper img { transform: scale(1.04); }
.gallery-info { padding: 16px 20px; border-top: 1px solid #f1f5f9; }
.gallery-date { font-size: 11px; font-weight: 600; color: #94a3b8; }
.gallery-caption { font-size: 15px; font-weight: 700; color: var(--text-main); margin-top: 2px; }

/* Responsive break settings modifications for narrow mobile viewport devices */
@media (max-width: 580px) {
  .timeline-card { flex-direction: column; }
  .timeline-date-badge { width: 100%; flex-direction: row; gap: 8px; padding: 12px; }
}

/* ==========================================================================
   12. CLUB OFFICERS GRID SYSTEM STYLING
   ========================================================================== */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Wider default columns for professional look */
  gap: 24px;
  width: 100%;
}

.officer-card {
  background-color: var(--bg-card);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.officer-meta-strip {
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.officer-role {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.officer-callsign {
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
}

.officer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.officer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.officer-duty {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 30px; /* Keeps card layouts symmetric */
}

/* Contact Button Custom Template CSS Parameters */
.officer-email-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.officer-email-btn:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
}

.email-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  color: #64748b;
}

/* Fallback breakpoint for small tablets/phones to drop wide grid boxes safely */
@media (max-width: 900px) {
  .officers-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. SPLIT INTERACTIVE INTAKE FORM STYLING
   ========================================================================== */
.split-form-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.info-sidebar-block {
  flex: 1;
  min-width: 300px;
}

.sidebar-card {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
}

.sidebar-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-header);
  margin-bottom: 12px;
}

.sidebar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sidebar-bullet-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-item {
  border-left: 3px solid var(--accent-color);
  padding-left: 12px;
}

.bullet-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 2px;
}

.bullet-details {
  font-size: 13px;
  color: var(--text-muted);
}

/* Right Input Form Module Layouts */
.form-container-block {
  flex: 2;
  background-color: var(--bg-card);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.styled-intake-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-dual {
  display: flex;
  gap: 20px;
}

.form-row-dual .form-field-group {
  flex: 1;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.field-hint {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  font-style: italic;
}

.required-star {
  color: #ef4444;
  font-weight: 700;
}

/* Text & Selection Field Base Rendering Elements */
.form-input-element {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input-element:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.textarea-element {
  resize: vertical;
  font-family: inherit;
}

.uppercase-input {
  text-transform: uppercase;
}

/* Action Form Submit Buttons */
.form-submit-btn {
  background-color: var(--bg-header);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(26, 46, 64, 0.15);
}

.form-submit-btn:hover {
  background-color: #1e3a54;
}

.form-submit-btn:active {
  transform: scale(0.98);
}

/* Navigation Indicator Highlights for Active Page Button Override */
.active-page {
  background-color: #34d399 !important;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}

/* Responsive collapse settings rules adjustments for tablets/mobiles viewports */
@media (max-width: 768px) {
  .split-form-layout {
    flex-direction: column;
    gap: 32px;
  }
  .form-row-dual {
    flex-direction: column;
    gap: 20px;
  }
  .info-sidebar-block, .form-container-block {
    width: 100%;
  }
  .form-container-block {
    padding: 20px;
  }
}