/* WordPress/Astra integration adjustments */
html { scroll-behavior: smooth; }
body.sd-swiss-digitech { margin: 0; }
body.sd-swiss-digitech #page, body.sd-swiss-digitech .site, body.sd-swiss-digitech .site-content, body.sd-swiss-digitech #content { width: 100%; max-width: none; margin: 0; padding: 0; }
body.sd-swiss-digitech .site-header { position: relative; z-index: 50; width: 100%; box-sizing: border-box; }
body.sd-swiss-digitech .brand .custom-logo-link { display: inline-flex; align-items: center; }
body.sd-swiss-digitech .brand .custom-logo { width: 50px; height: 54px; object-fit: contain; }
body.sd-swiss-digitech .site-header nav { flex: 1 1 auto; min-width: 0; }
.sd-header-menu, .sd-header-menu ul, .sd-footer-menu, .sd-footer-menu ul { list-style: none; margin: 0; padding: 0; }
.sd-header-menu { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 34px); }
.sd-header-menu li { position: relative; margin: 0; padding: 0; }
.sd-header-menu a { display: block; padding: 12px 0; color: var(--navy, #081a3a); white-space: nowrap; }
.sd-header-menu .sub-menu { display: none; position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 220px; padding: 9px; background: #fff; border: 1px solid var(--line, #e4e7ef); border-radius: 10px; box-shadow: 0 12px 30px #03132f18; }
.sd-header-menu .sub-menu a { padding: 11px 12px; white-space: normal; border-radius: 5px; }
.sd-header-menu .sub-menu a:hover, .sd-header-menu .sub-menu a:focus { background: var(--pale, #f7f4ff); color: var(--purple, #7500ff); }
.sd-header-menu li:hover > .sub-menu, .sd-header-menu li:focus-within > .sub-menu { display: block; }
.sd-proposal-footer { margin-top: 40px; }
.sd-footer-navigation { margin-top: 18px; }
.sd-footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.sd-footer-menu a { color: inherit; }
body.sd-swiss-digitech .entry-header, body.sd-swiss-digitech .entry-content { max-width: none; }
@media (max-width: 1023px) {
 body.sd-swiss-digitech .site-header { position: relative; }
 body.sd-swiss-digitech .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; flex: none; background: #fff; padding: 15px 25px 25px; box-shadow: 0 15px 20px #07132d12; max-height: calc(100dvh - 80px); overflow: auto; }
 body.sd-swiss-digitech .site-header nav.open { display: block; }
 .sd-header-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
 .sd-header-menu a { padding: 13px 0; white-space: normal; }
 .sd-header-menu .sub-menu { display: none; position: static; min-width: 0; padding: 4px 15px; box-shadow: none; border: 0; border-radius: 0; background: #f7f4ff; }
 .sd-header-menu li:focus-within > .sub-menu, .sd-header-menu li:hover > .sub-menu { display: block; }
 body.sd-swiss-digitech .site-header .header-cta { margin-left: auto; }
}
@media (max-width: 520px) {
 body.sd-swiss-digitech .site-header { gap: 12px; padding-left: 18px; padding-right: 18px; }
 body.sd-swiss-digitech .brand { gap: 8px; font-size: 18px; }
 body.sd-swiss-digitech .brand img, body.sd-swiss-digitech .brand .custom-logo { width: 36px; height: 40px; }
 body.sd-swiss-digitech .site-header .header-cta { padding: 10px 12px; font-size: 12px; }
}
