@charset "UTF-8";
/* skin/nstyle_exam_download_index.css — 歷屆考題下載 exam_download_index 頁「專屬」CSS（新版設計）
   取代舊 custom-def 的 .service-item／.exam_download_* 版面。
   banner 參考 product_intro 的 .header（深色遮罩＋背景圖 cover，內嵌白字標題）。
   scope 到 .nstyle_theme.page_exam_download_index。 */

.nstyle_theme.page_exam_download_index {
  margin-top: 0;
}

/* 內容區背景：參考 product_intro 的 .compare_bg（淺底 #F7F9FB ＋兩側裝飾 SVG ＋淡漸層），沿用其插圖資產 */
.nstyle_theme.page_exam_download_index section {
  background:
    linear-gradient(rgba(247, 249, 251, 0.3), rgba(247, 249, 251, 0.3)),
    url("../../img/skin_product_intro/illus_compare_bg_L.svg") no-repeat left 2% top 22%/300px auto,
    url("../../img/skin_product_intro/illus_compare_bg_R.svg") no-repeat right 2% top 22%/300px auto,
    #f7f9fb;
}

/* Banner：結構/遮罩/白字用共用元件 .npage_banner（見 nstyle_base.css）；本頁只給背景圖、高度與較大字級 */
.nstyle_theme.page_exam_download_index .npage_banner--exdl-index {
  background-image: url("../../img/exam_download/banner_exam_download.png");
}
/* 本頁專屬標題：底層白色粗框、上層疊亮藍「上到下」漸層字（雙層疊字，避免 text-stroke／text-shadow
   與 background-clip 漸層互相蓋掉）。h1 需帶 data-text="歷屆考題下載" 供 ::before 複製。 */
.nstyle_theme.page_exam_download_index .npage_banner__title {
  position: relative;
  font-size: 42px;
  letter-spacing: 6px;
  text-indent: 6px;
  /* 底層＝白字＋白色粗框（就是外框） */
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 6px #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* 深色 banner 上的立體陰影 */
}
.nstyle_theme.page_exam_download_index .npage_banner__title::before {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  /* 上層＝亮藍上到下漸層（無框，露出底層白邊當外框） */
  -webkit-text-stroke: 0;
  background: linear-gradient(to bottom, #00b3ff 0%, #00a1ff 55%, #00365b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nstyle_theme.page_exam_download_index .npage_banner__sub {
  font-size: 18px;
}

@media (max-width: 767.98px) {
  .nstyle_theme.page_exam_download_index .npage_banner__title { font-size: 28px; letter-spacing: 3px; }
  .nstyle_theme.page_exam_download_index .npage_banner__sub { font-size: 14px; letter-spacing: 1px; }
}

/* 裝飾插圖（illus_compare.svg）：貼在國中會考卡左上角、往外上方探出 */
.nstyle_theme.page_exam_download_index .exdl_illus {
  position: absolute;
  left: -1.6rem;
  top: -4.2rem;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .nstyle_theme.page_exam_download_index .exdl_illus {
    display: none;
  }
}

/* 三欄卡片 */
.nstyle_theme.page_exam_download_index .exdl_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 991.98px) {
  .nstyle_theme.page_exam_download_index .exdl_grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

.nstyle_theme.page_exam_download_index .exdl_card {
  position: relative; /* 供裝飾插圖以本卡為基準絕對定位 */
  background: #fff;
  border: 1px solid #e4eafb;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(73, 113, 243, 0.08);
}

/* 卡片彩色標題列（三類各一色） */
.nstyle_theme.page_exam_download_index .exdl_card_head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  color: #fff;
  border-radius: 20px 20px 0 0; /* 卡片改 overflow:visible 後，改由標題列自做上圓角 */
}

.nstyle_theme.page_exam_download_index .exdl_card--cap .exdl_card_head {
  background: linear-gradient(135deg, #24c3a4 0%, #12a08a 100%);
}

.nstyle_theme.page_exam_download_index .exdl_card--gsat .exdl_card_head {
  background: linear-gradient(135deg, #f9718f 0%, #e23b6d 100%);
}

.nstyle_theme.page_exam_download_index .exdl_card--ast .exdl_card_head {
  background: linear-gradient(135deg, #8b6be0 0%, #5b3fc4 100%);
}

.nstyle_theme.page_exam_download_index .exdl_card_ic {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.nstyle_theme.page_exam_download_index .exdl_card_ic .material-icons-round {
  font-size: 30px;
}

.nstyle_theme.page_exam_download_index .exdl_card_title {
  font-size: 20px;
  font-weight: 500;
}

.nstyle_theme.page_exam_download_index .exdl_card_title b {
  font-weight: 900;
}

.nstyle_theme.page_exam_download_index .exdl_card_sub {
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.92;
}

/* 年份清單 */
.nstyle_theme.page_exam_download_index .exdl_list {
  list-style: none;
  margin: 0;
  padding: 8px 26px 20px;
}

.nstyle_theme.page_exam_download_index .exdl_list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2fa;
}

.nstyle_theme.page_exam_download_index .exdl_list li:last-child {
  border-bottom: 0;
}

.nstyle_theme.page_exam_download_index .exdl_star {
  flex: 0 0 auto;
  font-size: 18px;
}

.nstyle_theme.page_exam_download_index .exdl_card--cap .exdl_star {
  color: #12a08a;
}

.nstyle_theme.page_exam_download_index .exdl_card--gsat .exdl_star {
  color: #e23b6d;
}

.nstyle_theme.page_exam_download_index .exdl_card--ast .exdl_star {
  color: #5b3fc4;
}

.nstyle_theme.page_exam_download_index .exdl_year {
  flex: 1 1 auto;
  color: #3c3d3e;
  font-size: 15px;
}

.nstyle_theme.page_exam_download_index .exdl_more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px 5px 14px;
  border-radius: 999px;
  background: #eef2fb;
  color: #2f74d6;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nstyle_theme.page_exam_download_index .exdl_more:hover {
  background: #dfe8fb;
}

.nstyle_theme.page_exam_download_index .exdl_more .material-icons-round {
  font-size: 16px;
}

/* 分科測驗卡的小分段標題（最新年度／歷年試題） */
.nstyle_theme.page_exam_download_index .exdl_subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 26px 0;
  padding-top: 14px;
  color: #5b3fc4;
  font-size: 15px;
  font-weight: 700;
}

.nstyle_theme.page_exam_download_index .exdl_subhead::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #5b3fc4;
}

.nstyle_theme.page_exam_download_index .exdl_subhead + .exdl_list {
  padding-top: 4px;
}
