﻿@charset "UTF-8";
/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft JhengHei", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #2C2C2C;
  background-image: url("../images/newBg.svg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #F5F1E8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 查看螢幕網頁變化時的寬度，測試用 */
.shwo_width {
  width: 100%;
  position: absolute;
  z-index: 999;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header 樣式 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Header 滾動後的樣式 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 150px;
  height: 50px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 18px;
  font-weight: bold;
  color: #2C2C2C;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 16px;
  color: #2C2C2C;
  margin-bottom: 2px;
}

.logo-text small {
  font-size: 12px;
  color: #666666;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 導航樣式 */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #2C2C2C;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #2C2C2C;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #3FB7D1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3FB7D1;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 主題色樣式 - 支援動態切換 */
/* 紫色主題 */
body.theme-purple .nav-link:hover {
  color: #7E318E;
}

body.theme-purple .nav-link::after {
  background: #7E318E;
}

/* 紅色主題 */
body.theme-red .nav-link:hover {
  color: #C30D23;
}

body.theme-red .nav-link::after {
  background: #C30D23;
}

/* 綠色主題 */
body.theme-green .nav-link:hover {
  color: #14965C;
}

body.theme-green .nav-link::after {
  background: #14965C;
}

/* 藍色主題 (預設) */
body.theme-blue .nav-link:hover {
  color: #3FB7D1;
}

body.theme-blue .nav-link::after {
  background: #3FB7D1;
}

/* Hero + Events 統一背景區域 */
.hero-events-section {
  position: relative;
  overflow: hidden;
}

/* Hero 主視覺區域 */
.hero {
  padding: 40px 0 40px 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 標題圖片疊加容器 */
.title-overlay-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 600px;
}

.hero-title-svg {
  width: 100%;
  height: auto;
  max-width: 600px;
}

/* 基底圖片 */
.hero-title-base {
  position: relative;
  z-index: 1;
}

/* News 區塊 */
.news-section {
  background: url("../images/news_block.svg") no-repeat center center;
  background-size: contain;
  border-radius: 20px;
  padding: 50px 50px 60px;
  color: #2C2C2C;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.news-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2C2C2C;
}

.news-content {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 25px;
  width: 70%;
  text-align: left;
  color: #2C2C2C;
}

/* 跑馬燈容器 */
.news-marquee-container {
    position: relative;
    width: 80%;
    max-width: 350px;
    height: 150px; /* 減少高度以避免上下溢出 */
    overflow: hidden;
    margin: 15px auto 35px auto; /* 增加上下邊距，將內容往內移 */
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

/* 跑馬燈內容 */
.news-marquee {
  position: absolute;
  display: flex;
  flex-direction: column;
  animation: marquee-vertical 20s linear infinite;
  will-change: transform;
}

/* 跑馬燈項目 */
.news-marquee-item {
  padding: 8px 20px;  /* 減少上下內距 */
  margin-bottom: 8px;  /* 減少項目間距 */
  min-height: 32px;  /* 減少最小高度 */
  display: flex;
  flex-direction: column;
  gap: 4px;  /* 減少間隙 */
  transition: all 0.3s ease;
  text-decoration: none;  /* 移除連結底線 */
  color: inherit;  /* 繼承顏色 */
  display: block;  /* 確保區塊顯示 */
}

/* 確保連結樣式正確 */
a.news-marquee-item {
  text-decoration: none;
  color: inherit;
}

a.news-marquee-item:hover {
  text-decoration: none;
}

/* 跑馬燈日期 */
.marquee-date {
  font-size: 16px;  /* 縮小日期字體 */
  color: #D4A574;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 跑馬燈文字 */
.marquee-text {
  font-size: 20px;  /* 縮小文字字體 */
  font-weight: 500;
  line-height: 1.3;  /* 調整行高 */
  color: #2C2C2C;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 垂直跑馬燈動畫 */
@keyframes marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* 滑鼠懸停時暫停動畫 */
.news-marquee-container:hover .news-marquee {
  animation-play-state: paused;
}

/* 滑鼠懸停時高亮當前項目 */
.news-marquee-item:hover {
  background: rgba(212, 165, 116, 0.15);
  border-radius: 8px;
  cursor: pointer;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2C2C2C;
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-bottom:50px;
}

.news-more:hover {
  transform: translateY(-2px);
  color: #D4A574;
}

.more-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.news-more:hover .more-icon {
  transform: scale(1.2);
}

/* 幾何形狀背景 */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 50% 20% 50% 20%;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 20%;
  animation: breathe1 20s ease-in-out infinite;
  will-change: transform;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 10%;
  background: rgba(232, 196, 160, 0.15);
  animation: breathe2 15s ease-in-out infinite;
  will-change: transform;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  background: rgba(184, 149, 106, 0.1);
  animation: breathe3 25s ease-in-out infinite;
  will-change: transform;
}

/* Events 活動卡片區域 */
.events {
  padding: 40px 0 80px 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.event-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #F5F1E8;
}

.card-content {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  border-radius: 15px;
  text-align: left;
}

.card-content_blue {
  background: rgba(63, 183, 209, 0.6);
}

.card-content_purple {
  background: rgba(126, 49, 142, 0.6);
}

.card-content_red {
  background: rgba(195, 13, 35, 0.6);
}

.card-content_green {
  background: rgba(20, 150, 92, 0.6);
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 8px;
  display: block;
}

.card-date {
  font-size: 18px;
  color: #FFFFFF;
  font-family: "Helvetica Neue", Arial, sans-serif;
  opacity: 0.9;
}

/* History 歷史區域 */
.history {
  padding: 80px 0;
  background: #3FB7D1;
  color: #FFFFFF;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.year {
  font-size: 120px;
  font-weight: bold;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 0.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

.history-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.3;
}

.history-description {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.history-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.timeline-year {
  font-size: 24px;
  font-weight: bold;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.timeline-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.timeline-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Footer 樣式 */
.footer {
  background: #2C2C2C;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-address,
.footer-contact {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-copyright {
  font-size: 12px;
  margin: 15px 0;
  opacity: 0.7;
}

.footer-notice {
  font-size: 11px;
  opacity: 0.6;
}

/* 街道圖容器 */
.footer-street-view {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 500px;
  height: 250px;
  background-image: url("../images/street.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: 1;
}

/* 地圖按鈕定位在街道圖的空白處 */
.footer-map {
  position: absolute;
  top: 45%;
  left: 48%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.map-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.map-link:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.map-svg {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* RWD 響應式設計 */
/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-left {
    flex-direction: column;
    gap: 30px;
  }
  .hero-title-svg {
    max-width: 500px;
  }
  .title-overlay-container {
    max-width: 500px;
  }
  /* News 平板版 */
  .news-section {
    background-size: 100% 100%;
    padding: 22% 28%;
    padding-top: 60px;
    min-height: auto;
  }
  .news-title {
    font-size: 52px;
  }
  .news-content {
    width: 80%;
    text-align: center;
    text-align: left;
    font-size: 20px;
  }
  /* 跑馬燈平板版調整 */
  .news-marquee-container {
    height: 230px;  /* 平板版本也調整高度 */
    margin: 25px auto 25px auto;  /* 調整上下邊距 */
  }
  .news-marquee-item {
    padding: 7px 18px;  /* 減少內距 */
    margin-bottom: 7px;  /* 減少間距 */
  }
  .marquee-date {
    font-size: 16px;  /* 縮小日期字體 */
  }
  .marquee-text {
    font-size: 20px;  /* 縮小文字字體 */
    line-height: 1.2;  /* 調整行高 */
  }
  .news-more {
    font-size: 16px;
    margin:0;
  }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .history-content {
    gap: 40px;
  }
  .year {
    font-size: 100px;
  }
  .history-title {
    font-size: 28px;
  }
}
/* 手機版 (< 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  /* Header 手機版 */
  .header .container {
    padding: 10px 15px;
  }
  .logo-text h1 {
    font-size: 16px;
  }
  .logo-text p {
    font-size: 14px;
  }
  .logo-text small {
    font-size: 10px;
  }
  /* 導航選單 - 漢堡選單 */
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    font-size: 18px;
    padding: 15px 0;
  }
  /* Hero 手機版 */
  .hero {
    padding: 40px 0 20px 0;
  }
  .hero-left {
    gap: 20px;
  }
  .hero-title-svg {
    max-width: 350px;
  }
  .title-overlay-container {
    max-width: 350px;
  }
  /* News 手機版 */
  .news-section {
    background-size: 100% 100%;
    padding: 25% 18%;
    padding-top: 45px;
    margin-top: 30px;
    min-height: auto;
  }
  .news-title {
    font-size: 46px;
    margin-bottom: 15px;
  }
  .news-content {
    font-size: 18px;
    margin-bottom: 20px;
    width: 70%;
    text-align: left;
  }
  /* 跑馬燈手機版調整 */
  .news-marquee-container {
    height: 150px;  /* 手機版本調整高度 */
    margin: 20px auto 20px auto;  /* 調整上下邊距 */
  }
  .news-marquee-item {
    padding: 6px 12px;  /* 進一步減少內距 */
    margin-bottom: 6px;  /* 減少間距 */
    min-height: 28px;  /* 減少最小高度 */
  }
  .marquee-date {
    font-size: 16px;  /* 縮小日期字體 */
  }
  .marquee-text {
    font-size: 20px;  /* 縮小文字字體 */
    line-height: 1.2;  /* 調整行高 */
    -webkit-line-clamp: 1;
  }
    .news-more {
        font-size: 16px;
        margin: 0;
    }
  .more-icon {
    width: 20px;
    height: 20px;
  }
  /* Events 手機版 */
  .events {
    padding: 20px 0 40px 0;
  }
  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    height: 150px;
  }
  .card-content {
    padding: 10px;
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    text-align: left;
  }
  .card-content_blue {
    background: rgba(63, 183, 209, 0.6);
  }
  .card-content_purple {
    background: rgba(126, 49, 142, 0.6);
  }
  .card-content_red {
    background: rgba(195, 13, 35, 0.6);
  }
  .card-content_green {
    background: rgba(20, 150, 92, 0.6);
  }
  .card-title {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 8px;
    display: block;
  }
  .card-date {
    color: #FFFFFF;
    opacity: 0.9;
  }
  /* History 手機版 */
  .history-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .year {
    font-size: 80px;
    margin-bottom: 20px;
  }
  .history-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .history-description {
    font-size: 14px;
    text-align: left;
  }
  /* Footer 手機版 */
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding-bottom: 0px;
  }
  .footer-title {
    font-size: 16px;
  }
  .footer-address,
  .footer-contact {
    font-size: 13px;
  }
  /* 手機版街道圖容器 */
  .footer-street-view {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 150px;
    margin: 0 auto;
  }
  /* 手機版地圖按鈕 */
  .footer-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }
  .map-svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  /* 幾何形狀調整 */
  .shape-1 {
    width: 200px;
    height: 200px;
    animation: breathe1 25s ease-in-out infinite;
  }
  .shape-2 {
    width: 150px;
    height: 150px;
    animation: breathe2 18s ease-in-out infinite;
  }
  .shape-3 {
    width: 100px;
    height: 100px;
    animation: breathe3 30s ease-in-out infinite;
  }
}
/* 超小螢幕 (< 480px) */
@media (max-width: 480px) {
  .hero-title-svg {
    max-width: 280px;
  }
  .title-overlay-container {
    max-width: 280px;
  }
  .news-title {
    font-size: 20px;
  }
  .year {
    font-size: 60px;
  }
  .history-title {
    font-size: 20px;
  }
}
/* 動畫效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 幾何形狀旋轉動畫 */
@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotateCounterClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
/* 幾何形狀呼吸動畫 */
@keyframes breathe1 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes breathe2 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(-180deg) scale(0.9);
  }
  100% {
    transform: rotate(-360deg) scale(1);
  }
}
@keyframes breathe3 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.15);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
.hero-content,
.events-grid,
.history-content {
  animation: fadeInUp 0.8s ease-out;
}

/* 漢堡選單動畫 */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 滾動平滑 */
html {
  scroll-behavior: smooth;
}

/* 選取文字顏色 */
::selection {
  background: #D4A574;
  color: #FFFFFF;
}

/* Focus 樣式 */
button:focus,
a:focus {
  outline: 2px solid #D4A574;
  outline-offset: 2px;
}

/* Inside Pages 內頁樣式 */
/* Inside Hero 內頁主視覺區域 */
.inside-hero {
  padding: 20px 0 20px 0;
  position: relative;
  min-height: 240px;
}

.inside-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.inside-hero-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.inside-hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.inside-title-img,
.inside-date-img {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/* News List Section 最新消息列表區域 */
.news-list-section {
  background: #3FB7D1;
  padding: 60px 0 80px 0;
  position: relative;
}

.section-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 50px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.title-chinese {
  font-family: "Microsoft JhengHei", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: normal;
  margin-left: 20px;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.news-item:hover {
  background-color: #e9e9e9;
}

.news-item:hover .news-link {
  padding-left: 40px;
  padding-right: 40px;
}

.news-link {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  text-decoration: none;
  color: #2C2C2C;
  gap: 30px;
  transition: padding 0.3s ease;
}

.news-date {
  font-size: 18px;
  font-weight: bold;
  color: #3FB7D1;
  font-family: "Helvetica Neue", Arial, sans-serif;
  min-width: 120px;
  flex-shrink: 0;
}

.news-title-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* Inside Pages RWD 響應式設計 */
/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
  .inside-hero {
    padding: 40px 0 30px 0;
    min-height: 250px;
  }
  .inside-hero-content {
    gap: 30px;
  }
  .inside-title-img,
  .inside-date-img {
    max-width: 350px;
  }
  .section-title {
    font-size: 42px;
    margin-bottom: 40px;
  }
  .title-chinese {
    font-size: 22px;
    margin-left: 15px;
  }
  .news-list {
    gap: 18px;
  }
  .news-link {
    padding: 22px 25px;
    gap: 25px;
  }
  .news-date {
    font-size: 16px;
    min-width: 110px;
  }
  .news-title-text {
    font-size: 17px;
  }
}
/* 手機版 (< 768px) */
@media (max-width: 768px) {
  .inside-hero {
    padding: 30px 0 20px 0;
    min-height: 200px;
  }
  .inside-hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .inside-hero-left,
  .inside-hero-right {
    justify-content: center;
  }
  .inside-title-img,
  .inside-date-img {
    max-width: 280px;
  }
  .news-list-section {
    padding: 40px 0 60px 0;
  }
  .section-title {
    font-size: 36px;
    margin-bottom: 30px;
  }
  .title-chinese {
    font-size: 18px;
    margin-left: 10px;
    display: block;
    margin-top: 5px;
  }
  .news-list {
    gap: 15px;
  }
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
  }
  .news-date {
    font-size: 14px;
    min-width: auto;
    color: #3FB7D1;
  }
  .news-title-text {
    font-size: 16px;
    line-height: 1.4;
  }
}
/* 超小螢幕 (< 480px) */
@media (max-width: 480px) {
  .inside-title-img,
  .inside-date-img {
    max-width: 240px;
  }
  .section-title {
    font-size: 28px;
  }
  .title-chinese {
    font-size: 16px;
  }
  .news-link {
    padding: 18px;
  }
  .news-title-text {
    font-size: 15px;
  }
}
/* Pagination 分頁導航樣式 */
.pagination {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
}
.pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.pagination li {
  margin: 0;
}
.pagination li a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #888888;
  font-size: 16px;
  font-weight: 500;
  border-right: 1px solid #e0e0e0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination li a:hover {
  background-color: #f5f5f5;
  color: #888888;
}
.pagination li:last-child a {
  border-right: none;
}
.pagination li.active a {
  background-color: #a1a1a1;
  color: #FFFFFF;
  font-weight: bold;
}
.pagination li.active a:hover {
  background-color: #888888;
  color: #FFFFFF;
}
.pagination li.disabled a {
  color: #c0c0c0;
  cursor: not-allowed;
}
.pagination li.disabled a:hover {
  background-color: transparent;
  color: #c0c0c0;
}

/* Pagination RWD 響應式設計 */
@media (max-width: 768px) {
  .pagination {
    margin-top: 60px;
  }
  .pagination ul {
    border-radius: 6px;
  }
  .pagination li a {
    padding: 10px 12px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .pagination {
    margin-top: 40px;
  }
  .pagination li a {
    padding: 8px 10px;
    font-size: 13px;
  }
}
/* News Content 新聞內容頁樣式 */
article.news-content {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 28px;
  font-weight: bold;
  color: #2C2C2C;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-date {
  font-size: 16px;
  color: #2C2C2C;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.content-divider {
  border: none;
  height: 1px;
  background: #E0E0E0;
  margin: 30px 0;
}

.article-content {
  margin: 30px 0;
}
.article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #2C2C2C;
  margin-bottom: 20px;
}
.article-content p:last-child {
  margin-bottom: 0;
}

/* YouTube 影片區塊 */
.youtube-section {
  margin: 30px 0;
}

.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 比例 */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* 相關圖片區塊 */
.related-images-section {
  margin: 30px 0;
}

.related-images-title {
  font-size: 20px;
  font-weight: bold;
  color: #2C2C2C;
  margin-bottom: 20px;
}

.related-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.image-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* 返回按鈕 */
.back-button-section {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-block;
  background: #3FB7D1;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-back:hover {
  background: rgb(42.7142857143, 154.1428571429, 178.2857142857);
  transform: translateY(-2px);
}

/* News Content RWD 響應式設計 */
/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
  article.news-content {
    padding: 35px;
  }
  .article-title {
    font-size: 26px;
  }
  .related-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .related-img {
    height: 140px;
  }
}
/* 手機版 (< 768px) */
@media (max-width: 768px) {
  article.news-content {
    padding: 25px;
    margin: 0;
    width: auto;
  }
  .article-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .article-date {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .content-divider {
    margin: 20px 0;
  }
  .article-content {
    margin: 20px 0;
  }
  .article-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
  }
  .youtube-section {
    margin: 20px 0;
  }
  .related-images-section {
    margin: 20px 0;
  }
  .related-images-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .related-images {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .related-img {
    height: 200px;
  }
  .back-button-section {
    margin-top: 30px;
  }
  .btn-back {
    padding: 10px 25px;
    font-size: 15px;
  }
}
/* 超小螢幕 (< 480px) */
@media (max-width: 480px) {
  article.news-content {
    padding: 20px;
  }
  .article-title {
    font-size: 20px;
  }
  .article-content p {
    font-size: 14px;
  }
  .related-images-title {
    font-size: 16px;
  }
  .btn-back {
    padding: 8px 20px;
    font-size: 14px;
  }
}
/* Album List Section 活動影像列表區域 */
.album-list-section {
  background: #3FB7D1;
  padding: 60px 0 80px 0;
  position: relative;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.album-item {
  position: relative;
  transition: transform 0.3s ease;
}
.album-item:hover {
  transform: translateY(-10px);
}

.album-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.album-card {
  position: relative;
  width: 100%;
  height: 350px;
  background-image: url("../images/album_list_block.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.album-image {
  position: absolute;
  top: 65px;
  left: 12px;
  right: 38px;
  height: calc(50% - 20px);
  overflow: hidden;
  border-radius: 15px;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-item:hover .album-cover {
  transform: scale(1.05);
}

.album-info {
  position: absolute;
  bottom: 55px;
  left: 4px;
  right: 20px;
  height: calc(30% - 20px);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.album-title {
  font-size: 16px;
  font-weight: 500;
  color: #2C2C2C;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.2em;
}

/* Album List RWD 響應式設計 */
/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 700px;
  }
  .album-card {
    height: 320px;
  }
  .album-image {
    top: 42px;
    left: 14px;
    right: 42px;
    height: calc(60% - 18px);
    border-radius: 12px;
  }
  .album-info {
    bottom: 36px;
    left: 4px;
    right: 32px;
    height: calc(30% - 18px);
    padding: 12px;
  }
  .album-title {
    font-size: 15px;
  }
}
/* 手機版 (< 768px) */
@media (max-width: 768px) {
  .album-list-section {
    padding: 40px 0 60px 0;
  }
  .album-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 350px;
  }
  .album-card {
    height: 280px;
  }
  .album-image {
    top: 26px;
    left: 28px;
    right: 56px;
    height: calc(64% - 15px);
    border-radius: 10px;
  }
  .album-info {
    bottom: 26px;
    left: 0px;
    right: 20px;
    height: calc(30% - 15px);
    padding: 38px;
  }
  .album-title {
    font-size: 14px;
    line-height: 1.3;
    max-height: 3.9em;
  }
}
/* 超小螢幕 (< 480px) */
@media (max-width: 480px) {
  .album-grid {
    max-width: 280px;
  }
  .album-card {
    height: 250px;
  }
  .album-image {
    top: 26px;
    left: 12px;
    right: 38px;
    height: calc(60% - 12px);
    border-radius: 8px;
  }
  .album-info {
    bottom: 28px;
    left: 0px;
    height: calc(30% - 12px);
    padding: 18px;
  }
  .album-title {
    font-size: 13px;
  }
}
/* Album Content Page 活動影像內容頁樣式 */
.album-content-section {
  background: #3FB7D1;
  padding: 60px 0 80px 0;
  position: relative;
}

.album-content-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 媒體網格區域 */
.album-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

/* YouTube 主影片區域 */
.youtube-main {
  grid-column: 1/-1;
  margin-bottom: 10px;
}

.youtube-main .youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 比例 */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.youtube-main .youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* 活動照片項目 */
.photo-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Album Content RWD 響應式設計 */
/* 平板版 (768px - 1024px) */
@media (max-width: 1024px) {
  .album-content-wrapper {
    padding: 35px;
  }
  .album-media-grid {
    gap: 18px;
    margin: 25px 0;
  }
  .youtube-main {
    margin-bottom: 8px;
  }
  .photo-placeholder {
    font-size: 13px;
  }
}
/* 手機版 (< 768px) */
@media (max-width: 768px) {
  .album-content-section {
    padding: 40px 0 60px 0;
  }
  .album-content-wrapper {
    padding: 25px;
    margin: 0;
    width: auto;
  }
  .album-media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
  }
  .youtube-main {
    grid-column: 1/-1;
    margin-bottom: 5px;
  }
  .photo-placeholder {
    font-size: 12px;
  }
}
/* 超小螢幕 (< 480px) */
@media (max-width: 480px) {
  .album-content-wrapper {
    padding: 20px;
  }
  .album-media-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 15px 0;
  }
  .photo-placeholder {
    font-size: 11px;
  }
}

/*# sourceMappingURL=styles.css.map */
