/* intro */

.intro-text {
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 300;
  margin-top: 1rem;
}

.intro-text strong {
  font-weight: 500;
}

.intro-text strong span {
  display: inline-block;
  background-color: var(--light);
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 0;
  z-index: -1;

}

/* portrait */

.portrait {
  margin: var(--section-pad) calc(-1 * var(--margin));
  display: flex;
  --margin: var(--gap-pad);
}

.portrait > div {
  margin: 0 var(--margin);
}

.portrait-img {
  width: 65%;
}

.portrait-text {
  width: 35%;
  font-size: .8rem;
}

/* cv */

.cv {
  margin-bottom: var(--section-pad);
}

.cv-list {
  width: 80%;
}

.cv-list + .cv-list {
  margin-top: var(--gap-pad);
}

.cv-title {
  padding-bottom: .7em;
  margin-bottom: .7em;
  border-bottom: 1px solid var(--light);
}

.cv-item {
  font-size: .8rem;
  padding: .5em 0;
  display: flex;
}

.cv-item > * {
  display: block;
}

.cv-date {
  width: 20%;
  margin-right: var(--gutter);
}

.cv-name {
  width: 60%;
  margin-right: var(--gutter);
}

.cv-place {
  width: 20%;
  text-align: end;
  line-height: 1.3em;
  color: var(--grey);
  font-size: .7rem;
}

/* swiper */

.swiper {
  overflow-x: hidden;
  padding: 5px 0;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}

.swiper-slide {
  flex: 0 1 auto;
}

.swiper-nav {
  display: flex;
  pointer-events: none;
  justify-content: space-between;
  --margin: 5px;
  margin: calc(-1 * var(--margin));
}

.swiper-nav > * {
  pointer-events: auto;
  transition: .5s;
  background: var(--primary);
  height: var(--dim);
  width: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  --stroke: var(--white);
  padding: 5px;
  margin: var(--margin);
}

.swiper-nav > *.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.swiper-nav > *:active {
  transform: scale(.9)
}

.swiper-nav .bn-icon .icon {
  transform: none;
  --stroke-width: 1.5;
  height: var(--dim);
  width: var(--dim);
}


@media screen and (max-width: 900px) {
  .cv-list {
    width: 100%;
  }

  .portrait {
    --margin: var(--gutter);
  }
}

@media screen and (max-width: 700px) {
  .intro-text {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 650px) {
  .portrait {
    flex-direction: column;
    width: 100%;
  }

  .portrait > div {
    margin: var(--margin);
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .cv-item {
    flex-direction: column;
  }
  .cv-date,
  .cv-name,
  .cv-place {
    width: 100%;
    text-align: left;
  }
}





