/* Shared site header — the single source for header layout and desktop menu
   on every page (Divi snapshots and hand-built pages alike). Markup is written
   by scripts/sync_site_header.py; the mobile dialog is site-ui.css/js.
   The header uses its own font family so both page types render the same
   font files, weights and smoothing. */
@font-face {
  font-family: "EL Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Montserrat-500-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EL Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Montserrat-500-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EL Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Montserrat-600-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EL Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Montserrat-600-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.site-header {
  --site-header-height: 80px;
  --site-header-gutter: 30px;
  --site-header-ink: #263d34;
  --site-header-accent: #276f5c;
  --site-header-soft: #f1f6f3;
  --site-header-border: #dfe8e2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--site-header-height);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(38, 61, 52, .09), 0 5px 24px rgba(38, 61, 52, .035);
  font: 600 16px/1.5 "EL Montserrat", Montserrat, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.site-header *,
.site-header *::before,
.site-header *::after { box-sizing: border-box; }
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0 var(--site-header-gutter);
}
.site-header .site-logo { display: block; flex-shrink: 0; line-height: 0; }
.site-header .site-logo img { display: block; width: auto; max-width: none; height: 56px; }
.site-header .site-nav { display: flex; height: 100%; }
.site-header .nav-list {
  display: flex;
  align-items: stretch;
  gap: 22px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .nav-list li { margin: 0; padding: 0; list-style: none; }
.site-header .nav-list > li { position: relative; display: flex; align-items: center; }
.site-header .nav-list a {
  color: var(--site-header-ink);
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.site-header .nav-list a:hover,
.site-header .nav-list a[aria-current="page"],
.site-header .nav-list > .is-current-parent > a { color: var(--site-header-accent); text-decoration: none; }

/* Dropdown chevron */
.site-header .nav-list > .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.site-header .nav-list > .has-sub > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.site-header .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--site-header-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(19, 49, 36, .1);
}
.site-header .has-sub:hover > .sub-menu,
.site-header .has-sub:focus-within > .sub-menu { display: block; }
.site-header .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
}
.site-header .sub-menu a:hover { background: var(--site-header-soft); }

/* Booking call to action: outline button in the forest accent. */
.site-header .nav-list > .nav-cta > a {
  padding: 8px 16px;
  border: 2px solid var(--site-header-accent);
  border-radius: 3px;
  color: var(--site-header-accent);
  transition: background-color .15s ease, color .15s ease;
}
.site-header .nav-list > .nav-cta > a:hover,
.site-header .nav-list > .nav-cta > a:focus-visible {
  background: var(--site-header-accent);
  color: #fff;
}

/* Language switch as a flag, like the original Polylang menu item. */
.site-header .lang-switch {
  display: block;
  width: 16px;
  height: 11px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.site-header .lang-switch[lang="pl"] { background: linear-gradient(#fff 50%, #dc143c 50%); }
.site-header .lang-switch[lang="en"] { background: url("/assets/pl-divi/wp-content/polylang/en_GB.png") center / cover no-repeat; }
.site-header .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The mobile dialog lives outside the header; give it the same type
   (html prefix outranks site-ui.css's `font: inherit`). */
html .site-refresh .ui-mobile-menu {
  font-family: "EL Montserrat", Montserrat, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* Without JavaScript the mobile dialog is absent: let the menu scroll sideways. */
@media (max-width: 1180px) {
  .site-header .site-nav { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-list a { transition: none; }
}
