/* ===== Base ===== */
.table01{ background-color:#006446; border:0; }
.table04{ border:0; }
.table04_open{ color:#2085B1; }

.txt_sub{
  font-size: 20px;
  line-height: 20px;
  font-weight: bolder;
  padding-top: 10px;
  margin-top: 4%;
}

p{
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  unicode-bidi: isolate;
}

.name02{
  font-size: 11pt;
  line-height: 20pt;
  font-weight: bolder;
  color: #333;
  margin: 0 0 1% 0;
  padding: 0;
}

ul.ulpoint{
  display: block;
  list-style-type: disc;
  list-style-position: outside;
  unicode-bidi: isolate;
  margin: 1em 0;
  padding-left: 60px;
}

.lipoint{
  display: list-item;
  unicode-bidi: isolate;
}


/* ===== Header ===== */
.header_logo{
  width: 225px;
}

.header_logo > img{
  width: 225px;
}


/* ===== Overlay / Popup ===== */
#overlay,
#overlay1,
#overlay2,
#overlay3,
#overlay4,
#overlay5,
#overlay6,
#overlay7,
#overlay8,
#overlay9{
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 10%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(245, 40, 145, 0);
  z-index: 2;
  cursor: pointer;
}

#overlay1,
#overlay2,
#overlay3,
#overlay4,
#overlay5,
#overlay6,
#overlay7,
#overlay8,
#overlay9{
  overflow-y: auto;
}

#textoverlay{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: auto;
  max-height: auto;
  color: gray;
  background-color: white;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 20px;
}

#textoverlay a{
  position: absolute;
  top: 10px;
  right: 10px;
}

#textoverlay img{
  width: 30px;
  height: 30px;
}

#textoverlay p{
  margin: 10px 0;
  font-size: 16px;
}

#textoverlay .s_txt p{
  font-size: 14px;
}

.popup-header{
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

.popup-header-icons a img{
  width: 30px;
  height: 30px;
  margin-left: 10px;
}

.popup-icons{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.popup-icons img{
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.popup-header-icons a:first-child{
  margin-right: 35px;
}


/* ===== Event Blocks ===== */
.event-block{
  background-color: #FFCC99;
  color: white;
  border-radius: 10px;
  text-align: left;
  font-size: 18px;
  padding: 20px 24px;
  height: 100%;
  font-weight: bold;
}

.session-block{
  background-color: #ff6100;
  color: white;
  border-radius: 15px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s;
  cursor: pointer;
  text-align: left;
}

.session-block:hover,
.session-block:active{
  background-color: #FFCC99;
}

.session-title{
  font-weight: bold;
  font-size: 18px;
  padding: 10px 20px;
}

.session-speakers-title{
  text-decoration: underline;
  font-weight: bold;
  padding: 10px 20px;
}

.session-speakers{
  padding: 10px 20px;
  margin: 0;
}

.session-title h3{
  margin: 0 0 2px;
  font-size: 20px;
}

.session-title .en{
  font-weight: normal;
  opacity: 0.8;
  font-size: 16px;
}

.session-speakers p{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}


/* ===== Agenda Buttons ===== */
.agenda-btns{
  display: flex;
  gap: 8px;
}


/* ===== Speaker Popup ===== */
.spk-mask{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  z-index: 9999;
}

.spk-card{
  position: relative;
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  overflow: auto;
  padding: 18px;
}

.spk-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #ff6100;
  color: #fff;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

.spk-body{
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.spk-photo{
  flex: 0 0 240px;
}

.spk-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 2px solid #ff6100;
}

.spk-text{
  flex: 1;
  min-width: 0;
}

.spk-title{
  margin: 6px 0 12px;
  font-weight: 700;
}

.spk-bio{
  line-height: 1.6;
}

.speaker-link{
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}


/* ===== Footer ===== */
.footer{
  border-top: 4px solid #ff6100;
}

.footer_info{
  padding: 24px 0 0;
  overflow: hidden;
}

.footer_info_head{
  margin-bottom: 12px;
}

.footer_info_address{
  margin: 0 0 6px;
}

.footer_info > img{
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.footer_info_head img{
  width: 400px;
}


/* ===== Event Intro ===== */
.event-intro-block{
  display: block;
  margin: 0;
}

.event-intro-block p{
  margin: 0 0 12px;
}

.event-section-title{
  font-size: 40px;
  font-weight: 700;
  color: #FF6100;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 18px;
}

.event-line{
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.8;
  margin-bottom: 8px;
}

.event-desc{
  font-size: 20px;
  font-weight: 300;
  color: #222;
  line-height: 1.8;
  margin-bottom: 0;
}


/* ===== Registration Pills ===== */
.reg-pill-group{
  display: flex;
  justify-content: left;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
}

.reg-pill-item{
  flex: 1 1 0;
  max-width: 520px;
}

.reg-pill{
  width: 100%;
  min-height: 51px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 34px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  box-sizing: border-box;
}

.reg-pill span:first-child{
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 16px;
  line-height: 1.3;
}

.reg-pill-arrow{
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ff6a00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 74px;
  font-size: 42px;
  line-height: 1;
}

.reg-pill-note{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  text-align: center;
}


/* ===== Desktop ===== */
@media (min-width: 992px){
  .footer_info > img{
    margin-top: -90px;
  }
}


/* ===== Mobile ===== */
@media screen and (max-width: 768px){
  #overlay,
  #overlay1,
  #overlay2,
  #overlay3,
  #overlay4,
  #overlay5,
  #overlay6,
  #overlay7,
  #overlay8,
  #overlay9{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    padding: 80px 12px 110px;
    background-color: rgba(0,0,0,0);
  }

  #textoverlay{
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .community-sec_title{
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }

  .community-sec_title .title{
    width: 100%;
    margin-right: 0;
  }

  .agenda-btns{
    width: 100%;
    justify-content: flex-start;
    gap: 0;
  }

  .agenda-btns .btn-cta{
    flex: 1 1 0;
    min-width: 0;
  }

  .agenda-btns .btn-cta span{
    font-size: 18px !important;
  }

  .spk-body{
    flex-direction: column;
  }

  .spk-photo{
    flex-basis: auto;
    width: 100%;
    max-width: 320px;
  }

  .footer_info{
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .footer_info_head img{
    width: 300px;
  }

  .header .header_logo{
    width: 220px !important;
    max-width: calc(100% - 90px);
  }

  .header .header_logo > img{
    width: 100% !important;
    height: auto !important;
  }

  .event-section-title{
    font-size: 30px;
  }

  .event-line,
  .event-desc{
    font-size: 16px;
  }

  .reg-box{
    padding: 20px 14px 24px;
    border-radius: 28px;
    left: 0;
  }

  .reg-title{
    font-size: 18px;
    margin-bottom: 20px;
  }

  .reg-pill-group{
    flex-direction: column;
    gap: 16px;
  }

  .reg-pill-item{
    width: 100%;
    max-width: none;
  }

  .reg-pill{
    max-width: none;
    min-height: 51px;
    padding-left: 18px;
    font-size: 18px;
  }

  .reg-pill-arrow{
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 30px;
  }

  .reg-pill-note{
    font-size: 12px;
    margin-top: 8px;
  }
}
