@charset "UTF-8";

/* =========================================================
   Front Page About
========================================================= */

.front-about{
  padding: 60px 0;
  background: #EDF3F5;
}

.front-about__inner{
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.front-about__head{
  margin: 0;
}

.front-about__head .front-top-news__title-wrap{
  min-width: 0;
}

.front-about__head .front-top-news__eyebrow{
  margin: 0;
  color: #74909F;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.front-about__head .front-top-news__title-row{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 27px;
}

.front-about__head .front-top-news__title-row::after{
  content: "";
  position: absolute;
  left: calc(-1 * ((100vw - min(100vw - 32px, 1200px)) / 2));
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1759A5;
}

.front-about__head .front-top-news__icon{
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.front-about__head .front-top-news__title{
  margin: 0;
  color: #1759A5;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.35;
}

.front-about__body{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  grid-template-areas:
    "content media"
    "links   media";
  column-gap: clamp(24px, 4vw, 60px);
  row-gap: 45px;
  align-items: start;
  margin-top: 60px;
}

.front-about__content{
  grid-area: content;
  min-width: 0;
}

.front-about__lead{
  margin: 0;
  color: #1759A5;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}

.front-about__text{
  margin-top: 10px;
}

.front-about__text p{
  margin: 0;
  color: #2F2F2F;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8333333333;
  text-align: justify;
}

.front-about__media{
  grid-area: media;
  min-width: 0;
  width: 100%;
}

.front-about__image-wrap{
  position: relative;
  width: 100%;
  max-width: 686px;
  aspect-ratio: 686 / 540;
  margin-left: auto;
  overflow: hidden;
  border-radius: 120px 0 0 120px;
  background: #dfe7eb;
}

.front-about__image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.front-about__links{
  grid-area: links;
  align-self: end;
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 394px;
}

.front-about__pill-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 332px;
  min-height: 57px;
  padding: 0 56px 0 23px;
  border: 1px solid #1759A5;
  border-radius: 60px;
  background: #fff;
  color: #2F2F2F;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
  box-sizing: border-box;
}

.front-about__pill-link::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 22px;
  height: 22px;
  background: #1759A5;
  border: 1px solid #1759A5;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background-color .25s ease, border-color .25s ease;
  z-index: 1;
}

.front-about__pill-link::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color .25s ease;
  z-index: 2;
}

.front-about__pill-link:hover,
.front-about__pill-link:focus{
  background: #4F93D8;
  border-color: #4F93D8;
  color: #fff;
  text-decoration: none;
}

.front-about__pill-link:hover::after,
.front-about__pill-link:focus::after{
  background: #FFFFFF;
  border-color: #1759A5;
}

.front-about__pill-link:hover::before,
.front-about__pill-link:focus::before{
  border-top-color: #1759A5;
  border-right-color: #1759A5;
}

@media (max-width: 1100px){

  .front-about__body{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }

  .front-about__image-wrap{
    border-radius: 90px 0 0 90px;
  }

  .front-about__head .front-top-news__title{
    font-size: 26px;
  }

  .front-about__lead{
    font-size: 26px;
  }

  .front-about__text p{
    font-size: 17px;
  }
}

@media (max-width: 800px){

  .front-about{
    padding: 60px 0;
  }

  .front-about__inner{
    width: min(100% - 32px, 1200px);
  }

  .front-about__head .front-top-news__eyebrow{
    font-size: 14px;
  }

  .front-about__head .front-top-news__title-row{
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 20px;
  }

  .front-about__head .front-top-news__title-row::after{
    left: calc(-1 * ((100vw - min(100vw - 32px, 1200px)) / 2));
  }

  .front-about__head .front-top-news__icon{
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .front-about__head .front-top-news__title{
    font-size: 28px;
    line-height: 1.4;
  }

  .front-about__body{
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media"
      "links";
    row-gap: 32px;
    margin-top: 40px;
  }

  .front-about__content{
    order: 1;
  }

  .front-about__media{
    order: 2;
  }

  .front-about__links{
    order: 3;
    max-width: 360px;
    margin-top: 0;
    justify-self: start;
    align-self: start;
  }

  .front-about__lead{
    font-size: 26px;
    line-height: 1.5;
  }

  .front-about__text{
    margin-top: 10px;
  }

  .front-about__text p{
    font-size: 16px;
    line-height: 1.875;
    text-align: left;
  }

  .front-about__pill-link{
    min-height: 54px;
    font-size: 18px;
    padding: 0 14px 0 20px;
  }

  .front-about__pill-link::after{
    width: 26px;
    height: 26px;
  }

  .front-about__image-wrap{
    max-width: 100%;
    aspect-ratio: 686 / 540;
    margin-inline: auto;
    border-radius: 30px;
  }
}