.page-hero {
    min-height: 400px !important;
}

/* shared section heading */
.mvc-mgmt-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 70px;
  justify-content: center;
  width: 100%;
  padding: 0px 20%;
}

.history-mgmt-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 70px;
  justify-content: center;
  width: 100%;
  padding: 0px 10%;
}

.mgmt-heading-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 950px;
}

.mgmt-heading {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 70px;
  justify-content: center;
  width: 100%;
}


.mgmt-heading-line {
  flex: 1;
  height: 2px;
  background: var(--red);
  max-width: none;
  margin: 0;
}

.mgmt-heading-line--navy {
  background: #060764;
}

.mgmt-heading-line.mgmt-heading-line--navy.history-line {
  background: #FFFFFF;
}

.mgmt-section--alt .mgmt-heading-line {
  background: var(--navy);
}

.mgmt-heading-line--light {
  background: rgba(255, 255, 255, .35);
  margin-left: 22px;
}

.mgmt-heading-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
  white-space: nowrap;
}

.mgmt-heading-title.title-1{
  margin-left: 15%;
}
.mgmt-heading-title.title-2{
  margin-right: 30%;
}

.mgmt-heading-title.title-3{
  margin-left: 30%;
}
.mgmt-heading-title.title-4{
  margin-right: 10%;
}


.mgmt-heading--light .mgmt-heading-title {
  color: #fff;
}

/* MISSION / VISION / CORE VALUES SECTION */
.mvc-section {
  padding: 70px 0 0;
  background: #fff;
}

.mvc-row {
  display: grid;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  background-color: #F8F8F8;
}

.mvc-row--img-left {
  grid-template-columns: 1fr 1fr;
}

.mvc-row--img-right {
  grid-template-columns: 1fr 1fr;
}

/* Image side */
.mvc-img {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.mvc-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.mvc-content {
  padding: 52px 56px;

}

.mvc-row--img-right .mvc-content {
  padding: 52px 56px;
}

.mvc-row--corevalues .mvc-content {
  padding: 52px 56px;
}

.mvc-label {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.1;
}

.mvc-content p {
  font-size: 16px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 14px;
}

.mvc-content p:last-child {
  margin-bottom: 0;
}

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

.corevalues-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: #707372;
  line-height: normal;
  font-weight: 400;
}

.cv-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 10px;
  color: var(--navy);
  font-weight: 700;
}

.cv-check::after {
  content: "✓";
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
}

.corevalues-list li .cv-check {
  font-size: 0;
}

.corevalues-list li strong {
  color: #707372;
  font-weight: 700;
}

/* HISTORY & COMPANY OVERVIEW */

.history-section {
  padding: 62px 0 70px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  background: #030416fc;
  background-image: url("../images/PatternBg.png");
  overflow: hidden;
}


.history-section .container {
  position: relative;
  z-index: 2;
}

.history-section .mgmt-heading-title {
  color: #fff;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.history-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-content {
  color: #fff;
}

.history-content .years-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.history-content .years-badge {
  width: 110px;
  height: 110px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 50px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}

.history-content .years-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.history-content .years-text {
  font-family: var(--font-title);
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.history-content p {
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.history-content p:last-child {
  margin-bottom: 0;
}


/* LEADERSHIP TEAM */
.leadership-section {
  padding: 80px 0 88px;
  background: #fff;
  background-image: url('../images/PatternBg.png');
  background-size: auto;
  background-position: center;
  background-repeat: inherit;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.leadership-group-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 28px;
}

.leadership-group-title--advisers {
  margin-top: 48px;
}

.leadership-grid--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

.leadership-grid--centered .leader-card {
  width: calc((100% - 48px) / 4);
}

.leader-card {
  background: #222;
  border: none;
  overflow: hidden;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7, 7, 101, .14);
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8eaf0;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .4s ease;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.04);
}

.leader-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 18px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.72) 40%);
}

.leader-name {
  font-family: var(--font-title);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
}

.leader-title {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  line-height: 1.45;
  margin-bottom: 12px;
  min-height: 32px;
}

.leader-link {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-bottom: 1px solid #fff;
  background: none;
  padding: 0 0 2px 0;
  text-transform: uppercase;
  letter-spacing: .3px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.leader-link:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Cards without a photo keep the same footprint as photo cards */
.leader-card--no-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--navy) 0%, #0a1b3a 100%);
}

.leader-card--no-photo .leader-info {
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .35) 60%);
}


/* LEADER DETAIL PANEL */
.leader-detail {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--navy);
  position: relative;
}

.leadership-section.is-detail-open .leadership-grid {
  display: none;
}

.leadership-section.is-detail-open.is-detail-from-directors .leadership-group--advisers {
  display: none;
}

.leadership-section.is-detail-open.is-detail-from-advisers .leadership-group--directors {
  display: none;
}

.leadership-section.is-detail-open .leader-detail {
  display: flex;
}

/* Top row: photo left + intro right */
.leader-detail__top {
  display: grid;
  grid-template-columns: 380px 1fr;
}

/* When a member has no photo, drop the photo column and go full width */
.leader-detail--no-photo .leader-detail__top {
  grid-template-columns: 1fr;
}

.leader-detail--no-photo .leader-detail__photo {
  display: none;
}

.leader-detail__photo {
  overflow: hidden;
  background: #e8eaf0;
}

.leader-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  min-height: 420px;
}

.leader-detail__body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.leader-detail__close {
  position: absolute;
  top: 2px;
  right: -16px;
  z-index: 6;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.leader-detail__close:hover {
  background: var(--navy);
  color: #fff;
}

/* Wide desktops have enough side margin to sit the button fully outside the box */
@media (min-width: 1260px) {
  .leader-detail__close {
    top: 0;
    right: -38px;
  }
}

.leader-detail__name {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.leader-detail__title {
  font-size: 12.5px;
  color: #777;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 20px;
}

.leader-detail__intro {
  font-size: 16px;
  color: #707372;
  line-height: 1.75;
}

.leader-detail__intro p {
  margin-bottom: 12px;
}

.leader-detail__intro p:last-child {
  margin-bottom: 0;
}

/* Full-width bio below */
.leader-detail__bio {
  padding: 32px 48px;
  border-top: 1px solid #eee;
  font-size: 16px;
  color: #707372;
  line-height: 1.75;
}

.leader-detail__bio p {
  margin-bottom: 13px;
}

.leader-detail__bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .leader-detail__top {
    grid-template-columns: 1fr;
  }

  .leader-detail__photo {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .leader-detail__img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
    object-position: top center;
  }

  .leader-detail__body {
    padding: 36px 32px;
  }

  .leader-detail__bio {
    padding: 28px 32px;
  }
}

@media (max-width: 575px) {
  .leader-detail__close {
    top: 2px;
    right: -10px;
    width: 28px;
    height: 28px;
  }

  .leader-detail__body {
    padding: 28px 20px;
  }

  .leader-detail__bio {
    padding: 24px 20px;
  }
}

/* OUR OFFICES */
.offices-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: #010114;
}

.offices-left {
  display: flex;
  align-items: center;
  padding: 60px 52px;
}

.offices-text {
  max-width: 100%;
  width: 100%;
}

.offices-title {
  font-family: var(--font-title);
  color: var(--navy);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.1;
  color: #FFFFFF;
}

.offices-sub {
  font-size: 13.5px;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 380px;
}

.btn-offices {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  color: #fff;
  border: 1px solid #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: .25s;
  margin-bottom: 36px;
}

.btn-offices:hover {
  background: var(--navy2);
}

.offices-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 2px 0;
  border-bottom: solid 1px rgba(255, 255, 255, .3);
  transition: all .2s;
}

.office-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #ffffff54
;
  margin-top: 0;
  transition: color .2s;
}

.office-item--active .office-icon,
.office-item:hover .office-icon {
  color: #FFFFFF;
}

.office-item h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff54;
  margin-bottom: 4px;
  line-height: 1.2;
  transition: color .2s;
}

.office-item--active h4,
.office-item:hover h4 {
  color: #FFFFFF;
}

.office-item p {
  font-size: 12px;
  color: #ffffff54
;
  line-height: 1.5;
  transition: color .2s;
}

.office-item--active p,
.office-item:hover p {
  color: #FFFFFF;
}

.offices-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px 80px;
}

.offices-map-img {
  max-width: 100%;
  max-height: 564px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.1) contrast(1.05);
}


/* RESPONSIVE */
@media (max-width: 1100px) {
  .leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .leadership-grid--centered .leader-card {
    width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 991px) {

  .mvc-row--img-left,
  .mvc-row--img-right {
    grid-template-columns: 1fr;
  }

  .mvc-row--img-right .mvc-img {
    order: -1;
  }

  .mvc-content,
  .mvc-row--img-right .mvc-content,
  .mvc-row--corevalues .mvc-content {
    padding: 40px 32px;
  }

  .mvc-img {
    min-height: auto;
  }

  .mvc-img img {
    height: auto;
    object-fit: contain;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-content {
    text-align: center;
  }

  .history-content .years-row {
    justify-content: center;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid--centered .leader-card {
    width: calc((100% - 16px) / 2);
  }

  .offices-section {
    grid-template-columns: 1fr;
  }

  .offices-right {
    min-height: 340px;
  }

  .mgmt-hero-symbol {
    width: 120px;
  }

  .mgmt-heading {
    flex-wrap: nowrap;
  }

  .mgmt-heading-title {
    font-size: 24px;
    white-space: normal;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .leadership-group.leadership-group--directors,
  .leadership-group.leadership-group--advisers {
    padding-left: 12px;
    padding-right: 12px;
  }

  .leader-detail__close {
    right: 0;
  }
}

@media (max-width: 767px) {
  .mgmt-hero-symbol {
    width: 90px;
  }

  .mvc-section {
    padding: 60px 0 0;
  }

  .mvc-content,
  .mvc-row--img-right .mvc-content,
  .mvc-row--corevalues .mvc-content {
    padding: 32px 24px;
  }

  .history-section {
    padding: 60px 0 68px;
  }

  .leadership-section {
    padding: 60px 0 68px;
  }

  .offices-left {
    padding: 44px 28px;
  }

  .offices-right {
    padding: 32px 24px;
  }
}

@media (max-width: 575px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .leadership-grid--centered .leader-card {
    width: calc((100% - 12px) / 2);
  }

  .mgmt-heading-line--red,
  .mgmt-heading-line--navy,
  .mgmt-heading-line--light {
    display: none;
  }

  .mgmt-heading {
    justify-content: center;
    margin-bottom: 36px;
  }

  .mgmt-heading-title {
    font-size: 26px;
  }

  .offices-text {
    max-width: 100%;
  }
}