﻿@charset "UTF-8";
/* nstyle_base.css — 共用:字型/變數/reset/Section 共用/reveal */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round"); /* 聯絡方式等 icon 字體（.material-icons-round） */
@font-face {
  font-family: "GenSenRounded2 TW";
  src: local("GenSenRounded2 TW H"), local("GenSenRounded2TW-H");
  font-weight: 800 900;
  font-display: swap;
}
@font-face {
  font-family: "GenSenRounded2 TW";
  src: local("GenSenRounded2 TW B"), local("GenSenRounded2TW-B");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "GenSenRounded2 TW";
  src: local("GenSenRounded2 TW M"), local("GenSenRounded2TW-M");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "GenSenRounded2 TW";
  src: local("GenSenRounded2 TW R"), local("GenSenRounded2TW-R");
  font-weight: 400;
  font-display: swap;
}
:root {
  --nstyle_font-display: 52px;
  --nstyle_font-title-lg: 32px;
  --nstyle_font-title-md: 24px;
  --nstyle_font-title-sm: 20px;
  --nstyle_font-body-lg: 19px;
  --nstyle_font-body-md: 18px;
  --nstyle_font-body-sm: 16px;
  --nstyle_font-caption: 14px;
  --nstyle_font-caption-sm: 13px;
  --nstyle_font-caption-xs: 11px;
  --nstyle_header-w: 1445px;
  --nstyle_container: 1554px;
  --nstyle_container-narrow: 1292px;
}

@media (max-width: 1199.98px) {
  :root {
    --nstyle_font-display: 40px;
    --nstyle_font-title-lg: 26px;
    --nstyle_font-title-md: 20px;
    --nstyle_font-title-sm: 18px;
    --nstyle_font-body-lg: 18px;
    --nstyle_font-body-md: 17px;
    --nstyle_font-body-sm: 15px;
  }
}
@media (max-width: 767.98px) {
  :root {
    --nstyle_font-display: 28px;
    --nstyle_font-title-lg: 22px;
    --nstyle_font-title-md: 18px;
    --nstyle_font-title-sm: 16px;
    --nstyle_font-body-lg: 17px;
    --nstyle_font-body-md: 15px;
    --nstyle_font-body-sm: 14px;
    --nstyle_font-caption: 13px;
    --nstyle_font-caption-sm: 12px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: "Noto Sans TC", "Microsoft JhengHei", -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}
@media (max-width: 1199.98px) {
  html {
    scroll-padding-top: 84px;
  }
}
@media (max-width: 767.98px) {
  html {
    scroll-padding-top: clamp(52px, 15.38vw, 89px);
  }
}

.nstyle_theme {
  overflow-x: clip;
}

[data-snap] {
  scroll-snap-align: start;
}

@media (max-width: 767.98px) {
  .nstyle_smart,
  .nstyle_course,
  .nstyle_ai,
  .nstyle_news {
    scroll-margin-top: calc(var(--nstyle_section-pad) / -2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

body {
  background: #fffff6;
  color: #2b1c0f;
}
body a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.nstyle_container {
  width: 100%;
  max-width: calc(var(--nstyle_container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.nstyle_container--narrow {
  max-width: calc(var(--nstyle_container-narrow) + 48px);
}

/* --- 內頁共用 banner：各頁以 .nstyle_pagebanner--<page> modifier 換背景圖 --- */
.nstyle_pagebanner {
  width: 100%;
  height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 767.98px) {
  .nstyle_pagebanner {
    height: 0;
    padding-top: 40%; /* 桌機定高、手機隨寬以比例撐高 */
  }
}

section {
  position: relative;
  --nstyle_section-pad: 170px;
  padding: var(--nstyle_section-pad) 0;
}
@media (max-width: 1399.98px) {
  section {
    --nstyle_section-pad: 120px;
  }
}
@media (max-width: 1199.98px) {
  section {
    --nstyle_section-pad: 80px;
  }
}
@media (max-width: 767.98px) {
  section {
    --nstyle_section-pad: 55px;
  }
}

/* --- 內頁共用內容區塊間距 ---
   純內容頁（無背景色／裝飾）改用 margin 控制上下距（比 padding 直覺、好調）。
   不動全域 section 的 --nstyle_section-pad（index 的裝飾定位/snap 靠它）。
   用法：<div class="nstyle_theme nstyle_page nstyle_page--<page>">
   各頁要微調就在自己的 skin 覆寫 --nstyle_page-gap / --nstyle_page-gap-end。 */
.nstyle_page {
  --nstyle_page-gap: 40px; /* banner→區塊、區塊→區塊 的間距 */
  --nstyle_page-gap-end: 100px; /* 最後一段與 footer 的距離 */
}
.nstyle_page section {
  padding: 0;
  margin-top: var(--nstyle_page-gap);
}
.nstyle_page section:last-of-type {
  margin-bottom: var(--nstyle_page-gap-end);
}
@media (max-width: 1199.98px) {
  .nstyle_page {
    --nstyle_page-gap: 40px;
    --nstyle_page-gap-end: 80px;
  }
}
@media (max-width: 767.98px) {
  .nstyle_page {
    --nstyle_page-gap: 32px;
    --nstyle_page-gap-end: 55px;
  }
}

.nstyle_section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 70px;
}
@media (max-width: 767.98px) {
  .nstyle_section__head {
    margin-bottom: 28px;
  }
}

.nstyle_section__deco {
  position: relative;
  display: block;
  width: 100%;
  max-width: 573px;
  height: 50px;
  margin-bottom: 6px;
}
.nstyle_section__deco::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffcd88;
}
.nstyle_section__deco::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 241px;
  height: 50px;
  transform: translateX(-50%);
  background: url(../images/index/title-deco.png) center center/contain no-repeat;
}
@media (max-width: 767.98px) {
  .nstyle_section__deco {
    width: 53.59vw;
    height: 8.72vw;
    margin-bottom: 1.03vw;
  }
  .nstyle_section__deco::before {
    top: 4.87vw;
  }
  .nstyle_section__deco::after {
    width: 41.79vw;
    height: 8.72vw;
  }
}

.nstyle_section__title {
  position: relative;
  margin: 0;
  font-family: "GenSenRounded2 TW", "GenSenRounded2 TW H", "GenSenRounded2 TW B", "Noto Sans TC", sans-serif;
  font-size: 56px;
  line-height: 55px;
  letter-spacing: 0.03em;
  font-weight: 900;
  text-align: center;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 4px #ffffff;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.25));
}
.nstyle_section__title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #e88a4a 0%, #c3612c 25%, #d27137 45%, #e98b4b 70%, #f19c59 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 767.98px) {
  .nstyle_section__title {
    max-width: 93.08vw;
  }
}
@media (min-width: 546px) and (max-width: 1279.98px) {
  .nstyle_section__title {
    font-size: 48px;
    line-height: 1;
  }
}
@media (max-width: 545.98px) {
  .nstyle_section__title {
    font-size: 32px;
    line-height: 1.375;
    letter-spacing: 0.03em;
    -webkit-text-stroke-width: 3px;
  }
}

@media (max-width: 767.98px) {
  .nstyle_section__title--narrow {
    max-width: 93.08vw;
    white-space: pre-line;
  }
  .nstyle_section__title--narrow::after {
    white-space: pre-line;
  }
}

.nstyle_visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nstyle_reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.nstyle_reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .nstyle_reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.nstyle_arrow {
  --nstyle_arrow-scale: 1;
  --nstyle_arrow-w: calc(96px * var(--nstyle_arrow-scale));
  --nstyle_arrow-h: calc(137.5px * var(--nstyle_arrow-scale));
  --nstyle_arrow-half-w: calc(48px * var(--nstyle_arrow-scale));
  --nstyle_arrow-half-h: calc(68.75px * var(--nstyle_arrow-scale));
  --nstyle_arrow-node-half: calc(45px * var(--nstyle_arrow-scale));
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nstyle_arrow-w);
  height: var(--nstyle_arrow-h);
  padding: 0;
  border: none;
  background: none;
  color: #fac798;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nstyle_arrow svg,
.nstyle_arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(217, 106, 0, 0.25));
  transition: transform 0.2s ease;
}
.nstyle_arrow--prev img {
  transform: scaleX(-1);
}
.nstyle_arrow:hover {
  color: #f67e11;
}
.nstyle_arrow:hover img {
  filter: drop-shadow(0 4px 8px rgba(217, 106, 0, 0.4));
}
.nstyle_arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
@media (max-width: 767.98px) {
  .nstyle_arrow {
    background: center center/contain no-repeat;
  }
  .nstyle_arrow img {
    display: none;
  }
  .nstyle_arrow--prev {
    background-image: url(../images/index/arrow-mb-left.png);
  }
  .nstyle_arrow--next {
    background-image: url(../images/index/arrow-mb-right.png);
  }
}

.nstyle_dots {
  position: static;
  --swiper-pagination-bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.nstyle_dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 999px;
  background: #fde7d3;
  opacity: 1;
  transition: all 0.25s ease;
}
.nstyle_dots .swiper-pagination-bullet-active {
  width: 34px;
  background: #f67e11;
}
@media (max-width: 767.98px) {
  .nstyle_dots {
    margin-top: 18px;
  }
}


/* --- 共用元件:按鈕 nstyle_btn(由 nstyle 移入,header/footer 等各頁皆需) --- */
.nstyle_btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.nstyle_btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.nstyle_btn:active, .nstyle_btn:focus-visible {
  transform: translateY(0);
  filter: brightness(0.96);
  outline: none;
}

.nstyle_btn--md {
  font-size: var(--nstyle_font-title-sm);
  line-height: 1.15;
  letter-spacing: 0.04em;
  font-weight: 500;
  height: 55px;
  padding: 0 32px;
  border-radius: 999px;
}

.nstyle_btn--lg {
  font-size: var(--nstyle_font-title-lg);
  line-height: 1.12;
  letter-spacing: 0.04em;
  font-weight: 500;
  height: 64px;
  padding: 0 32px;
  border-radius: 16px;
  gap: 12px;
}

.nstyle_btn--primary {
  background: linear-gradient(180deg, #f3b249 0%, #f67e11 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(246, 126, 17, 0.32);
}
.nstyle_btn--primary:hover {
  color: #fff;
  box-shadow: 0 8px 20px rgba(246, 126, 17, 0.42);
}

.nstyle_btn--outline {
  background: linear-gradient(180deg, #ffffff 0%, #fde7d3 50%, #ffffff 100%);
  color: #d96a00;
  border: 1.5px solid #fac798;
  box-shadow: 0 4px 10px rgba(246, 126, 17, 0.16);
}
.nstyle_btn--outline:hover {
  color: #d96a00;
  box-shadow: 0 8px 18px rgba(246, 126, 17, 0.26);
}

.nstyle_btn--cta {
  position: relative;
  background: linear-gradient(180deg, #ff6a00 0%, #ee3f00 50%, #ff6a00 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(238, 63, 0, 0.35), inset 0 -3px 6px rgba(150, 35, 0, 0.35);
}
.nstyle_btn--cta:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(238, 63, 0, 0.45), inset 0 -3px 6px rgba(150, 35, 0, 0.35);
}
.nstyle_btn--cta::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 18px;
  width: 27px;
  height: 4.4px;
  border-radius: 2.2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.45) 0 8.4px, transparent 8.4px 11.6px, rgba(255, 255, 255, 0.45) 11.6px 27px) no-repeat;
  pointer-events: none;
}

.nstyle_btn__chevrons {
  display: inline-block;
  flex: 0 0 auto;
  width: 37px;
  line-height: 0;
  opacity: 0.95;
  transition: transform 0.2s ease;
}
.nstyle_btn__chevrons img {
  display: block;
  width: 100%;
  height: auto;
}
.nstyle_btn:hover .nstyle_btn__chevrons {
  transform: translateX(4px);
}

/* --- 元件：頁籤切換 ntabs（膠囊式；共用。可作 <a> 導覽或 <button> 篩選）
   外觀取自 go100 .ntabs，配色改為 keys 品牌橘。--- */
.ntabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin: 6px auto 24px;
  padding: 6px;
  background: #fff;
  border: 1px solid #f4e3cf;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(246, 126, 17, 0.1);
}
.ntabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-size: var(--nstyle_font-body-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ntabs__btn .material-icons-round {
  font-size: 20px;
}
.ntabs__btn:hover {
  color: #d96a00;
}
.ntabs__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #f3b249, #f67e11);
  box-shadow: 0 6px 14px rgba(246, 126, 17, 0.28);
}
@media (max-width: 767.98px) {
  .ntabs__btn {
    padding: 8px 15px;
    font-size: var(--nstyle_font-caption);
  }
}

/* --- 內頁共用：前言段落 lead --- */
.nstyle_lead {
  margin: 0;
  font-size: var(--nstyle_font-body-md);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #4a3a2b;
}

/* --- 內頁共用：圖文特色區塊 feature（col 比例／左右交錯由各頁 HTML 的 BS grid 決定）--- */
.nstyle_feature {
  margin-top: 56px;
}
.nstyle_feature__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(146, 88, 20, 0.12);
}
.nstyle_feature__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: var(--nstyle_font-title-md);
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: #f67e11;
}
.nstyle_feature__title .material-icons-round {
  flex: 0 0 auto;
  font-size: 28px;
  color: #f67e11;
}
.nstyle_feature__text {
  margin: 0 0 12px;
  font-size: var(--nstyle_font-body-md);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #4a3a2b;
}
.nstyle_feature__text:last-child {
  margin-bottom: 0;
}
.nstyle_feature__strong {
  margin: 18px 0 6px;
  font-size: var(--nstyle_font-body-lg);
  line-height: 1.6;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #161a22;
}
@media (max-width: 991.98px) {
  .nstyle_feature {
    margin-top: 40px;
  }
  .nstyle_feature__img {
    margin-bottom: 20px;
  }
}

/* --- 元件：內頁清單前端分頁 npager（見 js/npager.js；外觀取自 go100，配色改 keys 橘）--- */
.npager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1120px;
  margin: 44px auto 0;
}
.npager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #fac798;
  background: #fff;
  color: #d96a00;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.npager__item:hover {
  border-color: #f67e11;
  transform: translateY(-2px);
}
.npager__item.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #f3b249, #f67e11);
  box-shadow: 0 8px 18px rgba(246, 126, 17, 0.28);
  cursor: default;
}
.npager__nav .material-icons-round {
  font-size: 20px;
}
.npager__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.npager__ellipsis {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 24px;
  height: 42px;
  padding-bottom: 6px;
  color: #c8a06f;
  font-weight: 700;
}

/* --- 元件：文章／故事卡 postcard（教育分享、最新消息等清單頁共用）
   圖 + 標題 + 摘要(3 行截斷) + 更多；點整張卡開內文彈窗 --- */
.nstyle_postcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #f4e3cf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(146, 88, 20, 0.08);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nstyle_postcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(146, 88, 20, 0.16);
}
.nstyle_postcard__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.nstyle_postcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 22px;
}
.nstyle_postcard__title {
  font-size: var(--nstyle_font-title-sm);
  line-height: 1.4;
  font-weight: 800;
  color: #161a22;
}
.nstyle_postcard__excerpt {
  flex: 1;
  font-size: var(--nstyle_font-body-sm);
  line-height: 1.7;
  color: #4a3a2b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nstyle_postcard__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: #d96a00;
  font-weight: 700;
  font-size: var(--nstyle_font-body-sm);
}
.nstyle_postcard__more .material-icons-round {
  font-size: 18px;
}
.nstyle_postcard:hover .nstyle_postcard__more {
  color: #f67e11;
}

/* --- 元件：文章／故事彈窗內容 story（圖 + 段落）--- */
.nstyle_story__img {
  display: block;
  width: 100%;
  max-height: 260px; /* 限高成 banner 式，避免大圖佔掉閱讀空間 */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  .nstyle_story__img {
    max-height: 180px;
  }
}
.nstyle_story__p {
  margin: 0 0 16px;
  font-size: var(--nstyle_font-body-md);
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #3c3d3e;
  text-align: justify;
}
.nstyle_story__p:last-child {
  margin-bottom: 0;
}

/* --- 元件：自訂下拉 nselect（共用；移植自 go100，配色改 keys 橘。搭配 js/nselect.js）
   美化原生 <select>：JS 生成按鈕＋清單、藏起原生 select（漸進增強，事件仍掛原生 select）。--- */
.nselect {
  position: relative;
}
.nselect.is-open {
  z-index: 6;
}
.nselect__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  padding: 1px 0;
  background: transparent;
  font-size: var(--nstyle_font-body-sm);
  font-weight: 700;
  color: #161a22;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.nselect__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nselect__caret {
  flex: 0 0 auto;
  color: #f67e11;
  font-size: 22px;
  transition: transform 0.2s;
}
.nselect.is-open .nselect__caret {
  transform: rotate(180deg);
}
.nselect__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #f4e3cf;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(246, 126, 17, 0.18);
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.nselect.is-open .nselect__menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.nselect__opt {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: var(--nstyle_font-body-sm);
  font-weight: 600;
  color: #3c3d3e;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.nselect__opt:hover {
  background: #fff6ec;
  color: #d96a00;
}
.nselect__opt.is-active {
  background: linear-gradient(135deg, #f3b249, #f67e11);
  color: #fff;
}
/* 隱藏原生 select（保留為資料源＋事件源）*/
.nselect__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* --- 元件：內頁麵包屑 breadcrumb（共用；banner 下方一條）--- */
.nstyle_breadcrumb-bar {
  background: #fffdf7;
  border-bottom: 1px solid #f4e3cf;
}
.nstyle_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: var(--nstyle_font-body-sm);
  color: #6b7280;
}
.nstyle_breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d96a00;
  font-weight: 700;
}
.nstyle_breadcrumb a:hover {
  color: #f67e11;
}
.nstyle_breadcrumb a .material-icons-round {
  font-size: 18px;
}
.nstyle_breadcrumb .sep {
  color: #c8a06f;
}
.nstyle_breadcrumb .current {
  color: #161a22;
}

/* GTM 注入的第三方追蹤像素（如 Yahoo Dot：sp.analytics.yahoo.com/spp.pl）
   保留追蹤（display:none 的 <img> 仍會發出請求），只是不顯示，避免破圖出現在頁尾。 */
img[src*="analytics.yahoo.com"],
img[src*="spp.pl"],
img[src*="doubleclick.net"],
img[src*="google-analytics.com"],
img[src*="facebook.com/tr"] {
  display: none !important;
}
