/*
Theme Name:	Enfold EE
Description:	Child theme
Author:	Efficient Elements GmbH
Author URI:	https://www.efficient-elements.com
Template:	enfold
Version:	1.0
*/

/* ============================================================
   Help Center
   Scoped to `body.help-center` (added by the plugin router).
   Selectors carry `#top` (Enfold's content wrapper id) so they
   reliably win over Enfold's own id-scoped rules. Built on the
   theme's brand tokens — EE red #c02b26, Poppins, #ebebeb borders
   — via CSS variables, so a future colour change is followed
   automatically.
   ============================================================ */

body.help-center {
  --ee-hc-accent:      var(--enfold-main-color-secondary, #c02a26);
  --ee-hc-accent-dark: #a00904;
  --ee-hc-heading:     var(--enfold-main-color-heading, #222222);
  --ee-hc-text:        #454851;
  --ee-hc-muted:       #8b8f98;
  --ee-hc-border:      var(--enfold-main-color-border, #ebebeb);
  --ee-hc-surface:     #ffffff;
  --ee-hc-surface-soft:#f6f6f6;
  --ee-hc-radius:      10px;
  --ee-hc-shadow:      0 1px 2px rgba(20, 23, 28, .05), 0 10px 28px rgba(20, 23, 28, .07);
}

/* --- Title bar (breadcrumb + heading + accent rule) --- */
#top.help-center .ee-hc-titlebar {
  padding: 42px 0 26px;
  border-bottom: 1px solid var(--ee-hc-border);
  margin-bottom: 0;
}
#top.help-center .ee-hc-titlebar .main-title {
  margin: 0;
  color: var(--ee-hc-heading);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.15;
}
#top.help-center .ee-hc-titlebar .main-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--ee-hc-accent);
}

/* --- Header search -------------------------------------------------------- */
#top.help-center .ee-hc-search {
  position: relative;
  max-width: 620px;
  margin-top: 26px;
}
#top.help-center .ee-hc-search input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 18px 0 48px;
  color: var(--ee-hc-heading);
  background: #ffffff;
  border: 1px solid var(--ee-hc-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(20, 23, 28, .04);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#top.help-center .ee-hc-search input::placeholder { color: var(--ee-hc-muted); }
#top.help-center .ee-hc-search input::-webkit-search-cancel-button {
  display: none;
}
#top.help-center .ee-hc-search input:focus {
  outline: none;
  border-color: var(--ee-hc-accent);
  box-shadow: 0 0 0 3px rgba(192, 42, 38, .13);
}
#top.help-center .ee-hc-search-icon {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 19px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ee-hc-muted);
  border-radius: 50%;
  pointer-events: none;
}
#top.help-center .ee-hc-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: var(--ee-hc-muted);
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
}
#top.help-center .ee-hc-search-results {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--ee-hc-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(20, 23, 28, .16);
}
#top.help-center .ee-hc-search-results-label,
#top.help-center .ee-hc-search-empty {
  margin: 0;
  padding: 12px 18px 8px;
  color: var(--ee-hc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#top.help-center .ee-hc-search-empty {
  padding-top: 4px;
  padding-bottom: 15px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
#top.help-center .ee-hc-search-result {
  display: block;
  padding: 12px 18px;
  color: var(--ee-hc-text) !important;
  border-top: 1px solid var(--ee-hc-border);
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .12s ease;
}
#top.help-center .ee-hc-search-result:hover,
#top.help-center .ee-hc-search-result.is-active {
  background: var(--ee-hc-surface-soft);
}
#top.help-center .ee-hc-search-result-title,
#top.help-center .ee-hc-search-result-category,
#top.help-center .ee-hc-search-result-excerpt { display: block; }
#top.help-center .ee-hc-search-result-title {
  color: var(--ee-hc-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
#top.help-center .ee-hc-search-result-category {
  margin-top: 2px;
  color: var(--ee-hc-accent);
  font-size: 12px;
  line-height: 1.4;
}
#top.help-center .ee-hc-search-result-excerpt {
  margin-top: 4px;
  color: var(--ee-hc-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* --- Breadcrumb --- */
#top.help-center .ee-hc-titlebar .breadcrumb {
  position: static !important;
  float: none !important;
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ee-hc-muted);
  letter-spacing: .02em;
}
#top.help-center .breadcrumb .breadcrumb-title { display: none; }
#top.help-center .breadcrumb a,
#top.help-center .breadcrumb .trail-end {
  color: var(--ee-hc-muted) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
#top.help-center .breadcrumb a:hover { color: var(--ee-hc-accent) !important; }
/* Enfold floats the trail links (for its absolute-positioned title-bar layout).
   In our static, above-the-title breadcrumb those floats collapse the container
   to zero height and the title overlaps it — so force the trail to flow as
   normal inline text. */
#top.help-center .ee-hc-titlebar .breadcrumb-trail a,
#top.help-center .ee-hc-titlebar .breadcrumb-trail span,
#top.help-center .ee-hc-titlebar .breadcrumb-trail .sep {
  float: none !important;
  display: inline !important;
  width: auto !important;
  overflow: visible !important;
  padding: 0 2px !important;
}

/* --- Content area (give short pages room; footer never hugs) --- */
#top.help-center .ee-hc-content {
  min-height: 60vh;
  padding-top: 40px;
  padding-bottom: 92px;
}
/* Articles carry their own content, so they don't need the 60vh floor — and it
   backfires when a fullwidth element (e.g. Image with Hotspots) breaks out of
   .ee-hc-content: the wrapper is left holding only the short text but still
   stretched to 60vh, showing a tall empty gap before the element. Drop the floor
   on articles; keep it on the overview/category landing pages that need it. */
#top.help-center--article .ee-hc-content {
  min-height: 0 !important;
}
#top.help-center .ee-hc-intro {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ee-hc-muted);
}
#top.help-center .ee-hc-term-desc {
  margin: 0 0 30px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ee-hc-muted);
}
#top.help-center .ee-hc-empty { color: var(--ee-hc-muted); }

/* --- Overview: category tiles, 3 per row --- */
#top.help-center .ee-hc-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#top.help-center .ee-hc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 26px 28px 30px;
  background: var(--ee-hc-surface);
  border: 1px solid var(--ee-hc-border);
  border-radius: var(--ee-hc-radius);
  text-decoration: none !important;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#top.help-center .ee-hc-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--ee-hc-accent);
  border-radius: var(--ee-hc-radius) var(--ee-hc-radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
#top.help-center .ee-hc-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--ee-hc-shadow);
  border-color: transparent;
}
#top.help-center .ee-hc-tile:hover::before { transform: scaleX(1); }
#top.help-center .ee-hc-tile-title {
  display: block;
  margin: 0 0 9px;
  padding-right: 22px;
  color: var(--ee-hc-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
#top.help-center .ee-hc-tile-title::after {
  content: "\203A"; /* › */
  position: absolute;
  top: 24px; right: 24px;
  color: var(--ee-hc-accent);
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
#top.help-center .ee-hc-tile:hover .ee-hc-tile-title::after {
  opacity: 1;
  transform: translateX(0);
}
#top.help-center .ee-hc-tile-desc {
  margin: 0;
  color: var(--ee-hc-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* --- Category pages: grouped tree of sub-categories + questions --- */
#top.help-center .ee-hc-group { margin: 0 0 14px; }
#top.help-center .ee-hc-content > .ee-hc-group { margin-bottom: 38px; }

#top.help-center .ee-hc-group-title {
  margin: 0 0 14px;
  color: var(--ee-hc-heading);
  font-weight: 600;
}
#top.help-center .ee-hc-group-title a {
  color: inherit;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: color .15s ease;
}
#top.help-center .ee-hc-group-title a:hover { color: var(--ee-hc-accent); }

/* Top-level sections get an underline + accent tick */
#top.help-center .ee-hc-content > .ee-hc-group > .ee-hc-group-title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 13px;
  font-size: 21px;
  border-bottom: 2px solid var(--ee-hc-border);
}
#top.help-center .ee-hc-content > .ee-hc-group > .ee-hc-group-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 50px; height: 2px;
  background: var(--ee-hc-accent);
}

/* Nested sub-groups: indent with a soft guide line, smaller headings */
#top.help-center .ee-hc-subgroups { margin-top: 18px; }
#top.help-center .ee-hc-group .ee-hc-group {
  margin: 0 0 8px;
  padding-left: 20px;
  border-left: 2px solid var(--ee-hc-border);
}
#top.help-center .ee-hc-group .ee-hc-group .ee-hc-group-title { font-size: 16px; }

/* Question rows */
#top.help-center .ee-hc-questions {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}
#top.help-center .ee-hc-questions li {
  margin: 0;
  border-bottom: 1px solid var(--ee-hc-border);
}
#top.help-center .ee-hc-questions li:last-child { border-bottom: none; }
#top.help-center .ee-hc-questions a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 6px 13px 0;
  position: relative; /* anchor for the hover tooltip */
  color: var(--ee-hc-text);
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: color .15s ease, padding-left .15s ease;
}
#top.help-center .ee-hc-questions a::before {
  content: "\203A"; /* › */
  flex: 0 0 auto;
  color: var(--ee-hc-accent);
  font-size: 18px;
  line-height: 1.35;
  transition: transform .15s ease;
}
#top.help-center .ee-hc-questions a:hover {
  color: var(--ee-hc-heading);
  padding-left: 6px;
  z-index: 30; /* lift the hovered row (and its tooltip) above the rows below */
}
#top.help-center .ee-hc-questions a:hover::before { transform: translateX(2px); }

/* Article snippet as a floating tooltip card on hover (desktop only). The row
   stays compact — the tooltip is an absolute overlay, so it has no effect on the
   list height and can't overflow. Constant width + position by design. */
#top.help-center .ee-hc-question-title {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}
#top.help-center .ee-hc-question-preview {
  position: absolute;
  top: calc(100% - 4px);
  right: 8px;
  left: auto;               /* anchor right — off the titles on the left */
  z-index: 40;
  width: 300px;
  max-width: calc(100% - 16px);
  padding: 12px 15px;
  text-align: left;
  background: #ffffff !important;   /* solid, opaque — beat any theme override */
  background-color: #ffffff !important;
  border: 1px solid var(--ee-hc-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 23, 28, .18);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
#top.help-center .ee-hc-question-preview::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 24px;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-top: 1px solid var(--ee-hc-border);
  border-left: 1px solid var(--ee-hc-border);
  transform: rotate(45deg);
}
#top.help-center .ee-hc-question:hover .ee-hc-question-preview {
  opacity: 1;
  transform: translateY(0);
}
#top.help-center .ee-hc-question-excerpt {
  display: block;
  color: var(--ee-hc-text);
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-line;     /* render author/auto newlines as line breaks */
  overflow-wrap: break-word; /* break long unspaced strings so they don't overflow */
  word-break: break-word;
}
/* Touch/narrow screens have no hover: no tooltip. */
@media only screen and (max-width: 767px) {
  #top.help-center .ee-hc-question-preview { display: none; }
}

/* --- Single article --- */
#top.help-center .ee-hc-article-body {
  max-width: 760px;
  color: var(--ee-hc-text);
  font-size: 16.5px;
  line-height: 1.75;
}
#top.help-center .ee-hc-article-body > *:first-child { margin-top: 0; }
#top.help-center .ee-hc-article-body p { margin: 0 0 1.15em; }
#top.help-center .ee-hc-article-body h2,
#top.help-center .ee-hc-article-body h3,
#top.help-center .ee-hc-article-body h4 {
  margin: 1.7em 0 .6em;
  color: var(--ee-hc-heading);
}
#top.help-center .ee-hc-article-body ul,
#top.help-center .ee-hc-article-body ol { margin: 0 0 1.15em 1.25em; }
#top.help-center .ee-hc-article-body li { margin: 0 0 .4em; }
#top.help-center .ee-hc-article-body a {
  color: var(--ee-hc-accent);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--ee-hc-accent);
}
#top.help-center .ee-hc-article-body a:hover { color: var(--ee-hc-accent-dark); }
#top.help-center .ee-hc-article-body img { border-radius: 8px; }

/* Meta line in the title bar (e.g. "Updated this week") — snug under the title,
   light gray so it reads as metadata, not body copy. */
#top.help-center .ee-hc-titlebar-meta {
  margin: 7px 0 0;
  color: #b0b3ba;
  font-size: 13px;
  font-weight: 400;
}
/* On articles the accent underline moves below the meta line, so the order is
   title -> "Updated ..." -> red line. */
#top.help-center--article .ee-hc-titlebar .main-title::after { display: none; }
#top.help-center--article .ee-hc-titlebar-meta::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--ee-hc-accent);
}

/* --- Responsive --- */
@media only screen and (max-width: 989px) {
  #top.help-center .ee-hc-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 767px) {
  #top.help-center .ee-hc-tiles { grid-template-columns: 1fr; }
  #top.help-center .ee-hc-titlebar { padding-top: 30px; }
  #top.help-center .ee-hc-content { padding-top: 30px; }
  #top.help-center .ee-hc-search { margin-top: 22px; }
  #top.help-center .ee-hc-search input { height: 48px; }
  #top.help-center .ee-hc-search-icon { top: 15px; }
}

/* --- "Image with Hotspots" defaults in articles ----------------------------
   Enfold's element is a fullwidth section. Give it an article-sized width and
   align it with the left edge of the desktop content container. Constraining
   the section keeps the image and its percentage-positioned hotspot dots in
   the same coordinate system. */
#top.help-center .av-fullwidth-hotspots {
  width: min(850px, calc(95vw - 100px)) !important;
  max-width: none !important;
  margin-left: max(calc(2.5vw + 50px), calc((100vw - 1410px) / 2 + 50px)) !important;
  margin-right: auto !important;
}

@media only screen and (max-width: 767px) {
  #top.help-center .av-fullwidth-hotspots {
    width: 85vw !important;
    margin-left: 7.5vw !important;
  }
}

/* Enfold forces `.av-fullwidth-hotspots img { width: 100% }`, so a hotspot
   screenshot is always stretched to the container width regardless of its real
   resolution. A narrow portrait source (FindVersion-3.png is 735x1728) is
   therefore upscaled past its native pixels (blurry) and grows to ~1998px —
   about two screens — while a wide landscape source happens to look fine. Size
   the image by its own pixels instead, capped by the column width AND the
   viewport height, so it can only ever shrink. The hotspot dots are positioned
   in % of the wrapper, so letting the wrapper hug the scaled image keeps them
   exactly on target. */
#top.help-center .av-fullwidth-hotspots .av-hotspot-container,
#top.help-center .av-fullwidth-hotspots .av-hotspot-container-inner-cell,
#top.help-center .av-fullwidth-hotspots .av-hotspot-container-inner-wrap {
  width: fit-content !important;
  max-width: 100% !important;
  /* Enfold centres this with `margin: 0 auto`; once the box shrinks to the
     image that would indent it. Keep it on the article's left edge. */
  margin-left: 0 !important;
  margin-right: auto !important;
}
#top.help-center .av-fullwidth-hotspots img {
  width: auto !important;
  height: auto !important;
  max-width: min(850px, calc(95vw - 100px)) !important;
  max-height: 72vh !important;
}

@media only screen and (max-width: 767px) {
  #top.help-center .av-fullwidth-hotspots img {
    max-width: 85vw !important;
    max-height: 70vh !important;
  }
}

/* Hotspot tooltips: keep explanatory copy readable and give the floating panel
   enough separation from screenshots. The viewport cap prevents edge overflow. */
#top.help-center .avia-tooltip.av-tt-hotspot {
  width: min(350px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}

#top.help-center .avia-tooltip.av-tt-hotspot .avia-arrow {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .12);
}

/* A fullwidth hotspot makes Enfold reopen the following content in a generated
   sidebar-width section. Help Center articles have no sidebar, so that 73%
   column leaves whitespace elements short and exposes its right-hand border. */
#top.help-center #after_image_hotspots {
  border-top: 0;
}

#top.help-center #after_image_hotspots .content {
  /* Cap to the same column as the hotspot above it (~850px, same left edge)
     instead of the full page width. width:100% here made every element after
     a hotspot — images especially — span the whole viewport ("riesig"). */
  width: min(850px, calc(95vw - 100px)) !important;
  max-width: none !important;
  margin-right: 0;
  border-right: 0;
}

#top.help-center #after_image_hotspots .content .entry-content-wrapper {
  padding-right: 0;
}

/* Heading case: Enfold force-uppercases every h1/h2 inside article content
   (layout.css: `.template-page .entry-content-wrapper h1, h2`) but leaves
   h3–h6 as typed. Copied headings therefore render inconsistently — some in
   ALL CAPS (h1/h2), some in normal case (h3+). Help Center articles are
   documentation, so render every heading exactly as the editor types it. */
#top.help-center .entry-content-wrapper h1,
#top.help-center .entry-content-wrapper h2,
#top.help-center .av-special-heading-tag {
  text-transform: none !important;
}

/* Heading alignment: Enfold centers h1 special headings (`.av-special-heading
   h1 { text-align: center }`). Help Center articles read as left-aligned
   documentation, so force every heading in an article left. */
#top.help-center .av-special-heading h1,
#top.help-center .av-special-heading .av-special-heading-tag {
  text-align: left;
}

/* ============================================================
   Help Center — redesign (Cheena's "Help Center" mock)
   Overview-only parts are scoped to `#top.help-center--overview`;
   shared parts (pill search, "Still need help?") and the compact
   category/article header to `#top.help-center` (body classes set
   by the plugin router), so the rest of the site is untouched. Values follow the redesigned form pages:
   #161616 headings, #c02a26 accent, black pill buttons.
   ============================================================ */
body.help-center {
  --ee-hc-ov-ink:   #161616;
  --ee-hc-ov-text:  #4a4a4a;
  --ee-hc-ov-muted: #8a8a8a;
  --ee-hc-ov-line:  #ececec;
  --ee-hc-ov-blush: #fdf0ef;
  --ee-hc-ov-tint:  #fdf0ef;
  --ee-hc-ov-red:   #c02a26;
}
#top.help-center--overview .ee-hc-hero,
#top.help-center--overview .ee-hc-topics,
#top.help-center .ee-hc-cta { border: 0; }

/* --- Hero --- */
#top.help-center--overview .ee-hc-hero {
  background: var(--ee-hc-ov-blush);
  padding: 28px 0 92px;
}
#top.help-center--overview .ee-hc-hero .breadcrumb {
  position: static !important;
  float: none !important;
  margin: 0 0 60px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ee-hc-ov-muted);
  letter-spacing: .02em;
}
#top.help-center--overview .ee-hc-hero .breadcrumb-trail a,
#top.help-center--overview .ee-hc-hero .breadcrumb-trail span,
#top.help-center--overview .ee-hc-hero .breadcrumb-trail .sep {
  float: none !important;
  display: inline !important;
  width: auto !important;
  overflow: visible !important;
  padding: 0 2px !important;
}
/* minmax(0, 1fr), not 1fr: a 1fr track can't shrink below its content's min width,
   and Safari counts the search input's intrinsic width in it — the column then
   stayed ~436px wide on phones and the hero stuck out on the right. */
#top.help-center--overview .ee-hc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
#top.help-center--overview #wrap_all .ee-hc-hero h1.ee-hc-hero-title {
  margin: 0;
  color: var(--ee-hc-ov-ink);
  font-size: 76px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: normal;
  text-transform: none;
}
#top.help-center--overview #wrap_all .ee-hc-hero-subtitle {
  margin: 28px 0 0;
  max-width: 460px;
  color: var(--ee-hc-ov-text) !important; /* beats Enfold Quick CSS `p { color: inherit !important }` */
  font-size: 19px;
  line-height: 1.6;
}

/* Pill search with the "Find" button inside */
#top.help-center .ee-hc-search--find {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin-top: 44px;
  padding: 7px 7px 7px 26px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}
#top.help-center .ee-hc-search--find .ee-hc-search-icon {
  position: relative;
  top: -1px;
  left: 0;
  flex: none;
  border-color: #b6b6b6;
}
#top.help-center .ee-hc-search--find .ee-hc-search-icon::after { background: #b6b6b6; }
#top.help-center .ee-hc-search--find input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0 0 0 8px;
  padding: 12px 0;
  /* Enfold's inline `#top .main_color input[type=search]` ties our specificity
     and paints the field grey (bg2 #f8f8f8, text meta #919191). !important keeps
     the pill one clean white surface with dark text. */
  color: var(--ee-hc-ov-ink) !important;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
}
#top.help-center .ee-hc-search--find input:focus { box-shadow: none; }
#top.help-center .ee-hc-search--find:focus-within {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .05), 0 0 0 3px rgba(192, 42, 38, .15);
}
#top.help-center .ee-hc-search-find {
  flex: none;
  margin: 0;
  padding: 15px 36px;
  color: #ffffff;
  background: var(--ee-hc-ov-ink);
  border: 0;
  border-radius: 40px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease;
}
#top.help-center .ee-hc-search-find:hover { background: var(--ee-hc-ov-red); }
#top.help-center .ee-hc-search--find .ee-hc-search-results { top: calc(100% + 10px); }

/* Hero image — EE image standard: 16:10, radius 18px (14px on phones),
   shadow 0 22px 48px rgba(0,0,0,.07), 1px #eeeeee contour */
#top.help-center--overview .ee-hc-hero-illustration {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .07);
}
#top.help-center--overview .ee-hc-hero-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Browse by topic --- */
#top.help-center--overview .ee-hc-topics .ee-hc-content {
  min-height: 0;
  padding: 88px 0 110px;
}
#top.help-center--overview #wrap_all h2.ee-hc-section-title {
  margin: 0;
  color: var(--ee-hc-ov-ink);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: normal;
  text-transform: none;
}
#top.help-center--overview #wrap_all .ee-hc-topics .ee-hc-intro {
  max-width: none;
  margin: 14px 0 52px;
  color: #565656 !important; /* beats Enfold Quick CSS `p { color: inherit !important }` */
  font-size: 19px;
  line-height: 1.6;
}
#top.help-center--overview .ee-hc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
#top.help-center--overview .ee-hc-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 30px 32px;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--ee-hc-ov-line);
  border-top: 3px solid var(--ee-hc-ov-line);
  border-radius: 18px;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#top.help-center--overview .ee-hc-card:hover {
  border-top-color: var(--ee-hc-ov-red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .07);
}
#top.help-center--overview .ee-hc-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--ee-hc-ov-red);
  background: var(--ee-hc-ov-tint);
  border-radius: 50%;
}
#top.help-center--overview .ee-hc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}
#top.help-center--overview .ee-hc-card-title {
  color: var(--ee-hc-ov-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
}
#top.help-center--overview .ee-hc-card-chevron {
  flex: none;
  color: var(--ee-hc-ov-red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
#top.help-center--overview .ee-hc-card-desc {
  margin-top: 10px;
  color: #5a5a5a;
  font-size: 16px;
  line-height: 1.6;
}

/* --- Still need help? --- */
#top.help-center .ee-hc-cta {
  background: var(--ee-hc-ov-blush);
  padding: 80px 0;
}
#top.help-center .ee-hc-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
#top.help-center .ee-hc-cta h2.ee-hc-cta-title {
  margin: 0;
  color: var(--ee-hc-ov-ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
}
#top.help-center .ee-hc-cta .ee-hc-cta-text p {
  max-width: 520px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--ee-hc-ov-text) !important; /* beats Enfold Quick CSS `p { color: inherit !important }` */
  font-size: 18px;
  line-height: 1.6;
}
#top.help-center .ee-hc-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
#top.help-center .ee-hc-btn {
  padding: 16px 34px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
#top.help-center .ee-hc-btn--solid { color: #ffffff !important; background: var(--ee-hc-ov-ink); border: 1.5px solid var(--ee-hc-ov-ink); }
#top.help-center .ee-hc-btn--solid:hover { background: var(--ee-hc-ov-red); border-color: var(--ee-hc-ov-red); }
#top.help-center .ee-hc-btn--outline { color: var(--ee-hc-ov-ink) !important; background: #ffffff; border: 1.5px solid var(--ee-hc-ov-ink); }
#top.help-center .ee-hc-btn--outline:hover { color: #ffffff !important; background: var(--ee-hc-ov-ink); border-color: var(--ee-hc-ov-ink); }

/* --- Tablet --- */
@media only screen and (max-width: 989px) {
  #top.help-center--overview .ee-hc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #top.help-center--overview .ee-hc-hero-illustration { margin-top: 48px; }
  #top.help-center--overview #wrap_all .ee-hc-hero h1.ee-hc-hero-title { font-size: 60px; }
  #top.help-center--overview .ee-hc-cards { grid-template-columns: repeat(2, 1fr); }
}
/* --- Phone --- */
@media only screen and (max-width: 767px) {
  #top.help-center--overview .ee-hc-hero { padding: 20px 0 56px; }
  #top.help-center--overview .ee-hc-hero-illustration { margin-top: 36px; border-radius: 14px; }
  #top.help-center--overview .ee-hc-hero .breadcrumb { margin-bottom: 32px; }
  #top.help-center--overview #wrap_all .ee-hc-hero h1.ee-hc-hero-title { font-size: 44px; letter-spacing: normal; }
  #top.help-center--overview #wrap_all .ee-hc-hero-subtitle { margin-top: 18px; font-size: 16px; }
  #top.help-center .ee-hc-search--find { margin-top: 28px; padding-left: 18px; }
  #top.help-center .ee-hc-search--find input { font-size: 15px; }
  #top.help-center .ee-hc-search-find { padding: 13px 22px; }
  #top.help-center--overview .ee-hc-topics .ee-hc-content { padding: 56px 0 64px; }
  #top.help-center--overview #wrap_all h2.ee-hc-section-title { font-size: 30px; }
  #top.help-center--overview #wrap_all .ee-hc-topics .ee-hc-intro { margin-bottom: 32px; font-size: 16px; }
  #top.help-center--overview .ee-hc-cards { grid-template-columns: 1fr; gap: 16px; }
  #top.help-center--overview .ee-hc-card { min-height: 0; padding: 24px; border-radius: 14px; }
  #top.help-center .ee-hc-cta { padding: 56px 0; }
  #top.help-center .ee-hc-cta h2.ee-hc-cta-title { font-size: 28px; }
  #top.help-center .ee-hc-cta .ee-hc-cta-text p { font-size: 16px; }
  /* Both buttons on one line (from ~360px; narrower phones still wrap, then full width) */
  #top.help-center .ee-hc-cta-buttons { gap: 10px; width: 100%; }
  #top.help-center .ee-hc-btn { flex: 1 1 0; padding: 14px 12px; font-size: 15px; text-align: center; white-space: nowrap; }
}

/* --- Category & article pages: compact pink header (same family as the
       overview hero: breadcrumb, heavy title, pill search with "Find") --- */
#top.help-center .ee-hc-titlebar {
  padding: 28px 0 56px;
  background: var(--ee-hc-ov-blush);
  border: 0;
}
#top.help-center .ee-hc-titlebar .breadcrumb { margin-bottom: 36px; }
#top.help-center #wrap_all .ee-hc-titlebar h1.main-title {
  max-width: 900px;
  color: var(--ee-hc-ov-ink);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: normal;
  text-wrap: balance;
  text-transform: none;
}
#top.help-center .ee-hc-titlebar .main-title::after { display: none; }
#top.help-center--article .ee-hc-titlebar-meta::after { display: none; } /* redesign drops the red accent rule */
#top.help-center #wrap_all .ee-hc-titlebar .ee-hc-titlebar-meta {
  margin: 12px 0 0;
  color: var(--ee-hc-ov-muted) !important; /* beats Enfold Quick CSS `p { color: inherit !important }` */
  font-size: 15px;
}
#top.help-center .ee-hc-titlebar .ee-hc-search--find { margin-top: 32px; }

/* --- Category pages: questions in a rounded card with dividers --- */
#top.help-center--category .ee-hc-content {
  min-height: 0;
  padding: 64px 0 96px;
}
#top.help-center--category #wrap_all .ee-hc-term-desc {
  margin: 0 0 36px;
  color: #565656 !important; /* beats Enfold Quick CSS `p { color: inherit !important }` */
  font-size: 18px;
  line-height: 1.6;
}
#top.help-center--category .ee-hc-questions {
  margin: 0 0 40px;
  background: #ffffff;
  border: 1px solid var(--ee-hc-ov-line);
  border-radius: 18px;
}
#top.help-center--category .ee-hc-questions li {
  padding: 0 28px;
  border-bottom: 1px solid var(--ee-hc-ov-line);
}
#top.help-center--category .ee-hc-questions li:last-child { border-bottom: none; }
#top.help-center--category .ee-hc-questions a {
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  color: var(--ee-hc-ov-ink);
  font-size: 17px;
  font-weight: 500;
}
#top.help-center--category .ee-hc-questions a::before {
  order: 2;                 /* chevron on the right, like the overview cards */
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
#top.help-center--category .ee-hc-questions a:hover {
  color: var(--ee-hc-ov-red);
  padding-left: 0;
}
#top.help-center--category .ee-hc-content > .ee-hc-group { margin-bottom: 48px; }
#top.help-center--category #wrap_all .ee-hc-content > .ee-hc-group > .ee-hc-group-title {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ee-hc-ov-ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: normal;
}
#top.help-center--category .ee-hc-content > .ee-hc-group > .ee-hc-group-title::after { display: none; }
#top.help-center--category #wrap_all .ee-hc-group .ee-hc-group .ee-hc-group-title {
  color: var(--ee-hc-ov-ink);
  font-size: 19px;
  font-weight: 700;
}

/* --- Article pages: body untouched, a bit more air under the header --- */
#top.help-center--article .ee-hc-content { padding-top: 56px; }

/* --- Article pages: search above the question, smaller question --- */
#top.help-center--article .ee-hc-titlebar .ee-hc-search--find { margin-top: 0; }
#top.help-center--article #wrap_all .ee-hc-titlebar h1.main-title {
  margin-top: 40px;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.15;
}

@media only screen and (max-width: 767px) {
  #top.help-center .ee-hc-titlebar { padding: 20px 0 40px; }
  #top.help-center .ee-hc-titlebar .breadcrumb { margin-bottom: 24px; }
  #top.help-center #wrap_all .ee-hc-titlebar h1.main-title { font-size: clamp(30px, 8vw, 40px); letter-spacing: normal; }
  #top.help-center .ee-hc-titlebar .ee-hc-search--find { margin-top: 24px; }
  #top.help-center--article .ee-hc-titlebar .ee-hc-search--find { margin-top: 0; }
  #top.help-center--article #wrap_all .ee-hc-titlebar h1.main-title { margin-top: 28px; font-size: clamp(24px, 6.5vw, 30px); }
  #top.help-center--category .ee-hc-content { padding: 40px 0 64px; }
  #top.help-center--category .ee-hc-questions { border-radius: 14px; }
  #top.help-center--category .ee-hc-questions li { padding: 0 18px; }
  #top.help-center--category .ee-hc-questions a { padding: 16px 0; font-size: 16px; }
  #top.help-center--category #wrap_all .ee-hc-content > .ee-hc-group > .ee-hc-group-title { font-size: 24px; }
}

/* No Enfold divider line between the pink header and the content */
#top.help-center .container_wrap_first { border-top: 0; }

/* ============================================================
   Main menu: "Soft Grey" dropdown + mega menu (approved by Felix
   2026-11-03, design: Milan's "Finaler Vorschlag · Soft Grey").
   Restyles Enfold's own menu markup — no template changes.
   Desktop only: up to 1250px the burger menu is shown (see "Burger
   menu up to 1250px" below).
   Selectors carry `#top #header` so they win over Enfold's
   header-colour CSS and Quick CSS regardless of load order (on
   alpha/beta Quick CSS is a file loaded before this sheet's second
   copy, locally it's inlined after it).
   ============================================================ */

@media only screen and (min-width: 1251px) {

  #top #header {
    --ee-nav-grey:         #f5f5f5;
    --ee-nav-text:         #2a2a2a;
    --ee-nav-title:        #5a5a5a;
    --ee-nav-red:          #c02a26;
    --ee-nav-line:         #e4e4e4;
    --ee-nav-shadow:       0 18px 36px -16px rgba(17, 17, 17, .2);
    --ee-nav-hover-shadow: 0 1px 2px rgba(17, 17, 17, .05), 0 6px 14px -6px rgba(17, 17, 17, .12);
  }

  /* No Enfold bullets or hover underline/arrow in the main menu */
  #top #header .av-main-nav .avia-bullet,
  #top #header .av-main-nav > li > a .avia-menu-fx { display: none; }

  /* --- Top-level item with a submenu: chevron, grey tab while open ---
     Open = hovered, or (only while the mouse isn't over the menu) holding
     keyboard focus. Plain :focus-within kept a clicked item open next to the
     hovered one, and open after the mouse left. */
  #top #header .av-main-nav > li.menu-item-has-children > a {
    cursor: default; /* not a link (href="#", see functions.php) */
    transition: background-color .15s ease, color .15s ease;
  }
  #top #header .av-main-nav > li.menu-item-has-children:hover > a,
  #top #header .av-main-nav:not(:hover) > li.menu-item-has-children:has(:focus-visible) > a {
    background-color: var(--ee-nav-grey);
    color: #111;
    opacity: 1;
  }
  #top #header .av-main-nav > li.menu-item-has-children:hover > a .avia-menu-text,
  #top #header .av-main-nav:not(:hover) > li.menu-item-has-children:has(:focus-visible) > a .avia-menu-text { color: #111; }

  #top #header .av-main-nav > li.menu-item-has-children > a .avia-menu-text::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    vertical-align: -2px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    transition: transform .2s ease;
  }
  #top #header .av-main-nav > li.menu-item-has-children:hover > a .avia-menu-text::after,
  #top #header .av-main-nav:not(:hover) > li.menu-item-has-children:has(:focus-visible) > a .avia-menu-text::after { transform: rotate(180deg); }

  /* --- Simple dropdown (Product, Solutions, Pricing, About) --- */
  #top #header .av-main-nav > li > ul.sub-menu {
    width: 300px;
    margin-top: 1px;
    padding: 8px;
    background: var(--ee-nav-grey);
    border: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--ee-nav-shadow);
  }
  #top #header .av-main-nav > li > ul.sub-menu > li {
    border: 0;
    background: transparent;
  }
  #top #header .av-main-nav > li > ul.sub-menu > li > a {
    display: block;
    padding: 13px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ee-nav-text);
    font: 500 16px/1.3 Poppins, Helvetica, Arial, sans-serif;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
  }

  /* --- Mega menu (Support): content-width panel, 4 columns with dividers --- */
  #top #header .av-main-nav .avia_mega_div {
    margin-top: 1px;
    padding: 0;
    background: var(--ee-nav-grey);
    border: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: var(--ee-nav-shadow);
  }
  #top #header .av-main-nav .avia_mega_div > ul.sub-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 32px 16px 36px;
    background: transparent;
    border: 0;
    box-sizing: border-box;
  }
  #top #header .av-main-nav .avia_mega_div > ul.sub-menu > li {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-left: 1px solid var(--ee-nav-line);
    background: transparent;
  }
  #top #header .av-main-nav .avia_mega_div > ul.sub-menu > li:first-child { border-left: 0; }

  #top #header .av-main-nav .avia_mega_div .mega_menu_title,
  #top #header .av-main-nav .avia_mega_div .mega_menu_title a {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ee-nav-title);
    font: 600 12px/1 Poppins, Helvetica, Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  /* Linked heading (Customization): Enfold floats the link; inline keeps the line box the same as the plain headings */
  #top #header .av-main-nav .avia_mega_div .mega_menu_title a { display: inline; float: none; margin: 0; }

  #top #header .av-main-nav .avia_mega_div ul.sub-menu ul.sub-menu {
    overflow: visible; /* Enfold clips the column list, cutting off the hover card's -12px overhang */
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  #top #header .av-main-nav .avia_mega_div ul.sub-menu ul.sub-menu > li {
    border: 0;
    background: transparent;
  }
  #top #header .av-main-nav .avia_mega_div ul.sub-menu ul.sub-menu > li > a {
    display: block;
    margin: 0 -12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ee-nav-text);
    font: 500 15.5px/1.3 Poppins, Helvetica, Arial, sans-serif;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
  }

  /* --- Open/close timing ---
     Enfold's menu script fades dropdowns over 400ms and holds the mega menu back
     300ms before a 300ms fade (both ways), so Support opened late and the previous
     panel lingered over the next one. CSS takes over showing/hiding (its inline
     opacity/visibility/display are overridden): open at once with a short fade,
     close at once when moving to another item, short fade when leaving the menu. */
  #top #header .av-main-nav > li.menu-item-mega-parent { overflow: visible !important; }
  #top #header .av-main-nav > li > ul.sub-menu,
  #top #header .av-main-nav > li > .avia_mega_div {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .15s ease, visibility 0s linear .15s;
  }
  #top #header .av-main-nav > li:hover > ul.sub-menu,
  #top #header .av-main-nav:not(:hover) > li:has(:focus-visible) > ul.sub-menu,
  #top #header .av-main-nav > li:hover > .avia_mega_div,
  #top #header .av-main-nav:not(:hover) > li:has(:focus-visible) > .avia_mega_div {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity .15s ease, visibility 0s;
  }
  #top #header .av-main-nav:hover > li:not(:hover) > ul.sub-menu,
  #top #header .av-main-nav:hover > li:not(:hover) > .avia_mega_div { transition: none; }

  /* --- Hover (both menu types): white card, EE red text --- */
  #top #header .av-main-nav > li > ul.sub-menu > li > a:hover,
  #top #header .av-main-nav > li > ul.sub-menu > li > a:focus-visible,
  #top #header .av-main-nav .avia_mega_div ul.sub-menu ul.sub-menu > li > a:hover,
  #top #header .av-main-nav .avia_mega_div ul.sub-menu ul.sub-menu > li > a:focus-visible {
    background: #fff;
    color: var(--ee-nav-red);
    box-shadow: var(--ee-nav-hover-shadow);
  }
  #top #header .av-main-nav ul.sub-menu a .avia-menu-text { color: inherit; }
}

/* Burger menu up to 1250px (Enfold switches at 989px): between 990 and 1250px the
   logo, five menu items, CTAs, cart, search and the price pill don't fit in one
   row — the menu ran under the logo and the pill wrapped to a second line. Copies
   Enfold's own tablet burger rules (layout.css, "min-width: 768px and max-width:
   989px", the ones for our header: top, sticky, logo left) to this range. Enfold's
   burger script checks whether the burger is visible, not the width, so no JS. */
@media only screen and (min-width: 990px) and (max-width: 1250px) {
  .responsive.html_mobile_menu_tablet .av-burger-menu-main { display: block; }
  .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
    top: 0;
    left: auto;
    right: 0;
    display: block;
  }
  .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item { display: none; }
  .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special { display: block; }
  .responsive #top #wrap_all .av_mobile_menu_tablet .menu-item-search-dropdown > a { font-size: 24px; }
  .responsive #top .av_mobile_menu_tablet #header_main_alternate { display: none; }
  .responsive.html_mobile_menu_tablet #top #wrap_all #header {
    position: relative;
    width: 100%;
    float: none;
    height: auto;
    margin: 0 !important;
    opacity: 1;
    min-height: 0;
  }
  .responsive.html_mobile_menu_tablet #top #main .av-logo-container .main_menu { display: block; }
  .responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 88px; }
  .responsive.html_mobile_menu_tablet.html_header_top #top #main {
    padding-top: 0 !important;
    margin: 0;
  }
  .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
  .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
    height: 90px;
    line-height: 90px;
  }
  .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a {
    min-width: 0;
    padding: 0 0 0 20px;
    margin: 0;
    border-style: none;
    border-width: 0;
  }
  .responsive.html_mobile_menu_tablet #top #header .av-main-nav > li > a {
    background: transparent;
    color: inherit;
  }
}

/* Mobile header: the search icon sat on the text baseline of the 80px line, ~4px
   above the burger icon. Center it in the header instead. */
@media only screen and (max-width: 1250px) {
  #top #header #menu-item-search > a {
    display: flex;
    align-items: center;
  }
}

/* Below 1440px the header row is tight (logo + 5 items + CTAs + cart/search/locale):
   the chevrons would add ~100px and push the menu under the logo. Smaller chevron,
   less item padding and a smaller gap before the CTAs keep the menu exactly as wide
   as it was without chevrons. */
@media only screen and (min-width: 1251px) and (max-width: 1439px) {
  #top #header .av-main-nav > li.menu-item-has-children > a { padding: 0 7px; }
  #top #header .av-main-nav > li.menu-item-has-children > a .avia-menu-text::after {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    vertical-align: -1px;
    -webkit-mask-size: 12px 12px;
            mask-size: 12px 12px;
  }
  #top #header .av-main-nav > li.ee-demo-button.menu-item { margin-left: 14px; }
}
