/* Railway Mitra Home Highlights — isolated component styles only. */
.rm-home-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  width: 100%;
  margin-top: 22px;
  padding: 11px 10px;
  overflow: hidden;
  border: 1px solid rgba(53, 232, 255, .38);
  border-radius: 15px;
  background: rgba(4, 12, 31, .48);
  box-shadow: inset 0 0 16px rgba(53, 232, 255, .07);
}
.rm-home-highlights__lane {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rm-home-highlights__label {
  color: #63eaff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .45px;
  white-space: nowrap;
  text-shadow: 0 0 9px rgba(53, 232, 255, .5);
}
.rm-home-highlights__lane--tools .rm-home-highlights__label {
  color: #f18aff;
  text-shadow: 0 0 9px rgba(255, 69, 212, .45);
}
.rm-home-highlights__viewport {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rm-home-highlights__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  will-change: transform;
  animation: rm-home-exams-scroll 38s linear infinite;
}
.rm-home-highlights__lane--tools .rm-home-highlights__track {
  animation-name: rm-home-tools-scroll;
  animation-duration: 43s;
}
.rm-home-highlights__group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}
.rm-home-highlights__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eaf8ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.rm-home-highlights__item::before {
  content: "✦";
  color: #35e8ff;
  font-size: 10px;
  text-shadow: 0 0 8px #35e8ff;
}
.rm-home-highlights__lane--tools .rm-home-highlights__item::before {
  color: #ff65df;
  text-shadow: 0 0 8px #ff45d4;
}
.rm-home-highlights__item:nth-child(3n) {
  animation: rm-home-chip-glow 2.8s ease-in-out infinite;
}
.rm-home-highlights__lane:hover .rm-home-highlights__track,
.rm-home-highlights__lane:focus-within .rm-home-highlights__track {
  animation-play-state: paused;
}
@keyframes rm-home-exams-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rm-home-tools-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes rm-home-chip-glow {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 transparent; }
  50% { opacity: .72; text-shadow: 0 0 9px currentColor; }
}
@media (max-width: 480px) {
  .rm-home-highlights { gap: 8px; padding: 10px 8px; }
  .rm-home-highlights__lane { grid-template-columns: 62px minmax(0, 1fr); gap: 5px; }
  .rm-home-highlights__label { font-size: 9px; letter-spacing: 0; }
  .rm-home-highlights__item { font-size: 10px; }
  .rm-home-highlights__track { animation-duration: 34s; }
  .rm-home-highlights__lane--tools .rm-home-highlights__track { animation-duration: 39s; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-home-highlights__track,
  .rm-home-highlights__item:nth-child(3n) {
    animation: none !important;
  }
  .rm-home-highlights__viewport { overflow-x: auto; }
}


/* Welcome panel spacing + continuous heading glow (isolated home styling). */
.welcome-section h2 {
  animation: rm-welcome-title-pulse 2.2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(53, 232, 255, .38);
}

@keyframes rm-welcome-title-pulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 7px rgba(53, 232, 255, .28), 0 0 14px rgba(255, 69, 212, .12);
  }
  50% {
    opacity: .72;
    text-shadow: 0 0 13px rgba(53, 232, 255, .85), 0 0 22px rgba(255, 69, 212, .42);
  }
}

/* Compact mobile welcome panel: remove the oversized gap below the Founder ribbon. */
@media (max-width: 768px) {
  .welcome-section {
    padding: 28px 20px 27px !important;
  }
  .welcome-section::after {
    top: 18px;
  }
  .welcome-section h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 9px !important;
  }
}

/* Vivid Railway Mitra cyan-purple-pink title animation. */
.welcome-section h2 {
  color: #35E8FF !important;
  background: linear-gradient(90deg, #35E8FF 0%, #FFFFFF 24%, #FF45D4 52%, #9B5CFF 76%, #35E8FF 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1 !important;
  animation: rm-welcome-vivid-pulse 2.1s ease-in-out infinite !important;
  -webkit-animation: rm-welcome-vivid-pulse 2.1s ease-in-out infinite !important;
  filter: drop-shadow(0 0 5px rgba(53, 232, 255, .65));
  will-change: background-position, filter;
}
@keyframes rm-welcome-vivid-pulse {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 5px rgba(53, 232, 255, .65)) drop-shadow(0 0 9px rgba(155, 92, 255, .35));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 9px rgba(53, 232, 255, 1)) drop-shadow(0 0 15px rgba(255, 69, 212, .9));
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-section h2 {
    animation: none !important;
    -webkit-animation: none !important;
    opacity: 1 !important;
    background-position: 50% 50%;
  }
}


/* Pin the Founder credit to the top edge so it never covers the welcome heading. */
 .welcome-section::after {
  top: -43px !important;
  right: 10px !important;
  padding: 5px 9px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  z-index: 5 !important;
}
@media (max-width: 768px) {
  .welcome-section::after {
    top: -38px !important;
    right: 9px !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
}


/* Final cascade override: Founder badge sits in the gap above the welcome panel. */
.welcome-section {
  overflow: visible !important;
  padding-top: 34px !important;
}
.welcome-section::after {
  top: -43px !important;
  right: 16px !important;
  z-index: 20 !important;
}
@media (max-width: 400px) {
  .welcome-section {
    padding-top: 27px !important;
  }
  .welcome-section::after {
    top: -38px !important;
    right: 10px !important;
  }
}


/* Founder credit: positioned in the header's upper-right edge, above search. */
.welcome-section::after {
  content: none !important;
  display: none !important;
}
.app-header {
  position: sticky;
  overflow: visible !important;
  z-index: 150 !important;
}
.app-header::after {
  content: "Rohit Kumar  |  Founder & Developer";
  position: absolute;
  right: 14px;
  bottom: -12px;
  z-index: 160;
  padding: 6px 11px;
  border: 1px solid rgba(53, 232, 255, .85);
  border-radius: 0 0 12px 12px;
  color: #F7FAFF;
  background: linear-gradient(105deg, #102B50, #342052, #102B50);
  background-size: 220% 100%;
  box-shadow: 0 3px 12px rgba(53, 232, 255, .22);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .15px;
  white-space: nowrap;
  animation: rm-owner-credit-sheen 5s ease-in-out infinite;
}
@keyframes rm-owner-credit-sheen {
  0%, 100% {
    background-position: 0% 50%;
    border-color: rgba(53, 232, 255, .65);
    box-shadow: 0 3px 10px rgba(53, 232, 255, .16);
  }
  50% {
    background-position: 100% 50%;
    border-color: rgba(255, 69, 212, .75);
    box-shadow: 0 3px 13px rgba(155, 92, 255, .24);
  }
}
@media (max-width: 400px) {
  .app-header::after {
    right: 10px;
    bottom: -12px;
    padding: 5px 9px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-header::after {
    animation: none !important;
  }
}

/* Portrait next to the small animated Founder credit in the header. */
.app-header::after {
  content: "Rohit Kumar  |  Founder & Developer";
  bottom: -18px;
  right: 14px;
  min-height: 42px;
  padding: 6px 12px 6px 48px;
  border-radius: 24px;
  background-image: url("../../assets/images/rohit-founder-avatar.svg"), linear-gradient(105deg, #102B50, #342052, #102B50);
  background-repeat: no-repeat, no-repeat;
  background-size: 34px 34px, 220% 100%;
  background-position: 6px center, 0% 50%;
  border: 1px solid rgba(53, 232, 255, .85);
  box-shadow: 0 0 0 2px rgba(53, 232, 255, .12), 0 3px 13px rgba(53, 232, 255, .22);
  animation: rm-owner-credit-sheen 5s ease-in-out infinite;
}
@media (max-width: 400px) {
  .app-header::after {
    right: 9px;
    bottom: -17px;
    min-height: 38px;
    padding: 5px 9px 5px 42px;
    background-size: 30px 30px, 220% 100%;
    background-position: 5px center, 0% 50%;
    font-size: 9px;
  }
}


/* Founder badge: fixed portrait on the LEFT, centered bold name, no portrait movement. */
.app-header::after {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  text-align: center !important;
  font-weight: 850 !important;
  letter-spacing: .2px !important;
  line-height: 1.25 !important;
  padding: 8px 12px 8px 52px !important;
  min-height: 48px !important;
  background-position: 8px center, 50% 50% !important;
  background-size: 34px 34px, 220% 100% !important;
  background-repeat: no-repeat, no-repeat !important;
  animation: rm-founder-badge-glow 3.2s ease-in-out infinite !important;
  transform: none !important;
}
.app-header::after::first-letter { font-weight: 900; }
@keyframes rm-founder-badge-glow {
  0%, 100% {
    border-color: rgba(53, 232, 255, .75);
    box-shadow: 0 0 7px rgba(53, 232, 255, .18), 0 0 0 1px rgba(53, 232, 255, .08);
    filter: brightness(1);
  }
  50% {
    border-color: rgba(255, 69, 212, .95);
    box-shadow: 0 0 13px rgba(53, 232, 255, .32), 0 0 17px rgba(255, 69, 212, .22);
    filter: brightness(1.12);
  }
}
@media (max-width: 400px) {
  .app-header::after {
    min-height: 44px !important;
    padding: 7px 9px 7px 46px !important;
    background-position: 7px center, 50% 50% !important;
    background-size: 31px 31px, 220% 100% !important;
    font-size: 10px !important;
    letter-spacing: .1px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-header::after {
    animation: none !important;
    filter: none !important;
  }
}


/* Compact founder identity ribbon directly below header, without changing header height. */
.app-header::after {
  content: none !important;
  display: none !important;
}
.app-header {
  position: sticky !important;
  overflow: visible !important;
  z-index: 150 !important;
}
.rm-founder-credit {
  position: absolute;
  top: calc(100% + 2px);
  right: 14px;
  z-index: 160;
  width: min(330px, calc(100vw - 32px));
  height: 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 3px 10px 3px 5px;
  border: 1.5px solid rgba(53, 232, 255, .9);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(105deg, rgba(13, 35, 67, .98), rgba(44, 25, 76, .98), rgba(13, 35, 67, .98));
  box-shadow: 0 0 8px rgba(53, 232, 255, .18);
  animation: rm-founder-ribbon-glow 3.4s ease-in-out infinite;
}
.rm-founder-credit img {
  display: block;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  min-width: 27px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid #35e8ff;
  margin: 0;
  transform: none !important;
  animation: none !important;
}
.rm-founder-credit span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .15px;
  white-space: nowrap;
}
@keyframes rm-founder-ribbon-glow {
  0%, 100% {
    border-color: rgba(53, 232, 255, .78);
    box-shadow: 0 0 6px rgba(53, 232, 255, .16);
  }
  50% {
    border-color: rgba(255, 69, 212, .9);
    box-shadow: 0 0 10px rgba(53, 232, 255, .22), 0 0 12px rgba(255, 69, 212, .16);
  }
}
@media (max-width: 400px) {
  .rm-founder-credit {
    right: 10px;
    width: min(330px, calc(100vw - 24px));
    height: 33px;
  }
  .rm-founder-credit img {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    min-width: 26px;
  }
  .rm-founder-credit span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rm-founder-credit { animation: none !important; }
}


/* Final alignment: portrait at the left-center mark, full name in the right-hand area. */
.rm-founder-credit {
  width: min(480px, calc(100vw - 24px)) !important;
  height: 42px !important;
  right: 12px !important;
  top: calc(100% + 2px) !important;
  padding: 4px 10px 4px 0 !important;
  justify-content: flex-end !important;
  gap: 0 !important;
}
.rm-founder-credit img {
  position: absolute !important;
  left: clamp(72px, 25vw, 112px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  flex: 0 0 31px !important;
}
.rm-founder-credit span {
  display: block !important;
  flex: 0 0 58% !important;
  margin-left: auto !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .15px !important;
}
@media (max-width: 400px) {
  .rm-founder-credit {
    width: calc(100vw - 24px) !important;
    height: 40px !important;
    right: 12px !important;
  }
  .rm-founder-credit img {
    left: 25vw !important;
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
  }
  .rm-founder-credit span {
    flex-basis: 58% !important;
    font-size: 10px !important;
  }
}


/* Right-align the complete Founder identity as one compact group. */
.rm-founder-credit {
  justify-content: flex-end !important;
  gap: 8px !important;
  padding: 4px 14px 4px 8px !important;
}
.rm-founder-credit img {
  position: static !important;
  inset: auto !important;
  order: 0 !important;
  flex: 0 0 31px !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  transform: none !important;
  margin: 0 !important;
}
.rm-founder-credit span {
  order: 1 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-weight: 900 !important;
}
@media (max-width: 400px) {
  .rm-founder-credit {
    justify-content: flex-end !important;
    gap: 7px !important;
    padding-right: 11px !important;
  }
  .rm-founder-credit img {
    flex: 0 0 29px !important;
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
  }
  .rm-founder-credit span {
    font-size: 10px !important;
  }
}



/* Railway heroes artwork and centered welcome heading — isolated home component. */
.welcome-section > h2 {
  display:block;
  width:100%;
  text-align:center !important;
  margin-inline:auto !important;
}
.rm-heroes-tribute {
  display:block;
  width:100%;
  margin:12px auto 18px;
  padding:0;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 5px 18px rgba(53,232,255,.12);
}
.rm-heroes-tribute img {
  display:block;
  width:100%;
  height:auto;
  max-height:170px;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
}
@media (max-width:480px) {
  .rm-heroes-tribute { margin:10px auto 16px; }
  .rm-heroes-tribute img { max-height:145px; }
}

/* Use the exact tribute artwork from the user's approved screenshot. */
.rm-heroes-tribute img { display:none !important; }
.rm-heroes-tribute {
  width:100%;
  max-width:100%;
  margin:10px auto 16px;
  padding:0;
  overflow:hidden;
  border:0;
  background:transparent;
  box-shadow:none;
}
.rm-heroes-tribute svg {
  display:block;
  width:100%;
  height:auto;
  border-radius:0;
}
.welcome-section > h2 { text-align:center !important; width:100%; margin-inline:auto !important; }

/* Clickable highlight chips — visual rhythm and existing ticker motion preserved. */
.rm-home-highlights__item {
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  outline-offset: 4px;
}
.rm-home-highlights__item:hover,
.rm-home-highlights__item:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #35e8ff;
  text-underline-offset: 3px;
}
.rm-home-highlights__item:focus-visible {
  outline: 1px solid #35e8ff;
}



/* Isolated employee-services ticker: Railway Mitra neon palette and matching marquee motion. */
.rm-home-service-ticker {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(92%, 900px);
  min-height: 38px;
  margin: 12px auto 0;
  padding: 7px 10px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1.4px solid rgba(53, 232, 255, .78);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(7, 25, 54, .96), rgba(32, 22, 67, .96) 55%, rgba(53, 19, 65, .94));
  box-shadow: 0 0 12px rgba(53, 232, 255, .2), 0 0 18px rgba(155, 92, 255, .14), inset 0 0 12px rgba(53, 232, 255, .07);
  animation: rm-home-service-frame-glow 3.2s ease-in-out infinite;
}
.rm-home-service-ticker__label {
  color: #55eaff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .25px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(53, 232, 255, .65);
}
.rm-home-service-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rm-home-service-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: rm-home-service-scroll 38s linear infinite;
}
.rm-home-service-ticker__group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
  padding-right: 15px;
}
.rm-home-service-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f4f7ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 0 7px rgba(53, 232, 255, .22);
  transition: color .18s ease, text-shadow .18s ease, filter .18s ease;
}
.rm-home-service-ticker__item::before {
  content: "✦";
  color: #ff69dc;
  font-size: 10px;
  text-shadow: 0 0 8px rgba(255, 69, 212, .9);
}
.rm-home-service-ticker__item:nth-child(3n + 1) {
  text-shadow: 0 0 8px rgba(53, 232, 255, .48);
}
.rm-home-service-ticker__item:hover,
.rm-home-service-ticker__item:focus-visible {
  color: #ffffff;
  outline: none;
  text-shadow: 0 0 8px #35e8ff, 0 0 15px #9b5cff, 0 0 20px #ff45d4;
  filter: brightness(1.22);
}
@keyframes rm-home-service-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rm-home-service-frame-glow {
  0%, 100% {
    border-color: rgba(53, 232, 255, .72);
    box-shadow: 0 0 10px rgba(53, 232, 255, .17), 0 0 15px rgba(155, 92, 255, .12), inset 0 0 10px rgba(53, 232, 255, .05);
  }
  50% {
    border-color: rgba(255, 69, 212, .82);
    box-shadow: 0 0 13px rgba(53, 232, 255, .25), 0 0 19px rgba(255, 69, 212, .2), inset 0 0 12px rgba(155, 92, 255, .1);
  }
}
.rm-home-service-ticker:hover .rm-home-service-ticker__track,
.rm-home-service-ticker:focus-within .rm-home-service-ticker__track {
  animation-play-state: paused;
}
@media (max-width: 480px) {
  .rm-home-service-ticker {
    grid-template-columns: 67px minmax(0, 1fr);
    gap: 5px;
    min-height: 36px;
    margin-top: 10px;
    padding: 7px 8px;
  }
  .rm-home-service-ticker__label { font-size: 9px; letter-spacing: 0; }
  .rm-home-service-ticker__item { font-size: 10px; }
  .rm-home-service-ticker__track { animation-duration: 34s; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-home-service-ticker,
  .rm-home-service-ticker__track { animation: none !important; }
  .rm-home-service-ticker__viewport { overflow-x: auto; }
}


/* Safe home ticker enhancement: full viewport width, opposite directions, faster motion. */
.rm-home-service-ticker,
.rm-home-highlights {
  width: 100vw !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}
.rm-home-service-ticker {
  grid-template-columns: 82px minmax(0, 1fr) !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.rm-home-highlights {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
/* SERVICES remains in its original direction; TOOLS travels oppositely. */
.rm-home-service-ticker__track {
  animation-duration: 21s !important;
}
.rm-home-highlights__lane--tools .rm-home-highlights__track {
  animation-name: rm-home-tools-scroll !important;
  animation-duration: 23s !important;
}
/* Keep the existing neon glow and add a gentle visible blink to the moving labels. */
.rm-home-service-ticker__item:nth-child(odd),
.rm-home-highlights__item:nth-child(odd) {
  animation: rm-home-ticker-blink 1.8s ease-in-out infinite !important;
}
.rm-home-service-ticker__item:nth-child(3n),
.rm-home-highlights__item:nth-child(3n) {
  animation: rm-home-ticker-blink 1.45s ease-in-out infinite !important;
}
@keyframes rm-home-ticker-blink {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .62; filter: brightness(1.45); }
}
@media (max-width: 480px) {
  .rm-home-service-ticker,
  .rm-home-highlights {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .rm-home-service-ticker { grid-template-columns: 67px minmax(0, 1fr) !important; }
  .rm-home-service-ticker__track { animation-duration: 21s !important; }
  .rm-home-highlights__lane--tools .rm-home-highlights__track { animation-duration: 23s !important; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-home-service-ticker__item,
  .rm-home-highlights__item { animation: none !important; }
}


/* Two additional full-width home tickers: real feature-page shortcuts. */
.rm-home-feature-ticker {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100vw;
  max-width: none;
  min-height: 39px;
  box-sizing: border-box;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 7px 12px;
  overflow: hidden;
  border-top: 1px solid rgba(53, 232, 255, .72);
  border-bottom: 1px solid rgba(255, 69, 212, .62);
  background: linear-gradient(105deg, rgba(5, 24, 52, .97), rgba(30, 23, 69, .97) 55%, rgba(55, 20, 67, .96));
  box-shadow: 0 0 12px rgba(53, 232, 255, .16), inset 0 0 12px rgba(53, 232, 255, .06);
}
.rm-home-feature-ticker__label {
  color: #55eaff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(53, 232, 255, .65);
}
.rm-home-feature-ticker--lower .rm-home-feature-ticker__label {
  color: #ff80e5;
  text-shadow: 0 0 8px rgba(255, 69, 212, .65);
}
.rm-home-feature-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.rm-home-feature-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: rm-home-feature-ticker-left 21s linear infinite;
}
.rm-home-feature-ticker--lower .rm-home-feature-ticker__track {
  animation-name: rm-home-feature-ticker-right;
  animation-duration: 23s;
}
.rm-home-feature-ticker__group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
  padding-right: 15px;
}
.rm-home-feature-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f2f7ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  animation: rm-home-feature-blink 1.8s ease-in-out infinite;
}
.rm-home-feature-ticker__item::before {
  content: "✦";
  color: #35e8ff;
  font-size: 10px;
  text-shadow: 0 0 8px #35e8ff;
}
.rm-home-feature-ticker--lower .rm-home-feature-ticker__item::before {
  color: #ff65df;
  text-shadow: 0 0 8px #ff45d4;
}
.rm-home-feature-ticker__item:nth-child(3n) {
  animation-duration: 1.4s;
}
.rm-home-feature-ticker__item:hover,
.rm-home-feature-ticker__item:focus-visible {
  color: #fff;
  outline: 1px solid #35e8ff;
  outline-offset: 3px;
  text-shadow: 0 0 8px #35e8ff, 0 0 14px #ff45d4;
}
.rm-home-feature-ticker:hover .rm-home-feature-ticker__track,
.rm-home-feature-ticker:focus-within .rm-home-feature-ticker__track {
  animation-play-state: paused;
}
@keyframes rm-home-feature-ticker-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rm-home-feature-ticker-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@keyframes rm-home-feature-blink {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .65; filter: brightness(1.4); }
}
@media (max-width: 480px) {
  .rm-home-feature-ticker {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 5px;
    min-height: 36px;
    padding: 7px 8px;
  }
  .rm-home-feature-ticker__label { font-size: 9px; letter-spacing: 0; }
  .rm-home-feature-ticker__item { font-size: 10px; }
  .rm-home-feature-ticker--upper .rm-home-feature-ticker__track { animation-duration: 21s; }
  .rm-home-feature-ticker--lower .rm-home-feature-ticker__track { animation-duration: 23s; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-home-feature-ticker__track,
  .rm-home-feature-ticker__item { animation: none !important; }
  .rm-home-feature-ticker__viewport { overflow-x: auto; }
}
