.bod-page .section-title {
  margin-bottom: 50px;
}

.bod-page .bod-directors-row {
  align-items: stretch;
}

.bod-page .bod-card-column {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.bod-page .single-teacher {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.bod-page .teacher-thumb > img {
  width: 100%;
  display: block;
}

.bod-page .tch-meta {
  flex: 1;
  height: auto;
  min-height: 160px;
  padding: 18px 18px 22px;
  text-align: center;
}

.bod-page .tch-meta .phoay {
  display: block;
  min-height: 22px;
  margin-bottom: 4px;
  color: #de9b44;
  font-weight: 700;
  text-transform: uppercase;
}

.bod-page .tch-meta h4 {
  margin-bottom: 8px;
  color: #0e3c6d;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.bod-page .tch-meta p:last-child {
  margin-bottom: 0;
}

.bod-know-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 22px;
  background: linear-gradient(to top, rgba(14, 60, 109, 0.3), rgba(14, 60, 109, 0) 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-teacher:hover .bod-know-more,
.single-teacher:focus-within .bod-know-more {
  opacity: 1;
}

.bod-know-more-button {
  min-width: 132px;
  padding: 10px 22px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #de9b44;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bod-know-more-button:hover,
.bod-know-more-button:focus-visible {
  background: #fff;
  color: #0e3c6d;
  transform: translateY(-2px);
  outline: none;
}

.bod-modal[hidden],
.bod-modal-profile[hidden] {
  display: none !important;
}

body.bod-modal-open {
  overflow: hidden;
}

.bod-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.bod-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 22, 39, 0.88);
}

.bod-modal-dialog {
  position: relative;
  z-index: 2;
  width: 80vw;
  height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(222, 155, 68, 0.5);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.bod-modal-profiles,
.bod-modal-profile {
  width: 100%;
  height: 100%;
}

.bod-modal-profile {
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 58%);
}

.bod-modal-photo {
  min-height: 0;
  overflow: hidden;
  background: #0e3c6d;
}

.bod-modal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.bod-modal-details {
  overflow-y: auto;
  padding: 62px 68px 54px;
  color: #343a40;
  text-align: center;
}

.bod-modal-company-logo {
  width: auto;
  max-width: 210px;
  height: auto;
  max-height: 96px;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.bod-modal-details h2 {
  margin-bottom: 8px;
  color: #0e3c6d;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.bod-modal-role {
  display: inline-block;
  margin-bottom: 13px;
  padding: 6px 12px;
  border-radius: 3px;
  background: #de9b44;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bod-modal-position {
  padding-bottom: 22px;
  border-bottom: 1px solid #e6e8eb;
  color: #0e3c6d;
  font-size: 17px;
  font-weight: 600;
}

.bod-modal-position p:last-child,
.bod-modal-biography p:last-child {
  margin-bottom: 0;
}

.bod-modal-biography {
  margin-top: 25px;
  color: #343a40;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

.bod-modal-position p,
.bod-modal-position li,
.bod-modal-biography p,
.bod-modal-biography li {
  color: inherit;
}

.bod-modal-position ul,
.bod-modal-position ol,
.bod-modal-biography ul,
.bod-modal-biography ol {
  margin: 0 0 1.5em 1.25em;
}

.bod-modal-position a,
.bod-modal-biography a {
  color: #0e3c6d;
  text-decoration: underline;
}

.bod-modal-biography h1,
.bod-modal-biography h2,
.bod-modal-biography h3,
.bod-modal-biography h4,
.bod-modal-biography h5,
.bod-modal-biography h6 {
  color: #0e3c6d;
}

.bod-modal-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.bod-modal-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #de9b44;
  border-radius: 50%;
  background: #de9b44;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bod-modal-socials a:hover,
.bod-modal-socials a:focus-visible {
  background: #fff;
  color: #0e3c6d;
  transform: translateY(-2px);
  outline: none;
}

.bod-modal-close,
.bod-modal-arrow {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #0e3c6d;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bod-modal-close:hover,
.bod-modal-close:focus-visible,
.bod-modal-arrow:hover,
.bod-modal-arrow:focus-visible {
  background: #de9b44;
  color: #fff;
  outline: none;
}

.bod-modal-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.bod-modal-arrow {
  top: 50%;
  width: 46px;
  height: 58px;
  transform: translateY(-50%);
  border-radius: 4px;
  font-size: 22px;
}

.bod-modal-previous {
  left: 18px;
}

.bod-modal-next {
  right: 18px;
}

@media (hover: none) {
  .bod-know-more {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .bod-modal-dialog {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .bod-modal-profile {
    display: block;
    overflow-y: auto;
  }

  .bod-modal-photo {
    height: 40vh;
    min-height: 280px;
  }

  .bod-modal-details {
    overflow: visible;
    padding: 38px 48px 70px;
    text-align: center;
  }

  .bod-modal-biography {
    text-align: center;
  }

  .bod-modal-position ul,
  .bod-modal-position ol,
  .bod-modal-biography ul,
  .bod-modal-biography ol {
    margin-left: 0;
    list-style-position: inside;
  }

  .bod-modal-arrow {
    position: absolute;
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 575px) {
  .bod-page .bod-card-column {
    padding-right: 24px;
    padding-left: 24px;
  }

  .bod-modal-photo {
    height: 36vh;
    min-height: 230px;
  }

  .bod-modal-details {
    padding: 30px 24px 82px;
  }

  .bod-modal-company-logo {
    max-width: 175px;
    max-height: 80px;
    margin-bottom: 22px;
  }

  .bod-modal-close {
    top: 12px;
    right: 12px;
  }

  .bod-modal-arrow {
    bottom: 12px;
  }

  .bod-modal-previous {
    left: 12px;
  }

  .bod-modal-next {
    right: 12px;
  }
}
