/*** 最新消息 ***/
.news-detail-left,
.news-main,
.news-content-wrap,
.news-detail-area,
.news-left,
.content-left,
.main-content,
.col-lg-8{
    background: #f8f9fa !important;  
    padding: 32px !important;
    border-radius: 14px;
}

#ltlNews_Content {
    white-space: pre-line !important;
    line-height: 1.9;
    font-size: 17px;
    color: #333;
    display: block;
}

#ltlNews_Content br {
    display: block;
    margin-bottom: 16px;
}

#ltlNews_Content > div,
#ltlNews_Content > span,
#ltlNews_Content > p {
    display: block;
    margin-bottom: 18px;
    line-height: 1.9;
}

.year-dropdown-wrap,
.year-select {
    position: relative !important;
}

.history-news-wrap,
.news-history-sidebar,
.news-history,
.news-right,
.news-history-area {
    overflow: visible !important;
}

.news-header-wrap {
  width: 100%;
}

.year-dropdown-wrap {
  min-width: 140px;
}

.year-select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: var(--bs-light);
  font-size: 15px;
  color: var(--bs-gray-dark);
  cursor: pointer;
  outline: none;
  transition: .2s;
}

.year-select:hover {
  background: #e8e8e8;
  border-color: #999;
}

.year-select:focus {
  border-color: var(--bs-primary);
  background: var(--bs-white);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

.news-underline {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin-top: 8px;
}

.news-card {
  position: relative;
  background: var(--bs-white);
  border-radius: 14px;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
  cursor: pointer;
  transition: all 0.8s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.news-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

.news-img-wrapper {
  height: 210px;
  width: 100%;
  overflow: hidden;
}

.news-img,
.album-item img,
.activity-item .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.news-card:hover .news-img {
  filter: brightness(88%);
  transform: scale(1.04);
}

.news-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.397);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .35s ease, border-color .35s ease;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.news-card:not(.no-image) .news-hover-overlay {
  height: 210px;
}

.news-hover-overlay span {
  padding: 6px 16px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

.news-card:hover .news-hover-overlay {
  opacity: 1;
  border-color: rgba(255,255,255,0.85);
}

.news-card.no-image {
  height: 260px;
}

.news-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-text {
  font-size: 14px;
  color: var(--bs-gray);
  margin-bottom: auto;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  margin-top: 12px;
  font-size: 13px;
  color: var(--bs-gray);
}

.news-date-img {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: var(--bs-white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

/*** 企業理念與願景 ***/
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 3rem 0 1.5rem 0;
  padding: 0 0 0.75rem 0;
  border-bottom: 2px solid #1d4ed8;  /* 底線與 H3 左線做出區隔 */
  display: inline-block;
}

/* 子標題（華城使命、一、華城精神…） */
.about-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-page h3 .line {
  position: relative;
  padding-left: 0.75rem;
}

/* 子標題左側細線 */
.about-page h3 .line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: #2563eb;
  border-radius: 999px;
}

/* ==========================
   上半：企業理念（使命／核心價值／四大考驗）
   ========================== */

/* 小圓角標籤：企業理念與遠景 */
.about-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
}

/* 使命文字 */
.about-mission {
  font-weight: 500;
}

/* 核心價值 tag 列表 */
.about-tag-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-tag-list li {
  font-size: 1.1rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

/* 區塊外圍間距 */
.about-section {
  margin-top: 3rem;
}

/* ---- 四大考驗卡片 ---- */

.about-four-tests {
  position: relative;
}

.about-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem 1.5rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  margin-bottom: 0;
  color: #4b5563;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.about-card:hover::before {
  opacity: 1;
}

/* ---- 四大考驗歷史 Accordion ---- */

.about-history {
  margin-top: 2.5rem;
}

.about-history-header p {
  color: #6b7280;
}

.about-accordion .accordion-button {
  border-radius: 0.75rem;
}

.about-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #0d6efd, #00b4d8);
  color: #ffffff;
}

.about-accordion .accordion-button:focus {
  box-shadow: none;
}

.about-accordion .accordion-body {
  background: #ffffff;
  border-radius: 0 0 0.75rem 0.75rem;
}

/* ---- 區塊分隔線（企業理念 vs 理念願景） ---- */

.section-separator {
  border: 0;
  height: 1px;
  margin: 3rem auto;
  max-width: 1040px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(148, 163, 184, 0.7),
    transparent
  );
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

/* ==========================
   下半：理念願景 Vision 區塊
   ========================== */

.vision-block {
  position: relative;
  padding-bottom: 3rem;
}

/* ---- 經營團隊卡片列 ---- */

.vision-team-row {
  margin-bottom: 2.5rem;
}

.vision-team-card {
  background: #ffffff;
  border-radius: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* 經營團隊照片放大 */
.vision-team-card img {
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  border: 4px solid #f3f4f6;
}

.vision-team-card .card-text small {
  color: #4b5563;
}

.vision-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.7);
}

/* ---- 理念願景內文 ---- */
/* 不要卡片感，與上半段落對齊 */

.vision-text {
  max-width: 100%;
  margin: 0 0 3rem 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  line-height: 1.85;
  color: #495057;
}

.vision-text p {
  color: #495057;
  margin-bottom: 1rem;
}

/* h3 樣式已由 .about-page h3 .line 統一處理 */

/* ---- 三欄經營目標：官方年報風 ---- */

.vision-goals-row {
  margin-top: 0.5rem;
}

.vision-goal-card {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vision-goal-card::before {
  content: none;
}

/* 卡片上方藍底標題列（短程／中程／長程） */
.vision-goal-card .pic {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  color: #1d4ed8;
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

/* 內層 ul：左右不要靠邊，條列清楚 */
.vision-goal-card > ul,
.vision-goal-card ul.list-unstyled {
  padding-left: 2rem !important;
  padding-right: 1.4rem !important;
  margin: 0 !important;
}

/* 條列內容：年報級排版 */
.vision-goal-card ul li {
  position: relative;
  margin-bottom: 0.9rem;
  line-height: 1.7;
  color: #374151;
  font-size: 0.95rem;
  list-style: none;
}

/* 藍色圓點 */
/* 條列內容：統一行高，不再用 padding-top 做分隔 */
.vision-goal-card ul li {
  position: relative;
  margin: 0.8rem 0;          /* 每個 li 上下留一樣的距離 */
  padding-left: 1rem;
  line-height: 1.7;
  color: #374151;
  font-size: 0.95rem;
  list-style: none;
}

/* 藍色圓點：以文字行高為基準垂直置中 */
.vision-goal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;                /* 依字高定位 */
  width: 6px;
  height: 6px;
  background: #1d4ed8;
  border-radius: 50%;
}

/* 分隔線改用 ::after 畫，不影響 padding */
.vision-goal-card ul li + li {
  position: relative;
}

.vision-goal-card ul li + li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;             /* 線畫在兩個 li 中間 */
  border-top: 1px solid #e5e7eb;
}

/*** 企業社會責任 ***/
.csr-intro p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #4b5563;
  max-width: 820px;
}

/* 共用 CSR 卡片外觀 */
.csr-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem 1.75rem 1.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.csr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.7);
}

/* 首張 CSR 排名圖片：微圓角即可 */
.csr-img-main {
  border-radius: 0.75rem;
}

/* 圓形獎項照片 */
.csr-card-circle {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.csr-photo-circle img {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  max-width: 260px;
  border: 6px solid #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

/* RWD 微調 */
@media (max-width: 767.98px) {
  .csr-card {
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  }

  .csr-photo-circle img {
    max-width: 220px;
  }
}

/*** 大事紀要 ***/
.history-scroll-container {
  max-height: 650px;
  overflow-y: auto;
  padding-right: 6px;
}

.history-card {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: color .2s;
}

.history-card:last-child {
  border-bottom: none;
}

.history-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bs-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.history-card:hover .history-title {
  color: var(--bs-primary);
}

.history-date {
  font-size: 13px;
  color: var(--bs-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/*** Six Sigma 推行 ***/
.sigma-intro-panel {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.sigma-intro-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 0.75rem;
}

.sigma-intro-panel h6 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* 推行組織 圖片卡片 */
.sigma-org-card {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
}

.sigma-org-card img {
  width: 100%;
  display: block;
}

/* RWD 微調 */
@media (max-width: 991.98px) {
  .sigma-intro-panel {
    margin-top: 0.5rem;
  }
}

/* 首段說明區 */
.sigma-hero-stat {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
}

/* 兩張成果圖卡片 */
.sigma-summary-cards .sigma-image-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sigma-summary-cards .sigma-image-card img {
  border-radius: 0.75rem;
}

.sigma-summary-cards .sigma-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.7);
}

.sigma-image-caption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d4ed8;
}

/* 表格外框卡片化 */
.sigma-table {
  /*border-radius: 1rem;*/
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* 頭列配色與文字 */
.sigma-table thead {
  background: linear-gradient(135deg, #0d6efd, #00b4d8);
  color: #ffffff;
}

.sigma-table tfoot {
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 0.9rem;
}

/* 表格內文 */
.sigma-table .table {
  margin-bottom: 0;
}

.sigma-table .table tbody tr:nth-of-type(odd) {
  background-color: #f9fafb;
}

/* 推行成果發表 相片牆 */
.sigma-gallery .sigma-photo {
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sigma-gallery .sigma-photo img {
  width: 100%;
  display: block;
}

.sigma-gallery .sigma-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

/* RWD 微調 */
@media (max-width: 767.98px) {
  .sigma-summary-cards .sigma-image-card {
    margin-bottom: 0.5rem;
  }
}

/*** 華城榮譽 ***/
.section-award-bg {
  background: #f6f8fb;
  padding: 60px 0;
}

.award-hero-box {
  background: var(--primary);
  padding: 35px 40px;
  border-radius: 22px;
  color: #fff;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.award-hero-box img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
}

.award-hero-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
}

.award-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 25px 20px 25px;
  border-left: 7px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: .28s ease;
  position: relative;
  overflow: hidden;
  margin: 0 12px 25px;
}

.award-card a {
  color: inherit !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.award-card i {
  font-size: 20px;
  color: #C9A341;
}

.award-card p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1d2a33;
  line-height: 1.4;
}

.award-card:hover {
  background: #E6F2FB;
  transform: translateY(-6px);
  border-left-color: #005A9C;
  border-left-width: 10px;
}

.award-card:hover i {
  color: #B1892F;
}

.award-card:hover p {
  color: #003A63;
}

.award-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

.award-card:hover::after {
  animation: award-shine 1.2s forwards;
}

@keyframes award-shine {
  0% { left: -130%; }
  100% { left: 150%; }
}

.pagination-box .page-link {
  padding: 8px 14px;
  border-radius: 6px !important;
  margin: 0 4px;
  color: var(--primary);
  border: 1px solid #cfd8e1;
}

.pagination-box .page-link:hover {
  background: #e1f0fb;
}

.module-inter {
  position: relative;
  padding: 60px 0;
}

.bg-color-lightgray {
  background-color: #f5f5f5 !important;
}

.clip-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.clip-bg.history {
  background-image: url('images/about/banner-history.jpg');
}

.sub-title h2 {
  margin-bottom: 20px;
  text-align: center;
}

.sub-title h2 span {
  border-left: 6px solid var(--primary);
  padding-left: 12px;
  font-size: 30px;
  font-weight: 800;
}

.article-white {
  background: #fff;
  border-radius: 16px;
  padding: 40px 45px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-white h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.article-white p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.article-white img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pagination-box.inter .page-link,
.pagination-box.inter .btn {
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
}

.btn.line {
  border-radius: 50px;
  font-weight: 600;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: .25s;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/*** 資訊安全風險管理 ***/
.info-policy-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}

.info-policy-desc {
  max-width: 1000px;
  line-height: 1.8;
  font-size: 15px;
  color: #444;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.policy-flip-card {
  width: 100%;
  height: 400px;
  perspective: 1000px;
  position: relative;
}

.policy-flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}

.policy-flip-card:hover .policy-flip-inner {
  transform: rotateY(180deg);
}

.policy-flip-front,
.policy-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid #e2e2e2;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: .35s ease;
}

.policy-flip-front {
  background: #f5f5f5 !important;
  border-color: #dadada !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.policy-flip-card:hover .policy-flip-front {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.policy-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #eef6ff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  transition: transform .35s ease, background .35s ease;
}

.policy-icon i {
  font-size: 32px;
  color: var(--primary);
}

.policy-flip-card:hover .policy-icon {
  transform: scale(1.12);
  background: #d9ebff;
}

.policy-flip-back {
  transform: rotateY(180deg);
  background: #eaf4ff;
  border-color: #bcd6ff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.policy-flip-back p {
  font-size: 15px;
  line-height: 1.8;
}

.cause-block {
  position: relative;
  padding: 15px 0;
  margin-top: 15px;
}

.cause-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ccc;
  box-shadow: 0 6px 10px rgba(0,0,0,0.35);
}

.cause-botton {
  border: none;
  box-shadow: none;
  padding: 15px 0;
  margin-top: 15px;
  background: none;
}


.security-plan-row1 {
  max-width: 1100px;
  margin: 0 auto 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 35px;
  justify-items: center;
}

.security-plan-row2 {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 35px;
  justify-items: center;
}

.security-card {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  border-left: 6px solid #0071c5;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: .25s;
}

.security-card:hover {
  transform: translateY(-6px);
}

.info-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  background: #f7f7f7;
  padding: 40px;
  border-radius: 14px;
}

.info-two-col h3 {
  font-size: 22px;
  font-weight: 700;
  color: #00345c;
}

.info-left p {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #0071c5;
}

.timeline {
  border-left: 3px solid #0071c5;
  padding-left: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item .dot {
  width: 14px;
  height: 14px;
  background: #0071c5;
  border-radius: 50%;
  position: absolute;
  left: -29px;
  top: 5px;
}

.timeline-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #00345c;
}

.timeline-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

/*** 風險管理 ***/
.flip-wrapper {
  width: 220px;
  height: 220px;
  margin: auto;
  position: relative;
}

.flip-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #164f9d;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.flip-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s;
  cursor: pointer;
}

.flip-wrapper:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.flip-front h5 {
  margin-top: 10px;
  font-size: 18px;
  color: #164f9d;
}

.flip-icon {
  font-size: 42px;
  color: #164f9d;
}

.flip-back {
  transform: rotateY(180deg);
  background: #f7f9fc;
  border: 2px solid #d8e1f0;
  color: #333;
  font-size: 14px;
  padding: 25px;
}

.risk-section .section-block {
  padding: 60px 0;
}

.bg-light-alt {
  background: #f6f8fc;
}

.bg-light-alt {
  background: #f6f8fc;
}

.risk-icon {
  font-size: 40px;
  color: #164f9d;
  margin-bottom: 15px;
}

.risk-card {
  transition: .35s;
  border: 1px solid #e5e8ef;
}

.risk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.timeline-new {
  position: relative;
  margin-top: 40px;
}

.timeline-new::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: #cbd6f7;
}

.timeline-item-new {
  width: 48%;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-item-new:nth-child(odd) {
  float: left;
  clear: both;
}

.timeline-item-new:nth-child(even) {
  float: right;
  clear: both;
}

.timeline-item-new::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: #164f9d;
  border-radius: 50%;
}

.timeline-item-new:nth-child(odd)::after {
  right: -35px;
}

.timeline-item-new:nth-child(even)::after {
  left: -31px;
}

/*** 華城活動花絮 ***/
.activity-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 10px;
}

.activity-item {
  background: var(--bs-white);
  border-radius: 14px;
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  transition: .3s ease;
  height: 300px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeSlideIn .8s ease forwards;
}

.activity-item .pic img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: .35s ease;
}

.activity-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.activity-title {
  padding: 15px 10px 5px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-group > div:nth-child(1) .activity-item { animation-delay: .1s; }
.activity-group > div:nth-child(2) .activity-item { animation-delay: .3s; }
.activity-group > div:nth-child(3) .activity-item { animation-delay: .5s; }
.activity-group > div:nth-child(4) .activity-item { animation-delay: .7s; }
.activity-group > div:nth-child(5) .activity-item { animation-delay: .9s; }
.activity-group > div:nth-child(6) .activity-item { animation-delay: 1.1s; }
.activity-group > div:nth-child(7) .activity-item { animation-delay: 1.3s; }
.activity-group > div:nth-child(8) .activity-item { animation-delay: 1.5s; }

.activity-group .activity-item:nth-child(odd) { margin-top: 12px; }
.activity-group .activity-item:nth-child(even) { margin-top: -12px; }

.activity-wrapper { position: relative; }

.activity-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff !important;
  border: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  line-height: 55px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: .25s ease;
}

.activity-btn:hover {
  background: rgba(0,0,0,0.75);
  transform: translateY(-50%) scale(1.08);
}

.activity-btn.prev { left: -80px; }
.activity-btn.next { right: -80px; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-item .activity-item {
  margin: 0 auto;
  transition: .3s ease;
}

.carousel-item .activity-item:hover {
  transform: scale(1.05);
}

.album-card {
  background: var(--bs-white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.album-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #222;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.album-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.album-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: .35s ease;
}

.album-item:hover img {
  transform: scale(1.08);
}

/*** 華城之歌 ***/
.fe-song-section,
.fe-video-section {
  padding: 80px 0;
  margin-top: 0 !important;
}

.fe-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.fe-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.fe-subtitle {
  color: #56728f;
  font-size: .9rem;
  margin-bottom: 25px;
}

.fe-lyric-box {
  padding-right: 30px;
}

.fe-lyric {
  border-left: 2px solid #bcd9f3;
  padding-left: 12px;
}

.fe-lyric li {
  list-style: none;
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
}

.fe-lyric li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.fe-records {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.fe-record-title {
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
  color: #003d70;
}

.fe-record-title span {
  display: block;
  font-size: .9rem;
  color: var(--primary);
}

.fe-vinyl {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: repeating-radial-gradient(
      circle,
      #111 0,
      #111 3px,
      #1c1c1c 3px,
      #1c1c1c 6px
    ),
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.4), rgba(0,0,0,.15));
  position: relative;
  margin: auto;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: .4s;
}

.fe-vinyl::before {
  content: "";
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #d8d8d8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fe-vinyl::after {
  content: "";
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fe-record:hover .fe-vinyl {
  transform: translateY(-8px) rotate(15deg);
}

.fe-video-main-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
}

.fe-video-card {
  background: #fff;
  border-radius: 14px;
  padding-bottom: 15px;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  transition: .35s;
  position: relative;
  overflow: hidden;
  margin-bottom: 35px;
}

.fe-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.fe-video-card iframe {
  width: 100%;
  height: 220px;
  border: none;
  transition: .5s;
}

.fe-video-card:hover iframe {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.fe-video-card p {
  margin: 15px 0 0;
  font-weight: 600;
  color: #003d70;
  text-align: center;
}

.fe-video-card small {
  color: #666;
}

.fe-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  z-index: 5;
}

.fade-left,
.fade-up {
  opacity: 0;
  animation: .9s forwards ease-out;
}

.fade-left {
  transform: translateX(-30px);
  animation-name: fadeLeft;
}

.fade-up {
  transform: translateY(30px);
  animation-name: fadeUp;
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fe-toggle {
  display: none;
}

.video-more-wrapper {
  display: none;
}

.fe-toggle:checked ~ .video-more-wrapper {
  display: block;
}

.fe-more-btn {
  display: block;
  width: fit-content;
  margin: 25px auto 0;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: .3s;
}

.fe-more-btn::after {
  content: " ▼";
  font-size: 14px;
  margin-left: 6px;
}

.fe-toggle:checked + .video-more-wrapper + .fe-more-btn::after {
  content: " ▲";
}

/*** 職安衛管理 ***/
.safety-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
}

.safety-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.icon-circle {
  width: 140px;
  height: 140px;
  background: #6bade4;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: .3s;
}

.icon-circle span {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.more {
  font-size: 18px;
  margin-top: 6px;
  animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
  0%,100% { transform: translateX(0); opacity: .7; }
  50% { transform: translateX(4px); opacity: 1; }
}

#cause-safety input[type="radio"] { display: none; }

#cause-safety .info-box {
  display: none;
  background: var(--light);
  border-left: 5px solid var(--primary);
  padding: 20px 26px;
  border-radius: 10px;
  line-height: 1.7;
}

#cause-safety .commit-box {
  background: #E7F0FF;
  border-left: 6px solid var(--primary);
  padding: 20px 26px;
  margin-bottom: 28px;
}

#info1:checked ~ .safety-content .info-1,
#info2:checked ~ .safety-content .info-2,
#info3:checked ~ .safety-content .info-3,
#info4:checked ~ .safety-content .info-4 {
  display: block;
}

#info1:checked ~ .safety-icons label[for="info1"],
#info2:checked ~ .safety-icons label[for="info2"],
#info3:checked ~ .safety-icons label[for="info3"],
#info4:checked ~ .safety-icons label[for="info4"] {
  background: var(--primary);
  box-shadow: 0 6px 15px rgba(147,233,248,0.5);
  transform: translateY(-4px);
}

@media (max-width:768px) {
  .safety-layout {
      grid-template-columns: 1fr;
  }
}

.env-layout {
  display: grid;
  grid-template-columns: 500px 700px;
  gap: 50px;
  max-width: 1400px;
  margin: 40px auto 0;
}

.env-left { padding-right: 8px; }

.env-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: -40px;
  margin-top: 40px;
}

.policy-box {
  width: 100%;
  text-align: center;
  transform: translateY(20px);
}

.env-title,
.policy-title {
  margin: 40px 0 10px !important;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--dark);
}

.env-title i {
  color: var(--primary);
  font-size: 20px;
}

.env-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.env-acc-item {
  align-items: start; 
}

.acc-toggle {
  display: none;
}

.acc-btn {
  display: block;
  background: #f4f6f8;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.acc-btn::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-size: 20px;
  color: #2a5db0;
  transition: .3s;
}

.acc-toggle:checked + .acc-btn::after {
  content: "−";
}

.acc-content {
  display: none;
  background: #fafafa;
  padding: 16px 20px;
  line-height: 1.8;
}

.acc-toggle:checked + .acc-btn + .acc-content {
  display: block;
}

.no-plus .acc-btn::after {
  content: none !important;
}

.acc-content {
  display: none;
  background: #fafafa;
  border-left: 4px solid rgba(0,0,102,0.6);
  padding: 12px 15px;
  line-height: 1.8;
  font-size: 16px;
}

.acc-toggle:checked + .acc-btn + .acc-content {
  display: block;
  padding: 16px 20px 20px;
}

.arrow-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.arrow-item {
  text-align: center;
  flex: 1;
}

.arrow-item i {
  font-size: 48px;
  color: var(--primary);
}

.arrow-item span {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}

.env-idea {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-left: 5px solid var(--primary);
  padding: 28px 30px;
  margin-top: 25px;
  border-radius: 10px;
  color: #333;
  line-height: 1.85;
  font-size: 15px;
  opacity: 0;
  transform: translateY(12px);
  animation: ideaFade .6s ease forwards;
}

@keyframes ideaFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.energy-circle-list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.energy-circle-item {
  width: 18%;
  text-align: center;
}

.circle-icon {
  width: 90px;
  height: 90px;
  background: #eaf4ff;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.circle-icon i {
  font-size: 34px;
  color: var(--primary);
}

/*手機版*/
@media (max-width: 768px) {

  /*最新消息 */
  .news-content *,
  .news-content p,
  .news-content div,
  .news-content span,
  .news-content td,
  .news-content tr,
  .news-content table,
  .news-content center,
  .news-content figure {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .news-content img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 12px 0 !important;
  }

  .news-card { height: auto !important; min-height: 260px !important; }
  .news-img-wrapper { height: 160px !important; }
  .news-card-title { font-size: 16px !important; }
  .news-card-text { font-size: 13px !important; -webkit-line-clamp: 2 !important; }
  .news-hover-overlay { display: none !important; }


  /*資訊安全*/
  .info-policy-top {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .policy-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .security-plan-row1,
  .security-plan-row2 {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .security-card {
    width: 100% !important;
  }

  .info-two-col {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
    gap: 20px !important;
  }

  .timeline {
    padding-left: 16px !important;
  }

  .timeline-item .dot {
    left: -22px !important;
  }


  /*風險管理*/

  .flip-outer {
    padding: 8px !important; 
  }

  .flip-wrapper {
    width: 160px !important;
    height: 160px !important;
  }

  .flip-front,
  .flip-back {
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .flip-back p,
  .flip-front p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    max-width: 90% !important;
    word-break: break-word !important;
    margin: 0 !important;
  }

  .flip-icon {
    font-size: 30px !important;
  }

  .flip-front h5,
  .flip-back h5 {
    font-size: 14px !important;
  }

  .timeline-new {
    margin-top: 20px !important;
    position: relative !important;
  }

  .timeline-new::before {
    left: 20px !important;
    width: 3px !important;
  }

  .timeline-item-new {
    width: 100% !important;
    margin-bottom: 25px !important;
    float: none !important;
    clear: both !important;
    padding-left: 45px !important;
  }

  .timeline-item-new::after {
    left: 12px !important;
    top: 22px !important;
  }


  /*職安衛管理*/
  .safety-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .safety-icons {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    justify-items: center !important;
  }

  .icon-circle {
    width: 120px !important;
    height: 120px !important;
  }

  #cause-safety .info-box {
    padding: 18px !important;
    font-size: 15px !important;
  }


  /*環安管理*/
  .env-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin: 20px 0 !important;
  }

  .env-right {
    margin-left: 0 !important;
    margin-top: 0 !important;
    justify-content: center !important;
  }

  .env-grid-3 {
    align-items: start; 
  }

  .acc-btn {
    font-size: 15px !important;
    padding: 14px 16px !important;
  }

  .acc-content {
    font-size: 15px !important;
    padding: 14px !important;
  }

  .arrow-row {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .arrow-item i {
    font-size: 40px !important;
  }

  .arrow-item span {
    font-size: 16px !important;
  }

  .energy-circle-list {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  .energy-circle-item {
    width: 40% !important;
    min-width: 120px !important;
  }

  .circle-icon {
    width: 80px !important;
    height: 80px !important;
  }

  .circle-icon i {
    font-size: 28px !important;
  }

}
