/* ==========================================================================
   SZV Social & Health Insurances - Design System & Global Styles
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --szv-navy: #0B2545;
  --szv-navy-light: #133966;
  --szv-navy-dark: #07172C;
  --szv-teal: #00A896;
  --szv-teal-hover: #028090;
  --szv-teal-light: #E6F8F6;
  --szv-teal-glow: rgba(0, 168, 150, 0.15);

  --szv-accent-orange: #F59E0B;
  --szv-accent-red: #EF4444;
  --szv-accent-green: #10B981;
  --szv-accent-blue: #0284C7;

  /* Neutrals */
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border-focus: #00A896;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(11, 37, 69, 0.07), 0 2px 6px -1px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(11, 37, 69, 0.12), 0 4px 10px -2px rgba(11, 37, 69, 0.06);
  --shadow-card-hover: 0 20px 35px -5px rgba(0, 168, 150, 0.12), 0 8px 16px -3px rgba(11, 37, 69, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Typography & Hierarchy
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--szv-navy);
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--szv-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--szv-teal-hover);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.main-content {
  flex: 1 0 auto;
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--szv-teal-light);
  color: var(--szv-teal);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--szv-teal);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.25);
}

.btn-primary:hover {
  background-color: var(--szv-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.35);
}

.btn-navy {
  background-color: var(--szv-navy);
  color: #FFFFFF !important;
}

.btn-navy:hover {
  background-color: var(--szv-navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--szv-navy);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--szv-navy);
  color: var(--szv-navy);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Badges, Pills & Indicators
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.badge-success {
  background-color: #DEF7EC;
  color: #03543F;
}

.badge-warning {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-info {
  background-color: #E1EFFE;
  color: #1E429F;
}

.badge-danger {
  background-color: #FDE8E8;
  color: #9B1C1C;
}

.badge-neutral {
  background-color: var(--bg-surface-alt);
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot-green {
  background-color: var(--szv-accent-green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-dot-gray {
  background-color: var(--text-light);
}

.status-dot-red {
  background-color: var(--szv-accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ==========================================================================
   Cards & Content Containers
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 150, 0.3);
  transform: translateY(-3px);
}

.card-clickable {
  cursor: pointer;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--szv-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--szv-teal);
  box-shadow: 0 0 0 3px var(--szv-teal-glow);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* ==========================================================================
   Emergency Top Banner
   ========================================================================== */
.emergency-banner {
  background-color: #FEF2F2;
  border-bottom: 1px solid #FEE2E2;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #991B1B;
}

.emergency-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emergency-badge {
  background-color: var(--szv-accent-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--szv-teal) 0%, var(--szv-navy) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 900;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 168, 150, 0.3);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--szv-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--szv-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: .8rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #006EC7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  list-style: none;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--szv-teal-light);
  color: var(--szv-teal-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background-color: #FFFFFF;
  border-color: var(--szv-teal);
  color: var(--text-main);
}

.search-kbd {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  color: var(--text-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--szv-navy);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--szv-navy);
  color: #E2E8F0;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--szv-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--szv-teal);
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--szv-teal);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748B;
}

/* ==========================================================================
   Search Modal (Ctrl+K)
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 37, 69, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.search-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform var(--transition-fast);
}

.search-modal-backdrop.open .search-modal-box {
  transform: translateY(0);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  gap: 0.75rem;
}

.search-input-field {
  flex: 1;
  border: none;
  font-size: 1.15rem;
  outline: none;
  font-family: inherit;
  color: var(--text-main);
}

.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.75rem;
  list-style: none;
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition-fast);
}

.search-result-item:hover,
.search-result-item.selected {
  background-color: var(--szv-teal-light);
}

.search-result-title {
  font-weight: 600;
  color: var(--szv-navy);
  font-size: 0.95rem;
}

.search-result-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 37, 69, 0.5);
  backdrop-filter: blur(2px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 360px;
  background-color: #FFFFFF;
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--szv-navy);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--szv-teal-light);
  color: var(--szv-teal);
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Search Icon Button (compact, reference style)
   ========================================================================== */
.search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-icon-btn:hover {
  background-color: var(--bg-surface-alt);
  color: var(--szv-navy);
  border-color: var(--szv-teal);
}

/* ==========================================================================
   Page Hero (light blue-grey, reference style)
   ========================================================================== */
.page-hero {
  background-color: #EFF6FF;
  border-bottom: 1px solid #DBEAFE;
  padding: 3.5rem 0 3rem 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.page-hero-img {
  width: 240px;
  height: 160px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-breadcrumb a {
  color: var(--szv-teal);
  font-weight: 500;
}

.page-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--szv-teal);
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   Step Numbers & Process Lists
   ========================================================================== */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--szv-navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.step-number-teal {
  background-color: var(--szv-teal);
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
}

.process-step+.process-step {
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Info / Alert Boxes
   ========================================================================== */
.info-box {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.info-box-orange {
  background-color: #FFF7ED;
  border-color: #FED7AA;
}

.info-box-green {
  background-color: #ECFDF5;
  border-color: #A7F3D0;
}

.info-box-red {
  background-color: #FEF2F2;
  border-color: #FECACA;
}

.info-box-navy {
  background-color: #0B2545;
  border-color: #133966;
  color: #E2E8F0;
}

/* ==========================================================================
   Tabs (reference style)
   ========================================================================== */
.tab-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-alt);
  width: fit-content;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn.active {
  background-color: #FFFFFF;
  color: var(--szv-navy);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   Need Cards (home page "Start with your need")
   ========================================================================== */
.need-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: block;
  text-decoration: none;
}

.need-card:hover {
  border-color: var(--szv-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.need-card-icon {
  width: 32px;
  height: 32px;
  color: var(--szv-teal);
  margin-bottom: 0.75rem;
}

.need-card h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.need-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.need-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--szv-teal);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   Job Listings
   ========================================================================== */
.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  gap: 1rem;
  flex-wrap: wrap;
}

.job-item+.job-item {
  margin-top: 0.75rem;
}

/* ==========================================================================
   Support Route Cards
   ========================================================================== */
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.support-card:hover {
  border-color: var(--szv-teal);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Accordion (On This Page TOC)
   ========================================================================== */
.toc-sidebar {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
}

.toc-sidebar h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toc-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-sidebar ul a {
  font-size: 0.88rem;
  color: var(--szv-teal);
  font-weight: 500;
}

.toc-sidebar ul a:hover {
  color: var(--szv-navy);
}

/* ==========================================================================
   Sidebar Layout
   ========================================================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    display: none;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-img {
    display: none;
  }
}

/* ==========================================================================
   CMS Visual Edit Badges (Header & Footer)
   ========================================================================== */
#site-header-container,
#site-footer-container {
  position: relative;
}

.cms-header-badge,
.cms-footer-badge {
  display: none !important;
}

body.cms-editing-active .cms-header-badge,
body.cms-editing-active .cms-footer-badge {
  display: inline-flex !important;
}