@charset "UTF-8";
/**
 * Header component styles.
 * SCSS: assets/css/components/header.scss
 * CSS (compiled by IDE): assets/css/components/header.css
 *
 * Layout: .header > .container > .header__wrapper
 * Fixed on all viewports (sticky breaks with overflow-x on html/body).
 * main clears the bar via --header-height (set in main.js).
 */
:root {
  --header-height: 96px;
}

/* Fixed header is out of flow — clear it on main. Section blocks keep their own spacing.
   Admin bar already offsets the document (html.wp-toolbar); do not add it again here. */
main,
main.padding,
main.main-content {
  padding-top: var(--header-height, 96px);
}

.logged-in .header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.header-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 90;
}

.header-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}
body.menu-open .header {
  z-index: 100;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  padding: 0 var(--site-gutter, 15px);
  background: var(--header-bg, var(--block-bg, transparent));
  border-top: 4px solid #2f3744;
  border-bottom: 1px solid rgba(13, 38, 38, 0.12);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header > .container {
  padding-left: 0;
  padding-right: 0;
}
.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.header__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 68px;
  padding: 12px 0;
}
.header__logo {
  flex-shrink: 0;
}
.header__logo img,
.header__logo .header__logo-img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}
.header__desktop-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 var(--site-gutter, 15px);
  background: var(--header-desktop-menu-bg, #f2efe9);
  border-top: 1px solid rgba(13, 38, 38, 0.1);
  border-bottom: 1px solid rgba(13, 38, 38, 0.1);
}
.header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  width: 100%;
  max-width: var(--site-container-width, 1200px);
  min-width: 0;
  padding: 14px 0;
}
.header__button, .header__overlay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--button-border-radius, 10px);
  background: var(--header-btn-bg, var(--additional-c-elements));
  color: var(--header-btn-text, var(--text-color));
  text-decoration: none;
  text-transform: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}
.header__button.header__btn--has-border, .header__overlay-link.header__btn--has-border {
  border-color: var(--header-btn-border, var(--text-color));
  background: var(--header-btn-bg, transparent);
}
.header__button.header__btn--no-border, .header__overlay-link.header__btn--no-border {
  border-color: transparent;
}
.header__button.header__btn--has-bg:not(.header__btn--has-border), .header__overlay-link.header__btn--has-bg:not(.header__btn--has-border) {
  background: var(--header-btn-bg, var(--additional-c-elements));
}
.header__button:hover, .header__overlay-link:hover {
  opacity: 0.85;
}
.header__button-icon {
  display: inline-flex;
  align-items: center;
}
.header__button-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.header__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--header-btn-border, transparent);
  border-radius: var(--button-border-radius, 10px);
  background: var(--header-btn-bg, var(--button-bg, var(--additional-c-elements)));
  color: var(--header-btn-text, var(--button-text-color, #000));
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--button-font-size, 16px);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.header__action-btn.header__btn--has-border {
  border-color: var(--header-btn-border, var(--text-color));
  background: var(--header-btn-bg, transparent);
}
.header__action-btn.header__btn--no-border {
  border-color: transparent;
}
.header__action-btn.header__btn--has-bg:not(.header__btn--has-border) {
  background: var(--header-btn-bg, var(--button-bg, var(--additional-c-elements)));
}
.header__action-btn:hover {
  opacity: 0.85;
}
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--additional-c-elements);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.header__toggle span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-color);
  transition: 0.3s ease;
}
.header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header__overlay {
  display: none;
}

@media (max-width: 990px) {
  .header__logo img,
  .header__logo .header__logo-img {
    max-width: 140px;
  }
}
/* WP admin bar switches to 46px below this breakpoint. */
@media screen and (max-width: 782px) {
  .logged-in .header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}
@media (max-width: 768px) {
  .header {
    /* Full-bleed under the bar; escapes the inner .container column. */
  }
  .header__wrapper {
    justify-content: space-between;
  }
  .header__desktop-menu {
    display: none;
  }
  .header__toggle {
    display: flex;
  }
  .header__overlay {
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--header-bg, var(--block-bg, transparent));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 2;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .header__overlay.is-open {
    max-height: calc(100dvh - var(--header-height, 96px));
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
  }
  .header__overlay-inner {
    width: 100%;
    max-width: var(--site-container-width, 1200px);
    margin: 0 auto;
    padding: 20px var(--site-gutter, 15px);
    box-sizing: border-box;
  }
  .header__overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .header__overlay-link {
    width: 100%;
  }
  .header__overlay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }
  .header__overlay-actions .header__actions {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
  }
  .header__overlay-actions .header__action-btn {
    width: 100%;
    flex: 1 1 auto;
    padding: 12px 16px;
    font-size: var(--button-font-size, 16px);
  }
  .header:not(.header--has-nav) .header__wrapper .header__actions, .header:not(.header--has-nav) .header__bar .header__actions {
    flex-wrap: nowrap;
    flex-shrink: 1;
    gap: 6px;
    min-width: 0;
  }
  .header:not(.header--has-nav) .header__wrapper .header__actions .header__action-btn, .header:not(.header--has-nav) .header__bar .header__actions .header__action-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 8px 8px;
    overflow: hidden;
    font-size: clamp(11px, 2.6vw, var(--button-font-size, 16px));
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .header.header--has-nav .header__wrapper .header__actions, .header.header--has-nav .header__bar .header__actions {
    display: none;
  }
}
/* Sidebar layout — Theme Options → Header → Settings → Header type. */
body.header-is-sidebar {
  --header-sidebar-width: 288px;
}
body.header-is-sidebar .header__rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--header-bg, var(--block-bg, transparent));
  color: var(--text-color);
  overflow: hidden;
}
body.header-is-sidebar .header__rail:not(.header__rail--has-nav) {
  overflow-y: auto;
}
body.header-is-sidebar .header__rail-close {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-color);
  cursor: pointer;
}
body.header-is-sidebar .header__rail-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 20px 16px 16px;
}
body.header-is-sidebar .header__rail--has-nav .header__rail-top {
  border-bottom: 1px solid rgba(13, 38, 38, 0.12);
}
body.header-is-sidebar .header__rail .header__logo {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}
body.header-is-sidebar .header__rail .header__logo img,
body.header-is-sidebar .header__rail .header__logo .header__logo-img {
  max-width: 140px;
}
body.header-is-sidebar .header__rail-top .header__actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 6px;
  margin-left: 0;
}
body.header-is-sidebar .header__rail-top .header__actions:empty, body.header-is-sidebar .header__rail-top .header__actions:not(:has(.header__action-btn)) {
  display: none;
}
body.header-is-sidebar .header__rail-top .header__action-btn {
  flex: 1 1 0;
  width: auto;
  padding: 8px 6px;
  overflow: hidden;
  font-size: clamp(11px, 2.4vw, 14px);
  text-overflow: ellipsis;
}
body.header-is-sidebar .header__rail-foot {
  flex-shrink: 0;
  padding: 12px 10px 16px;
  background: var(--header-desktop-menu-bg, #f2efe9);
}
body.header-is-sidebar .header__rail-foot:not(:has(.header__action-btn)) {
  display: none;
}
body.header-is-sidebar .header__rail-foot .header__actions {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-left: 0;
  gap: 8px;
}
body.header-is-sidebar .header__rail-foot .header__actions:empty, body.header-is-sidebar .header__rail-foot .header__actions:not(:has(.header__action-btn)) {
  display: none;
}
body.header-is-sidebar .header__rail-foot .header__action-btn {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--button-font-size, 16px);
}
body.header-is-sidebar .header__rail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 10px 16px;
  background: var(--header-desktop-menu-bg, #f2efe9);
  scrollbar-color: rgba(128, 128, 128, 0.45) transparent;
}
body.header-is-sidebar .header__rail-scroll::-webkit-scrollbar {
  width: 4px;
}
body.header-is-sidebar .header__rail-scroll::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.45);
  border-radius: 8px;
}
body.header-is-sidebar .header__rail .header__nav {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  max-width: none;
  padding: 0;
}
body.header-is-sidebar .header__rail .header__button,
body.header-is-sidebar .header__rail .header__overlay-link {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

@media screen and (min-width: 769px) {
  body.header-is-sidebar {
    padding-left: var(--header-sidebar-width, 288px);
  }
  body.header-is-sidebar.header-sidebar-right {
    padding-left: 0;
    padding-right: var(--header-sidebar-width, 288px);
  }
  body.header-is-sidebar main,
  body.header-is-sidebar main.padding,
  body.header-is-sidebar main.main-content {
    padding-top: 0;
  }
  body.header-is-sidebar .header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: var(--header-sidebar-width, 288px);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    padding: 0;
    overflow: hidden;
    border-top: 0;
    border-bottom: 0;
    border-left: 4px solid #2f3744;
    border-right: 1px solid rgba(13, 38, 38, 0.12);
    box-shadow: none;
  }
  body.header-is-sidebar.header-sidebar-right .header {
    left: auto;
    right: 0;
    border-left: 1px solid rgba(13, 38, 38, 0.12);
    border-right: 4px solid #2f3744;
  }
  body.header-is-sidebar .header.is-scrolled {
    box-shadow: none;
  }
  body.header-is-sidebar .header__bar {
    display: none;
  }
  body.header-is-sidebar .header__rail-foot {
    display: none;
  }
  body.header-is-sidebar .header__rail-top {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
  }
  body.header-is-sidebar .header__rail .header__logo {
    justify-content: center;
  }
  body.header-is-sidebar .header__rail .header__logo img,
  body.header-is-sidebar .header__rail .header__logo .header__logo-img {
    max-width: 180px;
  }
  body.header-is-sidebar .header__rail-top .header__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  body.header-is-sidebar .header__rail-top .header__action-btn {
    flex: none;
    width: 100%;
    padding: 14px 24px;
    overflow: visible;
    font-size: var(--button-font-size, 16px);
    text-overflow: clip;
  }
  body.header-is-sidebar .header__rail {
    height: 100%;
  }
  body.header-is-sidebar .hero:not(.hero--no-section-bg)::after,
  body.header-is-sidebar .hero-calculator:not(.hero-calculator--no-section-bg)::after {
    width: calc(100vw - var(--header-sidebar-width, 288px));
    max-width: calc(100vw - var(--header-sidebar-width, 288px));
  }
  body.logged-in.header-is-sidebar .header {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
    max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
  }
  body.header-is-sidebar.header-sidebar-right .scroll-top {
    right: calc(var(--header-sidebar-width, 288px) + 24px);
  }
}
@media screen and (max-width: 768px) {
  body.header-is-sidebar .header__rail-close {
    display: flex;
    flex-shrink: 0;
  }
  body.header-is-sidebar .header__rail-top {
    padding: 4px 4px 12px;
  }
  body.header-is-sidebar .header--has-nav .header__rail-top .header__actions {
    display: none;
  }
  body.header-is-sidebar .header__rail:not(.header__rail--has-nav) {
    display: none;
  }
  body.header-is-sidebar .header__rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 3;
    box-sizing: border-box;
    width: min(var(--header-sidebar-width, 288px), 86vw);
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 12px 12px 16px;
    border-right: 1px solid rgba(13, 38, 38, 0.12);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  body.header-is-sidebar .header__rail.is-open {
    transform: translateX(0);
  }
  body.header-is-sidebar.header-sidebar-right .header__rail {
    left: auto;
    right: 0;
    border-right: 0;
    border-left: 1px solid rgba(13, 38, 38, 0.12);
    transform: translateX(100%);
  }
  body.header-is-sidebar.header-sidebar-right .header__rail-close {
    margin-left: 0;
    margin-right: auto;
  }
  body.header-is-sidebar.header-sidebar-right .header__rail.is-open {
    transform: translateX(0);
  }
  body.header-is-sidebar .header__rail .header__nav {
    display: flex;
  }
  body.logged-in.header-is-sidebar .header__rail {
    top: var(--wp-admin--admin-bar--height, 46px);
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 46px));
    max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 46px));
  }
}
body.button-gradient .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):hover,
body.button-gradient .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):focus,
body.button-gradient .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):focus-visible,
body.button-bg-image .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):hover,
body.button-bg-image .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):focus,
body.button-bg-image .header__action-btn:not(.button--secondary):not(.header__btn--has-border):not([style*="--header-btn-bg"]):focus-visible {
  background: var(--button-bg);
  color: var(--header-btn-text, var(--button-text-color));
  opacity: 1;
}

/*# sourceMappingURL=header.css.map */
