/* Member Profile Component
 * ================================================
 * Shared component for member profile sections.
 * Page-specific styles are in pages/board-member.css
 */

/* Animations
 * ------------------------------------------------ */

.about-hero-animation {
  opacity: 0;
  transform: translate(20px, 0) !important;
  transition: all 0.4s ease;
}

.about-hero-animation.active {
  opacity: 1;
  transform: translate(0, 0) !important;
}

.fade-in-left {
  opacity: 0;
  transform: translate(-20px, 0);
  transition: all 0.5s ease;
}

.fade-in-left.active {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translate(0, 20px);
  transition: all 0.5s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Member Profile Base
 * ------------------------------------------------ */

.member-profile {
  color: #fff;
}

/* PC Styles */
.member-profile__greeting {
  display: flex;
  gap: 2rem;
  margin: auto;
  max-width: 100%;
}

.member-profile__greeting--reverse {
  flex-direction: row-reverse;
  gap: 3rem;
}

.member-profile__body {
  width: 65%;
}

.member-profile__body h2 {
  border-bottom: #fff solid 2px;
  font-size: 1.5em;
  margin: auto;
  padding-bottom: 10px;
  text-align: center;
  line-height: 1.4;
  font-family: var(--font-family-primary);
}

.member-profile__interview {
  font-size: 14px;
  line-height: 2;
  margin-top: 2rem;
}

.member-profile__question {
  font-size: 1rem;
  font-weight: bold;
  line-height: 2.2;
}

.member-profile__question p {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  line-height: 1.4;
}

.member-profile__question span {
  font-size: 1.4em;
  line-height: 1;
  font-family: var(--font-family-en);
}

.member-profile__answer {
  margin-top: 0.5rem;
}

.member-profile__answer p {
  font-size: 14px;
  font-weight: bold;
  line-height: 2;
}

.member-profile__profile {
  position: relative;
  width: 35%;
}

.member-profile__profile img {
  box-shadow: 20px 20px 0 white;
}

.member-profile__role {
  background: whitesmoke;
  left: -2%;
  min-width: auto;
  padding: 0.2rem 0.5rem;
  position: relative;
  text-align: center;
  width: 100%;
  transform: translate(-20px, 0) skewX(-10deg);
}

.member-profile__role p {
  background-image: linear-gradient(to right, #0d7595, #171c61);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.member-profile__name {
  background: whitesmoke;
  bottom: 17%;
  left: auto;
  min-width: auto;
  padding: 0.2rem 0.5rem;
  position: relative;
  text-align: center;
  transform: translate(-20px, 0) skewX(-10deg);
  width: 165px;
}

.member-profile__name p {
  background-image: linear-gradient(to right, #0d7595, #171c61);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  transform: skewX(10deg);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
