/* 1125p100 — MLS Premium / Creative Luxury reel formats highlight.
   Desktop only: soft gradient sweep under the text + logo pulse.
   Phones stay static. Honors prefers-reduced-motion. */
.hrh-reel-formats {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-gold, #c4a35a) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--color-gold, #c4a35a) 38%, transparent);
}
.hrh-reel-formats-logos {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.hrh-reel-logo {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  border-radius: 0.28rem;
}
.hrh-reel-logo-mls {
  width: auto;
  min-width: 1.85rem;
  height: 1.35rem;
  padding: 0 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  background: #1d2f55;
  border-radius: 0.22rem;
}
.hrh-reel-formats-text {
  position: relative;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--color-navy, #1d2f55);
}
.hrh-reel-formats-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--color-gold, #c4a35a) 55%, transparent) 25%,
    #f4e4b0 50%,
    color-mix(in srgb, var(--color-gold, #c4a35a) 55%, transparent) 75%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  opacity: 0.95;
}

/* Desktop only animation (fine pointer + hover). Phones stay static. */
@media (hover: hover) and (pointer: fine) {
  .hrh-reel-formats-text::after {
    animation: hrh-reel-shimmer 3.8s ease-in-out infinite;
  }
  .hrh-reel-logo {
    transform-origin: center;
    animation: hrh-reel-logo-pulse 2.8s ease-in-out infinite;
  }
  .hrh-reel-logo-ig { animation-delay: 0.35s; }
  .hrh-reel-logo-mls { animation-delay: 0.7s; }
}

@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .hrh-reel-formats-text::after,
  .hrh-reel-logo {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hrh-reel-formats-text::after,
  .hrh-reel-logo {
    animation: none !important;
  }
}

@keyframes hrh-reel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes hrh-reel-logo-pulse {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.08); filter: saturate(1.15); }
}

html[data-theme="dark"] .hrh-reel-formats {
  background: color-mix(in srgb, #c4a35a 16%, #1c2433);
  border-color: color-mix(in srgb, #c4a35a 32%, transparent);
}
html[data-theme="dark"] .hrh-reel-formats-text {
  color: #f4f1ea;
}
