/* Theme shapes use the site's existing colors and light/dark variables. */
.header-topbar-no .topbar,.header-search-no .masthead .search-box,.nav-tools-no .nav-tools {display:none!important}
.header-sticky-no .site-header {position:relative}
body.header-layout-center .masthead .container-x {flex-wrap:wrap;justify-content:center}
body.header-layout-center .masthead .brand {flex-basis:100%;justify-content:center;text-align:center}
body.header-layout-left .masthead .container-x,body.header-layout-compact .masthead .container-x {flex-wrap:nowrap;justify-content:space-between}
body.header-layout-left .masthead .brand,body.header-layout-compact .masthead .brand {flex-basis:auto;justify-content:flex-start;text-align:left}
body.header-layout-compact .masthead .container-x {min-height:60px;padding-block:.3rem}
body.header-layout-compact .brand img {max-height:40px}
.footer-layout-center .footer-columns,.footer-layout-center .footer-bottom {text-align:center;justify-content:center}
.footer-layout-center .social {justify-content:center}
.footer-layout-center .footer-bottom {flex-direction:column;gap:1rem}
.footer-layout-compact .site-footer {padding-top:1.25rem}
.footer-layout-compact .footer-columns {--bs-gutter-y:1rem;font-size:.85rem}
.footer-layout-minimal .footer-columns {display:none}
.footer-layout-minimal .site-footer {padding-top:1rem}
.footer-editions-no .footer-editions-column,.footer-subscribe-no .footer-subscribe-column,.footer-contact-no .footer-contact-column {display:none}
@media(min-width:992px) {
 .header-sticky-yes .site-header {position:sticky;top:0}
 .nav-layout-center .navbar-collapse {justify-content:center}
 .nav-layout-pills .main-nav .nav-link {border-radius:24px;background:var(--surface);color:var(--ink)!important;margin:.3rem .15rem}
 .nav-layout-pills .main-nav .nav-link.active {background:var(--primary);color:#fff!important}
 .nav-layout-underline .main-nav .nav-link {border-radius:0;border-bottom:3px solid transparent}
 .nav-layout-underline .main-nav .nav-link:hover,.nav-layout-underline .main-nav .nav-link.active {border-bottom-color:var(--primary);background:transparent;color:var(--nav-text)!important}
 .footer-columns > div {flex:1;min-width:0}
}
.site-theme-classic .site-header {box-shadow:none;border-bottom:3px double var(--primary)}
.site-theme-classic .masthead .container-x {flex-wrap:wrap;justify-content:center;padding-block:1.25rem}
.site-theme-classic .masthead .brand {flex-basis:100%;justify-content:center;text-align:center}
.site-theme-classic .widget,.site-theme-classic .edition-card {border-radius:0;box-shadow:none;border-top:3px double var(--primary)}
.site-theme-modern .widget,.site-theme-modern .edition-card {border-radius:20px;box-shadow:0 8px 24px #0000000c}
.site-theme-modern main {padding-top:1rem}
.site-theme-minimal .site-header {box-shadow:none;border-bottom:1px solid var(--primary)}
.site-theme-minimal .widget,.site-theme-minimal .edition-card {border-radius:2px;box-shadow:none}
.site-theme-minimal .container-x {max-width:1180px}
.site-theme-magazine .widget,.site-theme-magazine .edition-card {border-radius:16px;border-top:5px solid var(--primary)}
.site-theme-magazine .site-header {border-bottom:5px solid var(--primary)}
.site-theme-magazine .masthead .container-x {min-height:100px}
.site-theme-compact .masthead .container-x {min-height:60px;padding-block:.25rem}
.site-theme-compact .widget {padding:14px;margin-bottom:14px}
.site-theme-compact .row {--bs-gutter-x:1rem;--bs-gutter-y:1rem}
@media(min-width:1200px) {
 .viewer-layout-left > .viewer-content {order:2}
 .viewer-layout-left > .viewer-sidebar {order:1}
 .viewer-layout-full > .viewer-sidebar {display:none}
}
@media(max-width:767.98px) {
 body.mobile-header-compact .masthead .container-x {flex-wrap:nowrap;justify-content:space-between;min-height:56px;padding-block:6px}
 body.mobile-header-compact .masthead .brand {flex-basis:auto;justify-content:flex-start;text-align:left}
 body.mobile-header-compact .brand img {max-height:34px;max-width:165px}
 body.mobile-header-center .masthead .container-x {flex-wrap:wrap;justify-content:center;gap:.5rem}
 body.mobile-header-center .masthead .brand {flex-basis:100%;justify-content:center;text-align:center}
 body.mobile-topbar-hide .topbar {display:none!important}
 body.mobile-topbar-show .topbar {display:block!important}
 body.mobile-search-hide .main-nav .search-box {display:none!important}
 body.mobile-menu-grid .main-nav .navbar-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding-block:.5rem}
 body.mobile-menu-grid .main-nav .nav-link {white-space:normal;overflow-wrap:anywhere}
 body.mobile-menu-grid .main-nav .dropdown-menu {position:static;min-width:0}
 body.mobile-sidebars-hide .layout-sidebar,body.mobile-sidebars-hide .viewer-sidebar {display:none}
 body.mobile-spacing-compact .site-main .container-x {padding-inline:10px}
 body.mobile-spacing-compact .site-main .row {--bs-gutter-x:12px;--bs-gutter-y:12px}
 body.mobile-spacing-roomy .site-main .container-x {padding-inline:22px}
 body.mobile-spacing-roomy .site-main .row {--bs-gutter-y:28px}
 body.mobile-footer-stack .footer-columns > div {width:100%;flex:none}
 body.mobile-footer-stack .footer-columns,body.mobile-footer-grid .footer-columns {display:flex}
 body.mobile-footer-grid .footer-columns > div {width:50%;flex:none;overflow-wrap:anywhere;min-width:0}
 body.mobile-footer-grid .f-sub {flex-wrap:wrap}
 body.mobile-footer-grid .f-sub input {min-width:0;max-width:100%}
 body.mobile-footer-minimal .footer-columns {display:none}
 body.mobile-footer-align-center .footer-columns,body.mobile-footer-align-center .footer-bottom {text-align:center}
 body.mobile-footer-align-center .footer-bottom {flex-direction:column;align-items:center}
 body.mobile-footer-align-center .social {justify-content:center}
 body.mobile-footer-align-left .footer-columns,body.mobile-footer-align-left .footer-bottom {text-align:left}
 body.mobile-footer-align-left .footer-bottom {align-items:flex-start}
 body.mobile-footer-align-left .social {justify-content:flex-start}
}
