.website-global-style[data-website-design] { width:100%;max-width:none;isolation:isolate;background:var(--wd-background);color:var(--wd-color);--color-text:var(--wd-color);--color-muted:var(--wd-color);--color-primary:var(--wd-accent);--color-surface:var(--wd-surface);--color-bg:var(--wd-background); }
.website-global-style[data-website-design] :is(main,.klassisch-content) a:not(.vx-link){color:color-mix(in srgb,var(--wd-accent) 30%,var(--wd-color));text-decoration:underline;text-underline-offset:.15em;}
.website-global-style[data-website-design] :is(main,.klassisch-content) a:not(.vx-link):is(:hover,:focus-visible){color:var(--wd-color);}
/* Imported browser font colors belong to the old design, not the active palette. */
.website-global-style[data-website-design] .vx-legacy :is(font[color],[style*="color"]:not(a)),#legal-modal[data-design-popup=true] .vx-legacy :is(font[color],[style*="color"]:not(a)){color:inherit!important;}
.website-global-style[data-website-design] .site-header,.website-global-style[data-website-design] .klassisch-header {position:relative!important;height:auto;background:transparent;border:0;padding:0;}
.website-global-style[data-website-design] .hero,.website-global-style[data-website-design] .page-section {background:transparent;border:0;}
.website-global-style[data-website-design] [data-design-banner] {position:relative;width:min(100%,var(--wd-width));margin:auto;aspect-ratio:var(--wd-banner-ratio);}
.website-global-style[data-website-design] [data-design-navigation] {position:relative;z-index:60;isolation:isolate;width:min(100%,var(--wd-width));margin:auto;padding-block:8px;background:var(--wd-surface);box-shadow:0 8px 22px #0008;}
.website-global-style[data-website-design] [data-design-navigation][data-sticky=true] {position:sticky;top:0;}
.website-global-style[data-website-design] [data-design-navigation]::before {content:"";position:absolute;inset:8px clamp(12px,3%,36px);border:1px solid var(--wd-navigation-border);opacity:.22;pointer-events:none;}
.website-global-style[data-website-design] [data-design-navigation][data-shape=chamfered]::before {border:0;background:var(--wd-navigation-border);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M18 1H982L999 18V82L982 99H18L1 82V18Z' fill='none' stroke='white' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat;}
.website-global-style[data-website-design] [data-design-navigation] .modern-nav {width:100%;max-width:none;margin:0;padding:12px calc(clamp(12px,3vw,36px) + 16px);background:transparent;}
.website-global-style[data-website-design] [data-design-stage] {position:relative;isolation:isolate;}
.website-global-style[data-website-design] [data-design-stage]::before {content:"";position:absolute;inset:0;width:min(100%,var(--wd-width));margin:auto;background:var(--wd-surface);z-index:-1;pointer-events:none;}
.website-global-style[data-website-design] [data-design-content] {position:relative;z-index:1;width:min(100%,var(--wd-width));margin:auto;padding:0;background:transparent;}
.website-global-style[data-website-design] [data-design-content] .container {width:100%;max-width:none;padding-inline:var(--wd-content-padding);}
.website-global-style[data-website-design] [data-design-scroll] {min-height:var(--wd-content-min,0px);max-height:var(--wd-content-max,none);overflow:auto;scrollbar-width:thin;scrollbar-color:#365970 var(--wd-surface);}
.website-global-style[data-website-design] [data-design-gap] {height:var(--wd-gap);}
.website-global-style[data-website-design] [data-design-navigation]:has(nav[hidden]) {display:none;}
.website-global-style[data-website-design] [data-design-decoration] {position:relative;width:min(100%,var(--wd-decoration-width),var(--wd-decoration-max));aspect-ratio:var(--wd-decoration-ratio);margin:auto;}
.website-global-style[data-website-design] [data-design-layer] {position:absolute;inset:0;pointer-events:none;}
.website-global-style[data-website-design] [data-design-layer] canvas {display:block;width:100%;height:100%;}
.website-global-style[data-website-design] .klassisch-content {padding-bottom:0;}
.website-global-style[data-website-design].klassisch-layout {display:block;padding-top:0;}
.website-global-style[data-website-design] .klassisch-header {display:block;width:100%;}
.website-global-style[data-website-design] .klassisch-content {margin-left:0;}
.website-global-style[data-website-design] .klassisch-sidebar {display:none;}
.website-global-style[data-website-design][data-menu-position=Left] > .klassisch-sidebar {display:flex;position:absolute;top:var(--klassisch-header-height);bottom:auto;left:max(0px,calc((100% - var(--wd-width)) / 2 - var(--klassisch-sidebar-width)));width:var(--klassisch-sidebar-width);max-height:100vh;box-sizing:border-box;background:var(--wd-surface,var(--color-surface));color:var(--wd-color,var(--color-text));}
.website-global-style[data-website-design] [data-design-navigation] .klassisch-nav {flex-direction:row;flex-wrap:wrap;padding:12px 36px;}
.website-global-style[data-website-design] [data-design-navigation] .klassisch-nav .nav-list {flex-direction:row;flex-wrap:wrap;}
.website-global-style[data-website-design] .site-footer,.website-global-style[data-website-design] .klassisch-site-footer {position:relative;left:auto;bottom:auto;width:100%;height:auto;background:transparent;border:0;}
@media(max-width:650px){.website-global-style[data-website-design] [data-design-content] .container{padding-inline:min(var(--wd-content-padding),24px);}}

/* This treatment is opt-in through the package's popup block. */
#legal-modal[data-design-popup=true]{padding:24px;background:color-mix(in srgb,var(--wp-backdrop) calc(var(--wp-backdropOpacity) * 100%),transparent);perspective:1200px;}
#legal-modal[data-design-popup=true] .modal-content{position:relative;width:min(var(--wp-width),100%);max-width:var(--wp-width);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;padding:38px;border:1px solid var(--wp-borderColor);border-radius:var(--wp-borderRadius);color:var(--wp-color);background:linear-gradient(135deg,color-mix(in srgb,var(--wp-accent) 12%,var(--wp-background)),var(--wp-background) 45%);box-shadow:0 0 8px color-mix(in srgb,var(--wp-accent) 60%,transparent),0 0 48px color-mix(in srgb,var(--wp-accent) 20%,transparent),inset 0 0 30px color-mix(in srgb,var(--wp-accent) 7%,transparent);transform-origin:center;scrollbar-color:var(--wp-accent) var(--wp-background);}
#legal-modal[data-design-popup=true] .modal-content::before{content:"";position:absolute;inset:8px;border-radius:max(0px,calc(var(--wp-borderRadius) - 5px));border:1px solid color-mix(in srgb,var(--wp-accent) 28%,transparent);background:repeating-linear-gradient(0deg,transparent 0 3px,color-mix(in srgb,var(--wp-accent) 4%,transparent) 3px 4px);pointer-events:none;}
#legal-modal[data-design-popup=true] #legal-modal-title{margin-top:0;padding-right:24px;padding-bottom:14px;border-bottom:1px solid color-mix(in srgb,var(--wp-accent) 35%,transparent);color:var(--wp-accent);letter-spacing:.03em;}
#legal-modal[data-design-popup=true] #legal-modal-body{position:relative;line-height:1.6;color:var(--wp-color);overflow-wrap:anywhere;}
#legal-modal[data-design-popup=true] #legal-modal-body a{color:color-mix(in srgb,var(--wp-accent) 30%,var(--wp-color));text-decoration:underline;text-underline-offset:.15em;}
#legal-modal[data-design-popup=true] #legal-modal-body a:hover,#legal-modal[data-design-popup=true] #legal-modal-body a:focus-visible{color:var(--wp-color);}
#legal-modal[data-design-popup=true] .modal-close{z-index:2;color:var(--wp-accent);}
#legal-modal[data-design-popup=true] :focus-visible{outline:2px solid var(--wp-accent);outline-offset:3px;}
@media(max-width:650px){#legal-modal[data-design-popup=true]{padding:12px;}#legal-modal[data-design-popup=true] .modal-content{max-height:calc(100dvh - 24px);padding:26px 20px;}}

/* Optional package-owned materials; no theme or motif is hard-coded here. */
.website-global-style[data-website-design] [data-design-stage]::before {
  background-image:var(--wd-surface-image,none);background-size:720px auto;
  border:var(--wd-surface-border,0);box-sizing:border-box;
  box-shadow:var(--wd-surface-shadow,none);
}
.website-global-style[data-website-design] [data-design-navigation] {
  background-image:var(--wd-surface-image,none);background-size:720px auto;
}
.website-global-style[data-website-design] [data-design-content] {
  text-shadow:var(--wd-text-relief,none);
}
.website-global-style[data-website-design][data-design-material] .site-footer,
.website-global-style[data-website-design][data-design-material] .klassisch-site-footer {
  color:var(--wd-footer-color,inherit);background:var(--wd-footer-background,transparent);
  background-image:var(--wd-surface-image,none);background-size:720px auto;
}
.website-global-style[data-website-design][data-design-material] .site-footer a,
.website-global-style[data-website-design][data-design-material] .klassisch-site-footer a {color:var(--wd-footer-color);}
#legal-modal[data-design-popup=true] .modal-content {
  background-image:var(--wp-surface-image,linear-gradient(135deg,color-mix(in srgb,var(--wp-accent) 12%,var(--wp-background)),var(--wp-background) 45%));
  background-size:var(--wp-surface-size,auto);border-width:var(--wp-surface-border,1px);
  text-shadow:var(--wp-text-relief,none);
}
#legal-modal[data-design-popup=true] .modal-content::before {background:var(--wp-surface-overlay,repeating-linear-gradient(0deg,transparent 0 3px,color-mix(in srgb,var(--wp-accent) 4%,transparent) 3px 4px));}
