.cookie-banner[hidden]{display:none!important}
.cookie-banner{position:fixed;bottom:20px;left:20px;right:20px;margin:auto;max-width:1060px;z-index:2147483647;padding:22px;background:#fff;color:#123262;border:1px solid #a5b5c9;border-radius:16px;box-shadow:0 6px 35px #12326233;font-size:15px;line-height:1.5}
.cookie-banner p{margin:0 0 16px}.cookie-banner a,.privacy-policy-note a{text-decoration:underline;color:inherit}
.cookie-banner__actions{display:flex;gap:12px;flex-wrap:wrap}.cookie-banner button{padding:12px 20px;border:1px solid #123262;border-radius:8px;background:#fff;color:#123262;cursor:pointer;font:inherit}
.cookie-banner button[data-cookie-choice="accepted"]{background:#123262;color:#fff}
.cookie-banner button:focus-visible,.cookie-settings:focus-visible{outline:3px solid #e98228;outline-offset:3px}
.cookie-settings{font:inherit;color:inherit;background:none;border:0;text-decoration:underline;cursor:pointer;text-align:left;padding:0}
.privacy-policy-note{font-size:14px;line-height:1.5;margin:12px 0 20px}

@media(max-width:600px){.cookie-banner{left:10px;right:10px;bottom:10px;padding:16px;max-height:75vh;overflow:auto}.cookie-banner__actions{flex-direction:column}.cookie-banner button{width:100%}}

.feedback_form-right-checkbox label > span:not(.checkmark){font-size:14px;line-height:1.5}.feedback_form-right-checkbox label a{color:inherit;text-decoration:underline}

.feedback_form-right-checkbox input[name="privacy"],.calculator-modal__checkbox{width:24px;height:24px;left:0;top:50%;transform:translateY(-50%)}.feedback_form-right-checkbox input:focus-visible+.checkmark,.calculator-modal__checkbox:focus-visible+.checkmark{outline:3px solid #e98228;outline-offset:3px}

/* Legal documents: header.php already opens the page's main landmark. */
.sudexp-legal-page > header{background:#fff;border-bottom:1px solid #e5eaf0}
.sudexp-legal-page .header-search input{background:#f8fafd;color:#123262;border:1px solid #e5eaf0}
.sudexp-legal-page .header-search input::placeholder{color:#59708e}
.legal-page{padding:188px 0 88px;color:#123262;background:#fff}
.legal-document{max-width:960px;margin:0 auto;font-size:16px;line-height:1.75;overflow-wrap:break-word}
.legal-breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px;font-size:13px;line-height:1.6;color:#64758c}
.legal-breadcrumbs a{color:#64758c;text-decoration:none}
.legal-breadcrumbs a:hover{color:#123262;text-decoration:underline}
.legal-document__heading{padding-bottom:30px;margin-bottom:30px;border-bottom:1px solid #dfe7f0}
.legal-document__eyebrow{display:block;margin-bottom:14px;color:#667c97;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.legal-page .legal-document h1{max-width:900px;margin:0 0 20px;font-size:clamp(28px,3vw,42px);line-height:1.2;font-weight:600;letter-spacing:-.025em;overflow-wrap:normal}
.legal-page .legal-document p{margin:0 0 18px;font-size:16px;line-height:1.8;color:#344d6b}
.legal-page .legal-document .legal-document__date{display:inline-block;margin:0;padding:6px 12px;border-radius:6px;background:#f0f5fa;color:#596f89;font-size:13px;line-height:1.5}
.legal-page .legal-document h2{margin:38px 0 16px;font-size:24px;font-weight:600;line-height:1.35;letter-spacing:-.015em;color:#123262}
.legal-page .legal-document a,.legal-page .legal-document .cookie-settings{color:#23558d;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#a1b7d1}
.legal-page .legal-document a:hover,.legal-page .legal-document .cookie-settings:hover{color:#123262;text-decoration-color:currentColor}
.legal-table{max-width:100%;margin:24px 0;overflow-x:auto;border:1px solid #dce5ef;border-radius:10px}
.legal-policy-page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.65}
.legal-policy-page td,.legal-policy-page th{padding:16px 18px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #e5ebf2;overflow-wrap:anywhere;color:#344d6b}
.legal-policy-page th{background:#eef4fa;color:#123262;font-weight:600}
.legal-policy-page tr:last-child td{border-bottom:0}
.legal-policy-page tbody tr:nth-child(even){background:#fafcfe}
.legal-policy-page th:first-child{width:28%}.legal-policy-page th:last-child{width:30%}

/* Footer: legal links occupy their own wrapping row. */
footer .footer-bottom{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 28px;padding-top:26px}
footer .footer-bottom > .copy{order:1;margin:0;line-height:1.6}
footer .footer-bottom > .btn-top{order:2;margin-left:auto;line-height:1.6}
footer .footer-bottom .footer-legal{order:3;flex-basis:100%;display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 28px}
footer .footer-bottom .footer-legal a,footer .footer-bottom .footer-legal .cookie-settings{display:inline-block;margin:0;padding:0;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:1.65;color:#dde3e9;background:none;border:0;text-align:left;text-decoration:none}
footer .footer-bottom .footer-legal a:hover,footer .footer-bottom .footer-legal .cookie-settings:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
footer .footer-bottom .footer-legal .cookie-settings{cursor:pointer;white-space:nowrap}

/* Explicit layout prevents generic form span/link styles from shrinking consent. */
.feedback_form-right-checkbox label,.calculator-modal__checkbox-label{display:flex;align-items:flex-start;gap:12px;position:relative;text-align:left}
.feedback_form-right-checkbox .checkmark,.calculator-modal__checkbox-label .checkmark{flex:0 0 22px;width:22px;min-width:22px;height:22px;margin:2px 0 0}
.feedback_form-right-checkbox label > .privacy-consent-text,.calculator-modal__checkbox-label > .privacy-consent-text{display:block;flex:1;min-width:0;margin:0;padding:0;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:1.65;color:#123262}
.feedback_form-right-checkbox .privacy-consent-text a,.calculator-modal__checkbox-label .privacy-consent-text a,.feedback_form-right-checkbox .privacy-policy-note a,.calculator-modal__form .privacy-policy-note a{display:inline;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#8ea8c6}
.feedback_form-right-checkbox .privacy-policy-note,.calculator-modal__form .privacy-policy-note{margin:12px 0 0 34px;padding:0;font-size:14px;font-weight:400;line-height:1.65;color:#526781}
#consultation-form .feedback_form-right-checkbox{margin:4px 0 24px}
.calculator-modal__form > .privacy-policy-note,.calculator-modal__submit .privacy-policy-note{margin-bottom:20px}
.feedback_form-right-checkbox input[name="privacy"],.calculator-modal__checkbox-label .calculator-modal__checkbox{top:2px;left:0;width:22px;height:22px;transform:none}

@media(max-width:1200px){
 .legal-page{padding-top:160px}
 footer .footer-bottom .footer__social-mobile{order:0;flex-basis:100%;padding:0}
}
@media(max-width:768px){
 .legal-page{padding:160px 0 56px}
 .legal-document{font-size:15px}
 .legal-breadcrumbs{margin-bottom:24px;font-size:12px;gap:8px}
 .legal-document__heading{padding-bottom:24px;margin-bottom:24px}
 .legal-page .legal-document h1{font-size:28px;line-height:1.25;letter-spacing:-.02em}
 .legal-page .legal-document h2{font-size:21px;margin:30px 0 14px}
 .legal-page .legal-document p{font-size:15px;line-height:1.75}
 .legal-policy-page table{table-layout:auto;min-width:560px;font-size:13px}
 .legal-policy-page th,.legal-policy-page td{padding:12px 14px}
 footer .footer-bottom{gap:22px;align-items:flex-start;padding-top:24px;border-top:1px solid #274e83}
 footer .footer-bottom .footer-legal{flex-direction:column;gap:14px;align-items:flex-start}
 footer .footer-bottom .footer-legal a,footer .footer-bottom .footer-legal .cookie-settings{font-size:13px}
 .feedback_form-right-checkbox label > .privacy-consent-text,.calculator-modal__checkbox-label > .privacy-consent-text{font-size:14px;line-height:1.6}
}

@media(max-width:600px){
 .legal-table{overflow:visible;border:0;border-radius:0;background:none}
 .legal-policy-page table{display:block;min-width:0;font-size:14px}
 .legal-policy-page thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .legal-policy-page tbody{display:grid;gap:14px}
 .legal-policy-page tbody tr{display:block;border:1px solid #dce5ef;border-radius:10px;overflow:hidden;background:#fff}
 .legal-policy-page td{display:block;width:auto;padding:14px 16px;border-bottom:1px solid #e5ebf2;overflow-wrap:anywhere}
 .legal-policy-page tr:last-child td{border-bottom:1px solid #e5ebf2}
 .legal-policy-page tr td:last-child{border-bottom:0}
 .legal-policy-page td::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:12px;font-weight:600;line-height:1.5;color:#64758c}
}

/* Same document layout as page-policy.php. */
.legal-policy-page .breadcrumbs{padding-top:40px}
.legal-policy-page .policy-section{min-width:0}
.legal-policy-page .policy-section .cookie-settings{font:inherit;color:#121212;text-decoration:underline}
.legal-policy-page .legal-table{margin:0}
@media(max-width:768px){.legal-policy-page .breadcrumbs{padding-top:20px}}

/* Contact form: one sentence aligned with an accessible checkbox. */
#consultation-form .feedback_form-right-checkbox{margin:8px 0 24px}
#consultation-form .feedback_form-right-checkbox label{display:flex;align-items:flex-start;gap:12px;padding:0;cursor:pointer}
#consultation-form .feedback_form-right-checkbox .checkmark{display:none}
#consultation-form .feedback_form-right-checkbox input[name="privacy"]{appearance:auto;-webkit-appearance:checkbox;position:static;opacity:1;flex:0 0 20px;width:20px;min-width:20px;height:20px;margin:2px 0 0;padding:0;transform:none;accent-color:#274e83;cursor:pointer;border-radius:4px}
#consultation-form .feedback_form-right-checkbox input[name="privacy"]:focus-visible{outline:2px solid #e98228;outline-offset:3px}
#consultation-form .feedback_form-right-checkbox .privacy-consent-text{flex:1;min-width:0;margin:0;padding:0;font-size:14px;line-height:1.65;color:#123262}

/* Keep breadcrumbs below the actual fixed header, including wrapped menus. */
.policy-page.legal-policy-page{padding-top:calc(var(--legal-header-height, 155px) + 40px)}
.legal-policy-page .policy-header .breadcrumbs{display:flex;position:relative;visibility:visible;opacity:1;padding-top:0;margin:0 0 20px;gap:6px;flex-wrap:wrap}
.legal-policy-page .breadcrumbs-item a,.legal-policy-page .breadcrumbs-item span{color:#121212;font-size:14px;font-weight:400;line-height:1.71}
@media(max-width:768px){.policy-page.legal-policy-page{padding-top:calc(var(--legal-header-height, 140px) + 20px)}}
