.rdm-search {
  font: 1rem/1.4 Hind, Arial, sans-serif;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: .65rem;
  padding: .85rem;
  color: var(--ink, #241d1c);
  background: var(--cream, #fff0e7);
  border: 1px solid var(--line, #ede7e4);
  border-radius: 12px;
  text-align: left;
}
.rdm-search label { display: block; margin-bottom: .25rem; font-weight: 600; }
.rdm-search input, .rdm-search select, .rdm-search button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: .45rem .65rem;
  border: 1px solid #ebcbbc;
  border-radius: 6px;
  font: inherit;
}
.rdm-search button, .rdm-search-more a {
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.rdm-search button { background: #111; border-radius: 5px; }
.rdm-search input:hover, .rdm-search select:hover { border-color: #ff6577; }
.rdm-search button:hover, .rdm-search-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rdm-search :focus-visible, .rdm-search-cards a:focus-visible, .rdm-search-more a:focus-visible {
  outline: 2px solid var(--ink, #241d1c);
  outline-offset: 3px;
}
.rdm-search-intro { margin-block: 24px; padding: clamp(22px, 3.3vw, 38px); background: var(--cream, #fff0e7); border: 1px solid #FF6577; border-radius: 12px; }
.rdm-search-intro h1 { margin: 0 0 .7em; font: 700 clamp(11px, 3vw, 24px)/1.12 Lora, Georgia, serif; color:#FF6577;}
.rdm-search-intro .rdm-search { padding: 0; border: 0; background: transparent; }
.rdm-search-results { margin-block: 24px 38px; }
.rdm-search-results h2 { overflow-wrap: anywhere; margin-bottom: 17px; }
.rdm-search-message, .rdm-search-suggestion:not(:empty) { color: var(--ink, #241d1c); font-size: 1rem; }
.rdm-search-message { padding: 1rem; border: 1px solid #f6d6c6; border-radius: 9px; background: var(--cream, #fff0e7); }
.rdm-search-suggestion a { color: #a82831; font-weight: 700; text-decoration: underline; }
.rdm-search-more { margin: 20px 0 0; text-align: center; }
.rdm-search-more a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 50px;
  padding: .55rem .85rem;
  background: var(--red, #e72f3b);
  border-radius: 9px;
  font: 700 20px/1.25 Hind, Arial, sans-serif;
}
.rdm-search-more a[hidden] { display: none; }
.rdm-search-more a[aria-disabled="true"] { opacity: .7; cursor: wait; }
.rdm-search-more [data-rdm-status] { margin: .5rem 0 0; }
.rdm-search-more [data-rdm-status]:empty { margin: 0; }
.rdm-search-ad { margin-block: 22px; }
.rdm-search-ad [data-options*="[300,250]"] { min-height: 250px; max-width: 100%; }
.rdm-search-account { flex-wrap: wrap; padding-top: 12px; }
.rdm-search-account > a:first-child { display: inline; }
.rdm-search-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.rdm-search-cards li { min-width: 0; }
.rdm-search-cards a {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink, #241d1c);
  border: 1px solid var(--line, #ede7e4);
  border-radius: 9px;
}
.rdm-search-cards a:hover { box-shadow: 0 8px 18px #0001; }
.rdm-search-cards img { display: block; width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; }
.rdm-search-cards span { display: block; padding: 11px; overflow-wrap: anywhere; font: 700 clamp(14px, 1.5vw, 16px)/1.35 Lora, Georgia, serif; }
@media (max-width: 760px) {
  .rdm-search-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rdm-search { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .rdm-search-intro { padding: 21px 16px; }
  .rdm-search-cards { gap: 10px; }
  .rdm-search-cards span { padding: 9px; }
}
