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

:root {
  --primary-darkest: #0a1628;
  --primary-dark: #112e51;
  --primary: #205493;
  --primary-light: #4773aa;
  --accent: #d83933;
  --accent-dark: #b5302a;
  --secondary: #02bfe7;
  --text: #212121;
  --text-light: #5b616b;
  --bg-light: #f1f1f1;
  --bg-lighter: #f9f9f9;
  --white: #ffffff;
  --border: #d6d7d9;
  --gold: #fdb81e;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: var(--primary);
  text-decoration: underline;
}

a:hover {
  color: var(--primary-dark);
}

.official-banner {
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.official-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.official-banner svg {
  flex-shrink: 0;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-contact a {
  color: var(--text-light);
  text-decoration: none;
}

.header-contact a:hover {
  color: var(--primary);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.header-contact .divider {
  color: var(--border);
}

.header-cta {
  background: var(--gold);
  color: var(--text) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.header-cta:hover {
  background: #e5a718;
}

header {
  background: var(--primary-dark);
  color: var(--white);
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  color: var(--primary-dark);
}

.header-search {
  display: flex;
  gap: 0;
}

.header-search input {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  width: 280px;
}

.header-search button {
  background: var(--gold);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.header-search button:hover {
  background: #e5a718;
}

.main-nav {
  background: var(--primary);
}

.main-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.main-nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 4px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.1);
  border-bottom-color: var(--gold);
}

.hero {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
}

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--text);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s;
}

.hero-cta:hover {
  background: #e5a718;
  color: var(--text);
}

.hero-image {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.hero-image-placeholder {
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}

.hero-stats-box {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 1.5rem;
}

.hero-stat {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.hero-stat:last-of-type {
  border-bottom: none;
}

.hero-stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.hero-stat-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.quick-actions {
  padding: 3rem 1.5rem;
  background: var(--white);
}

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

.section-title {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.action-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.action-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.action-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.action-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.action-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.action-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex-grow: 1;
}

.info-sections {
  padding: 3rem 1.5rem;
  background: var(--bg-lighter);
}

.info-sections-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.info-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.info-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

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

.info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-light);
}

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

.info-list a {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-list .arrow {
  color: var(--primary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.info-list .arrow svg {
  width: 16px;
  height: 16px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.sidebar-card.highlight {
  background: var(--primary-dark);
  color: var(--white);
  border: none;
}

.sidebar-card.highlight h3 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-card.highlight a {
  color: var(--gold);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-card h3 svg {
  flex-shrink: 0;
  color: var(--primary);
}

.sidebar-card.highlight h3 svg {
  color: var(--gold);
}

.sidebar-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sidebar-card p:last-child {
  margin-bottom: 0;
}

.contact-info {
  font-size: 0.95rem;
}

.contact-info span {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-info strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0.5rem 0;
}

.sidebar-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.sidebar-cta-link:hover {
  text-decoration: underline;
}

.sidebar-cta-link svg {
  flex-shrink: 0;
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

.sidebar-link svg {
  flex-shrink: 0;
  color: var(--primary);
}

.sidebar-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-facts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
  line-height: 1.5;
}

.sidebar-facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-facts li:first-child {
  padding-top: 0;
}

.sidebar-facts strong {
  color: var(--primary-dark);
}

.benefit-item-content {
  flex: 1;
  min-width: 0;
}

.benefits-overview {
  padding: 3rem 1.5rem;
  background: var(--white);
}

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

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-lighter);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.benefit-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.benefit-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.updates {
  padding: 3rem 1.5rem;
  background: var(--bg-lighter);
  border-top: 1px solid var(--border);
}

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

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.update-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.update-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.update-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.update-card h4 a {
  text-decoration: none;
}

.update-card h4 a:hover {
  text-decoration: underline;
}

.update-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

footer {
  background: var(--primary-darkest);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.alert-banner {
  background: #fef0c7;
  border-bottom: 1px solid #f9d77e;
  padding: 1rem 1.5rem;
}

.alert-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.alert-banner svg {
  flex-shrink: 0;
  color: #b7791f;
  margin-top: 2px;
}

.alert-banner strong {
  color: #975a16;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-disclaimer p {
  margin-bottom: 1rem;
}

.footer-disclaimer strong {
  color: var(--gold);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-sections-inner {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .updates-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-search {
    display: none;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Page Content Layout */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-header {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  margin-bottom: 0;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-header .breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--primary);
}

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

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Info Card Styles */
.info-card h2 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h2 svg {
  flex-shrink: 0;
  color: var(--primary);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h3 svg {
  flex-shrink: 0;
  color: var(--primary);
}

.info-card p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card.highlight {
  background: var(--primary-dark);
  color: var(--white);
  border: none;
}

.info-card.highlight h2 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.info-card.highlight h2 svg,
.info-card.highlight h3 svg {
  color: var(--gold);
}

.info-card.highlight a {
  color: var(--gold);
}

.info-card.warning {
  border-left: 4px solid var(--accent);
}

/* Page Header Banner - for interior pages with gradient header */
.page-header-banner {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}

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

.page-header-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-header-banner p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 700px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .page-header-banner {
    padding: 2rem 1.5rem;
  }

  .page-header-banner h1 {
    font-size: 1.5rem;
  }

  .page-header-banner p {
    font-size: 1rem;
  }
}

/* Highlight Box - for nested content blocks with icon */
.highlight-box {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-box-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-box-icon svg {
  color: var(--white);
  width: 20px;
  height: 20px;
}

.highlight-box-content {
  flex: 1;
}

.highlight-box-content p {
  margin: 0;
  line-height: 1.6;
}

.highlight-box-content p strong {
  color: var(--primary-dark);
}

/* Highlight box tip variant */
.highlight-box-tip {
  border-left-color: var(--gold);
}

.highlight-box-tip .highlight-box-icon {
  background: var(--gold);
}

.highlight-box-tip .highlight-box-icon svg {
  color: var(--text);
}

.highlight-box h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.highlight-box p {
  margin-bottom: 0.75rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.highlight-box ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.highlight-box.warning {
  background: #fef2f2;
  border-color: #fecaca;
  border-left: 4px solid var(--accent);
}

.highlight-box.warning p {
  color: #991b1b;
}

/* Highlight boxes inside highlight cards need inverted colors */
.info-card.highlight .highlight-box {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.info-card.highlight .highlight-box h4 {
  color: var(--white);
}

.info-card.highlight .highlight-box p {
  color: rgba(255,255,255,0.95);
}

.info-card.highlight .highlight-box.warning {
  background: rgba(216, 57, 51, 0.15);
  border-color: rgba(216, 57, 51, 0.3);
  border-left: 4px solid var(--gold);
}

.info-card.highlight .highlight-box.warning p {
  color: var(--white);
}

/* Mini Glossary - for sidebar definition lists */
.mini-glossary {
  margin: 0;
}

.mini-glossary dt {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg-light);
}

.mini-glossary dt:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.mini-glossary dd {
  margin-left: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* Sidebar Disclaimer */
.sidebar-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Sidebar Full Width Button */
.sidebar-card .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}

.check-list li {
  padding: 0.625rem 0 0.625rem 2rem;
  position: relative;
  line-height: 1.5;
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23205493' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Check list in highlight cards needs gold icons */
.info-card.highlight .check-list li:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdb81e' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* X List (for "cannot do" items) */
.x-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}

.x-list li {
  padding: 0.625rem 0 0.625rem 2rem;
  position: relative;
  line-height: 1.5;
}

.x-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d83933' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Numbered List */
.numbered-list {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem 0;
}

.numbered-list li {
  padding: 0.5rem 0;
  line-height: 1.5;
}

.numbered-list li strong {
  color: var(--primary-dark);
}

/* Contact List */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}

.contact-list li {
  padding: 0.5rem 0;
  line-height: 1.5;
}

/* Phone Display - for prominent phone numbers */
.phone-display {
  margin: 1rem 0;
}

.phone-display .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-display .btn-primary svg {
  flex-shrink: 0;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--text) !important;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: #e5a718;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 4px;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Sidebar Styles for Interior Pages */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
}

.sidebar-links li:first-child {
  padding-top: 0;
}

.sidebar-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  gap: 0.5rem;
}

.sidebar-links a span {
  flex: 1;
}

.sidebar-links a svg {
  flex-shrink: 0;
  color: var(--primary);
}

.sidebar-links a:hover {
  text-decoration: underline;
}

/* Deadline Styles */
.deadline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

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

.deadline-time {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 100px;
}

.deadline-desc h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.deadline-desc p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* Step Items */
.step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

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

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* Office Grid - for DWC office locations */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.office-item {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
}

.office-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-item h4:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23205493' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.office-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.office-item p:last-child {
  margin-bottom: 0;
}

.office-item a {
  font-weight: 600;
}

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

/* Benefits Page Grid */
.benefits-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.learn-more {
  color: var(--primary);
  font-weight: 600;
}

/* Forms Grid */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.form-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

.faq-item h3 a {
  color: var(--primary-dark);
  text-decoration: none;
}

.faq-item h3 a:hover {
  text-decoration: underline;
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.read-more {
  font-weight: 600;
}

.faq-answer {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.contact-form-section {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(32, 84, 147, 0.2);
}

.form-group small {
  color: var(--text-light);
  font-size: 0.85rem;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.phone-large {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold) !important;
  text-decoration: none !important;
  margin: 0.5rem 0;
}

address {
  font-style: normal;
  line-height: 1.6;
}

/* Calculator Styles */
.calculator-card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 2rem;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.input-prefix {
  padding: 0.75rem;
  background: var(--bg-light);
  color: var(--text-light);
  font-weight: 600;
}

.input-wrapper input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  font-size: 1rem;
}

.input-wrapper input:focus {
  outline: none;
}

.calc-result {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-lighter);
  border-radius: 8px;
  text-align: center;
}

.calc-result h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.result-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.result-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Calculator Result Breakdown */
.result-breakdown {
  text-align: left;
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.result-line:last-child {
  border-bottom: none;
}

.result-line-subtotal {
  border-top: 2px solid var(--primary);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-bottom: none;
}

.result-line-total {
  font-size: 1.1rem;
  background: var(--bg-light);
  margin: 0.5rem -1rem -0.5rem -1rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 4px 4px;
  border-bottom: none;
}

/* Highlight Box Additional Styles */
.highlight-box-spaced {
  margin-top: 1.5rem;
}

.highlight-box-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.highlight-rate {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.highlight-subtext {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Sidebar Rate Display */
.sidebar-rate-display {
  text-align: center;
  padding: 1rem 0;
}

.sidebar-rate-number {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--gold);
}

.sidebar-rate-label {
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
}

.sidebar-rate-effective {
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
  opacity: 0.9;
}

.sidebar-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.sidebar-disclaimer {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Calculator Card h2 styling */
.calculator-card h2 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.calculator-card > h3,
.calc-result h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  display: table;
}

.rate-table th,
.rate-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rate-table th {
  color: var(--text-light);
  font-weight: 600;
}

.rate-table td {
  font-weight: 700;
  color: var(--primary-dark);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  margin-top: 2rem;
}

/* Glossary */
.glossary-content {
  max-width: 800px;
}

.glossary-list dt {
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1.25rem;
}

.glossary-list dd {
  margin-left: 0;
  padding-left: 0;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* News */
.news-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
}

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

/* Responsive for Interior Pages */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .forms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 1.25rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .deadline-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .deadline-time {
    min-width: auto;
  }

  .step-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }

  .main-nav.mobile-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .official-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .official-banner-inner span {
    font-size: 0.75rem;
  }

  .header-contact {
    font-size: 0.85rem;
  }

  .alert-banner-inner {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .header-cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }

  .header-right {
    gap: 0;
  }
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Form Error Styles */
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--accent);
  color: #991b1b;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-error svg {
  flex-shrink: 0;
  color: var(--accent);
}

.required {
  color: var(--accent);
}

/* Form Hints for Accessibility (#13) */
.form-hint {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Enhanced Focus Indicators (#14) */
.action-card:focus-visible,
.benefit-card:focus-visible,
.faq-item h3 a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.info-list a:focus-visible,
.sidebar-links a:focus-visible,
.footer-col a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  background: rgba(253, 184, 30, 0.1);
}

/* Minimum Touch Target Enhancement (#12) */
.info-list a,
.sidebar-links a,
.footer-col a,
.breadcrumb a,
.faq-item h3 a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (pointer: coarse) {
  .info-list a,
  .sidebar-links a,
  .footer-col a {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* Success Page */
.success-page {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  color: #16a34a;
}

.success-page h1 {
  color: #16a34a;
  margin-bottom: 1rem;
}

.success-page > p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.success-details {
  background: var(--bg-lighter);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.success-details h2 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.success-actions {
  padding-top: 1rem;
}

.success-actions p {
  margin-bottom: 1rem;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
  margin: 0.5rem;
}

/* Error Page */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-content h1 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.error-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Color Contrast Fixes */
.footer-col a {
  color: rgba(255,255,255,0.9);
}

.footer-bottom,
.footer-bottom a {
  color: rgba(255,255,255,0.75);
}

.hero-stats-box {
  background: rgba(0,0,0,0.3);
}

.hero-stat-label {
  opacity: 1;
  color: rgba(255,255,255,0.95);
}

.alert-banner strong {
  color: #854d0e;
}

/* Calculator Improvements */
#weekly-wage {
  min-width: 0;
}

#weekly-wage:invalid {
  border-color: var(--accent);
}

/* ===========================================
   MOBILE RESPONSIVE FIXES (Issues 61-70)
   =========================================== */

/* Issue 64: Table layouts need horizontal scroll - use wrapper instead of display:block */
.table-responsive {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.table-responsive table,
.table-responsive .rate-table {
  min-width: 100%;
  display: table;
}

/* Wrapper for tables that need scroll */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
}

/* Issue 66: Remove fixed widths causing horizontal scroll */
.header-search input {
  width: 100%;
  max-width: 280px;
}

/* Issue 62: Minimum touch target sizes (44px) */
@media (pointer: coarse) {
  /* All clickable elements should be at least 44px */
  .main-nav a,
  .footer-col a,
  .info-list a,
  .sidebar-links a,
  .action-card,
  .benefit-card,
  .form-card a,
  .faq-item h3 a,
  .breadcrumb a,
  .back-link,
  .read-more,
  .learn-more {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Links in lists need proper touch targets */
  .footer-col a,
  .info-list a,
  .sidebar-links a {
    padding: 0.625rem 0;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .hero-cta,
  .header-cta,
  .header-search button,
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Form elements */
  .form-group input,
  .form-group textarea,
  .form-group select,
  .input-wrapper input {
    min-height: 44px;
  }
}

/* Issue 68: Navigation dropdown touch optimization */
@media (pointer: coarse) {
  .main-nav a {
    padding: 1rem 1.25rem;
    min-height: 48px;
  }

  .main-nav ul {
    gap: 0.25rem;
  }
}

/* Issue 70: CTA buttons need more padding on touch devices */
@media (pointer: coarse) {
  .btn-primary,
  .btn-secondary {
    padding: 1rem 1.75rem;
  }

  .btn-large {
    padding: 1.25rem 2.25rem;
  }

  .hero-cta {
    padding: 1rem 1.75rem;
  }

  .header-cta {
    padding: 0.875rem 1.5rem;
  }
}

/* Mobile-specific styles for screens under 768px */
@media (max-width: 768px) {
  /* Issue 63: Calculator inputs too small on mobile */
  .calc-form .form-group input,
  .calc-form .input-wrapper input,
  .input-wrapper input {
    font-size: 1.125rem;
    padding: 1rem;
    min-height: 48px;
  }

  .input-prefix {
    padding: 1rem;
    font-size: 1.125rem;
  }

  .calc-form .form-group select {
    font-size: 1.125rem;
    padding: 1rem;
    min-height: 48px;
  }

  /* Issue 67: Form labels could be larger on mobile */
  .form-group label {
    font-size: 1.05rem;
  }

  /* Issue 69: Hero text could be larger on mobile */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  /* Issue 65: Header contact info crowded on small screens */
  .header-contact {
    gap: 0.5rem;
  }

  .header-contact .divider {
    display: none;
  }

  /* Issue 70: Additional mobile button padding */
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .hero-cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

/* Issue 65: Header contact - hide divider and adjust on very small screens */
@media (max-width: 480px) {
  .header-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
  }

  .header-phone {
    font-size: 0.9rem;
  }

  /* Hide secondary contact items on very small screens */
  .header-contact .divider {
    display: none;
  }
}

/* Issue 61: Footer grid doesn't stack properly on very small screens (<400px) */
@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col a {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Additional very small screen fixes */
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .page-header h1 {
    font-size: 1.35rem;
  }

  /* Form adjustments for very small screens */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* Calculator on very small screens */
  .result-amount {
    font-size: 2.25rem;
  }

  /* Action cards */
  .action-card {
    padding: 1.25rem;
  }

  .action-icon {
    width: 44px;
    height: 44px;
  }

  /* Header adjustments */
  .logo {
    font-size: 1rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .logo-icon svg {
    width: 16px;
    height: 16px;
  }

  /* Official banner stacking */
  .official-banner {
    padding: 0.375rem 0.75rem;
  }

  .official-banner-inner span {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  /* Contact info on very small screens */
  .header-contact {
    display: none;
  }

  /* Ensure minimum touch targets */
  .main-nav a {
    padding: 1rem;
    min-height: 48px;
  }

  /* Table improvements */
  .rate-table th,
  .rate-table td {
    padding: 0.625rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Deadline items */
  .deadline-time {
    font-size: 1.25rem;
  }

  /* Step numbers */
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Info cards */
  .info-card {
    padding: 1.25rem;
  }

  .sidebar-card {
    padding: 1.25rem;
  }
}

/* Ensure no horizontal overflow at any screen size */
html, body {
  overflow-x: hidden;
}

.page-content,
.hero-inner,
.quick-actions-inner,
.info-sections-inner,
.benefits-overview-inner,
.updates-inner,
.footer-inner,
.main-nav-inner,
.header-top,
.official-banner-inner,
.alert-banner-inner {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===========================================
   UX IMPROVEMENTS (Issues 71-80)
   =========================================== */

/* Back to Top Button (#75) */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.back-to-top svg {
  color: var(--white);
}

/* Loading Spinner for Form Submission (#71) */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-loading:hover {
  background: var(--gold);
}

/* Step Progress Indicator (#72) */
.step-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-progress li {
  flex: 1;
  position: relative;
  text-align: center;
  padding-top: 3rem;
}

.step-progress li:before {
  content: counter(step);
  counter-increment: step;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  color: var(--text-light);
  z-index: 1;
}

.step-progress li:after {
  content: '';
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-progress li:first-child:after {
  display: none;
}

.step-progress li.active:before,
.step-progress li.completed:before {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.step-progress li.completed:after {
  background: var(--primary);
}

.step-progress-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.step-progress li.active .step-progress-label,
.step-progress li.completed .step-progress-label {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Enhanced Breadcrumb Styles (#76) */
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-lighter);
  border-radius: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-light);
  margin: 0 0.25rem;
}

.breadcrumb-current {
  color: var(--text-light);
}

/* Formula Box Styling */
.formula-box {
  background: var(--bg-lighter);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.formula-box h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.formula-box .formula {
  font-size: 1.25rem;
  font-family: 'Courier New', monospace;
  background: var(--white);
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Callout Box Styling */
.callout {
  background: var(--bg-lighter);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.callout h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.callout.warning {
  border-left-color: var(--accent);
  background: #fef2f2;
}

.callout.warning h4 {
  color: #991b1b;
}

.callout.warning p {
  color: #7f1d1d;
}

/* Timeline Example Styling */
.timeline-example {
  background: var(--bg-lighter);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
}

.timeline-example p {
  margin-bottom: 0.75rem;
}

.timeline-example .check-list {
  margin-top: 0.75rem;
}

/* Comparison Table Styling */
.comparison-table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 600;
}

.comparison-table th:first-child {
  border-radius: 4px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 4px 0 0;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--bg-lighter);
}

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

/* Table Note Styling */
.table-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-style: italic;
}

/* Source List Styling */
.source-list {
  list-style: none;
  padding: 0;
}

.source-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--bg-light);
}

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

.source-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.source-list a {
  font-weight: 500;
}

/* Sources Section Styling */
.info-card.sources {
  margin-top: 2rem;
  background: var(--bg-lighter);
}

/* Check List in Highlight Cards - Fix checkmark visibility */
.info-card.highlight .check-list li:before {
  color: var(--gold);
}

/* Sidebar Quick Facts - bullet styling */
.sidebar-card .sidebar-links li {
  padding-left: 1rem;
  position: relative;
}

.sidebar-card .sidebar-links li:not(:has(a)):before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* Fix for browsers not supporting :has() - add a class-based alternative */
.quick-facts-list li {
  padding-left: 1.25rem;
  position: relative;
}

.quick-facts-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===========================================
   DEATH BENEFITS PAGE STYLES
   =========================================== */

/* Note Box - Callout for important information */
.note-box {
  background: var(--bg-lighter);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.note-box strong {
  color: var(--primary-dark);
}

/* Note box in highlight cards */
.info-card.highlight .note-box {
  background: rgba(255,255,255,0.1);
  border-left-color: var(--gold);
}

.info-card.highlight .note-box strong {
  color: var(--gold);
}

/* Benefit Table Styles */
.benefit-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
}

.benefit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}

.benefit-table th,
.benefit-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.benefit-table th {
  background: var(--bg-lighter);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.benefit-table tbody tr:hover {
  background: var(--bg-lighter);
}

.benefit-table td strong {
  color: var(--primary);
  font-size: 1.05rem;
}

/* Info Card h3 - Remove top margin when first child after h2 */
.info-card h3:first-of-type {
  margin-top: 1rem;
}

/* Info List in sidebar highlight cards */
.sidebar-card.highlight .info-list li {
  border-bottom-color: rgba(255,255,255,0.15);
}

.sidebar-card.highlight .info-list li:last-child {
  border-bottom: none;
}

/* Button secondary in highlight cards */
.info-card.highlight .btn-secondary,
.sidebar-card.highlight .btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}

.info-card.highlight .btn-secondary:hover,
.sidebar-card.highlight .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

/* Sidebar card h3 in highlight - fix border */
.sidebar-card.highlight h3 {
  border-bottom-color: rgba(255,255,255,0.2);
}

/* Check list spacing improvements */
.check-list li {
  padding: 0.625rem 0 0.625rem 1.75rem;
  line-height: 1.5;
}

/* Info list without links (for reference lists) */
.info-list li:not(:has(a)) {
  padding: 0.5rem 0;
}

/* CTA Buttons in highlight cards - improved spacing */
.info-card.highlight .cta-buttons {
  margin-top: 1.5rem;
}

/* CTA disclaimer text */
.cta-disclaimer {
  font-size: 0.875rem;
  margin-top: 1rem;
  opacity: 0.9;
}

/* Quick facts list - no margin for sidebar */
.quick-facts {
  margin: 0;
  padding: 0;
}

/* Sidebar contact section spacing */
.contact-section {
  margin-top: 1rem;
}

.contact-section:first-child {
  margin-top: 0;
}

/* ===========================================
   STATE FUND PAGE STYLES
   =========================================== */

/* Comparison Box - for side-by-side comparisons */
.comparison-box {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1rem 0 1.5rem 0;
}

.comparison-box h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-box h4 svg {
  flex-shrink: 0;
  color: var(--primary);
}

.comparison-box h4:not(:first-child) {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.comparison-box .check-list,
.comparison-box .info-list {
  margin: 0;
}

.comparison-box .check-list li,
.comparison-box .info-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.95rem;
}

/* Program Box - for program/service items with icons */
.program-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  margin: 1rem 0;
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 6px 6px 0;
}

.program-box-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-box-icon svg {
  color: var(--white);
}

.program-box-content {
  flex: 1;
}

.program-box-content h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin: 0 0 0.5rem 0;
}

.program-box-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.program-box-content p:last-child {
  margin-bottom: 0;
}

.program-box-content .note-box {
  margin: 1rem 0 0 0;
}

/* Info Card h4 - for nested subsections */
.info-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin: 1rem 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h4 svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Mobile responsive for State Fund components */
@media (max-width: 768px) {
  .program-box {
    flex-direction: column;
    gap: 0.75rem;
  }

  .program-box-icon {
    width: 40px;
    height: 40px;
  }

  .program-box-content h4 {
    font-size: 1rem;
  }

  .comparison-box {
    padding: 1rem;
  }

  .comparison-box h4 {
    font-size: 0.9rem;
  }

  .comparison-box .check-list li,
  .comparison-box .info-list li {
    font-size: 0.9rem;
  }
}

/* Print Styles (#79) */
@media print {
  /* Hide non-essential elements */
  header,
  footer,
  .main-nav,
  .official-banner,
  .alert-banner,
  .sidebar,
  .sidebar-card,
  .cta-buttons,
  .btn-primary,
  .btn-secondary,
  .back-to-top,
  .header-cta,
  .header-search,
  .mobile-menu-btn {
    display: none !important;
  }

  /* Reset body and page */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  /* Full width content */
  .page-content,
  .content-grid,
  .main-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: block;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  /* Page header styling */
  .page-header {
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .page-header h1 {
    font-size: 18pt;
    color: #000;
  }

  /* Breadcrumb in print */
  .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 10pt;
  }

  /* Info cards */
  .info-card {
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .info-card.highlight {
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  .info-card.highlight h2 {
    color: #000 !important;
  }

  /* Links - show URL */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }

  a[href^="tel"]:after,
  a[href^="mailto"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }

  /* Tables */
  .rate-table,
  .benefit-table {
    border: 1px solid #000;
  }

  .rate-table th,
  .rate-table td,
  .benefit-table th,
  .benefit-table td {
    border: 1px solid #ccc;
    padding: 0.5rem;
  }

  .benefit-table-container {
    overflow: visible;
    margin: 0;
  }

  /* Note boxes */
  .note-box {
    background: #f5f5f5;
    border-left: 3px solid #000;
    padding: 0.75rem;
    margin: 0.75rem 0;
  }

  /* Calculator results */
  .calculator-card {
    border: 1px solid #000;
    padding: 1rem;
  }

  .calc-result {
    background: #f5f5f5;
    border: 1px solid #ccc;
  }

  /* Contact form - hide form, show info */
  .contact-form {
    display: none;
  }

  .contact-form-section:before {
    content: "For consultations, call (213) 377-5513 or visit workcompbenefits.org/contact";
    display: block;
    font-weight: bold;
    padding: 1rem;
    background: #f5f5f5;
    border: 1px solid #ccc;
  }

  /* Glossary */
  .glossary-list dt {
    font-weight: bold;
    margin-top: 0.5rem;
  }

  /* Page breaks */
  h1, h2, h3 {
    page-break-after: avoid;
  }

  .faq-item,
  .benefit-card,
  .form-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Print header */
  .page-content:before {
    content: "WorkCompBenefits.org - California Workers' Compensation Information";
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #000;
  }
}

/* ===========================================
   ATTORNEY FEES PAGE STYLES - Additional
   =========================================== */

/* Section subheadings with consistent spacing */
.section-subheading {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Fee note styling */
.fee-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.95rem;
}

.info-card:not(.highlight) .fee-note {
  background: var(--bg-lighter);
  border-left: 3px solid var(--primary);
}

/* Fee highlight box in sidebar */
.fee-highlight-box {
  text-align: center;
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.fee-highlight-number {
  font-size: 2.75rem;
  font-weight: 800;
  display: block;
  color: var(--gold);
  line-height: 1;
}

.fee-highlight-label {
  font-size: 0.875rem;
  display: block;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Sidebar links in highlight cards */
.sidebar-links-highlight {
  margin-top: 1rem;
}

.sidebar-links-highlight li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom-color: rgba(255,255,255,0.15);
}

.sidebar-links-highlight li svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

/* Sidebar CTA button */
.sidebar-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  width: 100%;
}

/* Sidebar facts layout */
.sidebar-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.fact-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

.fact-value {
  font-weight: 700;
  color: var(--primary-dark);
  text-align: right;
}

/* Sidebar links with icons */
.sidebar-links li svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Sidebar links with arrows (like Home page) */
.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sidebar-links .arrow {
  color: var(--primary);
  margin-left: auto;
}

/* CTA card styling */
.cta-card .cta-buttons {
  margin-top: 1.25rem;
}

/* Secondary button on dark background */
.btn-secondary-light {
  border-color: var(--white);
  color: var(--white) !important;
}

.btn-secondary-light:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

/* Table styling in highlight cards */
.info-card.highlight .rate-table {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin: 1rem 0;
}

.info-card.highlight .rate-table th {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.info-card.highlight .rate-table td {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.1);
}

.info-card.highlight .rate-table tr:last-child td {
  border-bottom: none;
}

/* ===========================================
   DISTRICT OFFICES PAGE STYLES
   =========================================== */

/* Page Header Section */
.page-header-section {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2rem 1.5rem 2.5rem;
}

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

.page-header-section .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.page-header-section .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.page-header-section .breadcrumb a:hover {
  color: var(--white);
}

.page-header-section .breadcrumb-separator,
.page-header-section .breadcrumb-current {
  color: rgba(255,255,255,0.7);
}

.page-header-section h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-header-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 800px;
}

/* Quick Info Banner */
.quick-info-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quick-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quick-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.quick-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.quick-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-info-content strong {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.quick-info-content a,
.quick-info-content span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.quick-info-content a:hover {
  text-decoration: underline;
}

/* Quick Navigation */
.quick-nav {
  background: var(--bg-lighter);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

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

.quick-nav h2 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.quick-nav li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.375rem 0;
  display: inline-block;
}

.quick-nav li a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Content Sections */
.content-section {
  padding: 3rem 1.5rem;
  background: var(--white);
}

.content-section.alt-bg {
  background: var(--bg-lighter);
}

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

.content-section h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.region-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Offices Grid */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Office Card */
.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.office-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.office-card.headquarters {
  border: 2px solid var(--primary);
  max-width: 600px;
}

.office-header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
}

.office-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.presiding-judge {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.office-details {
  padding: 1.25rem;
}

.office-info-row {
  display: flex;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-light);
  align-items: flex-start;
}

.office-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.office-info-row:first-child {
  padding-top: 0;
}

.office-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.office-info-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.office-info-text strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.office-info-text a {
  color: var(--primary);
}

.office-info-text a:hover {
  text-decoration: underline;
}

/* Office Notes List */
.office-notes-list {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

.office-notes-list li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}

.office-notes-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* HQ Note */
.hq-note {
  display: flex;
  gap: 0.875rem;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--bg-light);
  align-items: flex-start;
}

.hq-note p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-card .check-list {
  margin: 0;
}

.service-card .check-list li {
  font-size: 0.9rem;
}

/* Note Box - enhanced version for District Offices */
.content-section .note-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  align-items: flex-start;
}

.note-box-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #b45309;
}

.note-box-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #92400e;
}

.note-box-content strong {
  color: #78350f;
}

.note-box-content a {
  color: #b45309;
  font-weight: 600;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.resource-link:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.resource-link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--bg-lighter);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-link-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.resource-link-content {
  flex: 1;
}

.resource-link-content h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}

.resource-link-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.resource-arrow {
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Responsive: District Offices */
@media (max-width: 1024px) {
  .offices-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-info-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .page-header-section {
    padding: 1.5rem 1rem 2rem;
  }

  .page-header-section h1 {
    font-size: 1.75rem;
  }

  .page-header-desc {
    font-size: 1rem;
  }

  .quick-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .office-card.headquarters {
    max-width: 100%;
  }

  .content-section .note-box {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .quick-info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .quick-info-content {
    align-items: center;
  }

  .resource-link {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .resource-link-content {
    text-align: center;
  }

  .resource-arrow {
    display: none;
  }
}

/* Print Styles for District Offices */
@media print {
  .page-header-section {
    background: none !important;
    color: #000 !important;
    padding: 1rem 0;
  }

  .page-header-section h1 {
    color: #000;
    font-size: 18pt;
  }

  .page-header-desc {
    color: #333;
  }

  .quick-info-banner,
  .quick-nav {
    display: none;
  }

  .offices-grid {
    display: block;
  }

  .office-card {
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }

  .office-header {
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  .service-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .service-card-icon {
    display: none;
  }
}

/* ===========================================
   MEDICAL TREATMENT PAGE STYLES
   =========================================== */

/* Page Header Hero - Styled similar to Home hero */
.page-header-hero {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}

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

.page-header-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.page-header-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-header-hero .breadcrumb a:hover {
  color: var(--white);
}

.page-header-hero .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

.page-header-hero .breadcrumb-current {
  color: rgba(255, 255, 255, 0.7);
}

.page-header-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-header-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 800px;
}

/* Quick Navigation List - Enhanced version for Medical Treatment */
.quick-nav-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.quick-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.quick-nav-list li a:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-nav-list li a svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Feature Grid - for MPN Requirements, etc. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  color: var(--white);
}

.feature-content h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Card Grid - for UR types, MTUS topics, etc. */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Info Box - generic info card */
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.info-box h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.info-box p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Bullet List */
.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.bullet-list li {
  padding: 0.35rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Requirements Grid - for Predesignation */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.requirement-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.requirement-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.requirement-text h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.requirement-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Process Steps - for IMR steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step .step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.process-step .step-content h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.process-step .step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Stats Grid - for IMR statistics */
.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.stats-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.stats-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border-top: 4px solid var(--primary);
}

.stat-card .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Data Table - for UR timelines, etc. */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.data-table tr:nth-child(even) {
  background: var(--bg-lighter);
}

.data-table td {
  font-size: 0.95rem;
  color: var(--text);
}

.data-table td strong {
  color: var(--primary-dark);
}

/* Legal References Grid */
.legal-refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.legal-ref-item {
  background: var(--bg-lighter);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.legal-ref-item h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.legal-ref-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* Page CTA Section */
.page-cta-section {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-cta-section > p,
.page-cta-inner > p:first-of-type {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.page-cta-section .cta-buttons {
  justify-content: center;
  margin-bottom: 1rem;
}

.page-cta-section .btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}

.page-cta-section .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* Page Sources Section */
.page-sources-section {
  background: var(--bg-lighter);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

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

.page-sources-section h2 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.sources-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0.75rem;
}

.sources-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.sources-list li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.sources-list li a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.sources-list li a:hover {
  text-decoration: underline;
}

/* Comparison Table - for side by side content blocks */
.comparison-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.comparison-column {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.comparison-column h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.comparison-column .check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
}

.comparison-column h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

/* Timeline Grid - for effective dates display */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: flex-start;
}

.timeline-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* MTUS Grid - for guideline categories */
.mtus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.mtus-item {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mtus-item h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.mtus-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mtus-item ul li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.mtus-item ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* Legal References - alternate styling for simple list */
.legal-refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.legal-ref {
  background: var(--bg-lighter);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.legal-ref h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.legal-ref p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* CTA Section - page-level */
.cta-section {
  background: linear-gradient(to right, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-section .cta-buttons {
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-section .btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

/* Sources Section */
.sources-section {
  background: var(--bg-lighter);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

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

.sources-section h2 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* Mobile Responsive for Medical Treatment Page */
@media (max-width: 768px) {
  .page-header-hero {
    padding: 2rem 1.25rem;
  }

  .page-header-hero h1 {
    font-size: 1.75rem;
  }

  .page-header-hero p {
    font-size: 1rem;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
  }

  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card .stat-number {
    font-size: 1.5rem;
  }

  .legal-refs-grid {
    grid-template-columns: 1fr;
  }

  .page-cta-section {
    padding: 2rem 1.25rem;
  }

  .page-cta-section h2 {
    font-size: 1.5rem;
  }

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

  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .process-step .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .timeline-icon {
    width: 36px;
    height: 36px;
  }

  .timeline-icon svg {
    width: 18px;
    height: 18px;
  }

  .mtus-grid {
    grid-template-columns: 1fr;
  }

  .legal-refs {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 2rem 1.25rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-grid-4 {
    grid-template-columns: 1fr;
  }

  .page-header-hero h1 {
    font-size: 1.5rem;
  }

  .requirement-item {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .sources-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ===========================================
   PERMANENT DISABILITY PAGE STYLES
   =========================================== */

/* Rate Summary Grid - for PD rate display */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.rate-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.rate-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.rate-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.rate-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Highlight Box Variants for Return-to-Work */
.highlight-box.increase {
  border-left-color: #22c55e;
  background: #f0fdf4;
}

.highlight-box.increase h3 {
  color: #166534;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.highlight-box.decrease {
  border-left-color: #ef4444;
  background: #fef2f2;
}

.highlight-box.decrease h3 {
  color: #991b1b;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Info Box UL styling */
.info-box ul {
  margin: 0.75rem 0 0 0;
  padding-left: 1.25rem;
}

.info-box ul li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Info Box Warning Variant */
.info-box.warning {
  border-left: 4px solid var(--accent);
  background: #fef2f2;
}

.info-box.warning h4 {
  color: #991b1b;
}

.info-box.warning ul li {
  color: #7f1d1d;
}

/* Example Box - for calculation examples */
.example-box {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.example-box h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.example-box p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.example-box ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}

.example-box ul li {
  padding: 0.35rem 0;
  line-height: 1.5;
}

/* Rating Steps - for PD Rating System */
.rating-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}

.rating-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.rating-step:last-child {
  border-bottom: none;
}

.rating-step .step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.rating-step .step-content h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  margin-top: 0;
  font-weight: 700;
}

.rating-step .step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0.5rem 0;
}

.rating-step .step-content p:last-child {
  margin-bottom: 0;
}

/* Timeline Box - for DFEC timeline */
.timeline-box {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-item:first-child {
  padding-top: 0;
}

.timeline-date {
  flex-shrink: 0;
  min-width: 180px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.timeline-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.timeline-item.current {
  background: rgba(32, 84, 147, 0.08);
  margin: 0 -1rem;
  padding: 0.875rem 1rem;
  border-radius: 4px;
  border-bottom: none;
}

.timeline-item.current .timeline-date {
  color: var(--primary);
}

.timeline-item.current .timeline-desc {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Sidebar Navigation - for quick nav links */
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid var(--bg-light);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: block;
  padding: 0.625rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.sidebar-nav a:hover {
  color: var(--primary-dark);
}

/* CTA Card - highlighted call to action */
.cta-card {
  text-align: center;
}

.cta-card h2 {
  text-align: center;
  justify-content: center;
}

.cta-card .cta-buttons {
  justify-content: center;
  margin-top: 1.5rem;
}

/* Disclaimer Section */
.disclaimer-section {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

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

.disclaimer-section h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.disclaimer-section p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.disclaimer-section p:last-child {
  margin-bottom: 0;
}

/* Sticky Sidebar */
.sidebar-card.sticky {
  position: sticky;
  top: 1.5rem;
}

/* Mobile Responsive for PD Page */
@media (max-width: 768px) {
  .rate-grid {
    grid-template-columns: 1fr;
  }

  .rate-value {
    font-size: 1.2rem;
  }

  .rating-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .rating-step .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .timeline-date {
    min-width: auto;
  }

  .timeline-item.current {
    margin: 0 -0.75rem;
    padding: 0.75rem;
  }

  .highlight-box.increase,
  .highlight-box.decrease {
    flex-direction: column;
  }

  .cta-card .cta-buttons {
    flex-direction: column;
  }

  .cta-card .cta-buttons a {
    width: 100%;
    text-align: center;
  }

  .disclaimer-section {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }
}
