.rm-home-welcome-heading {
  font-size: clamp(1.55rem, 3.5vw, 2.4rem) !important;
  line-height: 1.2;
}
.rm-home-welcome-banner {
  padding-block: 1rem !important;
}
.wp-block-cover.rm-home-welcome-banner {
  min-height: 10rem !important;
}
.rm-home-dashboard-row,
.rm-home-dashboard-button {
  width: 100%;
}
.rm-home-dashboard-row .rm-home-dashboard-button {
  flex-basis: 100%;
}
.rm-home-dashboard-link {
  box-sizing: border-box;
  display: block;
  width: 100%;
}
/* Both sections take a whole row when the home template uses a grid or flex. */
.rm-home-dashboard-row,
#rm-home-tools,
#rm-home-just-listed {
  grid-column: 1 / -1;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#rm-home-tools,
#rm-home-just-listed {
  margin-block: 1.75rem;
}
#rm-home-tools h2,
#rm-home-just-listed h2 {
  margin: 0 0 .875rem;
  color: #183653;
  font-size: 1.125rem;
  font-weight: 700;
}
.rm-home-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.rm-home-tools-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .65rem;
  min-height: 100px;
  box-sizing: border-box;
  padding: 1.25rem;
  border-radius: 10px;
  background: #183653;
  color: #fff !important;
  text-decoration: none !important;
}
.rm-home-tools-grid a strong { font-size: 1rem; }
.rm-home-tools-grid a span { font-size: .875rem; }
a.rm-home-dashboard-link:hover,
a.rm-home-dashboard-link:focus-visible,
a.rm-home-dashboard-link:active,
:is(#rm-home-tools, #rm-home-just-listed) .rm-home-tools-grid a:hover,
:is(#rm-home-tools, #rm-home-just-listed) .rm-home-tools-grid a:focus-visible,
:is(#rm-home-tools, #rm-home-just-listed) .rm-home-tools-grid a:active {
  background: #245b91 !important;
  color: #fff !important;
}
a.rm-home-dashboard-link:focus-visible,
:is(#rm-home-tools, #rm-home-just-listed) .rm-home-tools-grid a:focus-visible { outline: 3px solid #245b91; outline-offset: 2px; }
@media (max-width: 700px) {
  .rm-home-tools-grid { grid-template-columns: 1fr; }
}

.rm-just-listed-thumb { width: 64px; height: 84px; object-fit: contain; align-self: flex-start; }

.rm-home-registration-status {
  display: block;
  margin-top: .5rem;
  color: inherit;
}

.rm-public-home .rm-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #183653;
  color: #fff;
  border-radius: 14px;
}
.rm-public-home .rm-public-hero h1,
.rm-public-home .rm-public-hero p { color: #fff; }
.rm-public-hero h1 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin: 0 0 .7rem; }
.rm-public-logo { display: block; padding: 1rem; background: #fff; border-radius: 10px; }
.rm-public-home .rm-public-logo img { display: block; width: 100%; height: auto; max-width: none; }
.rm-public-actions { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .65rem; }
.rm-public-actions label { display: grid; gap: .25rem; }
.rm-public-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.rm-featured-track { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-block: 1rem; }
.rm-featured-track article { flex: 0 1 13rem; min-width: 0; text-align: center; }
.rm-featured-track article[hidden] { display: none; }
.rm-featured-track img { max-width: 100%; width: auto; height: 10rem; object-fit: contain; }
.rm-featured-track strong,.rm-featured-track span { display: block; }
.rm-featured-track .rm-feature-side { filter: blur(4px); opacity: .55; }
@media (max-width: 680px) {
  .rm-public-home .rm-public-hero { grid-template-columns: 1fr; }
  .rm-public-logo { width: min(100%, 20rem); box-sizing: border-box; }
  .rm-featured-track .rm-feature-side { display: none; }
}

.rm-public-home #rm-home-just-listed {
  margin: 12px 0;
}
.rm-public-home #rm-home-just-listed h2 {
  margin: 0 0 .75em;
  color: inherit;
  font: inherit;
  font-size: var(--rm-public-section-heading, 1.5em);
  font-weight: 600;
}
.rm-public-home .panel>h2 {
  margin: 0 0 .75em;
  font: inherit;
  font-size: var(--rm-public-section-heading, 1.5em);
  font-weight: 600;
}
.rm-public-home #rm-home-just-listed>.rm16d-info:last-child { margin-bottom: 0; }

/* The public homepage uses the hero for branding and the Browse Cards panel for search. */
.rm-public-home-page #masthead {
  min-height: 0;
  margin-bottom: .75rem;
  padding-top: .5rem;
  padding-bottom: .25rem;
}
.rm-public-home-page #masthead .site-search,
.rm-public-home-page #masthead form[role="search"],
.rm-public-home-page #masthead form.search-form {
  display: none;
}
.rm-public-home-page #masthead .site-branding:empty { display: none; }
.rm-public-home-page #masthead .storefront-primary-navigation { margin-top: 0; }
