/* Hi-Res Homes /client-login/ — landscape layout for desktop (>=1024px).
   Left: welcome panel (title, what the portal is for, help contact, photo).
   Right: on-brand Sign in card (opens the client portal in a new tab).
   Phones/tablets keep the stacked layout. */
.hrh-cl-extra { display: none; }

/* Sign-in CTA card (replaces the cropped portal iframe). */
.hrh-login { --cl-surface: #ffffff; --cl-soft: #eef2f9; --cl-icon: #234786; --cl-title: #234786; }
html[data-theme="dark"] .hrh-login { --cl-surface: #1c2433; --cl-soft: #1a2333; --cl-icon: #9eb6e0; --cl-title: #f4f1ea; }

.hrh-login-cta {
  background: var(--cl-surface);
  border: 1px solid var(--color-line, #e3e0d6);
  box-shadow: 0 18px 40px -28px rgba(35, 71, 134, .35);
  padding: 2rem 1.75rem 1.85rem;
}
html[data-theme="dark"] .hrh-login-cta {
  border-color: rgba(244, 241, 234, .12);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55);
}
.hrh-login-cta-title {
  margin: 0;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cl-title);
}
.hrh-login-cta-lead {
  margin: .7rem 0 0;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--color-muted, #5b6472);
}
.hrh-login-signin,
a.hrh-login-signin {
  margin-top: 1.5rem;
  background: #234786 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.hrh-login-signin:hover,
a.hrh-login-signin:hover {
  background: #1a3564 !important;
}

@media (min-width: 1024px) {
  .hrh-login { padding-top: 2.75rem; padding-bottom: 3.75rem; }
  .hrh-login > .mx-auto {
    max-width: 72rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas:
      "eyebrow card"
      "title   card"
      "lead    card"
      "extra   card"
      "help    card";
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
  .hrh-login > .mx-auto > .eyebrow { grid-area: eyebrow; margin: 0; }
  .hrh-login > .mx-auto > h1 { grid-area: title; margin-top: .75rem; font-size: clamp(2.75rem, 4.2vw, 3.5rem); line-height: 1.04; }
  .hrh-login > .mx-auto > p.text-sm { grid-area: lead; margin-top: 1rem; max-width: 30rem; font-size: 1rem; line-height: 1.6; }

  .hrh-login > .mx-auto > .hrh-cl-extra { grid-area: extra; display: block; margin-top: 2rem; }
  .hrh-cl-welcome { margin: 0 0 1rem; font-family: var(--font-display, Georgia, serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--cl-title); }
  .hrh-cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
  .hrh-cl-list li { display: flex; align-items: flex-start; gap: .85rem; }
  .hrh-cl-ico { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: grid; place-items: center; background: var(--cl-soft); color: var(--cl-icon); }
  .hrh-cl-ico svg { width: 1.2rem; height: 1.2rem; display: block; }
  .hrh-cl-list strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--cl-title); }
  .hrh-cl-list span.hrh-cl-sub { display: block; font-size: .875rem; line-height: 1.5; color: var(--color-muted, #5b6472); }
  .hrh-cl-photo { margin: 1.75rem 0 0; border-radius: 2rem; overflow: hidden; border: 1px solid var(--color-line, #e3e0d6); box-shadow: 0 18px 40px -28px rgba(35, 71, 134, .35); background: var(--cl-soft); }
  .hrh-cl-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

  .hrh-login > .mx-auto > p.text-xs {
    grid-area: help; align-self: end; margin-top: 1.75rem; max-width: 34rem;
    padding: 1rem 1.25rem; border-radius: 1.25rem; border: 1px solid var(--color-line, #e3e0d6);
    background: var(--cl-surface); font-size: .875rem; line-height: 1.6;
  }
  .hrh-login > .mx-auto > .hrh-login-card { grid-area: card; margin-top: 0; align-self: start; }
}

/* Hide any leftover gold accent bar if a card chrome variant reappears. */
.hrh-login-card > .bg-gold,
.hrh-login-card > .h-1\.5.bg-gold {
  display: none !important;
}

/* Never show a cropped portal iframe on this page. */
.hrh-login iframe.hrh-login-frame,
.hrh-login iframe[src*="portal.hi-reshomes.com"] {
  display: none !important;
}
