@import url(../../../css/style.css);

.peer-tutor-box {
  position: relative;
  max-width: 600px;
  margin: 28px auto 32px;
  padding: 10px 24px 20px;
  background: #fdf1f4;
  border: 1.5px solid #e95389;
  border-radius: 14px;
}

@media screen and (max-width: 700px) {
  .peer-tutor-box {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
  }
}

.peer-tutor-box__bunting {
  position: absolute;
  top: 25px;
  left: -10px;
  display: flex;
  transform: rotate(-28deg);
  transform-origin: top left;
}

.peer-tutor-box__bunting span {
  width: 12px;
  height: 15px;
  margin-right: 2px;
  background: #e95389;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.peer-tutor-box__bunting span:nth-child(even) {
  background: #f4a9c1;
}

.peer-tutor-box .peer-tutor-box__title {
  margin: 0 0 8px;
  text-align: center;
}

.peer-tutor-box .peer-tutor-box__title span {
  display: inline-block;
  color: #e95389;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.peer-tutor-box .peer-tutor-box__grid {
  display: flex;
  gap: 34px;
  margin-bottom: 10px;
}

.peer-tutor-box .peer-tutor-box__col {
  flex: 1;
}

.peer-tutor-box .peer-tutor-box__heading {
  margin: 0 0 6px;
  padding-left: 18px;
  position: relative;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.peer-tutor-box .peer-tutor-box__heading::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #e95389;
  font-size: 10px;
  top: 5px;
}

.peer-tutor-box .peer-tutor-box__text {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.peer-tutor-box__dots {
  height: 5px;
  max-width: 100%;
  margin: 10px auto 14px;
  background-image: repeating-linear-gradient(
    to right,
    #e95389 0,
    #e95389 5px,
    transparent 5px,
    transparent 10px,
    #f3c94d 10px,
    #f3c94d 15px,
    transparent 15px,
    transparent 20px,
    #5aa7e0 20px,
    #5aa7e0 25px,
    transparent 25px,
    transparent 30px,
    #6cbf6c 30px,
    #6cbf6c 35px,
    transparent 35px,
    transparent 40px
  );
  background-repeat: repeat-x;
  border-radius: 3px;
}

.peer-tutor-box .peer-tutor-box__cta {
  margin: 0 0 2px;
  color: #e95389;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  line-height: 1.3;
}

.peer-tutor-box .peer-tutor-box__hours,
.peer-tutor-box .peer-tutor-box__place {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .peer-tutor-box .peer-tutor-box__grid {
    flex-direction: column;
    gap: 10px;
  }
}

.peer-interview {
  margin: 40px 3% 20px;
}

.peer-interview .peer-interview__title {
  margin: 0 0 24px;
  color: #3786c8;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}

.peer-interview .peer-interview__deco {
  display: inline-block;
  margin: 0 10px;
  color: #3786c8;
}

@media screen and (max-width: 700px) {
  .peer-interview {
    margin-top: 20px;
  }

  .peer-interview .peer-interview__title {
    font-size: 21px;
  }

  .peer-interview .peer-interview__deco {
    display: block;
    margin: 0 0 6px;
  }

  .peer-interview .peer-interview__title-tail {
    display: block;
  }
}

.peer-interview .peer-interview__photo-wrap {
  position: relative;
  float: left;
  width: 280px;
  margin: 0 24px 14px 0;
}

.peer-interview .peer-interview__badge {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 4px;
  background: #3786c8;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.peer-interview .peer-interview__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.peer-interview .peer-interview__caption {
  margin: 12px auto 0;
  padding-top: 10px;
  color: #444;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: left;
  width: fit-content;
}

.peer-interview .peer-interview__caption-name {
  color: #1c3f61;
  font-weight: bold;
  font-size: 15.5px;
  letter-spacing: 0.06em;
}

.peer-interview .peer-interview__heading {
  margin: 0 0 10px;
  color: #3786c8;
  font-weight: bold;
  font-size: 17px;
  line-height: 1.5;
}

.peer-interview .peer-interview__text {
  margin: 0 0 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
}

.peer-interview .peer-interview__event-photo-wrap {
  width: calc(100% - 304px);
  margin: 6px 0 0 304px;
}

.peer-interview .peer-interview__event-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media screen and (max-width: 700px) {
  .peer-interview .peer-interview__event-photo-wrap {
    width: 100%;
    margin-left: 0;
  }

  .peer-interview .peer-interview__event-photo {
    width: 100%;
  }
}

.peer-interview .peer-interview__profile2 {
  clear: both;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #dfe8f2;
}

.peer-interview .peer-interview__profile2::after {
  content: "";
  display: table;
  clear: both;
}

.event-report {
  position: relative;
  margin: 50px 3% 30px;
  padding: 30px 28px 26px;
  background: #eaf7f1;
  border: 1.5px solid #2bb284;
  border-radius: 18px;
}

.event-report .event-report__badge {
  position: absolute;
  top: -20px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.event-report .event-report__badge span {
  display: inline-block;
  padding: 9px 34px;
  background: #2bb284;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0.08em;
  clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%, 10% 50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.event-report .event-report__title {
  margin: 6px 0 20px;
  color: #1f7a5c;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.event-report .event-report__text {
  margin: 0 0 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
}

.event-report .event-report__photo {
  border-radius: 10px;
}

.event-report .event-report__photo--float {
  float: right;
  width: 42%;
  height: auto;
  margin: 0 0 14px 20px;
}

.event-report .event-report__photo--full {
  display: block;
  clear: both;
  width: 100%;
  height: auto;
  margin-top: 6px;
}

@media screen and (max-width: 700px) {
  .event-report .event-report__photo--float {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }
}

@media screen and (max-width: 700px) {
  .peer-interview .peer-interview__photo-wrap {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }

  .peer-interview .peer-interview__badge {
    top: -20px;
    left: -5px;
  }
}
