/* About Hero Section */

body #about-section .about-hero {
  background-color: black;
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
  margin: 0 calc(-1 * var(--spacing-lg));
  width: calc(100% + 2 * var(--spacing-lg));
  color: var(--color-text-inverse);
  box-sizing: border-box;
  position: relative;
  box-shadow: none !important;
}
body #about-section .about-hero-content {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: flex-start;
  max-width: none;
  margin: 0 auto;
  width: 80%;
}
body #about-section .about-hero-text {
  flex: 1.2;
  min-width: 0;
}
body #about-section .about-hero-highlights {
  flex: 1;
  min-width: 0;
  gap: var(--spacing-lg);
}
#about-section .about-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text-inverse);
  margin: 0 0 var(--spacing-lg) 0;
  text-align: left;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
  -webkit-text-stroke: 0.5px #fff;
}
#about-section .about-hero-text p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-inverse);
  margin: 0 0 var(--spacing-lg) 0;
  text-align: left;
}
body #about-section .about-hero-text .hero-mission {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text-inverse);
  margin: 0 0 var(--spacing-xl) 0;
  max-width: 45ch;
}
body #about-section .about-hero-text .hero-quote {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-newsletter-accent, #4e9450);
  margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
  text-align: center;
  padding: var(--spacing-lg);
  border: 2px solid var(--text-newsletter-accent, #4e9450);
  border-radius: var(--border-radius-md);
  background: rgba(78, 148, 80, 0.1);
}
body #about-section .about-highlight-card {
  background: var(--newsletter-bg-secondary, rgba(27, 27, 27, 0.6));
  border: var(--border-width-thin) solid var(--border-color-light);
  color: var(--color-text-inverse);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-lg);
}
#about-section .about-highlight-card h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-inverse);
  margin-bottom: var(--spacing-md);
}
#about-section .about-highlight-card p {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}
body #about-section .about-team-section {
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
  margin: var(--spacing-lg) auto 0; /* Center with auto margins */
  width: 80%; /* Set to 80% width */
  max-width: 1200px; /* Add max-width for large screens */
  color: var(--color-text-inverse);
  box-sizing: border-box;
}
#about-section .about-team-section h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-text-inverse);
  margin-bottom: var(--spacing-2xl);
  text-align: center;
}
body #about-section .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin: 0 0 var(--spacing-2xl) 0;
  justify-items: center;
  max-width: 100%; /* Use full available width within the 80% container */
  margin-left: auto;
  margin-right: auto;
}
body #about-section .team-member-card {
  background: rgba(255, 255, 255, 0.05);
  border: var(--border-width-thin) solid var(--border-color-subtle);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg) var(--spacing-md);
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  min-height: 280px;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: normal;
  overflow-wrap: normal;
  gap: var(--spacing-sm);
}
body #about-section .team-member-card .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  border: 3px solid rgba(255, 255, 255, 0.2);
}
body #about-section .team-member-card .team-name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-inverse);
  margin-bottom: var(--spacing-xs);
  width: 100%;
  max-width: 100%;
  word-wrap: normal;
  overflow-wrap: normal;
  box-sizing: border-box;
}
body #about-section .team-member-card .team-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-newsletter-accent, #4e9450);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  width: 100%;
  max-width: 100%;
  word-wrap: normal;
  overflow-wrap: normal;
  box-sizing: border-box;
}
body #about-section .team-member-card .team-description {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  word-wrap: normal;
  overflow-wrap: normal;
  hyphens: none;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  min-height: 0;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  --team-description-lines: 8;
  --team-description-line-height: 1.4;
  max-height: calc(1em * var(--team-description-line-height) * var(--team-description-lines));
  transition: max-height 180ms ease;
}
body #about-section .team-member-card:not(.is-expanded) .team-description::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3.2em;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.95) 100%);
  pointer-events: none;
}
body #about-section .team-member-card.is-expanded .team-description {
  max-height: none;
}
body #about-section .team-member-card .team-description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top:15px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(78, 148, 80, 0.45);
  border-radius: 999px;
  background: rgba(78, 148, 80, 0.12);
  color: var(--text-newsletter-accent, #4e9450);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-smooth);
}
body #about-section .team-member-card .team-description-toggle:hover,
body #about-section .team-member-card .team-description-toggle:focus-visible {
  background: rgba(78, 148, 80, 0.2);
  border-color: rgba(78, 148, 80, 0.7);
  color: var(--color-text-inverse);
}
body #about-section .team-member-card .team-description-toggle[hidden] {
  display: none;
}
body #about-section .about-logo-section {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  text-align: center;
  padding: var(--spacing-lg) 0 var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
body #about-section .about-logo {
  height: 80px;
  width: auto;
  opacity: 0.9;
}
body .about-hero {
  width: 100% !important;
  margin: 0 ;
  padding: var(--space-md) var(--space-sm) ;
  container-type: inline-size;

}


@container (min-width: 768px) {
  body .about-hero {
    padding: var(--space-xl) var(--space-lg);
  }
}

body .menu-content-area .about-content {
  max-width: 1400px;
  width: 100%;
  text-align: left;
  color: var(--color-text-inverse);
}
.menu-content-area .about-content p {
  margin-bottom: var(--spacing-md);
  text-align: left;
  line-height: 1.6;
}

/* Commitment panel — centered, 80% width within page (falls back to 100% on small screens) */
.about-commitment {
  width: 80%;
  max-width: 1200px;
  margin: var(--spacing-2xl) auto var(--spacing-lg);
  padding: clamp(1rem, 2vw, 2rem);
  background: rgb(255 255 255 / 3%); /* subtle panel */
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
  text-align: left;
  color: var(--color-text-inverse);
}

/* inner typography */
.about-commitment .lead {
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.7;
  opacity: 0.95;
  font-size: var(--font-size-lg);
}

.about-commitment .commitment-subtitle {
  margin: var(--spacing-md) 0 0.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
  font-size: 24px;
  margin-bottom: 20px;
}

.about-commitment .commitment-list {
  margin: 0 0 var(--spacing-md) 1rem;
  padding-left: 1rem;
  list-style: disc outside;
  line-height: 1.6;
}

.about-commitment .commitment-list li {
  margin-bottom: 0.6rem;
  opacity: 0.95;
}

.about-commitment .commitment-cta {
  margin-top: var(--spacing-md);
  font-weight: 600;
  color: var(--text-newsletter-accent, #4e9450);
  text-align: center;
}

/* Two-column layout for commitment section */
.about-commitment-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl, 2rem);
  align-items: start;
}

.commitment-column {
  display: flex;
  flex-direction: column;
}

.commitment-left h4,
.commitment-right h4 {
  margin-top: 0;
  margin-bottom: var(--spacing-md, 1rem);
}

.commitment-left .lead {
  margin: 0;
  line-height: 1.7;
  padding:20px;
}

.commitment-right .commitment-list {
  margin: 0;
  padding-left: 1.5rem;
  list-style: disc outside;
}

.commitment-right .commitment-list li {
  margin-bottom: 0.75rem;
}

/* CTA stays full-width below both columns */
.about-commitment .commitment-cta {
  margin-top: var(--spacing-lg, 1.5rem);
  text-align: center;
  grid-column: 1 / -1;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .about-commitment-two-column {
    grid-template-columns: 1fr;
    gap: var(--spacing-md, 1rem);
  }
  
  .about-commitment .commitment-cta {
    grid-column: 1;
  }
}

/* Responsive: full width on narrow screens */
@media (max-width: 768px) {
  .about-commitment {
    width: 100%;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  body .about-hero {
    padding: var(--space-sm) var(--space-xs) ;
  }
  .about-hero h1 {
    font-size: clamp(1.2rem, 6vw, 1.8rem) ;
    line-height: 1.2 ;
    margin-bottom: var(--space-sm) ;
  }
}

@media (max-width: 580px) {
  body .about-hero-content {
    flex-direction: column ;
    gap: var(--space-sm) ;
    align-items: stretch ;
  }
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
  body #about-section .about-team-section {
    width: 95%; /* Slightly wider on mobile for better use of space */
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
  }
  
  body #about-section .team-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  body #about-section .about-team-section {
    width: 100%; /* Full width on very small screens */
    padding: var(--spacing-lg) var(--spacing-xs) var(--spacing-md);
  }
}

/* Stack commitment cards vertically with NO spacing */
.commitment-cards {
  display: flex;
  flex-direction: column;
  gap: 0; /* Changed from var(--spacing-md, 1rem) to 0 */
}

/* Ensure highlight cards work in commitment section */
.commitment-column .about-highlight-card {
  margin: 0; /* Remove default margins when inside commitment cards */
}
