/* Base styles */
:root {
  --font-heading: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-inter: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --color-primary: #1a4480;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-background: #f7fafc;
  --color-card: #ffffff;
  --max-width: 800px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

/* Standardized font weights for emphasis */
strong,
b {
  font-family: var(--font-inter);
  font-weight: 600;
}

/* Preserve bold text in specific contexts */
.letter strong,
.commitment-list strong,
.skills-list strong {
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.header-content {
  margin-bottom: 1rem;
}

.candidate-name {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-align: center;
}

.candidate-name span {
  display: block;
}

.candidate-name .line-1 {
  font-weight: 700;
}

.candidate-name .line-2 {
  font-size: 0.8em;
  font-weight: 600;
  margin: 0.5rem 0;
  color: #8b0000; /* Deep red color */
}

.candidate-name .line-2 .star-left,
.candidate-name .line-2 .star-right {
  color: #8b0000; /* Match the deep red */
  font-weight: bold;
  display: inline;
}

.candidate-name .line-2 .star-left {
  margin-right: 0.5em;
}

.candidate-name .line-2 .star-right {
  margin-left: 0.5em;
}

.candidate-name .line-3 {
  font-size: 0.8em;
  font-weight: 600;
}

.location-info {
  margin: 1rem 0 1.5rem;
}

.parish,
.ward {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.election-info {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(26, 68, 128, 0.1) 0%,
    rgba(26, 68, 128, 0.05) 100%
  );
  border-radius: 12px;
  border: 2px solid rgba(26, 68, 128, 0.2);
}

.election-date-header,
.early-voting-header {
  font-family: var(--font-inter);
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0;
  font-weight: 400;
}

.early-voting-header {
  margin-top: 0.5rem;
}

.election-date-header strong,
.early-voting-header strong {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.2rem;
}

.mobile-summary {
  display: grid; /* Now visible on all devices */
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(26, 68, 128, 0.03);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}

.summary-number {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  min-width: 40px;
}

.summary-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.summary-text {
  font-family: var(--font-inter);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  flex: 1;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 2rem auto 2rem;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.contact-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  width: 200px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(26, 68, 128, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}

.contact-scroll-btn:hover {
  background: linear-gradient(135deg, #1a3a6e 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 68, 128, 0.35);
}

.contact-scroll-btn:focus {
  outline: 3px solid rgba(26, 68, 128, 0.3);
  outline-offset: 2px;
}

.contact-scroll-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(26, 68, 128, 0.3);
}

.contact-btn-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.contact-scroll-btn:hover .contact-btn-icon {
  transform: translateY(3px);
}

/* Register to Vote Button */
.register-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  width: 200px;
  height: 52px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}

.register-vote-btn:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(220, 38, 38, 0.35);
  color: white;
}

.register-vote-btn:focus {
  outline: 3px solid rgba(220, 38, 38, 0.3);
  outline-offset: 2px;
  color: white;
}

.register-vote-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.register-btn-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.register-vote-btn:hover .register-btn-icon {
  transform: translateX(3px);
}

/* Contact Header in Footer */
.contact-header-container {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  box-shadow: 0 4px 8px rgba(26, 68, 128, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.contact-header-btn:hover {
  background: linear-gradient(135deg, #1a3a6e 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 68, 128, 0.35);
  color: white;
}

.contact-header-btn:focus {
  outline: 3px solid rgba(26, 68, 128, 0.3);
  outline-offset: 2px;
  color: white;
}

.contact-header-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(26, 68, 128, 0.3);
}

.state-flag {
  width: 180px;
  flex-shrink: 0;
}

.state-flag img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/2;
  object-fit: contain;
}

/* Logo */
.logo-container {
  width: 200px;
  height: 134px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.logo-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-align: center;
}

h1 span {
  display: block;
}

h1 .line-1 {
  font-weight: 700;
}

h1 .line-2 {
  font-size: 0.6em;
  font-weight: 400;
  margin: 0.5rem 0;
}

h1 .line-3 {
  font-size: 0.8em;
  font-weight: 600;
}

h2 {
  font-family: var(--font-inter);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

h3 {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin: 0;
}

.contact-button {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-button a {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-montserrat);
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-button a:hover {
  background-color: #1a3a6e;
}

/* Letter */
.letter {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background-color: var(--color-card);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.letter-greeting {
  font-family: var(--font-inter);
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.intro-statement {
  font-family: var(--font-inter);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.section-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-primary),
    transparent
  );
  margin: 2.5rem 0;
  opacity: 0.3;
}

.section-title {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
  opacity: 0.9;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  opacity: 0.4;
}

.pull-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-primary);
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-primary);
  background-color: rgba(26, 68, 128, 0.03);
  border-radius: 0 6px 6px 0;
}

.qualification-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid rgba(26, 68, 128, 0.1);
}

.qualification-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.years-badge {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}

.qualification-text strong {
  font-family: var(--font-inter);
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.qualification-text p {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.study-highlight {
  font-family: var(--font-inter);
  font-weight: 400;
  background: rgba(26, 68, 128, 0.02);
  border: 1px solid rgba(26, 68, 128, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlight-title {
  font-family: var(--font-inter);
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.commitment-box {
  background: linear-gradient(
    135deg,
    rgba(26, 68, 128, 0.05) 0%,
    rgba(26, 68, 128, 0.02) 100%
  );
  border: 2px solid rgba(26, 68, 128, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

.commitment-title {
  font-family: var(--font-inter);
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  font-size: 1.2rem;
  text-align: center;
}

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

.commitment-list li {
  font-family: var(--font-inter);
  font-weight: 400;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}
.commitment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  background: rgba(26, 68, 128, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.final-quote {
  font-size: 1.1rem;
  margin: 1.25rem 0;
  text-align: center;
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1rem;
  background: rgba(26, 68, 128, 0.03);
  border-radius: 0 6px 6px 0;
}

.closing-statement {
  font-family: var(--font-inter);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin: 2rem 0 1rem 0;
  line-height: 1.7;
}

.election-date {
  font-family: var(--font-inter);
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(26, 68, 128, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.letter p {
  font-family: var(--font-inter);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.letter ul {
  font-family: var(--font-inter);
  font-weight: 400;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.letter li {
  font-family: var(--font-inter);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.signature {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-primary);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
}

.signature::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, var(--color-primary), transparent);
}

.postscript {
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.ps-marker {
  font-family: var(--font-inter);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.inline-link {
  font-family: var(--font-inter);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.inline-link:hover {
  opacity: 0.8;
}

/* Learn More Button in Postscript */
.learn-more-container {
  text-align: center;
  margin-top: 1.5rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(26, 68, 128, 0.2);
  text-decoration: none;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, #1a3a6e 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(26, 68, 128, 0.3);
  color: white;
}

.learn-more-btn:focus {
  outline: 3px solid rgba(26, 68, 128, 0.3);
  outline-offset: 2px;
  color: white;
}

.learn-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(26, 68, 128, 0.2);
}

.learn-more-icon {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.learn-more-btn:hover .learn-more-icon {
  transform: translateX(3px);
}

/* Footer */
.footer {
  margin-top: 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.disclaimer {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-light);
  max-width: 36rem;
  line-height: 1.5;
  opacity: 0.9;
  padding: 0 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-link {
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-card);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.contact-link:hover {
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.icon {
  width: 24px;
  height: 24px;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .container {
    padding: 3rem 1.25rem;
  }

  h1 {
    font-size: 3rem;
  }

  .letter {
    padding: 1.75rem 2rem;
  }

  .header {
    gap: 0.5rem;
  }

  .logo-container {
    width: 175px;
    height: 116px;
  }
} /* Mobile optimizations for header hierarchy */
@media (max-width: 768px) {
  .election-info {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
  }
  .election-date-header,
  .early-voting-header {
    font-size: 1rem;
  }

  .election-date-header strong,
  .early-voting-header strong {
    font-size: 1.1rem;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .container {
    padding: 2rem 1rem;
  }

  .candidate-name {
    font-size: 1.575rem;
    margin-bottom: 1rem;
  }

  .candidate-name .line-1 {
    font-size: 1em;
    margin-bottom: 0.25rem;
  }

  .candidate-name .line-2 {
    font-size: 0.75em;
    font-weight: 600;
    margin: 0.25rem 0;
    opacity: 0.9; /* Slightly more visible on mobile */
    color: #8b0000; /* Maintain deep red on mobile */
  }

  .candidate-name .line-3 {
    font-size: 0.75em;
    font-weight: 600;
  }

  .location-info {
    margin: 0.75rem 0 1rem;
  }

  .parish,
  .ward {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }

  .parish {
    font-weight: 400;
  }

  .ward {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.2rem;
  }

  .election-info {
    margin: 1rem 0 1.5rem;
    padding: 0.75rem 1rem;
  }

  .election-date-header,
  .early-voting-header {
    font-size: 0.95rem;
  }

  .election-date-header strong,
  .early-voting-header strong {
    font-size: 1.05rem;
    display: block;
    margin-top: 0.25rem;
  }

  .mobile-summary {
    margin: 1.5rem 0;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .summary-item {
    padding: 0.6rem;
    gap: 0.75rem;
  }

  .summary-number {
    font-size: 1.3rem;
    min-width: 36px;
  }

  .summary-icon {
    font-size: 1.3rem;
    min-width: 36px;
  }

  .summary-text {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
  }

  h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
  }

  h3 {
    font-size: 1rem;
  }

  .header {
    margin-bottom: 2rem;
    gap: 0.5rem;
  }

  .header-content {
    margin-bottom: 1.5rem;
  }

  .header-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.5rem 0;
  }

  .contact-scroll-btn,
  .register-vote-btn {
    padding: 0.875rem 1.75rem;
    width: 180px;
    height: 48px;
    font-size: 1rem;
  }

  .contact-btn-icon,
  .register-btn-icon {
    font-size: 1.1rem;
  }

  .contact-header-btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .logo-container {
    width: 150px;
    height: 100px;
  }

  .letter {
    padding: 1.5rem;
  }

  .letter-greeting {
    font-size: 1rem;
  }

  .intro-statement {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
  }

  .pull-quote {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
    margin: 1rem 0;
  }

  .qualification-highlight {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .qualification-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .years-badge {
    min-width: auto;
    align-self: center;
  }

  .study-highlight {
    padding: 1.25rem;
  }

  .commitment-box {
    padding: 1.5rem;
  }

  .commitment-title {
    font-size: 1.1rem;
  }

  .commitment-list li {
    padding-left: 1.75rem;
    font-size: 0.9rem;
  }

  .commitment-list li::before {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }

  .final-quote {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
  }

  .closing-statement {
    font-size: 1rem;
  }

  .letter p {
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
  }

  .signature {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: left;
    padding-left: 1rem;
  }

  .signature::after {
    left: 0;
    transform: none;
    width: 80px;
  }

  .postscript {
    font-family: var(--font-inter);
    font-weight: 400;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    font-size: 0.9375rem;
  }

  .learn-more-container {
    margin-top: 1.25rem;
  }

  .learn-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .learn-more-icon {
    font-size: 1rem;
  }

  .footer {
    margin-top: 3rem;
    gap: 1.25rem;
  }

  .disclaimer {
    font-size: 0.8125rem;
    padding: 0 0.75rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .contact-link {
    width: 44px;
    height: 44px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }
}

/* Small mobile adjustments */
@media (max-width: 360px) {
  .container {
    padding: 1.5rem 0.75rem;
  }

  .candidate-name {
    font-size: 1.4rem;
  }

  .candidate-name .line-3 {
    font-size: 0.7em;
  }

  .parish,
  .ward {
    font-size: 1rem;
  }

  .ward {
    font-size: 1.1rem;
  }

  .election-date-header,
  .early-voting-header {
    font-size: 0.9rem;
  }

  .election-date-header strong,
  .early-voting-header strong {
    font-size: 1rem;
  }

  .mobile-summary {
    padding: 1rem;
    margin: 1.25rem 0;
  }

  .summary-item {
    padding: 0.5rem;
    gap: 0.6rem;
  }

  .summary-number {
    font-size: 1.2rem;
    min-width: 32px;
  }

  .summary-icon {
    font-size: 1.2rem;
    min-width: 32px;
  }

  .summary-text {
    font-size: 0.8rem;
    font-weight: 400;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  .header {
    gap: 0.375rem;
    margin-bottom: 1.25rem;
  }

  .header-buttons {
    gap: 0.6rem;
    margin: 0.375rem 0;
  }

  .contact-scroll-btn,
  .register-vote-btn {
    padding: 0.75rem 1.5rem;
    width: 160px;
    height: 44px;
    font-size: 0.95rem;
  }

  .contact-btn-icon,
  .register-btn-icon {
    font-size: 1rem;
  }

  .contact-header-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .logo-container {
    width: 125px;
    height: 84px;
  }

  .letter {
    padding: 1.25rem;
  }

  .pull-quote {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
  }

  .qualification-highlight {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.75rem;
  }

  .qualification-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .years-badge {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .study-highlight {
    padding: 1rem;
  }

  .commitment-box {
    padding: 1.25rem;
  }

  .commitment-list li {
    font-size: 0.85rem;
    font-weight: 400;
    padding-left: 1.5rem;
  }

  .commitment-list li::before {
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
  }

  .final-quote {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
  }

  .letter p {
    font-size: 0.875rem;
    font-weight: 400;
  }

  .disclaimer {
    font-size: 0.75rem;
  }
}

/* Progressive Disclosure Styles */
.expandable-section {
  margin: 2rem 0;
}

.expandable-preview {
  position: relative;
}

.expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-inter);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expand-btn:hover {
  background: linear-gradient(135deg, #1a3a6e 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.expand-btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.expand-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.expand-btn[aria-expanded="true"] .expand-icon {
  transform: rotate(180deg);
}

.expand-btn[aria-expanded="true"] .expand-text::after {
  content: " Less";
}

.expand-btn[aria-expanded="false"] .expand-text::after {
  content: "";
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out,
    padding 0.3s ease-out;
  opacity: 0;
  padding: 0;
}

.expandable-content[aria-hidden="false"] {
  max-height: 2000px;
  opacity: 1;
  padding: 1.5rem 0 0 0;
  transition: max-height 0.5s ease-in, opacity 0.3s ease-in,
    padding 0.3s ease-in;
}

.detailed-qualifications {
  font-family: var(--font-inter);
  font-weight: 400;
  background: rgba(26, 68, 128, 0.02);
  border: 1px solid rgba(26, 68, 128, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.skills-list li {
  font-family: var(--font-inter);
  font-weight: 400;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.skills-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  background: rgba(26, 68, 128, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.philosophy-section {
  font-family: var(--font-inter);
  font-weight: 400;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(26, 68, 128, 0.02);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
}

.experience-connection {
  font-family: var(--font-inter);
  font-weight: 400;
  background: linear-gradient(
    135deg,
    rgba(26, 68, 128, 0.08) 0%,
    rgba(26, 68, 128, 0.03) 100%
  );
  border: 2px solid rgba(26, 68, 128, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0 1rem 0;
}

/* Mobile Responsive Adjustments for Progressive Disclosure */
@media (max-width: 640px) {
  .expand-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .expandable-content[aria-hidden="false"] {
    padding: 1.25rem 0 0 0;
  }

  .detailed-qualifications,
  .philosophy-section,
  .experience-connection {
    padding: 1rem;
    margin: 1rem 0;
  }

  .skills-list li {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
  }

  .philosophy-section {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .expand-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .detailed-qualifications,
  .philosophy-section,
  .experience-connection {
    padding: 0.875rem;
  }

  .skills-list li {
    font-size: 0.85rem;
    font-weight: 400;
  }

  .learn-more-btn {
    padding: 0.6875rem 1.25rem;
    font-size: 0.875rem;
  }

  .learn-more-icon {
    font-size: 0.9375rem;
  }
}
