/* M10 shared design system. Module page styles belong in their own directory. */
:is(body.wbh-site, .editor-styles-wrapper) {
  --wbh-paper: #f6f8f7;
  --wbh-surface: #ffffff;
  --wbh-ink: #102c36;
  --wbh-muted: #62737a;
  --wbh-gold: #927744;
  --wbh-accent: #59a8b4;
  --wbh-blue: #005bee;
  --wbh-line: #dce5e4;
  --wbh-radius: 20px;
  --wbh-container: 1200px;
  --wbh-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  margin: 0;
  background: var(--wbh-paper);
  color: var(--wbh-ink);
  font-family: var(--wbh-font);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
:is(body.wbh-site, .editor-styles-wrapper) *,
:is(body.wbh-site, .editor-styles-wrapper) *::before,
:is(body.wbh-site, .editor-styles-wrapper) *::after { box-sizing: border-box; }
:is(body.wbh-site, .editor-styles-wrapper) a { color: inherit; text-underline-offset: .2em; }
:is(body.wbh-site, .editor-styles-wrapper) a:hover { color: var(--wbh-gold); }
:is(body.wbh-site, .editor-styles-wrapper) :focus-visible { outline: 3px solid var(--wbh-blue); outline-offset: 4px; }
:is(body.wbh-site, .editor-styles-wrapper) img { max-width: 100%; height: auto; vertical-align: middle; }
:is(body.wbh-site, .editor-styles-wrapper) video,
:is(body.wbh-site, .editor-styles-wrapper) iframe { max-width: 100%; }
:is(body.wbh-site, .editor-styles-wrapper) button,
:is(body.wbh-site, .editor-styles-wrapper) input,
:is(body.wbh-site, .editor-styles-wrapper) textarea { font: inherit; }
body.wbh-site [hidden] { display: none !important; }
body.wbh-site .wbh-container { width: min(var(--wbh-container), calc(100% - 64px)); margin-inline: auto; }
body.wbh-site .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.wbh-site .wbh-skip-link { position: fixed; top: 12px; left: 12px; z-index: 100000; padding: 10px 20px; background: var(--wbh-ink); color: var(--wbh-paper); transform: translateY(-160%); }
body.wbh-site .wbh-skip-link:focus { transform: none; }
body.wbh-site .wbh-header { border-bottom: 1px solid #24434b; background: #0e2832; color: #e9f1f1; }
body.wbh-site .wbh-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 100px; padding-block: 18px; }
body.wbh-site .wbh-header-cart { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid #33505a; border-radius: 10px; background: transparent; color: #e9f1f1; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
body.wbh-site .wbh-header-cart:hover { color: #ffffff; border-color: var(--wbh-accent); }
body.wbh-site .wbh-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; border-radius: 50%; background: var(--wbh-accent); color: #102c36; font-size: 11px; }
@media (min-width: 761px) { body.wbh-site .wbh-header-cart { order: 3; } body.wbh-site .wbh-header-inner { gap: 18px; } }
body.wbh-site .wbh-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
body.wbh-site .wbh-brand-avatar,
body.wbh-site .custom-logo-link { display: block; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; overflow: hidden; }
body.wbh-site .wbh-brand-avatar img,
body.wbh-site .custom-logo { width: 100%; height: 100%; object-fit: cover; }
body.wbh-site .wbh-brand-copy { display: flex; flex-direction: column; min-width: 0; }
body.wbh-site .wbh-brand-name { font-weight: 700; font-size: 22px; line-height: 1.4; letter-spacing: -.035em; text-decoration: none; }
body.wbh-site .wbh-brand-tagline { font-size: 11px; color: #9ab3bc; letter-spacing: .03em; }
body.wbh-site .wbh-navigation .wbh-menu { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; padding: 0; list-style: none; }
body.wbh-site .wbh-navigation .wbh-menu a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #d1e0e4; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
@media (min-width: 761px) and (max-width: 1180px) {
  body.wbh-site .wbh-brand-tagline { display: none; }
  body.wbh-site .wbh-navigation .wbh-menu { gap: 4px; }
  body.wbh-site .wbh-navigation .wbh-menu a { padding-inline: 10px; }
}
body.wbh-site .wbh-navigation .wbh-menu a:hover { border-color: #33505a; background: #1c3c46; color: #ffffff; }
body.wbh-site .wbh-navigation .wbh-menu :is(.current-menu-item, .current_page_item) > a,
body.wbh-site:is(.blog, .single-post, .category, .tag, .date, .author, .search) .wbh-navigation .wbh-menu .current_page_parent > a { border-color: #33505a; background: #1c3c46; color: #75c8d0; }
body.wbh-site .wbh-navigation .wbh-menu :is(.current-menu-item, .current_page_item) > a:hover,
body.wbh-site:is(.blog, .single-post, .category, .tag, .date, .author, .search) .wbh-navigation .wbh-menu .current_page_parent > a:hover { border-color: var(--wbh-accent); background: #1c3c46; color: #ffffff; }
body.wbh-site .wbh-navigation :is(.wbh-menu a, .wbh-menu-toggle):focus-visible { outline: 3px solid var(--wbh-blue); outline-offset: 3px; }
body.wbh-site .wbh-navigation .wbh-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 9px 12px; border: 1px solid #33505a; border-radius: 10px; background: transparent; color: #e9f1f1; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; }
body.wbh-site .wbh-navigation .wbh-menu-toggle:hover { border-color: var(--wbh-accent); background: #1c3c46; }
body.wbh-site .wbh-navigation .wbh-menu-toggle[aria-expanded="true"] { border-color: var(--wbh-accent); background: #1c3c46; color: #ffffff; }
body.wbh-site .wbh-toggle-icon { line-height: 1; font-size: 19px; }
body.wbh-site .wbh-content { padding-block: 56px 80px; }
:is(body.wbh-site, .editor-styles-wrapper) .wbh-prose { max-width: 800px; margin-inline: auto; }
:is(body.wbh-site, .editor-styles-wrapper) :is(h1, h2, h3, h4) { font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
:is(body.wbh-site, .editor-styles-wrapper) h1 { font-size: clamp(32px, 5vw, 52px); }
:is(body.wbh-site, .editor-styles-wrapper) h2 { font-size: clamp(25px, 3.5vw, 34px); }
:is(body.wbh-site, .editor-styles-wrapper) h3 { font-size: 23px; }
:is(body.wbh-site, .editor-styles-wrapper) :is(p, ul, ol, figure, blockquote) { margin-block: 0 1.4em; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-heading { margin-block: 1.6em .65em; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-group { min-width: 0; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-image img { border-radius: 14px; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-image figcaption { color: var(--wbh-muted); font-size: 13px; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-columns { gap: 32px; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-column { min-width: 0; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-button__link,
body.wbh-site .wbh-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--wbh-ink); color: var(--wbh-surface); border: 1px solid var(--wbh-ink); border-radius: 999px; padding: 12px 23px; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-button__link:hover,
body.wbh-site .wbh-button:hover { background: #345044; color: var(--wbh-surface); }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link,
body.wbh-site .wbh-button--outline { background: transparent; color: var(--wbh-ink); border-color: var(--wbh-line); }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-table { overflow-x: auto; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-table table { width: 100%; border-collapse: collapse; }
:is(body.wbh-site, .editor-styles-wrapper) .wp-block-table :is(td, th) { border: 1px solid var(--wbh-line); padding: 10px 14px; }
:is(body.wbh-site, .editor-styles-wrapper) blockquote { border-left: 3px solid var(--wbh-gold); padding-left: 24px; }
:is(body.wbh-site, .editor-styles-wrapper) pre { overflow-x: auto; padding: 20px; background: #e9e9df; border-radius: 12px; }
body.wbh-site .wbh-contact-links { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
body.wbh-site .wbh-contact-links a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-block: 7px; text-decoration: none; overflow-wrap: anywhere; }
body.wbh-site .wbh-contact-label { min-width: 66px; font-size: 12px; font-weight: 700; }
body.wbh-site .wbh-footer { padding-top: 54px; border-top: 1px solid var(--wbh-line); }
body.wbh-site .wbh-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 42px; }
body.wbh-site .wbh-footer-brand { font-size: 24px; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
body.wbh-site .wbh-footer-intro p { margin-top: 12px; color: var(--wbh-muted); font-size: 14px; }
body.wbh-site .wbh-footer-label { margin-bottom: 10px; color: var(--wbh-muted); font-size: 12px; letter-spacing: .12em; }
body.wbh-site .wbh-footer-contact .wbh-contact-links { font-size: 13px; }
body.wbh-site .wbh-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid var(--wbh-line); font-size: 12px; color: var(--wbh-muted); }
body.wbh-site .wbh-footer-bottom p { margin: 0; }
body.wbh-site .wbh-footer-menu { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
body.wbh-site .wbh-footer-menu a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (max-width: 760px) {
  body.wbh-site .wbh-container { width: calc(100% - 36px); }
  body.wbh-site .wbh-header-inner { flex-wrap: wrap; gap: 10px; min-height: 76px; padding-block: 14px; }
  body.wbh-site .wbh-brand-tagline { display: none; }
  body.wbh-site .wbh-header-cart > span:first-of-type { display: none; }
  body.wbh-site .wbh-header-cart { margin-left: auto; padding-inline: 10px; }
  body.wbh-site .wbh-brand-name { font-size: 19px; }
  body.wbh-site .wbh-brand-tagline { font-size: 10px; }
  body.wbh-site .wbh-navigation { width: 100%; }
  body.wbh-site .wbh-navigation .wbh-menu { gap: 8px; }
  body.wbh-site .wbh-navigation .wbh-menu a { padding-inline: 16px; }
  body.wbh-site .wbh-navigation--enhanced { display: flex; flex-direction: column; align-items: flex-end; width: auto; margin-left: 0; }
  body.wbh-site .wbh-menu-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.wbh-site .wbh-navigation--enhanced .wbh-menu-toggle { display: inline-flex; }
  body.wbh-site .wbh-navigation--enhanced .wbh-menu { display: none; }
  body.wbh-site .wbh-navigation--enhanced.is-open { flex-basis: 100%; }
  body.wbh-site .wbh-navigation--enhanced.is-open .wbh-menu { display: flex; width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid #33505a; }
  body.wbh-site .wbh-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  body.wbh-site .wbh-footer { padding-top: 38px; }
  body.wbh-site .wbh-content { padding-block: 36px 56px; }
}
@media (max-width: 390px) {
  body.wbh-site .wbh-header-cart { padding-inline: 9px; gap: 5px; }
  body.wbh-site .wbh-header-inner { gap: 9px; }
  body.wbh-site .wbh-brand { gap: 9px; }
  body.wbh-site .wbh-brand-avatar,
  body.wbh-site .custom-logo-link { width: 40px; height: 40px; flex-basis: 40px; }
  body.wbh-site .wbh-brand-tagline { max-width: 178px; letter-spacing: 0; }
  body.wbh-site .wbh-navigation .wbh-menu-toggle { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(body.wbh-site, .editor-styles-wrapper) *,
  :is(body.wbh-site, .editor-styles-wrapper) *::before,
  :is(body.wbh-site, .editor-styles-wrapper) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
