
.erh {
  --h-cream: #fdf6f4;
  --h-tint: #f7e8e0;
  --h-dark: #363f4b;
  --h-peach: #eaa68b;
  --h-peach-light: #f0bea9;
  --h-accent: #964f34;
  --h-muted: #5d6775;
  --h-soft: #c9cfd6;
  --h-line: rgba(54, 63, 75, 0.1);
  --h-max: 1240px;
  --h-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 50;
  background: var(--h-cream);
  color: var(--h-dark);
  font-family: var(--autowp-font-body), sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}

.erh *,
.erh *::before,
.erh *::after {
  box-sizing: border-box;
}

.erh a {
  color: inherit;
  text-decoration: none;
}

.erh a:focus-visible,
.erh button:focus-visible,
.erh summary:focus-visible {
  outline: 3px solid var(--h-accent);
  outline-offset: 3px;
}

.erh p,
.erh ul {
  margin: 0;
}

.erh ul {
  padding: 0;
  list-style: none;
}

.erh svg {
  display: block;
  flex: none;
}

.erh-inner {
  max-width: var(--h-max);
  margin: 0 auto;
  padding: 0 30px;
}

.erh-top {
  background: var(--h-dark);
  color: var(--h-soft);
  font-size: 13px;
}

.erh-top .erh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.erh-top-msg {
  display: flex;
  align-items: center;
  gap: 10px;
}

.erh-top-msg svg {
  width: 12px;
  height: 12px;
  color: var(--h-peach);
}

.erh-top-links {
  display: flex;
  align-items: center;
}

.erh-top-links > * {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}

.erh .erh-top-links > * + * {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(201, 207, 214, 0.25);
}

.erh-top-mail {
  color: var(--h-soft);
}

.erh-top-mail svg {
  width: 15px;
  height: 15px;
}

.erh-top-badge {
  color: var(--h-peach-light);
}

.erh-top-badge svg {
  width: 15px;
  height: 15px;
}

.erh-top-mail:hover {
  color: #ffffff;
}

.erh-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.erh-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.erh-logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  transition: transform 0.5s var(--h-ease);
}

.erh-brand:hover .erh-logo {
  transform: rotate(-8deg) scale(1.04);
}

.erh-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.erh-brand-name {
  color: var(--h-dark);
  font-family: var(--autowp-font-heading), sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.erh-brand-tag {
  margin-top: 5px;
  color: var(--h-accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.erh-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(54, 63, 75, 0.08);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 32px -24px rgba(54, 63, 75, 0.5);
}

.erh-menu > li:not(.erh-pill) {
  position: relative;
  z-index: 1;
}

.erh-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-radius: 999px;
  color: var(--h-dark);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
}

.erh-link:hover,
.erh-link[aria-current="page"],
.erh-link.is-current,
.erh-dropdown[open] > .erh-link {
  color: var(--h-accent);
}

.erh-link:hover {
  background: rgba(234, 166, 139, 0.13);
}

.erh-link[aria-current="page"],
.erh-link.is-current,
.erh-dropdown[open] > .erh-link {
  background: var(--h-tint);
}

.erh-pill {
  display: none;
}

.erh-pill-on .erh-link {
  background: none;
}

.erh-pill-on .erh-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: var(--h-tint);
  opacity: 0;
  pointer-events: none;
}

.erh-pill-on .erh-pill.is-ready {
  transition: transform 0.45s var(--h-ease), width 0.45s var(--h-ease), height 0.45s var(--h-ease), opacity 0.3s ease;
}

.erh-dropdown > summary {
  list-style: none;
}

.erh-dropdown > summary::-webkit-details-marker {
  display: none;
}

.erh-chevron {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--h-ease), margin 0.3s var(--h-ease);
}

.erh-dropdown[open] .erh-chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.erh-dropdown {
  position: relative;
}

.erh-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 60;
  width: min(620px, calc(100vw - 60px));
  padding: 28px 26px 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 44px 80px -40px rgba(54, 63, 75, 0.5), 0 0 0 1px rgba(54, 63, 75, 0.06);
  transform: translateX(-50%);
}

.erh-dropdown[open] .erh-panel {
  animation: erh-pop 0.35s var(--h-ease) both;
}

@keyframes erh-pop {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.erh-panel-label {
  display: block;
  margin: 0 0 12px;
  color: var(--h-accent);
  font-family: var(--autowp-font-heading), sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.erh-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.erh-area {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  transition: background 0.25s;
}

.erh-area:hover {
  background: var(--h-cream);
}

.erh-area-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--h-tint);
  color: var(--h-accent);
  transition: background 0.25s, color 0.25s, transform 0.4s var(--h-ease);
}

.erh-area-icon svg {
  width: 22px;
  height: 22px;
}

.erh-area:hover .erh-area-icon {
  background: var(--h-peach);
  color: var(--h-dark);
  transform: rotate(-8deg);
}

.erh-area-title {
  display: block;
  color: var(--h-dark);
  font-family: var(--autowp-font-heading), sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.erh-area-desc {
  display: block;
  margin-top: 3px;
  color: var(--h-muted);
  font-size: 13px;
  line-height: 1.45;
}

.erh-panel-foot {
  margin-top: 12px;
  padding: 16px 14px 0;
  border-top: 1px solid var(--h-line);
}

.erh-panel-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  background: linear-gradient(var(--h-peach), var(--h-peach)) 0 100% / 100% 1.5px no-repeat;
  color: var(--h-accent);
  font-size: 14px;
  transition: background-size 0.35s var(--h-ease);
}

.erh-panel-all:hover {
  background-size: 40% 1.5px;
}

.erh-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--h-peach);
  color: var(--h-dark) !important;
  font-family: var(--autowp-font-body), sans-serif;
  font-weight: 400;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.erh-cta-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--h-dark);
  color: #ffffff;
  transition: background 0.3s, color 0.3s;
}

.erh-cta-icon svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--h-ease);
}

.erh-cta:hover {
  background: var(--h-dark);
  color: #ffffff !important;
}

.erh-cta:hover .erh-cta-icon {
  background: var(--h-peach);
  color: var(--h-dark);
}

.erh-cta:hover .erh-cta-icon svg {
  transform: rotate(45deg);
}

.erh-toggle,
.erh-drawer-head,
.erh-drawer-foot,
.erh-overlay {
  display: none;
}

.erh-toggle[hidden] {
  display: none !important;
}

html.erh-lock,
html.erh-lock body {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .erh-bar {
    gap: 18px;
  }

  .erh-link {
    padding: 9px 13px;
  }

  .erh-cta {
    padding-left: 18px;
  }
}

@media (max-width: 1024px) {
  .erh-top-links .erh-top-mail {
    display: none;
  }

  .erh .erh-top-links > * + * {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .erh-bar {
    flex-wrap: wrap;
    gap: 14px;
    min-height: 80px;
  }

  .erh-logo {
    width: 58px;
    height: 58px;
  }

  .erh-desktop-cta {
    display: none;
  }

  .erh-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 6px 0 18px;
    border: 1px solid rgba(54, 63, 75, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: var(--h-dark);
    font-family: var(--autowp-font-body), sans-serif;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.25s;
  }

  .erh-toggle:hover {
    border-color: var(--h-peach);
  }

  .erh-toggle-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--h-dark);
    color: #ffffff;
  }

  .erh-toggle-icon svg {
    width: 18px;
    height: 18px;
  }

  .erh-nav {
    width: 100%;
    padding-bottom: 20px;
  }

  .erh-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    counter-reset: erh-item;
  }

  .erh-menu > li:not(.erh-pill) {
    border-bottom: 1px solid var(--h-line);
    counter-increment: erh-item;
  }

  .erh-pill-on .erh-pill {
    display: none;
  }

  .erh-link {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 17px 2px;
    border-radius: 0;
    font-family: var(--autowp-font-heading), sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .erh-link,
  .erh-link:hover,
  .erh-link[aria-current="page"],
  .erh-link.is-current,
  .erh-dropdown[open] > .erh-link {
    background: none;
  }

  .erh-link::before {
    content: counter(erh-item, decimal-leading-zero);
    display: inline-grid;
    flex: none;
    place-items: center;
    min-width: 30px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    color: var(--h-accent);
    font-family: var(--autowp-font-body), sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.06em;
    transition: background 0.25s;
  }

  .erh-link:hover::before,
  .erh-link[aria-current="page"]::before,
  .erh-link.is-current::before,
  .erh-dropdown[open] > .erh-link::before {
    background: var(--h-tint);
  }

  .erh-chevron {
    margin-left: auto;
    width: 9px;
    height: 9px;
  }

  .erh-panel {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 20px 48px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
  }

  .erh-dropdown[open] .erh-panel {
    animation: none;
  }

  .erh-areas {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .erh-area {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
  }

  .erh-area:hover {
    background: none;
  }

  .erh-area-icon {
    width: 38px;
    height: 38px;
  }

  .erh-area-icon svg {
    width: 19px;
    height: 19px;
  }

  .erh-area-desc {
    display: none;
  }

  .erh-panel-foot {
    margin-top: 8px;
    padding: 0;
    border-top: 0;
  }

  .erh-js {
    transition: z-index 0s linear 0.45s;
  }

  .erh-js.erh-open {
    z-index: 1000;
    transition: none;
  }

  .erh-js .erh-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: min(440px, 100%);
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--h-cream);
    box-shadow: -30px 0 60px -30px rgba(54, 63, 75, 0.45);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.45s var(--h-ease), visibility 0s linear 0.45s;
  }

  .erh-js.erh-open .erh-nav {
    visibility: visible;
    transform: none;
    transition: transform 0.45s var(--h-ease);
  }

  .erh-js .erh-menu {
    padding: 6px 26px 0;
  }

  .erh-js .erh-drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--h-line);
    background: var(--h-cream);
  }

  .erh-drawer-title {
    color: var(--h-accent);
    font-family: var(--autowp-font-heading), sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .erh-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(54, 63, 75, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: var(--h-dark);
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.4s var(--h-ease);
  }

  .erh-close:hover {
    background: var(--h-dark);
    color: #ffffff;
    transform: rotate(90deg);
  }

  .erh-close svg {
    width: 18px;
    height: 18px;
  }

  .erh-drawer-foot {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding: 28px 26px 32px;
  }

  .erh-drawer-foot .erh-cta {
    width: 100%;
  }

  .erh-drawer-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--h-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .erh-drawer-mail svg {
    width: 16px;
    height: 16px;
    color: var(--h-accent);
  }

  .erh-drawer-mail:hover {
    color: var(--h-accent);
  }

  .erh-js .erh-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: block;
    background: rgba(54, 63, 75, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .erh-js.erh-open .erh-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease;
  }
}

@media (max-width: 700px) {
  .erh-inner {
    padding: 0 20px;
  }

  .erh-top-msg {
    display: none;
  }

  .erh-top .erh-inner {
    justify-content: center;
  }

  .erh-brand {
    gap: 11px;
  }

  .erh-logo {
    width: 52px;
    height: 52px;
  }

  .erh-brand-name {
    font-size: 18px;
  }

  .erh-brand-tag {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 400px) {
  .erh-toggle-label {
    display: none;
  }

  .erh-toggle {
    padding: 0 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .erh *,
  .erh *::before,
  .erh *::after {
    animation: none !important;
    transition: none !important;
  }
}
