/* ---------- WordPress-specific additions ---------- */

/* Keep the sticky header below the admin bar when logged in */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
.admin-bar .mobile-menu{height:calc(100vh - 76px - 46px)}

/* Menus output by wp_nav_menu */
.nav-links .current-menu-item>a{color:var(--teal)}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}

/* Chinese typography (body class set from the TranslatePress language) */
.lang-zh-hans body,body.lang-zh-hans{font-family:Inter,"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;line-height:1.75}
body.lang-zh-hant{font-family:Inter,"Noto Sans TC","PingFang HK","Microsoft JhengHei",system-ui,sans-serif;line-height:1.75}
body.lang-zh-hans :is(h1,h2,h3,h4,.btn,.eyebrow,.quote,.mobile-menu li a){font-family:Manrope,"Noto Sans SC","PingFang SC",sans-serif}
body.lang-zh-hant :is(h1,h2,h3,h4,.btn,.eyebrow,.quote,.mobile-menu li a){font-family:Manrope,"Noto Sans TC","PingFang HK",sans-serif}
body.lang-zh :is(h1,h2,h3,h4){letter-spacing:0;line-height:1.3}
body.lang-zh .eyebrow{letter-spacing:.08em}
.nb{display:inline-block}

/* WPForms inside the contact card */
.form-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:clamp(24px,4vw,40px);box-shadow:var(--shadow)}
.form-card form{background:none;border:0;padding:0;box-shadow:none;border-radius:0}
.form-card .wpforms-container{margin:0!important}
.form-card .wpforms-field{padding:0 0 18px!important}
.form-card .wpforms-field-label,.form-card .wpforms-field-sublabel{font:600 .9rem Inter,sans-serif!important;color:var(--navy)!important}
.form-card .wpforms-field-sublabel{font-weight:400!important;color:var(--muted)!important}
.form-card .wpforms-required-label{color:var(--teal)!important}
.form-card input[type=text],.form-card input[type=email],.form-card textarea{max-width:100%!important;width:100%!important;font:inherit!important;font-size:1rem!important;color:var(--text)!important;border:1.5px solid var(--border)!important;border-radius:12px!important;padding:13px 14px!important;height:auto!important;background:#fff!important;box-shadow:none!important}
.form-card input:focus,.form-card textarea:focus{border-color:var(--teal)!important;box-shadow:0 0 0 4px rgba(15,118,110,.14)!important;outline:none!important}
.form-card .wpforms-field-checkbox ul{padding:16px!important;background:var(--surface);border-radius:12px}
.form-card .wpforms-field-checkbox li{display:grid!important;grid-template-columns:22px 1fr;gap:12px;align-items:start}
.form-card .wpforms-field-checkbox input{width:20px;height:20px;margin:2px 0 0!important;accent-color:var(--forest)}
.form-card .wpforms-field-checkbox label{font-size:.9rem!important;font-weight:400!important;color:var(--text)!important}
.form-card .wpforms-submit-container{padding:8px 0 0!important}
.form-card button.wpforms-submit{width:100%;display:inline-flex!important;justify-content:center;align-items:center;gap:8px;background:var(--forest)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:15px 24px!important;font:600 1rem/1 Inter,sans-serif!important;height:auto!important;cursor:pointer}
.form-card button.wpforms-submit:hover{background:var(--forest-h)!important}
.form-card .wpforms-confirmation-container-full{background:#ECF6F3!important;border:1px solid #9FCFC6!important;color:var(--navy)!important;border-radius:12px;padding:20px!important}
.form-card .privacy{margin:4px 0 0}
.form-admin-note{margin-top:16px;padding:12px 14px;border-radius:10px;background:#FFF7E6;border:1px solid #F5D08A;font-size:.85rem;color:#5C4400}

/* Generic pages and posts */
.prose img{max-width:100%;height:auto;border-radius:12px}
.prose blockquote{margin:1.4em 0;padding:16px 20px;border-left:3px solid var(--teal);background:var(--surface);border-radius:0 12px 12px 0}
.page-simple .legal-grid{grid-template-columns:minmax(0,1fr)}
.page-simple .prose{margin:0 auto}

/* Footer: "Cookie settings" sits directly under the Legal menu */
footer ul.cookie-settings{margin-top:10px}

/* Complianz cookie banner in the Green Whale style */
.cmplz-cookiebanner{
  --cmplz_banner_background_color:#fff;
  --cmplz_banner_border_color:#E2E8EC;
  --cmplz_banner_border_radius:16px;
  --cmplz_text_color:#0B1F2E;
  --cmplz_hyperlink_color:#0F5C4C;
  --cmplz_button_accept_background_color:#0F5C4C;
  --cmplz_button_accept_border_color:#0F5C4C;
  --cmplz_button_accept_text_color:#fff;
  --cmplz_button_deny_background_color:#fff;
  --cmplz_button_deny_border_color:#E2E8EC;
  --cmplz_button_deny_text_color:#0B1F2E;
  --cmplz_button_settings_background_color:#fff;
  --cmplz_button_settings_border_color:#E2E8EC;
  --cmplz_button_settings_text_color:#0B1F2E;
  --cmplz_button_border_radius:999px;
  --cmplz_slider_active_color:#0F766E;
  --cmplz_category_header_always_active_color:#0F766E;
  font-family:Inter,system-ui,sans-serif!important;
  box-shadow:0 12px 40px rgba(11,31,46,.16)!important;
}
.cmplz-cookiebanner .cmplz-title{font-family:Manrope,Inter,sans-serif!important;font-weight:800!important}
body.lang-zh-hans .cmplz-cookiebanner{font-family:Inter,"Noto Sans SC","PingFang SC",sans-serif!important}
body.lang-zh-hant .cmplz-cookiebanner{font-family:Inter,"Noto Sans TC","PingFang HK",sans-serif!important}
.cmplz-manage-consent{font-family:Inter,system-ui,sans-serif!important;background:#0B1F2E!important;color:#fff!important;border-color:#0B1F2E!important}
