@charset "UTF-8";
.counselors {
  background: url(../images/bg-counselors.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 8rem 4rem 20rem;
}
.counselors .inner {
  padding: 8rem 4rem 20rem;
}
.counselors-slider {
  padding: 1rem 0 0rem;
}
.counselors-list {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  overflow-x: scroll;
  display: flex;
  gap: 5rem;
  width: 100vw;
  margin: 1rem auto;
  padding-right: 7.7rem;
}
.counselors-item {
  position: relative;
  display: grid;
  grid-template: auto auto / 28rem 1fr;
  gap: 3rem 4rem;
  width: 90rem;
  margin: 0 auto 2rem;
  padding: 7rem;
  background: rgba(255, 255, 255, 0.8);
  min-width: 90rem;
  min-height: 66rem;
}
.counselors-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4rem;
  width: 4rem;
  height: 100%;
  background: url(../images/bg-punchhole.svg) repeat-y;
  background-size: contain;
  background-position: center 1rem;
  opacity: 0.8;
}
.counselors-image {
  -webkit-filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
}
.counselors-image img {
  border-radius: 1rem;
  width: 100%;
  height: 33rem;
  object-fit: cover;
}
.counselors-text h3 {
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid #C0B6AC;
  font-size: 3.6rem;
  font-weight: 400;
}
.counselors-text h3 span {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.25em 1.5em;
  border-radius: 100rem;
  background: #FDB516;
  vertical-align: middle;
  letter-spacing: 0;
  font-size: 1.4rem;
  font-weight: 600;
}
.counselors-text h4 {
  margin-bottom: 0.5em;
  font-size: 2.4rem;
  font-weight: 400;
}
.counselors-text p {
  line-height: 1.6;
}
.counselors-achievements ul li {
  padding: 1rem;
  border-radius: 1rem;
  background: #002576;
  color: #fff;
  text-align: center;
}
.counselors-achievements ul li:not(:last-child) {
  margin-bottom: 1rem;
}
.counselors-universities h4 {
  padding: 0.75rem;
  border-radius: 1rem 1rem 0 0;
  background: #3A3024;
  color: #fff;
  text-align: center;
  font-weight: 400;
}
.counselors-universities ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 3rem;
  border-radius: 0 0 1rem 1rem;
  background: #E6D4C2;
}
.counselors-universities ul li {
  font-size: 1.4rem;
}
.counselors-universities ul li::before {
  content: "■";
}


@media screen and (max-width: 768px) {
  .counselors {
    background: url(../images/bg-counselors.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 8rem 1rem 20rem;
  }
  .counselors .inner {
    padding: 8rem 4rem 20rem;
  }
  .counselors-slider {
    padding: 1rem 0 0rem;
  }
  .counselors-list {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    overflow-x: scroll;
    display: grid;
    gap: 5rem;
    width: 100vw;
    margin: 1rem auto;
    padding-right: 0;
  }
  .counselors-item {
    position: relative;
    display: grid;
    grid-template: none;
    gap: 3rem 4rem;
    width: 90vw;
    margin: 0 auto 2rem;
    padding: 7rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    min-width: 90vw;
    min-height: 0;
  }
  .counselors-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -4rem;
    width: 4rem;
    height: 100%;
    background: url(../images/bg-punchhole.svg) repeat-y;
    background-size: contain;
    background-position: center 1rem;
    opacity: 0.8;
  }
  .counselors-image {
    -webkit-filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
    width: 30rem;
    margin: auto;
  }
  .counselors-image img {
    border-radius: 1rem;
  }
  .counselors-text h3 {
    margin-bottom: 1rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid #C0B6AC;
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
  }
  .counselors-text h3 span {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5em 5rem;
    border-radius: 100rem;
    background: #FDB516;
    vertical-align: middle;
    letter-spacing: 0;
    font-size: 2rem;
    font-weight: 600;
  }
  .counselors-text h4 {
    margin-bottom: 1.5em;
    font-size: 2.5rem;
    font-weight: bold;
  }
  .counselors-text p {
    line-height: 2;
  }
  .counselors-achievements ul li {
    padding: 1rem;
    border-radius: 1rem;
    background: #002576;
    color: #fff;
    text-align: center;
  }
  .counselors-achievements ul li:not(:last-child) {
    margin-bottom: 1rem;
  }
  .counselors-universities h4 {
    padding: 0.75rem;
    border-radius: 1rem 1rem 0 0;
    background: #3A3024;
    color: #fff;
    text-align: center;
    font-weight: 400;
  }
  .counselors-universities ul {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 2rem;
    border-radius: 0 0 1rem 1rem;
    background: #E6D4C2;
  }
  .counselors-universities ul li {
    font-size: 2rem;
    width: 33vw;
  }
  .counselors-universities ul li::before {
    content: "■";
  }


}