/* Wortwuchs appearance for the existing Ezoic CMP. */
/* User-requested 03.10.2026: omit the reject shortcut only when reopened via cookie. */
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-reopened #ez-reject-all { display:none!important; }
html body #ez-cookie-dialog-wrapper {
  --ez-accent:#007eb6!important; --ez-bg:#fff!important; --ez-btn-text:#fff!important;
  --ez-border:#dce8ee!important; --ww-cookie-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M18.6 3.7a6 6 0 0 0 7.3 7.5 4.9 4.9 0 0 0 3 5.8A13 13 0 1 1 18.6 3.7Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Ccircle cx='10.5' cy='11' r='1.65'/%3E%3Ccircle cx='9' cy='20.8' r='1.5'/%3E%3Ccircle cx='17.4' cy='17.8' r='1.9'/%3E%3Ccircle cx='21' cy='24' r='1.35'/%3E%3C/svg%3E");
  background:rgba(32,61,76,.16)!important;
  backdrop-filter:none!important;
  font-family:Wortwuchs,'Trebuchet MS',Helvetica,sans-serif!important;
}
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog {
  position:fixed!important; inset:auto auto max(24px,var(--ww-consent-inset,0px)) 50%!important; transform:translateX(-50%)!important;
  width:calc(100% - 48px)!important; max-width:930px!important; height:auto!important;
  min-width:0!important; max-height:calc(100dvh - max(24px,var(--ww-consent-inset,0px)) - 24px)!important; margin:0!important; padding:0!important;
  box-sizing:border-box!important; overflow:auto!important; overscroll-behavior:contain;
  background:#fff!important; color:#294352!important; border:1px solid #dce8ee!important;
  border-top:4px solid #0088cc!important; border-radius:18px!important; box-shadow:0 18px 70px #142f4930!important;
  font:14px/1.65 Wortwuchs,'Trebuchet MS',Helvetica,sans-serif!important;
  scrollbar-width:thin; scrollbar-color:#b7cdd7 #fff;
}
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main:not([hidden]):not([style*="display: none"]):not([style*="display:none"]) { display:flex!important; flex-direction:column!important; overflow:hidden!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-form { margin:0!important; padding:26px 32px 0!important; width:auto!important; min-height:0; max-width:none!important; overflow:auto!important; scrollbar-width:thin; scrollbar-color:#b7cdd7 #fff; }
html body #ez-cookie-dialog-wrapper #ez-cookie-template { padding:0!important; margin:0!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h2,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h3 {
  position:static!important; display:block!important; margin:0!important; padding:0!important; border:0!important;
  background:none!important; color:#294352!important; font-family:Wortwuchs,'Trebuchet MS',Helvetica,sans-serif!important;
  letter-spacing:-.3px!important; text-align:left!important; text-transform:none!important;
}
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h2:before,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h3:before { content:none!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h2 { font-size:25px!important; line-height:1.3!important; font-weight:700!important; margin:7px 0 14px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h2:focus { outline:none!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h3 { font-size:17px!important; line-height:1.4!important; margin:22px 0 10px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog p { margin:0 0 15px!important; color:#526674!important; font:14px/1.7 Wortwuchs,'Trebuchet MS',Helvetica,sans-serif!important; text-align:left!important; word-spacing:normal!important; letter-spacing:normal!important; }
html body #ez-cookie-dialog-wrapper #main-ezcmp { max-height:min(108px,20dvh)!important; overflow:auto!important; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#8baebe #edf4f7; scrollbar-gutter:stable; padding-right:10px!important; }
html body #ez-cookie-dialog-wrapper #main-ezcmp:focus-visible { outline:2px solid #007eb6; outline-offset:3px; }
html body #ez-cookie-dialog-wrapper #main-ezcmp p { margin:0!important; height:auto!important; max-height:none!important; overflow:visible!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ww-consent-brand { display:flex; gap:10px; align-items:center; color:#578094; font:700 10px/1.4 Wortwuchs,sans-serif; letter-spacing:1.55px; margin-bottom:7px; }
html body #ez-cookie-dialog-wrapper .ww-consent-brand::before { content:''; width:28px; height:28px; flex:none; background:#007eb6; mask:var(--ww-cookie-icon) center/21px 21px no-repeat; -webkit-mask:var(--ww-cookie-icon) center/21px 21px no-repeat; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-btn-row-container { flex-shrink:0; position:static!important; margin:22px 32px 0!important; padding:19px 0 0!important; border-top:1px solid #e6eef2!important; box-shadow:none!important; background:#fff!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #button-row { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; justify-content:flex-end!important; gap:10px!important; align-items:stretch!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-btn-group-left { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; gap:10px!important; order:0!important; margin:0!important; width:auto!important; flex:0 1 auto!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #button-row .ez-btn-group-left { order:0!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #button-row #ez-accept-all { order:1!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog button { min-height:46px!important; height:auto!important; width:auto!important; margin:0!important; padding:11px 21px!important; border:1px solid #bad1df!important; border-radius:9px!important; background:#fff!important; color:#007eb6!important; font:600 14px/1.4 Wortwuchs,'Trebuchet MS',Helvetica,sans-serif!important; cursor:pointer!important; white-space:normal!important; transition:background .15s,border-color .15s; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog button:hover { background:#edf7fb!important; border-color:#81b5cf!important; opacity:1!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog button:focus-visible,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog a:focus-visible,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog input:focus-visible { outline:3px solid #d99a20!important; outline-offset:3px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #ez-accept-all { min-width:174px!important; order:0!important; background:#007eb6!important; color:#fff!important; border-color:#007eb6!important; box-shadow:0 2px 5px #007eb619!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #ez-accept-all:hover { background:#006d9f!important; border-color:#006d9f!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #secondary-links { flex-shrink:0; display:flex!important; flex-wrap:wrap!important; gap:12px!important; justify-content:flex-end!important; width:auto!important; max-width:none!important; margin:16px 32px 18px!important; padding:0!important; font:12px/1.5 Wortwuchs,sans-serif!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog a { color:#456f86!important; line-height:inherit!important; text-underline-offset:3px; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog a:hover { text-decoration:underline!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #secondary-links .bar { margin:0!important; color:#bdccd4!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-cmp-visible-content-wrapper { margin:0!important; padding:22px 32px 0!important; max-height:min(55dvh,500px)!important; overflow:auto!important; scrollbar-gutter:auto!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #ezCMPReturn,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-cmp-toggle-description { width:auto!important; min-width:40px!important; min-height:40px!important; padding:8px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog input[type=checkbox] { accent-color:#007eb6; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-cmp-description { color:#526674!important; font-family:Wortwuchs,sans-serif!important; }
/* Restyle the existing button; its visibility and click handler remain Ezoic's. */
html body #ezPrivacyCenter {
  --ww-cookie-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M18.6 3.7a6 6 0 0 0 7.3 7.5 4.9 4.9 0 0 0 3 5.8A13 13 0 1 1 18.6 3.7Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Ccircle cx='10.5' cy='11' r='1.65'/%3E%3Ccircle cx='9' cy='20.8' r='1.5'/%3E%3Ccircle cx='17.4' cy='17.8' r='1.9'/%3E%3Ccircle cx='21' cy='24' r='1.35'/%3E%3C/svg%3E");
  position:fixed!important; left:max(12px,env(safe-area-inset-left))!important; right:auto!important; top:auto!important;
  bottom:calc(var(--ww-cookie-inset,12px) + env(safe-area-inset-bottom))!important;
  width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important;
  padding:7px!important; margin:0!important; background:transparent!important; background-image:none!important;
  color:#456475!important; border:1px solid transparent!important; border-radius:50%!important; box-shadow:none!important;
  writing-mode:horizontal-tb!important; transform:none!important; z-index:2147483645!important; cursor:pointer!important;
  transition:background .18s,color .18s,box-shadow .18s; box-sizing:border-box!important;
}
html body #ezPrivacyCenter>svg { visibility:hidden!important; }
html body #ezPrivacyCenter::before { content:''; position:absolute; inset:7px; width:28px; height:28px; background:currentColor; mask:var(--ww-cookie-icon) center/contain no-repeat; -webkit-mask:var(--ww-cookie-icon) center/contain no-repeat; opacity:.74; }
html body #ezPrivacyCenter:hover,html body #ezPrivacyCenter:focus-visible { color:#007eb6!important; background:#ffffffde!important; border-color:#d9e7ed!important; box-shadow:0 3px 12px #19374812!important; }
html body #ezPrivacyCenter:hover::before,html body #ezPrivacyCenter:focus-visible::before { opacity:1; }
html body #ezPrivacyCenter:focus-visible { outline:3px solid #d99a20!important; outline-offset:3px!important; }
@media(max-width:600px) {
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog { bottom:max(12px,var(--ww-consent-inset,0px))!important; width:calc(100% - 24px)!important; max-height:calc(100dvh - max(12px,var(--ww-consent-inset,0px)) - 12px)!important; border-radius:14px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-form { padding:20px 20px 0!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog h2 { font-size:22px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog p { font-size:13px!important; line-height:1.65!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #button-row,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-btn-group-left { flex-direction:column!important; width:100%!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-btn-row-container { margin:19px 20px 0!important; padding:16px 0 0!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #button-row button { width:100%!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog #secondary-links { justify-content:center!important; gap:10px!important; margin:16px 20px!important; font-size:11px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ez-cmp-visible-content-wrapper { padding:20px 20px 0!important; max-height:45dvh!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog .ww-consent-brand { font-size:9px; letter-spacing:1.25px; }
}
/* Compact first view: only the explanation scrolls; choices remain in view. */
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #ez-cookie-form { padding:14px 24px 0!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main .ww-consent-brand { margin-bottom:2px; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main .ww-consent-brand::before { width:22px; height:22px; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main h2 { font-size:22px!important; margin:3px 0 10px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main .ez-btn-row-container { margin:10px 24px 0!important; padding-top:10px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main button { min-height:36px!important; padding:7px 16px!important; font-size:13px!important; }
html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #secondary-links { margin:9px 24px 12px!important; }
@media(max-width:600px) {
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #ez-cookie-form { padding:12px 16px 0!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main h2 { font-size:20px!important; margin-bottom:8px!important; }
  html body #ez-cookie-dialog-wrapper #main-ezcmp { max-height:min(130px,20dvh)!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main .ez-btn-row-container { margin:10px 16px 0!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #button-row { gap:8px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #button-row .ez-btn-group-left { flex-direction:row!important; gap:8px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #button-row .ez-btn-group-left button { flex:1 1 0!important; width:auto!important; min-width:0!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main button { min-height:44px!important; padding:7px 10px!important; }
  html body #ez-cookie-dialog-wrapper #ez-cookie-dialog.ww-consent-main #secondary-links { margin:9px 16px 12px!important; }
}
@media(prefers-reduced-motion:reduce) { html body #ezPrivacyCenter,html body #ez-cookie-dialog-wrapper #ez-cookie-dialog button { transition:none!important; } }
