/* CSS Custom Properties for Theme Colors */
:root {
  --bg-color: #fbefdf;
  --text-color: #124153;
  --highlight-color: #63acc0;
  --accent-color: #9ac55d;
  --error-color: #d73527;
  --success-color: #28a745;
  --focus-color: #0066cc;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Public Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Landing Page Styles */
.landing-container {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

/* Header Logo Styles */
.header-logo {
  position: fixed;
  top: 2rem;
  left: 10rem; /* 2rem original + 8rem additional = 10rem total */
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-logo picture img,
.header-logo-image {
  width: 76px; /* 10% bigger than 69px (total 26% bigger than original) */
  height: auto;
  filter: drop-shadow(0 4px 15px rgba(18, 65, 83, 0.15));
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1;
}

.header-logo-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--highlight-color);
  margin: 0.25rem 0 0 0;
  letter-spacing: 0.2em;
  line-height: 1;
}

.infographic-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Markie's Picture Section */
.markie-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.markie-picture {
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
}

.markie-picture:hover {
  transform: scale(1.05);
}

.markie-picture:hover .markie-image {
  box-shadow: 0 20px 50px rgba(18, 65, 83, 0.3);
}

/* Decorative Frame Styles (Homepage Only) */
.decorative-frame {
  position: absolute;
  bottom: 0;
  left: -200px;
  width: 54%; /* 10% smaller than 60% */
  height: 311px; /* 10% smaller than 346px */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 5;
}

.decor-left {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

/* Page Decorative Frame Styles (About, Contact, Blog) */
.page-decorative-frame {
  position: fixed;
  top: 2rem;
  right: 10rem; /* 2rem original + 8rem additional = 10rem total */
  width: 200px;
  height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 5;
}

.page-decor {
  width: 100%;
  height: 100%;
  opacity: 0.4;
  transform: scaleX(-1) scaleY(-1); /* Flip horizontally and vertically for right side */
}

.markie-picture picture img,
.markie-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 10px 30px rgba(18, 65, 83, 0.15));
  border: 5px solid white;
  box-shadow: 0 15px 40px rgba(18, 65, 83, 0.2);
}

.radiating-links {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.concern-link {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--text-color);
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid var(--accent-color);
  position: relative;
  transform-origin: left center;
  transform: translateX(0) scale(1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.concern-link:hover {
  transform: translateX(5px) scale(1.08) !important;
  box-shadow: 0 12px 35px rgba(18, 65, 83, 0.15);
  border-left-color: var(--highlight-color);
}

.concern-content {
  flex: 1;
}

.concern-link h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.concern-link p {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.5;
}

.concern-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concern-icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(31%) saturate(1084%) hue-rotate(160deg) brightness(95%) contrast(90%);
  transition: filter 0.3s ease;
}

.concern-link:hover .concern-icon img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(88%) saturate(463%) hue-rotate(153deg) brightness(98%) contrast(85%);
}

/* Connecting Lines Effect */
.concern-link::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  width: 1.5rem;
  height: 2px;
  background: var(--accent-color);
  transform: translateY(-50%);
  opacity: 0.6;
}

/* Staggered Animation */
.concern-link:nth-child(1) { animation-delay: 0.1s; }
.concern-link:nth-child(2) { animation-delay: 0.2s; }
.concern-link:nth-child(3) { animation-delay: 0.3s; }
.concern-link:nth-child(4) { animation-delay: 0.4s; }
.concern-link:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) translateX(0) scale(1);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }
}

.concern-link {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

/* Footer Styles */
.site-footer {
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-nav a {
  color: var(--bg-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-logo {
    position: fixed;
    top: 15px; /* 15px from top of screen */
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }
  
  .landing-container {
    padding: 1rem;
    padding-bottom: 8rem; /* Ensure space above footer */
  }
  
  .infographic-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    margin-top: 6rem;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
  }
  
  .markie-picture {
    width: 280px;
    height: 280px;
  }
  
  .decorative-frame {
    display: none; /* Hide decorative frame on mobile */
  }
  
  /* Page container adjustments for mobile */
  .page-container {
    padding-top: 6rem; /* Make room for fixed header logo */
    padding-bottom: 4rem; /* Ensure space above footer */
  }
  
  /* Blog tags mobile fix */
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .post-tags {
    max-width: 100%;
  }
  
  /* Hide page decorative frame on mobile */
  .page-decorative-frame {
    display: none;
  }
  
  .concern-link::before {
    display: none;
  }
  
  .concern-link {
    margin: 0 1rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .landing-container {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .concern-link {
    padding: 1.2rem 1.5rem;
    margin: 0;
    gap: 1rem;
  }
  
  .concern-link h3 {
    font-size: 1.2rem;
  }
  
  .concern-link p {
    font-size: 0.9rem;
  }
  
  .concern-icon {
    width: 50px;
    height: 50px;
  }
  
  .concern-icon img {
    width: 40px;
    height: 40px;
  }
  
  .header-logo-image {
    width: 63px; /* 10% bigger than 57px (total 26% bigger than original) */
  }
  
  .header-logo-title {
    font-size: 1.3rem;
  }
  
  .header-logo-subtitle {
    font-size: 0.7rem;
  }
  
  .markie-picture {
    width: 240px;
    height: 240px;
  }
  
  .decorative-frame {
    display: none; /* Hide decorative frame on mobile */
  }
}

/* Additional page styles */
.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-container h1 {
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.page-container h2 {
  color: var(--highlight-color);
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.page-container p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 1rem 0;
}

.cta-button:hover {
  background-color: var(--highlight-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 172, 192, 0.3);
}

/* Contact Page Styles */
.contact-info-inline {
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.contact-form-section {
  background: white;
  padding: 1rem 2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
  margin-top: 1rem;
}

.contact-form-section h2 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

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

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(99, 172, 192, 0.1);
  background-color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: 'Public Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: var(--highlight-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 172, 192, 0.3);
}

.contact-item {
  line-height: 1.5;
}

.contact-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-item a i[data-lucide] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.contact-item strong {
  color: var(--text-color);
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .page-container {
    padding-top: 7rem !important; /* Override the general rule to add header clearance */
  }
  
  .contact-details {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .contact-info-inline {
    padding: 1.25rem;
  }
}

/* Blog Styles */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post-preview {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(18, 65, 83, 0.15);
}

.blog-post-preview h2 {
  margin-bottom: 1rem;
}

.blog-post-preview h2 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-preview h2 a:hover {
  color: var(--highlight-color);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-excerpt {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--accent-color);
}

.no-posts {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
  margin-top: 2rem;
}

.no-posts h2 {
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.no-posts ul {
  margin-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Individual Blog Post Styles */
.blog-post {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  padding: 0 2rem;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.post-content {
  line-height: 1.8;
}

.post-content h2 {
  color: var(--highlight-color);
  margin: 2rem 0 1rem 0;
  font-size: 1.8rem;
}

.post-content h3 {
  color: var(--text-color);
  margin: 1.5rem 0 1rem 0;
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1.5rem 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
  text-align: center;
}

.back-to-blog {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-to-blog:hover {
  color: var(--accent-color);
}

/* Image Carousel Styles */
.image-carousel {
  margin: 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.carousel-slide picture,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(18, 65, 83, 0.2);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 15px;
}

.carousel-btn-next {
  right: 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(18, 65, 83, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: var(--highlight-color);
  transform: scale(1.2);
}

/* Carousel Mobile Styles */
@media (max-width: 768px) {
  .image-carousel {
    margin: 1.5rem 0;
  }
  
  .carousel-container {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
}

/* Thank You Section Styles */
.thank-you-section {
  margin-top: 2rem;
  position: relative;
}

.thank-you-content {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(18, 65, 83, 0.1);
  text-align: center;
  border-left: 5px solid var(--accent-color);
}

.thank-you-header h2 {
  color: var(--highlight-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.thank-you-message p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.thank-you-actions .cta-button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.thank-you-actions .cta-button.secondary {
  background: white;
  color: var(--highlight-color);
  border: 2px solid var(--highlight-color);
}

.thank-you-actions .cta-button.secondary:hover {
  background: var(--highlight-color);
  color: white;
  transform: translateY(-2px);
}

/* Submit button loading state */
.submit-button:disabled {
  background: rgba(18, 65, 83, 0.5);
  cursor: not-allowed;
  transform: none;
}

.submit-button:disabled:hover {
  transform: none;
  box-shadow: 0 5px 15px rgba(18, 65, 83, 0.2);
}

/* Mobile styles for thank you section */
@media (max-width: 768px) {
  .thank-you-content {
    padding: 2rem 1.5rem;
  }
  
  .thank-you-header h2 {
    font-size: 1.8rem;
  }
  
  .thank-you-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .thank-you-actions .cta-button {
    width: 100%;
    max-width: 250px;
  }
}

/* Accessibility: Screen reader only content */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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



/* Focus indicators */
*:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

/* Form error styles */
.form-errors {
  background: #fdeaea;
  border: 2px solid var(--error-color);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-errors h3 {
  color: var(--error-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.form-errors ul {
  margin-left: 1.5rem;
  color: var(--error-color);
}

.field-error {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  display: block;
}

.help-text {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Required field indicator */
.required span[aria-label="required"] {
  color: var(--error-color);
  font-weight: bold;
}

/* Form description */
.form-description {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Invalid field styling */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 2px rgba(215, 53, 39, 0.2) !important;
}

/* Carousel accessibility improvements */
.carousel-btn:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  transform: translateY(-50%) scale(1.1);
}

.dot:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  transform: scale(1.3);
}

/* Button loading state accessibility */
.submit-button[aria-busy="true"] {
  cursor: wait;
  position: relative;
}

.submit-button[aria-busy="true"]:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: var(--bg-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Improved link accessibility - using aria-label instead of visible text */

/* Thank you section focus management */
.thank-you-section h2:focus {
  outline: none;
}

/* Ensure interactive elements have minimum touch target size */
@media (max-width: 768px) {
  .carousel-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .dot {
    min-width: 44px;
    min-height: 44px;
    border-radius: 22px;
  }
  
  .concern-link {
    min-height: 44px;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .carousel-track {
    transition: none !important;
  }
  
  .concern-link {
    animation: none !important;
  }
}



/* Article CTA Section */
.article-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem 0;
}

.article-cta h2 {
  color: var(--highlight-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.article-cta p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

/* Enhanced post meta for individual posts */
.post-header .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
}

.post-header .post-date {
  font-weight: 500;
}

.post-header .post-tags[role="list"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-header .tag[role="listitem"] {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Mobile improvements */
@media (max-width: 768px) {
  .article-cta {
    padding: 1.5rem 0;
  }
  
  .article-cta h2 {
    font-size: 1.5rem;
  }
  
  .blog-post {
    padding: 0 1rem;
  }
  
  .post-header {
    margin-top: 5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --highlight-color: #0066cc;
    --accent-color: #008000;
  }
  
  .concern-link {
    border: 2px solid var(--text-color);
  }
  
  .submit-button {
    border: 2px solid var(--text-color);
  }
} 
