/*
Theme Name: WingSail Horizon Preview 2026-09-24
Description: Lokalny kandydat do podglądu; strona WingSail z wyszukiwarką NauSYS.
Version: 2.7.0-preview
Author: WingSail
Text Domain: wingsail
*/
.gallery figcaption{display:none}
.site-header .brand img{width:190px;height:auto;object-fit:contain}.footer-logo{display:block;margin:0 0 19px}.footer-logo img{display:block;width:min(245px,100%);height:auto}@media(max-width:600px){.site-header .brand img{width:155px}}
:root{--navy:#102b3b;--ink:#173747;--teal:#0d6c72;--sand:#f4f1eb;--line:#d5dfdf;--muted:#566a73}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button{font:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #db8a32;outline-offset:5px}.skip{position:fixed;left:20px;top:-100px;z-index:999999;background:#fff;padding:15px}.skip:focus{top:10px}.wrap{width:min(1220px,calc(100% - 96px));margin:auto}.preview-bar{padding:5px 24px;text-align:center;background:var(--navy);color:#dce8e9;font-size:10px;letter-spacing:2px}.preview-bar span{letter-spacing:.4px;margin-left:20px;opacity:.8}.site-header{background:#fff;border-bottom:1px solid #e5e9e9}.header-inner{width:min(1390px,calc(100% - 72px));margin:auto;min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:35px}.brand img{width:147px;height:76px;object-fit:contain}nav{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:600}nav a:hover,nav a[aria-current]{color:var(--teal)}.nav-cta{padding:15px 22px;background:var(--navy);color:white!important}.nav-cta span{margin-left:14px}.menu-toggle{display:none}.hero{position:relative;background:var(--navy);min-height:650px;display:flex;align-items:center;color:white;overflow:hidden}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 50%;opacity:.75}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,30,46,.88),rgba(7,30,46,.32) 60%,rgba(7,30,46,.05))}.hero .wrap{position:relative;z-index:1;padding:78px 0 85px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2.5px;font-weight:700;display:block;margin:0 0 23px;color:var(--teal)}.hero .eyebrow{color:#a9ddd8}.hero h1{font-size:clamp(43px,5.7vw,78px);font-weight:400;line-height:1.08;letter-spacing:-3px;max-width:750px;margin:0 0 28px}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#b9e2dd}.hero p{max-width:490px;font-size:17px;line-height:1.8;color:#e5eded}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:32px}.button{display:inline-flex;justify-content:center;align-items:center;background:var(--teal);color:#fff;padding:16px 26px;font-size:13px;font-weight:700;letter-spacing:.2px;border:1px solid transparent;transition:background .2s}.button:hover{background:#0c6166}.button.light{background:#fff;color:var(--navy)}.text-link{font-size:13px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:5px}.trust-strip{border-bottom:1px solid var(--line);background:var(--sand)}.trust-strip .wrap{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0;gap:25px}.trust-strip span{font-size:12px;font-weight:600}.trust-strip b{color:var(--teal);margin-right:13px}.section{padding-top:100px;padding-bottom:100px}.section-head{display:flex;gap:35px;justify-content:space-between;align-items:end;margin-bottom:40px}.section-head p{max-width:365px;color:var(--muted);font-size:14px;margin:0 0 5px}h2{font-size:clamp(30px,3.4vw,46px);font-weight:400;letter-spacing:-1.4px;line-height:1.17;margin:0 0 22px}h3{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.4px;margin:0 0 16px}p{margin:0 0 20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.card{border-bottom:1px solid var(--line);padding-bottom:26px}.card img{aspect-ratio:1.3;object-fit:cover;width:100%;margin-bottom:25px}.card p{color:var(--muted);font-size:14px}.card .number{font-size:11px;letter-spacing:1px;color:var(--teal);margin-bottom:13px}.card .text-link{display:inline-block}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}.split>img{width:100%;aspect-ratio:.96;object-fit:cover}.split p{color:var(--muted)}.sand{background:var(--sand)}.quote{font-family:Georgia,serif;font-size:26px;line-height:1.5;color:var(--ink)!important}.signature{font-size:12px;letter-spacing:1px;text-transform:uppercase}.regions{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.regions span{padding:8px 14px;border:1px solid #c5d0cf;font-size:12px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-top:46px}.step{border-top:1px solid #b9cccd;padding-top:25px}.step b{color:var(--teal);font-size:12px;display:block;margin-bottom:22px}.step h3{font-size:20px}.step p{font-size:14px;color:var(--muted)}.cta{background:#dce9e6;padding:64px 0}.cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:45px}.cta h2{max-width:630px;margin-bottom:12px}.cta p{margin:0;color:var(--muted)}.footer{background:var(--navy);color:#fff;padding:68px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:55px}.footer-wordmark{font-size:38px;letter-spacing:-2px;font-weight:600;margin-bottom:18px}.footer-wordmark span{font-weight:400;margin-left:10px;color:#8ebcbb}.footer h2{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;margin:15px 0 24px}.footer p,.footer a{font-size:13px;color:#c0d1d8}.footer a{display:block;margin-bottom:9px}.footer a:hover{color:white}.footer-bottom{margin-top:45px;padding-top:24px;border-top:1px solid #34505e;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#aabfc9}.footer-bottom div{display:flex;gap:20px}.footer-bottom a{font-size:11px}.page-heading{padding:58px 0 36px}.breadcrumb{font-size:11px;color:var(--muted)}.page-heading h1{font-size:clamp(40px,5vw,67px);font-weight:400;line-height:1.12;letter-spacing:-2px;margin:34px 0 24px}.lead{font-size:19px;max-width:760px;color:var(--muted)}.page-content>.section:first-child{padding-top:28px}.prose{max-width:760px}.prose p{color:var(--muted)}.prose h2{margin-top:42px;font-size:34px}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:44px}.service-grid article{border-top:1px solid var(--line);padding-top:28px}.service-grid p{color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.gallery figure{margin:0}.gallery img{aspect-ratio:1;object-fit:cover;width:100%}.gallery figcaption{font-size:12px;margin-top:12px;color:var(--muted)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.contact-panel{padding:38px;background:var(--sand)}.contact-panel>a{display:block;font-size:clamp(18px,2.5vw,28px);margin:12px 0 26px;overflow-wrap:anywhere}.contact-panel h2{font-size:30px}.checklist{padding-left:20px;color:var(--muted)}.checklist li{padding:6px 0}details{border-top:1px solid var(--line);padding:21px 0}details:last-child{border-bottom:1px solid var(--line)}summary{cursor:pointer;list-style:none;font-weight:600;padding-right:25px;position:relative}summary:after{content:'+';position:absolute;right:0;color:var(--teal)}details[open] summary:after{content:'−'}details p{padding-top:16px;margin:0;font-size:14px;color:var(--muted)}.page-content>.wp-block{max-width:1220px;margin:auto}.page-content>p:empty{display:none}
@media(min-width:1600px){.hero{min-height:740px}}
@media(max-width:1100px){.header-inner{width:calc(100% - 48px)}nav{gap:16px;font-size:12px}.nav-cta{padding:12px}.split{gap:40px}.wrap{width:calc(100% - 64px)}}
@media(max-width:900px){.header-inner{min-height:90px;flex-wrap:wrap;gap:0}.brand img{width:126px;height:65px}.menu-toggle{display:flex;gap:16px;align-items:center;min-width:44px;min-height:44px;background:none;border:1px solid var(--line);padding:8px 15px;font-size:13px}nav{display:none;width:100%;padding:10px 0 25px;flex-direction:column;align-items:stretch;gap:0}nav.open{display:flex}nav a{padding:11px 5px}.nav-cta{padding:14px!important;text-align:center;margin-top:7px}.section{padding-top:70px;padding-bottom:70px}.hero{min-height:610px}.hero h1{letter-spacing:-2px}.section-head{display:block}.section-head p{max-width:600px}.cards{gap:19px}.split{gap:32px}.steps{grid-template-columns:1fr 1fr}.footer-grid{gap:30px}.cta .wrap{display:block}.cta .button{margin-top:26px}.gallery{grid-template-columns:1fr 1fr}.contact-grid{gap:35px}}
@media(max-width:600px){.wrap{width:calc(100% - 40px)}.header-inner{width:calc(100% - 40px)}.preview-bar span{display:none}.hero{min-height:620px}.hero .wrap{padding:60px 0}.hero h1{font-size:49px;letter-spacing:-2px}.hero p{font-size:15px;max-width:340px}.hero>img{object-position:63%}.hero:after{background:linear-gradient(90deg,rgba(7,30,46,.82),rgba(7,30,46,.25))}.eyebrow{font-size:10px;letter-spacing:2px}.trust-strip .wrap{grid-template-columns:1fr;gap:7px;padding:17px 0}.trust-strip span{font-size:11px}.cards,.split,.service-grid,.contact-grid,.footer-grid{grid-template-columns:1fr}.card img{aspect-ratio:1.5}.cards{gap:34px}.section{padding-top:58px;padding-bottom:58px}.split{gap:35px}.split>img{aspect-ratio:1.2}.steps{gap:23px}.step h3{font-size:18px}.step p{font-size:13px}.section-head{margin-bottom:28px}.quote{font-size:23px}.cta{padding:48px 0}.footer{padding-top:48px}.footer-grid{gap:24px}.footer-bottom{flex-direction:column;gap:8px}.footer-bottom div{gap:20px}.page-heading{padding-top:36px}.lead{font-size:17px}.gallery{gap:20px 14px}.gallery figcaption{font-size:11px}.contact-panel{padding:28px}.page-heading h1{font-size:44px}.actions{gap:20px}.button{padding:14px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.brand{display:flex;align-items:center;gap:9px;flex-shrink:0;font-size:30px;font-weight:700;letter-spacing:-1.3px}.brand img{width:48px;height:48px}.contact-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:64px;align-items:start}.contact-layout .contact-panel{position:sticky;top:24px}.contact-layout .contact-panel>a{font-size:20px}.contact-panel ol{padding-left:22px;font-size:14px}.enquiry{min-width:0;scroll-margin-top:24px}.enquiry h2{font-size:36px}.enquiry-form fieldset{border:0;border-top:1px solid var(--line);margin:32px 0 0;padding:26px 0 0;min-width:0}.enquiry-form legend{font-size:20px;font-weight:600;padding-right:15px}.enquiry-form legend span{font-size:12px;color:var(--teal);margin-right:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-field{margin:0 0 12px;min-width:0}.form-field label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.form-field input,.form-field select,.form-field textarea{width:100%;min-width:0;max-width:100%;border:1px solid #a8b9be;border-radius:3px;background:#fff;color:var(--ink);font:inherit;font-size:16px;padding:12px;min-height:49px}.form-field textarea{resize:vertical}.form-field :focus-visible{outline:3px solid #db8a32;outline-offset:3px}.form-field [aria-invalid=true]{border-color:#a72626}.form-hint,.privacy-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:14px}.privacy-note a,.prose a{text-decoration:underline;text-underline-offset:3px}.form-trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.form-errors{padding:22px;background:#fff0ee;border-left:4px solid #a72626;color:#7d2222;margin:24px 0;font-size:14px}.form-errors a{text-decoration:underline}.field-error{display:block;color:#a72626;margin-top:6px}.form-success{padding:36px;background:#edf6f3;border-top:4px solid var(--teal)}.button{cursor:pointer}.button:disabled{opacity:.7;cursor:wait}.company-details{font-size:11px!important;line-height:1.8;max-width:940px;margin-top:28px!important;color:#b5cbd4!important}.legal-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:20px}.footer .legal-links a{font-size:12px}.footer-wordmark span{color:#e9635c}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr;gap:35px}.contact-layout .contact-panel{position:static}.contact-layout .contact-panel ol{display:flex;flex-wrap:wrap;gap:12px 32px}.contact-layout .contact-panel>a{display:inline-block;margin-right:24px}.brand img{width:42px;height:42px}}
@media(max-width:600px){.form-grid{grid-template-columns:1fr;gap:8px}.enquiry h2{font-size:30px}.form-success{padding:24px}.enquiry-form .button{width:100%}.brand{font-size:27px}.legal-links{display:block}}

.company-section{padding-bottom:60px}.company-section h2{font-size:24px}.company-section .company-details{color:var(--muted)!important;font-size:13px!important;margin-top:15px!important}
@media(max-width:900px){.contact-layout .enquiry{order:-1}.contact-layout{padding-top:18px}}
.header-actions{display:flex;align-items:center;gap:18px}.language-switcher{display:flex;gap:6px;font-size:12px;letter-spacing:.8px}.language-switcher a{color:var(--muted)}.language-switcher a[aria-current=true]{color:var(--navy);font-weight:700}.language-switcher a:focus-visible{outline-offset:3px}@media(max-width:900px){.header-actions{gap:10px}.language-switcher{display:flex!important;width:auto!important;padding:0!important;flex-direction:row!important;align-items:center!important;gap:6px!important;font-size:11px}.language-switcher a{padding:0!important}}
.about-profile{align-items:center}.about-profile h2{font-size:clamp(40px,4.8vw,68px);font-weight:400;letter-spacing:-2.6px;line-height:1.08;margin:0 0 24px}.about-profile .lead{font-family:Georgia,serif;font-size:24px;line-height:1.45;color:var(--ink)}.about-photo{overflow:hidden;background:#dbe7e7}.about-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top}.about-article{max-width:860px;margin-left:auto;margin-right:auto}.about-article h2{max-width:600px}.about-article p{font-size:17px;line-height:1.85;color:var(--muted)}.about-article .quote{color:var(--ink)}
@media(max-width:700px){.about-profile h2{font-size:42px}.about-profile .lead{font-size:21px}.about-photo img{aspect-ratio:4/5}.about-article p{font-size:16px}}
/* Spójna, łagodna typografia zgodna z identyfikacją WingSail */
html body,
.site-header,
.footer,
.page-content,
button,
input,
select,
textarea {
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
}
.hero h1,
.hero h1 em,
h1,
h2,
h3,
.quote,
.about-profile .lead {
  font-family: "Lora", Georgia, serif;
}
.hero h1,
.page-heading h1,
h2,
.about-profile h2,
.quote,
.about-profile .lead {
  font-weight: 500;
}
.hero h1 em { font-weight: 500; }
/* Czytelne przewodniki po akwenach */
.charter-guide { padding-top: 36px; }
.charter-guide-copy { max-width: 820px; }
.charter-guide h2 { margin-bottom: 18px; }
.charter-guide h3 { margin: 0 0 12px; }
.charter-guide p { max-width: 780px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.charter-guide-topic { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.charter-guide-topic .eyebrow { margin-bottom: 16px; }
.charter-guide .button { margin-top: 14px; }
@media(max-width:600px){
  .charter-guide { padding-top: 26px; }
  .charter-guide p { font-size: 16px; }
  .charter-guide-topic { margin-top: 36px; padding-top: 28px; }
}



.cookie-consent[hidden]{display:none!important}.cookie-consent{position:fixed;z-index:9999;left:24px;right:24px;bottom:24px;max-width:880px;margin:auto;padding:23px 25px;background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 18px 48px rgba(16,43,59,.22);display:flex;gap:28px;align-items:center;justify-content:space-between}.cookie-consent h2{font-size:20px;margin:0 0 7px}.cookie-consent p{font-size:13px;line-height:1.55;margin:0;color:var(--muted);max-width:590px}.cookie-consent a{text-decoration:underline;text-underline-offset:3px}.cookie-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.cookie-actions .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:49px;background:#fff;color:var(--navy);border:1px solid var(--navy);padding:16px 26px;font-size:13px;font-weight:700;letter-spacing:.2px;cursor:pointer}.cookie-actions .text-link:hover{background:var(--sand)}.cookie-settings{border:0;background:transparent;color:#c0d1d8;font:inherit;font-size:12px;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.cookie-consent{left:14px;right:14px;bottom:14px;display:block;padding:21px}.cookie-actions{margin-top:17px;justify-content:flex-start;flex-wrap:wrap}.cookie-actions .button{width:auto}.cookie-settings{display:block;margin-top:10px}}



/* Kontener oficjalnego widgetu NauSYS — aktywuje się dopiero po konfiguracji dostawcy. */
.nausys-search {
  width: 60%;
  margin: 48px auto;
  max-width: 1180px;
  min-height: 860px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.nausys-search__container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 1100px) {
  .nausys-search { width: 80%; }
}
@media (max-width: 900px) {
  .nausys-search { width: 100%; margin: 32px auto; min-height: 760px; }
}

/* Match the search-page reading rhythm to the current WingSail homepage. */
body:is(.page-id-123, .page-id-159) .page-heading h1 {
  font-size: clamp(43px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -1.9px;
}
body:is(.page-id-123, .page-id-159) .page-heading .lead {
  font-size: 19px;
  line-height: 1.65;
}
body:is(.page-id-123, .page-id-159) .page-content > p {
  max-width: 800px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
body:is(.page-id-123, .page-id-159) .page-content > p.lead {
  font-size: 18px;
  line-height: 1.65;
}
body:is(.page-id-123, .page-id-159) .page-content > h2 {
  font-size: clamp(35px, 3.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -1px;
}
body:is(.page-id-123, .page-id-159) .page-content > a.button {
  font-size: 14px;
}
@media (max-width: 760px) {
  body:is(.page-id-123, .page-id-159) .page-heading h1 {
    font-size: clamp(39px, 8vw, 58px);
  }
  body:is(.page-id-123, .page-id-159) .page-heading .lead {
    font-size: 16px;
  }
  body:is(.page-id-123, .page-id-159) .page-content > p {
    font-size: 16px;
  }
  body:is(.page-id-123, .page-id-159) .page-content > p.lead {
    font-size: 16px;
  }
}

/* WingSail type scale: shared PL/EN page typography; the NauSYS iframe is unaffected. */
:root{--ws-type-body:"Nunito Sans",Arial,Helvetica,sans-serif;--ws-type-display:"Lora",Georgia,serif;--ws-size-h1:clamp(42px,3.8vw,52px);--ws-size-h2:clamp(33px,2.9vw,39px);--ws-size-h3:clamp(25px,2vw,28px)}
html body{font-family:var(--ws-type-body);font-size:17px;line-height:1.72}
:is(.page-heading h1,.hero h1){font-family:var(--ws-type-display);font-size:var(--ws-size-h1);font-weight:500;line-height:1.17;letter-spacing:-1.2px}
:is(h2,.prose h2,.charter-guide h2,.about-profile h2){font-family:var(--ws-type-display);font-size:var(--ws-size-h2);font-weight:500;line-height:1.25;letter-spacing:-.6px}
.prose h2{font-size:clamp(31px,2.5vw,34px)}
:is(h3,.step h3){font-family:var(--ws-type-display);font-size:var(--ws-size-h3);line-height:1.3;letter-spacing:-.3px}
.page-heading .lead{font-size:19px;line-height:1.65}
:is(.section-head p,.prose p,.charter-guide p,.about-article p,.service-grid p,.split p){font-size:17px;line-height:1.72}
:is(.card p,.step p){font-size:16px;line-height:1.68}
.about-profile .lead{font-family:var(--ws-type-body);font-size:20px;line-height:1.6}
.hero h1 em,.quote,.prose p.quote,.about-article p.quote{font-family:var(--ws-type-display)}
.quote,.prose p.quote,.about-article p.quote{font-size:23px;line-height:1.55}
:is(.contact-panel h2,.enquiry h2){font-size:30px}
.company-section h2{font-size:24px}
.footer h2{font-size:11px;line-height:1.4;letter-spacing:1.5px}
.cookie-consent h2{font-size:20px;line-height:1.3}
body:is(.page-id-123,.page-id-159) .page-heading h1{font-size:var(--ws-size-h1);line-height:1.17;letter-spacing:-1.2px}
body:is(.page-id-123,.page-id-159) .page-content>h2{font-size:var(--ws-size-h2);line-height:1.25;letter-spacing:-.6px}
body:is(.page-id-123,.page-id-159) .page-content>p{font-size:17px;line-height:1.72}
body:is(.page-id-123,.page-id-159) .page-content>p.lead{font-size:19px;line-height:1.65}
@media(max-width:760px){:root{--ws-size-h1:clamp(38px,9vw,42px);--ws-size-h2:clamp(32px,8vw,35px);--ws-size-h3:clamp(24px,5.8vw,27px)}html body{font-size:16px}.page-heading .lead{font-size:17px}:is(.section-head p,.prose p,.charter-guide p,.about-article p,.service-grid p,.split p){font-size:16px}.about-profile .lead{font-size:18px}.quote,.prose p.quote,.about-article p.quote{font-size:21px}:is(.contact-panel h2,.enquiry h2){font-size:28px}body:is(.page-id-123,.page-id-159) .page-heading .lead,body:is(.page-id-123,.page-id-159) .page-content>p,body:is(.page-id-123,.page-id-159) .page-content>p.lead{font-size:17px}}

.step h3{font-size:clamp(22px,1.8vw,25px)}
details p{font-size:16px;line-height:1.68}
@media(max-width:760px){.step h3{font-size:22px}}

/* Unified primary header for homepage and interior pages. */
.ws-site-header{background:#fff;border-bottom:1px solid var(--line)}
.ws-site-header .header-inner{display:grid;grid-template-columns:180px minmax(0,1fr) auto;align-items:center;column-gap:24px;width:min(1360px,calc(100% - 64px));min-height:96px;margin:auto}
.ws-site-header .brand{grid-column:1;grid-row:1;display:block}
.ws-site-header .brand img{width:180px;height:auto;object-fit:contain}
.ws-site-header .header-actions{grid-column:3;grid-row:1;justify-self:end;margin:0}
.ws-site-header .language-switcher{display:flex;align-items:center;gap:6px;width:auto;padding:0;font-size:13px}
.ws-site-header .primary-nav{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center;gap:clamp(15px,1.7vw,27px);width:max-content;max-width:100%;margin:0;padding:0;font-family:"Nunito Sans",Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:1.3}
.ws-site-header .primary-nav a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.ws-site-header .primary-nav a:not(.nav-cta):hover,.ws-site-header .primary-nav a[aria-current="page"]:not(.nav-cta){color:var(--teal)}
.ws-site-header .primary-nav a[aria-current="page"]:not(.nav-cta){text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.ws-site-header .primary-nav .nav-cta{justify-content:center;min-height:44px;padding:12px 18px;background:var(--navy);color:#fff!important}
.ws-site-header .primary-nav .nav-cta:hover,.ws-site-header .primary-nav .nav-cta[aria-current="page"]{background:var(--teal)}
@media(max-width:1100px){
.ws-site-header .header-inner{display:flex;flex-wrap:wrap;width:calc(100% - 40px);min-height:82px;gap:0}
.ws-site-header .brand{order:1}
.ws-site-header .brand img{width:155px}
.ws-site-header .header-actions{order:2;margin-left:auto;gap:10px}
.ws-site-header .menu-toggle{display:flex;align-items:center;gap:9px;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid var(--line);background:#fff;color:var(--navy);font-size:13px;font-weight:700}
.ws-site-header .primary-nav{display:none;order:3;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;width:100%;max-width:none;padding:0 0 18px;font-size:15px}
.ws-site-header .primary-nav.open{display:flex}
.ws-site-header .primary-nav a{width:100%;min-height:47px;padding:11px 5px}
.ws-site-header .primary-nav .nav-cta{margin-top:8px;padding:13px 18px}
}
@media(max-width:600px){
.ws-site-header .brand img{width:128px}
.ws-site-header .language-switcher{font-size:11px}
.ws-site-header .header-actions{gap:8px}
.ws-site-header .menu-toggle{padding:7px 9px}
}
@media(max-width:360px){.ws-site-header .brand img{width:116px}.ws-site-header .header-actions{gap:6px}.ws-site-header .language-switcher{font-size:10px}}
/* Search discount prompt: 17px → 19px. */
body:is(.page-id-123,.page-id-159) .page-content > p.ws-search-discount{font-size:19px}

/* Fit the NauSYS search section to its actual content instead of reserving 760–860px. */
.nausys-search { min-height: 0; }

/* WingSail compact footer — 2026-09-29. Scoped to the shared footer only. */
.footer.ws-footer-compact { padding: 32px 0 16px; }
.ws-footer-compact .footer-grid { grid-template-columns: minmax(300px,1.5fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1.1fr); gap: 24px; align-items: start; }
.ws-footer-compact .footer-grid > div { min-width: 0; }
.ws-footer-compact .footer-logo { margin: 0 0 12px; }
.ws-footer-compact .footer-logo img { width: 230px; max-width: 100%; }
.ws-footer-compact .footer-tagline { white-space: nowrap; font-size: 13px; line-height: 1.6; margin: 0; }
.ws-footer-compact h2 { margin: 2px 0 10px; }
.ws-footer-compact .footer-directory a, .ws-footer-compact .footer-contact a { margin: 0; padding: 3px 0; line-height: 1.5; }
.ws-footer-compact .footer-contact p { margin: 7px 0; line-height: 1.6; }
.ws-footer-compact .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin-top: 18px; }
.ws-footer-compact .legal-links a { margin: 0; padding: 3px 0; }
.ws-footer-compact .company-details { max-width: none; margin: 10px 0 0 !important; line-height: 1.65; }
.ws-footer-compact .footer-copyright-note { font-size: 11px; line-height: 1.65; color: #b5cbd4; margin: 7px 0 0; }
.ws-footer-compact .footer-bottom { margin-top: 14px; padding-top: 12px; gap: 10px 20px; align-items: center; }
.ws-footer-compact .footer-bottom a { margin: 0; }
@media (max-width: 1100px) {
  .ws-footer-compact .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); }
  .ws-footer-compact .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
  .ws-footer-compact .footer-logo { margin: 0; }
}
@media (max-width: 600px) {
  .footer.ws-footer-compact { padding: 30px 0 18px; }
  .ws-footer-compact .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 16px; }
  .ws-footer-compact .footer-brand { display: block; }
  .ws-footer-compact .footer-logo { margin-bottom: 10px; }
  .ws-footer-compact .footer-tagline { font-size: clamp(11px,3.2vw,13px); }
  .ws-footer-compact .footer-directory a, .ws-footer-compact .footer-contact a { padding: 7px 0; }
  .ws-footer-compact .footer-contact { grid-column: 1 / -1; }
  .ws-footer-compact .legal-links { gap: 4px 18px; }
  .ws-footer-compact .legal-links a, .ws-footer-compact .legal-links button { min-height: 36px; display: inline-flex; align-items: center; }
  .ws-footer-compact .footer-bottom { align-items: flex-start; }
}

/* Compact, local SVG social links in the shared header. */
.ws-site-header .ws-header-socials{display:flex;align-items:center;gap:2px;flex-shrink:0}
.ws-site-header .ws-header-socials a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:36px;color:#6a7880;border-radius:8px;line-height:1;padding:0}
.ws-site-header .ws-header-socials svg{width:17px;height:17px;display:block}
.ws-site-header .ws-header-socials a:hover,.ws-site-header .ws-header-socials a:focus-visible{color:var(--teal);background:rgba(13,108,114,.07)}
@media(min-width:1101px){.ws-site-header .header-inner{column-gap:18px}.ws-site-header .header-actions{gap:12px}.ws-site-header .primary-nav{gap:clamp(12px,1.25vw,20px)}}
@media(max-width:600px){.ws-site-header .header-actions{display:grid;grid-template-columns:auto auto;gap:0 8px;padding:4px 0}.ws-site-header .ws-header-socials{grid-column:1 / -1;grid-row:2;justify-content:flex-end}.ws-site-header .ws-header-socials a{height:28px;width:30px}.ws-site-header .language-switcher{grid-column:1;grid-row:1}.ws-site-header .menu-toggle{grid-column:2;grid-row:1}}

/* Social links inside the collapsed navigation; desktop header unchanged. */
.ws-site-header .ws-menu-socials{display:none}
@media(max-width:1100px){
.ws-site-header .header-actions{display:flex;align-items:center;gap:8px;padding:0}
.ws-site-header .header-actions .ws-header-socials{display:none}
.ws-site-header .primary-nav .ws-menu-socials{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(16,43,59,.15)}
.ws-site-header .primary-nav .ws-menu-socials a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;height:36px;min-height:36px;padding:0;margin:0;color:#526773;border-radius:6px}
.ws-site-header .ws-menu-socials svg{display:block;width:17px;height:17px}
.ws-site-header .primary-nav .ws-menu-socials a:hover,.ws-site-header .primary-nav .ws-menu-socials a:focus-visible{color:var(--teal);background:rgba(13,108,114,.08)}
}
