.service-experts {
  color-scheme: light;
  color: #000;
  background: #fff;
}

.service-experts__inner {
  max-width: 1920px;
  margin-inline: auto;
  padding: 28px 91px 45px 68px;
}

.service-experts__title {
  height: 65px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -0.88px;
}

.service-experts__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.service-experts__intro {
  margin: 0 0 24px;
  color: #48585c;
}

.service-experts__track {
  display: flex;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expert-card {
  flex: 0 0 558px;
  min-width: 0;
  height: 530px;
  overflow: hidden;
  border-radius: 10px;
  background: rgb(98 155 163 / 20%);
}

.expert-card__photo {
  width: 100%;
  height: 419px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.service-detail-page .expert-card { height: auto; padding-bottom: 0; }
.service-detail-page .expert-card__content { height: auto; min-height: 112px; }
.service-detail-page .expert-card__photo { object-position: center 30%; }

.expert-card__photo--initials {
  display: grid;
  place-items: center;
  color: #3a737c;
  background: #d4e7ea;
  font: 500 clamp(54px, 8vw, 110px) / 1 "Cormorant Garamond", Georgia, serif;
}

.expert-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 105px;
  padding: 24px;
}

.expert-card__name {
  width: 100%;
  margin: 0;
  color: #000015;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 31.2px;
}

.expert-card__role {
  width: 100%;
  margin: 0;
  color: #626b6e;
  font-size: 16px;
  font-weight: 300;
  line-height: 19.2px;
  letter-spacing: -0.32px;
}

.expert-card__link {
  display: block;
  height: 100%;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.expert-card__link .expert-card__content { position: relative; padding-right: 64px; }
.expert-card__arrow { position: absolute; right: 24px; top: 30px; transition: transform 180ms ease; }
.expert-card__link:focus-visible { outline: 2px solid #3a737c; outline-offset: -3px; border-radius: inherit; }
.expert-card__link:focus-visible .expert-card__name { color: #3a737c; }

@media (hover: hover) and (pointer: fine) {
  .expert-card__link:hover { background: #d4e7ea; }
  .expert-card__link:hover .expert-card__arrow { transform: rotate(-45deg); }
  .expert-card__link:hover .expert-card__name { color: #3a737c; }
}

@media (prefers-reduced-motion: reduce) {
  .expert-card__link, .expert-card__arrow { transition: none; }
}

.service-experts :focus-visible {
  outline-color: #2d3336;
  outline-offset: 3px;
}

@media (max-width: 1919px) {
  .service-experts__inner { padding: 40px clamp(32px, 4.739583vw, 91px) 40px clamp(32px, 3.541667vw, 68px); }
  .service-experts__title { height: auto; margin-bottom: 24px; font-size: 56px; line-height: 1; }
  .service-experts__track { gap: 28px; }
  .expert-card { flex-basis: calc((100% - 56px) / 3); height: auto; min-height: 0; padding-bottom: 6px; }
  .expert-card__photo { height: auto; aspect-ratio: 558 / 419; }
  .expert-card__content { height: auto; min-height: 105px; padding: 24px; }
  .expert-card__name { font-size: 28px; line-height: 30px; }
}

@media (max-width: 1199px) {
  .service-experts__title { font-size: 48px; }
  .service-experts__track { gap: 24px; }
  .expert-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 767px) {
  .expert-card { flex-basis: 100%; }
}

@media (max-width: 639px) {
  .service-experts__inner { padding-inline: var(--mobile-gutter); }
  .service-experts__title { font-size: 40px; line-height: 1.05; letter-spacing: -0.5px; }
  .expert-card__role { color: #626b6e; font-weight: 400; line-height: 24px; }
}

@media (max-width: 359px) {
  .service-experts__title { font-size: 36px; }
}
