.edm-ss-form {position:relative;margin:0 0 28px;max-width:100%;font-family:inherit}
.edm-ss-form label {display:block;margin-bottom:8px;font-size:15px}
.edm-ss-input-row {display:flex;gap:6px;align-items:stretch}
.edm-ss-form input[type=search] {min-width:0;width:100%;margin:0;box-sizing:border-box;padding:10px 12px;height:46px;font-size:16px;border:1px solid #dcdcd7;background:#fff;color:#222}
.edm-ss-input-row button {margin:0;padding:8px 12px;min-height:46px;flex-shrink:0;background:#222;color:#fff;border:0;font-size:14px;cursor:pointer}
.edm-ss-status {font-size:13px;line-height:1.5;color:#666;margin-top:8px}
.edm-ss-suggestions {position:absolute;top:100%;left:0;right:0;z-index:100;background:#fff;color:#222;border:1px solid #ddd;box-shadow:0 8px 22px #0002;max-height:65vh;overflow:auto;text-align:left}
.edm-ss-suggestions[hidden] {display:none}
.edm-ss-suggestions a {display:flex;gap:10px;align-items:center;padding:12px;color:#222;font-size:14px;line-height:1.4;text-decoration:none;border-bottom:1px solid #eee;overflow-wrap:anywhere}
.edm-ss-suggestions a:hover,.edm-ss-suggestions a:focus-visible {background:#f5f5ef;outline:2px solid #777;outline-offset:-2px}
.edm-ss-suggestions img {width:48px;height:48px;object-fit:cover;flex-shrink:0}
.edm-ss-suggestions small {display:block;color:#777;font-size:12px;margin-top:4px}
.edm-ss-context,.edm-ss-breadcrumbs {font-size:15px;line-height:1.6;margin-bottom:24px;overflow-wrap:anywhere}
.edm-ss-results {padding-bottom:40px}
.edm-ss-tags {font-size:13px;line-height:1.8;margin:8px 0 0;overflow-wrap:anywhere}
.edm-ss-tags a {display:inline-block;margin-right:10px;text-decoration:underline;color:inherit}
@media(max-width:767px) {.edm-ss-results {padding-bottom:28px}.edm-ss-form {margin-bottom:24px}}
/* Header selectors verified against the public Werkstatt header. */
header.header .regular-header.edm-ss-header {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-content:space-between;column-gap:24px;overflow:visible}
.edm-ss-header .logo-holder {min-width:0}
.edm-ss-header .edm-ss-header-actions {display:flex;align-items:center;justify-content:flex-end;min-width:0}
.edm-ss-header .edm-ss-form {width:100%;max-width:var(--edm-ss-field-width,960px);min-width:0;margin:0;justify-self:end}
.edm-ss-header .edm-ss-form > label,.edm-ss-header .edm-ss-status {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.edm-ss-header .edm-ss-input-row {gap:0;position:relative}
.edm-ss-header .edm-ss-form input[type=search] {height:44px;padding-right:74px;border-radius:3px}
.edm-ss-header .edm-ss-input-row button {position:absolute;right:1px;top:1px;bottom:1px;min-height:0;height:auto;padding:0 12px;border-radius:0 2px 2px 0}
.edm-ss-button-icon {display:none}
.edm-ss-suggestion-scope {font-size:13px;line-height:1.5;padding:10px 12px;margin:0;background:#f6f6f3;color:#555}
@media(max-width:900px){header.header .regular-header.edm-ss-header {column-gap:16px;grid-template-columns:minmax(100px,150px) minmax(0,1fr) auto}.edm-ss-header .logo-holder img {max-width:100%;height:auto}}
@media(max-width:600px){header.header .regular-header.edm-ss-header {column-gap:8px;grid-template-columns:90px minmax(0,1fr) 24px}.edm-ss-header .logo-holder,.edm-ss-header .logolink {width:90px;max-width:90px}.edm-ss-header .logo-holder img {width:90px!important;max-width:90px!important;height:auto!important}.edm-ss-header .mobile-toggle {margin:0!important;width:24px;min-width:24px}.edm-ss-header .edm-ss-form input[type=search] {padding-left:8px;padding-right:30px;height:40px}.edm-ss-header .edm-ss-input-row button {width:28px;padding:0;font-size:20px}.edm-ss-header .edm-ss-button-label {display:none}.edm-ss-header .edm-ss-button-icon {display:inline}.edm-ss-header .edm-ss-suggestions {max-height:55vh}}

/* One search field above the calendar and cards, inside their existing gutters. */
.edm-archive-layout > .edm-ss-above-archive {grid-column:1 / -1;min-width:0;width:100%;margin:0;box-sizing:border-box}
.edm-ss-above-archive .edm-ss-input-row {gap:8px}
.edm-ss-above-archive input[type=search] {height:52px;padding:12px 16px;border-radius:4px;background:#fafaf8;flex:1}
.edm-ss-above-archive .edm-ss-input-row button {min-height:52px;padding:10px 22px;border-radius:4px}
.edm-ss-form input[type=search]::placeholder {color:#767676!important;opacity:1;font-weight:400}
.edm-ss-status:empty {display:none}
@media(max-width:900px){.edm-archive-layout > .edm-ss-above-archive {margin-bottom:24px}}
@media(max-width:400px){.edm-ss-above-archive input[type=search] {padding-left:10px}.edm-ss-above-archive .edm-ss-input-row button {padding-left:12px;padding-right:12px}}

/* Hide visual labels without removing the accessible names. */
.edm-ss-visually-hidden,.edm-ss-form > label {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:901px){.edm-archive-layout > .edm-ss-above-archive {grid-column:2;grid-row:1}.edm-archive-layout > .edm-ss-above-archive ~ .edm-archive-tools {grid-column:1;grid-row:2}.edm-archive-layout > .edm-ss-above-archive ~ .edm-archive-results {grid-column:2;grid-row:2}}

/* Match the homepage content font; do not inherit the single-post header font. */
body.single-post .edm-ss-form {font-family:merriweather,'BlinkMacSystemFont',-apple-system,'Roboto','Lucida Sans'!important}
body.single-post .edm-ss-form input[type=search],body.single-post .edm-ss-form .edm-ss-input-row button,body.single-post .edm-ss-form .edm-ss-input-row button span {font-family:inherit!important;font-style:normal;font-weight:400;letter-spacing:normal;text-transform:none}
body.single-post .edm-ss-form input[type=search]::placeholder {font-family:inherit!important;font-style:normal;font-weight:400;letter-spacing:normal}

/* Single-post search uses the same separate field/button arrangement as the homepage. */
body.single-post .edm-ss-header .edm-ss-input-row {gap:8px;align-items:stretch}
body.single-post .edm-ss-header .edm-ss-form input[type=search] {flex:1;min-width:0;width:100%;height:52px;padding:12px 16px;border-radius:4px;background:#fafaf8}
body.single-post .edm-ss-header .edm-ss-input-row button {position:static;inset:auto;width:auto;height:auto;min-height:52px;padding:10px 22px;border-radius:4px;font-size:14px;flex-shrink:0}
body.single-post .edm-ss-header .edm-ss-button-label {display:inline}
body.single-post .edm-ss-header .edm-ss-button-icon {display:none}
@media(max-width:400px){body.single-post .edm-ss-header .edm-ss-form input[type=search] {padding-left:10px}body.single-post .edm-ss-header .edm-ss-input-row button {padding-left:12px;padding-right:12px}}

/* Hide the example only while the input has focus. */
.edm-ss-form input[type=search]:focus::placeholder {color:transparent!important;opacity:0!important}

/* Center the article-page field within the space between the logo and menu. */
body.single-post .edm-ss-header .edm-ss-form {justify-self:center}

/* All desktop archive headers share the article layout; mobile stays above the archive. */
@media(min-width:901px){
body .edm-ss-header .edm-ss-input-row {gap:8px;align-items:stretch}
body .edm-ss-header .edm-ss-form input[type=search] {flex:1;min-width:0;width:100%;height:52px;padding:12px 16px;border-radius:4px;background:#fafaf8}
body .edm-ss-header .edm-ss-input-row button {position:static;inset:auto;width:auto;height:auto;min-height:52px;padding:10px 22px;border-radius:4px;font-size:14px;flex-shrink:0}
body .edm-ss-header .edm-ss-button-label {display:inline}
body .edm-ss-header .edm-ss-button-icon {display:none}
body .edm-ss-header .edm-ss-form {justify-self:center}
}

/* All desktop search headers use the same explicit typography. */
@media(min-width:901px){
body .edm-ss-header .edm-ss-form {font-family:merriweather,'BlinkMacSystemFont',-apple-system,'Roboto','Lucida Sans'!important}
body .edm-ss-header .edm-ss-form input[type=search],body .edm-ss-header .edm-ss-form .edm-ss-input-row button,body .edm-ss-header .edm-ss-form .edm-ss-input-row button span {font-family:inherit!important;font-style:normal;font-weight:400;letter-spacing:normal;text-transform:none}
body .edm-ss-header .edm-ss-form input[type=search]::placeholder {font-family:inherit!important;font-style:normal;font-weight:400;letter-spacing:normal}
}

/* Category scope is a separate control inside the visual search field. */
body .edm-ss-form .edm-ss-field {display:flex;align-items:center;gap:8px;flex:1;min-width:0;box-sizing:border-box;border:1px solid #dcdcd7;border-radius:4px;background:#fafaf8;padding:0 8px}
body .edm-ss-form .edm-ss-field input[type=search] {border:0!important;background:transparent!important;box-shadow:none!important;flex:1;min-width:0;width:0;height:50px;padding:10px 4px;border-radius:0}
body .edm-ss-form .edm-ss-field:focus-within {outline:1px solid #777;outline-offset:1px}
body .edm-ss-form .edm-ss-scope {display:flex;align-items:center;flex-shrink:1;min-width:0;max-width:55%;border:1px solid #deded8;border-radius:6px;background:#eeeeea;color:#333}
body .edm-ss-form .edm-ss-scope[hidden],body .edm-ss-form .edm-ss-scope-clear[hidden] {display:none!important}
body .edm-ss-form .edm-ss-scope-select {font-family:inherit!important;font-size:13px;font-style:normal;font-weight:400;letter-spacing:normal;text-transform:none;color:inherit;background:transparent;border:0;box-shadow:none;min-width:0;max-width:100%;height:34px;margin:0;padding:4px 5px;appearance:auto;cursor:pointer;flex:1}
body .edm-ss-form .edm-ss-input-row .edm-ss-scope-clear {position:static!important;inset:auto!important;display:block;flex:0 0 26px;width:26px;min-width:26px;height:34px;min-height:0;padding:0;margin:0;border:0;border-radius:0 6px 6px 0;background:transparent;color:#555;font:20px/1 Arial,sans-serif!important;letter-spacing:normal;opacity:0;pointer-events:none}
body .edm-ss-form .edm-ss-scope:hover .edm-ss-scope-clear,body .edm-ss-form .edm-ss-scope:focus-within .edm-ss-scope-clear {opacity:1;pointer-events:auto}
body .edm-ss-form .edm-ss-scope-clear:focus-visible {outline:2px solid #555;outline-offset:1px}
@media(hover:none),(pointer:coarse){body .edm-ss-form .edm-ss-input-row .edm-ss-scope-clear {opacity:1;pointer-events:auto;flex-basis:40px;width:40px;min-width:40px;height:42px}body .edm-ss-form .edm-ss-scope-select {height:42px}}

/* On mobile, focused header search temporarily takes the logo/menu space. */
@media(max-width:900px){
body header.header .regular-header.edm-ss-header.edm-ss-mobile-search-open {grid-template-columns:minmax(0,1fr);column-gap:0}
body .edm-ss-header.edm-ss-mobile-search-open > .logo-holder,body .edm-ss-header.edm-ss-mobile-search-open > .edm-ss-header-actions {display:none!important}
body .edm-ss-header.edm-ss-mobile-search-open > .edm-ss-form {grid-column:1/-1;width:100%;max-width:none;justify-self:stretch}
body .edm-ss-form.edm-ss-mobile-expanded {width:100%;max-width:100%;min-width:0}
}

/* Werkstatt overlays a 20px frame from 40.0625em. Keep the existing
   10px content gutter inside that frame until the 768px layout takes over. */
@media(min-width:40.0625em) and (max-width:767px){
 body.thb-borders-on .blog-container.edm-archive-layout {padding-left:30px!important;padding-right:30px!important}
}

/* Compact web adaptation of Apple's bottom-toolbar search pattern. */
.edm-ss-text-clear,.edm-ss-cancel,.edm-ss-mobile-hint,.edm-ss-dock-spacer {display:none}
@media(max-width:900px){
 body header.header .regular-header.edm-ss-mobile-dock-header {display:flex;justify-content:space-between}
 body .edm-ss-mobile-dock-header .logo-holder,body .edm-ss-mobile-dock-header .logolink {width:auto;max-width:none}
 body .edm-ss-mobile-dock-header .logo-holder img {width:auto!important;max-width:150px!important}
 body > .edm-ss-docked {position:fixed!important;z-index:1000001;top:calc(var(--edm-ss-view-top,0px) + var(--edm-ss-view-height,100dvh));left:var(--edm-ss-view-left,0px);width:var(--edm-ss-view-width,100%);max-width:none;margin:0!important;transform:translateY(-100%);box-sizing:border-box;padding:8px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#fafafa;color:#222;border-top:1px solid #ddd;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;text-align:left}
 body > .edm-ss-docked.edm-ss-keyboard {padding-bottom:8px}
 body .edm-ss-docked .edm-ss-input-row {display:flex;gap:8px;align-items:end;order:3;flex-shrink:0}
 body .edm-ss-docked .edm-ss-input-row > button[type=submit] {display:none!important}
 body .edm-ss-docked .edm-ss-field {position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0;padding:0;min-width:0;flex:1;border-radius:24px;background:#eeeef0;border:1px solid #ddd}
 body .edm-ss-docked .edm-ss-field:before {content:'';position:absolute;left:15px;bottom:15px;width:17px;height:17px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606065' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");pointer-events:none}
 body .edm-ss-docked .edm-ss-field input[type=search] {grid-column:1;width:100%;height:48px;padding:10px 0 10px 40px;font:400 17px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:normal}
 body .edm-ss-docked input[type=search]::-webkit-search-cancel-button {display:none}
 body .edm-ss-docked input[type=search]::placeholder {font-family:inherit!important;color:#68686e!important}
 body .edm-ss-docked .edm-ss-input-row .edm-ss-text-clear {grid-column:2;display:block;position:static!important;margin:0;padding:0;width:44px;min-width:44px;height:48px;min-height:44px;background:transparent;color:#606065;border:0;border-radius:24px;font:24px/1 -apple-system,sans-serif!important}
 body .edm-ss-docked .edm-ss-text-clear[hidden] {visibility:hidden;display:block!important}
 body .edm-ss-docked .edm-ss-scope {grid-column:1/-1;justify-self:start;margin:6px 10px 0;max-width:calc(100% - 20px);border-radius:2px}
 body .edm-ss-docked .edm-ss-scope-select {height:44px;font-size:16px}
 body .edm-ss-docked .edm-ss-input-row .edm-ss-scope-clear {opacity:1;pointer-events:auto;flex-basis:44px;width:44px;min-width:44px;height:44px;border-radius:2px}
 body .edm-ss-docked .edm-ss-status {order:2;font:14px/1.4 -apple-system,sans-serif;margin:0 0 8px;color:#555}
 body .edm-ss-docked:not(.edm-ss-mobile-expanded) .edm-ss-status {display:none}
 body > .edm-ss-docked.edm-ss-mobile-expanded {top:var(--edm-ss-view-top,0px);height:var(--edm-ss-view-height,100dvh);transform:none;display:flex;flex-direction:column;padding-top:max(12px,env(safe-area-inset-top));background:#fafafa}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-cancel {display:block;position:static!important;min-width:64px;min-height:48px;padding:0 2px;margin:0;background:transparent;color:#075db7;border:0;font:400 16px/1.2 -apple-system,sans-serif!important;text-transform:none;letter-spacing:normal}
 body .edm-ss-docked .edm-ss-suggestions {position:static!important;order:0;flex:1;min-height:0;max-height:none;width:auto!important;margin:0 0 12px;border:0;box-shadow:none;border-radius:12px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 body .edm-ss-docked .edm-ss-suggestions a {min-height:48px;padding:12px;font-size:16px}
 body .edm-ss-docked .edm-ss-suggestions small {font-size:13px}
 body .edm-ss-docked .edm-ss-mobile-hint {order:1;flex:1;min-height:0;overflow:auto;padding:16px 4px;color:#666;font-size:17px;line-height:1.5}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-mobile-hint:not([hidden]) {display:block}
 body .edm-ss-docked .edm-ss-suggestions[hidden] ~ .edm-ss-mobile-hint[hidden] {display:block;visibility:hidden}
 body .edm-ss-docked:focus {outline:none}
 body .edm-ss-docked button:focus-visible {outline:2px solid #075db7;outline-offset:1px}
 .edm-ss-dock-spacer {display:block;min-height:calc(80px + env(safe-area-inset-bottom));flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){.edm-ss-docked,.edm-ss-docked * {transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){body .edm-ss-docked .edm-ss-field {border:1px solid CanvasText}}
/* Desktop category token grows with its actual label; input uses the remaining space. */
@media(min-width:901px){
 body .edm-ss-form .edm-ss-field {flex-wrap:nowrap}
 body .edm-ss-form .edm-ss-scope {flex:0 0 auto;max-width:none;border-radius:2px}
 body .edm-ss-form .edm-ss-field input[type=search] {flex:1 1 0;min-width:0;width:0}
 body .edm-ss-form .edm-ss-scope-select {flex:0 0 auto;max-width:none}
}

/* Mobile entry point: only a magnifier, with no toolbar or button backdrop. */
body .edm-ss-form > .edm-ss-launcher {display:none}
@media(max-width:900px){
 body > .edm-ss-docked:not(.edm-ss-mobile-expanded) {display:flex;justify-content:flex-end;height:auto;padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;pointer-events:none}
 body > .edm-ss-docked:not(.edm-ss-mobile-expanded) > :not(.edm-ss-launcher) {display:none!important}
 body > .edm-ss-docked:not(.edm-ss-mobile-expanded) > .edm-ss-launcher {display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:10px;margin:0;color:#222;background:transparent!important;border:0;box-shadow:none!important;cursor:pointer;pointer-events:auto;appearance:none;flex:0 0 48px}
 body .edm-ss-launcher svg {display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 body .edm-ss-launcher:focus-visible {outline:2px solid #075db7;outline-offset:1px}
}
@media(min-width:40.0625em) and (max-width:900px){
 body.thb-borders-on > .edm-ss-docked:not(.edm-ss-mobile-expanded) {padding-right:max(30px,env(safe-area-inset-right));padding-bottom:max(30px,env(safe-area-inset-bottom))}
}
/* Current date scope stays visible beside the category token. */
body .edm-ss-form .edm-ss-period {display:flex;align-items:center;flex:0 0 auto;gap:4px;white-space:nowrap;border:1px solid #deded8;border-radius:2px;background:#eeeeea;color:#333;padding-left:8px;font-size:13px;line-height:1.4}
body .edm-ss-form .edm-ss-period[hidden] {display:none!important}
body .edm-ss-form .edm-ss-input-row .edm-ss-period-clear {position:static!important;inset:auto!important;min-width:26px;width:26px;height:34px;min-height:34px;padding:0;margin:0;border:0;background:transparent;color:#555;font:20px/1 Arial,sans-serif!important;border-radius:2px;opacity:0}
body .edm-ss-form .edm-ss-period:hover .edm-ss-period-clear,body .edm-ss-form .edm-ss-period:focus-within .edm-ss-period-clear {opacity:1}
@media(hover:none),(pointer:coarse){body .edm-ss-form .edm-ss-input-row .edm-ss-period-clear {opacity:1;min-width:44px;width:44px;min-height:44px;height:44px}}
@media(max-width:900px){body .edm-ss-docked .edm-ss-period {grid-column:1/-1;justify-self:start;margin:6px 10px 0;font-size:16px}body .edm-ss-docked .edm-ss-input-row .edm-ss-period-clear {opacity:1;min-width:44px;width:44px;min-height:44px;height:44px}}
/* Compact tokens share a row on mobile and wrap only when needed. */
body .edm-ss-form .edm-ss-tokens {display:contents}
@media(max-width:900px){
 body .edm-ss-docked .edm-ss-tokens {display:flex;grid-column:1/-1;flex-wrap:wrap;align-items:center;gap:10px 8px;padding:8px 10px 2px;min-width:0}
 body .edm-ss-docked .edm-ss-tokens:not(:has(> :not([hidden]))) {display:none}
 body .edm-ss-docked .edm-ss-tokens .edm-ss-scope,body .edm-ss-docked .edm-ss-tokens .edm-ss-period {margin:0;max-width:100%;height:32px;box-sizing:border-box;font-size:13px;flex:0 1 auto}
 body .edm-ss-docked .edm-ss-tokens .edm-ss-scope-select {height:30px;font-size:13px;padding:2px 4px}
 body .edm-ss-docked .edm-ss-tokens .edm-ss-scope-clear,body .edm-ss-docked .edm-ss-tokens .edm-ss-period-clear {position:relative!important;inset:auto!important;flex-basis:32px;width:32px;min-width:32px;height:32px;min-height:32px;font-size:18px!important}
 body .edm-ss-docked .edm-ss-tokens button:after {content:'';position:absolute;inset:-6px;}
}
@media(max-width:900px){
 body > .edm-ss-docked:not(.edm-ss-mobile-expanded) > .edm-ss-launcher {background:#fff!important;border:1px solid #dedede;border-radius:50%;box-shadow:0 2px 8px #0002!important}
}
/* Native month/year pickers inside the existing date token. */
body .edm-ss-form .edm-ss-period {padding-left:3px;gap:0}
body .edm-ss-form .edm-ss-period select {appearance:auto;border:0;border-radius:2px;background:transparent;box-shadow:none;color:inherit;font:inherit;letter-spacing:normal;text-transform:none;height:32px;padding:2px 4px;margin:0;min-width:0;width:auto;max-width:none}
body .edm-ss-form .edm-ss-period select:focus-visible {outline:2px solid #075db7;outline-offset:-2px}
@media(max-width:900px){body .edm-ss-docked .edm-ss-tokens .edm-ss-period select {height:30px;font-size:13px}}
body .edm-ss-form .edm-ss-period select[hidden] {display:none!important}

/* Editorial category navigation shares the content/search container. */
body .edm-primary-navigation {display:block;width:100%;min-width:0;box-sizing:border-box;border:0;border-bottom:1px solid #deded8;margin:0 0 28px;padding:0;text-align:left;font-family:Arial,sans-serif;color:#222;clear:both}
body .edm-primary-navigation .edm-primary-links,body .edm-primary-navigation .edm-secondary-links {display:flex;flex-wrap:wrap;align-items:center;column-gap:28px;row-gap:0;margin:0;padding:0}
body .edm-primary-navigation a {position:relative;display:inline-flex;align-items:center;min-height:44px;padding:10px 0;margin:0;background:transparent;color:#666;font-size:14px;line-height:1.4;font-weight:400;text-decoration:none;border:0;white-space:nowrap}
body .edm-primary-navigation .edm-primary-links a[aria-current=page] {color:#222;font-weight:600}
body .edm-primary-navigation .edm-primary-links a[aria-current=page]:after {content:'';position:absolute;left:0;right:0;bottom:-1px;height:4px;background:#eeee52}
body .edm-primary-navigation a:hover {color:#111}
body .edm-primary-navigation a:focus-visible {outline:2px solid #555;outline-offset:3px}
body .edm-primary-navigation .edm-secondary-links {column-gap:22px;padding-bottom:4px}
body .edm-primary-navigation .edm-secondary-links a {font-size:13px}
body .edm-primary-navigation .edm-secondary-links a[aria-current=page] {color:#222;text-decoration:underline;text-underline-offset:5px}
body .edm-primary-navigation .edm-secondary-links[hidden] {display:none!important}
body.edm-primary-navigation-ready header.header .mobile-toggle {display:none!important}
body.edm-primary-navigation-ready .edm-ss-header .edm-ss-header-actions {display:none!important}
body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header {grid-template-columns:auto minmax(0,1fr)}
body .edm-primary-navigation.edm-navigation-standalone {width:auto;margin:16px 55px 28px}
@media(max-width:900px){
 body .edm-primary-navigation .edm-primary-links {justify-content:space-between;column-gap:14px}
 body .edm-primary-navigation .edm-primary-links a {font-size:13px}
 body .edm-primary-navigation.edm-navigation-standalone {margin-left:30px;margin-right:30px}
}
@media(max-width:640px){body .edm-primary-navigation.edm-navigation-standalone {margin-left:10px;margin-right:10px}}
@media(max-width:400px){body .edm-primary-navigation .edm-primary-links {column-gap:12px}body .edm-primary-navigation .edm-primary-links a {font-size:12px}}

/* Keep category navigation in the existing fixed header on every template. */
body header.header.edm-navigation-fixed {position:fixed!important;background:#fff;overflow:visible!important;transform:none!important;box-shadow:0 1px 0 #00000012}
body header.edm-navigation-fixed .regular-header {flex-wrap:wrap}
body header.edm-navigation-fixed .edm-primary-navigation {grid-column:1/-1;flex:0 0 100%;width:100%;margin:0;padding:8px 0 0;border-bottom:0}
body .edm-navigation-spacer {display:block;width:100%;flex-shrink:0;pointer-events:none}
@media(min-width:901px){body header.edm-navigation-fixed .edm-primary-links {justify-content:center}body header.edm-navigation-fixed .edm-secondary-links {justify-content:center}}
@media(max-width:900px){body header.edm-navigation-fixed .edm-primary-navigation {padding-top:4px}}

/* Mobile category rail shares the bottom search-launcher area. */
@media(max-width:900px){
 body > .edm-primary-navigation.edm-navigation-bottom {position:fixed;z-index:1000000;left:max(16px,env(safe-area-inset-left));right:calc(max(16px,env(safe-area-inset-right)) + 56px);bottom:max(16px,env(safe-area-inset-bottom));width:auto;margin:0;padding:0;border:1px solid #dedede;border-radius:24px;background:#fff;box-shadow:0 2px 8px #0002;clear:none}
 body > .edm-navigation-bottom[inert] {visibility:hidden;pointer-events:none}
 body .edm-navigation-bottom .edm-primary-links {position:relative;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:18px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:24px;padding:0 16px;min-height:46px;-webkit-overflow-scrolling:touch}
 body .edm-navigation-bottom .edm-primary-links::-webkit-scrollbar {display:none}
 body .edm-navigation-bottom .edm-primary-links a {flex:0 0 auto;min-height:46px;font-size:13px;padding:10px 0}
 body .edm-navigation-bottom .edm-primary-links a[aria-current=page]:after {bottom:5px;height:2px}
 body .edm-navigation-bottom .edm-secondary-links {position:absolute;left:0;bottom:calc(100% + 8px);max-width:100%;padding:0 12px;gap:14px;border:1px solid #dedede;border-radius:16px;background:#fff;box-shadow:0 2px 8px #0002}
 body:has(> .edm-navigation-bottom .edm-secondary-links:not([hidden])) .edm-ss-dock-spacer {min-height:150px}
}
@media(min-width:40.0625em) and (max-width:900px){
 body.thb-borders-on > .edm-navigation-bottom {left:max(30px,env(safe-area-inset-left));right:calc(max(30px,env(safe-area-inset-right)) + 56px);bottom:max(30px,env(safe-area-inset-bottom))}
}

/* Home is an icon-only link; its accessible name remains explicit. */
body .edm-primary-navigation a.edm-navigation-home {min-width:44px;justify-content:center}
body .edm-primary-navigation .edm-navigation-home svg {display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Listing cards: one column on phones, two on tablets, three on wide screens. */
body .edm-archive-results > .masonry-blog > .columns {width:100%;flex-basis:100%;max-width:100%}
@media(min-width:768px){body .edm-archive-results > .masonry-blog > .columns:not(.edm-archive-empty) {width:50%;flex-basis:50%;max-width:50%}}
@media(min-width:1200px){body .edm-archive-results > .masonry-blog > .columns:not(.edm-archive-empty) {width:33.333333%;flex-basis:33.333333%;max-width:33.333333%}}

/* One outer grid for listing headers, metadata, cards and pagination. */
body:has(.edm-archive-results > .masonry-blog) {--edm-grid-gutter:70px;--edm-card-gutter:15px}
body:has(.edm-archive-results > .masonry-blog) header.header > .row,
body:has(.edm-archive-results > .masonry-blog) .blog-container.edm-archive-layout,
body:has(.edm-archive-results > .masonry-blog) main.edm-nav-period,
body:has(.edm-archive-results > .masonry-blog) .subfooter > .row {width:100%;max-width:1800px;margin-left:auto;margin-right:auto;padding-left:var(--edm-grid-gutter)!important;padding-right:var(--edm-grid-gutter)!important;box-sizing:border-box}
body:has(.edm-archive-results > .masonry-blog) header.header > .row > .regular-header {padding-left:0;padding-right:0}
body:has(.edm-archive-results > .masonry-blog) .edm-nav-period .edm-nav-inner {max-width:none;width:100%}
body .edm-archive-results > .row.masonry-blog {width:calc(100% + 30px);max-width:none;margin-left:-15px;margin-right:-15px;padding-left:0;padding-right:0}
body .edm-archive-results > .row.masonry-blog > .columns {padding-left:15px;padding-right:15px;box-sizing:border-box}
@media(max-width:1199px){body:has(.edm-archive-results > .masonry-blog) {--edm-grid-gutter:40px}}
@media(max-width:767px){body:has(.edm-archive-results > .masonry-blog) {--edm-grid-gutter:20px}}

/* Shared listing typography for search, category and archive metadata. */
body .edm-context-trail,
body .edm-ss-breadcrumbs {font-family:inherit;font-size:13px;font-style:normal;font-weight:400;line-height:1.6;letter-spacing:normal;text-transform:none;color:#666}
body .edm-ss-breadcrumbs {display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 0 22px;padding:0;overflow-wrap:anywhere}
body .edm-ss-breadcrumbs a {font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px}
body .edm-ss-breadcrumbs > [aria-hidden=true] {color:#999}
body .edm-ss-breadcrumbs a:focus-visible {outline:2px solid currentColor;outline-offset:3px}
body .edm-archive-result-count,
body .edm-ss-results .edm-ss-context {font:400 12px/1.5 Arial,sans-serif;letter-spacing:normal;text-transform:none;color:#707068;margin:0 0 22px;overflow-wrap:anywhere}
@media(max-width:767px){body .edm-context-trail,body .edm-ss-breadcrumbs {font-size:12px}body .edm-ss-breadcrumbs {margin-bottom:18px}}

/* Equal side columns keep desktop search on the same axis as navigation. */
@media(min-width:901px){
 body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header {grid-template-columns:minmax(150px,1fr) minmax(0,var(--edm-ss-field-width,960px)) minmax(150px,1fr);column-gap:24px}
 body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header > .logo-holder {grid-column:1;grid-row:1;justify-self:start;max-width:100%}
 body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header > .logo-holder img {max-width:100%;height:auto}
 body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header > .edm-ss-form {grid-column:2;grid-row:1;justify-self:center;width:100%;min-width:0}
 body.edm-primary-navigation-ready header.header .regular-header.edm-ss-header > .edm-primary-navigation {grid-column:1/-1;grid-row:2;justify-self:stretch}
 body.edm-primary-navigation-ready header.header .edm-primary-links,
 body.edm-primary-navigation-ready header.header .edm-secondary-links {justify-content:center}
}

/* Desktop header follows scroll direction without moving document content. */
@media(min-width:901px){
 body header.header.edm-navigation-fixed {transition:transform .22s ease;will-change:transform}
 body header.header.edm-navigation-fixed.edm-header-hidden:not(:focus-within) {transform:translateY(calc(-100% - 100px))!important;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){body header.header.edm-navigation-fixed {transition:none!important}}

/* Shared mobile toolbar stays at its normal visual size during pinch zoom. */
.edm-mobile-toolbar {display:none}
@media(max-width:900px){
 body > .edm-mobile-toolbar {--edm-toolbar-gutter:16px;position:fixed;z-index:1000000;display:flex;align-items:flex-end;gap:8px;box-sizing:border-box;pointer-events:none;left:calc(var(--edm-toolbar-left,0px) + max(var(--edm-toolbar-gutter),env(safe-area-inset-left)) * var(--edm-toolbar-inverse,1));top:calc(var(--edm-toolbar-bottom,100dvh) - max(var(--edm-toolbar-gutter),env(safe-area-inset-bottom)) * var(--edm-toolbar-inverse,1));width:calc(var(--edm-toolbar-width,100vw) - max(var(--edm-toolbar-gutter),env(safe-area-inset-left)) - max(var(--edm-toolbar-gutter),env(safe-area-inset-right)));transform-origin:top left;transform:scale(var(--edm-toolbar-inverse,1)) translateY(-100%)}
 body.thb-borders-on > .edm-mobile-toolbar {--edm-toolbar-gutter:30px}
 body > .edm-mobile-toolbar[inert] {visibility:hidden;pointer-events:none}
 body .edm-mobile-toolbar > .edm-navigation-bottom {position:relative;inset:auto;flex:1;min-width:0;width:auto;margin:0;padding:0;border:1px solid #dedede;border-radius:24px;background:#fff;box-shadow:0 2px 8px #0002;clear:none;pointer-events:auto}
 body .edm-mobile-toolbar > .edm-ss-launcher {display:flex;align-items:center;justify-content:center;flex:0 0 48px;box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;padding:10px;margin:0;color:#222;background:#fff;border:1px solid #dedede;border-radius:50%;box-shadow:0 2px 8px #0002;cursor:pointer;pointer-events:auto;appearance:none}
 body > .edm-ss-docked:not(.edm-ss-mobile-expanded) {display:none!important}
 body:has(.edm-mobile-toolbar .edm-secondary-links:not([hidden])) .edm-ss-dock-spacer {min-height:150px}
}

/* Keep all five categories visible; allow submitting filters without a keyboard. */
@media(max-width:900px){
 body > .edm-mobile-toolbar,body.thb-borders-on > .edm-mobile-toolbar {--edm-toolbar-gutter:12px}
 body .edm-mobile-toolbar .edm-primary-links {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 3px;overflow-x:auto;box-sizing:border-box}
 body .edm-mobile-toolbar .edm-primary-links a {display:flex;justify-content:center;min-width:0;min-height:46px;padding:10px 0;font-size:12px;letter-spacing:normal;box-sizing:border-box}
 body .edm-mobile-toolbar .edm-primary-links a[aria-current=page]:after {left:8px;right:8px}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-input-row {display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-field {grid-column:1/-1;grid-row:1;width:100%;box-sizing:border-box}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-cancel {grid-column:1;grid-row:2;justify-self:start}
 body .edm-ss-docked.edm-ss-mobile-expanded .edm-ss-input-row > button[type=submit] {display:block!important;position:static!important;grid-column:2;grid-row:2;justify-self:end;width:auto;min-width:96px;min-height:44px;height:44px;margin:0;padding:10px 20px;background:#222;color:#fff;border:0;border-radius:22px;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:normal;text-transform:none}
}

/* Intermediate phone widths: preserve a gutter inside Werkstatt's 20px frame. */
@media(min-width:40.0625em) and (max-width:767px){
 body.thb-borders-on:has(.edm-archive-results > .masonry-blog) {--edm-grid-gutter:40px}
}
@media(min-width:40.0625em) and (max-width:767px){
 body .edm-archive-results > .masonry-blog > .columns:not(.edm-archive-empty) {width:50%;flex-basis:50%;max-width:50%}
}

/* Center the complete mobile toolbar and cap its visual width, including zoom. */
@media(max-width:900px){
 body > .edm-mobile-toolbar {left:calc(var(--edm-toolbar-left,0px) + var(--edm-toolbar-width,100vw) * var(--edm-toolbar-inverse,1) / 2);width:min(380px,calc(var(--edm-toolbar-width,100vw) - 2 * max(var(--edm-toolbar-gutter),env(safe-area-inset-left),env(safe-area-inset-right))));transform:scale(var(--edm-toolbar-inverse,1)) translate(-50%,-100%)}
}

/* Equal optical edge spacing: distribute gaps between natural-width labels. */
@media(max-width:900px){
 body .edm-mobile-toolbar .edm-primary-links {display:flex;justify-content:space-between;gap:0;padding:0 20px}
 body .edm-mobile-toolbar .edm-primary-links a {flex:0 0 auto;min-width:0;width:auto;position:relative}
 body .edm-mobile-toolbar .edm-primary-links a.edm-navigation-home {min-width:0;width:20px}
 body .edm-mobile-toolbar .edm-primary-links .edm-navigation-home svg {width:20px;height:20px}
 body .edm-mobile-toolbar .edm-primary-links a:before {content:'';position:absolute;top:0;bottom:0;left:50%;width:max(100%,44px);transform:translateX(-50%)}
 body .edm-mobile-toolbar .edm-primary-links a[aria-current=page]:after {left:0;right:0}
}

/* Scroll direction controls the complete mobile toolbar without changing zoom geometry. */
@media(max-width:900px){
 body > .edm-mobile-toolbar {opacity:1;translate:0 0;transition:translate .6s cubic-bezier(.4,0,.2,1);will-change:translate}
 body > .edm-mobile-toolbar.edm-toolbar-hidden:not(:focus-within) {opacity:1;translate:0 calc(100% + var(--edm-toolbar-overhang,0px) + max(var(--edm-toolbar-gutter),env(safe-area-inset-bottom)) + 16px);pointer-events:none}
 body > .edm-mobile-toolbar.edm-toolbar-hidden:not(:focus-within) > * {pointer-events:none!important}
}
@media(prefers-reduced-motion:reduce){body > .edm-mobile-toolbar {transition:none}}

/* Mobile footer groups use separate rows; floating-menu clearance stays dark. */
@media(max-width:900px){
 body #subfooter {margin-bottom:0}
 body #subfooter .subfooter-container > .row {display:grid;grid-template-columns:minmax(0,1fr);row-gap:16px;column-gap:0;text-align:center}
 body #subfooter .thb-copyright {display:contents}
 body #subfooter .edm-footer-links {grid-column:1;grid-row:1;justify-self:stretch;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 24px;margin:0;font-size:14px;white-space:normal}
 body #subfooter .edm-footer-links a {display:inline-flex;align-items:center;justify-content:center;min-height:44px}
 body #subfooter .thb-social {grid-column:1;grid-row:2;justify-self:center;justify-content:center;width:auto;max-width:100%;padding:0;margin:0;min-width:0}
 body #subfooter .thb-social .socials {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px}
 body #subfooter .thb-social a.social {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;font-size:24px;line-height:1}
 body #subfooter .edm-footer-age {grid-column:1;grid-row:3;margin:0;text-align:center}
 body #subfooter .edm-footer-copy {grid-column:1;grid-row:4;margin:0;text-align:center;white-space:normal;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
 body #subfooter > .edm-ss-dock-spacer {height:auto;min-height:calc(80px + env(safe-area-inset-bottom));background:transparent}
}

/* Compact footer: text left, icons right, with no floating-toolbar spacer. */
body .edm-ss-dock-spacer {display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
@media(max-width:900px){
 body #subfooter .subfooter-container > .row {grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:16px}
 body #subfooter .edm-footer-links {grid-column:1;grid-row:1;justify-self:start;justify-content:flex-start;flex-wrap:nowrap;gap:12px;font-size:12px;white-space:nowrap}
 body #subfooter .thb-social {grid-column:2;grid-row:1;justify-self:end}
 body #subfooter .thb-social .socials {flex-wrap:nowrap;gap:10px}
 body #subfooter .thb-social a.social {min-width:28px;width:28px;min-height:44px;font-size:22px}
 body #subfooter .edm-footer-age {grid-column:1/-1;grid-row:2}
 body #subfooter .edm-footer-copy {grid-column:1/-1;grid-row:3}
}
@media(max-width:359px){
 body #subfooter .subfooter-container > .row {column-gap:8px}
 body #subfooter .edm-footer-links {gap:8px}
 body #subfooter .thb-social .socials {gap:6px}
}

/* Larger footer labels and icons, preserving the compact spacing. */
@media(max-width:900px){
 body #subfooter .edm-footer-links {font-size:14px}
 body #subfooter .thb-social a.social {font-size:24px}
}

/* Theme resize handlers must not replace the measured search-page clearance. */
@media(max-width:900px){
 body main.edm-ss-results.edm-archive-layout {padding-top:var(--edm-search-top-gap,100px)!important}
}

/* Apply the homepage header grid independently of the page's content template. */
body.edm-primary-navigation-ready {--edm-header-gutter:70px}
body.edm-primary-navigation-ready header.header > .row {width:100%;max-width:1800px;margin-left:auto;margin-right:auto;padding-left:var(--edm-header-gutter)!important;padding-right:var(--edm-header-gutter)!important;box-sizing:border-box}
body.edm-primary-navigation-ready header.header > .row > .regular-header {padding-left:0;padding-right:0}
@media(max-width:1199px){body.edm-primary-navigation-ready {--edm-header-gutter:40px}}
@media(max-width:767px){body.edm-primary-navigation-ready {--edm-header-gutter:20px}}
@media(min-width:40.0625em) and (max-width:767px){body.thb-borders-on.edm-primary-navigation-ready {--edm-header-gutter:40px}}
@media(max-width:900px){
 body.edm-primary-navigation-ready header.header .regular-header {display:flex;align-items:center;justify-content:space-between}
 body.edm-primary-navigation-ready header.header .regular-header > .logo-holder {position:relative;left:auto;top:auto;transform:none;margin:0;width:auto;max-width:none;align-self:center}
 body.edm-primary-navigation-ready header.header .regular-header .logolink {width:auto;max-width:none}
 body.edm-primary-navigation-ready header.header .regular-header .logo-holder img {width:auto!important;max-width:150px!important;height:auto!important}
}

/* Server-rendered header: identical geometry before the search behavior loads. */
body.edm-early-header header.header .search-holder {display:none!important}
body.edm-early-header .edm-archive-layout,
body.edm-early-header main.edm-nav-period {padding-top:var(--edm-listing-clearance,100px)!important}
@media(max-width:900px){
 body.edm-early-header header.header .edm-ss-form,
 body.edm-early-header header.header .edm-primary-navigation {display:none!important}
}

/* Preserve intrinsic logo proportions under the theme max-height constraint. */
body.edm-primary-navigation-ready header.header .regular-header .logo-holder .logoimg {width:auto!important;height:auto!important}
