/*====================================
# sec-speaker
==================================== */
.sec-speaker {
  margin: 0 3rem 2rem;
  background-color: var(--Color2);
  border-radius: 0.5em;
}

@media (max-width: 767px) {
  .sec-speaker {
    margin: 0 1rem;
  }
}

.sp-box {
  text-align: center;
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--Color3);
  transition: transform .2s cubic-bezier(0.63, -0.53, 0.31, 1.53);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  background-color: var(--Color3);
}

.sp-box:hover {
  transform: scale(1.02);
}

.sp-box h5 {
  display: inline-block;
  padding: 0.5rem 0;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 18px;
  color: var(--main);
  border-bottom: 1px solid var(--Color4);
}

.sp-box p {
  margin: 0;
  padding: 0.2rem 0.5rem;
  font-size: 16px;
  color: #666;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.5rem;
  /* Limit the Text line */
  -webkit-line-clamp: 1;
}

.imgbox {
  position: relative;
  padding: 1rem;
}

.imgbox img {
  border-radius: 0.5em;
  width: 100%;
}

.sec-speaker .keynote::after,
.speaker .keynote::after {
  content: url(../img/keynote.png);
  position: absolute;
  top: -1px;
  left: -1px;
  line-height: 1;
}

/*====================================
# speaker-info
==================================== */
.speaker-info {
  position: relative;
}

.speaker-info a {
  text-decoration: underline;
  color: var(--Color3);
}

.speaker-info a:hover {
  color: var(--Color5);
}

.speaker-info .imgbox {
  max-width: 220px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.speaker-info .speaker-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.outside-box {
  display: flex;
  border: 1px solid var(--Color5);
  border-radius: 50px;
}

.outside-box>i {
  display: flex;
  align-items: center;
  padding: 0 1rem 0 1rem;
  color: var(--Color5);
}

.speaker-title .info-icon {
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.speaker-title h3 {
  color: var(--Color5);
}

.speaker-title p {
  font-size: 16px;
  margin-bottom: 0.2rem;
}

.speaker-txt {
  background-color: rgb(34 33 36 / 70%);
  padding: 1.5rem 2.4rem;
  margin-top: 1.2rem;
  border-radius: 0.5em;
}

.speaker-txt h5 {
  color: var(--Color5);
}

@media (max-width:992px) {
  .speaker-info .imgbox {
    max-width: 250px;
    margin: 0 auto 20px auto;
  }
}

/*====================================
講者議程
==================================== */
.agenda-info {
  background-color: var(--main);
}

.agenda-area {
  background: linear-gradient(45deg, var(--Color2) 95%, #121016 95%, var(--Color2) 100%);
  padding: 2.8rem 2.4rem;
  margin-bottom: 1.2rem;
  border-radius: 0.5em;
}

.agenda-area h4 {
  color: var(--Color5);
}

.agenda-area span {
  color: var(--Color4);
  padding: 0;
  font-size: 18px;
}

.agenda-area p {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /*行數*/
  -webkit-box-orient: vertical;
  white-space: normal;
}

.agenda-btn {
  padding: 6px 40px 7px !important;
  margin: 1rem auto 0 !important;
}

.agenda-btn span {
  color: #fff;
  font-size: 18px !important;
}