/* Playlist Farsi Responsive Header v1.0.5
   Lightweight, responsive, no external CSS assets
*/

/* ---------- Design tokens ---------- */

.pf-rh-shell,
.pf-rh-footer-socials {
  --pf-rh-line: rgba(255, 255, 255, .12);
  --pf-rh-soft: rgba(139, 92, 246, .16);
  --pf-rh-soft-strong: rgba(139, 92, 246, .28);
  --pf-rh-surface: rgba(255, 255, 255, .05);
  --pf-rh-ease: cubic-bezier(.22, .61, .36, 1);
}

.pf-rh-shell {
  --pf-rh-fg: var(--pf-rh-text, #f7f7fb);
  --pf-rh-hf: var(--pf-rh-hover-text, #ffffff);
  --pf-rh-hs: var(--pf-rh-hover-outline, #14141a);
  --pf-rh-glass: var(--pf-rh-bg, #111116);
}

.pf-rh-footer-socials {
  --pf-rh-fg: var(--pf-rh-footer-text, #f7f7fb);
  --pf-rh-hf: var(--pf-rh-footer-text, #f7f7fb);
  --pf-rh-hs: var(--pf-rh-footer-outline, #14141a);
}

@supports (color: color-mix(in srgb, red 10%, transparent)) {
  .pf-rh-shell,
  .pf-rh-footer-socials {
    --pf-rh-line: color-mix(in srgb, var(--pf-rh-fg) 14%, transparent);
    --pf-rh-surface: color-mix(in srgb, var(--pf-rh-fg) 6%, transparent);
    --pf-rh-soft: color-mix(in srgb, var(--pf-rh-accent, #8b5cf6) 16%, transparent);
    --pf-rh-soft-strong: color-mix(in srgb, var(--pf-rh-accent, #8b5cf6) 28%, transparent);
  }

  .pf-rh-shell {
    --pf-rh-glass: color-mix(in srgb, var(--pf-rh-bg, #111116) 90%, transparent);
  }
}

/* ---------- Shell ---------- */

.pf-rh-shell,
.pf-rh-shell * {
  box-sizing: border-box;
}

.pf-rh-shell {
  position: sticky;
  top: 0;
  z-index: 99990;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  padding: 12px clamp(14px, 3vw, 42px);
  color: var(--pf-rh-fg);
  background: var(--pf-rh-glass);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--pf-rh-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  font-family: inherit;
  direction: rtl;
  isolation: isolate;
  transition: box-shadow .25s var(--pf-rh-ease), transform .3s var(--pf-rh-ease);
}

.pf-rh-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pf-rh-accent, #8b5cf6), transparent);
  opacity: .55;
  pointer-events: none;
}

.pf-rh-shell.is-scrolled {
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}

body.admin-bar .pf-rh-shell {
  top: 32px;
}

html.pf-rh-ready {
  scroll-padding-top: calc(var(--pf-rh-offset, 0px) + 12px);
}

/* ---------- Brand ---------- */

.pf-rh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--pf-rh-fg);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.3;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.pf-rh-brand:hover,
.pf-rh-brand:focus-visible {
  color: var(--pf-rh-fg);
  opacity: .88;
}

.pf-rh-logo {
  display: block;
  width: auto;
  max-width: 52px;
  max-height: 42px;
  object-fit: contain;
}

.pf-rh-mark {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  flex: 0 0 auto;
  width: 24px;
  height: 22px;
}

.pf-rh-mark i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: var(--pf-rh-accent, #8b5cf6);
  transform-origin: bottom;
}

.pf-rh-mark i:nth-child(1) { height: 55%; }
.pf-rh-mark i:nth-child(2) { height: 100%; }
.pf-rh-mark i:nth-child(3) { height: 75%; }

.pf-rh-brand:hover .pf-rh-mark i {
  animation: pf-rh-bar .9s ease-in-out infinite alternate;
}

.pf-rh-brand:hover .pf-rh-mark i:nth-child(2) { animation-delay: .15s; }
.pf-rh-brand:hover .pf-rh-mark i:nth-child(3) { animation-delay: .3s; }

@keyframes pf-rh-bar {
  from { transform: scaleY(.45); }
  to   { transform: scaleY(1); }
}

/* ---------- Navigation ---------- */

.pf-rh-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.pf-rh-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, .6vw, 8px);
  margin: 0;
  padding: 0;
}

.pf-rh-menu li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.pf-rh-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  color: var(--pf-rh-fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 12px;
  transition: background .2s var(--pf-rh-ease), color .2s ease;
}

.pf-rh-menu a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pf-rh-accent, #8b5cf6);
  transform: translateX(-50%);
  transition: width .22s var(--pf-rh-ease);
}

.pf-rh-menu a:hover,
.pf-rh-menu a:focus-visible,
.pf-rh-menu li:focus-within > a,
.pf-rh-menu .current-menu-item > a,
.pf-rh-menu .current_page_item > a,
.pf-rh-menu .current-menu-ancestor > a {
  color: var(--pf-rh-hf);
  background: var(--pf-rh-soft);
}

.pf-rh-menu > li > a:hover::before,
.pf-rh-menu > li > a:focus-visible::before,
.pf-rh-menu > .current-menu-item > a::before,
.pf-rh-menu > .current_page_item > a::before,
.pf-rh-menu > .current-menu-ancestor > a::before {
  width: 20px;
}

/* Dropdown indicator */

.pf-rh-menu .menu-item-has-children > a::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  opacity: .6;
  transform: rotate(45deg);
  transition: transform .22s var(--pf-rh-ease), margin .22s var(--pf-rh-ease), opacity .2s ease;
}

.pf-rh-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-rh-menu .sub-menu a::before {
  display: none;
}

.pf-rh-menu .sub-menu a {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ---------- Mobile menu toggle ---------- */

.pf-rh-toggle {
  display: none !important;
  width: 44px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--pf-rh-fg);
  background: var(--pf-rh-surface);
  border: 1px solid var(--pf-rh-line);
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}

.pf-rh-toggle:hover,
.pf-rh-toggle[aria-expanded="true"] {
  background: var(--pf-rh-soft);
  border-color: var(--pf-rh-accent, #8b5cf6);
}

.pf-rh-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--pf-rh-ease), opacity .2s ease;
}

.pf-rh-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.pf-rh-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.pf-rh-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Social buttons ---------- */

.pf-rh-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pf-rh-socials li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pf-rh-socials a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 13px;
  color: var(--pf-rh-fg);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--pf-rh-surface);
  border: 1px solid var(--pf-rh-line);
  border-radius: 999px;
  transition: transform .2s var(--pf-rh-ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pf-rh-socials a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--pf-rh-social-icon, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, background-size .2s ease;
}

.pf-rh-socials a:hover,
.pf-rh-socials a:focus-visible {
  color: var(--pf-rh-hf);
  transform: translateY(-2px);
  background: var(--pf-rh-soft);
  border-color: var(--pf-rh-accent, #8b5cf6);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.pf-rh-social-label {
  position: relative;
  z-index: 1;
}

/* Smart favicon appearance */

body.pf-rh-favicon-tint .pf-rh-socials a::before {
  opacity: .15;
  background-size: cover;
}

body.pf-rh-favicon-tint .pf-rh-socials a:hover::before,
body.pf-rh-favicon-tint .pf-rh-socials a:focus-visible::before {
  opacity: .6;
}

/* Thin contrasting outline so the label stays readable over the icon */
body.pf-rh-favicon-tint .pf-rh-socials a:hover .pf-rh-social-label,
body.pf-rh-favicon-tint .pf-rh-socials a:focus-visible .pf-rh-social-label {
  text-shadow:
    -.7px 0 0 var(--pf-rh-hs),
    .7px 0 0 var(--pf-rh-hs),
    0 -.7px 0 var(--pf-rh-hs),
    0 .7px 0 var(--pf-rh-hs),
    -.7px -.7px 0 var(--pf-rh-hs),
    .7px -.7px 0 var(--pf-rh-hs),
    -.7px .7px 0 var(--pf-rh-hs),
    .7px .7px 0 var(--pf-rh-hs);
}

/* Favicon-only mode */

body.pf-rh-icon-only .pf-rh-socials a .pf-rh-social-label {
  display: none;
}

body.pf-rh-icon-only .pf-rh-socials a {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 13px;
}

body.pf-rh-favicon-only .pf-rh-socials a::before {
  opacity: 1;
  background-size: 22px 22px;
}

body.pf-rh-favicon-only .pf-rh-socials a:hover::before,
body.pf-rh-favicon-only .pf-rh-socials a:focus-visible::before {
  opacity: 1;
  background-size: 28px 28px;
}

.pf-rh-socials-header {
  display: none;
}

.pf-rh-notice {
  margin: 0;
  font-size: 13px;
  opacity: .8;
}

/* ---------- Footer socials ---------- */

.pf-rh-footer-socials {
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 18px;
  padding: 26px 16px;
  margin-top: 24px;
  color: var(--pf-rh-fg);
  background:
    linear-gradient(90deg, transparent, var(--pf-rh-accent, #8b5cf6), transparent) top center / min(520px, 80%) 1px no-repeat,
    var(--pf-rh-footer-bg, #0c0c12);
  border-top: 1px solid var(--pf-rh-line);
}

.pf-rh-footer-socials > span {
  font-size: 13px;
  font-weight: 700;
  opacity: .78;
}

.pf-rh-footer-socials .pf-rh-socials {
  justify-content: center;
}

.pf-rh-socials-footer a {
  color: var(--pf-rh-fg);
}

/* ---------- Desktop ---------- */

@media (min-width: 781px) {
  .pf-rh-shell {
    flex-wrap: wrap;
  }

  .pf-rh-navigation {
    flex: 1 1 620px;
    min-width: 0;
    flex-wrap: wrap;
  }

  .pf-rh-menu {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
    row-gap: 3px;
  }

  .pf-rh-menu > li {
    max-width: 100%;
  }

  .pf-rh-menu > li > a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .pf-rh-actions {
    position: absolute;
    top: 50%;
    left: clamp(14px, 3vw, 42px);
    z-index: 6;
    transform: translateY(-50%);
  }

  .pf-rh-shell.pf-rh-has-search .pf-rh-navigation {
    padding-left: 54px;
  }

  .pf-rh-sub-toggle {
    display: none;
  }

  .pf-rh-menu li:hover > a::after,
  .pf-rh-menu li:focus-within > a::after,
  .pf-rh-menu li.is-touch-open > a::after {
    margin-top: 3px;
    opacity: 1;
    transform: rotate(225deg);
  }

  .pf-rh-menu .sub-menu {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 5;
    min-width: 220px;
    padding: 8px;
    background: var(--pf-rh-bg, #111116);
    border: 1px solid var(--pf-rh-line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s var(--pf-rh-ease), transform .2s var(--pf-rh-ease), visibility 0s linear .2s;
  }

  /* Invisible bridge so the dropdown does not close while moving the mouse */
  .pf-rh-menu .sub-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    height: 10px;
  }

  .pf-rh-menu li:hover > .sub-menu,
  .pf-rh-menu li:focus-within > .sub-menu,
  .pf-rh-menu li.is-touch-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  /* Last items sit at the left edge in RTL: open their dropdown inward */
  .pf-rh-menu > li:nth-last-child(-n+2) > .sub-menu {
    right: auto;
    left: 0;
  }

  .pf-rh-menu .sub-menu a {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) and (min-width: 781px) {
  .pf-rh-shell {
    gap: 10px;
    padding-inline: 18px;
  }

  .pf-rh-actions {
    left: 18px;
  }

  .pf-rh-navigation {
    flex-basis: 560px;
    gap: 7px;
  }

  .pf-rh-menu {
    gap: 2px;
  }

  .pf-rh-menu a {
    padding: 9px 9px;
    font-size: 13px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 780px) {
  .pf-rh-shell {
    min-height: 64px;
    padding: 9px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .pf-rh-toggle {
    display: flex !important;
  }

  .pf-rh-navigation {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--pf-rh-offset, 76px));
    max-height: calc(100dvh - var(--pf-rh-offset, 76px));
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 20px;
    background: var(--pf-rh-bg, #111116);
    border-top: 1px solid var(--pf-rh-line);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 22px 34px rgba(0, 0, 0, .3);
  }

  .pf-rh-navigation.is-open {
    display: flex;
    animation: pf-rh-panel .22s var(--pf-rh-ease);
  }

  .pf-rh-menu {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
  }

  .pf-rh-menu li {
    width: 100%;
  }

  .pf-rh-menu a {
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .pf-rh-menu a::before {
    display: none;
  }

  .pf-rh-menu .menu-item-has-children > a::after {
    display: none;
  }

  .pf-rh-menu .current-menu-item > a,
  .pf-rh-menu .current_page_item > a,
  .pf-rh-menu .current-menu-ancestor > a {
    box-shadow: inset -3px 0 0 var(--pf-rh-accent, #8b5cf6);
  }

  .pf-rh-menu .sub-menu {
    display: none;
    position: static;
    min-width: 0;
    margin: 2px 14px 8px 0;
    padding: 0 10px 0 0;
    border-right: 2px solid var(--pf-rh-soft-strong);
    background: transparent;
  }

  .pf-rh-menu .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    column-gap: 4px;
    align-items: stretch;
  }

  .pf-rh-menu .menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
  }

  .pf-rh-menu .menu-item-has-children.is-expanded > .sub-menu {
    display: block;
    animation: pf-rh-panel .2s var(--pf-rh-ease);
  }

  .pf-rh-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--pf-rh-fg);
    background: var(--pf-rh-surface);
    border: 1px solid var(--pf-rh-line);
    border-radius: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, border-color .2s ease;
  }

  .pf-rh-sub-toggle:hover,
  .is-expanded > .pf-rh-sub-toggle {
    background: var(--pf-rh-soft);
    border-color: var(--pf-rh-accent, #8b5cf6);
  }

  .pf-rh-sub-toggle span {
    display: block;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform .22s var(--pf-rh-ease), margin .22s var(--pf-rh-ease);
  }

  .is-expanded > .pf-rh-sub-toggle span {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  /* Smart header: hide on scroll down, show on scroll up */
  body.pf-rh-smart .pf-rh-shell.is-hidden {
    transform: translateY(-135%);
    box-shadow: none;
  }

  .pf-rh-menu .sub-menu a {
    font-size: 14px;
    padding: 10px 12px;
    opacity: .92;
  }

  .pf-rh-socials-header {
    display: flex;
    padding-top: 14px;
    border-top: 1px solid var(--pf-rh-line);
  }
}

@keyframes pf-rh-panel {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 782px) {
  body.admin-bar .pf-rh-shell {
    top: 46px;
  }
}

/* WordPress admin bar is not fixed below 600px */
@media (max-width: 600px) {
  body.admin-bar .pf-rh-shell {
    top: 0;
  }
}

/* ---------- Built-in SVG social icons ---------- */

.pf-rh-social-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-inline-end: 7px;
  transition: transform .2s var(--pf-rh-ease);
}

.pf-rh-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--pf-rh-icon-color, var(--pf-rh-svg-color, currentColor));
}

.pf-rh-socials a:hover .pf-rh-social-icon,
.pf-rh-socials a:focus-visible .pf-rh-social-icon {
  transform: scale(1.14);
}

body.pf-rh-icon-only .pf-rh-social-icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

/* ---------- Header actions & search ---------- */

.pf-rh-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.pf-rh-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 42px;
  padding: 0;
  color: var(--pf-rh-fg);
  background: var(--pf-rh-surface);
  border: 1px solid var(--pf-rh-line);
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}

.pf-rh-search-toggle:hover,
.pf-rh-search-toggle[aria-expanded="true"] {
  background: var(--pf-rh-soft);
  border-color: var(--pf-rh-accent, #8b5cf6);
}

.pf-rh-search-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pf-rh-search-toggle .pf-rh-ico-close,
.pf-rh-search-toggle[aria-expanded="true"] .pf-rh-ico-search {
  display: none;
}

.pf-rh-search-toggle[aria-expanded="true"] .pf-rh-ico-close {
  display: block;
}

.pf-rh-search[hidden] {
  display: none !important;
}

.pf-rh-search {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 7;
  padding: 16px clamp(14px, 3vw, 42px) 20px;
  background: var(--pf-rh-bg, #111116);
  border-top: 1px solid var(--pf-rh-line);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 22px 34px rgba(0, 0, 0, .3);
  animation: pf-rh-panel .22s var(--pf-rh-ease);
}

.pf-rh-search .pf-rh-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 6px;
  background: var(--pf-rh-surface);
  border: 1px solid var(--pf-rh-line);
  border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pf-rh-search .pf-rh-search-form:focus-within {
  border-color: var(--pf-rh-accent, #8b5cf6);
  box-shadow: 0 0 0 3px var(--pf-rh-soft);
}

.pf-rh-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-inline-start: 12px;
  color: var(--pf-rh-fg);
  opacity: .65;
}

.pf-rh-search-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pf-rh-search .pf-rh-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 4px;
  color: var(--pf-rh-fg);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.pf-rh-search .pf-rh-search-input::placeholder {
  color: var(--pf-rh-fg);
  opacity: .5;
}

.pf-rh-search .pf-rh-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.pf-rh-search .pf-rh-search-submit {
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  padding: 0 22px;
  color: var(--pf-rh-accent-text, #fff);
  background: var(--pf-rh-accent, #8b5cf6);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s var(--pf-rh-ease);
}

.pf-rh-search .pf-rh-search-submit:hover,
.pf-rh-search .pf-rh-search-submit:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.pf-rh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Accessibility & print ---------- */

.pf-rh-socials a:focus-visible,
.pf-rh-menu a:focus-visible,
.pf-rh-toggle:focus-visible,
.pf-rh-search-toggle:focus-visible,
.pf-rh-sub-toggle:focus-visible,
.pf-rh-search-submit:focus-visible,
.pf-rh-brand:focus-visible {
  outline: 2px solid var(--pf-rh-accent, #8b5cf6);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pf-rh-shell *,
  .pf-rh-shell *::before,
  .pf-rh-shell *::after,
  .pf-rh-footer-socials *,
  .pf-rh-footer-socials *::before {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .pf-rh-shell,
  .pf-rh-footer-socials {
    display: none !important;
  }
}
