/* ===================================================================
   愛用者推薦 patron（type A，攤開式）
   scope：.nstyle_theme.page_patron
   ‧ Hero：左文案＋右 patronHeader.jpg 圖，手寫感標語（CSS 近似）
   ‧ 推薦：左右交錯攤開列（照片＋手寫短語｜學校/姓名/標籤/headline/完整內文）
   ‧ 底部 CTA 區塊
   ‧ 資料讀 data/patron.json（7 筆全部呈現、不分頁、不輪播、不用彈窗）
   ‧ 已拋棄 BS3 / owl carousel / fancybox / jQuery / islogin / IE 遺留腳本
   =================================================================== */

/* 頁面底：淡藍色暈 + 波浪流線 + 白→淺藍漸層 */
.nstyle_theme.page_patron {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(680px 520px at 92% 12%, rgba(90, 166, 239, 0.10), transparent 60%),
    radial-gradient(560px 480px at 4% 46%, rgba(90, 166, 239, 0.07), transparent 60%),
    radial-gradient(640px 540px at 100% 92%, rgba(122, 184, 255, 0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  background-repeat: no-repeat;
  background-position: center top, center center, center bottom, center center;
  background-size: auto, auto, auto, auto;
}

/* 背景漂浮裝飾（純視覺，pointer-events:none；置於內容後方；手機自動隱藏） */
.nstyle_theme.page_patron .npatron_deco { position: absolute; z-index: 0; pointer-events: none; }
.nstyle_theme.page_patron .npatron_deco--blob1 {
  top: 380px; right: -90px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(120, 180, 255, 0.18), rgba(120, 180, 255, 0.04) 70%);
  filter: blur(4px);
}
.nstyle_theme.page_patron .npatron_deco--blob2 {
  bottom: 200px; left: -70px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(90, 166, 239, 0.14), transparent 70%);
}
.nstyle_theme.page_patron .npatron_deco--ring1 {
  top: 900px; left: -55px; width: 210px; height: 210px; border-radius: 50%;
  border: 2px solid rgba(90, 166, 239, 0.16);
}
.nstyle_theme.page_patron .npatron_deco--ring2 {
  top: 1600px; right: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 2px solid rgba(122, 184, 255, 0.14);
}
/* 大顆實心圓（左右兩側探出，低透明度） */
.nstyle_theme.page_patron .npatron_deco--circle { border-radius: 50%; }
.nstyle_theme.page_patron .npatron_deco--c3 { top: 1250px; left: -130px; width: 320px; height: 320px; background: rgba(90, 166, 239, 0.07); }
.nstyle_theme.page_patron .npatron_deco--c4 { bottom: -60px; right: -120px; width: 300px; height: 300px; background: rgba(122, 184, 255, 0.08); }
.nstyle_theme.page_patron .npatron_deco--dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(90, 166, 239, 0.32); }
.nstyle_theme.page_patron .npatron_deco--d1 { top: 520px; left: 40px; }
.nstyle_theme.page_patron .npatron_deco--d2 { top: 1150px; right: 46px; width: 9px; height: 9px; background: rgba(122, 184, 255, 0.4); }

/* 角落裝飾小圖（透明 PNG，置於內容後方） */
.nstyle_theme.page_patron .npatron_air,
.nstyle_theme.page_patron .npatron_book {
  position: absolute;
  z-index: 0;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.nstyle_theme.page_patron .npatron_air { top: 340px; left: -25px; width: 220px; }
.nstyle_theme.page_patron .npatron_book { bottom: 40px; right: -10px; width: 200px; }

/* ── Banner（圖已內建標題；沿用共用 .npage_banner，僅指定圖與高度） ── */
.nstyle_theme.page_patron .npage_banner--patron {
  position: relative;
  z-index: 2;
  background-image: url("../../img/patron/patron_banner.png");
  height: 300px;
  background-size: cover;
  background-position: center;
}
/* banner 下方前言 head（比照 teacher/108：圓章＋主標＋副標＋右側漸層線標籤） */
.nstyle_theme.page_patron .npatron_ihero {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 16px;
}
/* 前言 head 主體改用公版 .nlead（見 nstyle_base.css）；此頁僅保留外層 .npatron_ihero 容器定位 */

/* ── 內容容器 ── */
.nstyle_theme.page_patron .npatron_wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 20px;
}

/* ── 交錯攤開列 ── */
.nstyle_theme.page_patron .npatron_row {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 30px 40px;
  margin-bottom: 30px;
  overflow: hidden;
}
.nstyle_theme.page_patron .npatron_row:nth-child(even) { flex-direction: row-reverse; }

/* 照片區 */
.nstyle_theme.page_patron .npatron_media { position: relative; flex: 0 0 40%; }
.nstyle_theme.page_patron .npatron_photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #eef3fb;
  box-shadow: 0 10px 24px rgba(31, 95, 191, 0.12);
}
.nstyle_theme.page_patron .npatron_photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 內容區 */
.nstyle_theme.page_patron .npatron_content { flex: 1; min-width: 0; position: relative; }
/* 學校/姓名前置區：左大引號 + 右邊學校/姓名欄 */
.nstyle_theme.page_patron .npatron_head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.nstyle_theme.page_patron .npatron_qmark {
  flex: 0 0 auto;
  align-self: center;
  font-size: 100px;
  line-height: 1;
  height: 0.62em; /* 讓 66 引號視覺置中對齊右側區塊 */
  font-family: Georgia, "Times New Roman", serif;
  color: #cfe0f8;
  pointer-events: none;
}
.nstyle_theme.page_patron .npatron_headinfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 避免子項被拉滿整欄寬（學校框過長） */
  gap: 6px;
  min-width: 0;
}
.nstyle_theme.page_patron .npatron_school {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #bcd4f5;
  border-radius: 6px;
  background: #fff;
  color: #2f74d6;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}
/* 姓名 + 標籤同一行 */
.nstyle_theme.page_patron .npatron_nameline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
}
.nstyle_theme.page_patron .npatron_name {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: #1f3a5f;
  letter-spacing: 1px;
}
/* 標籤 */
.nstyle_theme.page_patron .npatron_tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nstyle_theme.page_patron .npatron_tag {
  padding: 4px 14px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2f74d6;
  font-size: 13px;
  font-weight: 700;
}
/* headline */
.nstyle_theme.page_patron .npatron_headline {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
  color: #2f74d6;
}
.nstyle_theme.page_patron .npatron_headline::before { content: "「"; color: #2f74d6; }
.nstyle_theme.page_patron .npatron_headline::after { content: "」"; color: #2f74d6; }
/* 內文 */
.nstyle_theme.page_patron .npatron_text p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.95;
  color: #55617a;
}
.nstyle_theme.page_patron .npatron_text p:last-child { margin-bottom: 0; }

/* ── RWD ── */
@media (max-width: 991.98px) {
  .nstyle_theme.page_patron .npatron_row,
  .nstyle_theme.page_patron .npatron_row:nth-child(even) { flex-direction: column; gap: 22px; padding: 24px; }
  .nstyle_theme.page_patron .npatron_media { flex: none; width: 100%; max-width: 420px; }
}
/* 手機：不用引號；學校/姓名/標籤各自一列並置中 */
@media (max-width: 767.98px) {
  .nstyle_theme.page_patron .npatron_qmark { display: none; }
  .nstyle_theme.page_patron .npatron_head { justify-content: center; margin-bottom: 12px; }
  .nstyle_theme.page_patron .npatron_headinfo { align-items: center; text-align: center; }
  .nstyle_theme.page_patron .npatron_nameline { flex-direction: column; align-items: center; gap: 8px; }
  .nstyle_theme.page_patron .npatron_headline { text-align: center; }
}
@media (max-width: 767.98px) {
  .nstyle_theme.page_patron .npage_banner--patron { height: 150px; }
  .nstyle_theme.page_patron .npatron_deco,
  .nstyle_theme.page_patron .npatron_air,
  .nstyle_theme.page_patron .npatron_book { display: none; }
}
@media (max-width: 575.98px) {
  .nstyle_theme.page_patron .npatron_name { font-size: 25px; }
  .nstyle_theme.page_patron .npatron_qmark { font-size: 54px; }
}
