:root {
  --icp-blue: #005b9f;
  --icp-blue-deep: #00599b;
  --icp-footer: #69acdf;
  --icp-pink: #ef6ca8;
  --icp-pink-light: #f39ac4;
  --icp-sky: #59b8ee;
  --icp-text: #3c3a3a;
  --icp-placeholder: #dcdddd;
  --icp-content-width: 1100px;
  --icp-nav-width: 1300px;
  --icp-footer-width: 980px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--icp-text);
  background: #fff;
  font-family: "微軟正黑體", "Century Gothic", "Trebuchet MS", Avenir, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: #52D681;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-underline-offset: 8px;
}
a:hover, a:active, a:focus {
  color: #52D681;
  outline: none;
  text-decoration: none;
}

.site-navbar {
  min-height: 150px;
  padding: 0;
  background: #fff;
}

.site-navbar .container-fluid {
  width: 100%;
  max-width: var(--icp-nav-width);
  min-height: 150px;
  padding-right: 0;
  padding-left: 0;
}

.site-navbar .navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 58px;
  padding: 0;
}

.site-navbar .navbar-brand img {
  display: block;
  width: 260px;
  height: auto;
}

.site-navbar .navbar-nav {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.site-navbar .nav-link {
  position: relative;
  padding: 12px 7px !important;
  color: var(--icp-blue) !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: color .18s ease, opacity .18s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--icp-pink) !important;
}

.site-navbar .nav-link.active {
  color: var(--icp-blue) !important;
  font-weight: 600;
}

.site-navbar .dropdown-toggle::after {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  vertical-align: .18em;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.site-navbar .dropdown-menu {
  min-width: 225px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  box-shadow: none;
}

.site-navbar .dropdown-item {
  padding: 10px 18px;
  color: #363636;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  background: #fff;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar .dropdown-item.active {
  color: #fff;
  background: #8dcbed;
}

.site-navbar .navbar-toggler {
  border-color: rgba(0, 91, 159, .35);
  border-radius: 0;
}

.site-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(0, 91, 159, .18);
}

.hero-art {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--icp-blue);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.content-container {
  width: min(100% - 40px, var(--icp-content-width));
  margin-right: auto;
  margin-left: auto;
}

.home-main {
  padding-top: 66px;
  padding-bottom: 77px;
}

.news-dates-row {
  min-height: 400px;
}

.section-title {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  color: var(--icp-pink);
  font-size: clamp(28px, 2.15vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.35px;
}

.section-title::before {
  align-self: stretch;
  width: 9px;
  min-height: 42px;
  margin-right: 11px;
  background: var(--icp-pink-light);
  content: "";
}

.latest-news-copy {
  margin: 0;
  padding: 0 0 4px;
  border-bottom: 2px dotted #717171;
  font-size: 17px;
  line-height: 1.35;
}

.important-dates {
  margin: 0;
  padding: 0;
  list-style: none;
}

.important-dates li {
  margin-bottom: 8px;
}

.important-dates .date-label {
  display: block;
  margin-bottom: -1px;
  font-size: 17px;
  line-height: 1.25;
}

.important-dates time {
  display: block;
  color: var(--icp-sky);
  font-size: 22px;
  line-height: 1.2;
}

.titleA {
  display: block;
  color: var(--icp-blue);
  font-size: 22px;
  line-height: 1.5;
  font-weight: bolder
}
.title2 {
  display: block;
  color: var(--icp-sky);
  font-size: 22px;
  line-height: 1.5;
  font-weight: bolder
}
.title3 {
  display: block;
  color: #E84C07;
  font-size: 22px;
  line-height: 1.5;
  font-weight: bolder
}
.ntitle {
  display: block;
  color: #2E74B5;
  font-size: 16px;
  line-height: 1.5;
  font-weight: bolder
}
.ptitle {
  display: block;
  color: #E84C07;
  font-size: 16px;
  line-height: 1.5;
  font-weight: bolder
}

.welcome-section .section-title {
  margin-bottom: 10px;
}

.welcome-copy {
  font-size: 23.3px;
  line-height: 1.36;
  letter-spacing: .18px;
  text-align: justify;
}

.welcome-copy p {
  margin: 0 0 30px;
}

.signature-row {
  margin-top: 40px;
}

.signature-card {
  min-height: 100px;
}

.signature-image-wrap {
  display: flex;
  align-items: flex-end;
  height: 86px;
  margin-bottom: 5px;
}

.signature-image-wrap img {
  display: block;
  max-width: 165px;
  max-height: 80px;
  object-fit: contain;
  object-position: left bottom;
}

.signature-card h3 {
  margin: 0 0 1px;
  color: #252525;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.signature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.28;
}

.photo-grid {
  margin-top: 41px;
}

.photo-placeholder {
  display: grid;
  min-height: 394px;
  place-items: center;
  background: var(--icp-placeholder);
  color: #b9b9b9;
  font-family:  "Noto Sans TC", sans-serif;
  font-size: 74px;
  font-weight: 300;
  line-height: 1;
}

.site-footer {
  min-height: 380px;
  padding: 74px 0 65px;
  color: #fff;
  background: var(--icp-footer);
}

.site-footer .footer-inner {
  width: min(100% - 40px, var(--icp-footer-width));
  margin-right: auto;
  margin-left: auto;
}

.site-footer h2 {
  margin: 0 0 9px;
  color: var(--icp-blue-deep);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.15;
}

.site-footer address {
  margin: 0;
  font-size: 19px;
  font-style: normal;
  line-height: 1.45;
}

.site-footer address strong {
  font-weight: 700;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.program-main {
  min-height: 595px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.program-main .section-title {
  font-size: clamp(34px, 3vw, 44px);
}

.program-content-placeholder {
  min-height: 430px;
}

@media (min-width: 1200px) {
  .site-navbar .dropdown:hover > .dropdown-menu,
  .site-navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1399.98px) {
  .site-navbar .container-fluid {
    max-width: calc(100% - 48px);
  }

  .site-navbar .navbar-brand {
    margin-right: 30px;
  }

  .site-navbar .navbar-brand img {
    width: 230px;
  }

  .site-navbar .nav-link {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: 15px;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar,
  .site-navbar .container-fluid {
    min-height: 104px;
  }

  .site-navbar .container-fluid {
    max-width: calc(100% - 36px);
    padding: 10px 0;
  }

  .site-navbar .navbar-brand img {
    width: 215px;
  }

  .site-navbar .navbar-collapse {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    padding: 13px 18px 20px;
    border-top: 1px solid #e8eef2;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 62, 106, .12);
  }

  .site-navbar .navbar-nav {
    align-items: stretch !important;
    gap: 0;
  }

  .site-navbar .nav-link {
    padding: 11px 8px !important;
    font-size: 16px;
    text-align: left;
  }

  .site-navbar .dropdown-menu {
    position: static;
    width: 100%;
    margin: 0 0 6px;
    border-color: #d8e0e6;
  }

  .site-navbar .dropdown-item {
    text-align: left;
  }

  .news-dates-row {
    min-height: 0;
    margin-bottom: 95px;
  }

  .photo-placeholder {
    min-height: 330px;
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: 16px;
  }

  .home-main {
    padding-top: 48px;
  }

  .news-dates-row {
    margin-bottom: 65px;
  }

  .latest-news-block {
    margin-bottom: 48px;
  }

  .welcome-copy {
    font-size: 16px;
    text-align: left;
  }

  .signature-row {
    margin-top: 31px;
  }

  .photo-grid {
    margin-top: 25px;
  }

  .photo-placeholder {
    min-height: 280px;
  }

  .site-footer {
    min-height: 0;
    padding: 55px 0;
  }

  .program-main {
    min-height: 510px;
    padding-top: 52px;
  }

  .program-content-placeholder {
    min-height: 340px;
  }
}

@media (max-width: 767.98px) {
  .site-navbar,
  .site-navbar .container-fluid {
    min-height: 88px;
  }

  .site-navbar .navbar-brand img {
    width: 180px;
  }

  .content-container {
    width: min(100% - 32px, var(--icp-content-width));
  }

  .site-footer .footer-inner {
    width: min(100% - 32px, var(--icp-footer-width));
  }

  .section-title {
    font-size: 27px;
  }

  .section-title::before {
    min-height: 36px;
  }

  .important-dates time {
    font-size: 20px;
  }

  .signature-card {
    min-height: 0;
    margin-bottom: 32px;
  }

  .photo-placeholder {
    min-height: 250px;
  }

  .site-footer h2 {
    font-size: 30px;
  }

  .site-footer address {
    font-size: 16px;
  }

  .program-main {
    min-height: 430px;
  }

  .program-content-placeholder {
    min-height: 275px;
  }
}

.program-hero {
  width: 100%;
  overflow: hidden;
  background-color: #8ed7eb;
}

.program-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* 手機版避免橫幅縮得太扁 */
@media (max-width: 767.98px) {
  .program-hero img {
    height: 180px;
    object-fit: cover;
    object-position: center center;
  }
}

/* 非常小的手機畫面 */
@media (max-width: 480px) {
  .program-hero img {
    height: 150px;
  }
}
.program-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  margin: 0;
  transform: translate(-50%, -50%);

  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 3.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}



@media (max-width: 575.98px) {
  .site-navbar .container-fluid {
    max-width: calc(100% - 24px);
  }

  .site-navbar .navbar-brand img {
    width: 158px;
  }

  .home-main {
    padding-top: 39px;
    padding-bottom: 52px;
  }

  .news-dates-row {
    margin-bottom: 52px;
  }

  .section-title {
    font-size: 24px;
  }

  .latest-news-copy,
  .important-dates .date-label {
    font-size: 15px;
  }

  .welcome-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .welcome-copy p {
    margin-bottom: 20px;
  }

  .photo-placeholder {
    min-height: 220px;
    font-size: 58px;
  }

  .site-footer {
    padding: 47px 0;
  }

  .site-footer h2 {
    font-size: 27px;
  }

  .site-footer address {
    overflow-wrap: anywhere;
    font-size: 15px;
  }

  .program-main {
    min-height: 390px;
    padding-top: 42px;
  }

  .program-main .section-title {
    font-size: 27px;
  }
}

th.tline{
	border: 1px solid #111111;
	padding: 10px;
	font-weight: bold;
	text-align: center;
}
td.tline{
	border: 1px solid #111111;
	padding: 10px;
}

table.tline{
	border: 1px solid #111111;
	border-collapse: collapse;
}

.member-photo {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}
