/* RIB360-HOMEPAGE-REDO-CATEGORY-AWARE-HERO-AND-FEATURED-OFFERS-IMPLEMENTATION-HR1-P1 */
:root {
  --hr1-ink: #111827;
  --hr1-muted: #667085;
  --hr1-line: #e6eaf0;
  --hr1-soft: #f6f7f9;
  --hr1-brand: #ef9b00;
  --hr1-brand-strong: #d98200;
  --hr1-brand-pale: #fff6e3;
  --hr1-success: #157347;
  --hr1-page: min(1180px, calc(100% - 40px));
  --hr1-shadow: 0 18px 55px rgba(17, 24, 39, .10);
}

body.rib360-home-hr1 {
  margin: 0;
  color: var(--hr1-ink);
  background: #fff;
  font-family: Poppins, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.rib360-home-hr1 main { overflow: clip; }
body.rib360-home-hr1 img { display: block; max-width: 100%; }
body.rib360-home-hr1 :focus-visible { outline: 3px solid rgba(239, 155, 0, .45); outline-offset: 3px; }

.rib360-hr1-category-shell {
  border-bottom: 1px solid var(--hr1-line);
  background: #fff;
}
.rib360-hr1-category-row {
  width: var(--hr1-page);
  margin: auto;
  display: flex;
  gap: 8px;
  padding: 14px 0 15px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rib360-hr1-category-row::-webkit-scrollbar { display: none; }
.rib360-hr1-category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--hr1-line);
  border-radius: 999px;
  color: #344054;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.rib360-hr1-category-chip:hover { background: #fafafa; }
.rib360-hr1-category-chip.is-active {
  color: var(--hr1-ink);
  border-color: #f5bd52;
  background: var(--hr1-brand-pale);
  box-shadow: inset 0 0 0 1px rgba(239, 155, 0, .08);
}
.rib360-hr1-category-chip small {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hr1-soft);
  color: #667085;
  font-size: 10px;
}
.rib360-hr1-category-chip.is-active small { background: #fff; color: #7a4b00; }

.rib360-hr1-hero {
  width: var(--hr1-page);
  margin: 0 auto;
  padding: 66px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}
.rib360-hr1-hero.is-copy-only { grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr); }
.rib360-hr1-hero-copy { min-width: 0; }
.rib360-hr1-eyebrow,
.rib360-hr1-section-kicker {
  margin: 0;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.rib360-hr1-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.rib360-hr1-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--hr1-brand);
}
.rib360-hr1-hero h1 {
  margin: 18px 0;
  max-width: 660px;
  color: var(--hr1-ink);
  font-size: clamp(44px, 5.9vw, 74px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.rib360-hr1-hero-lede {
  max-width: 590px;
  margin: 0;
  color: var(--hr1-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.rib360-hr1-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rib360-hr1-btn {
  min-height: 48px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rib360-hr1-btn:hover { transform: translateY(-1px); }
.rib360-hr1-btn-primary { color: #fff; background: var(--hr1-ink); box-shadow: 0 10px 25px rgba(17,24,39,.16); }
.rib360-hr1-btn-secondary { color: #5a3600; background: var(--hr1-brand-pale); border-color: #f3c770; }
.rib360-hr1-hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: #475467; font-size: 13px; font-weight: 500; }
.rib360-hr1-hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.rib360-hr1-hero-notes span::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #178a57;
  border-radius: 50%;
  font-size: 11px;
}

.rib360-hr1-hero-media { position: relative; min-width: 0; }
.rib360-hr1-category-proof {
  position: absolute;
  z-index: 3;
  top: -18px;
  right: 20px;
  max-width: 250px;
  padding: 12px 14px;
  border: 1px solid #f6cf80;
  border-radius: 14px;
  background: #fffaf0;
  box-shadow: 0 12px 30px rgba(17,24,39,.10);
  color: #694100;
  font-size: 12px;
  font-weight: 500;
}
.rib360-hr1-hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.26 / 1;
  border-radius: 34px;
  background: #eceff3;
  box-shadow: var(--hr1-shadow);
  isolation: isolate;
}
.rib360-hr1-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
}
.rib360-hr1-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .28s ease, transform 5.8s ease;
}
.rib360-hr1-hero-image.is-changing { opacity: .22; }
.rib360-hr1-hero-image-wrap:hover .rib360-hr1-hero-image { transform: scale(1.025); }
.rib360-hr1-hero-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: end;
  gap: 14px;
  color: #fff;
}
.rib360-hr1-hero-caption { min-width: 0; }
.rib360-hr1-hero-caption strong { display: block; font-size: clamp(19px, 2.6vw, 26px); line-height: 1.15; }
.rib360-hr1-hero-caption span { display: block; margin-top: 5px; opacity: .84; font-size: 13px; }
.rib360-hr1-hero-count,
.rib360-hr1-hero-offer-link {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: rgba(17,24,39,.38);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.rib360-hr1-hero-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.rib360-hr1-hero-arrows { display: flex; gap: 8px; }
.rib360-hr1-hero-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hr1-line);
  border-radius: 50%;
  background: #fff;
  color: #344054;
  cursor: pointer;
}
.rib360-hr1-hero-arrows button:hover { background: var(--hr1-soft); }
.rib360-hr1-hero-dots { display: flex; align-items: center; gap: 7px; }
.rib360-hr1-hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d0d5dd;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.rib360-hr1-hero-dots button[aria-current="true"] { width: 26px; background: var(--hr1-brand); }
.rib360-hr1-hero-empty {
  max-width: 430px;
  justify-self: end;
  padding: 28px 0 28px 34px;
  border-left: 4px solid var(--hr1-brand);
}
.rib360-hr1-hero-empty > span { display: block; margin-bottom: 16px; color: var(--hr1-brand-strong); font-size: 36px; }
.rib360-hr1-hero-empty strong { display: block; font-size: 24px; line-height: 1.2; }
.rib360-hr1-hero-empty p { margin: 12px 0 0; color: var(--hr1-muted); }

.rib360-hr1-featured { padding: 76px 0; border-block: 1px solid var(--hr1-line); background: #f8fafc; }
.rib360-hr1-section-inner,
.rib360-hr1-connect { width: var(--hr1-page); margin: 0 auto; }
.rib360-hr1-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}
.rib360-hr1-section-head h2,
.rib360-hr1-connect-card h2 {
  margin: 8px 0 10px;
  color: var(--hr1-ink);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.rib360-hr1-section-head p:not(.rib360-hr1-section-kicker) { max-width: 680px; margin: 0; color: var(--hr1-muted); }
.rib360-hr1-section-head > a { color: #7a4b00; font-weight: 600; text-decoration: none; }
.rib360-hr1-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.rib360-hr1-offer-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--hr1-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17,24,39,.06);
}
.rib360-hr1-offer-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.62 / 1;
  background: #eef1f4;
  color: var(--hr1-muted);
}
.rib360-hr1-offer-image-wrap.is-empty { display: grid; place-items: center; }
.rib360-hr1-offer-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 1.15s ease, transform 2.4s ease;
}
.rib360-hr1-offer-image.is-active { z-index: 1; opacity: 1; transform: scale(1); }
.rib360-hr1-offer-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #5a3600;
  background: rgba(255,246,227,.94);
  border: 1px solid rgba(243,199,112,.92);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.rib360-hr1-offer-body { min-width: 0; display: flex; flex-direction: column; padding: 20px; }
.rib360-hr1-offer-value-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rib360-hr1-offer-value { color: #12613f; font-weight: 600; }
.rib360-hr1-offer-expiry { color: #667085; font-size: 12px; white-space: nowrap; }
.rib360-hr1-offer-card h3 { margin: 10px 0 4px; color: var(--hr1-ink); font-size: 22px; font-weight: 500; line-height: 1.18; }
.rib360-hr1-merchant { color: #475467; font-size: 13px; font-weight: 500; }
.rib360-hr1-offer-copy { margin: 12px 0; color: var(--hr1-muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.rib360-hr1-fact-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.rib360-hr1-fact-row span { padding: 6px 9px; border: 1px solid var(--hr1-line); border-radius: 999px; background: var(--hr1-soft); color: #475467; font-size: 11px; }
.rib360-hr1-offer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hr1-line); color: #667085; font-size: 12px; }
.rib360-hr1-offer-footer a { color: #7a4b00; font-weight: 600; text-decoration: none; white-space: nowrap; }
.rib360-hr1-offers-empty { grid-column: 1 / -1; padding: 34px; border: 1px solid var(--hr1-line); border-radius: 24px; background: #fff; color: var(--hr1-muted); text-align: center; }

.rib360-hr1-connect { padding: 76px 0 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rib360-hr1-connect-card { position: relative; overflow: hidden; min-height: 360px; padding: 38px; border: 1px solid var(--hr1-line); border-radius: 28px; background: #fff; }
.rib360-hr1-connect-card > p:not(.rib360-hr1-section-kicker) { max-width: 500px; color: var(--hr1-muted); }
.rib360-hr1-contact-card { padding-right: 190px; background: linear-gradient(145deg,#fff 0%,#fff9ed 100%); }
.rib360-hr1-contact-card .rib360-hr1-btn { margin-top: 18px; }
.rib360-hr1-contact-doodle {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7a4b00;
  background: #ffe5ae;
  font-size: 70px;
  transform: rotate(-8deg);
}
.rib360-hr1-subscribe-card { background: #111827; color: #fff; }
.rib360-hr1-subscribe-card h2 { color: #fff; }
.rib360-hr1-subscribe-card .rib360-hr1-section-kicker { color: #f5bd52; }
.rib360-hr1-subscribe-card > p:not(.rib360-hr1-section-kicker) { color: #c8d0dc; }
.rib360-hr1-subscribe-preview { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 24px; }
.rib360-hr1-subscribe-preview input,
.rib360-hr1-subscribe-preview button { min-height: 50px; border-radius: 12px; }
.rib360-hr1-subscribe-preview input { min-width: 0; padding: 0 14px; border: 1px solid #344054; background: #fff; color: #667085; }
.rib360-hr1-subscribe-preview button { padding: 0 17px; border: 0; background: #f5bd52; color: #4a2d00; font-weight: 600; }
.rib360-hr1-subscribe-preview :disabled { opacity: 1; cursor: not-allowed; }
.rib360-hr1-subscribe-card small { display: block; margin-top: 12px; color: #98a2b3; }

@media (max-width: 1080px) {
  .rib360-hr1-hero,
  .rib360-hr1-hero.is-copy-only { grid-template-columns: 1fr; }
  .rib360-hr1-hero-media { width: min(760px, 100%); }
  .rib360-hr1-hero-empty { justify-self: start; }
  .rib360-hr1-offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rib360-hr1-offer-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 10px); }
}

@media (max-width: 760px) {
  :root { --hr1-page: calc(100% - 28px); }
  body.rib360-home-hr1 { padding-bottom: 94px; }
  .rib360-hr1-category-row { padding-block: 10px; }
  .rib360-hr1-category-chip { min-height: 38px; padding: 7px 11px; font-size: 12px; }
  .rib360-hr1-hero { padding: 42px 0 44px; gap: 36px; }
  .rib360-hr1-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .rib360-hr1-hero-lede { font-size: 17px; }
  .rib360-hr1-hero-actions { display: grid; grid-template-columns: 1fr; }
  .rib360-hr1-btn { width: 100%; }
  .rib360-hr1-hero-notes { display: grid; gap: 10px; }
  .rib360-hr1-category-proof { top: -14px; right: 12px; max-width: calc(100% - 24px); }
  .rib360-hr1-hero-image-wrap { aspect-ratio: 1.05 / 1; border-radius: 24px; }
  .rib360-hr1-hero-overlay { left: 17px; right: 17px; bottom: 16px; grid-template-columns: minmax(0,1fr) auto; }
  .rib360-hr1-hero-offer-link { display: none; }
  .rib360-hr1-hero-caption strong { font-size: 20px; }
  .rib360-hr1-hero-caption span { font-size: 12px; }
  .rib360-hr1-hero-empty { padding: 22px 0 22px 24px; }
  .rib360-hr1-featured { padding: 56px 0; }
  .rib360-hr1-section-head { grid-template-columns: 1fr; gap: 10px; }
  .rib360-hr1-section-head > a { display: none; }
  .rib360-hr1-offer-grid { grid-template-columns: 1fr; gap: 16px; }
  .rib360-hr1-offer-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .rib360-hr1-offer-image-wrap { aspect-ratio: 1.65 / 1; }
  .rib360-hr1-connect { padding: 54px 0 40px; grid-template-columns: 1fr; }
  .rib360-hr1-connect-card { min-height: 0; padding: 25px; border-radius: 22px; }
  .rib360-hr1-contact-card { padding-bottom: 145px; }
  .rib360-hr1-contact-doodle { right: -12px; bottom: -55px; width: 210px; height: 210px; }
  .rib360-hr1-subscribe-preview { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rib360-hr1-hero-image { transform: none !important; }
}


/* RIB360-HOMEPAGE-REDO-HERO-PRESENTATION-HOW-IT-WORKS-AND-EMAIL-CORRECTION-HR1-P1-R2 */
.rib360-hr1-hero-image-link { display: block; color: inherit; text-decoration: none; border-radius: 30px; }
.rib360-hr1-hero-image-link:focus-visible { outline: 3px solid rgba(255,167,0,.65); outline-offset: 5px; }
.rib360-hr1-hero-controls,
.rib360-hr1-category-proof { display: none !important; }
.rib360-hr1-offer-category { margin-top: 4px; color: var(--hr1-muted); font-size: 12px; font-weight: 500; }
.rib360-hr1-subscribe-form { margin-top: 24px; }
.rib360-hr1-subscribe-fields { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.rib360-hr1-subscribe-fields input,
.rib360-hr1-subscribe-fields button { min-height: 50px; border-radius: 12px; font: inherit; }
.rib360-hr1-subscribe-fields input { min-width: 0; padding: 0 14px; border: 1px solid #667085; background: #fff; color: #111827; }
.rib360-hr1-subscribe-fields input:focus { outline: 3px solid rgba(245,189,82,.24); border-color: #f5bd52; }
.rib360-hr1-subscribe-fields button { padding: 0 18px; border: 0; background: #f5bd52; color: #4a2d00; font-weight: 600; cursor: pointer; }
.rib360-hr1-subscribe-fields button:hover { filter: brightness(.97); }
.rib360-hr1-subscribe-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; color: #d0d5dd; font-size: 12px; line-height: 1.5; }
.rib360-hr1-subscribe-consent input { margin-top: 3px; accent-color: #f5bd52; }
.rib360-hr1-subscribe-consent a { color: #f5bd52; text-decoration: underline; text-underline-offset: 2px; }
.rib360-hr1-subscribe-message { margin-top: 16px; border-radius: 12px; padding: 11px 13px; font-size: 13px; }
.rib360-hr1-subscribe-message.is-success { background: rgba(18,183,106,.16); border: 1px solid rgba(50,213,131,.45); color: #d1fadf; }
.rib360-hr1-subscribe-message.is-error { background: rgba(240,68,56,.16); border: 1px solid rgba(253,162,155,.48); color: #fee4e2; }
.rib360-hr1-subscribe-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rib360-hr1-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 640px) {
  .rib360-hr1-subscribe-fields { grid-template-columns: 1fr; }
  .rib360-hr1-subscribe-fields button { width: 100%; }
}


/* RIB360 HR1-P1-R2 corrected presentation */
.rib360-hr1-category-shell { display: none !important; }
.rib360-hr1-hero-image-link { display: block; color: inherit; text-decoration: none; border-radius: 34px; }
.rib360-hr1-hero-image-link .rib360-hr1-hero-overlay { display: grid; }
.rib360-hr1-hero-image-link .rib360-hr1-hero-offer-link { display: inline-flex; align-items: center; }
.rib360-hr1-offer-image-wrap .rib360-hr1-offer-badge { display: inline-flex; align-items: center; }
.rib360-hr1-offer-category { display: none !important; }

.rib360-hr1-how { padding: 28px 0 72px; background: #fff; }
.rib360-hr1-how-inner { width: var(--hr1-page); margin: 0 auto; }
.rib360-hr1-how-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.rib360-hr1-how-head h2 { margin: 8px 0 0; color: var(--hr1-ink); font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.rib360-hr1-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.rib360-hr1-how-step { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; padding: 22px; border: 1px solid var(--hr1-line); border-radius: 22px; background: linear-gradient(180deg,#fff,#fbfcfd); }
.rib360-hr1-how-number { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--hr1-brand-pale); color: #7a4b00; font-size: 12px; font-weight: 700; }
.rib360-hr1-how-step h3 { margin: 1px 0 7px; color: var(--hr1-ink); font-size: 18px; font-weight: 600; }
.rib360-hr1-how-step p { margin: 0; color: var(--hr1-muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) {
  .rib360-hr1-how { padding: 16px 0 54px; }
  .rib360-hr1-how-grid { grid-template-columns: 1fr; }
  .rib360-hr1-how-step { padding: 18px; }
}
@media (max-width: 640px) {
  .rib360-hr1-hero-overlay { left: 15px; right: 15px; bottom: 14px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .rib360-hr1-hero-count { display: none; }
  .rib360-hr1-hero-caption strong { font-size: 19px; }
  .rib360-hr1-hero-caption span { font-size: 11px; }
  .rib360-hr1-how-head { display: block; }
}


/* RIB360-HOMEPAGE-REDO-COMPACT-FIXED-HERO-AND-LEFT-ALIGNED-HOW-IT-WORKS-CORRECTION-HR1-P1-R3 */
/* Every slide occupies the same compact 16:10 frame; source-image dimensions cannot resize the hero. */
.rib360-hr1-hero {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: clamp(34px, 4.5vw, 64px);
  padding-top: 52px;
  padding-bottom: 48px;
}
.rib360-hr1-hero-media {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.rib360-hr1-hero-image-link,
.rib360-hr1-hero-image-wrap {
  display: block;
  width: 100%;
}
.rib360-hr1-hero-image-wrap {
  aspect-ratio: 16 / 10;
  max-height: 325px;
  border-radius: 26px;
}
.rib360-hr1-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep the three customer benefits on one horizontal row. */
.rib360-hr1-hero-notes {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.rib360-hr1-hero-notes::-webkit-scrollbar { display: none; }
.rib360-hr1-hero-notes span {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* The kicker and title are one left-aligned heading block. */
.rib360-hr1-how-head {
  display: block;
  text-align: left;
}
.rib360-hr1-how-head .rib360-hr1-section-kicker {
  margin: 0 0 8px;
  text-align: left;
}
.rib360-hr1-how-head h2 {
  margin: 0;
  max-width: none;
  text-align: left;
}

@media (max-width: 1080px) {
  .rib360-hr1-hero,
  .rib360-hr1-hero.is-copy-only {
    grid-template-columns: 1fr;
  }
  .rib360-hr1-hero-media {
    width: min(520px, 100%);
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .rib360-hr1-hero {
    padding-top: 36px;
    padding-bottom: 38px;
    gap: 28px;
  }
  .rib360-hr1-hero-media {
    width: 100%;
    max-width: 520px;
  }
  .rib360-hr1-hero-image-wrap {
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 22px;
  }
  .rib360-hr1-hero-notes {
    gap: 9px;
    font-size: 11px;
  }
  .rib360-hr1-hero-notes span {
    gap: 5px;
  }
  .rib360-hr1-hero-notes span::before {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .rib360-hr1-hero-notes {
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    overflow-x: visible;
    font-size: 10px;
  }
  .rib360-hr1-hero-notes span {
    gap: 4px;
  }
  .rib360-hr1-hero-notes span::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
}


/* RIB360-HOMEPAGE-REDO-MOBILE-SEARCH-HERO-COUNT-AND-CONNECT-INTEGRATION-CORRECTION-HR1-P1-R4 */
/* Hero count is removed from markup; defensive rule prevents stale cached markup from showing it. */
.rib360-hr1-hero-count { display: none !important; }
.rib360-hr1-hero-overlay {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* Contact and subscription now read as one integrated light section rather than two isolated blocks. */
.rib360-hr1-connect {
  position: relative;
  width: var(--hr1-page);
  margin: 72px auto 88px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  border: 1px solid var(--hr1-line);
  border-radius: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #fffaf0 100%);
}
.rib360-hr1-connect-card {
  min-height: 0;
  padding: clamp(26px, 3vw, 36px);
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}
.rib360-hr1-contact-card,
.rib360-hr1-subscribe-card {
  background: rgba(255,255,255,.92);
  color: var(--hr1-ink);
}
.rib360-hr1-connect-card h2,
.rib360-hr1-subscribe-card h2 {
  margin: 7px 0 10px;
  color: var(--hr1-ink);
  font-size: clamp(30px, 3.4vw, 43px);
}
.rib360-hr1-connect-card > p:not(.rib360-hr1-section-kicker) {
  color: var(--hr1-muted);
}
.rib360-hr1-subscribe-card .rib360-hr1-section-kicker {
  color: #7a4b00;
}
.rib360-hr1-contact-card .rib360-hr1-btn {
  margin-top: 18px;
}
.rib360-hr1-contact-doodle {
  right: 28px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--hr1-brand-pale);
  color: #7a4b00;
  font-size: 24px;
  transform: none;
}
.rib360-hr1-subscribe-form {
  margin-top: 20px;
}
.rib360-hr1-subscribe-fields input {
  border-color: #d0d5dd;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.rib360-hr1-subscribe-consent {
  color: #475467;
  font-size: 12px;
  line-height: 1.45;
}
.rib360-hr1-subscribe-consent span {
  padding-top: 1px;
}

/* Homepage-only mobile search: icon in the header until activated. */
@media (max-width: 720px) {
  body.rib360-home-hr1 .rib360-public-discovery-main {
    grid-template-columns: minmax(0, 1fr) 44px 48px !important;
    align-items: start !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-header .rib360-public-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-header .rib360-public-account-rail {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: end !important;
    width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    display: block !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-field {
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    grid-template-columns: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-leading,
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-field input {
    display: none !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-field button {
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 8px !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open .rib360-public-search-field {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    grid-template-columns: 25px minmax(0, 1fr) 44px !important;
    padding: 3px 4px 3px 14px !important;
    border: 2px solid #ffa700 !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open .rib360-public-search-leading,
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open .rib360-public-search-field input {
    display: block !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open .rib360-public-search-field input {
    width: 100% !important;
  }
  .rib360-hr1-connect {
    margin: 52px auto 56px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 24px;
  }
  .rib360-hr1-connect-card {
    padding: 24px;
    border-radius: 18px;
  }
  .rib360-hr1-contact-doodle {
    position: static;
    margin-top: 22px;
  }
}

@media (max-width: 430px) {
  body.rib360-home-hr1 .rib360-public-discovery-main {
    grid-template-columns: minmax(0, 1fr) 42px 46px !important;
    gap: 7px !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search,
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-field,
  body.rib360-home-hr1 .rib360-public-discovery-search .rib360-public-search-field button {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open,
  body.rib360-home-hr1 .rib360-public-discovery-search.is-mobile-open .rib360-public-search-field {
    width: 100% !important;
  }
}


/* RIB360-HOMEPAGE-REDO-PUBLIC-TITLE-SIZING-AND-COPY-CLEANUP-CORRECTION-HR1-P1-R5 */
#rib360HomeHowTitle {
  font-size: clamp(25px, 2.8vw, 35px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
#rib360HomeFeaturedTitle {
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 760px;
}
.rib360-hr1-contact-card h2,
.rib360-hr1-subscribe-card h2 {
  font-size: clamp(26px, 2.9vw, 37px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
@media (max-width: 640px) {
  #rib360HomeHowTitle { font-size: 27px; }
  #rib360HomeFeaturedTitle { font-size: 29px; }
  .rib360-hr1-contact-card h2,
  .rib360-hr1-subscribe-card h2 { font-size: 28px; }
}


/* RIB360-HOMEPAGE-REDO-GLOBAL-MENU-MOBILE-SEARCH-AND-CATEGORY-SPACING-CORRECTION-HR1-P1-R6-R2 */
.rib360-hr1-mobile-category-nav {
  display: none;
}

@media (max-width: 720px) {
  /* Avoid duplicating and crowding the category strip inside the compact mobile menu. */
  body.rib360-home-hr1 .rib360-oei1-s3-action-directory-shell {
    display: none !important;
  }
  .rib360-hr1-mobile-category-nav {
    display: block;
    min-width: 0;
    margin: 24px 0 8px;
    padding-top: 2px;
  }
  .rib360-hr1-mobile-category-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rib360-hr1-mobile-category-track::-webkit-scrollbar {
    display: none;
  }
  .rib360-hr1-mobile-category-chip {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #e3d7bd;
    border-radius: 999px;
    color: #344054;
    background: rgba(255, 255, 255, .96);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }
  .rib360-hr1-mobile-category-chip.is-active,
  .rib360-hr1-mobile-category-chip[aria-current="page"] {
    color: #5f3900;
    border-color: #efb84c;
    background: #fff2d7;
    box-shadow: inset 0 0 0 1px rgba(239, 155, 0, .08);
  }
  /* Browse Offers remains available; only location discovery is removed on mobile. */
  .rib360-hr1-action-location {
    display: none !important;
  }
  .rib360-hr1-action-browse {
    display: inline-flex !important;
  }
  .rib360-hr1-hero-actions {
    display: flex !important;
  }
}

@media (max-width: 430px) {
  .rib360-hr1-mobile-category-nav {
    margin-top: 22px;
  }
  .rib360-hr1-mobile-category-chip {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10.5px;
  }
}
