/* =====================================================================
   XinHai Kindergarten ??2026 Full Redesign
   Fresh, warm, playful kindergarten visual language.
   Fonts: Comfortaa (headings) + M PLUS Rounded 1c (body)
   Palette: macaron pink / blue / soft tones
   ===================================================================== */

:root {
  --xh-primary: #ffb8b8;
  --xh-primary-soft: #fff0f0;
  --xh-primary-deep: #d47a7a;
  --xh-secondary: #54b8e5;
  --xh-secondary-light: #a4d9f7;
  --xh-accent: #c49cde;
  --xh-accent-light: #e8d9f7;
  --xh-warm: #ffb74d;
  --xh-warm-light: #ffe8c0;
  --xh-green: #7bc86f;
  --xh-green-light: #e8f6e4;
  --xh-pink: #f5a8d8;
  --xh-pink-light: #fde8f5;
  --xh-yellow: #ffd366;
  --xh-yellow-light: #fff3d9;
  --xh-bg: #fffaf6;
  --xh-surface: #ffffff;
  --xh-surface-soft: #fff8f4;
  --xh-text: #3e2723;
  --xh-muted: #8d6e63;
  --xh-border: #f3dad1;
  --xh-shadow: 0 8px 28px rgba(255, 184, 184, 0.12);
  --xh-shadow-soft: 0 4px 14px rgba(255, 184, 184, 0.08);
  --xh-shadow-playful: 0 12px 32px rgba(255, 184, 184, 0.18);
  --xh-radius: 1.4rem;
  --xh-radius-lg: 2rem;
  --xh-radius-sm: 0.85rem;
  --xh-header-bg: linear-gradient(135deg, #fff8f4 0%, #fffcf8 50%, #f0f8ff 100%);
  --xh-header-border: #f2dcdc;
  --xh-header-shadow: 0 4px 20px rgba(255, 184, 184, 0.08);
  --xh-header-glow: rgba(255, 184, 184, 0.20);
  --xh-header-title: var(--xh-primary-deep);
  --xh-header-subtitle: #b07060;
  --xh-header-link: var(--xh-primary-deep);
  --xh-header-link-hover-bg: var(--xh-primary-soft);
  --xh-header-link-hover-color: var(--xh-primary-deep);
  --xh-header-nav-panel: rgba(255, 255, 255, 0.62);
  --xh-header-nav-border: rgba(255, 255, 255, 0.46);
  --xh-header-ornament-filter: none;
  --xh-footer-bg: linear-gradient(180deg, #fef9f5 0%, #fdf6f0 100%);
  --xh-footer-border: #f0e6db;
  --xh-footer-shadow: 0 -8px 20px rgba(255, 184, 184, 0.06);
  --xh-footer-text: #6d554c;
  --xh-footer-muted: #9d7a6d;
  --xh-footer-title: #7a4a3d;
  --xh-footer-link: var(--xh-primary-deep);
  --xh-footer-link-hover: #bf6e6e;
  --xh-footer-badge-bg: rgba(255, 184, 184, 0.08);
  --xh-footer-badge-border: #f2dcdc;
  --xh-footer-badge-text: #b07060;
  --xh-footer-ornament-left-image: url('/img/deco/flower.svg');
  --xh-footer-ornament-right-image: url('/img/deco/cloud.svg');
  --xh-footer-ornament-left-opacity: 0.34;
  --xh-footer-ornament-right-opacity: 0.26;
  --xh-footer-ornament-filter: none;
  --xh-hero-bg:
    radial-gradient(circle at 90% 15%, rgba(84, 184, 229, 0.15) 0%, transparent 42%),
    radial-gradient(circle at 10% 85%, rgba(255, 183, 77, 0.12) 0%, transparent 38%),
    linear-gradient(145deg, #fffaf5 0%, #ffffff 65%);
  --xh-hero-border: #f2dcdc;
  --xh-hero-shadow: 0 14px 32px rgba(255, 184, 184, 0.12);
  --xh-hero-glow: rgba(255, 184, 184, 0.22);
  --xh-hero-kicker-text: var(--xh-secondary);
  --xh-hero-kicker-bg: linear-gradient(135deg, rgba(84, 184, 229, 0.1), rgba(196, 156, 222, 0.1));
  --xh-hero-image-card-bg: linear-gradient(180deg, color-mix(in srgb, var(--xh-surface) 22%, transparent) 0%, color-mix(in srgb, var(--xh-surface-soft) 12%, transparent) 100%);
  --xh-hero-image-card-border: #f2dcdc;
  --xh-hero-image-card-shadow: 0 8px 24px rgba(255, 184, 184, 0.12);
  --xh-hero-meta-bg: color-mix(in srgb, var(--xh-surface) 88%, white);
  --xh-hero-meta-border: rgba(255, 184, 184, 0.28);
  --xh-hero-meta-shadow: 0 10px 22px rgba(255, 184, 184, 0.1);
  --xh-hero-ornament-left-image: url('/img/deco/star.svg');
  --xh-hero-ornament-right-image: url('/img/deco/cloud.svg');
  --xh-hero-ornament-left-opacity: 0.42;
  --xh-hero-ornament-right-opacity: 0.28;
  --xh-hero-ornament-filter: none;
  --xh-page-hero-bg:
    radial-gradient(circle at 86% 10%, rgba(255, 183, 77, 0.15) 0%, transparent 36%),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  --xh-page-hero-border: #f2dcdc;
  --xh-page-hero-shadow: 0 6px 18px rgba(255, 184, 184, 0.08);
  --xh-page-hero-title: var(--xh-primary-deep);
  --xh-page-hero-lead: var(--xh-muted);
  --xh-page-hero-ornament-left-image: url('/img/deco/flower.svg');
  --xh-page-hero-ornament-right-image: url('/img/deco/cloud.svg');
  --xh-page-hero-ornament-left-opacity: 0.26;
  --xh-page-hero-ornament-right-opacity: 0.24;
  --xh-page-hero-ornament-filter: none;
  --xh-glass-backdrop: blur(18px) saturate(1.08);
  --xh-header-glass-bg:
    linear-gradient(135deg, rgba(255, 248, 244, 0.82) 0%, rgba(255, 252, 248, 0.76) 50%, rgba(240, 248, 255, 0.72) 100%);
  --xh-header-sheen:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.10) 100%);
  --xh-brand-panel-bg: rgba(255, 255, 255, 0.34);
  --xh-brand-panel-border: rgba(255, 255, 255, 0.4);
  --xh-brand-panel-shadow: 0 10px 24px rgba(255, 255, 255, 0.16);
  --xh-shell-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 248, 244, 0.62) 100%);
  --xh-shell-border: color-mix(in srgb, var(--xh-border) 72%, rgba(255, 255, 255, 0.34));
  --xh-shell-shadow: 0 18px 44px color-mix(in srgb, var(--xh-primary) 16%, transparent);
  --xh-shell-highlight:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 100%);
  --xh-footer-glass-bg:
    linear-gradient(180deg, rgba(254, 249, 245, 0.82) 0%, rgba(253, 246, 240, 0.72) 100%);
  --xh-footer-top-line: rgba(255, 255, 255, 0.42);
  --xh-scene-opacity: 0.3;
  --xh-scene-filter: none;
  --xh-scene-overlay:
    radial-gradient(circle at 20% 18%, rgba(255, 183, 77, 0.12) 0%, transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(84, 184, 229, 0.12) 0%, transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  --xh-scene-glow:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.16) 0%, transparent 48%);
  --xh-inner-card-bg: color-mix(in srgb, var(--xh-surface) 24%, transparent);
  --xh-inner-card-alt-bg: color-mix(in srgb, var(--xh-surface-soft) 18%, transparent);
  --xh-inner-card-border: var(--xh-border);
  --xh-inner-card-shadow: 0 10px 26px color-mix(in srgb, var(--xh-primary) 12%, transparent);
  --xh-inner-card-hover-border: var(--xh-primary);
  --xh-inner-card-hover-shadow: var(--xh-shadow-playful);
  --xh-home-section-bg: linear-gradient(180deg, color-mix(in srgb, var(--xh-surface) 22%, transparent) 0%, color-mix(in srgb, var(--xh-surface-soft) 12%, transparent) 100%);
  --xh-home-section-border: color-mix(in srgb, var(--xh-border) 78%, rgba(255, 255, 255, 0.24));
  --xh-home-section-shadow: 0 16px 34px color-mix(in srgb, var(--xh-primary) 12%, transparent);
  --xh-home-section-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.04) 100%);
  --xh-home-card-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-surface) 16%, transparent) 0%, color-mix(in srgb, var(--xh-surface-soft) 8%, transparent) 100%);
  --xh-home-card-variant-2-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-secondary-light) 14%, transparent) 0%, color-mix(in srgb, var(--xh-surface) 10%, transparent) 100%);
  --xh-home-card-variant-3-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-accent-light) 14%, transparent) 0%, color-mix(in srgb, var(--xh-surface) 10%, transparent) 100%);
  --xh-home-card-variant-4-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-warm-light) 14%, transparent) 0%, color-mix(in srgb, var(--xh-surface) 10%, transparent) 100%);
  --xh-home-card-glow: radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--xh-primary) 10%, transparent) 0%, transparent 62%);
  --xh-home-card-border: var(--xh-inner-card-border);
  --xh-home-card-shadow: var(--xh-inner-card-shadow);
  --xh-home-card-hover-shadow: var(--xh-inner-card-hover-shadow);
  --xh-page-panel-bg: linear-gradient(180deg, color-mix(in srgb, var(--xh-surface) 18%, transparent) 0%, color-mix(in srgb, var(--xh-surface-soft) 10%, transparent) 100%);
  --xh-page-panel-border: var(--xh-border);
  --xh-page-panel-shadow: var(--xh-shadow-soft);
  --xh-page-accordion-button-bg: linear-gradient(135deg, var(--xh-surface) 0%, var(--xh-surface-soft) 100%);
  --xh-page-accordion-button-active-bg: linear-gradient(135deg, var(--xh-primary-soft) 0%, var(--xh-surface-soft) 100%);
  --xh-page-accordion-button-hover-bg: linear-gradient(135deg, var(--xh-primary-soft) 0%, var(--xh-surface) 100%);
  --xh-page-list-item-hover-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-primary) 10%, transparent), color-mix(in srgb, var(--xh-primary) 3%, transparent));
  --xh-menu-filter-bg: linear-gradient(135deg, var(--xh-surface-soft) 0%, var(--xh-surface) 100%);
  --xh-menu-chip-bg: linear-gradient(135deg, var(--xh-surface) 0%, var(--xh-surface-soft) 100%);
  --xh-menu-chip-border: var(--xh-border);
  --xh-menu-chip-label: var(--xh-muted);
  --xh-menu-chip-value: var(--xh-text);
  --xh-photo-card-hover-shadow: 0 10px 24px color-mix(in srgb, var(--xh-primary) 28%, transparent);
  --xh-gallery-card-border: var(--xh-inner-card-border);
  --xh-gallery-card-accent-border: var(--xh-secondary-light);
  --xh-gallery-card-warm-border: var(--xh-warm-light);
  --xh-gallery-card-shadow: var(--xh-inner-card-shadow);
  --xh-gallery-card-body-bg: linear-gradient(180deg, var(--xh-surface), var(--xh-surface-soft));
  --xh-lightbox-border: var(--xh-inner-card-border);
  --xh-lightbox-shadow: 0 24px 48px color-mix(in srgb, var(--xh-primary) 36%, transparent);
  --xh-announcements-pill-active-shadow: 0 6px 18px color-mix(in srgb, var(--xh-primary) 45%, transparent);
  --xh-announcements-nav-hover-bg: var(--xh-surface);
  --xh-menu-table-head-bg: var(--xh-accent-light);
  --xh-menu-table-head-border: var(--xh-accent);
  --xh-menu-table-head-text: var(--xh-text);
  --xh-menu-table-group-bg: var(--xh-secondary);
  --xh-menu-table-hover-bg: var(--xh-surface-soft);
  --xh-menu-mobile-border: color-mix(in srgb, var(--xh-inner-card-border) 90%, var(--xh-secondary-light));
  --xh-menu-mobile-shadow: 0 4px 10px color-mix(in srgb, var(--xh-secondary) 14%, transparent);
  --xh-menu-mobile-hover-border: var(--xh-secondary);
  --xh-menu-custom-html-bg: var(--xh-surface);
  --xh-menu-custom-html-border: var(--xh-inner-card-border);
  --xh-quick-fact-border: var(--xh-inner-card-border);
  --xh-quick-fact-shadow: var(--xh-inner-card-shadow);
  --xh-quick-fact-hover-shadow: var(--xh-inner-card-hover-shadow);
  --xh-quick-fact-panel-bg: color-mix(in srgb, var(--xh-surface) 78%, white);
  --xh-quick-fact-panel-border: color-mix(in srgb, var(--xh-inner-card-border) 88%, transparent);
  --xh-quick-fact-intro: color-mix(in srgb, var(--xh-text) 76%, var(--xh-muted));
  --xh-quick-fact-variant-1-bg: linear-gradient(155deg, var(--xh-primary-soft), var(--xh-surface-soft));
  --xh-quick-fact-variant-1-border: var(--xh-inner-card-border);
  --xh-quick-fact-variant-2-bg: linear-gradient(155deg, color-mix(in srgb, var(--xh-secondary-light) 68%, white), color-mix(in srgb, var(--xh-secondary-light) 40%, white));
  --xh-quick-fact-variant-2-border: var(--xh-secondary-light);
  --xh-quick-fact-variant-2-hover-border: var(--xh-secondary);
  --xh-quick-fact-variant-3-bg: linear-gradient(155deg, color-mix(in srgb, var(--xh-warm-light) 72%, white), color-mix(in srgb, var(--xh-warm-light) 46%, white));
  --xh-quick-fact-variant-3-border: var(--xh-warm-light);
  --xh-quick-fact-variant-3-hover-border: var(--xh-warm);
  --xh-quick-fact-variant-4-bg: linear-gradient(155deg, color-mix(in srgb, var(--xh-accent-light) 74%, white), color-mix(in srgb, var(--xh-accent-light) 50%, white));
  --xh-quick-fact-variant-4-border: var(--xh-accent-light);
  --xh-quick-fact-variant-4-hover-border: var(--xh-accent);
  --xh-intro-feature-bg: linear-gradient(135deg, color-mix(in srgb, var(--xh-warm-light) 36%, white) 0%, color-mix(in srgb, var(--xh-surface-soft) 82%, white) 100%);
  --xh-intro-feature-border: var(--xh-inner-card-border);
  --xh-intro-feature-shadow: 0 2px 6px color-mix(in srgb, var(--xh-secondary) 18%, transparent);
  --xh-intro-feature-hover-shadow: 0 6px 14px color-mix(in srgb, var(--xh-secondary) 24%, transparent);
  --xh-intro-feature-hover-border: var(--xh-secondary);
  --xh-about-textwrap-bg: color-mix(in srgb, var(--xh-surface) 85%, var(--xh-surface-soft));
  --xh-about-textwrap-accent: var(--xh-secondary);
  --xh-about-textwrap-image-border: var(--xh-inner-card-border);
  /* Nav active / pill shadows */
  --xh-nav-active-shadow: 0 4px 12px rgba(255, 184, 184, 0.25);
  --xh-nav-pill-shadow: 0 5px 14px rgba(255, 184, 184, 0.28);
  /* Brand logo */
  --xh-brand-logo-border: rgba(255, 184, 184, 0.18);
  --xh-brand-logo-shadow: 0 4px 14px rgba(255, 184, 184, 0.15);
  /* Floating action button */
  --xh-fab-shadow: 0 6px 20px rgba(255, 184, 184, 0.16);
  --xh-fab-hover-shadow: 0 8px 24px rgba(255, 184, 184, 0.22);
  /* Button shadows */
  --xh-shadow-btn: 0 6px 16px rgba(255, 184, 184, 0.24);
  --xh-shadow-btn-hover: 0 8px 24px rgba(255, 184, 184, 0.30);
  --xh-shadow-btn-active: 0 3px 10px rgba(255, 184, 184, 0.20);
  /* Carousel dots */
  --xh-carousel-dot-border: rgba(255, 184, 184, 0.5);
  --xh-carousel-dot-bg: rgba(255, 184, 184, 0.15);
  --xh-carousel-dot-hover-bg: rgba(255, 184, 184, 0.4);
  --xh-carousel-dot-glow: 0 0 0 2px rgba(255, 184, 184, 0.18);
  /* Hero carousel glow overlay */
  --xh-hero-carousel-glow: linear-gradient(135deg, rgba(255, 184, 184, 0.1), rgba(84, 184, 229, 0.1));
}

/* ???? Reset & base ???????????????????????????????????????????????????????????????????????????????????????????????????????????? */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--xh-primary);
  outline-offset: 2px;
  box-shadow: none;
}

body {
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 183, 77, 0.15) 0%, transparent 38%),
    radial-gradient(circle at 10% 30%, rgba(84, 184, 229, 0.10) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(196, 156, 222, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #fffaf6 0%, #fff5ef 50%, #ffffff 100%);
  color: var(--xh-text);
  font-family: "M PLUS Rounded 1c", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.72;
  margin-bottom: 0;
}

body.front-site::before,
body.front-site::after {
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: -1;
  border-radius: 50%;
}

body.front-site::before {
  background: radial-gradient(circle, rgba(255, 183, 77, 0.18) 0%, transparent 70%);
  height: 560px;
  left: -80px;
  top: 20vh;
  width: 560px;
}

body.front-site::after {
  background: radial-gradient(circle, rgba(196, 156, 222, 0.14) 0%, transparent 72%);
  height: 640px;
  right: -100px;
  top: 6vh;
  width: 640px;
}

/* ???? Kindergarten Decorative Layer ?????????????????????????????????????????????????????????????????????????? */
@keyframes kd-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

@keyframes kd-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%       { transform: translateY(-14px) rotate(8deg) scale(1.05); }
}

@keyframes kd-sway {
  0%, 100% { transform: rotate(-6deg); }
  50%       { transform: rotate(6deg); }
}

@keyframes kd-pulse {
  0%, 100% { transform: scale(1);    opacity: inherit; }
  50%       { transform: scale(1.15); opacity: 1; }
}

@keyframes kd-drift {
  0%   { transform: translate(0,    0); }
  25%  { transform: translate(8px, -12px); }
  50%  { transform: translate(4px, -20px); }
  75%  { transform: translate(-5px,-12px); }
  100% { transform: translate(0,    0); }
}

@keyframes kd-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ?? Theme background scene illustration layer ?? */
.kinder-scene-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
  filter: var(--xh-scene-filter);
  opacity: var(--xh-scene-opacity);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.kinder-scene-layer::before,
.kinder-scene-layer::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.kinder-scene-layer::before {
  background: var(--xh-scene-overlay);
}

.kinder-scene-layer::after {
  background: var(--xh-scene-glow);
}

@media (prefers-reduced-motion: reduce) {
  .kinder-scene-layer { background-attachment: scroll; }
}

.kinder-deco-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.kd {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  will-change: transform;
}

/* Rainbow ??bottom-left corner, partially off-screen */
.kd-rainbow {
  animation: kd-float 9s ease-in-out infinite;
  background-image: url('/img/deco/rainbow.svg');
  bottom: 12%;
  height: 175px;
  left: -75px;
  opacity: 0.52;
  width: 340px;
}

/* Smiling sun ??top-right corner peeking in */
.kd-sun {
  animation: kd-float-slow 12s ease-in-out infinite;
  background-image: url('/img/deco/sun.svg');
  height: 150px;
  opacity: 0.60;
  right: -28px;
  top: 6%;
  width: 150px;
}

/* Clouds */
.kd-cloud-1 {
  animation: kd-drift 14s ease-in-out infinite;
  background-image: url('/img/deco/cloud.svg');
  height: 90px;
  left: 2%;
  opacity: 0.50;
  top: 18%;
  width: 210px;
}

.kd-cloud-2 {
  animation: kd-drift 18s ease-in-out infinite reverse;
  background-image: url('/img/deco/cloud.svg');
  height: 75px;
  opacity: 0.40;
  right: 4%;
  top: 35%;
  width: 175px;
}

.kd-cloud-3 {
  animation: kd-drift 22s ease-in-out infinite 4s;
  background-image: url('/img/deco/cloud.svg');
  bottom: 30%;
  height: 65px;
  left: 30%;
  opacity: 0.30;
  width: 150px;
}

/* Stars */
.kd-star-1 {
  animation: kd-pulse 3.5s ease-in-out infinite;
  background-image: url('/img/deco/star.svg');
  height: 72px;
  left: 1%;
  opacity: 0.68;
  top: 40%;
  width: 72px;
}

.kd-star-2 {
  animation: kd-pulse 4.5s ease-in-out infinite 1.5s;
  background-image: url('/img/deco/star.svg');
  height: 54px;
  opacity: 0.58;
  right: 2%;
  top: 62%;
  width: 54px;
}

.kd-star-3 {
  animation: kd-pulse 5s ease-in-out infinite 0.7s;
  background-image: url('/img/deco/star.svg');
  bottom: 16%;
  height: 46px;
  left: 22%;
  opacity: 0.50;
  width: 46px;
}

.kd-star-blue-1 {
  animation: kd-pulse 4s ease-in-out infinite 2.2s;
  background-image: url('/img/deco/star-blue.svg');
  height: 52px;
  opacity: 0.55;
  right: 22%;
  top: 10%;
  width: 52px;
}

/* Hearts */
.kd-heart-1 {
  animation: kd-float-slow 7s ease-in-out infinite;
  background-image: url('/img/deco/heart.svg');
  height: 65px;
  opacity: 0.62;
  right: 13%;
  top: 16%;
  width: 72px;
}

.kd-heart-2 {
  animation: kd-float 8.5s ease-in-out infinite 2s;
  background-image: url('/img/deco/heart-purple.svg');
  height: 52px;
  left: 6%;
  opacity: 0.52;
  top: 65%;
  width: 58px;
}

/* Flower ??lower right */
.kd-flower-1 {
  animation: kd-sway 6s ease-in-out infinite;
  background-image: url('/img/deco/flower.svg');
  bottom: 6%;
  height: 120px;
  opacity: 0.58;
  right: 0%;
  width: 120px;
}

/* Butterfly */
.kd-butterfly-1 {
  animation: kd-float 10s ease-in-out infinite 1s;
  background-image: url('/img/deco/butterfly.svg');
  height: 95px;
  left: 24%;
  opacity: 0.50;
  top: 24%;
  width: 125px;
}

/* Balloons */
.kd-balloon-coral {
  animation: kd-float-slow 8s ease-in-out infinite;
  background-image: url('/img/deco/balloon-coral.svg');
  bottom: 4%;
  height: 120px;
  opacity: 0.60;
  right: 18%;
  width: 70px;
}

.kd-balloon-blue {
  animation: kd-float 9s ease-in-out infinite 3s;
  background-image: url('/img/deco/balloon-blue.svg');
  bottom: 2%;
  height: 100px;
  left: 0%;
  opacity: 0.52;
  width: 58px;
}

.kd-balloon-purple {
  animation: kd-float-slow 11s ease-in-out infinite 1.5s;
  background-image: url('/img/deco/balloon-purple.svg');
  bottom: 8%;
  height: 110px;
  left: 10%;
  opacity: 0.48;
  width: 64px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .kd { animation: none !important; }
}

/* Hide some elements on smaller screens to avoid clutter */
@media (max-width: 992px) {
  .kd-cloud-3   { display: none; }
  .kd-butterfly-1 { display: none; }
  .kd-balloon-purple { display: none; }
  .kd-heart-2   { display: none; }
  .kd-star-3    { display: none; }
}

@media (max-width: 768px) {
  .kd-rainbow   { width: 220px; height: 115px; left: -55px; }
  .kd-sun       { width: 108px; height: 108px; }
  .kd-cloud-1   { width: 150px; height: 64px; }
  .kd-cloud-2   { display: none; }
  .kd-star-blue-1 { display: none; }
  .kd-flower-1  { width: 90px; height: 90px; }
  .kd-balloon-blue { display: none; }
}

/* Ensure all content sits on top of the deco layer */
header,
.site-header,
.site-main-shell,
footer,
.floating-quick-actions {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Comfortaa", "M PLUS Rounded 1c", "Noto Sans TC", sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}

a {
  color: var(--xh-primary-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #bf6e6e;
}

/* ???? Skip links ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.skip-link {
  background: #fff;
  border: 2px solid var(--xh-primary);
  border-radius: var(--xh-radius-sm);
  left: 0.5rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: 0.5rem;
  z-index: 1100;
}

.skip-link-2 { top: 2.9rem; }
.skip-link-3 { top: 5.3rem; }

/* ???? Site Header ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-header {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-header-glass-bg);
  border-bottom: 3px solid var(--xh-header-border);
  box-shadow: var(--xh-header-shadow);
  isolation: isolate;
  overflow: clip;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before,
.site-header::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.site-header::before {
  background:
    radial-gradient(circle at 20% 20%, var(--xh-header-glow) 0%, transparent 28%),
    var(--xh-header-sheen);
  z-index: 0;
}

.site-header::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.42) 18%, rgba(255, 255, 255, 0.16) 42%, transparent 68%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.28) 100%);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 0;
}

.site-header-visuals {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-header-ornament {
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--xh-header-ornament-filter);
  position: absolute;
  will-change: transform;
}

.site-header-ornament--left {
  animation-name: kd-float;
  background-image: url('/img/deco/rainbow.svg');
  bottom: -20px;
  height: 132px;
  left: clamp(-1rem, 1vw, 0.8rem);
  opacity: 0.34;
  width: 220px;
}

.site-header-ornament--right {
  animation-name: kd-float-slow;
  background-image: url('/img/deco/sun.svg');
  height: 112px;
  opacity: 0.56;
  right: 0.8rem;
  top: -8px;
  width: 112px;
}

.site-header-ornament--accent {
  animation-name: kd-drift;
  background-image: url('/img/deco/cloud.svg');
  height: 72px;
  opacity: 0.25;
  right: 24%;
  top: 8px;
  width: 180px;
}

.site-header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 96px;
  padding: 0.85rem 0 0.95rem;
  position: relative;
  z-index: 1;
}

/* ???? Brand ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-brand {
  align-items: center;
  background: var(--xh-brand-panel-bg);
  border: 1px solid var(--xh-brand-panel-border);
  border-radius: 1.25rem;
  box-shadow: var(--xh-brand-panel-shadow);
  color: inherit;
  backdrop-filter: var(--xh-glass-backdrop);
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.65rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.site-brand-logo {
  border: 3px solid var(--xh-brand-logo-border);
  border-radius: 1.1rem;
  box-shadow: var(--xh-brand-logo-shadow);
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: auto;
}

.site-brand:hover .site-brand-logo {
  transform: scale(1.07) rotate(-2deg);
}

.site-brand-title {
  color: var(--xh-header-title);
  display: block;
  font-family: "Comfortaa", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.3;
}

.site-brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-brand-subtitle-en {
  color: var(--xh-header-subtitle);
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  opacity: 0.75;
}

/* ???? Hamburger toggle ???????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-nav-toggle {
  background: var(--xh-brand-panel-bg);
  backdrop-filter: var(--xh-glass-backdrop);
  border: 2.5px solid var(--xh-header-border);
  border-radius: 0.7rem;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  justify-content: center;
  padding: 0 10px;
  position: relative;
  transition: all 0.3s ease;
  width: 44px;
  z-index: 1;
}

.site-nav-toggle span {
  background: var(--xh-header-link);
  border-radius: 3px;
  display: block;
  height: 3px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 22px;
}

.site-nav-toggle:hover {
  background: var(--xh-header-link-hover-bg);
  border-color: var(--xh-header-link);
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ???? Navigation ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-nav {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.site-nav-list {
  align-items: center;
  background: var(--xh-header-nav-panel);
  backdrop-filter: var(--xh-glass-backdrop);
  border: 1px solid var(--xh-header-nav-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
}

.site-nav-list li { margin: 0; }

.site-nav-link {
  border-radius: 999px;
  color: var(--xh-header-link);
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.site-nav-link:hover {
  background: var(--xh-header-link-hover-bg);
  color: var(--xh-header-link-hover-color);
}

.site-nav-link.active {
  background: linear-gradient(120deg, #ffb8b8, #ffc2c2);
  box-shadow: var(--xh-nav-active-shadow);
  color: #fff;
}

.site-nav-admin-btn {
  background: linear-gradient(120deg, #5d4037, #7c5346) !important;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(93, 64, 55, 0.20);
  color: #fff !important;
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.site-nav-admin-btn:hover {
  box-shadow: 0 6px 18px rgba(93, 64, 55, 0.30);
  transform: translateY(-2px);
}

/* ???? Mobile nav ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
@media (max-width: 800px) {
  .site-header { overflow: visible; }

  .site-nav-toggle { display: flex; }

  .site-nav {
    background: color-mix(in srgb, var(--xh-surface) 88%, white);
    backdrop-filter: blur(18px);
    border: 1px solid var(--xh-header-nav-border);
    border-radius: 1.2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    display: none;
    left: 0;
    padding: 0.75rem;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 999;
  }

  .site-nav.is-open {
    display: block;
    animation: kd-float 0s; /* reset */
  }

  .site-nav-list {
    align-items: stretch;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0;
  }

  .site-nav-link,
  .site-nav-admin-btn {
    font-size: 1rem;
    padding: 0.65rem 1rem;
    text-align: center;
  }

  .site-header-ornament--left {
    bottom: -26px;
    left: -22px;
    opacity: 0.24;
    width: 160px;
  }

  .site-header-ornament--right {
    right: -10px;
    top: -6px;
    width: 92px;
  }

  .site-header-ornament--accent {
    right: 18%;
    top: 6px;
    width: 122px;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    gap: 0.75rem;
    min-height: 84px;
    padding: 0.7rem 0 0.8rem;
  }

  .site-brand {
    padding-right: 0.65rem;
  }

  .site-brand-logo {
    height: 48px;
  }

  .site-header-ornament--left {
    width: 132px;
  }

  .site-header-ornament--right {
    opacity: 0.42;
    width: 82px;
  }

  .site-header-ornament--accent {
    display: none;
  }
}

/* ???? Hidden old topbar classes (keep silent if referenced) ?????????????????????????? */
.site-topbar,
.site-topbar-inner,
.site-topbar-nav,
.site-brand-text,
.site-brand-subtitle,
.site-notice-ribbon,
.site-notice-ribbon-inner { display: none; }

/* ???? Notice ribbon (hidden) ???????????????????????????????????????????????????????????????????????????????????????? */
.site-notice-ribbon {
  display: none;
  background: linear-gradient(90deg, #ffe8b5 0%, #ffecd4 45%, #ddf0ff 100%);
  border-bottom: 1.5px solid #f0d19b;
}

.site-notice-ribbon-inner {
  align-items: center;
  color: #7a5520;
  display: flex;
  font-size: 0.86rem;
  gap: 0.5rem;
  padding: 0.42rem 0;
}

/* ???? Navbar ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94) !important;
  border: 2px solid var(--xh-header-border);
  border-radius: 999px;
  box-shadow: var(--xh-header-shadow);
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding: 0.25rem 0.7rem;
}

.navbar-brand,
.navbar .nav-link {
  font-family: "Comfortaa", "M PLUS Rounded 1c", sans-serif;
  font-weight: 600;
}

.navbar .nav-link {
  border-radius: 999px;
  color: #5d4037 !important;
  padding: 0.46rem 0.9rem !important;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  background: var(--xh-primary-soft);
  box-shadow: var(--xh-shadow-soft);
  color: var(--xh-primary-deep) !important;
}

.navbar .active-nav-link {
  background: linear-gradient(120deg, #ffb8b8 0%, #ffc2c2 100%);
  box-shadow: var(--xh-nav-pill-shadow);
  color: #ffffff !important;
}

.navbar .active-nav-link:hover,
.navbar .active-nav-link:focus-visible {
  background: linear-gradient(120deg, #e6a1a1 0%, #ebb6b6 100%);
  color: #ffffff !important;
}

/* ???? Main shell ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-main-shell {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-shell-bg);
  border: 1px solid var(--xh-shell-border);
  border-radius: 1.5rem;
  box-shadow: var(--xh-shell-shadow);
  isolation: isolate;
  max-width: 1240px;
  margin-bottom: 2rem;
  margin-top: 0.9rem;
  overflow: clip;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 2.25rem;
  padding-top: 1.75rem;
  position: relative;
}

.site-main-shell::before {
  background: var(--xh-shell-highlight);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-main-shell > * {
  position: relative;
  z-index: 1;
}

/* ???? Admin panel (keep cyber theme) ???????????????????????????????????????????????????????????????????????? */
.admin-layout-body {
  background:
    radial-gradient(circle at 0% 0%, rgba(26, 115, 232, 0.08), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(22, 163, 74, 0.06), transparent 34%),
    linear-gradient(180deg, #f6f9fc 0%, #eef3f9 100%);
  color: #10213a;
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, #ffffff, #f6f9ff 55%, #edf3fb);
  border-right: 1px solid #d7e2ef;
  box-shadow: 10px 0 28px rgba(28, 52, 84, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100vh;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
}

.admin-sidebar-brand-wrap {
  border-bottom: 1px solid #d7e2ef;
  padding-bottom: 1rem;
}

.admin-sidebar-brand {
  color: #13315a;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.admin-sidebar-brand:hover,
.admin-sidebar-brand:focus-visible {
  color: #0f5cc6;
}

.admin-sidebar-subtitle {
  color: #4d6685;
  font-size: 0.88rem;
}

.admin-sidebar-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.admin-sidebar-link {
  border: 1px solid transparent;
  border-radius: 0.8rem;
  color: #1c3b63;
  display: block;
  padding: 0.8rem 0.9rem;
  text-decoration: none;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.admin-sidebar-link:hover,
.admin-sidebar-link:focus-visible {
  background: #eaf3ff;
  border-color: #bcd4f5;
  color: #0f5cc6;
  transform: translateX(2px);
}

.admin-sidebar-link.active {
  background: linear-gradient(90deg, #dbeafe, #edf5ff);
  border-color: #99c0ee;
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.12);
  color: #0b4ea2;
}

.admin-sidebar-footer {
  border-top: 1px solid #d7e2ef;
  padding-top: 1rem;
}

.admin-sidebar-user {
  color: #435f82;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.admin-content {
  min-width: 0;
  padding: 1.5rem 1.5rem 2rem;
  color: #10213a;
}

.admin-content > * {
  max-width: 1320px;
}

.admin-cyber-add-btn {
  background: linear-gradient(90deg, #1a73e8, #2f89fb);
  border-color: #1a73e8;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.28);
}

.admin-cyber-add-btn:hover,
.admin-cyber-add-btn:focus {
  background: linear-gradient(90deg, #0f64d6, #1f79ef);
  border-color: #0f64d6;
}

.admin-cyber-modal {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #c9d9ec;
  box-shadow: 0 14px 30px rgba(24, 52, 88, 0.16);
  color: #10213a;
}

.admin-cyber-modal .modal-header,
.admin-cyber-modal .modal-footer {
  border-color: #d8e4f2;
}

.admin-cyber-modal .form-control,
.admin-cyber-modal .form-select {
  background-color: #ffffff;
  border-color: #b8cadf;
  color: #10213a;
}

.admin-cyber-modal .form-control::placeholder {
  color: #6f839f;
}

.admin-cyber-modal .btn-close {
  filter: none;
}

.admin-cyber-filter {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #cedced;
  border-radius: 0.5rem;
  color: #10213a;
  padding: 1rem 1.25rem;
}

.admin-cyber-filter .form-label {
  color: #355277;
  font-size: 0.85rem;
}

.admin-cyber-filter .form-control,
.admin-cyber-filter .form-select {
  background-color: #ffffff;
  border-color: #b8cadf;
  color: #10213a;
}

.admin-cyber-filter .form-control::placeholder {
  color: #6f839f;
}

.admin-cyber-filter .btn-outline-info {
  border-color: #6fa7eb;
  color: #0f5cc6;
}

.admin-cyber-filter .btn-outline-info:hover {
  background-color: #e9f2ff;
  color: #0b4ea2;
}

.admin-cyber-filter .btn-outline-secondary {
  border-color: #b8cadf;
  color: #355277;
}

.admin-cyber-filter .btn-outline-secondary:hover {
  background-color: #eef3f8;
  color: #10213a;
}

.admin-layout-body .card,
.admin-layout-body .table,
.admin-layout-body .accordion-item,
.admin-layout-body .list-group-item,
.admin-layout-body .modal-content {
  background-color: #ffffff;
  color: #10213a;
}

.admin-layout-body .card,
.admin-layout-body .table,
.admin-layout-body .accordion-item,
.admin-layout-body .list-group-item {
  border-color: #d8e4f2;
}

.admin-layout-body .table thead th {
  background: #f2f7fd;
  color: #1a3559;
}

.admin-layout-body .text-muted {
  color: #4f6684 !important;
}

.admin-layout-body .form-control,
.admin-layout-body .form-select {
  background: #ffffff;
  border-color: #b8cadf;
  color: #10213a;
}

.admin-layout-body .form-control:focus,
.admin-layout-body .form-select:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.18);
}

.admin-sidebar .btn-outline-light {
  border-color: #1a73e8;
  color: #1a73e8;
}

.admin-sidebar .btn-outline-light:hover,
.admin-sidebar .btn-outline-light:focus-visible {
  background: #eaf3ff;
  color: #0f5cc6;
}

.admin-sidebar .btn-outline-warning {
  border-color: #c77700;
  color: #9a5b00;
}

.admin-sidebar .btn-outline-warning:hover,
.admin-sidebar .btn-outline-warning:focus-visible {
  background: #fff3df;
  color: #7b4700;
}

/* Admin clarity mode: stronger contrast for dense management screens */
.admin-layout-body {
  --admin-clarity-text: #0b1f3a;
  --admin-clarity-muted: #375274;
  --admin-clarity-link: #0d5ac2;
  --admin-clarity-link-hover: #084a9e;
  --admin-clarity-focus: #0d5ac2;
}

.admin-layout-body h1,
.admin-layout-body h2,
.admin-layout-body h3,
.admin-layout-body h4,
.admin-layout-body h5,
.admin-layout-body h6,
.admin-layout-body .table,
.admin-layout-body .table td,
.admin-layout-body .table th,
.admin-layout-body .form-label,
.admin-layout-body .form-check-label,
.admin-layout-body .btn,
.admin-layout-body .alert,
.admin-layout-body .admin-content,
.admin-layout-body .admin-sidebar-link {
  color: var(--admin-clarity-text);
}

.admin-layout-body a {
  color: var(--admin-clarity-link);
}

.admin-layout-body a:hover,
.admin-layout-body a:focus-visible {
  color: var(--admin-clarity-link-hover);
}

.admin-layout-body .table tbody tr:hover {
  background: #f3f8ff;
}

.admin-layout-body .table-striped > tbody > tr:nth-of-type(odd) > * {
  color: var(--admin-clarity-text);
}

.admin-layout-body .small,
.admin-layout-body small,
.admin-layout-body .text-secondary,
.admin-layout-body .text-muted {
  color: var(--admin-clarity-muted) !important;
}

.admin-layout-body .btn-primary {
  background: #0d5ac2;
  border-color: #0d5ac2;
  color: #ffffff;
}

.admin-layout-body .btn-primary:hover,
.admin-layout-body .btn-primary:focus-visible {
  background: #084a9e;
  border-color: #084a9e;
}

.admin-layout-body :where(a, button, input, select, textarea, .btn, .form-control, .form-select):focus-visible {
  outline: 3px solid rgba(13, 90, 194, 0.35);
  outline-offset: 1px;
}

/* ???? Footer ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.site-footer {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-footer-glass-bg);
  border-top: 1px solid var(--xh-footer-border);
  box-shadow: var(--xh-footer-shadow);
  color: var(--xh-footer-text) !important;
  isolation: isolate;
  margin-top: 1.75rem;
  overflow: clip;
  position: relative;
}

#site-footer {
  position: relative;
}

.site-footer::before,
.site-footer::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-footer::before {
  background-image: var(--xh-footer-ornament-left-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -18px;
  filter: var(--xh-footer-ornament-filter);
  height: 124px;
  left: -8px;
  opacity: var(--xh-footer-ornament-left-opacity);
  width: 132px;
}

.site-footer::after {
  background-image: var(--xh-footer-ornament-right-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 2px;
  filter: var(--xh-footer-ornament-filter);
  height: 104px;
  opacity: var(--xh-footer-ornament-right-opacity);
  right: 8px;
  width: 170px;
}

.site-footer .container {
  border-top: 1px solid var(--xh-footer-top-line);
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.site-footer h2,
.site-footer h3 {
  color: var(--xh-footer-title);
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer p {
  color: var(--xh-footer-text);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-bottom: 0.35rem !important;
}

.site-footer ul {
  color: var(--xh-footer-text);
  font-size: 0.8125rem;
}

.site-footer li {
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: var(--xh-footer-link);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--xh-footer-link-hover);
  text-decoration: underline;
}

.site-footer .text-muted {
  color: var(--xh-footer-muted) !important;
}

.site-footer-bottom {
  align-items: center;
  border-top: 1.5px solid var(--xh-footer-border);
  color: var(--xh-footer-muted);
  display: flex;
  font-size: 0.72rem;
  font-weight: 500;
  gap: 0.4rem;
  justify-content: center;
  letter-spacing: 0.03em;
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  text-align: center;
}

.site-footer-bottom-sep {
  color: color-mix(in srgb, var(--xh-footer-muted) 70%, #fff);
  font-size: 0.85rem;
}

.footer-license-badge {
  background: var(--xh-footer-badge-bg);
  border: 1px solid var(--xh-footer-badge-border);
  border-radius: 0.5rem;
  color: var(--xh-footer-badge-text);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
}

/* ???? Floating quick actions ???????????????????????????????????????????????????????????????????????????????????????? */
.floating-quick-actions {
  bottom: 1rem;
  display: grid;
  gap: 0.55rem;
  position: fixed;
  right: 1.2rem;
  z-index: 1040;
}

.floating-action-btn {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fff5ef 100%);
  border: 2px solid var(--xh-header-border);
  border-radius: 999px;
  box-shadow: var(--xh-fab-shadow);
  color: var(--xh-primary-deep);
  display: inline-flex;
  font-family: "Comfortaa", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.floating-action-btn span[aria-hidden="true"] {
  background: var(--xh-primary);
  border-radius: 999px;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  min-width: 2.1rem;
  padding: 0.18rem 0.34rem;
  text-align: center;
}

.floating-action-btn:hover,
.floating-action-btn:focus-visible {
  background: var(--xh-primary-soft);
  border-color: var(--xh-primary);
  box-shadow: var(--xh-fab-hover-shadow);
  color: #bf6e6e;
}

/* ???? Buttons ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.btn-success {
  background: linear-gradient(120deg, #ffb8b8, #ffc2c2);
  border-color: #ffb8b8;
  border-radius: 999px;
  border-width: 2px;
  box-shadow: var(--xh-shadow-btn);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-success:hover,
.btn-success:focus-visible {
  background: linear-gradient(120deg, #e6a1a1, #e07a52);
  border-color: #d47a7a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--xh-shadow-btn-hover);
}

.btn-success:active {
  transform: translateY(0);
  box-shadow: var(--xh-shadow-btn-active);
}

.btn-outline-success {
  border-color: #ffb8b8;
  border-radius: 999px;
  border-width: 2px;
  color: var(--xh-primary-deep);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-success:hover,
.btn-outline-success:focus-visible {
  background: var(--xh-primary-soft);
  border-color: var(--xh-primary);
  color: var(--xh-primary-deep);
  transform: translateY(-2px);
}

.card {
  border-radius: var(--xh-radius-lg);
  border: none;
  box-shadow: var(--xh-shadow-soft);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--xh-home-card-bg);
}

.card:hover {
  box-shadow: var(--xh-shadow);
  transform: translateY(-2px);
}

/* ???? Badge overrides ?????????????????????????????????????????????????????????????????????????????????????????????????????? */
.badge.text-bg-success,
.badge.bg-success {
  background: var(--xh-primary) !important;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  box-shadow: var(--xh-shadow-soft);
}

/* ???? Homepage hero carousel ???????????????????????????????????????????????????????????????????????????????????????? */
.home-hero-carousel {
  border: 3px solid var(--xh-hero-border);
  border-radius: 2rem;
  box-shadow: var(--xh-hero-shadow);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.home-hero-carousel::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: var(--xh-hero-carousel-glow);
  border-radius: 2rem;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-hero-carousel:hover {
  border-color: var(--xh-primary);
  box-shadow: var(--xh-shadow-playful);
  transform: translateY(-2px);
}

.home-hero-carousel:hover::before {
  opacity: 1;
}

.home-hero-carousel-image {
  aspect-ratio: 20 / 7;
  object-fit: cover;
  transition: transform 5.5s ease;
}

.home-hero-carousel.home-carousel-zoom .carousel-item.active .home-hero-carousel-image {
  transform: scale(1.08);
}

.home-hero-carousel .carousel-caption {
  background: linear-gradient(180deg, rgba(62, 39, 35, 0) 0%, rgba(62, 39, 35, 0.7) 55%, rgba(62, 39, 35, 0.85) 100%);
  border-radius: 1.2rem;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 76%;
  padding: 1.1rem 1.35rem;
  right: auto;
  backdrop-filter: blur(4px);
}

.home-hero-carousel .carousel-caption h2,
.home-hero-carousel .carousel-caption p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  color: white;
}

.home-hero-carousel .carousel-indicators {
  bottom: 1.2rem;
  gap: 0.5rem;
}

.home-hero-carousel .carousel-indicators [data-bs-target] {
  width: 32px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  transition: all 0.3s ease;
}

.home-hero-carousel .carousel-indicators [data-bs-target].active {
  background: white;
  width: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home-carousel-meta {
  background: linear-gradient(135deg, #fff7f1 0%, #fffdfb 100%);
  border: 1.5px solid #f2ddd2;
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px rgba(161, 109, 82, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
}

.home-carousel-meta-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.home-carousel-text {
  flex: 1;
}

.home-carousel-type-badge {
  background: #fff;
  border: 1px solid #f0d6c8;
  border-radius: 999px;
  color: #8b593f;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.75rem;
}

.home-carousel-type-badge[data-content-type="youtube"] {
  background: #fff2f0;
  border-color: #f0b3a9;
  color: #c24635;
}

.home-carousel-type-badge[data-content-type="video"] {
  background: #eef7ff;
  border-color: #b9d8f3;
  color: #3c6d9b;
}

.home-carousel-counter {
  color: #9b6b56;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-carousel-text-title {
  color: var(--xh-primary-deep);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
}

.home-carousel-text-subtitle {
  color: #6f4f47;
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 62ch;
}

.home-carousel-preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.home-carousel-preview-pill {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #efd8cc;
  border-radius: 999px;
  color: #90624d;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.35rem 0.7rem;
}

.home-carousel-dots {
  align-items: center;
  align-self: center;
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  min-width: fit-content;
  padding: 0.25rem 0;
}

.home-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--xh-carousel-dot-border);
  background: var(--xh-carousel-dot-bg);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, width 0.2s ease;
}

.home-carousel-dot:hover,
.home-carousel-dot:focus-visible {
  background: var(--xh-carousel-dot-hover-bg);
  border-color: var(--xh-primary);
  transform: scale(1.15);
}

.home-carousel-dot.active {
  width: 18px;
  background: var(--xh-primary);
  border-color: var(--xh-primary);
  box-shadow: var(--xh-carousel-dot-glow);
}

.home-carousel-zoom .carousel-item img {
  transform: scale(1);
  transition: transform 5.5s ease;
}

.home-carousel-zoom .carousel-item.active img {
  transform: scale(1.08);
}

/* ???? Hero shell / main hero ???????????????????????????????????????????????????????????????????????????????????????? */
.hero-shell {
  background: var(--xh-hero-bg);
  border: 3px solid var(--xh-hero-border);
  border-radius: 2.2rem;
  box-shadow: var(--xh-hero-shadow);
  overflow: hidden;
  padding: 2.4rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-main-hero::before,
.home-main-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.home-main-hero::before {
  background-image: var(--xh-hero-ornament-left-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--xh-hero-ornament-filter);
  height: 190px;
  left: -16px;
  opacity: var(--xh-hero-ornament-left-opacity);
  top: 4px;
  width: 190px;
}

.home-main-hero::after {
  background-image: var(--xh-hero-ornament-right-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 6px;
  filter: var(--xh-hero-ornament-filter);
  height: 170px;
  opacity: var(--xh-hero-ornament-right-opacity);
  right: -8px;
  width: 270px;
}

.home-main-hero > .row {
  position: relative;
  z-index: 1;
}

.hero-shell:hover {
  border-color: var(--xh-primary);
  box-shadow: var(--xh-shadow-playful);
  transform: translateY(-2px);
}

.hero-title {
  color: var(--xh-primary-deep);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.16;
  font-weight: 700;
}

.hero-kicker {
  color: var(--xh-hero-kicker-text);
  display: inline-block;
  font-family: "Comfortaa", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  background: var(--xh-hero-kicker-bg);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hero-image-card {
  background: var(--xh-hero-image-card-bg);
  border: 3px solid var(--xh-hero-image-card-border);
  border-radius: 1.8rem;
  box-shadow: var(--xh-hero-image-card-shadow);
  overflow: hidden;
  padding: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image-card:hover {
  border-color: var(--xh-secondary);
  box-shadow: 0 12px 32px rgba(84, 184, 229, 0.15);
  transform: translateY(-3px);
}

.hero-banner-card {
  background: var(--xh-page-panel-bg);
}

.hero-banner-card .home-hero-carousel {
  border: none;
  border-radius: 1.4rem;
  box-shadow: none;
}

.hero-banner-card .home-hero-carousel:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.hero-banner-card .home-hero-carousel::before {
  display: none;
}

.hero-banner-card .home-carousel-meta {
  background: var(--xh-hero-meta-bg);
  border: 1px solid var(--xh-hero-meta-border);
  border-radius: 1rem;
  box-shadow: var(--xh-hero-meta-shadow);
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
}

.hero-image {
  aspect-ratio: 16 / 9;
  border-radius: 1.4rem;
  display: block;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease;
}

.hero-image-card:hover .hero-image {
  transform: scale(1.04);
}

/* ???? Quick facts ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.quick-fact {
  border: 2.5px solid var(--xh-quick-fact-border);
  border-radius: 1.2rem;
  box-shadow: var(--xh-quick-fact-shadow);
  padding: 0.95rem 1.1rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-fact:hover {
  border-color: var(--xh-primary);
  box-shadow: var(--xh-quick-fact-hover-shadow);
  transform: translateY(-2px);
}

.quick-fact-panel {
  background: var(--xh-quick-fact-panel-bg);
  border: 1.5px dashed var(--xh-quick-fact-panel-border);
  border-radius: 1rem;
  padding: 0.75rem;
}

.quick-fact-panel-title {
  color: var(--xh-primary-deep);
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.quick-fact-panel-intro {
  color: var(--xh-quick-fact-intro);
  font-size: 0.84rem;
  line-height: 1.5;
}

.achievement-domain-card {
  background: linear-gradient(160deg, #fff7f2, #ffffff) !important;
  border-color: #f0d7cb !important;
}

.achievement-domain-card strong {
  color: var(--xh-primary-deep);
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}

.quick-fact-grid .col-6:nth-child(1) .quick-fact {
  background: var(--xh-quick-fact-variant-1-bg);
  border-color: var(--xh-quick-fact-variant-1-border);
}

.quick-fact-grid .col-6:nth-child(2) .quick-fact {
  background: var(--xh-quick-fact-variant-2-bg);
  border-color: var(--xh-quick-fact-variant-2-border);
}

.quick-fact-grid .col-6:nth-child(2) .quick-fact:hover {
  border-color: var(--xh-quick-fact-variant-2-hover-border);
}

.quick-fact-grid .col-6:nth-child(3) .quick-fact {
  background: var(--xh-quick-fact-variant-3-bg);
  border-color: var(--xh-quick-fact-variant-3-border);
}

.quick-fact-grid .col-6:nth-child(3) .quick-fact:hover {
  border-color: var(--xh-quick-fact-variant-3-hover-border);
}

.quick-fact-grid .col-6:nth-child(4) .quick-fact,
.quick-fact-grid .col-6:nth-child(5) .quick-fact {
  background: var(--xh-quick-fact-variant-4-bg);
  border-color: var(--xh-quick-fact-variant-4-border);
}

.quick-fact-grid .col-6:nth-child(4) .quick-fact:hover,
.quick-fact-grid .col-6:nth-child(5) .quick-fact:hover {
  border-color: var(--xh-quick-fact-variant-4-hover-border);
}

.quick-fact-label {
  color: var(--xh-muted);
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.22rem;
}

.quick-fact-desc {
  color: var(--xh-quick-fact-intro);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 0.4rem;
}

.hero-achievement-feed {
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px dashed var(--xh-quick-fact-panel-border);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
}

.hero-achievement-title {
  color: var(--xh-primary-deep);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.hero-achievement-list {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.1rem;
}

.hero-achievement-list li {
  color: #7a6053;
  font-size: 0.88rem;
}

.hero-achievement-list a {
  color: var(--xh-primary-deep);
  text-decoration: none;
}

.hero-achievement-list a:hover {
  text-decoration: underline;
}

.hero-achievement-empty {
  color: #7a6053;
  font-size: 0.86rem;
}

/* ??????????????寥?? */
.intro-header {
  border-bottom: 3px solid #a0d8e8;
  padding-bottom: 0.75rem;
}
.intro-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5d4a3d;
  margin-bottom: 0.5rem;
}
.intro-subtitle {
  font-size: 0.95rem;
  color: #8b7355;
  line-height: 1.5;
}

/* ????寡?脫?*/
.intro-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}
.intro-feature-card {
  background: var(--xh-intro-feature-bg);
  border: 1px solid var(--xh-intro-feature-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--xh-intro-feature-shadow);
}
.intro-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--xh-intro-feature-hover-shadow);
  border-color: var(--xh-intro-feature-hover-border);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}
.feature-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5d4a3d;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.85rem;
  color: #8b7355;
  line-height: 1.5;
}

/* ??????????????& About ?? */
.about-textwrap { 
  overflow: hidden;
  background: var(--xh-about-textwrap-bg);
  border-radius: 10px;
  padding: 1rem;
  border-left: 3px solid var(--xh-about-textwrap-accent);
}
.about-textwrap-img {
  float: left;
  width: 100px;
  height: auto;
  margin: 0 0.75rem 0.5rem 0;
  border: 2px solid var(--xh-about-textwrap-image-border);
  object-fit: contain;
}
@media (min-width: 768px) {
  .about-textwrap-img { width: 130px; }
}
.about-textwrap-cta {
  clear: both;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.8rem;
  display: none;
}
/* CTA ??? - ?格?寡????脫??*/
.intro-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a0d8e8 0%, #85cae0 100%);
  border: 2px solid #75c0d6;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  min-height: 120px;
}
.intro-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(160, 216, 232, 0.3);
  border-color: #75c0d6;
  color: white;
  text-decoration: none;
}
.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.cta-icon {
  font-size: 1.8rem;
  font-weight: 800;
}
.cta-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.cta-desc {
  font-size: 0.85rem;
  opacity: 0.95;
}

/* ?????????? */
.intro-summary-footer {
  text-align: center;
  padding-top: 0.8rem;
}
.intro-browse-more {
  background: #a0d8e8;
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.intro-browse-more:hover {
  background: #75c0d6;
  color: white;
  transform: translateX(2px);
  text-decoration: none;
}
.about-summary-highlight {
  background: linear-gradient(180deg, #fffdf9, #fff5ec);
  border-left: 5px solid #a0d8e8;
  border-radius: 10px;
  color: #6f5448;
  font-weight: 600;
  line-height: 1.8;
  padding: 0.7rem 0.9rem;
}

/* About ?? - ???????????? */
.about-hero-redesigned {
  background: var(--xh-page-hero-bg);
  border: 2px solid var(--xh-page-hero-border);
  border-radius: var(--xh-radius);
  box-shadow: var(--xh-page-hero-shadow);
  overflow: clip;
  padding: 1.8rem !important;
  position: relative;
}

.about-hero-redesigned::before,
.about-hero-redesigned::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.about-hero-redesigned::before {
  background-image: var(--xh-page-hero-ornament-left-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--xh-page-hero-ornament-filter);
  height: 140px;
  left: -8px;
  opacity: var(--xh-page-hero-ornament-left-opacity);
  top: 6px;
  width: 140px;
}

.about-hero-redesigned::after {
  background-image: var(--xh-page-hero-ornament-right-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 4px;
  filter: var(--xh-page-hero-ornament-filter);
  height: 136px;
  opacity: var(--xh-page-hero-ornament-right-opacity);
  right: 2px;
  width: 188px;
}

.about-hero-redesigned > .row {
  position: relative;
  z-index: 1;
}

.about-intro-combo-card {
  background:
    radial-gradient(circle at 15% 12%, rgba(160, 216, 232, 0.22) 0%, transparent 36%),
    linear-gradient(165deg, #fffefb 0%, #fff6ee 52%, #fff2e5 100%);
  border: 2px solid var(--xh-inner-card-border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(160, 216, 232, 0.14);
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.1rem;
}

.about-intro-header {
  align-items: flex-start;
  border-bottom: 1px dashed #dceef0;
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.85rem;
}

.about-intro-kicker {
  background: #a0d8e8;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.72rem;
  text-transform: uppercase;
}

.about-intro-media-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 190px;
  position: relative;
}

.about-intro-media-wrap::before {
  background: radial-gradient(circle, rgba(160, 216, 232, 0.14) 0%, rgba(160, 216, 232, 0) 68%);
  border-radius: 50%;
  content: "";
  height: 210px;
  position: absolute;
  width: 210px;
}

.about-intro-logo {
  max-width: 200px;
  height: auto;
  border: 3px solid #a0d8e8;
  box-shadow: 0 6px 16px rgba(160, 216, 232, 0.2);
  position: relative;
  transition: transform 0.3s ease;
}

.about-intro-logo:hover {
  transform: scale(1.05);
}

.about-intro-summary-wrap {
  border-top: 1px dashed #dceef0;
  padding-top: 0.9rem;
}

.about-intro-summary-wrap .about-summary-highlight {
  border-left-width: 4px;
  font-size: 0.98rem;
  text-align: left;
}

/* ????寡???? */
.about-features-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 768px) {
  .about-features-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-feature-highlight {
  background: linear-gradient(135deg, #fffdf9 0%, #fff5ec 100%);
  border: 2px solid var(--xh-inner-card-border);
  border-radius: 14px;
  padding: 1.4rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(160, 216, 232, 0.08);
}

.about-feature-highlight:hover {
  transform: translateY(-6px);
  border-color: #a0d8e8;
  box-shadow: 0 8px 20px rgba(160, 216, 232, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #fffbf4 100%);
}

.feature-icon-large {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.about-feature-highlight:hover .feature-icon-large {
  transform: scale(1.1) rotate(-5deg);
}

.feature-highlight-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5d4a3d;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.feature-highlight-desc {
  font-size: 0.9rem;
  color: #8b7355;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .about-hero-redesigned {
    padding: 1.2rem !important;
  }

  .about-intro-combo-card {
    border-radius: 14px;
    padding: 1rem;
  }
  
  .about-intro-logo {
    max-width: 160px;
  }

  .about-intro-media-wrap {
    min-height: 170px;
  }
}

.about-photo-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.photo-lightbox-content {
  background: rgba(18, 22, 28, 0.96);
  color: #fff;
}

.photo-lightbox-modal .modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
}

.photo-lightbox-modal img {
  max-height: 78vh;
  object-fit: contain;
  background: #0f1217;
}

.hero-key-info {
  border-top: 1px solid var(--xh-hero-border);
  display: grid;
  gap: 0.22rem;
  padding-top: 0.55rem;
}

.hero-key-info span {
  color: #7a6053;
  font-size: 0.82rem;
}

.hero-cta-group .btn { 
  min-width: 140px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-cta-group .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero-text-link {
  border-bottom: 2.5px solid var(--xh-warm);
  color: var(--xh-primary-deep);
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s;
}

.hero-text-link:hover {
  border-color: var(--xh-primary);
}

/* ???? Parent shortcuts ???????????????????????????????????????????????????????????????????????????????????????????????????? */
.home-parent-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.home-parent-shortcut {
  background: #fff;
  border: 1.5px solid var(--xh-header-border);
  border-radius: 999px;
  color: var(--xh-primary-deep);
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.home-parent-shortcut:hover,
.home-parent-shortcut:focus-visible {
  background: var(--xh-primary-soft);
  border-color: var(--xh-primary);
  color: #bf6e6e;
}

/* ???? News cards ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.news-card {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-card-variant-3-bg);
  border: 3px solid var(--xh-home-card-border);
  border-radius: var(--xh-radius-lg);
  box-shadow: var(--xh-home-card-shadow);
  padding: 1.35rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--xh-home-card-glow);
  border-radius: 50%;
}

.news-card:hover,
.news-card:focus-within {
  border-color: var(--xh-primary);
  box-shadow: var(--xh-shadow-playful);
  transform: translateY(-3px);
}

.news-card .h5 {
  color: var(--xh-primary-deep);
  font-weight: 700;
}

.news-card .badge {
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}

.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-filter-btn {
  border-radius: 999px;
  border-width: 2px;
  min-width: 72px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.news-filter-btn.btn-success {
  box-shadow: var(--xh-nav-active-shadow);
}

.news-filter-btn.btn-success:hover,
.news-filter-btn.btn-outline-success:hover {
  transform: scale(1.05);
}

.news-filter-count {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: inline-block;
  font-size: 0.74rem;
  margin-left: 0.35rem;
  min-width: 1.6rem;
  padding: 0.05rem 0.4rem;
  text-align: center;
}

.news-filter-btn.btn-success .news-filter-count {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ???? Photo filter & cards ???????????????????????????????????????????????????????????????????????????????????????????? */
.photo-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.photo-filter-btn { border-radius: 999px; }

.photo-category-card {
  backdrop-filter: var(--xh-glass-backdrop);
  border: 3px solid var(--xh-home-card-border) !important;
  border-radius: var(--xh-radius-lg) !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--xh-home-card-bg);
  box-shadow: var(--xh-home-card-shadow);
  position: relative;
}

.photo-category-card:nth-child(2) {
  border-color: #b4e0f7;
  background: var(--xh-home-card-variant-2-bg);
}

.photo-category-card:nth-child(3) {
  border-color: #e8d9f7;
  background: var(--xh-home-card-variant-3-bg);
}

.photo-category-card:nth-child(4) {
  border-color: #ffe8c0;
  background: var(--xh-home-card-variant-4-bg);
}

.photo-category-card:hover,
.photo-category-card:focus-within {
  border-color: var(--xh-primary) !important;
  box-shadow: var(--xh-shadow-playful) !important;
  transform: translateY(-4px) scale(1.01);
}

.photo-category-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
}

.photo-category-card .btn {
  margin-top: auto;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.photo-category-card .btn:hover {
  transform: scale(1.05);
}

.photo-category-card .btn.disabled {
  opacity: 0.75;
}

.photo-preview {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.photo-desc { font-size: 0.75rem; }

/* ???? Quick nav cards ?????????????????????????????????????????????????????????????????????????????????????????????????????? */
.quick-nav-card {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-card-variant-3-bg);
  border: 3px solid var(--xh-home-card-border);
  border-radius: 1.6rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  justify-content: center;
  min-height: 148px;
  padding: 1.1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.quick-nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 183, 77, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.quick-nav-card:nth-child(1),
.quick-nav-card:nth-child(4) {
  border-color: #ffe8c0;
  background: var(--xh-home-card-variant-4-bg);
}

.quick-nav-card:nth-child(2),
.quick-nav-card:nth-child(5) {
  border-color: #d4ebf7;
  background: var(--xh-home-card-variant-2-bg);
}

.quick-nav-card:nth-child(3),
.quick-nav-card:nth-child(6) {
  border-color: #f8e8d4;
  background: var(--xh-home-card-bg);
}

.quick-nav-card:hover,
.quick-nav-card:focus-visible {
  border-color: var(--xh-primary);
  box-shadow: var(--xh-shadow-playful);
  transform: translateY(-4px) scale(1.02);
}

.quick-nav-icon {
  font-size: 2rem;
  line-height: 1;
  animation: bounce 2s ease-in-out infinite;
}

.quick-nav-card:hover .quick-nav-icon {
  animation: bounce-fast 0.6s ease-in-out infinite;
}

.quick-nav-title {
  font-family: "Comfortaa", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--xh-primary-deep);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes bounce-fast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ???? Focus cards ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.focus-card {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-card-variant-4-bg);
  border: 3px solid var(--xh-home-card-border);
  border-left: 8px solid var(--xh-warm);
  border-radius: var(--xh-radius);
  box-shadow: var(--xh-home-card-shadow);
  padding: 1.15rem;
  transition: all 0.3s ease;
  position: relative;
}

.focus-card:hover {
  box-shadow: var(--xh-home-card-hover-shadow);
  transform: translateY(-3px);
}

.focus-card h3 {
  color: var(--xh-primary-deep);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.focus-card p {
  font-size: 0.9rem;
  color: var(--xh-muted);
}

/* ???? Summary blocks (about / menu / contact / faq) ?????????????????????????????????????????? */
.about-summary,
.menu-summary,
.contact-summary,
.faq-summary {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-section-bg);
  border: 2px solid var(--xh-home-section-border);
  border-radius: var(--xh-radius);
  box-shadow: var(--xh-home-section-shadow);
  padding: 1.35rem;
}

.summary-image,
.menu-sample-image {
  border: 2px solid var(--xh-header-border);
  border-radius: 1.1rem;
  box-shadow: var(--xh-shadow-soft);
}

.menu-summary-list {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.menu-summary-list li { margin-bottom: 0.35rem; }

.contact-card {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-card-bg);
  border: 1.5px solid var(--xh-home-card-border);
  border-radius: var(--xh-radius-sm);
  box-shadow: var(--xh-home-card-shadow);
  padding: 1rem;
}

.empty-state-card {
  background: color-mix(in srgb, var(--xh-surface-soft) 70%, transparent);
  border: 1.5px dashed var(--xh-home-card-border);
  border-radius: var(--xh-radius-sm);
  color: #8d6e63;
  padding: 1rem;
}

/* ???? Animations ???????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.hero-shell,
.about-summary,
.menu-summary,
.faq-summary,
.contact-summary,
.home-hero-carousel,
.quick-nav-card,
.focus-card,
.news-card,
.photo-category-card,
.menu-filter-card,
.menu-content-wrap,
.photos-category-block,
.about-hero,
.menu-page-hero {
  animation: xh-pop-in 0.5s ease both;
}

@keyframes xh-pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shell,
  .about-summary,
  .menu-summary,
  .faq-summary,
  .contact-summary,
  .home-hero-carousel,
  .quick-nav-card,
  .focus-card,
  .news-card,
  .photo-category-card,
  .menu-filter-card,
  .menu-content-wrap,
  .photos-category-block,
  .about-hero,
  .menu-page-hero {
    animation: none;
  }
}

@media (max-width: 768px) {
  .home-carousel-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-carousel-dots {
    justify-content: flex-start;
  }

  .home-carousel-text-subtitle {
    max-width: none;
  }

  .home-carousel-preview-row {
    width: 100%;
  }
}

/* ???? Inner page hero/panel system ???????????????????????????????????????????????????????????????????????????? */
.about-hero,
.menu-page-hero {
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border: 2px solid var(--xh-page-hero-border);
  border-radius: var(--xh-radius);
  padding: 1.25rem;
}

.about-content-card {
  background: var(--xh-inner-card-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  box-shadow: var(--xh-inner-card-shadow);
}

.honors-carousel {
  background: var(--xh-inner-card-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  border-radius: 1.2rem;
  box-shadow: var(--xh-inner-card-shadow);
  padding: 0.75rem;
}

.honor-item-wrap {
  background: var(--xh-inner-card-alt-bg);
  border: 1.5px solid color-mix(in srgb, var(--xh-inner-card-border) 84%, transparent);
  border-radius: 0.95rem;
  min-height: 320px;
}

.honor-item-content { width: 100%; }

.honor-image {
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
}

.menu-filter-card {
  background: var(--xh-menu-filter-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  box-shadow: var(--xh-inner-card-shadow);
  margin-left: 0;
  margin-right: 0;
  padding: 0.5rem;
}

.menu-content-wrap {
  background: var(--xh-inner-card-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  box-shadow: var(--xh-inner-card-shadow);
  padding: 0.8rem;
}

.menu-page-kicker {
  color: #b26a4f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.menu-approval-chip {
  background: var(--xh-menu-chip-bg);
  border: 1px solid var(--xh-menu-chip-border);
  border-radius: 1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  text-align: left;
}

.menu-approval-label {
  color: var(--xh-menu-chip-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.menu-approval-value {
  color: var(--xh-menu-chip-value);
  font-size: 0.98rem;
}

.menu-table { margin-bottom: 0; }

.menu-table th {
  background: #fff1eb;
  color: #5d3a2e;
  font-weight: 700;
  text-align: center;
}

.menu-group-header {
  letter-spacing: 0.08em;
}

.menu-table td,
.menu-table th {
  border-color: var(--xh-inner-card-border);
  vertical-align: top;
}

.menu-row-today {
  background: linear-gradient(90deg, rgba(255, 237, 220, 0.88), rgba(255, 250, 245, 0.96));
}

.menu-date-cell {
  min-width: 110px;
}

.menu-date-cell.is-today {
  color: var(--xh-primary-deep);
}

.menu-date-text {
  display: inline-block;
  font-weight: 700;
}

.menu-today-badge {
  background: linear-gradient(90deg, #f06f50, #ff9a62);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.4rem;
  padding: 0.28rem 0.55rem;
  vertical-align: middle;
}

.menu-meal-cell {
  line-height: 1.7;
  min-width: 140px;
  white-space: normal;
}

.menu-mobile-card {
  background: var(--xh-inner-card-alt-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  padding: 0.9rem;
}

.menu-mobile-card.is-today {
  background: linear-gradient(180deg, #fff3e7, #fffaf6);
  border-color: #f0a27b;
  box-shadow: var(--xh-shadow);
}

.menu-mobile-head {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.menu-mobile-line {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  margin-bottom: 0.4rem;
}

.menu-mobile-line:last-child {
  margin-bottom: 0;
}

.menu-mobile-label {
  color: #7b5648;
  display: inline-block;
}

.menu-mobile-value {
  color: #4f3428;
}

.menu-import-result-list {
  margin: 0;
  padding-left: 1.2rem;
}

.menu-import-result-list li {
  margin-bottom: 0.45rem;
}

.menu-mobile-value {
  line-height: 1.65;
}

.photos-category-block {
  background: var(--xh-inner-card-bg);
  border: 1.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  box-shadow: var(--xh-inner-card-shadow);
  padding: 1rem;
}

.photos-category-header {
  border-bottom: 1px dashed var(--xh-inner-card-border);
}

.photo-card {
  transition: transform 0.18s, box-shadow 0.18s;
}

.photo-card:hover,
.photo-card:focus-within {
  box-shadow: var(--xh-photo-card-hover-shadow) !important;
  transform: translateY(-2px);
}

/* ???? Page system (inner pages) ?????????????????????????????????????????????????????????????????????????????????? */
.site-page {
  display: grid;
  gap: 1rem;
}

.page-hero {
  background: var(--xh-page-hero-bg);
  border: 2px solid var(--xh-page-hero-border);
  border-radius: var(--xh-radius);
  box-shadow: var(--xh-page-hero-shadow);
  overflow: clip;
  padding: 1.2rem;
  position: relative;
}

.page-hero::before,
.page-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.page-hero::before {
  background-image: var(--xh-page-hero-ornament-left-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--xh-page-hero-ornament-filter);
  height: 72px;
  left: -10px;
  opacity: var(--xh-page-hero-ornament-left-opacity);
  top: 6px;
  width: 72px;
}

.page-hero::after {
  background-image: var(--xh-page-hero-ornament-right-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 4px;
  filter: var(--xh-page-hero-ornament-filter);
  height: 72px;
  opacity: var(--xh-page-hero-ornament-right-opacity);
  right: 4px;
  width: 104px;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-title {
  color: var(--xh-page-hero-title);
  font-weight: 700;
}

.page-lead {
  color: var(--xh-page-hero-lead);
}

.page-panel {
  background: var(--xh-page-panel-bg);
  border: 3px solid var(--xh-page-panel-border);
  border-radius: var(--xh-radius-lg);
  box-shadow: var(--xh-page-panel-shadow);
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-panel:hover {
  border-color: var(--xh-inner-card-hover-border);
  box-shadow: var(--xh-inner-card-hover-shadow);
  transform: translateY(-2px);
}

.page-card {
  background: var(--xh-inner-card-bg);
  border: 2.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  box-shadow: var(--xh-inner-card-shadow);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.page-card:hover {
  border-color: var(--xh-inner-card-hover-border);
  box-shadow: var(--xh-inner-card-hover-shadow);
  transform: translateY(-2px);
}

.page-learning .accordion-item {
  border: 2.5px solid var(--xh-inner-card-border);
  border-radius: var(--xh-radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-learning .accordion-item:hover {
  border-color: var(--xh-inner-card-hover-border);
  box-shadow: var(--xh-inner-card-shadow);
}

.page-learning .accordion-button {
  background: var(--xh-page-accordion-button-bg);
  color: var(--xh-primary-deep);
  font-weight: 600;
  padding: 1.1rem;
  transition: all 0.3s ease;
}

.page-learning .accordion-button:not(.collapsed) {
  background: var(--xh-page-accordion-button-active-bg);
  box-shadow: none;
  color: var(--xh-primary-deep);
}

.page-learning .accordion-button:hover {
  background: var(--xh-page-accordion-button-hover-bg);
}

.page-contact .list-group-item {
  background: transparent;
  border-color: var(--xh-inner-card-border);
  border-width: 2px;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.page-contact .list-group-item:hover {
  border-color: var(--xh-inner-card-hover-border);
  background: var(--xh-page-list-item-hover-bg);
}

/* ???? Gallery & lightbox ???????????????????????????????????????????????????????????????????????????????????????????????? */
.page-gallery .gallery-grid {
  row-gap: 1.1rem;
  column-gap: 1.1rem;
}

.gallery-photo-card {
  border: 3px solid var(--xh-gallery-card-border) !important;
  border-radius: var(--xh-radius-lg);
  box-shadow: var(--xh-gallery-card-shadow) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.gallery-photo-card:nth-child(3n+2) {
  border-color: var(--xh-gallery-card-accent-border) !important;
}

.gallery-photo-card:nth-child(3n) {
  border-color: var(--xh-gallery-card-warm-border) !important;
}

.gallery-photo-card:hover,
.gallery-photo-card:focus-within {
  border-color: var(--xh-primary) !important;
  box-shadow: var(--xh-shadow-playful) !important;
  transform: translateY(-4px) scale(1.01);
}

.gallery-photo-card .card-body {
  background: var(--xh-gallery-card-body-bg);
  padding: 0.95rem;
}

.gallery-photo-card img {
  transition: transform 0.3s ease;
  filter: brightness(1);
}

.gallery-photo-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.gallery-preview-btn { 
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gallery-preview-btn:hover {
  transform: translateY(-2px);
}

.photo-lightbox-modal {
  border: 3px solid var(--xh-lightbox-border);
  border-radius: var(--xh-radius-lg);
  box-shadow: var(--xh-lightbox-shadow);
  overflow: hidden;
}

.photo-lightbox-modal .modal-header {
  border-bottom-color: var(--xh-lightbox-border);
}

.photo-lightbox-modal .modal-body { padding: 1rem; }

.photo-lightbox-modal img {
  max-height: 70vh;
  object-fit: contain;
}

/* ???? Homepage layout ?????????????????????????????????????????????????????????????????????????????????????????????????????? */
.home-page {
  display: grid;
  gap: 1.6rem;
}

.home-page .home-section { margin-bottom: 0; }

.home-section-surface {
  background:
    radial-gradient(circle at 92% 8%, rgba(84, 184, 229, 0.08) 0%, transparent 36%),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border: 2px solid var(--xh-header-border);
  border-radius: 1.5rem;
  box-shadow: var(--xh-shadow-soft);
  padding: 1.2rem;
}

.home-banner-section { border-radius: 1.6rem; }

.home-section-banner {
  border: 2px solid var(--xh-header-border);
  border-radius: 1.6rem;
  padding: 0.55rem;
}

.home-section-head {
  border-bottom: 2px dashed var(--xh-header-border);
  margin-bottom: 1rem !important;
  padding-bottom: 0.75rem;
}

.home-section-title {
  color: var(--xh-primary-deep);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
}

.home-section-desc {
  color: var(--xh-muted) !important;
  font-size: 0.94rem;
}

/* ???? Priority strip ???????????????????????????????????????????????????????????????????????????????????????????????????????? */
/* ???? New Parent Section ?????????????????????????????????????????????????????????????????????????????????????????????? */
.home-newparent-section {
  background: linear-gradient(135deg, #fff8f4 0%, #f0f8ff 100%);
  border: 3px solid var(--xh-header-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.newparent-info-card {
  align-items: center;
  background: #fff;
  border: 2px solid var(--xh-header-border);
  border-radius: 1.2rem;
  box-shadow: 0 4px 14px rgba(240,112,80,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.8rem;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}

.newparent-info-card:hover {
  box-shadow: 0 8px 22px rgba(240,112,80,0.18);
  transform: translateY(-3px);
}

.newparent-info-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.newparent-info-label {
  color: #999;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.newparent-info-value {
  color: var(--xh-primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.newparent-info-value a {
  color: inherit;
  text-decoration: none;
}

.newparent-info-value a:hover {
  text-decoration: underline;
}

.newparent-steps {
  background: #fff9f6;
  border: 1.5px solid var(--xh-header-border);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
}

.newparent-step {
  align-items: center;
  background: #fff;
  border: 2px solid var(--xh-header-border);
  border-radius: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.newparent-step-num {
  align-items: center;
  background: linear-gradient(135deg, #ffb8b8, #ffb74d);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.newparent-step-text {
  color: #5a3e2b;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-priority-panel {
  border: 2px solid var(--xh-header-border);
  border-radius: 1.3rem;
  padding: 1rem 1.1rem;
}

.home-priority-panel h2 {
  color: var(--xh-primary-deep);
  font-weight: 700;
}

.home-priority-strip {
  background: linear-gradient(105deg, #ffb8b8 0%, #ffc2c2 45%, #ffb74d 100%);
  border: none;
  border-radius: 1.5rem;
  box-shadow: var(--xh-shadow-playful);
}

.home-priority-strip h2,
.home-priority-strip p {
  color: #fff !important;
}

.home-priority-strip .btn-outline-success {
  background: #fff;
  border-color: #fff;
  color: var(--xh-primary-deep);
}

.home-priority-strip .btn-outline-success:hover {
  background: #fff0f0;
  color: #bf6e6e;
}

.home-priority-strip .btn-success {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  color: #fff;
}

.home-priority-strip .btn-success:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ???? Homepage section-specific borders ?????????????????????????????????????????????????????????????????? */
.home-highlight-section,
.home-news-section,
.home-gallery-section,
.home-about-section,
.home-menu-section,
.home-faq-section,
.home-contact-section {
  backdrop-filter: var(--xh-glass-backdrop);
  background: var(--xh-home-section-bg);
  border: 2px solid var(--xh-home-section-border);
  border-radius: 1.5rem;
  box-shadow: var(--xh-home-section-shadow);
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.home-highlight-section::before,
.home-news-section::before,
.home-gallery-section::before,
.home-about-section::before,
.home-menu-section::before,
.home-faq-section::before,
.home-contact-section::before {
  background: var(--xh-home-section-highlight);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.home-highlight-section > *,
.home-news-section > *,
.home-gallery-section > *,
.home-about-section > *,
.home-menu-section > *,
.home-faq-section > *,
.home-contact-section > * {
  position: relative;
  z-index: 1;
}

/* ???? Filter hint ?????????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.filter-hint {
  color: var(--xh-muted);
  font-size: 0.82rem;
}

/* ???? FAQ accordion (homepage) ???????????????????????????????????????????????????????????????????????????????????? */
.faq-summary .accordion-item {
  border: 2px solid var(--xh-home-card-border);
  border-radius: var(--xh-radius-sm);
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.faq-summary .accordion-button {
  background: color-mix(in srgb, var(--xh-surface-soft) 74%, transparent);
  color: var(--xh-primary-deep);
  font-family: "Comfortaa", "M PLUS Rounded 1c", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.faq-summary .accordion-button:not(.collapsed) {
  background: var(--xh-primary-soft);
  box-shadow: none;
  color: var(--xh-primary-deep);
}

/* ???? Form floating ?????????????????????????????????????????????????????????????????????????????????????????????????????????? */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ???? Mobile responsive ?????????????????????????????????????????????????????????????????????????????????????????????????? */
@media (max-width: 767.98px) {
  body {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .site-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.75rem 0;
  }

  .site-trust-tags { justify-content: flex-start; }

  .site-notice-ribbon-inner {
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.8rem;
    gap: 0.2rem;
    padding: 0.36rem 0;
  }

  .site-navbar {
    border-radius: 1rem;
    max-width: none;
    padding: 0.35rem;
  }

  .skip-link-2,
  .skip-link-3 { top: 0.5rem; }

  .site-brand-logo { height: 50px; }

  .home-hero-carousel-image { aspect-ratio: 16 / 9; }

  .home-hero-carousel .carousel-caption {
    bottom: 0.6rem;
    left: 0.75rem;
    max-width: none;
    padding: 0.6rem 0.75rem;
    right: 0.75rem;
  }

  .home-hero-carousel .carousel-caption h2 { font-size: 1rem; }

  .hero-shell {
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .hero-title { font-size: 1.55rem; }
  .lead { font-size: 1rem; }

  .hero-cta-group {
    display: grid !important;
    grid-template-columns: 1fr;
    margin-bottom: 0.6rem !important;
    width: 100%;
  }

  .hero-cta-group .btn { width: 100%; }

  .hero-text-link {
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
  }

  .quick-fact { padding: 0.75rem 0.8rem; }
  .hero-fact-optional { display: none; }

  .quick-nav-card {
    min-height: 104px;
    padding: 0.8rem 0.65rem;
  }

  .quick-nav-title { font-size: 0.86rem; }
  .focus-card { padding: 0.85rem; }
  .news-card { padding: 1rem; }

  .news-filter-bar { gap: 0.35rem; }

  .news-filter-btn {
    min-width: 0;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .photo-filter-bar { gap: 0.35rem; }

  .about-summary,
  .menu-summary,
  .contact-summary,
  .faq-summary,
  .about-hero,
  .menu-page-hero { padding: 1rem; }

  .btn,
  .form-control,
  .form-select,
  .navbar-toggler { min-height: 44px; }

  .menu-filter-card {
    gap: 0.4rem;
    padding: 0.65rem;
  }

  .menu-mobile-card {
    border-radius: 0.75rem;
    padding: 0.75rem;
  }

  .photos-category-block {
    border-radius: var(--xh-radius-sm);
    padding: 0.75rem;
  }

  .photo-card .card-body { padding: 0.55rem !important; }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    position: static;
  }

  .admin-sidebar-nav {
    overflow: visible;
  }

  .admin-content {
    padding: 1rem;
  }

  .site-footer .container {
    padding-bottom: 0.75rem !important;
    padding-top: 0.75rem !important;
  }

  .site-footer h2,
  .site-footer h3 {
    font-size: 0.8125rem;
  }

  .site-footer p,
  .site-footer ul {
    font-size: 0.75rem;
  }

  .site-footer::before {
    bottom: -20px;
    height: 96px;
    left: -14px;
    width: 96px;
  }

  .site-footer::after {
    height: 86px;
    opacity: 0.2;
    right: -8px;
    width: 118px;
  }

  .floating-quick-actions {
    bottom: 0.8rem;
    right: 0.8rem;
  }

  .floating-action-btn {
    min-height: 40px;
    padding: 0.32rem 0.62rem;
  }

  .home-main-hero {
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .home-main-hero::before {
    height: 82px;
    left: -18px;
    top: 2px;
    width: 82px;
  }

  .home-main-hero::after {
    bottom: 8px;
    height: 78px;
    right: -12px;
    width: 108px;
  }

  .page-hero::before {
    height: 56px;
    left: -12px;
    width: 56px;
  }

  .page-hero::after {
    height: 58px;
    right: -10px;
    width: 78px;
  }

  .about-hero-redesigned::before {
    height: 66px;
    left: -10px;
    width: 66px;
  }

  .about-hero-redesigned::after {
    height: 62px;
    right: -8px;
    width: 84px;
  }

  .home-priority-strip { border-radius: 1rem; }

  .home-highlight-section,
  .home-news-section,
  .home-gallery-section,
  .home-about-section,
  .home-menu-section,
  .home-faq-section,
  .home-contact-section { border-radius: 1rem; }

  .page-gallery .page-hero .btn { width: 100%; }

  .photo-lightbox-modal .modal-body { padding: 0.75rem; }
}

/* =====================================================================
   2026 ??????????羲??(Sage Green) + ????USP ??辣
   ???摰雯?????????????
   ===================================================================== */

/* ???? Sage Green Palette variables ?????????????????????????????????????????????????????????????????????????? */
:root {
  --xh-sage: #7ba99a;
  --xh-sage-deep: #578b7d;
  --xh-sage-light: #e8f2ee;
  --xh-sage-soft: #f2f8f5;
  --xh-oatmeal: #faf7f2;
  --xh-oatmeal-border: #e8e0d4;
  --xh-earth: #c8a882;
  --xh-earth-light: #f5edd8;
}

/* ???? Focus cards (?寡???) ?????????????????????????????????????????????????????????????????????????? */
.focus-card-sage {
  background: linear-gradient(135deg, var(--xh-sage-soft) 0%, #fff 100%);
  border: 2px solid var(--xh-sage-light);
  border-left: 4px solid var(--xh-sage);
  border-radius: 1.1rem;
  padding: 1.2rem 1.4rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.focus-card-sage:hover {
  box-shadow: 0 8px 24px rgba(123, 169, 154, 0.16);
  transform: translateY(-2px);
}

.focus-card-sage h3 { color: var(--xh-sage-deep); font-size: 0.95rem; margin-bottom: 0.35rem; }
.focus-card-sage p  { color: #4a5e57; font-size: 0.87rem; line-height: 1.6; }
.focus-card-sage .focus-card-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }

/* ???? Value pillars strip ???????????????????????????????????????????????????????????????????????????????????????????? */
.home-value-strip {
  background: var(--xh-oatmeal);
  border: 1.5px solid var(--xh-oatmeal-border);
  border-radius: var(--xh-radius);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow: hidden;
}

.home-value-pillar {
  align-items: center;
  border-right: 1.5px solid var(--xh-oatmeal-border);
  display: flex;
  flex: 1 1 140px;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
  padding: 1.1rem 0.8rem;
  text-align: center;
  transition: background 0.2s;
}

.home-value-pillar:last-child { border-right: none; }

.home-value-pillar:hover { background: var(--xh-sage-soft); }

.home-value-pillar-icon { font-size: 1.75rem; }
.home-value-pillar-word { color: var(--xh-sage-deep); font-size: 1.05rem; font-weight: 800; }
.home-value-pillar-desc { color: #6a7e76; font-size: 0.78rem; line-height: 1.4; }

/* ???? ??????Ｙ揣???About ?????????????????????????????????????????????????????????????????????????????????????? */
.learning-zone-section {
  background: linear-gradient(135deg, var(--xh-earth-light) 0%, var(--xh-oatmeal) 100%);
  border: 2px solid var(--xh-oatmeal-border);
  border-radius: var(--xh-radius-lg);
  padding: 2rem 2.25rem;
}

.learning-zone-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.25rem;
}

@media (max-width: 576px) {
  .learning-zone-grid { grid-template-columns: 1fr; }
}

.learning-zone-card {
  background: #fff;
  border: 1.5px solid var(--xh-oatmeal-border);
  border-radius: 1.1rem;
  border-top: 4px solid var(--xh-earth);
  padding: 1.1rem 1.25rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.learning-zone-card:hover {
  box-shadow: 0 6px 20px rgba(200, 168, 130, 0.18);
  transform: translateY(-2px);
}

.learning-zone-card:nth-child(2) { border-top-color: var(--xh-sage); }
.learning-zone-card:nth-child(3) { border-top-color: #ffb8b8; }
.learning-zone-card:nth-child(4) { border-top-color: var(--xh-accent); }

.lz-icon  { font-size: 1.8rem; margin-bottom: 0.4rem; }
.lz-title { color: #5d3e28; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.lz-role  { background: var(--xh-earth-light); border-radius: 999px; color: #8a6244; display: inline-block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; padding: 0.12rem 0.65rem; }
.lz-desc  { color: #6a5040; font-size: 0.84rem; line-height: 1.6; margin: 0; }

/* ???? About ?株???? ?????????????????????????????????????????????????????????????????????????????????????????? */
.honor-trust-section {
  background: #fffdf7;
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.honor-trust-lead {
  color: #5a5a5a;
  margin: 0 auto 2rem;
  max-width: 700px;
}

.honor-category-card {
  background: #fff;
  border-left: 4px solid #f5c842;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.2rem;
  padding: 1.4rem 1.6rem;
}

.honor-category-card.blue { border-left-color: #4a90e2; }
.honor-category-card.green { border-left-color: #5cb85c; }
.honor-category-card.pink { border-left-color: #e87d7d; }

.honor-category-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.honor-sub-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.honor-sub-list li {
  color: #444;
  font-size: 0.93rem;
  padding: 0.25rem 0 0.25rem 0.1rem;
}

.honor-sub-list li::before {
  color: #f5c842;
  content: "??";
  font-size: 0.8rem;
}

.honor-sub-list li.blue-dot::before { color: #4a90e2; }
.honor-sub-list li.green-dot::before { color: #5cb85c; }
.honor-sub-list li.pink-dot::before { color: #e87d7d; }

.honor-quote-block {
  background: #f9f4ff;
  border-left: 4px solid #a78bda;
  border-radius: 10px;
  color: #555;
  font-size: 0.92rem;
  font-style: italic;
  margin-top: 0.8rem;
  padding: 1rem 1.3rem;
}

.honor-badge {
  background: #eafaf1;
  border-radius: 20px;
  color: #27ae60;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.15rem 0.75rem;
  vertical-align: middle;
}

.honor-badge.gold {
  background: #fff8e1;
  color: #c07800;
}

.honor-badge-review {
  background: #ffeef0;
  color: #c0392b;
}

.home-section-title, .h1, .h2, .h3, h1, h2, h3, .page-title {
  color: var(--xh-primary-deep) !important;
  font-family: "Comfortaa", cursive;
  font-weight: 800;
}

.btn, .nav-link, .quick-nav-card, .news-card, .photo-category-card, .newparent-info-card, .focus-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover:not(.disabled), .quick-nav-card:hover, .news-card:hover, .newparent-info-card:hover, .focus-card:hover {
  box-shadow: var(--xh-shadow-btn-hover) !important;
  transform: translateY(-5px) scale(1.02);
}

.page-panel, .card, .about-content-card, .news-card {
  border-radius: var(--xh-radius-lg) !important;
  border-width: 2px !important;
}

.site-page, .home-page {
  animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ?????SEO / ??????????????????????????????????????????????????????????????????????????????????????????????????????*/
.home-parent-quote-section {
  background: var(--xh-accent-light);
  border: 2px solid #d4b8f0;
  border-radius: var(--xh-radius-lg);
  padding: 2rem 2.25rem;
}

.parent-quote-card {
  background: #fff;
  border-left: 4px solid var(--xh-accent);
  border-radius: 1rem;
  font-style: italic;
  padding: 1rem 1.3rem;
}

.parent-quote-card p { color: #5a4a6e; font-size: 0.92rem; line-height: 1.7; margin: 0; }
.parent-quote-author { color: #8e78a8; font-size: 0.8rem; font-style: normal; font-weight: 600; margin-top: 0.5rem; }

/* ???? Debug utility (hidden by default) ?????????????????????????????????????????????????????????????????? */
.ui-debug-version {
  background: #d20f39;
  border-bottom: 2px solid #7a001d;
  color: #ffe45e;
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.8rem;
  position: sticky;
  text-align: center;
  top: 0;
  z-index: 1200;
}

/* =====================================================================
   Announcements (News, Menu, Calendar, Schedule) - Macaron Style
   ===================================================================== */
.page-announcements .nav-pills {
  background: var(--xh-surface-soft);
  border: 2px solid var(--xh-border);
  border-radius: 4rem;
  padding: 0.6rem;
}

.page-announcements .nav-pills .nav-link {
  background-color: transparent;
  border: 2px solid transparent;
  color: var(--xh-text);
  font-family: "Comfortaa", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.page-announcements .nav-pills .nav-link.active {
  background-color: var(--xh-primary) !important;
  border-color: var(--xh-primary-deep);
  box-shadow: var(--xh-announcements-pill-active-shadow);
  color: #fff !important;
  transform: translateY(-4px) scale(1.05);
}

.page-announcements .nav-pills .nav-link:hover:not(.active) {
  background-color: var(--xh-announcements-nav-hover-bg);
  border-color: var(--xh-primary);
  color: var(--xh-primary-deep);
  transform: translateY(-2px);
}

.page-panel {
  animation: slideFadeUp 0.6s ease-out forwards;
  background: var(--xh-page-panel-bg);
  border: 2px solid var(--xh-page-panel-border) !important;
  border-radius: var(--xh-radius-lg);
  box-shadow: var(--xh-page-panel-shadow);
  overflow: hidden;
}

@keyframes slideFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-filter-card {
  background: var(--xh-menu-filter-bg) !important;
  border-color: var(--xh-inner-card-border) !important;
  padding: 1.8rem !important;
}

.menu-approval-chip {
  background: var(--xh-menu-chip-bg) !important;
  border: 1px dashed var(--xh-menu-chip-border) !important;
  color: var(--xh-menu-chip-value);
}

.menu-table { background: #fff; }
.menu-table thead th {
  background-color: var(--xh-menu-table-head-bg);
  border-bottom: 3px solid var(--xh-menu-table-head-border);
  color: var(--xh-menu-table-head-text);
  font-weight: 800;
  padding: 1rem 0.5rem;
}

.menu-table .menu-group-header {
  background-color: var(--xh-menu-table-group-bg);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-table tbody tr:hover { background-color: var(--xh-menu-table-hover-bg); }
.menu-mobile-card {
  border: 2px solid var(--xh-menu-mobile-border) !important;
  box-shadow: var(--xh-menu-mobile-shadow);
  transition: all 0.25s ease;
}

.menu-mobile-card:hover {
  border-color: var(--xh-menu-mobile-hover-border) !important;
  transform: translateY(-4px);
}

.announcements-footer-news {
  background: var(--xh-primary-soft);
  border: 2px solid var(--xh-primary);
  border-radius: var(--xh-radius-lg);
  margin-top: 4rem;
  padding: 2.5rem;
  position: relative;
}

.announcements-footer-news::before {
  color: var(--xh-primary);
  content: "??;
  font-size: 2rem;
  left: 1.5rem;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
}

.announcements-footer-news h3 {
  color: var(--xh-primary-deep);
  font-family: "Comfortaa", cursive;
  font-weight: 800;
}

/ *   C u s t o m   H T M L   M o n t h   M e n u   T a b l e   S t y l e s   * / . m e n u - c u s t o m - h t m l   t a b l e   {   w i d t h :   1 0 0 % ;   b o r d e r - c o l l a p s e :   c o l l a p s e ;   m a r g i n - b o t t o m :   1 r e m ;   }   . m e n u - c u s t o m - h t m l   t a b l e   t h ,   . m e n u - c u s t o m - h t m l   t a b l e   t d   {   b o r d e r :   1 p x   s o l i d   v a r ( - - x h - b o r d e r ) ;   p a d d i n g :   0 . 5 r e m ;   }   . m e n u - c u s t o m - h t m l   f i g u r e . t a b l e   {   m a r g i n :   0 ;   } 
 
 
