/*
 * Pars Aray — global header rotating specialty line.
 * Shared header: desktop, mobile, all templates; no script dependency.
 * One phrase per two-second slot, with restrained gold shine.
 */
.pa-v11-header .pa-v11-logo .pa139-brand-cycle {
  position: absolute;
  z-index: 39;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 188px;
  max-width: calc(100vw - 130px);
  height: 17px;
  display: grid;
  place-items: center;
  pointer-events: none;
  direction: rtl;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  font: 900 10.4px/17px IRANSansX, Tahoma, sans-serif;
  color: #7b5b25;
  letter-spacing: -.02em;
}
.pa-v11-header .pa139-brand-cycle__word {
  grid-area: 1 / 1;
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  opacity: 0;
  color: #79602d;
  transform: translateY(5px);
  animation: pa139-rotate 6s linear infinite both;
}
.pa-v11-header .pa139-brand-cycle__word::after {
  content: attr(data-shine);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(110deg, transparent 24%, #ffe4a4 46%, #fffefa 51%, #dab569 57%, transparent 76%);
  background-size: 230% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: pa139-shine 6s linear infinite both;
  pointer-events: none;
}
.pa-v11-header .pa139-brand-cycle__word:nth-child(1),
.pa-v11-header .pa139-brand-cycle__word:nth-child(1)::after { animation-delay: -.25s; }
.pa-v11-header .pa139-brand-cycle__word:nth-child(2),
.pa-v11-header .pa139-brand-cycle__word:nth-child(2)::after { animation-delay: -4.25s; }
.pa-v11-header .pa139-brand-cycle__word:nth-child(3),
.pa-v11-header .pa139-brand-cycle__word:nth-child(3)::after { animation-delay: -2.25s; }
@keyframes pa139-rotate {
  0% { opacity: 0; transform: translateY(5px); }
  5%, 27% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-5px); }
}
@keyframes pa139-shine {
  0% { background-position: 200% 0; }
  26% { background-position: -155% 0; }
  33%, 100% { background-position: -155% 0; }
}
@media(max-width:980px) {
  .pa-v11-header .pa-v11-logo .pa139-brand-cycle {
    top: 58px;
    width: 170px;
    max-width: calc(100vw - 124px);
    height: 13px;
    font-size: 9.1px;
    line-height: 13px;
  }
}
@media(max-width:380px) {
  .pa-v11-header .pa-v11-logo .pa139-brand-cycle {
    max-width: calc(100vw - 120px);
    font-size: 8.4px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .pa-v11-header .pa139-brand-cycle__word,
  .pa-v11-header .pa139-brand-cycle__word::after {
    animation: none !important;
  }
  .pa-v11-header .pa139-brand-cycle__word {
    opacity: 0 !important;
    transform: none !important;
  }
  .pa-v11-header .pa139-brand-cycle__word:first-child { opacity: 1 !important; }
  .pa-v11-header .pa139-brand-cycle__word::after { display: none !important; }
}
