/*
Theme Name: Xuanxue Child
Description: Elementor presentation for the local Five Elements site.
Template: hello-elementor
Version: 0.1.0
Text Domain: xuanxue-child
*/

:root {
  --xw-ink: #242924;
  --xw-muted: #626862;
  --xw-line: #dfe3df;
  --xw-paper: #fff;
  --xw-soft: #f3f5f2;
  --xw-red: #a64035;
  --xw-wood: #3d7257;
  --xw-fire: #b24b40;
  --xw-earth: #917236;
  --xw-metal: #636b76;
  --xw-water: #377b8b;
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--xw-paper); color: var(--xw-ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
body, button, input, select, textarea, .elementor * { letter-spacing: 0; }
body h1, body h2, body h3, .elementor-heading-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--xw-ink); }
body a { color: inherit; text-underline-offset: 4px; }
body a:hover { color: var(--xw-red); }
.xw-brand-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--xw-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 400; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.xw-brand-mark { display: block; width: 40px; height: 40px; flex: 0 0 40px; }
.xw-brand-name { overflow: hidden; text-overflow: ellipsis; }
.site-branding .custom-logo-link .custom-logo { display: block; width: auto; max-width: 240px; height: auto; max-height: 54px; }
.site-header .site-branding .site-title.xw-default-brand:not(.hide) { display: flex; line-height: 1; margin: 0; }
.site-header .site-branding .site-description { color: var(--xw-muted); font-size: 12px; line-height: 1.4; margin: 4px 0 0; max-inline-size: 36ch; text-wrap: balance; }
.site-footer .xw-brand-link { font-size: 21px; }
.site-footer .xw-brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--xw-water); outline-offset: 4px; }
.elementor .elementor-button { border-radius: 2px; min-height: 48px; display: inline-flex; align-items: center; padding: 14px 24px; background: var(--xw-red); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 600; }
.elementor .elementor-button:hover { background: #803027; color: #fff; }
.elementor .elementor-button-content-wrapper { align-items: center; gap: 14px; }
.elementor .elementor-button-icon { font-size: 12px; }
.elementor .elementor-button-icon svg { fill: currentColor; }
.elementor .xw-outline .elementor-button { background: transparent; border: 1px solid currentColor; color: var(--xw-ink); }
.elementor .xw-outline .elementor-button:hover { background: var(--xw-soft); }
.elementor .xw-text-link .elementor-button { padding: 10px 0; background: none; color: var(--xw-ink); min-height: 44px; border-radius: 0; border-bottom: 1px solid var(--xw-ink); }
.elementor .xw-text-link .elementor-button:hover { color: var(--xw-red); }
.xw-shell.e-con { width: 100%; max-width: 1280px; margin-inline: auto; padding: 0; }
.xw-band.e-con { padding: 80px 48px; }
.xw-soft.e-con { background: var(--xw-soft); }
.xw-rule.e-con { border-top: 1px solid var(--xw-line); }
.xw-eyebrow, .xw-eyebrow p { color: var(--xw-red); text-transform: uppercase; font-size: 11px; font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1.6; }
.elementor .xw-eyebrow.elementor-widget { margin-block-end: 12px; }
.xw-section-heading .elementor-heading-title { font-size: 38px; line-height: 1.2; }
.elementor .xw-section-heading.elementor-widget { margin-block-end: 20px; }
.xw-prose { color: var(--xw-muted); font-size: 17px; max-width: 660px; }
.xw-prose p + p { margin-top: 16px; }
.xw-actions.e-con { flex-direction: row; gap: 14px; flex-wrap: wrap; padding: 0; margin-top: 26px; }
.xw-actions > .elementor-widget { width: auto; max-width: 100%; }
.xw-announcement.e-con { background: var(--xw-ink); color: #fff; padding: 7px 24px; text-align: center; min-height: 32px; justify-content: center; font-size: 11px; line-height: 1.5; }
.xw-announcement .elementor-widget-text-editor { color: #fff; }
.xw-announcement.e-con { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.xw-announcement .elementor-widget-text-editor { width: auto; flex: 1 1 280px; }
.xw-announcement .xw-global-language { width: auto; flex: 0 0 auto; }
.xw-language-switcher { display: flex; align-items: center; }
.xw-language-switcher select { width: 144px; max-width: 100%; min-height: 36px; padding: 6px 24px 6px 10px; border: 1px solid #788178; border-radius: 2px; background: #fff; color: #242924; font: 13px/1.4 Arial, Helvetica, sans-serif; }
.site-header.xw-native-header-has-language, .site-header.xw-native-header-has-language .header-inner { align-items: center; gap: 12px; }
.site-header.xw-native-header-has-language .site-branding { min-width: 0; flex: 0 1 230px; }
.site-header.xw-native-header-has-language .xw-native-language { flex: 0 0 auto; max-width: 100%; margin-inline-start: 0; }
.site-header.xw-native-header-has-language .xw-language-switcher select { min-height: 44px; }
.site-header.xw-native-header-has-language .site-navigation { margin-inline-start: 0; }
.xw-native-account { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--xw-line); border-radius: 2px; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.xw-native-account:hover { border-color: var(--xw-red); }
.site-header.xw-native-header-has-language .xw-native-account { flex: 0 0 auto; }
.site-header.header-stacked.xw-native-header-has-language .site-branding { flex: 0 1 auto; }
.site-header.header-stacked.xw-native-header-has-language .xw-native-language { align-self: flex-end; margin-inline: auto 0; }
.site-header.header-stacked.xw-native-header-has-language .site-navigation { margin-inline: 0; }
@media (max-width: 1199px) {
  .site-header.menu-dropdown-tablet.xw-native-header-has-language .site-navigation { display: none !important; }
  .site-header.menu-dropdown-tablet.xw-native-header-has-language .site-navigation-toggle-holder { display: flex !important; flex: 0 0 auto; margin: 0; padding: 0; }
  .site-header.xw-native-header-has-language .site-navigation-toggle { min-width: 44px; min-height: 44px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header.xw-native-header-has-language .site-branding { flex: 1 1 230px; width: auto; max-width: none; }
  .site-header.xw-native-header-has-language .xw-native-account { margin-inline-start: 0; }
}
@media (max-width: 767px) {
  .site-header.xw-native-header-has-language .site-branding { flex-basis: 100%; width: 100%; max-width: none; }
  .site-header.xw-native-header-has-language .xw-native-account { margin-inline-start: auto; }
  .site-header.header-stacked.xw-native-header-has-language .site-branding { flex-basis: auto; }
  .site-header.header-stacked.xw-native-header-has-language .site-navigation-toggle-holder { margin-inline: auto; }
}
@media (max-width: 575px) {
  .site-header.xw-native-header-has-language .header-inner { gap: 8px; }
  .site-header.xw-native-header-has-language .xw-native-account { padding-inline: 8px; }
  .site-header.xw-native-header-has-language .xw-native-language { flex: 0 1 120px; }
  .site-header.xw-native-header-has-language .xw-language-switcher select { width: 120px; min-height: 44px; padding-inline: 8px 22px; font-size: 16px; }
}
.xw-header.e-con { border-bottom: 1px solid var(--xw-line); padding: 0 48px; background: #fff; position: relative; z-index: 20; }
.xw-header-inner.e-con { min-height: 82px; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 24px; }
.xw-wordmark.elementor-widget { width: auto; flex: 0 0 auto; max-width: 240px; }
.xw-wordmark .elementor-heading-title { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; line-height: 1.2; font-weight: 400; color: var(--xw-ink); }
.xw-wordmark a { text-decoration: none; }
.xw-nav.elementor-widget { flex: 1 1 auto; width: auto; min-width: 0; }
.xw-nav .elementor-nav-menu { gap: 8px; }
.xw-nav .elementor-nav-menu .elementor-item { font-family: Arial, Helvetica, sans-serif; color: var(--xw-ink); font-size: 13px; font-weight: 500; padding: 20px 12px; }
.xw-nav .elementor-nav-menu .elementor-item:hover, .xw-nav .elementor-nav-menu .elementor-item-active { color: var(--xw-red); }
.xw-header-tools.e-con { width: auto; flex: 0 0 auto; flex-direction: row; gap: 8px; align-items: center; padding: 0; }
.xw-header-tools .elementor-widget-icon { width: 38px; }
.xw-header-tools .elementor-icon { font-size: 17px; color: var(--xw-ink); width: 38px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.xw-header-tools .elementor-icon:hover { color: var(--xw-red); }
.xw-hero.e-con { min-height: 540px; padding: 72px 48px; justify-content: center; color: #fff; background-color: #254533; }
.xw-hero-copy.e-con { max-width: 620px; padding: 0; }
.xw-hero .xw-eyebrow p { color: #e4eddf; }
.xw-hero h1.elementor-heading-title { color: #fff; font-size: 68px; line-height: 1.12; font-weight: 400; }
.elementor .xw-hero-title.elementor-widget { margin: 0 0 22px; }
.xw-hero .xw-prose { color: #f4f7f2; font-size: 19px; line-height: 1.7; max-width: 470px; }
.xw-hero .xw-outline .elementor-button { color: #fff; }
.xw-hero .xw-outline .elementor-button:hover { background: rgba(255,255,255,.12); }
.xw-hero .elementor-button { background: #fff; color: var(--xw-ink); }
.xw-hero .elementor-button:hover { background: #e6ebe4; }
body .elementor .xw-hero.xw-generated-hero.e-con { background-position: center bottom; color: #202923; }
.xw-generated-hero .xw-hero-copy.e-con { max-width: 520px; }
.xw-generated-hero h1.elementor-heading-title { color: #202923; }
.xw-generated-hero .xw-eyebrow p { color: #38463e; }
.xw-generated-hero .xw-prose { color: #29382f; max-width: 430px; }
.xw-generated-hero .elementor-button { background: #253e30; color: #fff; }
.xw-generated-hero .elementor-button:hover { background: #375a45; color: #fff; }
.xw-generated-hero .xw-outline .elementor-button { background: transparent; color: #253e30; }
.xw-generated-hero .xw-outline .elementor-button:hover { background: rgba(255,255,255,.4); }
@media (min-width: 2000px) {
  body .elementor .xw-hero.xw-generated-hero.e-con { min-height: min(740px, calc(100svh - 225px)); }
}
.xw-generated-reference.xw-band.e-con { padding-top: 0; }
.xw-generated-reference .xw-museum-image img { aspect-ratio: 3 / 2; max-height: 440px; }
.xw-elements-band.e-con { padding: 0 48px; border-bottom: 1px solid var(--xw-line); }
.xw-element-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1280px; margin-inline: auto; }
.xw-element-link { display: flex; align-items: center; gap: 16px; padding: 26px 18px; text-decoration: none; border-top: 3px solid var(--element-color); border-right: 1px solid var(--xw-line); }
.xw-element-link:first-child { border-left: 1px solid var(--xw-line); }
.xw-element-link:hover { background: var(--xw-soft); }
.xw-element-character { font-family: Georgia, serif; font-size: 32px; color: var(--element-color); }
.xw-element-link strong { display: block; font-size: 15px; font-weight: 600; }
.xw-element-link small { display: block; margin-top: 3px; color: var(--xw-muted); font-size: 11px; }
.xw-wood { --element-color: var(--xw-wood); --element-surface: #edf3ed; }
.xw-fire { --element-color: var(--xw-fire); --element-surface: #faf0ed; }
.xw-earth { --element-color: var(--xw-earth); --element-surface: #f5f3e7; }
.xw-metal { --element-color: var(--xw-metal); --element-surface: #eef0f3; }
.xw-water { --element-color: var(--xw-water); --element-surface: #eaf3f5; }
.xw-editorial-grid.e-con { flex-direction: row; align-items: center; gap: 80px; }
.xw-editorial-copy.e-con { padding: 0; width: 50%; }
.xw-editorial-art.e-con { padding: 0; width: 50%; }
.xw-museum-image img { width: 100%; max-height: 480px; aspect-ratio: 1 / 1; object-fit: contain; background: #f0f1ef; }
.xw-caption { font-size: 11px; line-height: 1.6; color: var(--xw-muted); margin-top: 10px; }
.xw-caption a { text-decoration: underline; }
.xw-topic-grid.e-con { flex-direction: row; gap: 32px; align-items: stretch; }
.xw-topic.e-con { width: 33.333%; padding: 26px 0 0; border-top: 1px solid var(--xw-line); gap: 14px; }
.xw-topic-number { color: var(--xw-red); font-size: 12px; }
.xw-topic h3.elementor-heading-title { font-size: 25px; line-height: 1.25; }
.xw-topic .xw-prose { font-size: 15px; }
.xw-topic .xw-text-link { margin-top: auto; }
.xw-page-intro.e-con { padding: 68px 48px 48px; }
.xw-page-intro h1.elementor-heading-title { font-size: 54px; line-height: 1.15; margin-bottom: 20px; }
.xw-page-intro .xw-prose { max-width: 720px; font-size: 18px; }
.xw-content-band.e-con { padding: 0 48px 80px; }
.xw-reading.e-con { max-width: 850px; }
.xw-reading h2.elementor-heading-title { font-size: 32px; line-height: 1.3; }
.elementor .xw-reading > .elementor-widget { margin-block-end: 22px; }
.xw-reading .elementor-widget-text-editor { color: var(--xw-muted); font-size: 17px; }
.xw-reading a, .xw-prose a { text-decoration: underline; }
.xw-explorer { border: 1px solid var(--xw-line); border-radius: 4px; overflow: hidden; }
.xw-element-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; }
button.xw-element-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 104px; padding: 14px 8px; border: 0; border-radius: 0; border-right: 1px solid var(--xw-line); border-bottom: 3px solid transparent; background: #fff; color: var(--xw-muted); cursor: pointer; }
button.xw-element-tab:last-child { border-right: 0; }
button.xw-element-tab span { font-family: Georgia, serif; font-size: 27px; color: var(--element-color); line-height: 1; }
button.xw-element-tab strong { font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 500; }
button.xw-element-tab:hover, button.xw-element-tab[aria-selected="true"] { background: var(--element-surface); color: var(--element-color); border-bottom-color: var(--element-color); }
.xw-element-panel { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 415px; gap: 56px; padding: 48px; border-top: 1px solid var(--xw-line); align-items: center; }
.xw-element-panel[hidden] { display: none; }
.xw-element-display { display: flex; align-items: center; justify-content: center; height: 280px; background: var(--element-surface); color: var(--element-color); font-family: Georgia, serif; font-size: 120px; border-top: 4px solid var(--element-color); }
.xw-element-description h2 { margin: 10px 0 18px; font-size: 34px; line-height: 1.2; }
.xw-element-description > p { font-size: 15px; color: var(--xw-muted); }
.xw-element-description > .xw-eyebrow { color: var(--element-color); font-size: 11px; }
.xw-correspondences { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin: 24px 0 0; }
.xw-correspondences dt { font-size: 11px; color: var(--xw-muted); margin-bottom: 3px; }
.xw-correspondences dd { font-size: 14px; margin: 0; font-weight: 500; }
.xw-reference-note { padding: 15px 24px; margin: 0; background: var(--xw-soft); font-size: 12px; color: var(--xw-muted); border-top: 1px solid var(--xw-line); }
.xw-trigrams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.xw-trigram { border-top: 2px solid var(--xw-line); border-bottom: 1px solid var(--xw-line); }
.xw-trigram summary { display: flex; align-items: center; gap: 18px; cursor: pointer; padding: 22px 4px; list-style: none; }
.xw-trigram summary::-webkit-details-marker { display: none; }
.xw-trigram summary::after { content: '+'; margin-left: auto; color: var(--xw-muted); }
.xw-trigram[open] summary::after { content: '-'; }
.xw-trigram-symbol { font-family: 'Arial Unicode MS', 'DejaVu Sans', sans-serif; font-size: 38px; line-height: 1; }
.xw-trigram summary strong { display: block; font-size: 17px; font-weight: 500; }
.xw-trigram summary small { display: block; font-size: 12px; color: var(--xw-muted); }
.xw-trigram p { padding: 0 4px 22px; color: var(--xw-muted); font-size: 14px; line-height: 1.7; }
.xw-trigram[open] { border-top-color: var(--xw-red); }
.xw-status { border-left: 3px solid var(--xw-red); background: var(--xw-soft); padding: 18px 22px; color: var(--xw-muted); font-size: 14px; }
.xw-pillar-grid.e-con { flex-direction: row; gap: 28px; }
.xw-pillar.e-con { padding: 26px 0; width: 25%; gap: 10px; border-top: 2px solid var(--xw-line); }
.xw-pillar h3.elementor-heading-title { font-size: 25px; }
.xw-pillar p { font-size: 14px; color: var(--xw-muted); }
.xw-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.xw-category-card { display: block; text-decoration: none; color: var(--xw-ink); border-top: 2px solid var(--xw-ink); padding-top: 24px; }
.xw-category-card:hover { border-top-color: var(--xw-red); }
.xw-category-content h3 { font-size: 27px; margin: 0 0 12px; }
.xw-category-content p { color: var(--xw-muted); font-size: 15px; }
.xw-category-meta { display: inline-block; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid var(--xw-line); font-size: 12px; color: var(--xw-muted); }
.xw-category-image { aspect-ratio: 4 / 3; margin-bottom: 22px; overflow: hidden; }
.xw-category-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xw-shop-empty { margin-top: 36px; padding: 18px 22px; background: var(--xw-soft); color: var(--xw-muted); font-size: 14px; }
.elementor-products-nothing-found { margin-top: 36px; padding: 18px 22px; background: var(--xw-soft); color: var(--xw-muted); font-size: 14px; }
.xw-footer.e-con { padding: 58px 48px 26px; background: #eff2ee; border-top: 1px solid var(--xw-line); }
.xw-footer-top.e-con { flex-direction: row; gap: 80px; align-items: flex-start; }
.xw-footer-brand.e-con { width: 45%; gap: 16px; padding: 0; }
.xw-footer-brand .xw-prose { max-width: 330px; font-size: 14px; }
.xw-footer-links.e-con { width: 27.5%; gap: 12px; padding: 0; }
.xw-footer-links h3.elementor-heading-title { font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.xw-footer-links .elementor-widget-text-editor { font-size: 13px; color: var(--xw-muted); }
.xw-footer-links p { margin-bottom: 8px; }
.xw-footer-links a { text-decoration: none; }
.xw-footer-bottom.e-con { border-top: 1px solid #d7ddd5; margin-top: 42px; padding: 22px 0 0; flex-direction: row; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--xw-muted); }
.xw-footer-bottom > .elementor-widget { width: auto; }
.woocommerce main.site-main, body.woocommerce-page main.site-main { max-width: 1280px; padding: 58px 48px 80px; min-height: 450px; }
.woocommerce h1, .woocommerce-page h1 { font-size: 48px; }
.woocommerce h2, .woocommerce-page h2 { font-size: 30px; }
.woocommerce .woocommerce-breadcrumb { font-size: 12px; color: var(--xw-muted); margin-bottom: 24px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-size: 13px; }
/* Keep full product photographs inside equal archive and embedded grid frames. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f3f5f2;
}
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message { background: var(--xw-soft); border-top-color: var(--xw-wood); color: var(--xw-ink); font-size: 14px; }
.woocommerce .woocommerce-info::before { color: var(--xw-wood); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--xw-red); color: #fff; border-radius: 2px; padding: 15px 22px; font-size: 14px; font-weight: 500; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #803027; color: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form select { border: 1px solid #c8cfc8; border-radius: 2px; background: #fff; padding: 12px; min-height: 46px; color: var(--xw-ink); }
.woocommerce form.login, .woocommerce form.register { border-radius: 4px; border-color: var(--xw-line); max-width: 650px; padding: 28px; }
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme { margin-left: 15px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 0; text-decoration: none; font-size: 14px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--xw-red); }
.woocommerce table.shop_table { border-radius: 2px; }

@media (min-width: 768px) and (max-height: 740px) {
  .xw-hero.e-con { min-height: 420px; padding-block: 45px; }
}
@media (max-width: 1100px) {
  .xw-header.e-con, .xw-hero.e-con, .xw-elements-band.e-con { padding-inline: 32px; }
  .xw-band.e-con, .xw-page-intro.e-con, .xw-content-band.e-con, .xw-footer.e-con { padding-inline: 32px; }
  .xw-header-inner.e-con { gap: 12px; }
  .xw-nav .elementor-nav-menu .elementor-item { padding-inline: 8px; }
  .xw-editorial-grid.e-con { gap: 40px; }
  .xw-element-link { gap: 10px; padding: 24px 12px; }
  .xw-element-link small { font-size: 10px; }
  .xw-element-panel { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 36px; }
  .xw-element-display { height: 250px; }
}
@media (max-width: 1024px) {
  .xw-nav.elementor-widget { margin-left: auto; flex: 0 0 44px; }
  .xw-nav .elementor-menu-toggle { min-height: 44px; min-width: 44px; padding: 9px; color: var(--xw-ink); background: none; border: 0; border-radius: 0; margin-left: auto; }
  .xw-nav .elementor-nav-menu--dropdown { background: #fff; border: 1px solid var(--xw-line); box-shadow: 0 10px 24px #0000000a; }
  .xw-nav .elementor-nav-menu--dropdown .elementor-item { padding: 15px 24px; }
  .xw-header-tools.e-con { gap: 0; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .xw-brand-link { font-size: 21px; gap: 8px; }
  .xw-brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .xw-header.e-con, .xw-hero.e-con { padding-inline: 24px; }
  .xw-header-inner.e-con { min-height: 70px; gap: 10px; }
  .xw-wordmark .elementor-heading-title { font-size: 21px; }
  .xw-header-tools .elementor-widget-icon { width: 32px; }
  .xw-header-tools .elementor-icon { width: 32px; font-size: 16px; }
  .xw-header-tools.e-con { gap: 0; }
  .xw-hero.e-con { min-height: 460px; padding-block: 54px; }
  .xw-hero h1.elementor-heading-title { font-size: 44px; }
  .xw-hero .xw-prose { font-size: 17px; }
  .elementor .xw-hero-title.elementor-widget { margin-block-end: 18px; }
  .xw-actions.e-con { gap: 10px; margin-top: 24px; }
  .elementor .elementor-button { padding: 13px 17px; font-size: 13px; }
  .xw-elements-band.e-con { padding: 0; }
  .xw-element-links { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xw-element-link { flex-direction: column; gap: 7px; padding: 18px 4px; text-align: center; }
  .xw-element-link small { display: none; }
  .xw-element-link strong { font-size: 11px; }
  .xw-element-character { font-size: 26px; }
  .xw-band.e-con { padding: 54px 24px; }
  .xw-section-heading .elementor-heading-title { font-size: 31px; }
  .xw-prose { font-size: 16px; }
  .xw-editorial-grid.e-con { flex-direction: column; gap: 34px; }
  .xw-editorial-copy.e-con, .xw-editorial-art.e-con { width: 100%; }
  .xw-museum-image img { max-height: 370px; }
  .xw-topic-grid.e-con, .xw-pillar-grid.e-con { flex-direction: column; gap: 26px; }
  .xw-topic.e-con, .xw-pillar.e-con { width: 100%; }
  .xw-topic.e-con { padding-top: 24px; gap: 14px; }
  .xw-page-intro.e-con { padding: 46px 24px 32px; }
  .xw-page-intro h1.elementor-heading-title { font-size: 40px; }
  .xw-page-intro .xw-prose { font-size: 16px; }
  .xw-content-band.e-con { padding: 0 24px 54px; }
  .xw-element-tab { height: 84px; }
  button.xw-element-tab { height: 88px; }
  button.xw-element-tab span { font-size: 25px; }
  button.xw-element-tab strong { font-size: 11px; }
  .xw-element-panel { grid-template-columns: 1fr; grid-template-rows: 110px 1fr; padding: 24px; gap: 24px; min-height: 605px; align-items: start; }
  .xw-element-display { height: 110px; font-size: 66px; }
  .xw-element-description h2 { font-size: 28px; }
  .xw-element-description > p { font-size: 14px; }
  .xw-correspondences { gap: 20px 16px; }
  .xw-correspondences dd { font-size: 12px; }
  .xw-reference-note { padding: 16px 20px; font-size: 11px; }
  .xw-trigrams { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .xw-trigram summary { gap: 12px; padding: 22px 0; }
  .xw-trigram-symbol { font-size: 30px; }
  .xw-trigram summary strong { font-size: 15px; }
  .xw-trigram summary small { font-size: 11px; }
  .xw-category-grid { grid-template-columns: 1fr; gap: 28px; }
  .xw-footer.e-con { padding: 42px 24px 24px; }
  .xw-footer-top.e-con { flex-wrap: wrap; gap: 34px; }
  .xw-footer-brand.e-con { width: 100%; }
  .xw-footer-links.e-con { width: calc(50% - 17px); }
  .xw-footer-bottom.e-con { flex-direction: column; gap: 10px; margin-top: 30px; }
  .woocommerce main.site-main, body.woocommerce-page main.site-main { padding: 38px 24px 60px; }
  .woocommerce h1, .woocommerce-page h1 { font-size: 36px; }
  .woocommerce form.login, .woocommerce form.register { padding: 20px; }
}
@media (max-width: 360px) {
  .xw-header.e-con { padding-inline: 16px; }
  .xw-wordmark .elementor-heading-title { font-size: 19px; }
  .xw-header-tools .elementor-widget-icon { width: 27px; }
  .xw-header-tools .elementor-icon { width: 27px; }
  .xw-hero h1.elementor-heading-title { font-size: 39px; }
}
@media (max-width: 767px) {
  .elementor .xw-generated-hero.e-con { height: min(590px, calc(100svh - 205px)); min-height: 0; padding: 28px 24px; justify-content: flex-start; background-position: center bottom; }
  .xw-generated-hero .xw-hero-copy.e-con { max-width: 100%; }
  .xw-generated-reference .xw-museum-image img { max-height: 320px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body .elementor .xw-hero.xw-generated-hero.e-con { background-position: right bottom; }
  .xw-generated-hero .xw-hero-copy.e-con { max-width: 48%; }
  .xw-generated-hero h1.elementor-heading-title { font-size: 48px; }
  .xw-generated-hero .xw-prose { font-size: 16px; }
  .xw-generated-hero .xw-actions.e-con { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) and (max-height: 650px) {
  .xw-hero.e-con { min-height: 400px; padding-block: 36px; }
  body .elementor .xw-hero.xw-generated-hero.e-con { height: calc(100svh - 185px); min-height: 0; padding: 18px 20px; background-size: auto 100%; background-repeat: no-repeat; background-color: #afb0ac; }
  .xw-generated-hero h1.elementor-heading-title { font-size: 32px; }
  .xw-generated-hero .xw-prose { font-size: 13px; line-height: 1.5; }
  .xw-generated-hero .xw-eyebrow { margin-bottom: 10px; }
  .elementor .xw-generated-hero .xw-hero-title.elementor-widget { margin-bottom: 10px; }
  .xw-generated-hero .xw-actions.e-con { margin-top: 12px; gap: 8px; }
  .xw-generated-hero .elementor-button { font-size: 11px; padding: 11px 12px; }
}
.xw-archive-links { margin-block: 24px; }
.xw-archive-links p { margin-bottom: 8px; font-weight: 600; }
.xw-archive-links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; }
.xw-archive-links a { display: inline-block; padding-block: 10px; text-underline-offset: 4px; }
.archive-description, .term-description { max-width: 75ch; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
