@charset "UTF-8";

/* ลบ focus ปกติ */
a:focus {
  outline: none;
  text-decoration: none;
}

/* ถ้าเป็น focus จาก keyboard ให้แสดง (browser ที่รองรับ) */
a:focus-visible {
  outline: 2px solid #00000033;
  text-decoration: none;
  border-radius: 4px;
}

/* ถ้าไม่ใช่ focus-visible (เช่น click) ให้ไม่มีอะไร */
a:focus:not(:focus-visible) {
  outline: none;
  text-decoration: none;
  box-shadow: none;
}

/* กัน highlight สีฟ้าใน iOS */
a {
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.youtube-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tss-event,
.tss-event h1, .tss-event h2, .tss-event h3, .tss-event h4, .tss-event h5,
.tss-event p {font-family: var(--font-main)!important;}

.tss-event p {line-height: 1;}

.event-location {font-size: 20px;display: flex; align-items: center; justify-content: center; gap: 5px; line-height: 1;}
.event-location img {max-width: 16px;}
.logo-event img {max-width: 60%;}

.btn-event-buy-ticket {background-color: #ffce00; border-radius: 25px; padding: 8px 35px; margin: 2em auto 0; font-size: 18px; font-weight: 600; width: fit-content; transition: all 0.3s ease; box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);}
.btn-event-buy-ticket:hover {background-color: #FFF; color: #000;}

#highlight_event {
  padding-top: 116px;
  background-image: url(../img/bg/bg-highlight-event-desktop.webp);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}
.highlight-event-block {display: grid; grid-template-columns: 1fr 1fr; grid-gap: 30px; text-align: center; padding: 4em 0;}
.highlight-event-block h2 {margin-top: 2em; margin-bottom: 2em; font-size: 26px;}

#about_event {
  background-image: url(../img/bg/bg-about-event-desktop.webp);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;

  text-align: center;
}

.about-content-block {display: grid; grid-template-columns: 40% auto; background-color: rgba(255, 255, 255, .5); border-radius: 25px; margin-top: 3em; margin-bottom: 4em;  box-shadow: -5px 10px 10px rgba(0, 0, 0, 0.15);}

.about-content-block hr {
  width: 8%;
  height: 3px;
  background-color: #f33611;
  border: none!important;
  border-radius: 2px;
  margin: auto;
  opacity: unset!important;
  margin-bottom: 1em!important;
}

.about-content-block .detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content-block h4 {font-size: 24px!important;}

.about-content-block .solution {display: flex; justify-content: space-around; margin-top: 2em;}
.about-content-block .solution > div {display: flex; flex-direction: column; font-size: 32px; color: #f33611; line-height: 1; font-weight: 900; letter-spacing: 1px;}
.about-content-block .solution > div span {font-size: 16px; font-weight: 400; color: #000;}

#past_event .section-heading .headline,
#partners_event .section-heading .headline,
#who_attends_event .section-heading .headline,
#about_event .section-heading .headline,
#speaker_event .section-heading .headline {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 36px;
    text-transform: uppercase;
}

#past_event .section-heading p,
#partners_event .section-heading p,
#who_attends_event .section-heading p,
#about_event .section-heading p,
#speaker_event .section-heading p {
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  margin-bottom: 2em;
  font-size: 22px;
}

#speaker_event .section-heading .headline,
#speaker_event .section-heading p {color: #FFF!important;}

#speaker_event {
  background-color: #000;
  padding: 45px 0px;
  overflow: hidden;
}

.partners-headline,
.speaker-headline {font-size: 26px; font-weight: 600; margin-bottom: 20px; text-align: center;}

.speaker-headline {color: #FFF;}

.partners-info,
.speaker-info {font-family: var(--font-main); text-align: left; color: var(--color-black); margin-bottom: 20px; max-width: calc((100% - 75px) / 6);}

.partners-image,
.speaker-image {width: 100%; height: auto; margin: 0 auto 5px; background-color: #ffd239;}

.speaker-name {font-size: 20px; font-weight: 400; line-height: 1; margin-bottom: 8px; margin-top: 8px; color: #FFF;}

.partners-block,
.speaker-block {display: flex; flex-wrap: wrap; grid-gap: 15px; justify-content: center;}


.speaker-position, .speaker-company {font-size: 16px; font-weight: 300; line-height: 1; color: #FFF;}

/* ซ่อน speaker เกิน 12 */
.speaker-info.is-hidden {
  display: none;
}

/* container ที่จะ slide */
.speaker-list {
  overflow: hidden;
  transition: max-height 0.6s ease;
}

/* ปุ่ม */
.view-all-btn {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 8px 25px;
  color: #fff;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}

.view-all-btn:hover {
  background: #fff;
  color: #000;
}

/* wrapper ปุ่ม */
.view-all-wrapper {
  text-align: center;
  width: 100%;
}

.partnership-block {background-color: #000; color: #FFF; text-align: center; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 25px; padding: 25px 20px 25px 30px;}
.partnership-block .partnership-detail h3 {font-family: var(--font-main)!important; font-size: 24px; font-weight: 600; text-transform: uppercase; margin-top: unset; margin-bottom: 5px;}
.partnership-block .partnership-detail p {font-family: var(--font-main)!important; font-size: 18px; margin-bottom: unset;}

.partnership-block .partnership-btn {display: flex; transition: all 0.3s ease; justify-content: flex-end; align-items: center;}
.partnership-block .partnership-btn img {width: 100%; height: auto; max-width: 375px;}
.partnership-block .partnership-btn img:hover {opacity: .9;}

#past_event {
  background-image: url(../img/bg/bg-past-event-desktop.webp);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}

.nav-menu a,
#mainNavMenu.shrink .nav-menu a {font-size: 20px;}

.past-event-block {display: block; margin-bottom: 5px;}
.past-event-block a:hover {opacity: .85;}

.past-event-block img {width: 100%;}

  .who-attends-container {display: flex; gap: 15px; justify-content: center; margin-bottom: 2em;}
  .who-attends-block {
    background-color: #f4f4f4;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    padding: 15px 5px;
    text-align: center;
    border-radius: 3px;
    flex: 1;
  }
  .who-attends-block img {width: 100%; height: auto; max-width: 65px;}

  .who-attends-block h3 {font-family:var(--font-main); font-size: 24px; margin-top: 10px; margin-bottom: 5px; font-weight: 500;}
  .who-attends-block p {font-family:var(--font-main)!important; font-size: 18px!important; line-height: 1;}

.site-footer {background-color: #000;}

footer .copyright,
.footer-description {color: #FFF;}

.footer-button {
  border: 1px solid #FFF;
  color: #FFF;
}

.footer-button:hover {color: #b7b9ba;}

.footer-social a {margin-right: 5px;}
.footer-social a:last-child {margin-right: 0;}

hr.footer-divider {border-top: 1px solid #FFF!important;}

footer .copyright {margin: unset!important;}

.footer-bottom {margin-bottom: 3em;}


  .footer-block {display: flex; justify-content: space-between;}
  .footer-button {position: unset;}
  .footer-event-menu {display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 15px; text-align: left; color: #FFF;}

  .footer-event-menu h4 {font-family: var(--font-main)!important; font-weight: 600; font-size: 24px;}
  .footer-event-menu ul {font-family: var(--font-main)!important; font-size: 16px; font-weight: 500;}
  .footer-event-menu ul li a {color: #b7b9ba;}
  .footer-event-menu ul li a:hover {color: #FFF;}

  .footer-container {display: grid; grid-template-columns: 1fr 1fr;}
  .footer-event-menu {margin-top: 65px;}