/* ==========================================================================
   leadership.css — Leadership page specific layout
   ========================================================================== */

.leadership-hero {
  min-height: 620px;
  align-items: flex-start;
}

.leadership-hero .page-hero__media {
  top: -80px;
}

/* Heading should start exactly 40px below the (fixed-header-cleared) top of
   the hero image, not the shared component's default top spacing. */
.leadership-hero__content {
  padding-top: calc(var(--header-height) + 40px);
  top: 68px;
}
.founderOfPatil .team-grid .card__role{
      padding-top: 5px;
    text-align: center;
    padding-bottom: 10px;
 }
 .founderOfPatil .founder-message-media{width: 100%;}

@media (min-width: 1024px) {
  .leadership-hero {
    min-height: 90vh;
  }

  .leadership-hero__content {
    max-width: 1100px;
    margin-left: 42%;
  }
}

/* Message from the Founder — quote icon + name/title in one row */
.founder-byline {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.founder-byline h3 {
  margin: 0;
}

.founder-message-text {
  font: italic normal normal 25px/35px Nicholas !important;
}

@media (min-width: 1024px) {
  .founder-message-split {
    grid-template-columns: 4fr 2fr;
  }
}

/* Leadership Team Overview grid — bordered box, dividers between cards,
   image inset with padding rather than edge-to-edge. */
.team-grid {
  gap: 0;
  border: var(--border-width-thin) solid var(--color-border-subtle);
}

.team-grid .card--portrait {
  padding: var(--spacing-lg);
  border-bottom: var(--border-width-thin) solid var(--color-border-subtle);
  background-color: transparent;
}

.team-grid .card__body {
  padding-top: var(--spacing-md);
}

.team-grid .card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-h4);
  line-height: 1.4;
  min-height: calc(1.4em * 1);
}

.team-grid .card__role {
  color: var(--color-gold-light);
  font-size: 12px;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
}

@media (min-width: 768px) {
  .team-grid .card--portrait {
    border-right: var(--border-width-thin) solid var(--color-border-subtle);
  }

  .team-grid .card--portrait:nth-child(3n) {
    border-right: none;
  }
}

/* Right image aligned to the "Message from the Founder" eyebrow's level,
   and sized slightly smaller than the default split-copy media. */
.founder-message-media {
  width: 90%;
  margin-inline: auto;
  margin-top: calc(-1 * (var(--fs-eyebrow) + var(--spacing-xs) + var(--spacing-md)));
}
