﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  color: #222;
  background: #f8f6fb;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 150px;
  padding: 10px 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  color: #333;
  font-size: 1.155rem;
  font-weight: 600;
}

.menu a:hover {
  color: #7b2cbf;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 800;
  transition: .25s;
  cursor: pointer;
}

.btn-orange {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255,94,0,.35);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,94,0,.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,.15);
}

/* Hero */
.teacher-event-page {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  color: #222222;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;


}

.teacher-event-page * {
  box-sizing: border-box;
}

/* =========================
   主視覺
========================= */

.event-hero {
	width:100%;
  position: relative;
  height:350px;
  overflow: hidden;
  background: url("images/bg.png") repeat;

}

.banner{
  width: 100%;
  max-width: 1080px;
	height:350px;
	margin:0 auto;
}

.event-banner {
  display: block;
  height: auto;
  margin:0 auto;
}

.hero-register-btn {
  position: absolute;
  margin-top:-100px;
  margin-left:600px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 58px;
  padding: 10px 28px;
  border-radius: 50px;
  background: #ffeb31;
  color: #202020;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-3deg);
  transition: 0.25s ease;
}

.hero-register-btn:hover {
  background: #fff580;
  transform: rotate(0deg) translateY(-3px);
}
.event-title_m{
display:none;

}

/* =========================
   共用區塊
========================= */

.event-section {
  padding: 70px 7%;
}

.content-section {
  background:
    radial-gradient(circle at 4% 15%, rgba(247, 114, 189, 0.18) 0 5px, transparent 6px),
    radial-gradient(circle at 6% 19%, rgba(247, 114, 189, 0.18) 0 5px, transparent 6px),
    radial-gradient(circle at 8% 23%, rgba(247, 114, 189, 0.18) 0 5px, transparent 6px),
    #ffffff;
}

.teacher-section {
  background: linear-gradient(180deg, #fff9fc 0%, #ffe9f4 100%);
}

.venue-section {
  background: #ffffff;
}

.notice-section {
  background: #fffbe9;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.section-heading span {
  color: #ffcc3b;
  font-size: 35px;
  line-height: 1;
}

.section-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 63px;
  margin: 0;
  padding: 0 28px;
  border-radius: 50px;
  background: #f772bd;
  color: #ffffff;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 6px 0 rgba(216, 51, 139, 0.18);
}

/* =========================
   講座內容
========================= */

.content-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.content-card {
  position: relative;
  display: flex;
  min-height: 158px;
  align-items: center;
  padding: 28px 70px 28px 96px;
  overflow: hidden;
  border-radius: 31px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
}

.pink-card {
  background: linear-gradient(135deg, #fb4ba4, #f56cbc);
}

.blue-card {
  background: linear-gradient(135deg, #159fe7, #35baf2);
}

.green-card {
  background: linear-gradient(135deg, #8fd636, #acd94c);
}

.orange-card {
  background: linear-gradient(135deg, #ff913e, #ffad43);
}

.card-number {
  position: absolute;
  top: 30px;
  left: 22px;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.content-card-text h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
}

.content-card-text p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.card-icon {
  position: absolute;
  right: 17px;
  bottom: 14px;
  width: 68px;
  max-height: 70px;
  object-fit: contain;
}

.video-section {
  max-width: 820px;
  margin: 55px auto 0;
}

.video-title {
  display: inline-block;
  margin-bottom: -4px;
  margin-left: 26px;
  padding: 10px 24px;
  border-radius: 30px;
  background: #24a9ed;
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  position: relative;
  z-index: 2;
}

.video-box {
  height: 480px;
  overflow: hidden;
  border: 5px solid #8db9ca;
  border-radius: 28px;
  background: #ffffff;
}

iframe{
  width:810px;
  height: 480px;
}


.video-play {
  display: flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding-left: 5px;
  border-radius: 50%;
  background: #f95cad;
  color: #ffffff;
  font-size: 34px;
}

.video-placeholder p {
  margin: 0;
  color: #333333;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* =========================
   講師介紹
========================= */

.teacher-wrap {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 55px;
  max-width: 960px;
  margin: 0 auto;
}

.teacher-photo-wrap {
  position: relative;
}

.teacher-photo {
  width: 260px;
  height: 260px;
  overflow: hidden;
  border: 5px solid #222222;
  border-radius: 50%;
  background: #ffffff;
}

.teacher-photo img {
  display: block;
  width: 150%;
  height: 150%;
  object-fit: cover;
  margin-top:-10px;
  
}

.teacher-label {
  position: absolute;
  right: -12px;
  bottom: 0;
  padding: 8px 20px;
  border-radius: 28px;
  background: #ffdd45;
  color: #222222;
  font-size: 19px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.teacher-info {
  position: relative;
  padding: 35px 44px;
  border-radius: 35px;
  background: linear-gradient(135deg, #f988c5, #f66eb8);
  box-shadow: 0 8px 0 rgba(220, 60, 145, 0.16);
}

.teacher-info::before {
  position: absolute;
  top: 60px;
  left: -22px;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-right: 24px solid #f988c5;
  border-bottom: 18px solid transparent;
  content: "";
}

.teacher-info h3 {
  margin: 0 0 18px;
  color: #222222;
  font-size: 27px;
  font-weight: 900;
}

.teacher-info ul {
  margin: 0 0 17px;
  padding-left: 25px;
}

.teacher-info li {
  margin-bottom: 7px;
  color: #222222;
  font-size: 19px;
  font-weight: 700;
}

.teacher-info p {
  margin: 0;
  padding-top: 17px;
  border-top: 2px dashed rgba(0, 0, 0, 0.24);
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

/* =========================
   場地資訊
========================= */

.event-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 810px;
  margin: 0 auto 34px;
  padding: 13px 20px;
  border-radius: 35px;
  background: #2aaceb;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.event-time strong {
  font-size: 20px;
}

.time-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #2aaceb;
  font-size: 20px;
}
/* =========================
   橫式場地資訊卡
========================= */

.venue-list {
  display: grid;
  gap: 24px;
}

.venue-card {
  display: grid;
  grid-template-columns: 300px minmax(330px, 1fr) 165px;
  align-items: stretch;
  gap: 24px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffe58a 0%, #ffc64c 100%);
  box-shadow: 0 8px 0 rgba(224, 161, 24, 0.2);
}
/* =========================
   各場次色系（依照你提供的色票）
========================= */

/* 台中場 */
.venue-card.taichung-card {
  background: linear-gradient(180deg, #cfe14e 0%, #bfd73b 100%);
  box-shadow: 0 8px 0 rgba(122, 141, 28, 0.26);
}

.venue-card.taichung-card .venue-map {
  border-color: rgba(255, 255, 255, 0.95);
}

.venue-card.taichung-card .seat-status {
  color: #5f5b16;
}

.venue-card.taichung-card .register-btn {
  background: #8da526;
  color: #ffffff;
  box-shadow: 0 4px 0 rgba(95, 111, 20, 0.25);
}

.venue-card.taichung-card .register-btn:hover {
  background: #7b931b;
}


/* 高雄場 */
.venue-card.kaohsiung-card {
  background: linear-gradient(180deg, #ee7f98 0%, #e76f8b 100%);
  box-shadow: 0 8px 0 rgba(162, 70, 95, 0.25);
}

.venue-card.kaohsiung-card .venue-map {
  border-color: rgba(255, 255, 255, 0.95);
}

.venue-card.kaohsiung-card .seat-status {
  color: #6c2136;
}

.venue-card.kaohsiung-card .register-btn {
  background: #cf4d72;
  color: #ffffff;
  box-shadow: 0 4px 0 rgba(121, 39, 63, 0.25);
}

.venue-card.kaohsiung-card .register-btn:hover {
  background: #bb3f62;
}

.venue-card.kaohsiung-card .register-btn.is-disabled {
  background: #9a7e86;
  color: #ffffff;
  box-shadow: none;
}


/* 台北場 */
.venue-card.taipei-card {
  background: linear-gradient(180deg, #68cef7 0%, #57c2f2 100%);
  box-shadow: 0 8px 0 rgba(47, 128, 173, 0.24);
}

.venue-card.taipei-card .venue-map {
  border-color: rgba(255, 255, 255, 0.95);
}

.venue-card.taipei-card .seat-status {
  color: #1f597d;
}

.venue-card.taipei-card .register-btn {
  background: #2e98cf;
  color: #ffffff;
  box-shadow: 0 4px 0 rgba(28, 102, 141, 0.25);
}

.venue-card.taipei-card .register-btn:hover {
  background: #1f86bc;
}

.venue-card.taipei-card .register-btn.is-disabled {
  background: #7c98a7;
  color: #ffffff;
  box-shadow: none;
}

/* 左側活動資訊 */

.venue-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.venue-date-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
}

.venue-calendar-icon {
  display: block;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  object-fit: contain;
}

.venue-date-row strong {
  color: #202020;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
}

.venue-place {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


.venue-location-icon {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  margin-top: 1px;
  object-fit: contain;
}

.venue-place h3 {
  margin: 0;
  color: #202020;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.venue-address {
  margin: 13px 0 0 39px;
  color: #282828;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

/* 中間地圖 */

.venue-map {
  min-height: 205px;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 18px;
  background: #eeeeee;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.venue-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 205px;
  border: 0;
}

/* 右側名額、報名 */

.venue-action {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.seat-status {
  color: #783827;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
}

.full-status {
  color: #87402c;
  font-size: 15px;
}

.empty-status {
  color: #9c3137;
}

.register-btn {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f852aa;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(184, 28, 104, 0.25);
  transition: 0.2s ease;
  border:none;
  cursor: pointer;
}

.register-btn:hover {
  background: #e83a97;
  transform: translateY(-2px);
}

.register-btn.is-disabled {
  background: #a89c98;
  box-shadow: none;
  cursor: default;
}


.calendar-icon-img,
.location-icon-img {
  width: 34px;
  height: 34px;
  vertical-align: middle;
  object-fit: contain;
}


/* =========================
   注意事項
========================= */

.notice-box {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 35px 45px;
  border: 3px dashed #f2b728;
  border-radius: 20px;
  background: #fffef8;
}

.notice-box ol {
  margin: 0;
  padding-left: 24px;
}

.notice-box li {
  margin-bottom: 9px;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}

.notice-pin {
  position: absolute;
  top: -19px;
  color: #f46eb6;
  font-size: 37px;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.pin-left {
  left: 25px;
}

.pin-right {
  right: 25px;
}

/* =========================
   底部 CTA
========================= */

.event-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  padding: 38px 25px;
  background: #373535;
}

.footer-text {
  color: #ffffff;
  text-align: center;
}

.footer-text span {
  display: block;
  font-size: 21px;
  font-weight: 700;
}

.footer-text strong {
  display: block;
  margin-top: 5px;
  color: #ffeb32;
  font-size: 30px;
  font-weight: 900;
}

.footer-register-btn {
  display: inline-flex;
  min-width: 220px;
  min-height: 65px;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 50px;
  background: #f652aa;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
}

.footer-register-btn:hover {
  background: #e83f9a;
  transform: translateY(-3px);
}

/* Footer */

.site-footer {
  padding: 12px 0;
  color: #fff;
  background: #3d464d;
  text-align: center;
  letter-spacing: .065rem;
}

.site-footer p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.8;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffe45c;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  width: min(650px, 92%);
  margin: 3% auto 5%;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  max-height: 85vh;
  overflow-y: auto;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}


/* =========================
   Modal 共用背景
========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 40px 16px;
  overflow-y: auto;
  background: rgba(25, 8, 45, .62);
  backdrop-filter: blur(6px);
}

/* Modal 白色內容框 */
.modal .modal-content {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 42px 40px 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 0, 40, .35);
  animation: modalPop .28s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 關閉按鈕 */
.modal .close {
  position: absolute;
  top: 13px;
  right: 17px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b5b76;
  background: #f5effa;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  transition: .2s;
}

.modal .close:hover {
  color: #fff;
  background: #7b2cbf;
  transform: rotate(90deg);
}

/* =========================
   登入 Modal
========================= */
#loginModal form {
  margin: 0;
}

#loginModal table {
  width: 100%;
  border-collapse: collapse;
}

#loginModal thead td {
  padding: 0 0 24px;
  color: #24103f;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

#loginModal tbody th,
#loginModal tbody td {
  padding: 8px 0;
  text-align: left;
}

#loginModal tbody th {
  width: 78px;
  color: #4c3b59;
  font-size: 16px;
  font-weight: 800;
}

#loginModal .input-field {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: none;
  color: #24103f;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: .2s;
}

#loginModal .input-field:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, .13);
}

#loginModal tfoot td {
  text-align: center;
}

#loginModal input[type="submit"] {
  width: 100%;
  margin: 20px 0 16px;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 8px 18px rgba(255, 94, 0, .3);
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

#loginModal input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(255, 94, 0, .4);
}


#loginModal tfoot tr:last-child a:hover {
  color: #ff6a00;
  text-decoration: underline;
}

/* =========================
   忘記密碼 Modal
========================= */
#forgetModal .login-container {
  width: 100%;
  margin: 0;
}

#forgetModal .account-header {
  margin-bottom: 28px;
  text-align: center;
}

#forgetModal .account-title {
  margin: 0 0 10px;
  color: #24103f;
  font-size: 26px;
  font-weight: 900;
}

#forgetModal .account-subtitle {
  margin: 0;
  color: #756781;
  font-size: 15px;
  line-height: 1.8;
}

#forgetModal .form-group {
  margin-bottom: 20px;
}

#forgetModal .form-label {
  display: block;
  margin-bottom: 8px;
  color: #4c3b59;
  font-size: 15px;
  font-weight: 800;
}

#forgetModal .form-input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  outline: none;
  color: #24103f;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: .2s;
}

#forgetModal .form-input:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, .13);
}

#forgetModal .captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

#forgetModal .col-code {
  flex: 1;
  min-width: 0;
}

#forgetModal .captcha-img-wrapper {
  flex: 0 0 120px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #ded3e8;
  border-radius: 10px;
  background: #f8f6fb;
}

#forgetModal #captchaImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

#forgetModal .btn-submit {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7b2cbf, #4b137a);
  box-shadow: 0 8px 18px rgba(123, 44, 191, .28);
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

#forgetModal .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(123, 44, 191, .4);
}

/* 忘記密碼、加入會員：並排 */
#loginModal .login-links {
  padding-top: 2px;
  justify-content: center;
  align-items: center;
  gap: 0;
}

#loginModal .login-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #7b2cbf;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: .2s;
}
#loginModal .login-links a:hover {
  color: #ff6a00;
  text-decoration: none;
}
/* =========================
   報名完成＋課前提問
========================= */

.event-complete-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  max-width: 1180px;
  margin: 45px auto;
  padding: 0 20px;
}


.event-complete-card{
  margin-bottom: 30px;
  padding: 38px 42px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 9px 0 rgba(0, 0, 0, 0.08);
}
.event-question-card {
  margin-bottom: 30px;
  padding: 25px 42px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 9px 0 rgba(0, 0, 0, 0.08);
}

/* =========================
   報名完成資訊
========================= */

.event-complete-card {
  border: 3px solid #caebfa;
  background: #f9fdff;
}

.complete-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.complete-icon {
  display: flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #59c5f3;
  color: #ffffff;
  font-size: 31px;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(31, 139, 190, 0.2);
}

.complete-title h2 {
  margin: 0 0 4px;
  color: #242424;
  font-size: 27px;
  font-weight: 900;
}

.complete-title p {
  margin: 0;
  color: #5d6870;
  font-size: 16px;
  font-weight: 600;
}

.complete-remind {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff1b9;
  color: #604b12;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.registration-number {
  margin-bottom: 26px;
  padding: 22px 20px;
  border-radius: 20px;
  background: #f474b9;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 5px 0 rgba(202, 52, 137, 0.18);
}

.registration-number span {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
}

.registration-number strong {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-left:15px;
}

.course-info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.course-info-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 18px;
  border: 2px solid #d8edf8;
  border-radius: 18px;
  background: #ffffff;
}

.course-info-icon {
  font-size: 25px;
  line-height: 1;
  width:20px;
  margin-right:5px;
}

.course-info-item small {
  display: block;
  margin-bottom: 5px;
  color: #6f7d85;
  font-size: 14px;
  font-weight: 700;
}

.course-info-item strong {
  display: block;
  color: #262626;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
  word-break: break-word;
}

.event-map-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 22px;
  background: #eeeeee;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08);
}

.event-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.environment-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: 14px;
  background: #edf8d9;
  color: #52661c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.environment-note span {
  font-size: 21px;
  line-height: 1.2;
}

/* =========================
   課前提問
========================= */

.event-question-card {
  border: 3px solid #ffd4e7;
}

.question-title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 20px;
  background: #fff2f8;
}

.question-icon {
  display: flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f474b9;
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
}

.question-title h2 {
  margin: 0 0 6px;
  color: #252525;
  font-size: 24px;
  font-weight: 900;
}

.question-title p {
  margin: 0;
  color: #4f4f4f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.question-title strong {
  color: #dc428e;
}

.question-form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.question-field {
  display: block;
  margin-bottom: 10px;
}

.question-field > span {
  display: block;
  margin-bottom: 9px;
  color: #282828;
  font-size: 17px;
  font-weight: 900;
}

.question-field input[type="text"],
.question-field input[type="email"],
.question-field textarea {
  display: block;
  width: 100%;
  border: 2px solid #dbe4e8;
  border-radius: 12px;
  outline: none;
  background: #ffffff;
  color: #252525;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.question-field input[type="text"],
.question-field input[type="email"] {
  height: 48px;
  padding: 10px 14px;
}

.question-field textarea {
  min-height: 50px;
  padding: 14px;
  line-height: 1.75;
  resize: vertical;
}

.question-field input:focus,
.question-field textarea:focus {
  border-color: #5bc2ee;
  box-shadow: 0 0 0 4px rgba(91, 194, 238, 0.14);
}

.question-field input::placeholder,
.question-field textarea::placeholder {
  color: #a6afb4;
}

.question-message {
  margin-bottom: 26px;
}

.question-submit-wrap {
  text-align: center;
}

.question-submit-btn {
  min-width: 175px;
  min-height: 53px;
  padding: 10px 30px;
  border: 0;
  border-radius: 30px;
  background: #f454ab;
  color: #ffffff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(181, 36, 108, 0.24);
  transition: 0.2s ease;
}

.question-submit-btn:hover {
  background: #e63e99;
  transform: translateY(-2px);
}

.question-submit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(181, 36, 108, 0.24);
}
/* 報名完成標題列 */

.complete-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.complete-title-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cancel-register-form {
  margin: 0;
  flex: 0 0 auto;
}

.cancel-register-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 2px solid #e85a82;
  border-radius: 22px;
  background: #ffffff;
  color: #d9406b;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-register-btn:hover {
  background: #e85a82;
  color: #ffffff;
  transform: translateY(-2px);
}

.cancel-register-btn:active {
  transform: translateY(1px);
}

/* 手機版 */


@media (max-width: 768px) {

  /* Header */
  .header,
  .nav {
    height: 64px;
  }

  .logo img {
    width: 130px;
  }

  .menu {
    display: none;
  }

  .event-hero {
    display:none;
  }
  
.event-title_m{
display:block;

}
.event-title_m img{
	width:100%;
}


  .hero-register-btn {
    right: 7%;
    bottom: 7%;
    min-width: 118px;
    min-height: 41px;
    padding: 8px 15px;
    font-size: 17px;
  }

  .event-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-nav a {
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 17px;
  }

  .event-section {
    padding: 48px 18px;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 28px;
  }

  .section-heading span {
    font-size: 25px;
  }

  .section-heading h2 {
    min-width: 150px;
    min-height: 53px;
    font-size: 23px;
  }

  .content-card-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-card {
    min-height: 142px;
    padding: 25px 72px 24px 83px;
    border-radius: 25px;
  }

  .card-number {
    top: 25px;
    left: 18px;
    width: 51px;
    height: 51px;
    font-size: 18px;
  }

  .content-card-text h3 {
    font-size: 21px;
  }

  .content-card-text p {
    font-size: 14px;
  }

  .card-icon {
    right: 12px;
    bottom: 12px;
    width: 52px;
  }

  .video-section {
    margin-top: 38px;
  }

.video-box {
  height: 250px;
  overflow: hidden;
  border: 5px solid #8db9ca;
  border-radius: 28px;
  background: #ffffff;
}


iframe{
  width:100%;
  height: 250px;
}


  .video-placeholder {
    min-height: 212px;
  }

  .video-placeholder p {
    font-size: 16px;
  }

  .teacher-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .teacher-photo-wrap {
    margin: 0 auto;
  }

  .teacher-photo {
    width: 220px;
    height: 220px;
  }

  .teacher-info {
    padding: 30px 25px;
    border-radius: 28px;
  }

  .teacher-info::before {
    top: -19px;
    left: 50%;
    border-top: 0;
    border-right: 18px solid transparent;
    border-bottom: 22px solid #f988c5;
    border-left: 18px solid transparent;
    transform: translateX(-50%);
  }

  .teacher-info h3 {
    font-size: 22px;
  }

  .teacher-info li {
    font-size: 17px;
  }

  .teacher-info p {
    font-size: 15px;
  }

  .event-time {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    line-height: 1.75;
  }

  .event-time strong {
    display: block;
    font-size: 17px;
  }

  .time-icon {
    display: none;
  }

 .venue-list {
    gap: 18px;
  }

  .venue-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 17px;
    border-radius: 25px;
  }

  .venue-info {
    display: block;
  }

  .venue-date-row {
    margin-bottom: 16px;
  }

  .venue-date-row strong {
    font-size: 20px;
  }

  .venue-date-row span {
    font-size: 17px;
  }

  .venue-place h3 {
    font-size: 17px;
  }

  .venue-address {
    margin-left: 38px;
    font-size: 15px;
  }

  .venue-map,
  .venue-map iframe {
    min-height: 220px;
  }

  .venue-action {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .seat-status {
    text-align: left;
  }

  .register-btn {
    width: 100%;
  }


  .notice-box {
    padding: 30px 22px 22px;
  }

  .notice-box li {
    font-size: 14px;
    line-height: 1.75;
  }

  .event-footer {
    flex-direction: column;
    gap: 22px;
    padding: 34px 20px;
  }

  .footer-text strong {
    font-size: 25px;
  }

  .footer-register-btn {
    width: 100%;
    max-width: 300px;
    min-height: 57px;
    font-size: 21px;
  }



    .site-footer {
    padding: 16px 18px;
  }

  .site-footer p {
    font-size: 12px;
    line-height: 1.8;
  }

  /* 手機版隱藏較不重要資訊 */
.footer-fax,
.footer-en {
  display: none;
}
  .footer-tax {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
  }
  .footer-contact,
  .footer-copyright {
    display: block;
  }

  .footer-email {
    display: block;
  }

  .footer-copy {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
  }

  /* Modal */
  .modal {
    padding: 20px 12px;
  }

  .modal .modal-content {
    padding: 38px 22px 28px;
    border-radius: 16px;
  }

  #loginModal thead td {
    font-size: 22px;
  }

  #loginModal tbody th,
  #loginModal tbody td {
    display: block;
    width: 100%;
  }

  #loginModal tbody th {
    padding: 8px 0 3px;
  }

  #loginModal tbody td {
    padding: 0 0 8px;
  }

  #forgetModal .captcha-row {
    align-items: stretch;
  }

  #forgetModal .captcha-img-wrapper {
    flex-basis: 110px;
  }

.event-complete-wrap {
    margin: 30px auto;
    padding: 0 15px;
  display: block;
}

  .event-complete-card,
  .event-question-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .complete-icon {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
    font-size: 25px;
  }

  .complete-title h2 {
    font-size: 23px;
  }

  .complete-title p,
  .complete-remind {
    font-size: 14px;
  }

  .registration-number strong {
    font-size: 23px;
  }

  .course-info-grid,
  .question-form-grid {
    grid-template-columns: 1fr;
  }

  .event-map-wrap {
    height: 250px;
    border-radius: 16px;
  }

  .question-title {
    gap: 11px;
    padding: 16px;
  }

  .question-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 22px;
  }

  .question-title h2 {
    font-size: 20px;
  }

  .question-title p {
    font-size: 14px;
  }

  .background-options {
    gap: 8px;
    padding: 12px;
  }

  .background-option {
    font-size: 14px;
  }

  .other-input {
    width: 100% !important;
    flex-basis: 100%;
  }

  .question-submit-btn {
    width: 100%;
  }
  
  .complete-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .complete-title-main {
    width: 100%;
  }

  .cancel-register-form {
    width: 100%;
  }

  .cancel-register-btn {
    width: 100%;
  }
}