.rp-one { position: relative; display: grid; grid-template-columns: minmax(0, 112px) minmax(0, 1fr); align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  margin-top: var(--s3); padding: 14px 14px 14px 8px; border-radius: 20px;
  border: 1.5px solid rgba(201,150,63,.65);
  background: radial-gradient(90% 120% at 12% 50%, rgba(243,207,122,.32), transparent 62%), linear-gradient(180deg, #fffaf0, #f8eedb);
  box-shadow: 0 14px 28px -18px rgba(74,11,28,.5), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s cubic-bezier(.16,1,.3,1); }
.rp-one:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(74,11,28,.6), 0 0 0 1.5px var(--gold-deep); }
.rp-one:active { transform: scale(.98); }
.rp-one:focus-visible { outline: 3px solid #f6d27a; outline-offset: 2px; }
.rp-book { display: block; width: 108px; height: auto; margin: -4px 0 -4px; filter: drop-shadow(0 10px 10px rgba(74,11,28,.3));
  transform: rotate(-3deg); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.rp-one:hover .rp-book { transform: rotate(0deg) translateY(-3px); }
.rp-one-t { min-width: 0; text-align: center; overflow-wrap: anywhere; }
.rp-one-t h2 { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--maroon-deep); }
.rp-one-t p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.rp-one-btn { display: grid; place-items: center; width: 100%; min-height: 46px; margin-top: 12px; border-radius: 999px;
  background: linear-gradient(165deg, #8e1a2e, #5a0d1f); color: #fde9bf; font-size: 17px; font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(246,210,122,.5), 0 8px 16px -8px rgba(74,11,28,.85); }
@media (prefers-reduced-motion: reduce) { .rp-one, .rp-book { transition: none; } .rp-one:hover, .rp-one:hover .rp-book { transform: none; } }

.milan-card-wrap { margin-block: var(--s4); }
.milan-card-inset { margin-inline: var(--s4); }

/* The Kundli card's description wraps on the narrowest phones. */
@media (max-width: 340px) {
  .milan-card-wrap .rp-one { min-height: 194px; }
}

@media (min-width: 1024px) {
  .milan-card-wrap {
    width: min(100%, calc((min(100vw - 2 * var(--desktop-pad), var(--desktop-max)) - var(--s4)) / 2));
  }
  .milan-card-inset { margin-inline: 0; }
  .rp-home .rp-one, .milan-card-wrap .rp-one {
    grid-template-columns: 160px minmax(0, 1fr);
    padding: 20px;
  }
  .rp-home .rp-book, .milan-card-wrap .rp-book {
    width: 150px;
    max-height: 220px;
    object-fit: contain;
    margin: 0;
  }
}
