.expert {
  padding-block: 80px;
  color: var(--color-dark);
  background: #fff;
}

.expert__layout {
  display: grid;
  grid-template-columns: 430px 617px;
  gap: 1px;
  width: 1048px;
  min-height: 632px;
  margin-inline: auto;
}

.expert__portrait-wrap {
  position: relative;
  min-width: 0;
  min-height: 632px;
  overflow: hidden;
  background: var(--color-cream-light);
}

.expert__portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
}

.expert__links {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 10px;
}

.expert__story-link {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--color-red);
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.expert__story-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) {
  .expert__story-link:hover {
    background: #941026;
  }
}

.expert__content {
  min-width: 0;
  padding: 40px;
  background: var(--color-cream-light);
}

.expert__eyebrow,
.expert__title,
.expert__role,
.expert__description,
.expert__principles p {
  margin: 0;
}

.expert__eyebrow {
  color: var(--color-red);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.expert__title {
  margin-top: 21px;
  color: var(--color-red);
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 54px;
}

.expert__role {
  margin-top: 20px;
  color: #818181;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.expert__description {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.expert__description + .expert__description {
  margin-top: 16px;
}

.expert__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 138px;
  margin-top: 40px;
}

.expert__principles p {
  display: grid;
  min-width: 0;
  place-items: center;
  padding-inline: 12px;
  color: var(--color-red);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.expert__principles p + p {
  border-left: 1px solid rgba(185, 14, 43, 0.35);
}

@media (max-width: 1100px) {
  .expert {
    padding-block: 64px;
  }

  .expert__layout {
    grid-template-columns: minmax(340px, 41%) minmax(0, 59%);
    width: min(1048px, calc(100% - 32px));
  }

  .expert__title {
    font-size: clamp(42px, 4.6vw, 50px);
    line-height: 1.08;
  }

  .expert__content {
    padding: clamp(28px, 3.8vw, 40px);
  }

  .expert__description br,
  .expert__role br {
    display: none;
  }

  .expert__principles p {
    font-size: clamp(17px, 2vw, 20px);
  }
}

@media (max-width: 820px) {
  .expert__layout {
    grid-template-columns: 1fr;
  }

  .expert__portrait-wrap {
    min-height: 620px;
  }

  .expert__content {
    padding: 40px 32px;
  }
}

@media (max-width: 560px) {
  .expert {
    padding-block: 48px;
  }

  .expert__portrait-wrap {
    min-height: 445px;
  }

  .expert__links {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 8px;
  }

  .expert__story-link {
    min-height: 52px;
    font-size: 16px;
  }

  .expert__content {
    padding: 32px 24px;
  }

  .expert__title {
    margin-top: 14px;
    font-size: 40px;
  }

  .expert__description {
    font-size: 16px;
    line-height: 24px;
  }

  .expert__principles {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 32px;
  }

  .expert__principles p {
    min-height: 92px;
    font-size: 20px;
  }

  .expert__principles p + p {
    border-top: 1px solid rgba(185, 14, 43, 0.35);
    border-left: 0;
  }
}
