/* ============================================================
   GLOBAL HEADER (Matches DSHS Layout)
   ============================================================ */

/* 🔶 Yellow alert bar */
.top-alert {
  background: #ffc800;
  color: #000000;
  padding: 0.9rem 1.5rem;
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 16px;
  font-weight: 500;
  font-family: "PT Sans", "Trebuchet MS", Arial, sans-serif;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-alert .alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.95rem;
  line-height: 1;
}

.top-alert a {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
}

/* 🔷 Global blue nav bar */
.global-nav {
  background: #0b3d91;
  color: #ffffff;
}

.global-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.global-nav-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.1px;
  text-transform: uppercase;
}

.lang-toggle {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  appearance: none;
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  min-height: 38px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: "PT Sans", "Trebuchet MS", Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  
  cursor: pointer;
}

.global-nav-left a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: "PT Sans", "Trebuchet MS", Arial, sans-serif;
}

.global-nav-left a:hover,
.lang-toggle:hover {
  text-decoration: underline;
}

.global-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.nav-social {
  display: flex;
  gap: 0.55rem;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-search input[type="search"] {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 0.98rem;
  width: 100%;
  padding: 0.25rem 0.35rem;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.nav-search button {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.1rem;
}

.nav-search button:focus {
  outline: none;
}

.nav-search:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
/* ⚪ White logo strip with section navigation */
.site-header {
  background: #ffffff;
  box-shadow:
    0 10px 18px -12px rgba(0, 0, 0, 0.45),
    0 4px 8px -6px rgba(0, 0, 0, 0.25);
  display: block;
  width: 100%;
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.main-nav {
  flex: 1;
}

.site-logo img {
  height: 62px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 2px;
  height: 70px;
  background: #a00000;
  display: inline-block;
  margin: 0 1rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  color: #004b93;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main-nav .nav-lead a {
  color: #1a1a1a;
  font-size: 1.05rem;
  white-space: nowrap;
}

.main-nav a {
  white-space: nowrap;
}


/* Base */

:root {
    --blue: #003F72;
    --blue-light: #e6f0f7;
    --gray-dark: #333333;
    --gray-light: #f7f7f7;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: #ffffff;
  }
  
  a {
    color: #005ea2;
  }

/* --- GLOBAL HEADER SUPPORT --- */

@media (max-width: 1100px) {
  .global-nav-inner {
    flex-wrap: wrap;
  }

  .global-nav-left {
    flex: 1 1 100%;
    order: 1;
  }

  .global-nav-right {
    width: 100%;
    order: 2;
  }

  .global-nav-right {
    justify-content: flex-end;
  }

  .nav-search {
    flex: 1;
    min-width: 200px;
  }

  .site-header-inner {
    flex-wrap: wrap;
  }

  .main-nav ul {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .global-nav-left {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .global-nav-left a {
    text-transform: none;
  }

  .global-nav-right {
    justify-content: space-between;
  }

  .site-header-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand-divider {
    display: none;
  }

  .main-nav ul {
    justify-content: center;
    gap: 1.2rem;
  }

  .main-nav a {
    white-space: normal;
    text-align: center;
  }

  .main-nav .nav-lead a {
    white-space: normal;
  }
}

/* Clear keyboard focus */
a:focus,
button:focus {
  outline: 3px solid #f4b41a;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 2px solid var(--blue);
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}
  
/* Header */

header {
    background: #ffffff;
    color: var(--gray-dark);
    padding: 1.75rem 0 1.25rem; /* remove side padding to let container control width */
  }
  
  header .header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem; /* same horizontal padding as main */
  }
  
  header h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
  }
  
  header p {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }
  
  /* Main layout */
  
  main {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.75rem 1rem 2.5rem;
  }
  
  section {
    margin-bottom: 2rem;
  }
  
  section h2 {
    font-size: 1.4rem;
    color: var(--blue);
    margin-top: 0;
  }
  
  section h3 {
    font-size: 1.15rem;
    color: var(--blue);
    margin-top: 0.5rem;
  }
  
  /* Two-column cards */
  
  .two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .card {
    background: var(--gray-light);
    padding: 1rem 1.1rem;
    border-radius: 4px;
  }
  
  .card h3 {
    margin-top: 0;
  }
  
  .card p:last-child {
    margin-bottom: 0;
  }
  
  /* Lists */
  
  ul {
    padding-left: 1.2rem;
  }
  
  /* Images */
  
  section > img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 1rem;
  }
  
  figure {
    margin: 1rem 0 0;
  }
  
  figure img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  /* Responsive */
  
@media (max-width: 768px) {
    .two-column {
      grid-template-columns: 1fr;
    }
  
    header h1 {
      font-size: 1.4rem;
    }
  }

/* Footer */
.site-footer {
  color: #e7ebf3;
  font-family: "PT Sans", "Trebuchet MS", Arial, sans-serif;
  margin-top: 2rem;
}

.footer-top {
  background: #15357a;
  padding: 2.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-column h3 {
  margin: 0 0 0.85rem;
  color: #f0f4ff;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 0.55rem;
}

.footer-column a {
  color: #f0f4ff;
  text-decoration: underline;
  font-size: 0.97rem;
}

.footer-column a:hover {
  opacity: 0.85;
}

.footer-bottom {
  background: #2c3048;
  padding: 1.1rem 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #3b4160;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
