/* ==========================================================
   Home — Registrations Open (scoped under .rx)
   Deep-blue admissions "poster": copy + fact chips on the
   left, tilted framed photo with a rotating stamp on the right.
   Logo palette: royal blue + orange.
   ========================================================== */
.rx {
  --rx-blue: #0d4f9c;
  --rx-blue-deep: #072f61;
  --rx-orange: #f08a1c;
  --rx-orange-deep: #d9740a;
  background: #fff;
  padding: 0 0 48px;
}
.rx-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
.rx-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 64px 64px 64px 72px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--rx-blue-deep) 0%, var(--rx-blue) 100%);
  color: #fff;
}

/* decoration */
.rx-stripe {
  position: absolute;
  top: -40%;
  right: 34%;
  width: 120px;
  height: 180%;
  background: rgba(240, 138, 28, .16);
  transform: rotate(18deg);
  pointer-events: none;
}
.rx-dots {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 2px, transparent 2px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* copy */
.rx-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rx-pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rx-orange);
}
.rx-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--rx-orange);
  animation: rx-pulse 1.8s ease-out infinite;
}
@keyframes rx-pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.rx-title {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.rx-title span { display: block; color: var(--rx-orange); }

.rx-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; }
.rx-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, .95);
}
.rx-fact-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rx-orange);
  color: #fff;
  font-size: 17px;
}

.rx-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.rx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.rx-btn:hover { transform: translateY(-2px); }
.rx-btn--primary { background: var(--rx-orange); color: #fff; }
.rx-btn--primary:hover { background: var(--rx-orange-deep); color: #fff; }
.rx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.rx-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--rx-blue-deep); }

/* media */
.rx-media { position: relative; z-index: 1; padding: 20px 20px 20px 0; }
.rx-frame {
  background: #fff;
  padding: 12px;
  border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  transition: transform .35s ease, box-shadow .35s ease;
}
.rx-media:hover .rx-frame { transform: translateY(-4px); box-shadow: 0 36px 66px -22px rgba(0, 0, 0, .5); }
.rx-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 612 / 345;
  object-fit: cover;
  border-radius: 14px;
}

.rx-stamp {
  position: absolute;
  left: -46px;
  bottom: -14px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--rx-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4);
}
.rx-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rx-spin 14s linear infinite;
}
.rx-stamp text {
  fill: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
}
.rx-stamp-core {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--rx-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
@keyframes rx-spin { to { transform: rotate(360deg); } }

/* responsive */
@media (max-width: 1199px) {
  .rx-card { padding: 52px 48px; gap: 44px; }
  .rx-title { font-size: 46px; }
}
@media (max-width: 991px) {
  .rx-card { grid-template-columns: 1fr; padding: 44px 32px 56px; }
  .rx-media { max-width: 560px; width: 100%; margin: 0 auto; padding: 10px 10px 10px 30px; }
  .rx-stamp { left: -10px; }
  .rx-stripe { right: 10%; }
}
@media (max-width: 640px) {
  .rx { padding: 0 0 36px; }
  .rx-wrap { padding: 0 16px; }
  .rx-card { padding: 32px 20px 44px; border-radius: 26px; gap: 32px; }
  .rx-title { font-size: 36px; }
  .rx-facts li { font-size: 15px; }
  .rx-btn { width: 100%; justify-content: center; }
  .rx-stamp { width: 100px; height: 100px; bottom: -20px; }
  .rx-stamp text { font-size: 10.5px; }
  .rx-stamp-core { width: 40px; height: 40px; font-size: 17px; }
  .rx-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-stamp svg, .rx-pulse::after { animation: none; }
}

/* make sure the centre icon always renders (legacy styles can override <i> colour/size) */
.rx .rx-stamp-core .fa {
  display: block;
  color: var(--rx-blue) !important;
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 640px) {
  .rx .rx-stamp-core .fa { font-size: 17px; }
}
