/** speakers **/
.speakers {
  background-color: var(--nerd-mustard);
  background-image: linear-gradient(to right, hsl(0deg 0% 0% / 15%), hsl(0deg 0% 0% / 15%) 20px, var(--nerd-mustard) 20px, var(--nerd-mustard));
  background-size: 40px 100%;
  border: 2rem solid var(--nerd-mustard);
  margin-block-start: -5px;
  overflow: clip;
  padding: 2rem;
  position: relative;
}
.speakers::before {
  background: url(../img/texture-3.png) repeat;
  background-size: 80%;
  content: "";
  mix-blend-mode: overlay;
  opacity: .7;
  pointer-events: none;
  position: absolute;
  top: -2rem;
  left: -2rem;
  height: calc(100% + 4rem);
  width: calc(100% + 4rem);
}

.speakers .flex-wrapper {
  align-items: flex-start;
  gap: 2rem;
}

.speakers h2 {
  color: black;
  font-size: 3.8rem;
  hyphens: manual;
}
.mapamundi {
  margin: 4rem 0 0 4rem;
  mix-blend-mode: multiply;
}
.speakers-col-left { 
  /* display: flex;
  justify-content: center;
  flex: 1 1 180px;
  flex-direction: column; */
}
.speakers-col-right {
  /* flex: 1 1 50%; */
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 700px;
}
.speaker-box {
  color: black;
  font-family: var(--title-font);
  line-height: 1;
  text-align: center;
}
.speaker-info-title {
  background-color: var(--nerd-yellow);
  clip-path: polygon(3% 6%, 96% 0%, 99% 95%, 0 96%);
  line-height: 1;
  margin: auto;
  padding: .5rem 2rem;
  width: fit-content;
}
.speaker-info-title h3 { 
  font-size: 1.4rem;
  margin: 0;
}
.speaker-box .speaker-info {
  background-color: var(--nerd-mustard);
  box-shadow: inset 0px 0px 0px 15px #c16e00;
  clip-path: polygon(2% 1%, 98% 0%, 99% 98%, 0% 99%);
  margin: .5rem auto;
  max-width: 100ch;
  min-height: 110px;
  padding: 1rem 2rem;
}
.speaker-box .speaker-info:last-of-type { margin-block-end: 3rem; }
.speaker-box .speaker-info + .speaker-info {
  background: none;
  box-shadow: none;
}
.speaker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.speaker-box .speaker-info a { 
  background: var(--nerd-yellow);
  color: initial;
  padding: .3rem .5rem;
}
.speaker-links > a {
  background: var(--nerd-yellow);
  transition-property: transform, scale;
  transition-duration: .1s;
  width: fit-content;
}
.speaker-links > a:hover {
  transform: rotate(-4deg);
  scale: 1.1;
}
.speaker-links > a:nth-child(even):hover {
  transform: rotate(4deg);
}
.speaker-box .speaker-info svg {
  height: 2em;
  margin: 1em;
}
.speaker-info h3 { margin-block: -.1rem .2rem; }
.speaker-info p {
  font-family: var(--text-font);
  font-size: 1.2rem;
  line-height: 1.3;
  opacity: .8;
  text-align: left;
  text-transform: none;
}
.speaker-info-title .speaker-session-title a {
  font-size: 1.5rem;
}
.speaker-box .btn-wrapper .btn {
  padding: 1em;
  margin-top: 1em;
}
.speaker-pic {
  background: #ff8e0082 url(../img/texture-paper.png) no-repeat center;
  clip-path: polygon(5px 5px, 320px 0px, 310px 392px, -1px 374px);
  filter: drop-shadow(2px 2px 3px #663a06);
  margin-top: 20%;
}
.speaker-pic-img {
  min-height: 380px;
  min-width: 300px;
  object-fit: cover;
  opacity: 1.8;
  padding: .8rem .5rem;
}
.speaking-at {
  background-color: rgb(255, 186, 0, .5);
  margin-block-end: 1rem;
  padding: .5rem;
}
.speaker-info .speaking-at h3 {
  font-size: 1.4rem;
  margin: 0;
}
.speaker-info .speaker-talks {
  margin: 0;
  padding: .3rem .5rem;
  text-align: left;
}
.speaker-info .speaker-talk-link {
  background-color: var(--nerd-mustard);
  display: flex;
  align-items: center;
  list-style: none;
  margin: .5rem 0;
  padding: .3rem .5rem;
}
.speaker-info .speaker-talk-link:has(a:hover) {
  background-color: var(--nerd-yellow);
}
.speaker-info .speaker-talk-link a {
  background-color: transparent;
  color: black;
  font-size: 1.3rem;
  font-family: var(--title-font);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-inline-start: .5rem;
  padding: 0;
  width: 100%;
}
.speaker-info .speaker-talk-link a:hover {
  text-decoration: none;
}
.caution {
  left: 0;
  top: 0;
  width: 80px;
}
.mapamundi {
  position: absolute;
  bottom: -2rem;
  right: 0;
  animation: opacityIn ease-out forwards;
  animation-timeline: view();
  animation-range: 0 50%;
  will-change: opacity;
}

@media screen and (max-width: 64em) /* 1024 */ {
  .mapamundi {
    position: absolute;
    top: 6rem;
    right: 0;
  }
  .caution { position: absolute; }
}
@media screen and (max-width: 56.24em) {
  .speaker-wrapper {
      margin-block-start: 7rem;
  }
}
@media screen and (max-width: 48em) /* 768px */{
  .speakers h2 { font-size: 2.8rem;}
  .session-pic { margin-top: 0; }
}
@media screen and (max-width: 40em) /* 600px */{
  .speakers { border-width: 1rem; padding: 2rem 0; }
  .speakers h2 { font-size: 2.4rem;}
  .mapamundi { display: none; }
  .speakers-col-right {
    gap: 1rem;
    justify-content: center;
  }
  .session-pic { margin-top: 0; }
}
