/* Source: normalized.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;600;700&display=swap');

.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-block {
  padding: 72px 0;
}

.page-block-lg {
  padding: 96px 0;
}

.section-divider {
  border-top: 1px solid #E5E7EB;
}

.warm-surface {
  background: #FDFBF7;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font: 700 12px/1.4 "Noto Sans TC", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B7791F;
}

.section-title {
  color: #2D3748;
}


.section-prose {
  color: #4A5568;
}

.section-prose p {
  margin: 0 0 16px;
  font: 400 16px/1.9 "Noto Sans TC", sans-serif;
  color: #4A5568;
  text-align: justify;
}

.section-prose p:last-child {
  margin-bottom: 0;
}

.section-prose ul,
.section-prose ol {
  margin: 16px 0 24px;
  padding: 0;
}

.section-prose li {
  margin: 0 0 12px;
  font: 400 16px/1.85 "Noto Sans TC", sans-serif;
  color: #4A5568;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none !important;
  font: 700 15px/1 "Noto Sans TC", sans-serif;
  transition: all 0.2s ease;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #B7791F;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(183, 121, 31, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #9C6518;
  border-bottom-color: #9C6518;
}

.accordion {
  margin: 0;
}

.accordion-item {
  position: relative;
}

.accordion-trigger {
  width: 100%;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  padding: 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  text-decoration: none !important;
  transition: color 0.2s ease, background-color 0.2s ease;
  outline: none !important;
}

.accordion-trigger:focus,
.accordion-trigger:focus-visible,
.accordion-trigger:active {
  outline: none !important;
  box-shadow: none !important;
}

.accordion-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  margin-top: 3px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: #C4A484;
  border-radius: 2px;
}

.accordion-icon::before {
  width: 18px;
  height: 1px;
  top: 8px;
  left: 0;
}

.accordion-icon::after {
  width: 1px;
  height: 18px;
  top: 0;
  left: 8px;
  transition: opacity 0.25s ease;
}

.accordion-item.is-open .accordion-icon::after {
  opacity: 0;
}

.accordion-body {
  display: none;
}

.accordion-item.is-open .accordion-body {
  display: block;
}

.accordion-body p {
  margin: 0 0 1.2rem;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body ul,
.accordion-body ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-body li {
  position: relative;
}

.dash-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dash-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font: 400 16px/1.85 "Noto Sans TC", sans-serif;
  color: #4A5568;
}

.dash-list li::before {
  content: "—";
  color: #C4A484;
  flex-shrink: 0;
  font-weight: 300;
}

.quote-callout {
  margin: 28px 0;
  padding: 24px;
  border-left: 3px solid #C4A484;
  background: #FDFBF7;
  border-radius: 0 6px 6px 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1rem;
  line-height: 1.9;
  color: #111827;
}

@media (max-width: 768px) {
  .page-container,
  .page-container-wide {
    padding: 0 20px;
  }

  .page-block {
    padding: 60px 0;
  }

  .page-block-lg {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.35rem;
    line-height: 1.45;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
  }

  .quote-callout {
    padding: 20px 20px 20px 24px;
  }
}

/* Source: normalized.css */
/* 共用手機底部導覽列 */
.shared-mobile-nav {
  display: none;
}
@media (max-width: 768px) {
  .psy-has-global-mobile-nav .shared-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9998;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    height: 60px;
    align-items: center;
  }
  .shared-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #A38666;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 10px;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    height: 60px;
  }
  .shared-nav-item:hover { color: #C4A484; }
  .shared-nav-item.is-active { color: #C4A484; }
  .shared-nav-item svg {
    width: 20px; height: 20px;
    fill: currentColor;
  }
  .shared-nav-line {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .shared-nav-line-circle {
    width: 46px; height: 46px;
    background: #d97757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .shared-nav-line-circle svg {
    width: 24px; height: 24px;
    fill: white;
  }
  /* 只有啟用全站 footer nav 的頁面才預留底部空間 */
  body.psy-has-global-mobile-nav {
    padding-bottom: 60px;
  }
}

/* Source: normalized.css */
/* 手機版隱藏 Astra header 殼與漢堡按鈕 */
@media (max-width: 768px) {
  .main-header-menu-toggle,
  .ast-mobile-menu-buttons {
    display: none !important;
  }
  .main-header-bar-wrap,
  .ast-desktop-header,
  #ast-desktop-header {
    display: none !important;
  }
  /* 把 body 推下來，留給品牌列用 */
  .ast-site-header-fix {
    height: 0 !important;
  }
  body.psy-has-mobile-brand-bar {
    padding-top: 48px !important;
    margin-top: 0 !important;
  }
}

/* 品牌列 */
.psybrand-bar {
  display: none;
}
@media (max-width: 768px) {
  .psybrand-bar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    padding: 13px 16px;
    text-align: center;
  }
  .psybrand-bar a {
    font-family: 'Noto Serif TC', serif;
    font-size: 14px;
    font-weight: 400;
    color: #7a5a3a;
    text-decoration: none;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }
}

/* Child theme additions */
@media (max-width: 921px) {
  #ast-scroll-top {
    display: none !important;
  }
}

#ast-scroll-top {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.96);
  border: 1px solid rgba(196, 164, 132, 0.55);
  box-shadow: 0 10px 24px rgba(90, 64, 38, 0.12);
  color: #8a6a4a;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
  background: #c4a484;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(122, 90, 58, 0.2);
  transform: translateY(-2px);
}

#ast-scroll-top .ast-icon,
#ast-scroll-top .ast-icon svg {
  color: currentColor;
  fill: currentColor;
}

@media (min-width: 922px) {
  #ast-desktop-header .ast-primary-header-bar,
  #ast-desktop-header .main-header-bar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #ece5dc;
    box-shadow: 0 8px 24px rgba(90, 64, 38, 0.05);
  }

  #ast-desktop-header .ast-builder-grid-row-container {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  #ast-desktop-header .site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #ast-desktop-header .site-title {
    display: block !important;
    margin: 0;
    font: 600 28px/1.15 "Noto Serif TC", serif;
    letter-spacing: 0.03em;
  }

  #ast-desktop-header .site-title a {
    color: #1f2937;
  }

  #ast-desktop-header .site-title a:hover {
    color: #7a5a3a;
  }

  #ast-desktop-header .site-description {
    display: block !important;
    margin: 0;
    font: 600 11px/1.4 "Noto Sans TC", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a38666;
  }

  #ast-desktop-header .main-header-menu,
  #ast-desktop-header .ast-builder-menu-1 .menu {
    gap: 8px;
  }

  #ast-desktop-header .main-header-menu > .menu-item > .menu-link,
  #ast-desktop-header .ast-builder-menu-1 .menu-link {
    padding: 10px 14px;
    font: 500 15px/1.4 "Noto Sans TC", sans-serif;
    letter-spacing: 0.02em;
    color: #4b5563;
  }

  #ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link,
  #ast-desktop-header .main-header-menu > .menu-item.current_page_item > .menu-link,
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
  #ast-desktop-header .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
  #ast-desktop-header .ast-builder-menu-1 .menu-item.current_page_item > .menu-link,
  #ast-desktop-header .ast-builder-menu-1 .menu-link:hover {
    color: #7a5a3a;
  }
}

.site-footer {
  border-top: 1px solid #ece5dc;
  background: #fcfaf7;
}

.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap,
.site-footer .site-above-footer-wrap {
  background: transparent;
}

.site-footer .ast-builder-grid-row-container {
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-footer,
.site-footer p,
.site-footer .ast-footer-copyright,
.site-footer .menu-link,
.site-footer a {
  font: 400 13px/1.75 "Noto Sans TC", sans-serif;
  color: #8a7a69;
}

.site-footer a:hover {
  color: #6b5848;
}

.site-footer .ast-footer-copyright {
  letter-spacing: 0.01em;
}

@media (max-width: 921px) {
  .site-footer .ast-builder-grid-row-container {
    padding-top: 14px;
    padding-bottom: 82px;
  }

  .site-footer,
  .site-footer p,
  .site-footer .ast-footer-copyright,
  .site-footer .menu-link,
  .site-footer a {
    font-size: 12px;
    text-align: center;
  }
}

.psy-desktop-line-float {
  display: none;
}

@media (min-width: 922px) {
  .psy-desktop-line-float {
    display: block;
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 9997;
  }

  .psy-line-float-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(253, 251, 247, 0.96);
    border: 1px solid rgba(196, 164, 132, 0.55);
    box-shadow: 0 16px 32px rgba(90, 64, 38, 0.14);
    color: #6b5848;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .psy-line-float-link:hover,
  .psy-line-float-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(90, 64, 38, 0.18);
    border-color: rgba(176, 144, 112, 0.8);
  }

  .psy-line-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #4fd166 0%, #2fb344 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #ffffff;
    flex-shrink: 0;
  }

  .psy-line-float-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
  }

  .psy-line-float-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .psy-line-float-kicker {
    font: 700 10px/1 "Noto Sans TC", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b09070;
  }

  .psy-line-float-label {
    font: 600 14px/1.35 "Noto Sans TC", sans-serif;
    color: #6b5848;
    white-space: nowrap;
  }
}

@media (min-width: 922px) and (max-width: 1080px) {
  .psy-line-float-link {
    padding-right: 12px;
  }

  .psy-line-float-text {
    display: none;
  }
}
