.faculty-info {
  margin-bottom: 2rem;
}

.faculty-info__wrapper {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .faculty-info__wrapper {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 6rem;
  }
}

.faculty-info__left {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .faculty-info__left {
    margin: 0;
    position: sticky;
    top: calc(var(--header-height-1px, 60px) + 2rem);
  }
}

.faculty-info__logo {
    width: 100%;
}

.faculty-info__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .faculty-info__left {
    max-width: unset;
  }
}

.faculty-presentation-strip {
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.fps-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  text-decoration: none !important;
  color: var(--color-blue-200);
  background-color: var(--color-white);
  border: 1px solid var(--color-blue-200);
  border-radius: 0;
  transition: all 0.3s ease;
}

.fps-link:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(38, 90, 166, 0.15);
}

.fps-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fps-label,
.fps-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(38, 90, 166, 0.3);
  padding-right: 1rem;
  color: inherit;
  transition: border-color 0.3s ease;
}

.fps-link:hover .fps-label,
.fps-link:hover .fps-icon-wrapper {
  border-right-color: var(--color-blue-200);
}

.fps-label {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fps-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.fps-link:hover .fps-icon {
  opacity: 1;
}

.fps-title {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: inherit;
}

.fps-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-blue-200);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fps-link:hover .fps-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .fps-title {
    font-size: 0.85rem;
  }
}

.faculty-info__description {
  width: 100%;
}

@media (min-width: 900px) {
  .faculty-info__description {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}

.faculty-history-text {
  max-height: 250px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

@media (max-width: 899px) {
  .faculty-history-text h2 {
    margin-top: 0rem !important;
  }
}

.faculty-history-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  transition: opacity 0.3s ease;
}

.faculty-history-text._expanded {
  max-height: 10000px;
  transition: max-height 0.8s ease-in-out;
}

.faculty-history-text._expanded::after {
  opacity: 0;
  pointer-events: none;
}

.faculty-history-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--color-blue-200);
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 1.5rem 0 0 0;
  margin: 0;
  transition: color 0.3s ease;
}

.faculty-history-toggle:hover {
  color: var(--color-blue-100);
}

.faculty-history-toggle._expanded svg {
  transform: rotate(180deg);
}

.faculty-compound__title__container {
  border-bottom: 1px solid var(--color-grey-050);
  padding-bottom: 0.5rem;
  margin-bottom: 1.875rem;
}

.faculty-compound__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: var(--color-blue-200);
}

.faculty-compound-list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.875rem;
}

.faculty-compound-list > .faculty-compound-list__item * .faculty-compound-list__item {
  border-top: 1px solid var(--color-grey-050);
  padding-top: 1.875rem;
}

.faculty-compound-list._department:not(._active) .faculty-compound-list__item:not(:first-child) {
  display: none;
}

.faculty-compound-list__more {
  grid-column-start: 1;
  width: fit-content;
}

.faculty-compound-list__more:not(._active) .less,
.faculty-compound-list__more._active .more {
  display: none;
}

.faculty-worker {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  line-height: 140%;
  color: var(--color-grey-300);
}

.faculty-worker.ai-center {
  align-items: center;
}

.faculty-worker__img {
  position: relative;
  display: block;
  width: 5rem;
  flex-shrink: 0;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
}

.faculty-worker__img__container {
  display: block;
  padding-top: 100%;
}

.faculty-worker__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-worker__info {
  flex: 1;
  min-width: 0;
  width: auto;
}

.faculty-worker__info > * + * {
  margin-top: 0.625rem;
}

.faculty-worker__link {
  position: relative;
  display: block;
  color: var(--color-blue-200);
}

.faculty-worker__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  text-decoration-color: var(--color-blue-200);
  text-underline-offset: 0.375rem;
}

html:not(.v-mobile) .faculty-worker__link:hover .faculty-worker__title,
.faculty-worker__link:focus-visible .faculty-worker__title {
  text-decoration: underline;
}

.faculty-worker__description {
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 0;
  width: 100%;
}

.faculty-worker-details {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faculty-worker-details__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faculty-worker-details__item > * + * {
  margin-left: 0.625rem;
}

.faculty-worker-details__name {
  width: 100%;
  max-width: 4.5rem;
  flex-shrink: 0;
}

.faculty-structure__container {
  padding: 0 var(--wrap-1);
}

.faculty-worker-details__value > * + * {
  margin-top: 0.5em;
}

.faculty-worker-details__value > *:last-child::after {
  display: none;
}

.faculty-worker-details__value > a {
  color: inherit;
  word-break: break-word;
  /* text-decoration-color: var(--color-blue-200); */
  text-underline-offset: 0.1875rem;
}

html:not(.v-mobile) .faculty-worker-details__value > a:hover,
.faculty-worker-details__value > a:focus-visible {
  text-decoration: underline;
}

.faculty-structure._grey .faculty-structure__container {
  padding: 0 var(--wrap);
}

.faculty-structure__container.col_2 {
  display: grid;
  gap: 3.25rem;
}

.faculty-structure._grey .faculty-structure__wrapper {
  background-color: var(--color-grey-010);
}

.faculty-structure__image {
  width: 100%;
  height: 100%;
  max-height: 90px;
  object-fit: cover;
}

.faculty-structure__title__container {
  border-bottom: 1px solid var(--color-grey-050);
  padding-bottom: 0.5rem;
  margin-bottom: 1.275rem;
}

.faculty-structure__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: var(--color-blue-200);
}

.faculty-structure-list__item > * + * {
  margin-top: 0.625rem;
}

.faculty-structure-list__link {
  color: var(--color-blue-200);
}

.faculty-structure-list__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 116%;
  color: inherit;
  text-decoration-color: var(--color-blue-200);
  text-underline-offset: 0.375rem;
}

html:not(.v-mobile) .faculty-structure-list__link:hover .faculty-structure-list__title,
.faculty-structure-list__link:focus-visible .faculty-structure-list__title {
  text-decoration: underline;
}

.faculty-structure-list__additional {
  font-weight: 400;
  line-height: 140%;
  color: var(--color-grey-300);
}

.faculty-structure-list__additional > * + * {
  margin-top: 0.625rem;
}

.faculty-structure .typography table {
  width: 100%;
  margin: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.partners-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  padding: 10px;
  background-color: var(--color-white);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.partners-grid__item:hover {
  border-color: var(--color-grey-050);
  background-color: var(--color-grey-010);
}

.partners-grid__item img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
  display: block;
}

.partners-grid__item a {
  color: var(--color-blue-200);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.3;
  padding: 15px;
  transition: color 0.3s ease;
}

.partners-grid__item a:hover {
  color: var(--color-blue-100);
}

@media (max-width: 899px) {
  .faculty-info__wrapper > * + * {
    margin-top: 2rem;
  }
  .faculty-compound__title {
    font-size: 1.25rem;
  }
  .faculty-worker {
    font-size: 0.75rem;
  }
  .faculty-worker > * + * {
    margin-left: 1.5rem;
  }
  .faculty-worker__img {
    max-width: 5rem;
  }
  .faculty-worker__title {
    font-size: 1rem;
  }
  .faculty-structure._grey .faculty-structure__wrapper {
    padding: 1.5rem var(--wrap-colored);
  }
  .faculty-structure__title {
    font-size: 1.25rem;
  }
  .faculty-structure-list > * + * {
    margin-top: 1.25rem;
  }
  .faculty-structure-list__title {
    font-size: 1rem;
  }
  .faculty-structure-list__additional {
    padding-left: 1.5rem;
    font-size: 0.75rem;
  }
  .faculty-structure-list__description > * + * {
    margin-top: 0.5em;
  }
}

@media (max-width: 1199px) {
  .faculty-structure._grey .faculty-structure__container {
    padding: 0;
  }
}

@media (min-width: 900px) {
  .faculty-worker {
    font-size: 0.875rem;
  }
  .faculty-worker > * + * {
    margin-left: 2rem;
  }
  .faculty-structure__container.col_2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .faculty-structure._grey .faculty-structure__wrapper {
    padding: 3.75rem var(--wrap-colored);
  }
  .faculty-structure-list {
    max-width: 26.25rem;
  }
  .faculty-structure-list > * + * {
    margin-top: 1.625rem;
  }
  .faculty-structure-list__additional {
    padding-left: 2rem;
    font-size: 1rem;
  }
  .faculty-structure-list__description > * + * {
    margin-top: 0.25em;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .faculty-compound__title {
    font-size: 1.375rem;
  }
  .faculty-worker__img {
    width: 7.5rem;
    max-width: 7.5rem;
  }
  .faculty-worker__title {
    font-size: 1rem;
  }
  .faculty-structure__title {
    font-size: 1.375rem;
  }
  .faculty-structure-list__title {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .faculty-compound__title {
    font-size: 1.375rem;
  }
  .faculty-worker__img {
    width: 7.5rem;
    max-width: 7.5rem;
  }
  .faculty-worker__title {
    font-size: 1.125rem;
  }
  .faculty-structure__title {
    font-size: 1.375rem;
  }
  .faculty-structure-list__title {
    font-size: 1.125rem;
  }
}

@media (min-width: 1200px) and (min-width: 1350px) {
  .faculty-compound-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-compound-list > .faculty-compound-list__item + .faculty-compound-list__item:nth-child(2) {
    border-top: unset;
    padding-top: unset;
  }
}

@media (min-width: 1200px) and (min-width: 1540px) {
  .faculty-compound__title {
    font-size: 1.5rem;
  }
  .faculty-structure__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1620px) {
  .faculty-compound-list {
    column-gap: 2.625rem;
  }
}

@media (min-width: 1200px) and (min-width: 1620px) {
  .faculty-compound-list__item {
    margin-right: 4.0625rem;
  }
  .faculty-worker__img {
    width: 10rem;
    max-width: 10rem;
  }
}

@media (min-width: 1200px) and (min-width: 1700px) {
  .faculty-worker-details__value > * + * {
    margin-top: unset;
    margin-left: 0.25em;
  }
}

@media (min-width: 2000px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
  }
  .partners-grid__item {
    min-height: 180px;
    padding: 20px;
  }
  .partners-grid__item img {
    max-height: 160px;
  }
  .partners-grid__item a {
    font-size: 1.75rem;
  }
}

@media (max-width: 991px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
  .partners-grid__item {
    min-height: 100px;
  }
  .partners-grid__item a {
    font-size: 1rem;
    padding: 10px;
  }
  .partners-grid__item img {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .partners-grid__item a {
    font-size: 0.9rem;
  }
}