/**
 * Leadership section (page-our-journey) + Leadership Spotlight modal (template-parts/leadership-spotlight-modal.php)
 */

.our-journey-container .leadership-section {
  background-color: #ffffff;
  width: calc(100% + 150px);
  position: relative;
  left: -75px;
  padding: 100px 75px 80px;
  margin: 0;
}

.our-journey-container .leadership-section .leadership-section-container {
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1280px) {
  .our-journey-container .leadership-section {
    width: calc(100% + 100px);
    left: -50px;
    padding: 80px 50px 70px;
  }
}

@media (max-width: 768px) {
  .our-journey-container .leadership-section {
    width: calc(100% + 50px);
    left: -25px;
    padding: 48px 20px 40px;
  }
  .our-journey-container .leadership-section .leadership-header {
    margin-bottom: 32px;
    gap: 16px;
  }
  .our-journey-container .leadership-section .leadership-intro {
    color: var(--black-bb, #262626);
    font-size: calc(18px + 0.35vw);
    max-width: none;
    font-family: "Messina Sans", "Inter", sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
  }
}
.our-journey-container .leadership-section .leadership-header {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
  font-family: "Messina Sans", "Inter", sans-serif;
}
@media (max-width: 1100px) {
  .our-journey-container .leadership-section .leadership-header {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }
}
.our-journey-container .leadership-section .leadership-section-title {
  width: 40%;
  font-family: "Messina Sans", "Inter", sans-serif;
  color: var(--bs-heading-color);
  margin: 0;
  font-size: calc(30px + 0.35vw);
  font-weight: 500;
  font-style: normal;
  line-height: 1.2;
}
@media (max-width: 1100px) {
  .our-journey-container .leadership-section .leadership-section-title {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .our-journey-container .leadership-section .leadership-section-title {
    width: 100%;
  }
}
.our-journey-container .leadership-section .leadership-intro {
  width: 60%;
  font-family: "Messina Sans", "Inter", sans-serif;
  font-weight: 300;
  margin: 0;
  color: var(--black-bb, #262626);
  font-size: 26px;
  font-style: normal;
  line-height: 150%;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .our-journey-container .leadership-section .leadership-intro {
    width: 100%;
  }
}

.our-journey-container .leadership-section .leadership-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.our-journey-container .leadership-section .leadership-row {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
  border-bottom: 1px solid #e8e8e8;
}
.our-journey-container .leadership-section .leadership-row:first-of-type {
  border-top: 1px solid #e8e8e8;
}
.our-journey-container .leadership-section .leadership-photo-container {
  width: 40%;
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
  min-width: 0;
}
/* Desktop leadership rows use the same 40/60 split as the header. */
@media (min-width: 1101px) {
  .our-journey-container .leadership-section .leadership-header {
    align-items: start;
    margin-bottom: 48px;
  }
  .our-journey-container .leadership-section .leadership-intro {
    width: 60%;
    flex: initial;
    font-family: "Messina Sans", "Inter", sans-serif;
    font-weight: 300;
    font-size: calc(18px + 0.35vw);
    margin: 0;
  }
  .our-journey-container .leadership-section .leadership-photo {
    border-radius: 12px;
  }
  .our-journey-container .leadership-section .leadership-identity {
    align-self: center;
  }
  .our-journey-container .leadership-section .leadership-name {
    color: #1a1a1a;
    font-weight: 700;
  }
  .our-journey-container .leadership-section .leadership-bio > p {
    font-size: 15px;
    line-height: 1.6;
    color: #737373;
    margin: 0 0 10px;
  }
}
@media (max-width: 1100px) {
  .our-journey-container .leadership-section .leadership-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 28px 0;
  }
  .our-journey-container .leadership-section .leadership-photo-container {
    width: 100%;
    gap: 16px;
  }
  .our-journey-container .leadership-section .leadership-photo-container .leadership-photo {
    width: 180px;
    height: 180px;
    border-radius: 12px;
  }
  .our-journey-container .leadership-section .leadership-identity {
    min-width: 0;
  }
  .our-journey-container .leadership-section .leadership-row .leadership-bio {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .our-journey-container .leadership-section .leadership-row {
    display: flex;
    flex-direction: column;
    column-gap: 14px;
    row-gap: 14px;
    padding: 24px 0;
  }
  .our-journey-container .leadership-section .leadership-photo-container {
    gap: 14px;
  }
  .our-journey-container .leadership-section .leadership-photo-container .leadership-photo {
    width: 140px;
    height: 140px;
    border-radius: 12px;
  }
  .our-journey-container .leadership-section .leadership-photo-container .leadership-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
  }
  .our-journey-container .leadership-section .leadership-photo-container .leadership-role {
    font-size: 14px;
    color: #737373;
  }
  .our-journey-container .leadership-section .leadership-row .leadership-bio > p {
    font-size: 16px;
    line-height: 1.65;
    color: #555555;
    margin: 0 0 12px;
  }
  .our-journey-container .leadership-section .leadership-more {
    margin-top: 2px;
  }
}
.our-journey-container .leadership-section .leadership-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}
.our-journey-container .leadership-section .leadership-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.our-journey-container .leadership-section .leadership-name {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(17px + 0.2vw);
  font-weight: 700;
  color: #262626;
  margin: 0 0 6px;
  line-height: 1.3;
}
.our-journey-container .leadership-section .leadership-role {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(14px + 0.15vw);
  font-weight: 400;
  color: #737373;
  margin: 0;
  line-height: 1.4;
}
.our-journey-container .leadership-section .leadership-bio {
  min-width: 0;
  width: 60%;
  max-width: none;
  margin-left: 0;
}
.our-journey-container .leadership-section .leadership-bio > p {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-weight: 300;
  font-size: calc(15px + 0.15vw);
  line-height: 1.55;
  color: #737373;
  margin: 0 0 14px;
}
.our-journey-container .leadership-section .leadership-more {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(14px + 0.1vw);
  font-weight: 500;
  color: #7191ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.our-journey-container .leadership-section .leadership-more-text {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.our-journey-container .leadership-section .leadership-more-arrow {
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  object-fit: contain;
}
.our-journey-container .leadership-section .leadership-more:hover,
.our-journey-container .leadership-section .leadership-more:focus {
  outline: none;
}
.our-journey-container .leadership-section .leadership-more:focus-visible {
  outline: 2px solid #7191ff;
  outline-offset: 2px;
}
.our-journey-container .leadership-section a.leadership-more,
.our-journey-container .leadership-section button.leadership-more {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}
.our-journey-container .leadership-section a.leadership-more {
  text-decoration: none;
}

.leadership-spotlight-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(38, 38, 38, 0.55);
}
.leadership-spotlight-dialog {  
  position: fixed;
  inset: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  box-sizing: border-box;
  fill: rgba(67, 67, 67, 0.80);
  backdrop-filter: blur(1.5px);
}
.leadership-spotlight-dialog[hidden],
.leadership-spotlight-backdrop[hidden] {
  display: none !important;
}
.leadership-spotlight-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 1120px;
  width: 100%;
  overflow: hidden;
  gap: 4px;
  margin: auto;
}

.leadership-spotlight-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.leadership-spotlight-main {
  flex: 1 1 58%;
  min-width: 0;
  padding: 48px 44px 48px 48px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #ffffff;
}
.leadership-spotlight-aside {
  flex: 1 1 42%;
  gap: 4px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
}
.leadership-spotlight-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #737373;
}
.leadership-spotlight-eyebrow--mobile {
  margin: 0;
}
.leadership-spotlight-eyebrow--desktop {
  display: flex;
}
.leadership-spotlight-eyebrow-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7191ff;
  margin-right: 10px;
  flex-shrink: 0;
}

.leadership-modal-name {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(26px + 0.5vw);
  font-weight: 700;
  color: #262626;
  margin: 0 0 10px;
  line-height: 1.15;
}
.leadership-modal-role {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(16px + 0.15vw);
  font-weight: 500;
  color: #525252;
  margin: 0 0 28px;
}
.leadership-modal-bio p {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-weight: 300;
  font-size: calc(14px + 0.12vw);
  line-height: 1.65;
  color: #737373;
  margin: 0 0 16px;
}
.leadership-modal-bio p:last-child {
  margin-bottom: 0;
}
.leadership-modal-photo-wrap {
  position: relative;
  flex: 0 0 auto;
  background: none;
}

.leadership-modal-photo {
  width: 100%;
  max-height: 498px;
  border-radius: 20px;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}
.leadership-modal-close--image {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(38, 38, 38, 0.72);
  transition: background 0.2s ease;
}
.leadership-modal-close--image:hover,
.leadership-modal-close--image:focus {
  background: rgba(38, 38, 38, 0.88);
  outline: none;
}
.leadership-modal-close--image:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.leadership-modal-close--mobile-bar {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(38, 38, 38, 0.85);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.leadership-modal-close--mobile-bar:hover,
.leadership-modal-close--mobile-bar:focus {
  background: #262626;
  outline: none;
}
.leadership-modal-close--mobile-bar:focus-visible {
  outline: 2px solid #7191ff;
  outline-offset: 2px;
}
.leadership-modal-close-x {
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
}
.leadership-modal-quote-block {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 26px 32px;
  box-sizing: border-box;
  min-height: 200px;
  border-radius: 20px;
}

.leadership-modal-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-family: "Messina Sans", "Inter", sans-serif;
  font-size: calc(17px + 0.2vw);
  font-weight: 600;
  line-height: 1.45;
}
.leadership-modal-quote::before {
  content: '"';
}
.leadership-modal-quote::after {
  content: '"';
}
.leadership-modal-linkedin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.leadership-modal-linkedin-label {
  font-family: "Messina Sans", "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
}
.leadership-modal-linkedin-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  border-radius: 4px;
}
.leadership-modal-linkedin-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.leadership-modal-linkedin-link:hover .leadership-modal-linkedin-icon,
.leadership-modal-linkedin-link:focus .leadership-modal-linkedin-icon {
  opacity: 0.9;
}
.leadership-modal-linkedin-link:focus {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.leadership-modal-quote {
  margin: auto 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.leadership-spotlight-dialog--variant-light .leadership-modal-quote-block {
  background: #99f399;
}
.leadership-spotlight-dialog--variant-light .leadership-modal-quote {
  color: #262626;
}

.leadership-spotlight-dialog--variant-light .leadership-modal-linkedin-label {
  color: #262626;
}

.leadership-spotlight-dialog--variant-light .leadership-modal-linkedin-link {
  color: #262626;
}
.leadership-spotlight-dialog--variant-dark .leadership-modal-quote-block {
  background: #262626;
}

.leadership-spotlight-dialog--variant-dark .leadership-modal-quote {
  color: #97FCA1;
}

.leadership-spotlight-dialog--variant-dark .leadership-modal-linkedin-label {
  color: #97fca1;
}
.leadership-spotlight-dialog--variant-dark .leadership-modal-linkedin-link {
  color: #8fd9a8;
}
body.leadership-spotlight-open {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .leadership-spotlight-inner {
    flex-direction: column;
    align-items: stretch;
    max-height: none;
    border-radius: 20px;
    gap: 0;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  }
  .leadership-spotlight-mobile-bar {
    display: flex;
    order: 1;
    padding: 20px 20px 16px;
    width: 100%;
  }
  .leadership-spotlight-eyebrow--desktop {
    display: none !important;
  }
  .leadership-modal-close--image {
    display: none !important;
  }
  .leadership-modal-close--mobile-bar {
    display: inline-flex;
  }
  .leadership-spotlight-aside {
    order: 2;
    min-width: 0;
    width: 100%;
  }
  .leadership-spotlight-main {
    order: 3;
    padding: 8px 20px 28px;
    border-radius: 0;
    background: transparent;
  }
  .leadership-modal-photo-wrap {
    border-radius: 0;
  }
  .leadership-modal-photo {
    display: block;
    max-height: none;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    margin: 0 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    object-fit: cover;
  }
  .leadership-modal-name {
    font-size: calc(22px + 1.2vw);
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .leadership-modal-role {
    margin-bottom: 20px;
    color: #737373;
    font-weight: 400;
  }
  .leadership-modal-bio p {
    font-size: 15px;
    line-height: 1.65;
    color: #525252;
    margin-bottom: 18px;
  }
  .leadership-modal-quote-block {
    display: none;
  }
}
@media (max-width: 480px) {
  .leadership-spotlight-dialog {
    padding: 12px;
  }
  .leadership-spotlight-mobile-bar {
    padding: 16px 16px 12px;
  }
  .leadership-spotlight-main {
    padding: 4px 16px 24px;
  }
  .leadership-modal-photo {
    margin: 0 16px;
    width: calc(100% - 32px);
    border-radius: 14px;
  }
}
