/* Configured colors win over historical URL- and position-based header colors. */
body.ostsachsen-portal .ost-site-header :is(.ost-header-utilities,.ost-header-actions,.ost-mobile-quicklinks) .ost-configured-button[style]{background:var(--ost-button-color)!important;color:var(--ost-button-text)!important}
body.ostsachsen-portal .ost-site-header .ost-configured-button:focus-visible{outline:3px solid #087747;outline-offset:3px}
body.ostsachsen-portal .os-reference-hero__actions a.ost-configured-button{background:#fff!important;color:#172119!important}
body.ostsachsen-portal .os-reference-hero__actions a.ost-configured-button:hover,body.ostsachsen-portal .os-reference-hero__actions a.ost-configured-button:focus-visible{background:var(--ost-home-action-hover)!important}
@media(max-width:1080px){
 body.ostsachsen-portal .ost-site-header .ost-mobile-regions.ost-mobile-shortcuts{background:transparent!important;border:0!important;padding:8px 0 22px!important;box-shadow:none!important}
 body.ostsachsen-portal .ost-site-header .ost-primary-navigation .ost-mobile-shortcuts__links{display:flex!important;flex-direction:column;gap:12px}
 body.ostsachsen-portal .ost-site-header .ost-primary-navigation.is-open .ost-mobile-regions.ost-mobile-shortcuts a.ost-configured-button{display:flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:48px;width:100%;margin:0;padding:12px 16px;border:1px solid #edf0ee;border-radius:14px;background:#fff!important;color:#172119!important;box-shadow:0 5px 15px rgba(20,52,37,.13);font-family:"Dimbo","Ost Oswald",sans-serif!important;font-size:26px!important;font-weight:400!important;line-height:1.15!important;text-decoration:none}
 body.ostsachsen-portal .ost-site-header .ost-primary-navigation.is-open .ost-mobile-regions.ost-mobile-shortcuts a.ost-configured-button:hover,body.ostsachsen-portal .ost-site-header .ost-primary-navigation.is-open .ost-mobile-regions.ost-mobile-shortcuts a.ost-configured-button:focus-visible{background:var(--ost-home-action-hover)!important}
}
/* One rounded outer surface; existing content widths/padding remain independent. */
body.ostsachsen-portal:has(>main.ost-theme-card){background:#fff!important}
body.ostsachsen-portal>main.ost-theme-card{box-sizing:border-box;width:98%;max-width:none;margin-inline:auto;border-radius:24px;overflow:clip;isolation:isolate;border:1px solid #edf0f2;background:linear-gradient(180deg,var(--ost-surface-top,#fff) 0,var(--ost-surface-bottom,#fff) var(--ost-surface-fade,1000px))!important}
body.ostsachsen-portal>main.ost-theme-card::before,body.ostsachsen-portal>main.ost-theme-card::after{content:none!important;display:none!important}
body.ostsachsen-portal>main.ost-theme-card--home .ost-home-editor-hero,body.ostsachsen-portal>main.ost-theme-card--home .os-reference-hero{background:transparent!important}
body.ostsachsen-portal>main.ost-theme-card :where(.ost-container,.ost-article,.ost-article-layout,.ost-article__content,.ost-home-editor-hero){min-width:0}
@media(min-width:1081px){body.ostsachsen-portal>main.ost-theme-card{border-radius:36px}}
