.gnb-legal-document{max-width:960px;margin:60px auto;padding:24px;line-height:1.7;overflow-wrap:anywhere;color:#222;background:#fff}
.gnb-legal-document h2{font-size:22px;line-height:1.4;margin:28px 0 12px}
.gnb-legal-document table{width:100%;table-layout:fixed;border-collapse:collapse;margin:24px 0;font-size:inherit}
.gnb-legal-document td{border:1px solid #d9d9d9;padding:12px;vertical-align:top;overflow-wrap:anywhere}
.gnb-legal-document td p:last-child{margin-bottom:0}
.gnb-cookie-banner,.gnb-cookie-banner *{box-sizing:border-box}
.gnb-legal-document h1{font-size:clamp(26px,4vw,40px);line-height:1.25;margin-bottom:24px}
.gnb-legal-document p{margin:0 0 10px}.gnb-legal-document a,.gnb-form-consents a,.gnb-cookie-banner a{text-decoration:underline}
.gnb-legal-draft{padding:16px;border:1px solid #b47c00;background:#fff8df}
.gnb-map{width:100%;min-height:280px}.gnb-map iframe{display:block;width:100%;height:560px;border:0}.gnb-map-placeholder{padding:32px 20px;background:#f4f4f4;line-height:1.6}.gnb-map-placeholder[hidden]{display:none!important}.gnb-map-placeholder button{padding:12px 16px;background:white;border:1px solid #bd181b;color:#bd181b;cursor:pointer;font:inherit}
.gnb-legal-footer{padding:24px 0;line-height:1.6}.gnb-legal-footer ul{list-style:none;padding:0}.gnb-legal-footer li{margin:8px 0}.gnb-legal-footer p{margin-top:16px}
.gnb-cookie-banner{position:fixed;z-index:100000;bottom:16px;right:16px;width:560px;max-width:calc(100vw - 32px);max-height:65vh;overflow:auto;padding:20px;border:1px solid #bbb;border-radius:12px;background:#fff;color:#222;box-shadow:0 6px 30px #0003;font:16px/1.5 Arial,sans-serif}
.gnb-cookie-banner[hidden],#gnb-cookie-panel[hidden]{display:none!important}.gnb-cookie-banner p{margin:0 0 12px}
.gnb-cookie-actions{display:flex;flex-wrap:wrap;gap:8px}.gnb-cookie-banner button,.gnb-legal-footer button,.gnb-legal-document button{padding:12px 16px;border:1px solid #bd181b;border-radius:5px;background:#fff;color:#bd181b;cursor:pointer;font:inherit;min-height:44px}
.gnb-cookie-actions button{flex:1;min-width:120px}.gnb-cookie-banner button:focus-visible,.gnb-legal-footer button:focus-visible{outline:3px solid #2470ad;outline-offset:2px}#gnb-cookie-panel{margin-top:16px}.gnb-cookie-banner input{appearance:auto;width:20px;height:20px}
.gnb-form-consents{display:grid;gap:12px;margin:18px 0;line-height:1.5;font-size:14px}.gnb-form-consents label{display:block}.gnb-form-consents input[type=checkbox]{appearance:auto!important;width:20px!important;height:20px!important;position:static!important;opacity:1!important;margin-right:8px}.gnb-form-consents input:before{display:none!important}.gnb-form-consents .wpcf7-list-item{margin:0}
@media(max-width:600px){.gnb-legal-document{margin:24px auto;padding:16px}.gnb-cookie-banner{font-size:14px;padding:14px;bottom:8px;right:8px;max-width:calc(100vw - 16px)}}

/* CF7 acceptance wrappers are not text inputs. Override the contact page's
   inline input rules as well as the shared theme stylesheet. */
body .wpcf7 .gnb-form-consents{display:grid!important;gap:16px!important;min-width:0;width:100%;box-sizing:border-box}
body .wpcf7 .gnb-form-consents .wpcf7-form-control-wrap,
body .wpcf7 .gnb-form-consents .wpcf7-acceptance,
body .wpcf7 .gnb-form-consents .wpcf7-list-item{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-width:100%;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box}
body .wpcf7 .gnb-form-consents .wpcf7-list-item>label{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.5!important;white-space:normal!important}
body .wpcf7 .gnb-form-consents .wpcf7-list-item-label{display:block;flex:1;min-width:0;overflow-wrap:anywhere;line-height:inherit}
body .wpcf7 .gnb-form-consents input[type=checkbox]{flex:0 0 20px!important;display:block!important;width:20px!important;height:20px!important;min-width:20px!important;margin:1px 0 0!important;padding:0!important;appearance:auto!important;accent-color:#bd181b;cursor:pointer}
body .wpcf7 .gnb-form-consents p{margin:0!important;font-size:14px!important;line-height:1.5!important}
body .wpcf7 .gnb-form-consents p:has(>.wpcf7-form-control-wrap){display:grid;gap:16px}
body .wpcf7 .gnb-form-consents br{display:none}
body .wpcf7 .gnb-form-consents .wpcf7-not-valid-tip{display:block;margin-top:6px;line-height:1.4}


/* Keep legal information inside the shared dark site footer. */
#footer .section-inner.gnb-legal-footer-container{display:block;padding-top:0;padding-bottom:24px}
#footer .gnb-legal-footer{width:100%;padding:24px 0 0;border-top:1px solid #36363a;color:#b8b8bd;font-size:14px;line-height:1.6;white-space:normal}
#footer .gnb-legal-footer h2{margin:0 0 14px;font-size:18px;font-weight:500;color:#eee}
#footer .gnb-legal-footer h2 a{color:inherit}
#footer .gnb-legal-footer ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px;margin:0 0 16px}
#footer .gnb-legal-footer li{margin:0;overflow-wrap:anywhere}
#footer .gnb-legal-footer a{color:#b8b8bd}
#footer .gnb-legal-footer a:hover{color:#fff;text-decoration:underline}
#footer .gnb-legal-footer button{background:transparent;border-color:#77777e;color:#eee}
#footer .gnb-legal-footer button:hover{background:#242429}
#footer .gnb-legal-footer p{margin:18px 0 0;overflow-wrap:anywhere}
@media(max-width:600px){#footer .gnb-legal-footer ul{grid-template-columns:minmax(0,1fr);gap:10px}#footer .gnb-legal-footer{font-size:13px}}

/* Higher specificity than legacy desktop/mobile #footer rules, regardless of load order. */
#footer.row{height:auto;max-height:none;min-height:0;margin-top:0;display:flow-root;background:#0a0a0d}
