/* VMI Faculty profile — single view.
 * Matches Figma faculty profile layout and typography tokens. */

.vmi-faculty-profile {
  background-color: #FBFAF7;
  font-family: "museo-sans", "Helvetica Neue", Arial, sans-serif;
  color: #313132;
}

.vmi-faculty-profile__container {
  max-width: min(1280px, 100% - 160px);
  margin-inline: auto;
  padding: 80px 0px 96px 0px;
}

/* Breadcrumbs */

.vmi-faculty-profile__breadcrumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.vmi-faculty-profile__breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.vmi-faculty-profile__breadcrumb-row a {
  font-weight: 700;
  color: #727272;
  text-decoration: none;
}

.vmi-faculty-profile__breadcrumb-row a:hover,
.vmi-faculty-profile__breadcrumb-row a:focus-visible {
  color: #8B0E22;
}

.vmi-faculty-profile__breadcrumb-current {
  font-weight: 300;
  color: #727272;
}

.vmi-faculty-profile__breadcrumb-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background-color: #BCBCBC;
  flex-shrink: 0;
}

/* Two-column layout */

.vmi-faculty-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 405px;
  grid-template-areas:
    "intro photo"
    "content sidebar"
    "accordions sidebar";
  column-gap: 142px;
  row-gap: 48px;
  align-items: start;
}

.vmi-faculty-profile__photo {
  grid-area: photo;
}

.vmi-faculty-profile__intro {
  grid-area: intro;
}

.vmi-faculty-profile__sidebar-boxes {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vmi-faculty-profile__content-sections {
  grid-area: content;
}

.vmi-faculty-profile__accordions {
  grid-area: accordions;
}

/* Main column intro */

.vmi-faculty-profile__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.vmi-faculty-profile__name {
  margin: 0;
  font-family: "museo-sans", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  color: #313132;
}

.vmi-faculty-profile__job-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #4A4A4B;
}

.vmi-faculty-profile__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.vmi-faculty-profile__contact p {
  margin: 0;
}

.vmi-faculty-profile__contact strong {
  font-weight: 700;
}

.vmi-faculty-profile__contact a {
  color: inherit;
  text-decoration: underline;
}

.vmi-faculty-profile__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.vmi-faculty-profile__links a {
  color: #313132;
  text-decoration: underline;
}

.vmi-faculty-profile__links a:hover,
.vmi-faculty-profile__links a:focus-visible {
  color: #8B0E22;
}

.vmi-faculty-profile__links-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background-color: #BCBCBC;
  flex-shrink: 0;
}

.vmi-faculty-profile__content-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.vmi-faculty-profile__bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.vmi-faculty-profile__bio > :first-child {
  margin-top: 0;
}

.vmi-faculty-profile__bio > :last-child {
  margin-bottom: 0;
}

.vmi-faculty-profile__section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.vmi-faculty-profile__section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #4A4A4B;
  margin-top: 56px;
  font-family: "Museo Sans", sans-serif;
}

.vmi-faculty-profile__section-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.vmi-faculty-profile__section-body > :first-child {
  margin-top: 0;
}

.vmi-faculty-profile__section-body > :last-child {
  margin-bottom: 0;
}

.vmi-faculty-profile__section-body ul,
.vmi-faculty-profile__section-body ol {
  padding-left: 24px;
}

.vmi-faculty-profile__section-body ul ul {
  padding-left: 24px;
}

/* Accordions */

.vmi-faculty-profile__layout > .vmi-faculty-profile__accordions {
  margin-top: 32px;
  border-top: 1px solid #BCBCBC;
}

.vmi-faculty-accordion {
  border-bottom: 1px solid #BCBCBC;
}

.vmi-faculty-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.vmi-faculty-accordion__summary::-webkit-details-marker {
  display: none;
}

.vmi-faculty-accordion__summary:focus-visible {
  outline: 2px solid #8B0E22;
  outline-offset: 4px;
}

.vmi-faculty-accordion__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #8B0E22;
}

.vmi-faculty-accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.vmi-faculty-accordion__icon::before,
.vmi-faculty-accordion__icon::after {
  content: "";
  position: absolute;
  background-color: #8B0E22;
}

.vmi-faculty-accordion__icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.vmi-faculty-accordion__icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vmi-faculty-accordion[open] .vmi-faculty-accordion__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.vmi-faculty-accordion__body {
  padding-bottom: 32px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.vmi-faculty-accordion__body > :first-child {
  margin-top: 0;
}

.vmi-faculty-accordion__body > :last-child {
  margin-bottom: 0;
}

/* Photo */

.vmi-faculty-profile__photo {
  aspect-ratio: 405 / 510;
  //overflow: hidden;
  background-color: #FBFAF7;
}

.vmi-faculty-profile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.vmi-faculty-profile__sidebar-box {
  background-color: #F4F0E5;
  padding: 32px;
  margin-bottom: 20px;
}

.vmi-faculty-profile__sidebar-title {
  margin: 0 0 16px;
  font-family: "Trajan Pro", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #3E3E3E;
  text-transform: capitalize;
}

.vmi-faculty-profile__sidebar-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #313132;
}

.vmi-faculty-profile__sidebar-body > :first-child {
  margin-top: 0;
}

.vmi-faculty-profile__sidebar-body > :last-child {
  margin-bottom: 0;
}

.vmi-faculty-profile__sidebar-body ul {
  padding-left: 24px;
}
body {
  background-color: #FBFAF7;
}

/* Responsive */

@media (max-width: 1024px) {
  .vmi-faculty-profile__container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .vmi-faculty-profile__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "photo"
      "sidebar"
      "content"
      "accordions";
    column-gap: 0;
    row-gap: 48px;
  }

  .vmi-faculty-profile__photo {
    max-width: 405px;
  }
}

@media (max-width: 767px) {
  .vmi-faculty-profile__container {
    padding: 24px 32px 64px;
    max-width: min(451px, 100% - 0px);
  }

  .vmi-faculty-profile__breadcrumbs {
    margin-bottom: 40px;
  }

  .vmi-faculty-profile__layout {
    grid-template-areas:
      "photo"
      "intro"
      "sidebar"
      "content"
      "accordions";
    row-gap: 64px;
  }

  .vmi-faculty-profile__photo {
    max-width: none;
    width: 100%;
  }

  .vmi-faculty-profile__intro {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .vmi-faculty-profile__intro .vmi-faculty-profile__header,
  .vmi-faculty-profile__intro .vmi-faculty-profile__contact {
    margin-bottom: 0;
  }

  .vmi-faculty-profile__name {
    font-size: 38px;
  }

  .vmi-faculty-profile__job-title {
    font-size: 18px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__contact,
  .vmi-faculty-profile__contact p,
  .vmi-faculty-profile__links {
    font-size: 14px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__intro .vmi-faculty-profile__links {
    margin-bottom: 0;
  }

  .vmi-faculty-profile__bio,
  .vmi-faculty-profile__section-body,
  .vmi-faculty-accordion__body {
    font-size: 14px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__section-title,
  .vmi-faculty-accordion__title {
    font-size: 18px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__sidebar-title {
    font-size: 22px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__sidebar-body {
    font-size: 14px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__breadcrumb-row {
    font-size: 14px;
    line-height: 1.5;
  }

  .vmi-faculty-profile__content-sections {
    gap: 40px;
  }

  .vmi-faculty-profile__layout > .vmi-faculty-profile__accordions {
    margin-top: 0;
  }
}
