
* {
  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);
}

.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);
}

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

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

.contact-info strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0.5rem 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 {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.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);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

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

.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 a {
  color: var(--gold);
}

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

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

.check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

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

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

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

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

.contact-list li {
  padding: 0.5rem 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;
}

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

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

.sidebar-links a {
  text-decoration: none;
  font-weight: 600;
}

.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;
}

/* 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: 0.5rem;
}

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

.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 h1 {
    font-size: 1.5rem;
  }

  .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 */
.rate-table,
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rate-table table,
.info-card table {
  min-width: 100%;
}

/* 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);
}

/* 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 {
    border: 1px solid #000;
  }

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

  /* 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;
  }
}
