/************************************************/
/*               BIOGRAPHY PAGE                 */
/************************************************/
header {
  position: relative;
}

#raecon-bio {
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(
    circle at top left,
    #f6faff 0%,
    #dce7ff 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.raecon-bio__wrapper {
  width: 70%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.raecon-bio__text {
  flex: 1 1 60%;
}

.raecon-bio__text h1 {
  font-size: 2.8rem;
  color: #092155;
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.raecon-bio__text .highlight {
  color: #387ce3;
}

.raecon-bio__text p {
  font-size: 1.1rem;
  line-height: 1.9;
  letter-spacing: 0.02rem;
  color: #444444;
}

.raecon-bio__text p strong {
  font-weight: 500;
  color: #092155;
}

.raecon-bio__image {
  flex: 1 1 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: baseline;
}

.raecon-bio__image--top {
  display: none;
}

.raecon-bio__image>img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.raecon-bio__image>img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.raecon-bio__medallions{
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.raecon-bio__medallions img{
  width: calc(33.333% - 16px);
  box-sizing: border-box;
  border-radius: 9px;
}

.raecon-bio__medallions--top{
  display: none;
}

/************************************************/
/*                 RESPONSIVE                   */
/************************************************/
/* Tablet */
@media screen and (max-width: 1024px) {
  #raecon-bio {
    padding: 40px 0px;
  }

  .raecon-bio__wrapper {
    flex-direction: column-reverse;
    text-align: center;
    width: 80%;
  }

  .raecon-bio__image img {
    max-width: 320px;
    margin-top: 40px;
  }

  .raecon-bio__text {
    flex: 1 1 100%;
  }

  .raecon-bio__text h1 {
    font-size: 2.2rem;
    margin-bottom: 0px;
  }

  .raecon-bio__text p {
    font-size: 1rem;
  }
  .raecon-bio__image--top {
    display: block;
    margin-bottom: 48px;
  }

  .raecon-bio__image--bottom {
    display: none;
  }
  .raecon-bio__medallions img{
    width: calc(16.666% - 16px);
    box-sizing: border-box;
    border-radius: 9px;
  }
  .raecon-bio__medallions--top{
    display: block;
  }
}

/* Mobile (large) */
@media screen and (max-width: 767px) {
  .raecon-bio__wrapper {
    width: 85%;
  }

  .raecon-bio__medallions img {
    width: calc(33.333% - 16px);
    box-sizing: border-box;
    border-radius: 9px;
  }
}

/* Mobile (small) */
@media screen and (max-width: 480px) {
  .raecon-bio__wrapper {
    width: 95%;
  }
}
