/* 01. Fonts and shared theme */
@font-face {
  font-family: "Ember Modern";
  src: url("../fonts/ember-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: "Ember Modern";
  src: url("../fonts/ember-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/noto-sans-tc.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --blue: #087cff;
  --navy: #0b3d76;
  --paper: #f4f1ed;
  --ink: #14202b;
  --yellow: #ffc600;
  --pink: #ff9d9f;
  --nav-height: 72px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Ember Modern", "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
}
h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
button,
a {
  touch-action: manipulation;
}
.container {
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
}
.section {
  padding: 90px 0;
}
.eyebrow {
  color: #008fd4;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 45px;
}
.section-head > p {
  max-width: 520px;
  font-size: 15px;
  margin: 0;
}
.btn {
  border: 2px solid white;
  border-radius: 40px;
  padding: 8px 30px;
  font-size: 17px;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.btn:hover {
  color: white;
  filter: brightness(0.96);
  transform: translateY(-2px);
}
.btn-yellow {
  background: var(--yellow);
}
.btn-pink {
  background: var(--pink);
}
.btn-nav {
  background: #08c9dc;
  font-size: 15px;
  padding: 6px 26px;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #153cff;
  outline-offset: 4px;
  box-shadow: none;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 8px 16px;
  background: white;
  color: var(--ink);
  z-index: 2000;
}
.skip-link:focus {
  top: 12px;
}
/* 02. Navigation */
.navbar {
  min-height: 72px;
  background: #5aabfc;
  color: #fff;
}
.nav-container {
  padding: 0 36px;
}
.navbar-brand img {
  display: block;
  width: 60px;
  height: 42px;
  object-fit: contain;
}
.navbar-nav {
  gap: 22px;
}
.nav-link {
  color: white;
  font-size: 15px;
  font-weight: 600;
}
.nav-link:hover,
.nav-link.active {
  color: #fff4a0;
}
.navbar-toggler {
  border-color: #ffffff90;
}
.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
/* 03. Hero and closing: CSS gradient and overlapping circles */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #087cff 20%, #589ffa 61%, #fff 100%);
  color: white;
  padding: 185px 0 325px;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  margin-bottom: 10px;
  letter-spacing: 0.035em;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 52px 0 62px;
}
.event-info {
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.event-item {
  display: flex;
  gap: 22px;
  align-items: center;
}
.event-item strong {
  display: block;
  font-size: 27px;
  line-height: 1.4;
}
.event-item strong small {
  font-size: 18px;
}
.event-item span {
  display: block;
  font-size: 19px;
  font-weight: 600;
}
.event-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-circles {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1400px);
  height: 270px;
  pointer-events: none;
}
.hero-circles span {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 0;
  left: 1%;
  background: linear-gradient(45deg, #fc1686 20%, #ffbc00 68%, #d9db39);
}
.hero-circles span + span {
  left: 31%;
  background: linear-gradient(135deg, #a3d58b, #08a1df 70%);
  opacity: 0.76;
}
/* 04. About */
.about {
  color: white;
  background: radial-gradient(ellipse at 100% 0, #8ccba3, transparent 66%), #087cff;
}
.about .eyebrow {
  color: var(--yellow);
}
.about-copy {
  max-width: 450px;
  margin-top: 32px;
}
.content-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 8px;
    padding: 18px 0;
  }
  .nav-container {
    padding: 0 24px;
  }
  .navbar-nav .btn {
    margin: 8px 0;
  }
  .section {
    padding: 65px 0;
  }
  .hero {
    padding: 150px 0 245px;
  }
  .event-info {
    gap: 24px;
  }
  .event-item strong {
    font-size: 22px;
  }
  .event-item span {
    font-size: 16px;
  }
  .event-icon {
    width: 42px;
    height: 42px;
  }
  .hero-circles {
    height: 190px;
  }
  .section-head {
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .section {
    padding: 52px 0;
  }
  .hero {
    padding: 130px 0 155px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-buttons {
    gap: 14px;
    margin: 30px 0;
  }
  .btn {
    padding: 8px 23px;
    font-size: 16px;
  }
  .event-info {
    flex-direction: column;
    align-items: flex-start;
    max-width: 360px;
    margin: auto;
    gap: 20px;
  }
  .event-item {
    gap: 12px;
  }
  .event-item strong {
    font-size: 20px;
  }
  .event-item span {
    font-size: 14px;
  }
  .event-icon {
    width: 36px;
    height: 36px;
  }
  .hero-circles {
    height: 105px;
    width: 120%;
  }
  .section-head {
    display: block;
    margin-bottom: 28px;
  }
  .section-head > p {
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 20px;
  }
  .about-copy {
    margin-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* 05. Five highlights */
.highlight-grid {
  margin-top: 42px;
}
.highlight-card {
  height: 100%;
  border-radius: 12px;
  padding: 30px 12px 26px;
  background: linear-gradient(110deg, #d3a5ff, #a59bff);
  color: white;
}
.highlight-grid > .col:nth-child(2) .highlight-card {
  background: linear-gradient(110deg, #a698ff, #7794ff);
}
.highlight-grid > .col:nth-child(3) .highlight-card {
  background: linear-gradient(110deg, #7594ff, #408aff);
}
.highlight-grid > .col:nth-child(4) .highlight-card {
  background: linear-gradient(110deg, #408aff, #087cff);
}
.highlight-grid > .col:nth-child(5) .highlight-card {
  background: #087cff;
}
.highlight-card img {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.highlight-card h3 {
  font-size: 24px;
}
.highlight-card p {
  font-size: 16px;
  margin-bottom: 0;
}
/* 06. Agenda tabs and translucent table */
.agenda {
  color: white;
  background: linear-gradient(130deg, #087cff 12%, #dcaaff 55%, #087cff 93%);
}
.agenda .eyebrow {
  color: var(--yellow);
}
.agenda-tabs {
  border-bottom: 2px solid white;
}
.agenda-tabs .nav-link {
  font-family: inherit;
  border: 0;
  border-radius: 20px 20px 0 0;
  padding: 16px 45px;
  font-size: 20px;
  color: white;
background: linear-gradient(#8fcea3, #399eca);
}
.agenda-tabs .nav-link.active {
  background: linear-gradient(#ffcc00, #8c9b69);
  color: white;
}
.agenda-tabs .nav-link:not(.active) {
  opacity: 0.85;
}
.agenda-table {
  width: 100%;
  border-collapse: collapse;
}
.agenda-table th,
.agenda-table td {
  padding: 18px 30px;
  border-bottom: 1px solid #ffffffb0;
}
.agenda-table th {
  width: 230px;
  white-space: nowrap;
  text-align: center;
  font-size: 18px;
}
.agenda-table td {
  font-size: 19px;
  font-weight: 700;
}
.agenda-table small {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.agenda-table tr:nth-child(odd) {
  background: #ffffff16;
}
.agenda-table tr:last-child {
  border-bottom: 2px solid white;
}
.workshop-pending {
  padding: 100px 20px;
  text-align: center;
  background: #ffffff16;
}
.workshop-pending p {
  margin: 18px 0 30px;
}
/* 07. Replaceable speaker portraits */
.speaker {
  text-align: center;
}
.speaker-photo {
  border-radius: 16px;
  background: linear-gradient(180deg, #087cff 10%, #c69bff 100%);
  overflow: hidden;
  aspect-ratio: 1;
}
.speaker-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker h3 {
  font-size: 24px;
  margin: 14px 0 3px;
}
.speaker p {
  font-size: 15px;
  line-height: 1.5;
}
/* 08. Featured forum */
.forum {
  background: #0b3d76;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.forum .eyebrow {
  color: var(--yellow);
}
.forum .section-head {
  margin-bottom: 25px;
}
.forum .section-head strong {
  font-size: 24px;
}
.forum-intro {
  max-width: 570px;
  margin-bottom: 30px;
}
.forum-row {
  margin-bottom: 65px;
}
.forum-row h3 {
  margin-bottom: 30px;
  font-size: 24px;
}
.forum-row p {
  margin: 0;
}
.gallery-title {
  margin: 75px 0 45px;
}
.gallery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
}
/* 09. Booths */
.booth {
  background: #fff;
  border-radius: 14px;
  aspect-ratio: 1.55;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.booth.has-logo {
  background: transparent;
}
.booth img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 65px;
}
.section-bottom p {
  font-size: 15px;
  margin: 0;
}
.section-bottom .btn {
  flex-shrink: 0;
}
/* 10. Gifts */
.gifts {
  color: white;
  background: radial-gradient(ellipse at 0 100%, #93cfa4, transparent 76%), #087cff;
}
.gifts .eyebrow {
  color: var(--yellow);
}
.gift-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.gift-title {
  text-align: center;
  border: 2px solid #ffffffc0;
  border-radius: 11px;
  background: #ffffff18;
  padding: 10px;
  margin: 22px 0 30px;
}
.gift-title h3 {
  font-size: 24px;
  margin: 0;
}
.gift-title p {
  font-size: 16px;
  margin: 0;
}
.gift-details h4 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}
.gift-details p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.gifts .section-bottom {
  border-top: 1px solid white;
  padding-top: 26px;
  margin-top: 15px;
}
/* 11. Registration integration slot */
.register .section-head {
  margin-bottom: 14px;
}
.registration-note {
  text-align: right;
  font-size: 14px;
}
.registration-frame {
  border: 1px solid var(--navy);
  border-radius: 14px;
  min-height: 530px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.registration-pending {
  color: #687586;
  margin: 0;
  padding: 35px;
  text-align: center;
}
.registration-frame iframe {
  width: 100%;
  height: 800px;
  border: 0;
  display: block;
}
.registration-fallback {
  margin: 16px 0 0;
  font-size: 14px;
  color: #5a6b7b;
  text-align: center;
}
.registration-fallback a {
  color: var(--blue);
  text-decoration: underline;
}
/* 12. Venue */
.venue {
  background: #0b3d76;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.venue .eyebrow {
  color: var(--yellow);
}
.venue-map {
  height: 100%;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(#087cff 12%, #caa2ff);
}
.venue-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.venue h3 {
  font-size: 24px;
  margin-bottom: 2px;
}
.venue p {
  font-size: 15px;
}
.venue-list {
  margin: 0;
}
.venue-list > div {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 17px 0;
  border-top: 1px solid #fff;
}
.venue-list > div:last-child {
  border-bottom: 1px solid #fff;
}
.venue-list dt {
  min-width: 120px;
  font-size: 22px;
  font-weight: 700;
}
.venue-list dd {
  margin: 0;
  font-size: 15px;
}
/* 13. FAQ */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: #529cff;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}
.accordion-item:first-child {
  border-top: 1px solid #529cff;
}
.accordion-item:last-child {
  border-bottom: 1px solid #529cff;
}
.accordion-button {
  padding: 22px 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  gap: 20px;
}
.accordion-button:not(.collapsed) {
  box-shadow: none;
}
.accordion-button::after {
  background: none !important;
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: #087cff;
  width: 30px;
  height: 30px;
  line-height: 26px;
}
.accordion-button:not(.collapsed)::after {
  content: "−";
  transform: none;
}
.accordion-body {
  padding: 0 0 24px;
  font-size: 16px;
}
/* 14. Closing and footer */
.closing {
  padding: 100px 0 350px;
}
.closing h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}
.closing .btn {
  margin-top: 20px;
}
.footer {
  padding: 70px 0 25px;
  background: #131d26;
  color: white;
}
.footer h2 {
  font-size: 32px;
}
.footer-subtitle {
  font-size: 19px;
  font-weight: 700;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 70px 0 40px;
  gap: 30px;
}
.footer-info p {
  margin: 0;
  font-size: 14px;
}
.organizer {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}
.organizer img {
  object-fit: contain;
}
.footer-bottom {
  border-top: 1px solid white;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom span {
  white-space: nowrap;
}
/* 15. Tablet adjustments */
@media (max-width: 991.98px) {
  .highlight-card {
    padding: 22px 8px;
  }
  .highlight-card h3 {
    font-size: 20px;
  }
  .highlight-card p {
    font-size: 14px;
  }
  .agenda-table th {
    width: 175px;
  }
  .agenda-table td,
  .agenda-table th {
    padding: 17px 20px;
  }
  .speaker h3 {
    font-size: 22px;
  }
  .forum-row {
    margin-bottom: 40px;
  }
  .gallery-title {
    margin: 50px 0 30px;
  }
  .registration-frame {
    min-height: 460px;
  }
  .venue-map {
    min-height: 360px;
  }
  .closing {
    padding: 80px 0 250px;
  }
  .footer-info {
    margin-top: 45px;
  }
}
/* 16. Mobile adjustments */
@media (max-width: 575.98px) {
  .highlight-grid {
    margin-top: 25px;
  }
  .highlight-grid > .col:last-child {
    width: 100%;
  }
  .highlight-card img {
    height: 54px;
    width: 54px;
  }
  .highlight-card h3 {
    font-size: 22px;
  }
  .agenda-tabs .nav-item {
    width: 50%;
  }
  .agenda-tabs .nav-link {
    width: 100%;
    padding: 13px 8px;
    font-size: 12px;
    border-radius: 15px 15px 0 0;
  }
  .agenda-table th {
    width: 112px;
    font-size: 14px;
  }
  .agenda-table td,
  .agenda-table th {
    padding: 15px 9px;
  }
  .agenda-table td {
    font-size: 16px;
  }
  .agenda-table small {
    font-size: 14px;
    line-height: 1.6;
  }
  .speaker h3 {
    font-size: 18px;
  }
  .speaker p {
    font-size: 13px;
  }
  .speaker-photo {
    border-radius: 10px;
  }
  .forum-row h3 {
    font-size: 21px;
    margin-bottom: 18px;
  }
  .gallery-title {
    font-size: 21px;
  }
  .section-bottom {
    margin-top: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
  .section-bottom .btn {
    align-self: flex-end;
  }
  .gift-title {
    margin: 16px 0 22px;
  }
  .gift-details p {
    font-size: 15px;
  }
  .registration-note {
    text-align: left;
  }
  .registration-frame {
    min-height: 390px;
  }
  .registration-frame iframe {
    height: 900px;
  }
  .venue-map {
    min-height: 250px;
  }
  .venue-list dt {
    min-width: 92px;
    font-size: 18px;
  }
  .venue-list > div {
    gap: 15px;
  }
  .venue-list dd {
    font-size: 14px;
  }
  .accordion-button {
    font-size: 18px;
    padding: 18px 0;
  }
  .closing {
    padding: 65px 0 175px;
  }
  .closing h2 {
    font-size: 30px;
  }
  .footer {
    padding: 45px 0 25px;
  }
  .footer h2 {
    font-size: 25px;
  }
  .footer-subtitle {
    font-size: 16px;
  }
  .footer-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0 25px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

.btn-pink {
  background-color: #ff9d9f;
  border: 2px solid #fff;
  color: #fff;
}

.btn-pink:hover,
.btn-pink:focus,
.btn-pink:active,
.btn-pink:first-child:active {
  background-color: #ff858b;
  border-color: #fff;
  color: #fff;
}

/* ========================================
   字型覆蓋設定
   中文：Noto Sans TC
   一般英文、數字：Ember Modern Text
   最大標題英文、數字：Ember Modern Display
======================================== */

/* 一般英文、數字：Regular */
@font-face {
  font-family: "Site Ember Text";
  src: url("../fonts/EmberModernTextV1.1-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F;
}

/* 一般英文、數字：Bold */
@font-face {
  font-family: "Site Ember Text";
  src: url("../fonts/EmberModernTextV1.1-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F;
}

/* 最大標題英文、數字：Regular */
@font-face {
  font-family: "Site Ember Display";
  src: url("../fonts/ember-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F;
}

/* 最大標題英文、數字：Bold */
@font-face {
  font-family: "Site Ember Display";
  src: url("../fonts/ember-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F;
}

/* 中文：Noto Sans TC 可變字型 */
@font-face {
  font-family: "Site Noto Sans TC";
  src: url("../fonts/noto-sans-tc.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 共用字型 */
:root {
  --site-font-body:
    "Site Ember Text", "Site Noto Sans TC", sans-serif;

  --site-font-display:
    "Site Ember Display", "Site Noto Sans TC", sans-serif;

  --bs-body-font-family: var(--site-font-body);
}

/* 全站一般文字 */
body {
  font-family: var(--site-font-body);
  font-weight: 400;
}

/* 一般標題 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--site-font-body);
  font-weight: 700;
}

/* 按鈕、選單、表單與表格 */
button,
input,
select,
textarea,
.btn,
.nav-link,
.accordion-button,
.agenda-table {
  font-family: var(--site-font-body);
}

/* 粗體文字 */
strong,
b {
  font-weight: 700;
}

/* 最大標題：首頁、底部活動主標 */
.hero h1,
.closing h2,
.font-display {
  font-family: var(--site-font-display);
}

/* 若標題內有 span，也使用標題字型 */
.hero h1 span,
.closing h2 span,
.font-display span {
  font-family: inherit;
}

/* 可自行加在元素上的字重工具 */
.font-regular {
  font-weight: 400 !important;
}

.font-bold {
  font-weight: 700 !important;
}


/* 廠商 Logo：固定高度、透明背景、水平垂直置中 */
.vendor-logo-grid .vendor-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 130px;
  padding: 20px;
  box-sizing: border-box;
  background: transparent;
}

/* 不同長寬比例的圖片，統一放進相同範圍 */
.vendor-logo-grid .vendor-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 手機版：每列兩張 */
@media (max-width: 767.98px) {
  .vendor-logo-grid .vendor-logo {
    height: 110px;
    padding: 18px;
  }
}
