/* 許生連宗祠網站 WordPress 版樣式（由 wordpress/build 產生，請改原站 assets/css/style.css 或 build 裡的 wp-*.css 後重新產生） */

/* ===== WordPress 版：接在原站樣式「之前」 =====
   外掛建立的 Elementor 容器（.hsu-c）清掉 Elementor 預設的 flex、寬度與留白，回到一般區塊；
   原站樣式接在後面、權重相同，會再設定每個區塊的排版。 */
.hsu-site .hsu-c {
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  gap: normal;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
  border-radius: 0;
  overflow: visible;
  z-index: auto;
}
/* 前台不需要 Elementor 為編輯工具加的 position: relative（編輯器裡保留） */
:where(.hsu-front) .hsu-c { position: static; }


:root {
  --bg: #F0EFEB;
  --surface: #FAF9F7;
  --surface-2: #E4E2DC;
  --ink: #1E2427;
  --ink-2: #4F5559;
  --line: #D3D0C8;
  --accent: #9C3522;
  --accent-hover: #832A19;
  --accent-tint: #F2E2DC;
  --on-accent: #FFF8F3;
  --teal: #2E5A5E;
  --teal-tint: #DCE6E5;
  --seal: #9C3522;
  --on-seal: #FFF8F3;
  
  --chart-1: #9C3522;
  --chart-2: #2F69A8;
  --chart-3: #B5893A;
  --footer-bg: #1B2124;
  --footer-ink: #E7E4DE;
  --footer-ink-2: #A9AEB0;
  --footer-accent: #E0806A;
  --shadow: 0 1px 2px rgb(30 36 39 / 0.06), 0 10px 28px rgb(30 36 39 / 0.09);

  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --radius: 2px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  
  color-scheme: only light;
}
html { font-size: 100%; }
html[data-fontsize="l"] { font-size: 112.5%; }
html[data-fontsize="xl"] { font-size: 125%; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}
body.hsu-site {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  
  overflow-x: clip;
}
html.nav-open { overflow: hidden; }
.hsu-site img { max-width: 100%; display: block; }
.hsu-site h1, .hsu-site h2, .hsu-site h3, .hsu-site h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0;
  text-wrap: balance;
}
.hsu-site h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.hsu-site h3 { font-size: 1.375rem; }
.hsu-site h4 { font-size: 1.125rem; }
.hsu-site p { margin: 0; text-wrap: pretty; }
.hsu-site p + p { margin-top: 1em; }
.hsu-site a { color: var(--accent); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.hsu-site a:hover { color: var(--accent-hover); }
.hsu-site :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.hsu-site .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.hsu-site .container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hsu-site .skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.hsu-site .skip-link:focus { top: 12px; color: var(--on-accent); }
.hsu-site .section { padding-block: var(--section-y); }
.hsu-site .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 38em; }
.hsu-site .section-head p { margin-top: 0.75rem; color: var(--ink-2); }
.hsu-site .prose { max-width: 38em; }
.hsu-site .prose h3 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
.hsu-site .prose ul, .hsu-site .prose ol { padding-left: 1.5em; }
.hsu-site .prose li + li { margin-top: 0.35em; }
.hsu-site .prose .photo-grid { padding-left: 0; }
.hsu-site .prose .photo-grid li + li { margin-top: 0; }
.hsu-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
}
.hsu-site .btn:active { transform: translateY(1px); }
.hsu-site .btn-primary { background: var(--accent); color: var(--on-accent); }
.hsu-site .btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.hsu-site .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.hsu-site .btn-ghost:hover { background: var(--ink); color: var(--bg); }
.hsu-site .btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hsu-site .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.hsu-site .icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.25rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hsu-site .icon-btn:hover { border-color: var(--ink); background: var(--surface); }
.hsu-site .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
}
.hsu-site .tag {
  display: inline-block;
  padding: 0.05rem 0.55rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  border-radius: var(--radius);
  color: var(--teal);
  background: var(--teal-tint);
}
.hsu-site .tag-accent { color: var(--accent); background: var(--accent-tint); }
.hsu-site .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hsu-site .header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.hsu-site .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.hsu-site .brand:hover { color: var(--ink); }
.hsu-site .site-header .container { max-width: calc(1400px + var(--gutter) * 2); }
.hsu-site .brand { flex: none; white-space: nowrap; }
.hsu-site .brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.hsu-site .brand-text small { font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--ink-2); }
.hsu-site .brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hsu-site .brand-plaque {
  flex: none;
  width: auto;
  height: 50px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgb(30 36 39 / 0.25), 0 2px 6px rgb(30 36 39 / 0.2);
}
.hsu-site .primary-nav > ul, .hsu-site .primary-nav > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.hsu-site .primary-nav li { position: relative; }
.hsu-site .primary-nav .top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: var(--header-h);
  padding: 0 0.7rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.hsu-site .primary-nav .top .ph { font-size: 0.8em; color: var(--ink-2); transition: transform 0.2s; }
.hsu-site .primary-nav .top::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}
.hsu-site .primary-nav .top:hover { color: var(--accent); }
.hsu-site .primary-nav .top:hover::after, .hsu-site .primary-nav .top[aria-current="page"]::after { transform: scaleX(1); }
.hsu-site .primary-nav .top[aria-current="page"] { color: var(--accent); }
.hsu-site .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s, transform 0.22s var(--ease-out), visibility 0s linear 0.22s;
}
.hsu-site .primary-nav li:hover > .submenu, .hsu-site .primary-nav li:hover > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > .submenu, .hsu-site .primary-nav li:focus-within > .submenu, .hsu-site .primary-nav li:focus-within > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.hsu-site .primary-nav li:hover > .top .ph, .hsu-site .primary-nav li:hover > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > .top .ph, .hsu-site .primary-nav li:focus-within > .top .ph, .hsu-site .primary-nav li:focus-within > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > .top .ph { transform: rotate(180deg); }
.hsu-site .submenu a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius);
}
.hsu-site .submenu a:hover { background: var(--surface-2); color: var(--accent); }
.hsu-site .submenu-kids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0 0 0.4rem;
  padding: 0 0.5rem 0 0.9rem;
  list-style: none;
}
.hsu-site .submenu .submenu-kids a {
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.hsu-site .submenu .submenu-kids a:hover { border-color: var(--accent); }
.hsu-site .header-tools { display: flex; align-items: center; gap: 0.5rem; }
.hsu-site .font-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.hsu-site .font-toggle:hover { border-color: var(--ink); background: var(--surface); }
.hsu-site .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.hsu-site .menu-toggle:hover, .hsu-site .menu-toggle[aria-expanded="true"] { border-color: var(--ink); background: var(--surface); }
.hsu-site .drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 3rem;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.hsu-site .drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.hsu-site .drawer-group { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.hsu-site .drawer-group > a, .hsu-site .drawer-group > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}
.hsu-site .drawer-group > a[aria-current="page"], .hsu-site .drawer-group > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a[aria-current="page"] { color: var(--accent); }
.hsu-site .drawer-group ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr));
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hsu-site .drawer-group ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
}
.hsu-site .drawer-group ul a:hover { color: var(--accent); }
.hsu-site .drawer-group li.has-kids { grid-column: 1 / -1; }
.hsu-site .drawer-group .submenu-kids { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.25rem 0 0.5rem 1rem; }
.hsu-site .drawer-group .submenu-kids a {
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-compact .hsu-site .primary-nav { display: none; }
.nav-compact .hsu-site .menu-toggle { display: inline-flex; }
html:not(.nav-compact) .hsu-site .drawer { display: none; }
@media (max-width: 480px) {
.hsu-site .header-inner { gap: 8px; }
.hsu-site .brand { gap: 8px; }
.hsu-site .brand-plaque { height: 36px; }
.hsu-site .brand-text small { display: none; }
.hsu-site .brand-text strong { font-size: 17.6px; letter-spacing: 0.08em; }
.hsu-site .font-toggle { padding: 0 10px; font-size: 15px; letter-spacing: 0.04em; }
.hsu-site .menu-toggle { padding: 0 10px; font-size: 15px; letter-spacing: 0.04em; }
}
@media (max-width: 400px) {
.hsu-site .header-inner { gap: 6px; }
.hsu-site .brand-plaque { height: 32px; }
}
@media (max-width: 359px) {
.hsu-site .brand-plaque { height: 28px; }
.hsu-site .brand-text strong { font-size: 16px; letter-spacing: 0.04em; }
}
.hsu-site .home-hero { padding-block: clamp(1.25rem, 3vw, 2.5rem) var(--section-y); }
.hsu-site .home-panel {
  display: grid;
  
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  --slide-bar-h: calc(1.2rem + 45px); 
  background: var(--surface);
  border: 1px solid var(--line); 
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hsu-site .banner { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.hsu-site .banner-stage {
  position: relative;
  display: grid;
  align-content: end;
  flex: 1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-2);
}
.hsu-site .slides { position: absolute; inset: 0; }
.hsu-site .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.hsu-site .slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hsu-site .slide img { width: 100%; height: 100%; object-fit: cover; }
.hsu-site .banner-copy {
  position: relative;
  z-index: 1;
  padding: 4rem clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--footer-ink);
  background: linear-gradient(to top, rgb(16 19 21 / 0.9), rgb(16 19 21 / 0.8) calc(100% - 4rem), rgb(16 19 21 / 0));
}
.hsu-site .banner-copy h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.14em;
  color: #FFF8F3;
}
.hsu-site .banner-copy h1 small {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--footer-ink);
}
.hsu-site .banner-copy .mission {
  max-width: 34em;
  margin-top: 0.85rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--footer-accent);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #FFF8F3;
}
.hsu-site .banner-copy .mission { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
html[data-fontsize="xl"] .hsu-site .banner-copy .mission { word-break: normal; }
@media (max-width: 359px) {
.hsu-site .banner-copy .mission { font-size: 1.0625rem; }
}
.hsu-site .slide-bar {
  min-height: var(--slide-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(1rem, 2.5vw, 1.5rem);
  border-top: 1px solid var(--line);
}
.hsu-site .slide-caption { font-size: 1rem; color: var(--ink-2); }
.hsu-site .slide-caption strong { color: var(--ink); font-weight: 500; margin-right: 0.5rem; }
.hsu-site .slide-controls { display: flex; gap: 0.5rem; }
.hsu-site .home-news {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}
.hsu-site .home-news h2 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 1.5rem; }
.hsu-site .home-news h2 .ph { color: var(--accent); }
.hsu-site .home-rites-photo {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.hsu-site .home-rites-photo:hover { border-color: var(--accent); }
.hsu-site .home-rites-photo img { display: block; width: 100%; height: auto; }
.hsu-site .notice-box {
  min-height: calc(1.8em * 7 + 2rem + 2px); 
  min-height: calc(7lh + 2rem + 2px);
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.hsu-site .notice-box p + p { margin-top: 0.6em; }
.hsu-site .home-notice { display: flex; flex: 1; flex-direction: column; }
.hsu-site .home-notice .notice-box { flex: 1; }
@media (min-width: 1000px) {
.hsu-site .home-news { padding-top: 0; padding-bottom: var(--slide-bar-h); }
}
@media (max-width: 999px) {
.hsu-site .home-panel { grid-template-columns: 1fr; }
.hsu-site .banner-stage { aspect-ratio: 16 / 10; }
.hsu-site .home-news { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
.hsu-site .banner-stage { display: block; aspect-ratio: auto; }
.hsu-site .slides { position: relative; aspect-ratio: 3 / 2; }
.hsu-site .banner-copy { padding: 1.25rem 1.25rem 1.4rem; background: var(--footer-bg); }
}
@media (max-width: 480px) {
.hsu-site .slide-caption strong { display: block; }
}
.hsu-site .page-section.home-latest { padding-top: 0; }
.hsu-site .latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hsu-site .latest-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 0;
  border-radius: var(--radius);
}
.hsu-site .latest-media img, .hsu-site .latest-media iframe, .hsu-site .latest-media video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hsu-site .latest-media.is-video { background: #000; }
.hsu-site .latest-media video { object-fit: contain; }
.hsu-site button.latest-media { cursor: zoom-in; }
.hsu-site button.latest-media img { transition: transform 0.5s var(--ease-out); }
.hsu-site button.latest-media:hover img { transform: scale(1.03); }
.hsu-site .latest-text { margin-top: 0.6rem; font-size: 1rem; line-height: 1.6; }
.hsu-site .ph-media {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 1rem;
  text-align: center;
  color: var(--ink-2);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--line) 55%, transparent) 14px 15px),
    var(--surface-2);
}
.hsu-site .ph-media .ph { font-size: 2rem; margin-inline: auto; }
.hsu-site .ph-media span { font-size: 0.9375rem; }
.hsu-site .ph-media small { font-size: 0.8125rem; opacity: 0.85; }
.hsu-site .page-head {
  padding-block: clamp(2.5rem, 5vw, 4rem) 2.25rem;
  background: var(--surface);
}
.hsu-site .breadcrumb { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hsu-site .breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.hsu-site .breadcrumb a { color: var(--ink-2); }
.hsu-site .page-title { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.hsu-site .page-title h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 900; letter-spacing: 0.12em; }
.hsu-site .page-lead { max-width: 38em; margin-top: 0.75rem; color: var(--ink-2); }
.hsu-site .subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hsu-site .subnav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.hsu-site .subnav ul::-webkit-scrollbar { display: none; }
.hsu-site .subnav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1rem;
  font-size: 1.0625rem;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.hsu-site .subnav a::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}
.hsu-site .subnav a:hover { color: var(--ink); }
.hsu-site .subnav a.is-active { color: var(--accent); font-weight: 500; }
.hsu-site .subnav a.is-active::after { transform: scaleX(1); }
.hsu-site .page-section { padding-block: var(--section-y); }
.hsu-site .page-section + .page-section { border-top: 1px solid var(--line); }
.hsu-site .page-section.is-compact { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.hsu-site .page-section .section-head h2 { display: flex; align-items: baseline; gap: 0.75rem; }
.hsu-site .roster-group + .roster-group { margin-top: 3rem; }
.hsu-site .roster-group > h3, .hsu-site .roster-group > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.hsu-site .roster-group > h3 small, .hsu-site .roster-group > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > h3 small { font-family: var(--font-sans); font-size: 1rem; font-weight: 400; color: var(--ink-2); }
.hsu-site .roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hsu-site .roster li {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hsu-site .roster li.is-lead { border-top: 3px solid var(--seal); }
.hsu-site .roster .role { display: block; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .roster li.is-lead .role { color: var(--accent); font-weight: 500; }
.hsu-site .roster .name {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
@media (max-width: 420px) {
.hsu-site .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hsu-site .asset-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  margin: 0 0 2rem;
  padding: 1.5rem 0;
  border-block: 3px double var(--ink);
}
.hsu-site .asset-total .k { font-size: 1rem; color: var(--ink-2); }
.hsu-site .asset-total .v {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hsu-site .asset-total .when { flex-basis: 100%; font-size: 1rem; color: var(--ink-2); }
.hsu-site .timeline { position: relative; padding-left: 2.5rem; max-width: 52rem; }
.hsu-site .timeline ol { margin: 0; padding: 0; list-style: none; }
.hsu-site .timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: var(--line);
}
.hsu-site .timeline-progress {
  position: absolute;
  left: 0.6rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(1);
}
.hsu-site .timeline > ol > li, .hsu-site .timeline > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > li, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li { position: relative; padding-bottom: 2.75rem; }
.hsu-site .timeline > ol > li:last-child, .hsu-site .timeline > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li:last-child, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > li:last-child, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li:last-child { padding-bottom: 0; }
.hsu-site .timeline > ol > li::before, .hsu-site .timeline > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li::before, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > li::before, .hsu-site .timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li::before {
  content: "";
  position: absolute;
  left: calc(-2.5rem + 0.6rem - 7px);
  top: 0.55rem;
  width: 16px;
  height: 16px;
  background: var(--bg);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  transform: rotate(45deg);
}
.hsu-site .timeline .era { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); }
.hsu-site .timeline h3, .hsu-site .timeline h4 { margin-top: 0.15rem; font-size: 1.25rem; }
.hsu-site .timeline p { margin-top: 0.5rem; color: var(--ink-2); max-width: 38em; }
.hsu-site .timeline .points { margin: 0.5rem 0 0; padding-left: 1.2em; color: var(--ink-2); max-width: 38em; }
.hsu-site .timeline .points li + li { margin-top: 0.3rem; }
.hsu-site .stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}
.hsu-site .stepper::before {
  content: "";
  position: absolute;
  
  left: 1.5rem; right: calc((100% - 5rem) / 5 - 1.5rem); top: 1.5rem;
  height: 2px;
  background: var(--line);
}
.hsu-site .stepper li { position: relative; }
.hsu-site .stepper .no {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--on-seal);
  background: var(--seal);
  border-radius: var(--radius);
  box-shadow: 0 0 0 6px var(--bg);
}
.hsu-site .stepper b { display: block; margin-top: 1rem; font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.06em; }
.hsu-site .stepper time { display: block; margin-top: 0.15rem; font-size: 1rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.hsu-site .stepper p { margin-top: 0.35rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 3.5rem;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}
.hsu-site .fact-grid div { padding: 1.25rem 1.5rem; }
.hsu-site .fact-grid div:nth-child(n+4) { border-top: 1px solid var(--line); }
.hsu-site .fact-grid div:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.hsu-site .fact-grid .dt { font-size: 1rem; color: var(--ink-2); }
.hsu-site .fact-grid .dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hsu-site .founding-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hsu-site .detail-title { margin-bottom: 1.5rem; }
.hsu-site .founding-side { position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 1.25rem; }
.hsu-site .side-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .side-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.hsu-site .side-card p { font-size: 1rem; color: var(--ink-2); }
.hsu-site .side-card p + p { margin-top: 0.5rem; }
.hsu-site .side-card .big { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hsu-site .side-card .threshold { font-size: 0.9375rem; }
.hsu-site .name-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hsu-site .name-chips li {
  padding: 0.3rem 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hsu-site .source-note { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .doc-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  margin-top: 0.75rem;
  padding: 0 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.hsu-site .doc-open:hover { border-color: var(--accent); }
.hsu-site .founding-docs { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.hsu-site .docs-note { display: flex; align-items: center; gap: 0.5rem; margin: -0.75rem 0 1.5rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .docs-note .ph { font-size: 1.25rem; color: var(--teal); }
.hsu-site .photo-grid.is-docs { grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); }
.hsu-site .photo-grid.is-docs .photo { aspect-ratio: 3 / 4; background: var(--surface); border: 1px solid var(--line); }
.hsu-site .photo-grid.is-docs .photo img { object-fit: contain; }
.hsu-site .photo-grid.is-docs .caption { font-size: 0.9375rem; }
@media (max-width: 480px) {
.hsu-site .photo-grid.is-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hsu-site .lightbox.is-docs { width: min(56rem, calc(100vw - 2rem)); }
.hsu-site .lightbox.is-docs .lightbox-stage { aspect-ratio: auto; height: min(74dvh, 64rem); background: var(--surface-2); }
@media (max-width: 960px) {
.hsu-site .founding-detail { grid-template-columns: 1fr; }
.hsu-site .founding-side { position: static; }
}
@media (max-width: 760px) {
.hsu-site .stepper { grid-template-columns: 1fr; gap: 1.5rem; }
.hsu-site .stepper::before { left: 1.5rem; right: auto; top: 1.5rem; bottom: 1.5rem; width: 2px; height: auto; }
.hsu-site .stepper li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
.hsu-site .stepper .no { grid-row: span 3; }
.hsu-site .stepper b { margin-top: 0; }
.hsu-site .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsu-site .fact-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
.hsu-site .fact-grid div:not(:nth-child(3n+1)) { border-left: 0; }
.hsu-site .fact-grid div:nth-child(2n) { border-left: 1px solid var(--line); }
}
@media (max-width: 359px) {
.hsu-site .fact-grid { grid-template-columns: 1fr; }
.hsu-site .fact-grid div:nth-child(n+2) { border-top: 1px solid var(--line); }
.hsu-site .fact-grid div:nth-child(2n) { border-left: 0; }
}
@media (max-width: 480px) {
html[data-fontsize] .hsu-site .fact-grid { grid-template-columns: 1fr; }
html[data-fontsize] .hsu-site .fact-grid div:nth-child(n+2) { border-top: 1px solid var(--line); }
html[data-fontsize] .hsu-site .fact-grid div:nth-child(2n) { border-left: 0; }
}
.hsu-site .doc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hsu-site .poem-chart { max-width: 30rem; }
.hsu-site .poem-chart .report-cover { aspect-ratio: 962 / 1634; border: 1px solid var(--line); }
.hsu-site .tree-wrap { overflow-x: auto; padding-bottom: 1rem; }
.hsu-site .tree ul { position: relative; display: flex; justify-content: center; margin: 0; padding: 2rem 0 0; list-style: none; }
.hsu-site .tree > ul, .hsu-site .tree > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ul { padding-top: 0; min-width: 46rem; }
.hsu-site .tree li { position: relative; padding: 2rem 0.4rem 0; text-align: center; }
.hsu-site .tree li::before, .hsu-site .tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 2rem;
  border-top: 2px solid var(--line);
}
.hsu-site .tree li::after { right: auto; left: 50%; border-left: 2px solid var(--line); }
.hsu-site .tree li:only-child { padding-top: 0; }
.hsu-site .tree li:only-child::before, .hsu-site .tree li:only-child::after { display: none; }
.hsu-site .tree li:first-child::before, .hsu-site .tree li:last-child::after { border: 0; }
.hsu-site .tree li:last-child::before { border-right: 2px solid var(--line); }
.hsu-site .tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2rem;
  border-left: 2px solid var(--line);
}
.hsu-site .node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hsu-site .node .gen-no { font-size: 0.8125rem; color: var(--ink-2); }
.hsu-site .node .nm { font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 700; letter-spacing: 0.12em; }
.hsu-site .node-root { border: 2px solid var(--accent); }
.hsu-site .tree a.node { color: var(--ink); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.hsu-site .tree a.node:hover { border-color: var(--accent); color: var(--accent); }
.hsu-site .node-root .nm { color: var(--accent); font-size: 1.375rem; }
.hsu-site .tree-note { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .tree-hint { display: none; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 800px) {
.hsu-site .tree-hint { display: flex; }
}
.hsu-site .surname-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hsu-site .char-card {
  position: sticky;
  top: calc(var(--header-h) + 80px);
  padding: 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hsu-site .char-card .big {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 5rem + 8vw, 11rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent);
}
.hsu-site .char-card .hsu-dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 1.5rem 0 0; text-align: left; font-size: 1rem; }
.hsu-site .char-card .dt { color: var(--ink-2); }
.hsu-site .char-card .dd { margin: 0; }
.hsu-site .notable { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); gap: 1.25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.hsu-site .notable li { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .notable b { font-family: var(--font-serif); font-size: 1.1875rem; letter-spacing: 0.1em; }
.hsu-site .notable span { display: block; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .notable p { margin-top: 0.5rem; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 860px) {
.hsu-site .surname-grid { grid-template-columns: 1fr; }
.hsu-site .char-card { position: static; }
}
.hsu-site .rite-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hsu-site .data-table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hsu-site .data-table th, .hsu-site .data-table td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; }
.hsu-site .data-table thead th { font-weight: 500; font-size: 1rem; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }
.hsu-site .data-table tbody tr + tr td, .hsu-site .data-table tbody tr + tr th { border-top: 1px solid var(--line); }
.hsu-site .data-table tbody th { font-family: var(--font-serif); font-weight: 700; white-space: nowrap; }
.hsu-site .table-note { margin-top: 1rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .rites-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hsu-site .rite-table td:last-child { font-weight: 700; color: var(--accent); white-space: nowrap; }
.hsu-site .rite-table tr.is-free td:last-child { font-weight: 500; color: var(--ink-2); }
.hsu-site .rites-sub { margin: 2.25rem 0 0.5rem; font-size: 1.25rem; }
.hsu-site .rite-notes { margin: 0; padding: 0; list-style: none; counter-reset: note; }
.hsu-site .rite-notes li { counter-increment: note; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem; padding: 0.7rem 0; border-top: 1px dashed var(--line); }
.hsu-site .rite-notes li::before { content: counter(note, cjk-decimal); font-family: var(--font-serif); font-weight: 700; color: var(--accent); }
.hsu-site .rites-plaque { position: sticky; top: calc(var(--header-h) + 80px); margin: 0; }
.hsu-site .rites-plaque .report-cover { aspect-ratio: 1270 / 815; border: 1px solid var(--line); }
.hsu-site .rites-plaque figcaption { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .hehuo { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--seal); border-radius: var(--radius); }
.hsu-site .hehuo h3 { font-size: 1.375rem; letter-spacing: 0.08em; }
.hsu-site .hehuo-list { margin: 1rem 0 0; }
.hsu-site .hehuo-list > div, .hsu-site .hehuo-list > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.hsu-site .hehuo-list .dt { font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.12em; }
.hsu-site .hehuo-list .dd { margin: 0; }
.hsu-site .hehuo-list strong { color: var(--accent); }
.hsu-site .hehuo-cond { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.hsu-site .hehuo-cond span { color: var(--ink-2); }
.hsu-site .hehuo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.hsu-site .hehuo-steps li { counter-increment: step; position: relative; padding: 0.9rem 1rem 1rem 3.25rem; background: var(--bg); border-radius: var(--radius); }
.hsu-site .hehuo-steps li::before {
  content: counter(step);
  position: absolute; left: 0.9rem; top: 0.9rem;
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem;
  font-family: var(--font-serif); font-weight: 900;
  color: var(--on-seal); background: var(--seal); border-radius: var(--radius);
}
.hsu-site .hehuo-steps b { display: block; font-family: var(--font-serif); letter-spacing: 0.04em; }
.hsu-site .hehuo-steps p { margin-top: 0.25rem; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 899px) {
.hsu-site .rites-grid { grid-template-columns: minmax(0, 1fr); }
.hsu-site .rites-plaque { position: static; }
.hsu-site .hehuo-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
.hsu-site .rite-table th, .hsu-site .rite-table td { padding: 0.85rem 0.7rem; }
.hsu-site .hehuo-list > div, .hsu-site .hehuo-list > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > div { grid-template-columns: 1fr; gap: 0.4rem; }
}
.hsu-site .tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.hsu-site .tabs [role="tab"] {
  min-height: 44px;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.hsu-site .tabs [role="tab"]:hover { color: var(--ink); border-color: var(--ink); }
.hsu-site .tabs [role="tab"][aria-selected="true"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.hsu-site .report-table td, .hsu-site .report-table th { vertical-align: middle; }
.hsu-site .report-table tbody th small { display: block; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; color: var(--ink-2); }
.hsu-site .doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.85rem;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.hsu-site .doc-link:hover { border-color: var(--accent); color: var(--accent); }
.hsu-site .doc-link[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.hsu-site .doc-pending { font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; }
.hsu-site .folder-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seal);
  border-radius: var(--radius);
}
.hsu-site .folder-card > .ph, .hsu-site .folder-card > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > .ph { font-size: 3rem; color: var(--accent); line-height: 1; }
.hsu-site .folder-card h2 { font-size: 1.5rem; }
.hsu-site .folder-card p { margin: 0.5rem 0 1.5rem; max-width: 36em; color: var(--ink-2); }
@media (max-width: 480px) {
.hsu-site .folder-card { grid-template-columns: 1fr; gap: 0.75rem; }
.hsu-site .folder-card .btn { width: 100%; white-space: normal; }
}
.hsu-site .empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.hsu-site .empty-state .ph { font-size: 2.25rem; }
.hsu-site .house {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.hsu-site .house figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.hsu-site .house figure img { width: 100%; height: 100%; object-fit: cover; }
.hsu-site .house .when { display: block; margin-top: 0.4rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .house .prose { margin-top: 1.25rem; }
@media (max-width: 860px) {
.hsu-site .house { grid-template-columns: 1fr; }
}
.hsu-site .share-bar { margin: 0 0 3.5rem; }
.hsu-site .share-bar figcaption { margin-bottom: 0.75rem; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.hsu-site .share-bar .bar { display: flex; gap: 2px; height: 2.5rem; }
.hsu-site .share-bar .seg { min-width: 4px; border-radius: 4px; }
.hsu-site .c1 { background: var(--chart-1); }
.hsu-site .c2 { background: var(--chart-2); }
.hsu-site .c3 { background: var(--chart-3); }
.hsu-site .share-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.hsu-site .share-legend li { display: grid; grid-template-columns: auto auto; column-gap: 0.6rem; align-items: center; }
.hsu-site .share-legend .sw { width: 0.9rem; height: 0.9rem; border-radius: 3px; grid-row: span 2; align-self: start; margin-top: 0.4rem; }
.hsu-site .share-legend .nm { font-size: 1rem; color: var(--ink-2); }
.hsu-site .share-legend b { grid-column: 2; font-family: var(--font-serif); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.hsu-site .share-legend .pct { grid-column: 2; font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hsu-site .land-card { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 4rem; }
.hsu-site .report-meta.land-meta div { grid-template-columns: 5.5em minmax(0, 1fr); }
.hsu-site .report-meta.land-meta { gap: 0.45rem; font-size: 1.0625rem; }
.hsu-site .land-card .report-cover { background: var(--surface); border: 1px solid var(--line); }
.hsu-site .land-card .report-cover img { object-fit: contain; }
.hsu-site .finance-note { margin-top: 0.9rem; font-size: 1rem; color: var(--ink-2); max-width: 46em; }
.hsu-site .doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)); gap: 1.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.hsu-site .doc-cards li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; height: 100%; }
.hsu-site .doc-cards li .doc-link { margin-top: auto; }
.hsu-site .doc-thumb { display: block; width: 100%; aspect-ratio: 5 / 7; overflow: hidden; padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: zoom-in; transition: border-color 0.2s; }
.hsu-site .doc-thumb:hover { border-color: var(--accent); }
.hsu-site .doc-thumb img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.hsu-site .doc-cards b { margin-top: 0.4rem; font-family: var(--font-serif); font-size: 1.125rem; }
.hsu-site .doc-cards .meta { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .doc-cards .meta { margin-bottom: 0.4rem; }
@media (max-width: 760px) {
.hsu-site .land-card { grid-template-columns: 1fr; }
.hsu-site .land-card .report-cover { max-width: 16rem; }
}
@media (max-width: 480px) {
.hsu-site .doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hsu-site .honor-feature {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 4rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--seal);
  border-radius: var(--radius);
}
.hsu-site .honor-photo { position: sticky; top: calc(var(--header-h) + 80px); margin: 0; }
.hsu-site .honor-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.hsu-site .honor-lineage { font-size: 1rem; font-weight: 500; color: var(--accent); }
.hsu-site .honor-feature h3 { margin-top: 0.2rem; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: 0.16em; }
.hsu-site .role-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.hsu-site .role-chips li { padding: 0.25rem 0.8rem; font-size: 0.9375rem; color: var(--teal); background: var(--teal-tint); border-radius: var(--radius); }
.hsu-site .honor-lead { margin-top: 1.25rem; font-size: 1.125rem; max-width: 36em; }
.hsu-site .honor-timeline { margin-top: 2rem; }
.hsu-site .honor-timeline > ol > li, .hsu-site .honor-timeline > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li, .hsu-site .honor-timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > li, .hsu-site .honor-timeline > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > ol > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li { padding-bottom: 1.5rem; }
.hsu-site .honor-family { margin-top: 1.75rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .honor-source { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hsu-site .source-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 7rem)); gap: 0.75rem; margin: 0.25rem 0 1rem; padding: 0; list-style: none; }
.hsu-site .source-thumbs li { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.875rem; color: var(--ink-2); text-align: center; }
.hsu-site .honor-facts { margin: 1.5rem 0 0; }
.hsu-site .report-meta.honor-facts div { grid-template-columns: 3.5em minmax(0, 1fr); }
.hsu-site .honor-source b { font-family: var(--font-serif); font-size: 1.0625rem; }
.hsu-site .honor-source p { margin: 0.3rem 0 0.6rem; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .more-honors { margin-bottom: 1.25rem; }
@media (max-width: 760px) {
.hsu-site .honor-feature { grid-template-columns: 1fr; }
.hsu-site .honor-photo { position: static; max-width: 14rem; }
}
.hsu-site .donor-terms { margin: -2.5rem 0 3rem; }
.hsu-site .donor-land {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.25rem;
  margin: -3.5rem 0 0;
  padding: 1.1rem 1.5rem 1.25rem;
  border-bottom: 3px double var(--ink);
}
.hsu-site .donor-land .k { font-size: 1rem; color: var(--ink-2); }
.hsu-site .donor-land .v { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.hsu-site .donor-land .note { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .donor-land + .donor-terms { margin-top: 1rem; }
.hsu-site .stack-bar { margin: 0 0 4rem; }
.hsu-site .stack-bar figcaption { margin-bottom: 0.5rem; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.hsu-site .stack-legend { margin: 0 0 1rem; gap: 0.5rem 1.5rem; }
.hsu-site .stack-legend li { display: flex; align-items: center; gap: 0.5rem; }
.hsu-site .stack-legend .sw { margin-top: 0; grid-row: auto; }
.hsu-site .stack-bar ol { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; max-width: 56rem; }
.hsu-site .stack-bar ol li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 7rem; gap: 0.9rem; align-items: center; }
.hsu-site .stack-bar ol .nm { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600; }
.hsu-site .stack-bar .track { display: flex; gap: 2px; height: 1.75rem; }
.hsu-site .stack-bar .seg { flex-grow: 0; flex-shrink: 1; min-width: 3px; }
.hsu-site .stack-bar .seg:first-child { border-radius: 0; }
.hsu-site .stack-bar .seg:last-child { border-radius: 0 4px 4px 0; }
.hsu-site .stack-bar .v { font-size: 1rem; text-align: right; font-variant-numeric: tabular-nums; }
.hsu-site .donor-tabs { margin-bottom: 1rem; }
.hsu-site .donor-panel { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hsu-site .donor-panel h3 { font-size: 1.5rem; letter-spacing: 0.08em; }
.hsu-site .donor-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1rem 0 0; }
.hsu-site .donor-sum div { padding: 0.9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .donor-sum div.is-total { border: 2px solid var(--seal); }
.hsu-site .donor-sum .dt { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .donor-sum .dd { margin: 0.15rem 0 0; font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hsu-site .donor-note { margin-top: 1rem; padding: 0.9rem 1.1rem; font-size: 1rem; background: var(--teal-tint); border-radius: var(--radius); max-width: 42em; }
.hsu-site .donor-hint { margin-top: 1rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .donor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
@media (max-width: 760px) {
.hsu-site .donor-terms { margin-top: -2rem; }
.hsu-site .stack-bar ol li { grid-template-columns: 2.5rem minmax(0, 1fr) 5.75rem; gap: 0.5rem; }
.hsu-site .donor-panel { grid-template-columns: 1fr; }
.hsu-site .donor-panel .doc-thumb { max-width: 14rem; }
.hsu-site .donor-sum { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
html[data-fontsize="xl"] .hsu-site .donor-panel { grid-template-columns: 1fr; }
html[data-fontsize="xl"] .hsu-site .donor-panel .doc-thumb { max-width: 14rem; }
}
.hsu-site .lineage-chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}
.hsu-site .lineage-chain::before {
  content: "";
  position: absolute;
  left: 2rem; right: 2rem; top: 50%;
  height: 2px;
  background: var(--line);
}
.hsu-site .lineage-chain li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hsu-site .lineage-chain li.is-key { border: 2px solid var(--seal); }
.hsu-site .lineage-chain .gen { font-size: 0.9375rem; color: var(--accent); font-weight: 500; }
.hsu-site .lineage-chain b { margin-top: 0.15rem; font-family: var(--font-serif); font-size: 1.375rem; letter-spacing: 0.08em; }
.hsu-site .lineage-chain small { margin-top: 0.15rem; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .lineage-chain.is-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hsu-site .gen-table { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hsu-site .gen-steps { display: grid; gap: 0.75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.hsu-site .gen-steps li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .gen-steps li.is-key { border: 2px solid var(--seal); }
.hsu-site .gen-steps .gen { grid-row: span 2; font-size: 0.9375rem; font-weight: 500; color: var(--accent); }
.hsu-site .gen-steps b { font-family: var(--font-serif); font-size: 1.1875rem; letter-spacing: 0.06em; }
.hsu-site .gen-steps small { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .gen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.hsu-site .gen-grid li { padding: 0.65rem 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .gen-grid li.is-key { border: 2px solid var(--seal); }
.hsu-site .gen-grid .n { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--accent); }
.hsu-site .gen-grid b { font-family: var(--font-serif); font-size: 1.1875rem; letter-spacing: 0.08em; }
.hsu-site .gen-grid small { display: block; font-size: 0.875rem; color: var(--ink-2); }
.hsu-site .gen-grid .note { display: block; margin-top: 0.3rem; padding-top: 0.3rem; border-top: 1px dashed var(--line); font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.hsu-site .zn-table td.nm { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
.hsu-site .zn-table td:last-child { font-size: 1rem; color: var(--ink-2); min-width: 16rem; }
.hsu-site .kaiji { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 0.75rem; }
.hsu-site .kaiji-card { padding: 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--seal); border-radius: var(--radius); }
.hsu-site .kaiji-card .role { font-size: 0.9375rem; font-weight: 500; color: var(--accent); }
.hsu-site .kaiji-card b { display: block; margin: 0.15rem 0 0.5rem; font-family: var(--font-serif); font-size: 1.375rem; letter-spacing: 0.08em; }
.hsu-site .kaiji-card p { font-size: 1.0625rem; color: var(--ink-2); }
.hsu-site .kaiji-card p + p { margin-top: 0.5rem; }
@media (max-width: 760px) {
.hsu-site .kaiji { grid-template-columns: 1fr; }
}
.hsu-site .raoping-chain { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; counter-reset: rp; }
.hsu-site .raoping-chain li { position: relative; display: flex; flex-direction: column; min-width: 6.5rem; padding: 0.6rem 0.9rem 0.6rem 2.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: rp; }
.hsu-site .raoping-chain li::before { content: counter(rp); position: absolute; left: 0.6rem; top: 0.7rem; font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hsu-site .raoping-chain li.is-key { border: 2px solid var(--seal); }
.hsu-site .raoping-chain b { font-family: var(--font-serif); font-size: 1.125rem; letter-spacing: 0.06em; }
.hsu-site .raoping-chain small { font-size: 0.8125rem; color: var(--ink-2); }
.hsu-site .sons-title { margin-top: 2.5rem; }
.hsu-site .raoping-chain + .sons-title { margin-top: 0.5rem; }
.hsu-site .sons-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.6rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.hsu-site .sons-grid li > a, .hsu-site .sons-grid li > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a, .hsu-site .sons-grid li.is-out { display: flex; flex-direction: column; align-items: center; padding: 0.9rem 0.5rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hsu-site .sons-grid li > a, .hsu-site .sons-grid li > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a { color: var(--ink); text-decoration: none; border-top: 3px solid var(--seal); transition: border-color 0.2s; }
.hsu-site .sons-grid li > a:hover, .hsu-site .sons-grid li > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a:hover { border-color: var(--accent); }
.hsu-site .sons-grid li.is-out { color: var(--ink-2); border-style: dashed; }
.hsu-site .sons-grid b { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.1em; }
.hsu-site .sons-grid span { font-size: 0.875rem; color: var(--ink-2); }
.hsu-site .sons-grid a span { color: var(--accent); font-weight: 500; }
@media (max-width: 400px) {
.hsu-site .sons-grid li > a, .hsu-site .sons-grid li > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > a, .hsu-site .sons-grid li.is-out { padding-inline: 0.2rem; }
}
.hsu-site .poem-note { margin: 0.75rem 0 2.5rem; }
.hsu-site .photos-head-sm { margin: 1.75rem 0 0.75rem; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
@media (max-width: 860px) {
.hsu-site .gen-table { grid-template-columns: 1fr; }
.hsu-site .gen-table .report-cover { max-width: 16rem; }
.hsu-site .sons-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
.hsu-site .gen-steps li { grid-template-columns: 1fr; }
.hsu-site .gen-steps .gen { grid-row: auto; }
}
.hsu-site .report-cover.stele-cover.is-page { background: var(--surface); border: 1px solid var(--line); }
.hsu-site .report-cover.stele-cover.is-page img { object-fit: contain; }
.hsu-site .niansan-link { margin-top: 1.75rem; }
.hsu-site .laitai-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hsu-site .stele { position: sticky; top: calc(var(--header-h) + 80px); }
.hsu-site .report-cover.stele-cover { aspect-ratio: 3 / 4; }
.hsu-site .stele-caption { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .stele-pair { position: static; display: grid; gap: 2rem; }
.hsu-site .photos-head { margin-top: 3.5rem; }
@media (max-width: 860px) {
.hsu-site .lineage-chain, .hsu-site .lineage-chain.is-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hsu-site .lineage-chain::before { display: none; }
.hsu-site .laitai-grid { grid-template-columns: 1fr; }
.hsu-site .stele { position: static; max-width: 26rem; }
}
.hsu-site .report-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.hsu-site .report-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.hsu-site .report-cover:hover img { transform: scale(1.03); }
.hsu-site .report-title { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 600; }
.hsu-site .report-meta { display: grid; gap: 0.2rem; margin: 0.75rem 0 0; font-size: 1rem; }
.hsu-site .report-meta div { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; }
.hsu-site .report-meta .dt { color: var(--ink-2); }
.hsu-site .report-meta .dd { margin: 0; }
.hsu-site .report-photos-head { margin: 2.5rem 0 1rem; font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.hsu-site .photo-grid.is-thumbs { grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: 0.6rem; }
.hsu-site .credit { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .report-full { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 4rem); }
.hsu-site .report-full > * + *, .hsu-site .report-full > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > * + * { margin-top: 1rem; }
.hsu-site .report-full .photo-grid.is-thumbs { grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)); }
.hsu-site .report-full.is-collapsed > :nth-child(n+3), .hsu-site .report-full.is-collapsed > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > :nth-child(n+3) { display: none; }
.hsu-site .report-more { margin-top: 1.5rem; }
.hsu-site .report-notes { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .report-source { max-width: 38em; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
.hsu-site .report-full .photo-grid.is-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
}
.hsu-site .report-full .photo-grid:has(> li:only-child) { grid-template-columns: minmax(0, 28rem); }
.hsu-site .report-full .photo-grid:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) {
.hsu-site .photo-grid.is-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
}
.hsu-site .photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hsu-site .photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 0;
  border-radius: var(--radius);
}
.hsu-site button.photo { cursor: zoom-in; }
.hsu-site .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.hsu-site .photo.is-video { background: #000; }
.hsu-site .photo iframe, .hsu-site .photo video { display: block; width: 100%; height: 100%; border: 0; }
.hsu-site .video-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; background: #000; border: 0; cursor: pointer; }
.hsu-site .video-facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hsu-site .video-play {
  position: absolute;
  inset: 0;
  width: 4.25rem;
  height: 3rem;
  margin: auto;
  background: rgb(204 0 0 / 0.9);
  border-radius: 0.75rem;
  transition: background-color 0.2s;
}
.hsu-site .video-play::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent #fff;
  transform: translateX(0.12rem);
}
.hsu-site .video-facade:hover .video-play, .hsu-site .video-facade:focus-visible .video-play { background: #e00; }
.hsu-site .video-live { position: relative; width: 100%; height: 100%; }
.hsu-site .video-live iframe { display: block; width: 100%; height: 100%; border: 0; }
.hsu-site .video-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: rgb(0 0 0 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: var(--radius);
  cursor: pointer;
}
.hsu-site .video-close:hover, .hsu-site .video-close:focus-visible { background: rgb(0 0 0 / 0.9); }
.hsu-site button.photo:hover img { transform: scale(1.03); }
.hsu-site .caption { margin-top: 0.6rem; font-size: 1rem; line-height: 1.6; }
.hsu-site .caption.is-placeholder { color: var(--ink-2); }
.hsu-site .photo-note { margin-top: 1.25rem; font-size: 1rem; color: var(--ink-2); }
.hsu-site .more-photos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1.75rem; }
.hsu-site .more-photos span { font-size: 0.9375rem; color: var(--ink-2); }
.hsu-site .callout .more-photos { margin-top: 0; }
.hsu-site .video-open { margin-top: 0.35rem; font-size: 0.9375rem; }
@media (max-width: 480px) {
.hsu-site .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
.hsu-site .photo-grid:has(> li > .photo.is-video) { grid-auto-flow: row dense; }
.hsu-site .photo-grid > li:has(> .photo.is-video), .hsu-site .photo-grid > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > li:has(> .photo.is-video) { grid-column: 1 / -1; }
}
.hsu-site .panel-head { margin-bottom: 1.5rem; max-width: 38em; }
.hsu-site .panel-head p { margin-top: 0.5rem; color: var(--ink-2); }
.hsu-site .panel-head h4 { font-size: 1.375rem; }
.hsu-site .lineage-tabs { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.hsu-site .lineage-tabs > h3, .hsu-site .lineage-tabs > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > h3 { margin-bottom: 1.25rem; }
.hsu-site .lightbox {
  width: min(64rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hsu-site .lightbox::backdrop { background: rgb(15 18 19 / 0.72); }
.hsu-site .lightbox[open] { animation: lb-in 0.28s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: translateY(12px); } }
.hsu-site .lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.hsu-site .lightbox-head h2 { font-size: 1.25rem; }
.hsu-site .lightbox-stage { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.hsu-site .lightbox-stage > *, .hsu-site .lightbox-stage > :where(.elementor-widget, .hsu-run, .elementor-shortcode) > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hsu-site .lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; }
.hsu-site .lightbox-foot .count { font-size: 1rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hsu-site .lightbox-foot .ctrl { display: flex; gap: 0.5rem; }
.hsu-site .callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  background: var(--accent-tint);
  border-radius: var(--radius);
}
.hsu-site .callout p { max-width: 36em; }
.hsu-site .honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.hsu-site .honor { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hsu-site .honor .portrait { aspect-ratio: 4 / 3; }
.hsu-site .honor .body { padding: 1.25rem 1.25rem 1.5rem; }
.hsu-site .honor h3 { margin-top: 0.6rem; font-size: 1.3125rem; letter-spacing: 0.12em; }
.hsu-site .honor p { margin-top: 0.5rem; font-size: 1.0625rem; color: var(--ink-2); }
.hsu-site .filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
.hsu-site .field { display: flex; flex-direction: column; gap: 0.4rem; }
.hsu-site .field label { font-size: 1rem; font-weight: 500; }
.hsu-site .field input, .hsu-site .field select {
  min-height: 48px;
  min-width: 15rem;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink-2) 70%, transparent);
  border-radius: var(--radius);
}
.hsu-site .field input::placeholder { color: var(--ink-2); opacity: 1; }
.hsu-site .field input:focus-visible, .hsu-site .field select:focus-visible { outline-offset: 1px; }
.hsu-site .result-count { font-size: 1rem; color: var(--ink-2); margin-bottom: 1rem; }
.hsu-site .biz-table thead th { width: 1%; }
.hsu-site .biz-table thead th:nth-child(4) { width: auto; }
.hsu-site .biz-table td { white-space: nowrap; }
.hsu-site .biz-table td:nth-child(4) { white-space: normal; }
.hsu-site .biz-note { display: block; margin-top: 0.2rem; font-size: 0.9375rem; color: var(--ink-2); }
@media (max-width: 720px) {
.hsu-site .biz-table thead { display: none; }
.hsu-site .biz-table, .hsu-site .biz-table tbody, .hsu-site .biz-table tr, .hsu-site .biz-table td, .hsu-site .biz-table th { display: block; width: 100%; }
.hsu-site .biz-table tr { padding: 1rem 1.25rem; }
.hsu-site .biz-table tbody tr + tr { border-top: 1px solid var(--line); }
.hsu-site .biz-table th, .hsu-site .biz-table td { padding: 0.15rem 0; border: 0 !important; }
.hsu-site .biz-table td[data-label]::before { content: attr(data-label) "："; color: var(--ink-2); }
}
@media (max-width: 480px) {
.hsu-site .field input, .hsu-site .field select { min-width: 0; width: 100%; }
.hsu-site .field { flex: 1 1 100%; }
}
.hsu-site .site-footer { margin-top: 0; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; color: var(--footer-ink); background: var(--footer-bg); }
.hsu-site .site-footer a { color: var(--footer-ink); text-decoration: none; }
.hsu-site .site-footer a:hover { color: var(--footer-accent); text-decoration: underline; }
.hsu-site .footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.hsu-site .footer-brand { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }
.hsu-site .footer-brand .brand-plaque { height: 64px; box-shadow: 0 0 0 1px rgb(231 228 222 / 0.2); }
.hsu-site .footer-brand .name { font-family: var(--font-serif); font-size: 1.625rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; }
.hsu-site .footer-brand .name small { display: block; font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.12em; color: var(--footer-ink-2); }
.hsu-site .footer-contact { margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: 1rem; color: var(--footer-ink-2); }
.hsu-site .footer-contact li { display: flex; gap: 0.6rem; padding: 0.3rem 0; }
.hsu-site .footer-contact .ph { margin-top: 0.3rem; color: var(--footer-accent); }
.hsu-site .footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.hsu-site .footer-nav h2 { font-size: 1.0625rem; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.hsu-site .footer-nav h2 a { color: var(--footer-ink); }
.hsu-site .footer-nav ul { margin: 0; padding: 0; list-style: none; }
.hsu-site .footer-nav li a { display: inline-block; padding: 0.2rem 0; font-size: 0.9375rem; color: var(--footer-ink-2); }
.hsu-site .footer-bottom p { margin: 0; }
.hsu-site .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(231 228 222 / 0.15); font-size: 0.875rem; color: var(--footer-ink-2); }
.hsu-site .site-footer :focus-visible { outline-color: var(--footer-accent); }
@media (max-width: 860px) {
.hsu-site .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
.hsu-site .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== WordPress 版：接在原站樣式「之後」 ===== */

/* ---------- Elementor 元件外框 ----------
   文字、圖片、短代碼元件外面各有一層 div；前台以 display: contents 讓這層不參與排版，
   裡面的原站標記直接排進格線與彈性版面，和原站一模一樣。編輯器裡保留外框，方便點選。 */
.hsu-front .elementor-widget.hsu-t,
.hsu-front .elementor-widget.hsu-img,
.hsu-front .elementor-widget.hsu-sc,
.hsu-front .elementor-widget.hsu-sc > .elementor-shortcode,
.hsu-front .elementor-widget.hsu-html { display: contents; }
.hsu-site .hsu-run { display: contents; }
.hsu-site .hsu-t { color: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; }
.hsu-site [hidden] { display: none !important; }

/* 轉換時改寫的標記（見 convert.mjs） */
.hsu-site .hsu-dl .dt,
.hsu-site .hsu-dl .dd { display: block; }
.hsu-site .hsu-empty { font-size: 0; line-height: 0; }

/* 圖片元件：連結與圖片撐滿外框（封面、文件縮圖的外框有固定比例） */
.hsu-site .hsu-img { text-align: inherit; }
.hsu-front .hsu-img > a { display: block; height: 100%; }
.hsu-site .hsu-img img { display: block; }

/* ---------- 相簿：Elementor 基本相簿套用原站照片牆的樣式 ---------- */
.hsu-site .hsu-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0;
}
.hsu-site .hsu-gallery.is-docs .gallery { grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); }
.hsu-site .hsu-gallery.is-thumbs .gallery { grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: 0.6rem; }
/* 報導全文裡穿插的照片比照片牆的縮圖大一些（同原站 .report-full .photo-grid.is-thumbs） */
.hsu-site .report-full .hsu-gallery.is-thumbs .gallery { grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr)); }
@media (max-width: 480px) { .hsu-site .report-full .hsu-gallery.is-thumbs .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; } }
/* 只有一張的照片放大，兩張的各占一半（同原站） */
.hsu-site .report-full .hsu-gallery .gallery:has(> .gallery-item:only-of-type) { grid-template-columns: minmax(0, 28rem); }
.hsu-site .report-full .hsu-gallery .gallery:has(> .gallery-item:nth-of-type(2):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) {
  .hsu-site .hsu-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
  .hsu-site .hsu-gallery.is-docs .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsu-site .hsu-gallery.is-thumbs .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
}
.hsu-site .hsu-gallery .gallery-item { display: block; width: auto; max-width: none !important; margin: 0; text-align: left; }
.hsu-site .hsu-gallery .gallery-icon {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius);
}
.hsu-site .hsu-gallery .gallery-icon a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.hsu-site .hsu-gallery .gallery-icon img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.hsu-site .hsu-gallery .gallery-icon a:hover img { transform: scale(1.03); }
.hsu-site .hsu-gallery.is-docs .gallery-icon { aspect-ratio: 3 / 4; background: var(--surface); border: 1px solid var(--line); }
.hsu-site .hsu-gallery.is-docs .gallery-icon img { object-fit: contain; }
.hsu-site .hsu-gallery .gallery-caption { margin: 0.6rem 0 0; font-size: 1rem; line-height: 1.6; text-align: left; }
.hsu-site .hsu-gallery.is-docs .gallery-caption { font-size: 0.9375rem; }
.hsu-site .hsu-gallery.is-thumbs .gallery-caption { display: none; }
.hsu-site .hsu-gallery .gallery br { display: none; }
/* 還沒有照片的相簿：示意格（加入照片後由 hsu-site.js 隱藏） */
.hsu-site .hsu-gallery-empty { display: contents; }
/* 編輯器裡還沒有照片的相簿：顯示成虛線框與提示，點一下就能在左側面板新增圖片；
   示意格只是文字，點了不能上傳，編輯器裡不顯示 */
.elementor-editor-active .hsu-gallery.elementor-widget-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 10rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  color: var(--ink-2);
  text-align: center;
  transition: none;
}
.elementor-editor-active .hsu-gallery.elementor-widget-empty::after { content: "點這裡加入照片：再按左側面板相簿的「＋」，上傳或選擇照片"; font-size: 0.9375rem; }
.elementor-editor-active .hsu-gallery-empty > .photo-grid { display: none; }

/* 照片、影片與空白框排在同一個格線（photos.js 設 fill 的相簿，例如古厝照片集）：
   前台拆掉相簿與空白框的外層，每張照片、每部影片、每個空白框都是格線裡的一格；
   編輯器裡相簿和空白框各佔一整列，方便點選。空白框的數量由 hsu-site.js 依實際格數調整 */
.hsu-front .hsu-fill > .hsu-gallery,
.hsu-front .hsu-fill > .hsu-gallery > .elementor-widget-container,
.hsu-front .hsu-fill .elementor-image-gallery,
.hsu-front .hsu-fill .gallery,
.hsu-front .hsu-fill .hsu-blanks { display: contents; }
.hsu-front .hsu-vcell:not(:has(.elementor-wrapper)) { display: none; }
/* 手機上影片獨占一列（同原站）：播放器太小時，影片標題蓋住大半個畫面，點到標題會想開 YouTube 而沒反應 */
@media (max-width: 480px) {
  .hsu-front .hsu-fill:has(.hsu-vcell) { grid-auto-flow: row dense; }
  .hsu-front .hsu-vcell { grid-column: 1 / -1; }
}
.elementor-editor-active .hsu-fill > .hsu-gallery,
.elementor-editor-active .hsu-fill > .hsu-t { grid-column: 1 / -1; }

/* ---------- 最新動態式的格子：首頁最新動態（照片 15、影片 5）、各房點滴與花絮與公益的每個分頁（照片 25、影片 5） ----------
   還沒換照片（Elementor 佔位圖）或還沒貼影片連結的格子，網站上不顯示：伺服器端就不輸出（class-hsu-frontend.php），
   這裡和 hsu-site.js 是後備；全部都空時顯示「整理中」（由 hsu-site.js 判斷） */
.hsu-front .latest-card:has(img[src*="/images/placeholder.png"]),
.hsu-front .latest-card:not(.is-video):not(:has(img)),
.hsu-front .latest-card.is-video:not(:has(.elementor-wrapper)) { display: none; }
/* 影片元件撐滿 4:3 的外框（最新動態、照片牆裡的影片） */
.hsu-site :is(.latest-media, .photo) > .hsu-video,
.hsu-site :is(.latest-media, .photo) > .hsu-video > .elementor-widget-container { height: 100%; }
.hsu-site :is(.latest-media, .photo) .elementor-wrapper { width: 100%; height: 100%; aspect-ratio: auto; }
.hsu-site :is(.latest-media, .photo) .elementor-wrapper :is(iframe, video) { width: 100%; height: 100%; }
/* 自己上傳的影片檔完整顯示，不裁切（Elementor 預設 cover，直式手機影片會被切掉大半；同原站） */
.hsu-site :is(.latest-media, .photo) .e-hosted-video .elementor-video { object-fit: contain; }
.elementor-editor-active .latest-card { padding: 0.5rem; border: 1px dashed var(--line); }
/* 編輯器裡各房點滴、花絮與公益每個分頁的格子上方，說明怎麼換照片、貼影片 */
.elementor-editor-active .hsu-feed::before {
  content: "前 25 格放照片：點灰色佔位圖，在左側面板換成自己的照片，再改下方說明。後 5 格放影片：點黑框，在左側面板貼上 YouTube 網址。沒換的格子網站上不會顯示。";
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
}
.elementor-editor-active .hsu-latest-empty { display: none; }

/* ---------- 分頁籤：面板第一行是分頁名稱，前台由 hsu-site.js 做成分頁按鈕 ---------- */
.hsu-front .hsu-tab-label { display: none; }

/* ---------- 輪播：每張的說明文字顯示在控制列 ---------- */
.hsu-front .hsu-slide-caption { display: none; }

/* ---------- 頁首頁尾（Ultimate Addons for Elementor 的範本） ---------- */
/* 範本外層的 #masthead 才是 body 的子元素，固定在頂端要設在這一層 */
.hsu-site #masthead { position: sticky; top: 0; z-index: 50; }
.hsu-site #masthead .site-header { position: relative; }
.hsu-site.admin-bar #masthead { top: 32px; }
.hsu-site.admin-bar .drawer { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .hsu-site.admin-bar #masthead { top: 46px; }
  .hsu-site.admin-bar .drawer { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
  /* 手機上 WordPress 管理工具列會跟著捲走 */
  .hsu-site.admin-bar #masthead { top: 0; }
}
.hsu-site .hsu-brand-wrap { display: contents; }
.hsu-site .footer-brand .name { margin: 0; }

/* ---------- Elementor 編輯器裡的預覽 ---------- */
/* 分頁面板全部展開，第一行標示分頁名稱 */
.elementor-editor-active .hsu-tab-panel { margin-bottom: 1.5rem; padding: 1rem; border: 1px dashed var(--line); }
.elementor-editor-active .hsu-tab-label { margin-bottom: 0.75rem; font-weight: 700; color: var(--accent); }
.elementor-editor-active .hsu-tab-label::before { content: "分頁名稱："; color: var(--ink-2); font-weight: 400; }
/* 輪播的每一張依序排開，方便點選換圖 */
.elementor-editor-active .hsu-slideshow .banner-stage { display: block; aspect-ratio: auto; }
.elementor-editor-active .hsu-slideshow .slides { position: relative; inset: auto; }
.elementor-editor-active .hsu-slideshow .slide { position: relative; opacity: 1; visibility: visible; }
.elementor-editor-active .hsu-slideshow .slide img { aspect-ratio: 3 / 2; object-fit: cover; }
.elementor-editor-active .hsu-slide-caption { padding: 0.5rem 0.75rem; font-size: 0.9375rem; background: var(--surface); }
.elementor-editor-active .hsu-slide-caption::before { content: "說明文字："; color: var(--ink-2); }
.elementor-editor-active .hsu-slideshow .banner-copy { position: relative; }

/* 首頁右欄：訊息公告在文字元件裡，元件也要往下撐，公告框才能和左邊的橫幅一樣高（同原站 .home-notice） */
.hsu-site .home-news > .hsu-t:has(> .home-notice) { display: flex; flex: 1; flex-direction: column; }

/* 首頁右欄已拿掉「祖祠年節祭祀時間」標題與「請看祖祠年節祭祀時間」連結；用舊版建立、還沒重建首頁的網站也一併隱藏，
   不必為此重建首頁（重建會蓋掉在 Elementor 改過的公告與最新動態） */
.hsu-site .home-rites > .hsu-t:has(> h2),
.hsu-site .home-rites > .hsu-t:has(> .more) { display: none; }
