@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@700&display=swap";
html {
  font-size: 15px;
}
@media (min-width: 992px) {
  html {
    font-size: 16px;
  }
}

body {
  color: #000430;
  font-family: "Noto Sans TC", 微軟正黑體, "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
}

a {
  color: #00b1de;
}
a:hover {
  color: #00b1de;
}

ul li,
ol li {
  margin-bottom: 0.5rem;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1,
.h1 {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 2.5rem;
  }
}

h2,
.h2 {
  font-size: 1.8rem;
}
@media (min-width: 768px) {
  h2,
  .h2 {
    font-size: 2rem;
  }
}

h3,
.h3 {
  font-size: 1.575rem;
}
@media (min-width: 768px) {
  h3,
  .h3 {
    font-size: 1.75rem;
  }
}

h4,
.h4 {
  font-size: 1.35rem;
}
@media (min-width: 768px) {
  h4,
  .h4 {
    font-size: 1.5rem;
  }
}

h5,
.h5 {
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  h5,
  .h5 {
    font-size: 1.25rem;
  }
}

h6,
.h6 {
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  h6,
  .h6 {
    font-size: 1rem;
  }
}

.bg-primary {
  background-color: #00b1de !important;
}

.bg-secondary {
  background-color: #91c531 !important;
}

.bg-success {
  background-color: #00a476 !important;
}

.bg-dark {
  background-color: #000430 !important;
}

.text-primary {
  color: #00b1de !important;
}

.text-dark {
  color: #000430 !important;
}

.shadow-sm {
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.16) !important;
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.16) !important;
}

.image-cover {
  width: 100%;
  height: 100%;
  position: relative;
}
.image-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.container-fluid,
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.accordion-flush .accordion-item .accordion-button,
.accordion-flush .accordion-item .accordion-button.collapsed {
  border-radius: 0.3125rem;
}

.accordion-button:not(.collapsed) {
  color: #000430;
  background-color: rgba(145, 197, 49, 0.4);
  -webkit-box-shadow: none;
          box-shadow: none;
}

.accordion-button:focus {
  z-index: 3;
  border-color: none;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("../images/icon_arrow_down.svg");
}

.badge {
  font-weight: 500;
}

.btn {
  border-width: 2px;
  border-radius: 0.3125rem;
}
.btn:hover {
  text-decoration: none;
}

.btn-outline-light:hover {
  color: #000430;
}

.btn-primary {
  background-color: #00b1de;
  border-color: #00b1de;
}
.btn-primary.btn:active, .btn-primary:hover, .btn-primary:focus-visible {
  background-color: #00b1de;
  border-color: #00b1de;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn-success {
  background-color: #91c531;
  border-color: #91c531;
}
.btn-success.btn:active, .btn-success:hover, .btn-success:focus-visible {
  background-color: #91c531;
  border-color: #91c531;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.card {
  border: 0;
  background-color: transparent;
}
.card .badge {
  top: 0.75rem;
  left: 0.75rem;
  position: absolute;
  z-index: 1;
  border-radius: 0.3125rem;
}
@media (min-width: 768px) {
  .card .badge {
    top: 1rem;
    left: 1rem;
    position: absolute;
    padding: 0.75rem 1.375rem;
    font-size: 1rem;
  }
}
.card .card-image {
  position: relative;
  padding-bottom: 56.21%;
  border-radius: 0.625rem;
}
.card .card-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 0.625rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.card .card-title {
  font-size: 1.125rem;
}
.card .card-body {
  padding-left: 0;
  padding-right: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(0, 177, 222, 0.5);
  -webkit-box-shadow: 0 0 0 0.25rem rgba(0, 177, 222, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(0, 177, 222, 0.25);
}

.form-check .form-check-input {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
.form-check .form-check-label {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.form-check .help-block {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

.form-check-input {
  position: relative;
  top: 1px;
}

.form-check-input:checked {
  background-color: #00b1de;
  border-color: #00b1de;
}

.form-check-input:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(0, 177, 222, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(0, 177, 222, 0.25);
}

.help-block {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  font-style: normal;
  color: #dc3545;
}

#hiddenRecaptcha-error {
  width: 304px;
}

.thumbnail {
  width: 104px;
  height: 104px;
  display: inline-block;
  border: 1px solid #ced4da;
  border-radius: 0.3125rem !important;
  background-position: 50% 50%;
  background-size: cover;
  vertical-align: middle;
}

table th,
table td {
  padding: 0 0.5rem;
  vertical-align: top;
}

.table-primary {
  border-spacing: 0.3125rem;
  border-collapse: separate;
}
.table-primary th,
.table-primary td {
  padding: 1rem;
  border: 0;
  border-radius: 0.3125rem;
  font-weight: 500;
  text-align: center;
}
.table-primary th {
  background-color: #d8eac5;
}
.table-primary td {
  background-color: #b1e6ee;
}

@media (min-width: 768px) {
  .table-h4 {
    font-size: 1.5rem;
  }
}

.nav {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

.nav .nav-link {
  color: #6c757d;
  background-color: transparent;
  border: 1px solid #e9ecef;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.75rem 1.5rem;
  margin: 0 0.25rem 0 0;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  margin-bottom: -1px;
}
@media (max-width: 767.98px) {
  .nav .nav-link {
    padding: 0.6rem 1.2rem;
    margin: 0 0.15rem 0 0;
    font-size: 0.9rem;
  }
}
.nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #000430;
  border-color: #dee2e6;
  text-decoration: none;
}
.nav .nav-link.active {
  background-color: #91c531;
  color: #FFF;
  border-color: #91c531;
  border-bottom-color: #91c531;
  font-weight: 600;
  z-index: 1;
}

.home-wrap .main-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
@media screen and (max-width: 575.98px) {
  .home-wrap .main-nav {
    position: sticky;
  }
}
@media screen and (min-width: 576px) {
  .home-wrap .main-nav .navbar:not(.sticky) {
    background-color: transparent;
  }
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #000430;
}
.navbar .dropdown .dropdown-toggle {
  border: unset;
}
.navbar .dropdown .dropdown-toggle::after {
  content: unset;
}
.navbar .dropdown .dropdown-menu {
  margin: 0;
  border-radius: unset;
}
.navbar .dropdown .dropdown-menu[data-bs-popper] {
  left: unset;
  right: 0;
}
.navbar .dropdown .dropdown-menu .dropdown-item {
  color: #000430;
}
.navbar .dropdown .dropdown-menu .dropdown-item:active, .navbar .dropdown .dropdown-menu .dropdown-item:active {
  background-color: #91c531;
  color: #FFF;
}

.navbar-brand img {
  height: 30px;
}
@media (min-width: 768px) {
  .navbar-brand img {
    height: 37px;
  }
}

.navbar-nav .nav-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    margin-left: 3rem;
  }
}
.navbar-nav .nav-link {
  color: #fff !important;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}
.section-title::after {
  display: block;
  content: "";
  margin: 0 auto;
  margin-top: 1rem;
  width: 120px;
  height: 3px;
  background-color: #91c531;
  border-radius: 3px;
}
.section-title.white {
  color: #fff;
}
.section-title.white::after {
  background-color: #fff;
}
.section-title.dark {
  color: #000430;
}
.section-title.dark::after {
  background-color: #000430;
}
.section-title.left {
  text-align: left;
}
.section-title.left::after {
  margin-left: 0;
}
.section-title .title-link {
  margin: 0 0.625rem;
  color: #000430;
  text-decoration: none;
  font-size: 1.875rem;
}
.section-title .title-link.active {
  color: #00b1de;
}

.section {
  padding: 2.5rem 0;
  background: center center/cover no-repeat;
}
@media (min-width: 768px) {
  .section {
    padding: 4.375rem 0;
  }
}

.article {
  padding: 2rem 0 6rem;
  background: url("../img/event/bg.png") center top/100% auto no-repeat fixed;
}
@media (min-width: 768px) {
  .article {
    min-height: calc(100vh - 19.34rem);
    padding: 3.75rem 0 6rem;
  }
}

.page-logo {
  margin: 0 auto;
  margin-bottom: 2rem;
  text-align: center;
}
.page-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.page-title {
  margin-bottom: 2rem;
}
.page-title::after {
  margin-top: 2rem;
}

.page-subtitle {
  margin-bottom: 3rem;
  text-align: center;
}

.page-section {
  margin: 0 auto 3rem;
}
.page-section:last-child {
  margin-bottom: 0;
}

br.br-page-title {
  display: none;
}
@media screen and (max-width: 1794px) and (min-width: 992px) {
  br.br-page-title {
    display: block;
  }
}
@media screen and (max-width: 576px) {
  br.br-page-title {
    display: block;
  }
}
br.br-inter {
  display: none;
}
@media screen and (max-width: 1648px) and (min-width: 992px) {
  br.br-inter {
    display: block;
  }
}
@media screen and (max-width: 576px) and (min-width: 390px) {
  br.br-inter {
    display: block;
  }
}

.footer {
  padding: 4.375rem 0;
  color: #fff;
  background-color: #000430;
}

.footer-logo {
  height: 52px;
}

.social-link {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 1rem;
  border-top: 1px solid #fff;
}
.social-link img {
  width: 36px;
}

/* login */
.login-sns .btn-fb-login {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}
.login-sns .btn-fb-login:hover span {
  background-color: #000430;
  color: #FFF;
}
.login-sns .btn-fb-login:hover span:before {
  border: 1px solid #FFF;
}
.login-sns .btn-fb-login img {
  margin: 0 0.5rem;
}
.login-sns .btn-fb-login span {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0.375rem;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
  -webkit-transition: background 0.15s;
  transition: background 0.15s;
}
.login-sns .btn-fb-login span:before {
  top: 0.3rem;
  left: 0.375rem;
  position: absolute;
  width: calc(100% - 0.7rem);
  height: calc(100% - 0.6rem);
  content: "";
  border: 1px solid #000;
}

.login-account a {
  color: #000430;
}
.login-account a:hover {
  color: #00b1de;
}

.login-hr {
  margin: 2rem 0;
}

#banner {
  position: relative;
  padding-bottom: 100%;
}
@media (min-width: 768px) {
  #banner {
    padding-bottom: 0;
  }
}
#banner img {
  width: 100%;
  height: 100%;
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 768px) {
  #banner img {
    position: relative;
  }
}

#tournaments {
  background-color: #000430;
}

#news {
  background-color: #f5f5f7;
}

.hero-section {
  overflow-x: hidden;
}
.hero-section .hero-slick {
  margin-bottom: 0 !important;
}
.hero-section .hero-slick .hero-item {
  display: block;
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
}
.hero-section .hero-slick .hero-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-section .hero-slick .slick-dots {
  bottom: 1.875rem;
}

.rankings-slick-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 2.5rem;
}
.rankings-slick-wrap .btn-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.25rem;
}
.rankings-slick-wrap .btn-wrap .btn {
  padding: 0.625rem;
}
.rankings-slick-wrap .btn-wrap .btn img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.rankings-slick-wrap .rankings-slick .slick-slide:not(.slick-center) .lightbox-item {
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-transform-origin: center;
          transform-origin: center;
  margin: 0 0.25rem;
}
.rankings-slick-wrap .rankings-slick .lightbox-item {
  display: block;
  border: 1px solid #6c757d;
  margin: 0 0.875rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.rankings-slick-wrap .rankings-slick .lightbox-item .image-wrap {
  width: 100%;
  padding-bottom: 177.78%;
  position: relative;
}
.rankings-slick-wrap .rankings-slick .lightbox-item .image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.lightbox {
  overflow: hidden;
  width: 100%;
}
.lightbox .lb-number {
  display: none !important;
}
.lightbox .lb-nav {
  display: none !important;
  pointer-events: none !important;
}

.event-venue {
  margin: 5rem 0;
}
.event-venue .image {
  width: 100%;
  border-radius: 0.625rem;
}
.event-venue .column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.event-venue .address {
  margin: 2rem 0;
  font-size: 1.25rem;
}
.event-venue .btn {
  margin-top: 0.5rem;
}

.event-wrap {
  overflow-x: hidden;
  /* 表格樣式 */
  /* 調整欄位寬度 */
}
.event-wrap .custom-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
}
.event-wrap .custom-table th, .event-wrap .custom-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.event-wrap .custom-table th {
  background-color: #e7f1fd; /* 從 table-primary 提取的淺藍色背景 */
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}
.event-wrap .custom-table td {
  background-color: #fff;
  color: #333;
  font-size: 14px;
  /* 日期欄位 */
}
.event-wrap .custom-table td.date-col {
  border-left: 4px solid transparent; /* 預設透明邊框 */
  font-weight: bold;
  width: 120px;
}
.event-wrap .custom-table {
  /* Mouse over 效果 */
  /* 滑鼠滑過時顯示邊條 */
}
.event-wrap .custom-table .tournament-col {
  width: 80%; /* 移除其他欄位後調整寬度 */
}
.event-wrap .custom-table tbody tr {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease; /* 平滑過渡效果 */
  cursor: pointer; /* 滑鼠懸停時顯示手型指標 */
}
.event-wrap .custom-table tbody tr:hover {
  background-color: #f1f8ff; /* 淺藍色背景，與 table-primary 風格一致 */
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 浮凸效果 */
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px); /* 輕微上移，增強浮凸感 */
}
.event-wrap .custom-table tbody tr:hover td.date-col {
  border-left: 4px solid #91c531; /* 滑鼠滑過時顯示淺綠色邊條 */
}
.event-wrap .custom-table .center-logos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px; /* 圖片之間的間距，可自行調整 */
}
.event-wrap .custom-table .center-logos .col {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto; /* 讓欄寬根據內容自動調整 */
}

.about-wrap {
  /* 統一 h5, h6, li 和 p 的字型大小 */
  /* 保留標題的粗體效果 */
  /* 確保嵌套列表的縮進一致 */
  /* 特定段落的樣式 */
  /* 移除 accordion-item 之間的水平線效果 */
}
.about-wrap h5, .about-wrap h6, .about-wrap li, .about-wrap p {
  font-size: 1rem;
}
.about-wrap h5, .about-wrap h6 {
  font-weight: 500;
}
.about-wrap ul ul {
  margin-left: 20px;
}
.about-wrap .mission-statement {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 20px 0;
}
.about-wrap .mission-statement .point {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 30px;
}
.about-wrap .mission-statement .icon {
  font-size: 36px;
  color: #1e90ff;
  margin-right: 10px;
  width: 40px;
  text-align: center;
}
.about-wrap .mission-statement .vertical-line {
  width: 2px;
  background-color: #1e90ff;
  height: 80px;
  margin-right: 20px;
}
.about-wrap .mission-statement .content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.about-wrap .mission-statement .content p {
  font-size: 1rem; /* 與其他文字一致 */
  line-height: 1.8;
  margin: 0;
  text-transform: uppercase;
}
.about-wrap .mission-statement .content p.first {
  color: #2a6e3b; /* 第一段綠色 */
}
.about-wrap .mission-statement .content p.second {
  color: #333; /* 第二段黑色 */
}
.about-wrap .mission-statement .highlight {
  color: #1e90ff; /* 藍色高亮 */
  font-weight: bold;
}
.about-wrap .accordion-flush .accordion-item {
  background-color: transparent;
  border-bottom: none;
  /* 加大主要區塊之間的間距 */
}
.about-wrap .accordion-flush .accordion-item + .accordion-item {
  margin-top: 2rem;
}

.membership-wrap {
  /* 統一 h5, h6 和 li 的字型大小 */
  /* 保留標題的粗體效果 */
  /* 確保嵌套列表的縮進一致 */
}
.membership-wrap h5, .membership-wrap h6, .membership-wrap li {
  font-size: 1rem; /* 你可以根據需求調整這個值 */
}
.membership-wrap h5, .membership-wrap h6 {
  font-weight: 500;
}
.membership-wrap ul ul {
  margin-left: 1.25rem;
}
/*# sourceMappingURL=style.css.map */

.list-section {
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

@media screen and (max-width: 991.98px) {
  .list-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.header-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.header-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.slide-list:has(.four-item-slick) {
  width: calc(100% + 1.25rem);
  margin-left: -0.625rem;
}

.slide-list:has(.five-item-slick) {
  width: calc(100% + 1rem);
  margin-left: -0.5rem;
}

.slick-slider.four-item-slick .slick-list .slick-track {
  margin-left: 0;
}

.slick-slider.four-item-slick .horizontal-item {
  margin: 0 0.625rem;
}


@media screen and (max-width: 991.98px) {
  .slick-slider.four-item-slick .horizontal-item {
    width: 31.25vw;
  }
}

@media screen and (max-width: 575.98px) {
  .slick-slider.four-item-slick .horizontal-item {
    width: 66.6666666667vw;
  }
}

.slick-slider.five-item-slick .slick-list .slick-track {
  margin-left: 0;
}

.slick-slider.five-item-slick .vertical-item {
  margin: 0 0.5rem;
}

@media screen and (max-width: 991.98px) {
  .slick-slider.five-item-slick .vertical-item {
    width: 22.2222222222vw;
  }
}

@media screen and (max-width: 575.98px) {
  .slick-slider.five-item-slick .vertical-item {
    width: 35.7142857143vw;
  }
}


.horizontal-item .image-wrap {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: 0.25rem;
  overflow: hidden;
}

.horizontal-item .image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.horizontal-item .item-title {
  margin: 0;
  width: 100%;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.38;
  color: #161719;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.more-link {
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: #0059AA;
  word-break: keep-all;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.more-link2 {
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: #b8d5ef;
  word-break: keep-all;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.more-link:hover,
.more-link:active {
  opacity: 0.8;
}

.more-link:hover img,
.more-link:active img {
  -webkit-transform: translateX(0.25rem);
  transform: translateX(0.25rem);
}

.more-link img {
  width: 1.5rem;
  height: 1.5rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}


.event-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 32px;
  border: 1px solid #D4D4D4;
  border-radius: 5px !important;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
}

.event-thumbnail {
  width: 80px;
  height: 60px;
  border: 1px solid #D4D4D4;
  border-radius: 5px !important;
  background-position: 50% 50%;
  background-size: cover;
}

.event-title {
  display: inline-block;
  color: #6c98f0;
  font-size: 17px;
  font-weight: bold;
}

.event-sub-title {
  color: #d8dde5;
  font-size: 14px;
}

.news-sub-title {
  display: inline-block;
  color: #3571eb;
  font-size: 18px;
  font-weight: 500;
}

.news-title {
  color: #6c86bb;
  font-size: 18px;
  font-weight: 500;
}



a.no-underline {
  text-decoration: none;
}

/* SPONSORS 輪播樣式 */
.sponsors-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 40px;
}

.sponsors-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.sponsor-item {
  flex: 0 0 25%; /* 預設顯示4個 */
  padding: 0 10px;
  box-sizing: border-box;
}

.sponsor-item .card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.sponsor-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sponsor-item .card-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.sponsor-item .card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-item .card:hover .card-image img {
  transform: scale(1.05);
}

.sponsor-item .card-body {
  padding: 15px;
  text-align: center;
}

.sponsor-item .card-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  line-height: 1.4;
}

/* 輪播控制按鈕 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #666;
  font-size: 16px;
}

.carousel-btn:hover:not(:disabled) {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa;
  color: #ccc;
}

.carousel-btn-prev {
  left: -20px;
}

.carousel-btn-next {
  right: -20px;
}

/* 輪播指示器 */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: #007bff;
  transform: scale(1.2);
}

.indicator-dot:hover {
  background: #007bff;
  opacity: 0.8;
}

/* 響應式設計 */
@media (max-width: 1199px) {
  .sponsor-item {
    flex: 0 0 33.333%; /* 3個 */
  }
}

@media (max-width: 991px) {
  .sponsor-item {
    flex: 0 0 50%; /* 2個 */
  }

  .sponsors-carousel-wrapper {
    margin: 0 35px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .sponsor-item {
    flex: 0 0 100%; /* 1個 */
  }

  .sponsors-carousel-wrapper {
    margin: 0 30px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .carousel-btn-prev {
    left: -15px;
  }

  .carousel-btn-next {
    right: -15px;
  }
}

/* 平滑滾動效果 */
@media (prefers-reduced-motion: no-preference) {
  .sponsors-carousel {
    scroll-behavior: smooth;
  }
}

.block__image {
  display: block;
  max-width: 100%;   /* 不超出容器寬度 */
  max-height: 80vh;  /* 不超出螢幕高度 */
  width: 80%; /* 使圖片寬度自適應 */
  height: 80%;
  margin: 10px 0px;
}

/* Stories Grid Layout */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.story-link:hover {
  text-decoration: none;
  color: inherit;
}

.story-image {
  position: relative;
  width: 100%;
  padding-bottom: 60%; /* 5:3 aspect ratio */
  overflow: hidden;
}

.story-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-item:hover .story-image img {
  transform: scale(1.05);
}

.story-content {
  padding: 20px;
}

.story-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: #333;
}

.story-date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Home Stories Grid Layout */
.home-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .home-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .home-stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .home-stories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-story-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.home-story-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.home-story-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-story-link:hover {
  text-decoration: none;
  color: inherit;
}

.home-story-image {
  position: relative;
  width: 100%;
  padding-bottom: 60%; /* 5:3 aspect ratio */
  overflow: hidden;
}

.home-story-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-story-item:hover .home-story-image img {
  transform: scale(1.05);
}

.home-story-content {
  padding: 15px;
}

.home-story-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 首頁 Stories 區塊的背景適配 */
#stories .home-stories-grid {
  position: relative;
  z-index: 1;
}

/* 在有背景圖的情況下增強卡片的可見性 */
#stories .home-story-item {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

