/* ===== 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;
}

/* ===== 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;
}

/* ===== Popup 共用樣式 ===== */
#overlay,
#overlay1,
#overlay2,
#overlay3,
#overlay4,
#overlay5,
#overlay6,
#overlay7,
#overlay8,
#overlay9,
#overlay10,
#overlay11,
#overlay12,
#overlay13,
#overlay14,
#overlay15{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.28);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  box-sizing: border-box;
}

#textoverlay{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0;
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border: 3px solid #000 !important;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  padding: 28px 26px 24px;
  color: #666;
  box-sizing: border-box;
}

#textoverlay p{
  margin: 10px 0;
  font-size: 20px;
}

#textoverlay .s_txt p{
  font-size: 16px;
}

.popup-header-icons{
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.popup-header-icons a{
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  margin: 0 !important;
  flex: 0 0 42px;
}

.popup-header-icons img{
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.popup-title{
  margin: 0 0 18px;
  padding: 25px 0 20px 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  color: #595961;
  word-break: break-word;
}

.popup-section-title{
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 800;
  text-decoration: underline;
  color: #595961;
}

.popup-text{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

ul.s_txt{
  margin: 0 0 14px;
  padding-left: 26px;
  list-style: disc !important;
}

ul.s_txt li{
  display: list-item !important;
  list-style: disc !important;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

/* ===== 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: #FFCEB3;
  color: #595961;
  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{
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 20px;
}

.session-title h3{
  margin: 0;
  font-size: 20px;
}

.session-title .en{
  font-weight: normal;
  opacity: 0.8;
  font-size: 16px;
}

.title-left{
  flex: 0 0 auto;
}

.title-right{
  flex: 1;
  text-align: right;
}

.session-speakers-title{
  text-decoration: underline;
  font-weight: bold;
  padding: 10px 20px;
}

.session-speakers{
  padding: 10px 20px;
  margin: 0;
}

.session-speakers p{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* ===== Agenda Buttons / Images ===== */
.agenda-btns{
  display: flex;
  gap: 8px;
}

.agenda-img,
.agenda-room-large{
  display: block;
  max-width: 100%;
  height: auto;
}

.agenda-date{
  width: 180px;
}

.agenda-date-large{
  width: 320px;
}

.agenda-room{
  width: 100px;
}

.agenda-switch-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.agenda-room-row{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 16px;
}

.agenda-room-large{
  width: 350px;
  max-width: 100%;
  height: auto;
}

/* ===== 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: #595961;
  cursor: pointer;
}

/* ===== Tooltip ===== */
.interp-tooltip{
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.interp-tooltip img{
  display: block;
  width: 22px;
  height: auto;
}

.interp-tooltip-box{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 260px;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(34, 34, 34, 0.95);
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
  z-index: 999;
}

.interp-tooltip-box span{
  display: block;
}

.interp-tooltip-box::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(34, 34, 34, 0.95) transparent transparent transparent;
}

.interp-tooltip:hover .interp-tooltip-box{
  opacity: 1;
  visibility: visible;
}

@media (hover: none){
  .interp-tooltip:active .interp-tooltip-box,
  .interp-tooltip:focus-within .interp-tooltip-box{
    opacity: 1;
    visibility: visible;
  }
}

/* ===== Session Meta ===== */
.session-meta{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 20px 16px;
}

.session-meta-left{
  flex: 0 0 110px;
  min-width: 110px;
  text-align: left;
}

.session-meta-right{
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.session-meta-value{
  font-size: 15px;
  line-height: 1.6;
  color: #595961;
}

.session-meta-right .session-meta-value{
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  scrollbar-width: thin;
}

.session-meta-value .speaker-link{
  color: #595961;
  cursor: pointer;
  display: inline;
}

/* ===== 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: 700;
  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 (max-width: 768px){
  .header .header_logo{
    width: 220px !important;
    max-width: calc(100% - 90px);
  }

  .header .header_logo > img{
    width: 100% !important;
    height: auto !important;
  }

  .footer_info{
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .footer_info_head img{
    width: 300px;
  }

  #overlay,
  #overlay1,
  #overlay2,
  #overlay3,
  #overlay4,
  #overlay5,
  #overlay6,
  #overlay7,
  #overlay8,
  #overlay9{
    align-items: flex-start;
    padding: 84px 12px 110px;
  }

  #textoverlay{
    width: 100%;
    max-height: none;
    border-radius: 12px;
    padding: 18px 14px 16px;
  }

  #textoverlay p{
    font-size: 14px;
  }

  .popup-header-icons{
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .popup-header-icons a{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .popup-header-icons img{
    width: 18px;
    height: 18px;
  }

  .popup-title{
    font-size: 14px;
    line-height: 1.5;
    padding: 25px 0 12px 12px;
    margin-bottom: 14px;
  }

  .popup-section-title{
    font-size: 14px;
    margin: 14px 0 6px;
  }

  .popup-text{
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  ul.s_txt{
    padding-left: 20px;
    margin-bottom: 10px;
  }

  ul.s_txt li{
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 6px;
  }

  .community-sec_title{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    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;
  }

  .session-title{
    flex-direction: column;
    align-items: flex-start;
  }

  .title-right{
    margin-left: 0;
    text-align: left;
  }

  .agenda-date{
    display: block;
    width: 150px !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 150px;
  }

  .agenda-date-large{
    display: block;
    width: 150px !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 150px;
  }

  .agenda-switch-row{
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .agenda-switch-row .agenda-btns{
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .agenda-room{
    display: block;
    width: 72px !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 72px;
  }

  .agenda-room-large{
    display: block;
    width: 320px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 16px 0 12px 0;
  }

  .session-meta{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 10px;
  }

  .session-meta-left,
  .session-meta-right{
    width: 100%;
    flex: none !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
  }

  .session-meta-label{
    margin: 0 0 4px !important;
    font-size: 14px;
    line-height: 1.4;
  }

  .session-meta-value{
    margin: 0 !important;
    line-height: 1.6;
  }

  .session-meta-right{
    margin-top: 0 !important;
  }

  .session-meta-right .session-meta-value{
    white-space: normal;
    overflow-x: visible;
    display: block;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !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-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;
  }
}
/* 桌機／平板：左邊主持人不要換行 */
.session-meta-left{
  flex: 0 0 180px;
  min-width: 180px;
}

.session-meta-left .session-meta-value{
  white-space: nowrap;
}

/* 手機：恢復可換行 */
@media (max-width: 768px){
  .session-meta-left{
    flex: none !important;
    min-width: 0 !important;
  }

  .session-meta-left .session-meta-value{
    white-space: normal;
  }
}
/* ===== Inline agenda detail card ===== */
.session-block{
  position: relative;
  cursor: default;
  padding: 20px 24px;
}

.session-card-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.session-card-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #595961;
}

.session-card-cal{
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.session-card-cal img{
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.session-inline{
  border-top: 1px solid rgba(89, 89, 97, .35);
  padding-top: 14px;
}

.session-inline-row + .session-inline-row{
  margin-top: 14px;
}

.session-inline-label{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  text-decoration: underline;
  color: #595961;
}

.session-inline-list{
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}

.session-inline-list li{
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.8;
  color: #595961;
}

.session-inline-text{
  font-size: 16px;
  line-height: 1.8;
  color: #595961;
}

.session-inline-text .speaker-link{
  color: #595961;
  text-decoration: underline;
  cursor: pointer;
}

/* 舊的主持人 / 講者列不再用 */
.session-meta{
  display: none;
}

@media (max-width: 768px){
  .session-block{
    padding: 16px 14px;
  }

  .session-card-head{
    gap: 10px;
    margin-bottom: 12px;
  }

  .session-card-title{
    font-size: 18px;
    line-height: 1.45;
  }

  .session-card-cal{
    width: 38px;
    height: 38px;
  }

  .session-card-cal img{
    width: 28px;
    height: 28px;
  }

  .session-inline{
    padding-top: 12px;
  }

  .session-inline-label{
    font-size: 16px;
    margin-bottom: 4px;
  }

  .session-inline-list li,
  .session-inline-text{
    font-size: 14px;
    line-height: 1.7;
  }
}

.speaker-link{
  color: #595961;
  text-decoration: none !important;
  cursor: default;
}

.speaker-link.is-clickable{
  text-decoration: underline !important;
  cursor: pointer;
}

.speaker-link.is-disabled{
  text-decoration: none !important;
  cursor: default;
}