header.haven-header:not(.haven-header--simple) {
  box-sizing: border-box;
  display: grid !important;
  align-items: center !important;
  grid-template-rows: 1fr;
}

header.haven-header:not(.haven-header--simple) > .brand {
  grid-area: 1 / 1;
  justify-self: start;
  margin: 0 !important;
}

header.haven-header:not(.haven-header--simple) > .header-contact {
  align-items: center;
  display: grid !important;
  grid-template-rows: 1fr;
  grid-template-columns: 24px minmax(0, 1fr);
  justify-self: stretch;
  margin: 0 !important;
}

header.haven-header:not(.haven-header--simple) .header-contact > .haven-language-switch {
  grid-area: 1 / 1;
  justify-self: start;
  font: 700 12px/1 'Josefin Sans', sans-serif;
  letter-spacing: .08em;
}

header.haven-header:not(.haven-header--simple) .header-contact > :is(.phone, :has(> .phone)) {
  grid-area: 1 / 2;
}

@media (min-width: 1321px) {
  header.haven-header:has(> :is(.header-contact, .haven-listing-actions) > .haven-language-switch) {
    box-sizing: border-box;
    height: 90px;
    /* Shift the navigation and contact tracks together across all pages. */
    grid-template-columns: 176px minmax(0, 1fr) 396px;
  }

  header.haven-header.haven-header--simple:has(> .haven-listing-actions) {
    display: grid !important;
    gap: 0 !important;
  }

  header.haven-header--simple > .haven-listing-actions {
    grid-area: 1 / 3;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 10px;
  }

  header.haven-header--simple .haven-listing-actions > .haven-language-switch {
    grid-area: 1 / 1;
    justify-self: start;
    font: 700 12px/1 'Josefin Sans', sans-serif;
    letter-spacing: .08em;
  }

  header.haven-header--simple .haven-listing-actions > .back {
    grid-area: 1 / 2;
    justify-self: end;
  }

  header.haven-header:not(.haven-header--simple) > .site-nav {
    grid-area: 1 / 2;
    display: grid !important;
    grid-template-columns: 49px 159px 165px 172px;
    column-gap: 12px !important;
    justify-items: start;
    padding: 0;
  }

  header.haven-header:not(.haven-header--simple) > .site-nav > a {
    font: 600 14px/22px 'Josefin Sans', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  header.haven-header:not(.haven-header--simple) > .header-contact {
    grid-area: 1 / 3;
    grid-template-columns: 44px max-content minmax(0, 1fr);
    column-gap: 10px;
  }

  header.haven-header:not(.haven-header--simple) .header-contact small {
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
  }

  header.haven-header:not(.haven-header--simple) .header-contact > .button {
    grid-area: 1 / 3;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: max-content;
    min-width: 100px;
    height: 46px;
    min-height: 46px;
    padding: 0 12px !important;
    font: 600 14px/20px 'Josefin Sans', sans-serif;
    white-space: nowrap;
  }
}

@media (max-width: 1320px) {
  #page-top.haven-header--main {
    right: auto;
    inline-size: 100vw;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions) > .haven-language-switch) {
    box-sizing: border-box;
    display: grid !important;
    align-items: center !important;
    height: 76px;
    grid-template-rows: 1fr;
    grid-template-columns: minmax(0, 1fr) 144px 44px;
    column-gap: 8px !important;
  }

  header.haven-header:not(.haven-header--simple) > .header-contact {
    grid-area: 1 / 2;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 10px !important;
  }

  header.haven-header--simple > .brand {
    grid-area: 1 / 1;
    justify-self: start;
    margin: 0 !important;
  }

  header.haven-header--simple > .haven-listing-actions {
    grid-area: 1 / 2;
    justify-self: start;
    margin-inline-start: 0;
  }

  header.haven-header--simple .haven-listing-actions > .haven-language-switch {
    font: 700 12px/1 'Josefin Sans', sans-serif;
    letter-spacing: .08em;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions) > .haven-language-switch) > .nav-toggle {
    grid-area: 1 / 3;
  }

  header.haven-header:not(.haven-header--simple) .header-contact .phone {
    font-size: 13px !important;
  }
}

@media (max-width: 359px) {
  header.haven-header:has(> :is(.header-contact, .haven-listing-actions) > .haven-language-switch) {
    grid-template-columns: minmax(0, 1fr) 132px 44px;
    padding-inline: 10px !important;
    column-gap: 6px !important;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions)) > .brand {
    gap: 6px !important;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions)) > .brand img {
    width: 24px !important;
    height: 24px !important;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions)) .brand > span > :first-child {
    font-size: 15px !important;
  }

  header.haven-header:has(> :is(.header-contact, .haven-listing-actions)) .brand > span > :last-child {
    font-size: 7px !important;
  }

  header.haven-header:not(.haven-header--simple) > .header-contact:has(> .haven-language-switch) {
    display: grid !important;
    column-gap: 6px !important;
  }

  header.haven-header:not(.haven-header--simple) .header-contact .phone {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    font-size: 12px !important;
    white-space: nowrap;
  }
}
