/* V48: native Porto search retains its DOM position and dimensions, preventing
 * feedback with the previously implemented social-icons positioning script. */
@media (min-width: 992px) {
  html.fast-r48-boot #header .header-top form.searchform,
  html.fast-r48-ready #header .header-top form.searchform,
  html.fast-r48-boot #header .header-top .searchform form,
  html.fast-r48-ready #header .header-top .searchform form,
  html.fast-r48-boot #header .header-top form[role="search"],
  html.fast-r48-ready #header .header-top form[role="search"] {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #header .header-top .fast-r48-shell {
    position: absolute !important;
    z-index: 80 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
  }
  #header .header-top .fast-r48-toggle {
    position: absolute !important;
    z-index: 3 !important;
    top: 5px !important;
    left: 0 !important;
    right: auto !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 50% !important;
    background: #34383b !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }
  #header .header-top .fast-r48-toggle:hover,
  #header .header-top .fast-r48-toggle:focus-visible {
    background: #4b525a !important;
    border-color: rgba(255,255,255,.45) !important;
  }
  #header .header-top .fast-r48-toggle svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
  }
  /* Input opens to the RIGHT. The icon remains fixed at the left edge. */
  #header .header-top .fast-r48-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 40px !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #19232e !important;
    font: 13px/1.4 'Segoe UI',Arial,sans-serif !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: width .2s ease,opacity .16s ease !important;
  }
  #header .header-top .fast-r48-open .fast-r48-input {
    width: 265px !important;
    padding: 0 14px 0 49px !important;
    border-color: #d9e0e5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.24) !important;
  }
  #header .header-top .fast-r48-open .fast-r48-toggle {
    background: transparent !important;
    border-color: transparent !important;
    color: #1c2b36 !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  #header .header-top .fast-r48-input { transition: none !important; }
}
