﻿@charset "utf-8";
/* CSS Document */

body {
  scroll-behavior: smooth;
  padding: 0;
  display: block;
  justify-content: inherit;
}

.main-container{
padding: 2% 0;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;

  }

  .hidden-xs {
    display: none !important;
  }

}
@media (min-width: 768px) {
  .visible-xs {
    display: none !important;

  }

}
@media (min-width: 768px) {
  .hero-bg {
    background-image: url('../images/main-view.jpg');
    background-size: 100%;
    background-position: center;
    background-attachment: inherit;
    background-repeat: no-repeat;
    min-height: 650px;
  }

}
@media (max-width: 768px) {
  .hero-bg {
    background-image: url('../images/main-view-xs.jpg');
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

}

.accordion-content .py-4 {
  text-align: left;
  font-size: 1.1em;
}

.accordion-content .text-base {
  font-size: 1.8em;
  line-height: 1.5rem;
}

/* 全局與容器設定 */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2欄等寬 */
  gap: 20px;
  /* 卡片間距 */
  max-width: 1000px;
  /* 最大寬度 */
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

/* 單一卡片樣式 */
.notice-card {
  background-color: #ffffff;
  /* 淺藍灰色背景 */
  border-radius: 16px;
  /* 圓角邊框 */
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  /* 輕微陰影 */
  border-color: rgb(226 232 240 / 0.8);
}

/* 圖示外框（淡色圓形） */
.card-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eeeefc;
  /* 淡紫色/藍色小圓圈背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

/* 卡片標題 */
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}

/* 卡片內文 */
.card-text {
  font-size: 1.2em;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* 響應式微調：螢幕寬度小於 768px 時轉為單欄 */
@media (max-width: 768px) {
  .notice-grid {
    grid-template-columns: 1fr;
  }
}

.items-center a {
  margin: 10px 0;
  font-size: 1em;
}

#terms-section p {
  font-size: 15px;
}

.p-6 a {
  margin: 2% auto;
}

/* .notice{
   font-size: 1em !important;
} */

.main-section {
  padding: 7rem 1.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
