image.png.leader-content__position-heading{
    color: var(--Red-R300, #AA2C32);
font-family: var(--futura);
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 120%; /* 38.4px */
}
.leader-content__position-text{
    color: var(--Foundation-Grey-G300, #707272);
font-family: var(--futura);
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 24px */
}
.leader-content__position-heading{
  color: var(--Red-R300, #AA2C32)!important;
font-family: var(--futura);
font-size: 32px!important;
font-style: normal;
font-weight: 700!important;
line-height: 120%; /* 38.4px */
}


.leader-content__position-contettttt{
    overflow: hidden;
color: var(--Foundation-Grey-G700, #3F4141);
/* text-overflow: ellipsis;
white-space: nowrap; */
font-family: var(--futura);
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 24px */
}

/* Leadership Modal Slider Navigation */
.leader-slider-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #AA2C32;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.leader-slider-btn:hover {
  background: #AA2C32;
}

.leader-slider-btn:hover svg path {
  stroke: #fff;
}

.leader-slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.leader-slider-btn:disabled:hover {
  background: transparent;
}

.leader-slider-btn:disabled:hover svg path {
  stroke: #AA2C32;
}

/* Modal footer alignment */
.leadership-modal-content .modal-footer {
  padding: 16px 60px 30px;
  border-top: none;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  background: #FFF;
  position: relative;
  z-index: 2;
}

/* Modal Content Layout */
.leadership-modal-content {
  overflow-x: hidden;
}

.leadership-modal-content.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.leadership-modal-content .modal-dialog {
  width: calc(100% - 32px);
  max-width: 960px;
  margin: auto;
  height: auto;
  min-height: 0;
}

.leadership-modal-content .modal-content {
  border-radius: 16px;
  background: #FFF;
  border: none;
  overflow: hidden;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
}

.leadership-modal-content .modal-body {
  padding: 60px;
  padding-bottom: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.leader-modal-scroll-content {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
}

.leader-modal-figure {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  margin: 0;
}

.leader-modal-image {
  width: 330px;
  max-width: 100%;
  height: 390px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.leader-content-container {
  flex: 1;
  min-width: 0;
  max-height: 390px;
  overflow-y: auto;
  overflow-x: hidden;
}

.leader-content-container,
.leader-content__main-content,
.leader-content__position {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.leader-content__position {
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

@media (max-width: 1199px) {
  .leadership-modal-content.show {
    padding: 0;
  }

  .leadership-modal-content .modal-dialog {
    width: calc(100% - 32px);
    margin: 16px auto;
    height: calc(100dvh - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .leadership-modal-content .modal-content {
    height: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
  }

  .leadership-modal-content .modal-body {
    padding: 20px;
    overflow-y: hidden;
    flex: 1 1 0;
    height: 0;
  }

  .leader-modal-figure {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    min-height: 0;
  }
  
  .leader-modal-image {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
  }
  
  .leader-content-container {
    max-height: none;
    overflow-y: visible;
  }
  
  .leadership-modal-content .modal-footer {
    padding: 12px 20px 16px;
    flex: 0 0 auto;
  }

  .leadership-modal-content .modal-header {
    flex: 0 0 auto;
  }
}
@media (max-width: 767px) {
  .leadership-modal-content .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .leadership-modal-content .modal-content {
    height: 100%;
    max-height: calc(100dvh - 20px);
  }

  .leadership-modal-content .modal-body {
    padding: 14px;
    overflow-y: hidden;
  }

  .leader-modal-scroll-content {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
  }

  .leader-modal-image {
    width: 100%;
    height: auto;
    max-height: 34dvh;
    object-fit: contain;
  }

  .leader-content__position-heading {
    font-size: 26px!important;
  }

  .leader-content__position-text,
  .leader-content__position-contettttt {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  .leadership-modal-content .modal-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
    height: calc(100dvh - 16px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 16px);
  }

  .leadership-modal-content .modal-content {
    height: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 16px);
  }

  .leadership-modal-content .modal-body {
    padding: 12px;
  }

  .leader-modal-image {
    max-height: 30dvh;
  }

  .leader-content__position-heading {
    font-size: 22px!important;
  }

  .leader-content__position-text {
    font-size: 16px;
  }

  .leader-content__position-contettttt {
    font-size: 16px;
  }

  .leader-slider-btn {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
  }

  .leadership-modal-content .modal-footer {
    padding: 10px 12px 14px;
  }
}

/* Modal Close Button */
.leader-modal-close {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.leader-modal-close:hover {
  opacity: 0.7;
}

.leader-modal-close:hover svg path {
  stroke: #AA2C32;
}

/* Leadership Tabs */
.nav-pills .nav-link {
  border-radius: 41px;
  border: 1px solid var(--rg-grad, #AA2C32);
  background: var(--Foundation-Grey-G0, #FFF);
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: Futura-Book, var(--futura), sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-align: center;
  background-image: var(--rg-grad, linear-gradient(97deg, #AA2C32 0%, #2B825B 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 41px;
  border: 1px solid var(--rg-grad, #AA2C32);
  background: var(--rg-grad, linear-gradient(97deg, #AA2C32 0%, #2B825B 100%));
  color: var(--Foundation-Grey-G0, #FFF);
  text-align: center;
  font-family: Futura-Book, var(--futura), sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  -webkit-text-fill-color: #FFF;
}
