/* People Page Styles - Exact match from about/people.html */

/* Hero Header - Shared with Programs and About pages */
.programs-hero {
  background-color: #0a1628;
  color: #ffffff;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .programs-hero {
    padding: 96px 0;
  }
}

.programs-hero-label {
  color: #ffd046;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  margin-bottom: 16px;
}

.programs-hero-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 896px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .programs-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .programs-hero-title {
    font-size: 3.75rem;
  }
}

.programs-hero-description {
  font-size: 1.25rem;
  color: #e5e5e5;
  max-width: 768px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .programs-hero-description {
    font-size: 1.5rem;
  }
}

/* Intro Section */
.people-intro-section {
  background-color: #fafafa;
  padding: 48px 0 0 0;
  border-bottom: none;
}

@media (min-width: 768px) {
  .people-intro-section {
    padding: 64px 0 0 0;
  }
}

@media (min-width: 768px) {
  .people-intro-section {
    padding: 96px 0;
  }
}

.people-intro-content {
  max-width: 48rem;
}

.people-intro-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .people-intro-title {
    font-size: 2.25rem;
  }
}

.accent-bar {
  width: 64px;
  height: 4px;
  background-color: #ffd046;
  margin-bottom: 24px;
}

.people-intro-text {
  color: #404040;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Leadership Section */
.leadership-section {
  background-color: #fafafa;
  padding: 0 0 64px 0;
}

.people-intro-section + .leadership-section {
  padding-top: 0;
}

@media (min-width: 768px) {
  .leadership-section {
    padding: 0 0 96px 0;
  }
  
  .people-intro-section + .leadership-section {
    padding-top: 0;
  }
}

.leadership-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .leadership-list {
    gap: 96px;
  }
}

.leader-card {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .leader-card {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 30px;
  }
}

.leader-photo-container {
  aspect-ratio: 4 / 5;
  background-color: #e5e5e5;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 0;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.leader-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #404040;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #0a1628;
}

.contact-link:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  background-color: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  border-radius: 0;
}

.contact-link:hover .contact-icon-box {
  background-color: #ffd046;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: #ffd046;
  transition: color 0.2s ease;
}

.contact-link:hover .contact-icon {
  color: #0a1628;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #404040;
}

.leader-title {
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid #ffd046;
}

.leader-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 24px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .leader-name {
    font-size: 2.25rem;
  }
}

.leader-bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leader-bio p {
  color: #404040;
  line-height: 1.75;
}

/* Advisory Board Section */
.advisory-section {
  background-color: #ffffff;
  padding: 64px 0;
  border-top: 1px solid #e5e5e5;
}

@media (min-width: 768px) {
  .advisory-section {
    padding: 96px 0;
  }
}

.advisory-header {
  text-align: center;
  margin-bottom: 48px;
}

.people-intro-section .advisory-header {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .advisory-header {
    margin-bottom: 64px;
  }
  
  .people-intro-section .advisory-header {
    padding-bottom: 0;
  }
}

.advisory-label {
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.advisory-title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 16px;
}

.people-intro-section .advisory-title {
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .advisory-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .advisory-title {
    font-size: 3rem;
  }
}

.advisory-description {
  color: #404040;
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.advisory-grid {
  list-style: none;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advisory-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advisory-card {
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.advisory-photo-container {
  width: 128px;
  height: 128px;
  margin: 0 auto 16px;
  background-color: #e5e5e5;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 0;
}

.advisory-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.advisory-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 4px;
}

.advisory-member-title {
  color: #0a1628;
  font-size: 0.875rem;
  font-weight: 500;
}

.advisory-org {
  color: #525252;
  font-size: 0.875rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.view-bio-btn {
  display: inline-block;
  background-color: #0a1628;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: auto;
  border-radius: 0;
  font-family: inherit;
}

.view-bio-btn:hover {
  background-color: #ffd046;
  color: #0a1628;
}

.view-bio-btn:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 0;
}

.modal-content:focus {
  outline: none;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  border-radius: 0;
}

.modal-close-btn:hover {
  background-color: #ffd046;
}

.modal-close-btn:focus-visible {
  outline: 2px solid #ffd046;
  outline-offset: 2px;
}

.modal-close-icon {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 32px;
}

@media (min-width: 768px) {
  .modal-body {
    padding: 48px;
  }
}

.modal-photo-container {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  background-color: #e5e5e5;
  overflow: hidden;
  border-radius: 0;
}

.modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .modal-name {
    font-size: 1.875rem;
  }
}

.modal-title {
  color: #0a1628;
  font-weight: 500;
}

.modal-org {
  color: #525252;
}

.modal-divider {
  display: none;
}

.modal-bio {
  color: #404040;
  line-height: 1.75;
}

