/**
 * LuggageRate homepage — specialist luggage-review publication layout.
 */

/* Homepage design tokens — available to hero (outside .wrap) and sections */
body.home,
.lr-home,
.lr-home__hero {
  --lr-ink: #0f172a;
  --lr-muted: #475569;
  --lr-line: #e2e8f0;
  --lr-surface: #f1f5f9;
  --lr-surface-2: #e8eef5;
  --lr-cta: #0f766e;
  --lr-cta-hover: #0d9488;
  --lr-accent: #0f766e;
  --lr-max: 70rem;
}

.lr-home {
  color: var(--lr-ink);
  width: 100%;
}

.lr-home *,
.lr-home *::before,
.lr-home *::after {
  box-sizing: border-box;
}

.lr-home a:focus {
  outline: none;
}

.lr-home a:focus-visible,
.lr-home button:focus-visible,
.lr-home input:focus-visible {
  outline: 3px solid var(--lr-cta);
  outline-offset: 2px;
}

.lr-home__container {
  max-width: var(--lr-max);
  margin-inline: auto;
  padding: 0 1.25rem;
}

.lr-home__section {
  margin: 0 0 2.75rem;
}

.lr-home__section-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--lr-ink);
  text-transform: none;
}

.lr-home__section-lede {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--lr-muted);
  max-width: 40rem;
}

/* ---- Compact hero (before .wrap — full viewport background) ---- */
.lr-home__hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  padding: 1.75rem 0 1.5rem;
  overflow: hidden;
  box-sizing: border-box;
  background:
    linear-gradient(160deg, #e8f4f2 0%, #eef2f7 48%, #f8fafc 100%),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(15, 118, 110, 0.12), transparent 55%);
  border-bottom: 1px solid var(--lr-line, #e2e8f0);
}

.lr-home__hero *,
.lr-home__hero *::before,
.lr-home__hero *::after {
  box-sizing: border-box;
}

.lr-home__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f766e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}

/*
 * Hero copy uses the same centered max-width column as .lr-home__container
 * below (margin-inline: auto). Do not left-stick the inner — that drifts
 * left of the wrap column when the shell/max-width cascade fails.
 */
.lr-home__hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}

.lr-home__hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--lr-max, 70rem);
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.lr-home__hero--has-media .lr-home__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.lr-home__hero-copy {
  min-width: 0;
}

.lr-home__hero-media {
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: clamp(11rem, 28vw, 18rem) !important;
  height: clamp(11rem, 28vw, 18rem) !important;
  max-width: clamp(11rem, 28vw, 18rem) !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #e2e8f0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  animation: lr-home-hero-media-in 0.7s ease-out both;
}

.lr-home__hero-media img,
.lr-home__hero-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}

@keyframes lr-home-hero-media-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lr-home__hero-copy .lr-home__title {
  animation: lr-home-hero-copy-in 0.55s ease-out both;
}

.lr-home__hero-copy .lr-home__lede {
  animation: lr-home-hero-copy-in 0.55s ease-out 0.06s both;
}

.lr-home__hero-copy .lr-home__cta-row {
  animation: lr-home-hero-copy-in 0.55s ease-out 0.12s both;
}

@keyframes lr-home-hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fill wrap-inner so section containers center on the same axis as the hero */
.home .lr-home {
  width: 100%;
  max-width: none;
}

/* Safety: never leave an empty theme wrap sitting above the hero */
body.home > .wrap:has(> .wrap-inner:empty) {
  display: none !important;
}

.lr-home__title,
.lr-home__lede,
.lr-home__cta-row,
.lr-home__quick-label,
.lr-home__quick {
  max-width: 40rem;
}

.lr-home__hero--has-media .lr-home__title,
.lr-home__hero--has-media .lr-home__lede,
.lr-home__hero--has-media .lr-home__cta-row,
.lr-home__hero--has-media .lr-home__quick-label,
.lr-home__hero--has-media .lr-home__quick {
  max-width: none;
}

.lr-home__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--lr-ink);
  text-transform: none;
}

.lr-home__lede {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--lr-muted);
}

.lr-home__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

.lr-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lr-home__btn--primary {
  background-color: #0f766e !important;
  background-color: var(--lr-cta, #0f766e) !important;
  color: #ffffff !important;
  border: 1px solid #0f766e !important;
}

.lr-home__btn--primary:hover,
.lr-home__btn--primary:focus,
.lr-home__btn--primary:focus-visible {
  background-color: #0d9488 !important;
  background-color: var(--lr-cta-hover, #0d9488) !important;
  color: #ffffff !important;
  border-color: #0d9488 !important;
  text-decoration: none !important;
}

.lr-home__btn--secondary {
  background-color: #ffffff !important;
  color: #0f172a !important;
  color: var(--lr-ink, #0f172a) !important;
  border: 1px solid #cbd5e1 !important;
}

.lr-home__btn--secondary:hover,
.lr-home__btn--secondary:focus,
.lr-home__btn--secondary:focus-visible {
  border-color: #0f766e !important;
  color: #0f766e !important;
  text-decoration: none !important;
}

.lr-home__quick {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-inline-start: 0 !important;
  margin-inline-start: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
}

.lr-home__quick > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.lr-home__quick a {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #dbe3ee;
  border-radius: 0.25rem;
  text-decoration: none;
  line-height: 1.3;
}

.lr-home__quick a:hover,
.lr-home__quick a:focus {
  color: var(--lr-cta);
  border-color: #99f6e4;
  background: #fff;
}

.lr-home__quick-label {
  width: 100%;
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

/* ---- Decision paths ---- */
.lr-home__paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lr-home__paths {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lr-home__path {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 1.15rem 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--lr-line);
  border-radius: 0.4rem;
  border-top: 3px solid var(--lr-cta);
}

.lr-home__path-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 0.75rem;
  border-radius: 0.35rem;
  background: #ecfdf5;
  color: var(--lr-cta);
}

.lr-home__path-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.lr-home__path-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
}

.lr-home__path-title a {
  color: var(--lr-ink);
  text-decoration: none;
}

.lr-home__path-title a:hover,
.lr-home__path-title a:focus {
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-home__path-blurb {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--lr-muted);
  flex: 1;
}

.lr-home__path-links {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lr-home__path-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-home__path-more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lr-ink);
  text-decoration: none;
}

.lr-home__path-more:hover,
.lr-home__path-more:focus {
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Featured guides (6-col grid so incomplete rows still fill) ---- */
.lr-home__guides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lr-home__guides > .lr-home__guide {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .lr-home__guides {
    grid-template-columns: repeat(6, 1fr);
  }

  .lr-home__guides > .lr-home__guide {
    grid-column: span 3;
  }

  .lr-home__guide--priority {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .lr-home__guide--priority .lr-home__guide-media {
    min-height: 14rem;
  }

  .lr-home__guide--priority .lr-home__guide-img {
    height: 100%;
    min-height: 14rem;
  }

  .lr-home__guide--priority .lr-home__guide-body {
    padding: 1.35rem 1.5rem;
    justify-content: center;
  }

  .lr-home__guide--priority .lr-home__guide-title {
    font-size: 1.35rem;
  }

  .lr-home__guides[data-count="3"] > .lr-home__guide:not(.lr-home__guide--priority),
  .lr-home__guides[data-count="4"] > .lr-home__guide:not(.lr-home__guide--priority) {
    grid-column: span 2;
  }
}

@media (min-width: 1000px) {
  /*
   * 5 guides: priority (2/3) + companion (1/3), then three across.
   * 6 guides: priority full-width, then three + two half-width (no orphans).
   * 4 guides: priority full-width, then three across.
   */
  .lr-home__guides[data-count="5"] > .lr-home__guide--priority {
    grid-column: span 4;
  }

  .lr-home__guides[data-count="5"] > .lr-home__guide:not(.lr-home__guide--priority) {
    grid-column: span 2;
  }

  .lr-home__guides[data-count="4"] > .lr-home__guide--priority,
  .lr-home__guides[data-count="6"] > .lr-home__guide--priority {
    grid-column: 1 / -1;
  }

  .lr-home__guides[data-count="4"] > .lr-home__guide:not(.lr-home__guide--priority),
  .lr-home__guides[data-count="6"] > .lr-home__guide:not(.lr-home__guide--priority) {
    grid-column: span 2;
  }

  /* Last two of six share the final row evenly */
  .lr-home__guides[data-count="6"] > .lr-home__guide:not(.lr-home__guide--priority):nth-child(n+5) {
    grid-column: span 3;
  }
}

.lr-home__guide {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lr-line);
  border-radius: 0.4rem;
  overflow: hidden;
  height: 100%;
}

.lr-home__guide-media {
  display: block;
  line-height: 0;
  background: var(--lr-surface);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.lr-home__guide--priority .lr-home__guide-media {
  aspect-ratio: auto;
}

.lr-home__guide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lr-home__guide-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 8.5rem;
  background: linear-gradient(135deg, #dbeafe 0%, #ccfbf1 100%);
}

.lr-home__guide-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.lr-home__guide-label {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #115e59;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 0.2rem;
}

.lr-home__guide-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.lr-home__guide-title a {
  color: var(--lr-ink);
  text-decoration: none;
}

.lr-home__guide-title a:hover,
.lr-home__guide-title a:focus {
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-home__guide-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--lr-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Latest reviews (fill incomplete rows) ---- */
.lr-home__tested {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lr-home__tested > .lr-home__tested-card {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .lr-home__tested {
    grid-template-columns: repeat(6, 1fr);
  }

  .lr-home__tested > .lr-home__tested-card {
    grid-column: span 3; /* 2 per row by default */
  }

  .lr-home__tested[data-count="1"] > .lr-home__tested-card {
    grid-column: 1 / -1;
  }

  .lr-home__tested[data-count="3"] > .lr-home__tested-card {
    grid-column: span 2;
  }
}

@media (min-width: 1000px) {
  /* 3+ cards: three per row; leftovers share the full row width */
  .lr-home__tested[data-count="3"] > .lr-home__tested-card,
  .lr-home__tested[data-count="4"] > .lr-home__tested-card,
  .lr-home__tested[data-count="5"] > .lr-home__tested-card,
  .lr-home__tested[data-count="6"] > .lr-home__tested-card {
    grid-column: span 2;
  }

  /* 4 cards: 2×2 so the second row is full */
  .lr-home__tested[data-count="4"] > .lr-home__tested-card {
    grid-column: span 3;
  }

  /* 5 cards: three on row 1, two half-width on row 2 */
  .lr-home__tested[data-count="5"] > .lr-home__tested-card:nth-child(n+4) {
    grid-column: span 3;
  }
}

.lr-home__tested-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--lr-line);
  border-radius: 0.4rem;
  overflow: hidden;
}

.lr-home__tested-media {
  display: block;
  line-height: 0;
  aspect-ratio: 16 / 10;
  background: var(--lr-surface);
  overflow: hidden;
}

.lr-home__tested-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lr-home__tested-body {
  padding: 0.85rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.lr-home__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lr-home__badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 0.2rem;
  border: 1px solid transparent;
}

.lr-home__badge--tested {
  color: #115e59;
  background: #f0fdfa;
  border-color: #0f766e;
}

.lr-home__badge--research {
  color: #334155;
  background: #f8fafc;
  border-color: #94a3b8;
}

.lr-home__tested-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.lr-home__tested-title a {
  color: var(--lr-ink);
  text-decoration: none;
}

.lr-home__tested-title a:hover,
.lr-home__tested-title a:focus {
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-home__tested-excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--lr-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lr-home__more {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.lr-home__more a {
  color: var(--lr-cta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-home__empty {
  margin: 0;
  color: var(--lr-muted);
  font-size: 0.95rem;
}

/* ---- How we test ---- */
.lr-home__steps {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .lr-home__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.lr-home__step {
  margin: 0;
  padding: 1rem 0.9rem;
  background: var(--lr-surface);
  border: 1px solid var(--lr-line);
  border-radius: 0.35rem;
  text-align: center;
}

.lr-home__step-num {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.lr-home__step-name {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lr-cta);
}

.lr-home__step-blurb {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--lr-muted);
}

.lr-home__method-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Directory ---- */
.lr-home__dir-panel {
  padding: 1.15rem 1.15rem 1.35rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #eef2f7 100%);
  border: 1px solid #dbe3ee;
  border-radius: 0.4rem;
}

.lr-home__dir-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  max-width: 28rem;
}

.lr-home__dir-filter label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lr-ink);
}

.lr-home .lr-home__dir-input {
  flex: 1 1 12rem;
  min-width: 0;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.35rem !important;
  background: #fff !important;
  font-size: 1rem;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.lr-home .lr-home__dir-input:focus {
  border-color: var(--lr-cta) !important;
  outline: 2px solid var(--lr-cta);
  outline-offset: 1px;
}

.lr-home__dir-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.lr-home__dir-tab {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  background: #fff;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.lr-home__dir-tab[aria-pressed="true"] {
  background: var(--lr-cta);
  border-color: var(--lr-cta);
  color: #fff;
}

.lr-home__dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.lr-home__dir-list li[hidden] {
  display: none !important;
}

.lr-home__dir-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lr-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.6;
}

.lr-home__dir-empty {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--lr-muted);
}

.lr-home__dir-empty[hidden] {
  display: none !important;
}

/* ---- Newsletter ---- */
.lr-home__newsletter {
  padding: 1.5rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(241, 245, 249, 0.95) 55%, #fff 100%);
  border: 1px solid var(--lr-line);
  border-radius: 0.4rem;
}

.lr-home__newsletter-inner {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lr-home__newsletter .lr-home__section-title {
  margin-bottom: 0.4rem;
}

.lr-home__newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lr-home .lr-home__newsletter-input {
  flex: 1 1 14rem;
  min-width: 0;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 0.9rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.35rem !important;
  background: #fff !important;
  font-size: 1rem;
  box-shadow: none !important;
}

.lr-home .lr-home__newsletter-submit {
  flex: 0 0 auto;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 1.25rem !important;
  border: none !important;
  border-radius: 0.35rem !important;
  background: var(--lr-cta) !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.lr-home .lr-home__newsletter-submit:hover,
.lr-home .lr-home__newsletter-submit:focus {
  background: var(--lr-cta-hover) !important;
}

.lr-home__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lr-home__newsletter-note {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.lr-home__newsletter-status {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.25rem;
}

.lr-home__newsletter-status--ok {
  background: #f0fdfa;
  color: #115e59;
  border: 1px solid #99f6e4;
}

.lr-home__newsletter-status--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 900px) {
  .lr-home__hero--has-media .lr-home__hero-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .lr-home__hero-media {
    order: -1;
    justify-self: center !important;
    width: 10.5rem !important;
    height: 10.5rem !important;
    max-width: 10.5rem !important;
    margin-inline: auto !important;
  }

  .lr-home__hero-media img,
  .lr-home__hero-img {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 640px) {
  .lr-home__hero {
    padding: 1.35rem 0 1.25rem;
  }

  .lr-home__section {
    margin-bottom: 2.25rem;
  }

  .lr-home__container {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lr-home,
  .lr-home *,
  .lr-home__hero-media,
  .lr-home__hero-copy .lr-home__title,
  .lr-home__hero-copy .lr-home__lede,
  .lr-home__hero-copy .lr-home__cta-row {
    transition: none !important;
    animation: none !important;
  }
}
