/* ============================================================
   index.css — all styles for pbcvet.com home page
   pbcvet.com | Palm Beach County Veterans Resources
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

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

:root {
  --navy: #011937;
  --red: #c41e3a;
  --gold: #ffb81c;
  --white: #ffffff;
  --borders: #d0d9e0;
  --light-gray: #f5f7fa;
  --mid-gray: #e8eef3;
  --dark-gray: #2c3e50;
  --teal: #0b7285;
  --card-address: #4e5f6e;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
}
@media (max-width: 767px) {
  body {
    line-height: 1.4;
  }
}
/* material icons */
.material-symbols-outlined {
  font-size: 32px;
  vertical-align: middle;
}

/* ── Emergency banner ── */
.emergency-banner {
  background: var(--red);
  color: var(--white);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.emergency-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.info-banner {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 991px) {
  .info-banner {
    margin-right: auto;
  }

  .emergency-label {
    text-align: center;
    width: 100%;
    justify-content: center;
  }
}

.emergency-label {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-pulse {
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.emergency-hotlines {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hotline {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hotline-label {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.hotline-number {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (min-width: 767px) {
  .hotline-number {
    font-size: 22px;
  }
}

.hotline-number a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.hotline-number a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.bcc-meetings-btn {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

@media (max-width: 767px) {
  .bcc-meetings-btn {
    width: 100%;
  }
}

.bcc-meetings-btn:hover {
  opacity: 0.85;
}

/* ── Header ── */
header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 20px 40px;
  position: relative;
  overflow: hidden;
  padding-block: 180px 50px;
  background-image: url("img/veterans_banner_sm.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

@media (min-width: 767px) {
  header {
    background-image: url("img/veterans_banner_lg.webp");
    background-position: top center;
  }
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 767px) {
  header::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  }
}
.header-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.county-logo {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
}

.site-title {
  flex: 1;
}

.site-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1;
}

.site-tagline {
  font-size: 18px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-section {
  margin-top: 15px;
  display: grid;
  gap: 15px;
}

.hero-text {
  font-size: 16px;
  line-height: 1.5;
  max-width: 800px;
}

.hero-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
}

.hero-seal-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

@media (min-width: 767px) {
  .hero-section {
    margin-top: 30px;
    display: grid;
    gap: 30px;
  }
  .hero-text {
    line-height: 1.7;
    font-size: 20px;
  }

  .header {
    padding-block: 150px;
  }
}

/* ── Shared button base ── */
/*
  Button variants:
    .btn-primary  — navy bg, white text  → red on hover
    .btn-gold     — gold bg, navy text   → white bg + navy border on hover
    .btn-red      — red bg, white text   → navy bg on hover
  All share: 6px radius, 700 weight, lift on hover, gold focus ring.
*/

.btn-primary,
.btn-gold,
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
  white-space: nowrap;
}

.btn-primary,
.btn-gold,
.btn-red {
  transform: translateY(0);
}

.btn-primary:hover,
.btn-gold:hover,
.btn-red:hover {
  transform: translateY(-2px);
}

.btn-primary:focus-visible,
.btn-gold:focus-visible,
.btn-red:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* primary: navy → red */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

/* gold: gold → white + navy border */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

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

/* red: red → navy */
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

/* ── Shared section title ── */
.section-title,
.about-hero-text h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 10px;
  text-align: center;
}
.about-hero-text h2 {
  text-align: left;
}

/* ── Footer ── */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 18px;
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1001;
}

.skip-link:focus {
  top: 0;
}

/* ── Animations ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ── Focus-visible (shared elements) ── */
footer a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.hotline-number a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Responsive (shared) ── */
@media (max-width: 768px) {
  .site-title h1 {
    font-size: 28px;
  }

  .site-tagline {
    font-size: 16px;
  }

  .emergency-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .emergency-hotlines {
    justify-content: center;
  }

  .section-title {
    font-size: 26px;
  }
}

/* ── Search box ── */
.search-box {
  background: var(--white);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 320px;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0px 0 0 10px;
  font-size: 16px;
  outline: none;
  border-radius: 8px;
}

.search-box button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-box button:hover {
  background: #a61627;
  transform: scale(1.02);
}

@media (min-width: 767px) {
  .search-box input {
    padding: 14px 20px;
  }

  .search-box {
    max-width: 600px;
  }

  .search-box button {
    padding: 14px 32px;
  }
}

/* ── Services directory ── */
.services-section {
  padding: 60px 20px;
  background: var(--white);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-disclaimer {
  font-size: 13px;
  color: var(--card-address);
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  max-width: 100%;
}

@media (min-width: 767px) {
  .services-disclaimer {
    max-width: 85%;
  }
}

.services-disclaimer span {
  font-weight: 700;
  color: var(--dark-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 1440px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-category {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s;
}

.service-category:hover {
  background: var(--mid-gray);
}

.service-category h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 767px) {
  .service-category h3 {
    font-size: 22px;
  }
}

.service-category h3 span {
  color: var(--red);
}

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

.service-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--borders);
}

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

.service-item-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

a.service-item-name:hover {
  color: var(--teal);
  text-decoration: underline;
}

a.service-item-name:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.service-item-video-icon {
  font-size: 1.25em;
  vertical-align: middle;
  margin-right: 4px;
}

.service-item-video {
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  font-size: 14px;
}

a.service-item-video:hover {
  color: var(--navy);
  text-decoration: underline;
}

.service-category--video {
  display: flex;
  flex-direction: column;
}

.video-thumbnail-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumbnail-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.video-thumbnail-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.video-thumbnail-link:hover .video-thumbnail-img {
  opacity: 0.85;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.video-thumbnail-link:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.video-play-overlay .material-symbols-outlined {
  font-size: 56px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.video-thumbnail-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.service-item-address {
  font-size: 14px;
  color: var(--card-address);
  margin-bottom: 4px;
  line-height: 1.5;
}

.service-item-phone {
  font-size: 15px;
  font-weight: 600;
}

.service-item-phone a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.service-item-phone a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.service-item-phone a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Upcoming events ── */
.events-section {
  padding: 60px 20px;
  background: var(--light-gray);
}

.events-container {
  max-width: 1400px;
  margin: 0 auto;
}

.events-source {
  text-align: center;
  font-size: 13px;
  color: var(--card-address);
  margin-bottom: 36px;
}

.events-source a {
  color: var(--teal);
  text-decoration: none;
}

.events-source a:hover {
  text-decoration: underline;
}

.events-tabs-wrapper {
  margin-top: 32px;
}

.events-tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-bottom: 3px solid var(--navy);
  justify-content: center;
}

@media (min-width: 767px) {
  .events-tab-list {
    grid-template-columns: repeat(6, 1fr);
  }
}

.events-tab-btn {
  background: var(--mid-gray);
  border: 1px solid var(--borders);
  border-bottom: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: var(--card-address);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px 6px 0 0;
  white-space: nowrap;
}

.events-tab-btn:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.events-tab-btn[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.events-tab-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

@media (max-width: 600px) {
  .events-tab-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.events-panels {
  border: 1px solid var(--borders);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: var(--white);
  overflow: hidden;
}

.events-panel {
  display: none;
}

.events-panel.active {
  display: block;
}

.events-list {
  list-style: none;
  padding: 16px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

@media (max-width: 600px) {
  .events-list {
    grid-template-columns: 1fr;
  }
}

.event-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  background: var(--light-gray);
}

.event-date-badge {
  background: var(--gold);
  border-radius: 6px;
  min-width: 44px;
  text-align: center;
  padding: 4px 6px;
  flex-shrink: 0;
}

.event-month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.event-day {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.event-details {
  flex: 1;
  min-width: 0;
}

.event-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.3;
}

.event-title:hover {
  color: var(--teal);
  text-decoration: underline;
}

.event-title:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-time {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}

.event-location {
  font-size: 12px;
  color: var(--card-address);
}

.event-address {
  font-size: 11px;
  color: var(--card-address);
  opacity: 0.75;
}

.events-footer {
  text-align: center;
  margin-top: 36px;
}

.events-view-all {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--navy);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.events-view-all:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.events-view-all:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Veterans memorial park ── */
.park-section {
  padding: 60px 20px;
  background: var(--navy);
}

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

.park-container {
  max-width: 1400px;
  margin: 0 auto;
}

.park-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 8px;
}

.park-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

.park-info,
.park-facilities {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
}

.park-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.park-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.park-detail .material-symbols-outlined {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.park-detail strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin-bottom: 3px;
}

.park-detail span,
.park-detail a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  text-decoration: none;
}

.park-detail a:hover {
  text-decoration: underline;
}

.park-amenities-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin-bottom: 16px;
}

.park-amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 24px;
}

.park-amenities-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.park-amenities-list .material-symbols-outlined {
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .park-amenities-list {
    grid-template-columns: 1fr;
  }
}

.park-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--gold);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.park-link:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── Social media ── */
.social-section {
  padding: 60px 20px;
  background: var(--white);
}

.social-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 991px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--dark-gray);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mid-gray);
  border-top: 3px solid var(--red);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-top-color: var(--navy);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.social-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.social-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  font-family: "Helvetica", sans-serif;
  letter-spacing: -1px;
}

.social-card-title {
  flex: 1;
}

.social-card-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.social-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.3;
}

.social-card-description {
  font-size: 12px;
  color: var(--dark-gray);
  line-height: 1.6;
  flex: 1;
}

.social-card-link {
  font-size: 12px;
  color: var(--red);
  word-break: break-all;
  opacity: 0.8;
}

/* ── Additional resources ── */
.additional-resources-section {
  padding: 60px 20px;
  background: var(--navy);
}

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

.additional-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 991px) {
  .additional-resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.additional-resource-card {
  background: var(--white);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--dark-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.additional-resource-card:hover {
  background: var(--light-gray);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 184, 28, 0.3);
  border-color: var(--gold);
}

.additional-resource-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.additional-resource-card .material-symbols-outlined {
  font-size: 48px;
  color: var(--red);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.additional-resource-card:hover .material-symbols-outlined {
  color: var(--navy);
}

.additional-resource-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.additional-resource-card .resource-url {
  font-size: 13px;
  color: var(--card-address);
}

/* ── Staff section ── */
.staff-section {
  padding: 3rem 1.5rem;
}

.staff-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Staff carousel ── */
.staff-carousel {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 2rem;
  position: relative;
}

.staff-carousel-track-wrap {
  overflow: hidden;
  flex: 1;
  border-radius: 10px;
}

.staff-carousel-track {
  display: flex;
  list-style: none;
  gap: 1rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.staff-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.staff-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--borders);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.staff-carousel-dot.active {
  background: var(--navy);
  transform: scale(1.25);
}

.staff-carousel-btn {
  background: transparent;
  color: var(--navy);
  border: none;
  border-radius: 8px;
  width: 44px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.staff-carousel-btn:hover {
  color: var(--red);
}

.staff-carousel-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.staff-carousel-btn .material-symbols-outlined {
  font-size: 32px;
}

@media (max-width: 768px) {
  .staff-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  }
  .staff-carousel-btn--prev {
    left: 4px;
  }
  .staff-carousel-btn--next {
    right: 4px;
  }
  .staff-carousel-btn .material-symbols-outlined {
    font-size: 20px;
  }
  .staff-carousel-track-wrap {
    width: 100%;
  }
}

.staff-card {
  background: var(--white);
  border: 1px solid var(--borders);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  width: 0; /* set by JS */
}

/* ── Top row: photo + name side by side ── */
.staff-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1rem;
}

.staff-card-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mid-gray);
  border: 4px solid var(--gold);
  flex-shrink: 0;
}

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

/* ── Body — centered name + bio ── */
.staff-card-body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.staff-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.staff-card-bio {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--dark-gray);
  margin: 0;
  text-align: left;
}

/* ── Details (beside photo inside top row) ── */
.staff-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--dark-gray);
  flex: 1;
}

.staff-card-details a:not(.staff-appt-link) {
  color: var(--navy);
  text-decoration: none;
}

.staff-card-details a:not(.staff-appt-link):hover {
  text-decoration: underline;
}

.staff-card-details a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.staff-card-contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Bio (below details) ── */
.staff-card-bio-wrap {
  flex: 1;
  padding: 0.75rem 1.5rem 1.5rem;
}

.staff-card-region {
  font-size: 0.82rem;
  color: var(--mid-text);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: flex-start;
}

.staff-appt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  width: fit-content;
  margin-top: 0.35rem;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.staff-appt-link:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.staff-appt-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (max-width: 858px) {
  .staff-card-top {
    flex-direction: column;
    text-align: center;
  }
  .staff-card-region {
    display: inline;
  }
  .staff-card-details {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .staff-card-contact-row {
    text-align: center;
    align-items: center;
    justify-content: center;
  }
}
/* ── Download resources ── */
.resources-section {
  padding: 60px 20px;
  background: var(--white);
}

.resources-container {
  max-width: 1400px;
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.resource-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card .material-symbols-outlined {
  font-size: 56px;
  color: var(--red);
  margin-bottom: 16px;
}

.resource-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 16px;
}

.resource-card p {
  color: var(--card-address);
  line-height: 1.6;
  margin-bottom: 20px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--red);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 16px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.download-button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.download-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Inline icon utility (open_in_new, etc.) ── */
.icon-inline {
  font-size: 14px;
  vertical-align: middle;
}

/* ── Responsive (home-page specific) ── */
@media (max-width: 767px) {
  .resources-grid {
    grid-template-columns: 1fr !important;
  }

  .additional-resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Who We Are intro ── */
.about-hero {
  background: var(--light-gray);
  border-bottom: 1px solid var(--borders);
  padding: 2.5rem 1.5rem;
}

.about-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-hero-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

.about-hero-image {
  min-height: 340px;
  border-radius: 10px;
  background: var(--mid-gray);
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .about-hero-container {
    grid-template-columns: 1fr;
  }

  .about-hero-image {
    min-height: 220px;
  }
}

/* ── Veteran spotlight callout ── */
.spotlight-section {
  background: var(--red);
  padding: 0;
}

.spotlight-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

.spotlight-left {
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.spotlight-icon {
  font-size: 48px;
  color: var(--gold);
}

.spotlight-left p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.spotlight-right {
  background: rgba(0, 0, 0, 0.15);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.spotlight-contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--gold);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  width: fit-content;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.spotlight-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}

.spotlight-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.spotlight-cta .material-symbols-outlined {
  font-size: 20px;
}

.spotlight-subject {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

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

  .spotlight-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .spotlight-left p {
    font-size: 1.25rem;
  }
}

/* ── Hero seals ── */
.hero-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.hero-seals .seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}

.hero-seals .seal-item:hover {
  transform: translateY(-4px);
}

.hero-seals .seal-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hero-seals .seal-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
}
@media (min-width: 767px) {
  .hero-seals {
    gap: 2rem;
  }
  .hero-seals .seal-item img {
    width: 401;
    height: 110px;
  }
}

/* ── Hero scam warning ── */
.hero-scam-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  background: rgba(249, 168, 37, 0.12);
  border: 1px solid rgba(249, 168, 37, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  max-width: 760px;
}

.hero-scam-warning .material-symbols-outlined {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-scam-warning p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-scam-warning strong {
  color: var(--gold);
}
