/* RIB360-HOMEPAGE-PUBLIC-CTA-BUTTON-STANDARD-CORRECTION-HR1-BTN1 */

:root {
  --rib360-home-cta-amber: #fca626;
  --rib360-home-cta-amber-border: #d7881e;
  --rib360-home-cta-amber-hover: #f7a01d;
  --rib360-home-cta-amber-border-hover: #c97814;
  --rib360-home-cta-ink: #111111;
}

/* Approved large homepage CTA standard. */
body.rib360-home-hr1 .rib360-hr1-hero-actions .rib360-hr1-btn,
body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 272px !important;
  min-height: 78px !important;
  padding: 18px 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  border: 2px solid var(--rib360-home-cta-amber-border) !important;
  border-radius: 16px !important;
  background: var(--rib360-home-cta-amber) !important;
  color: var(--rib360-home-cta-ink) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.10) !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body.rib360-home-hr1 .rib360-hr1-hero-actions .rib360-hr1-btn:hover,
body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn:hover {
  background: var(--rib360-home-cta-amber-hover) !important;
  border-color: var(--rib360-home-cta-amber-border-hover) !important;
  color: var(--rib360-home-cta-ink) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.13) !important;
}

body.rib360-home-hr1 .rib360-hr1-hero-actions .rib360-hr1-btn:focus-visible,
body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn:focus-visible,
body.rib360-home-hr1 .rib360-hr1-subscribe-fields button:focus-visible,
body.rib360-home-hr1 .rib360-hr1-hero-offer-link:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.78) !important;
  outline-offset: 4px !important;
}

body.rib360-home-hr1 .rib360-hr1-contact-icon {
  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Form action uses the same palette with form-appropriate dimensions. */
body.rib360-home-hr1 .rib360-hr1-subscribe-fields button {
  box-sizing: border-box !important;
  min-width: 164px !important;
  min-height: 56px !important;
  padding: 14px 26px !important;
  border: 2px solid var(--rib360-home-cta-amber-border) !important;
  border-radius: 14px !important;
  background: var(--rib360-home-cta-amber) !important;
  color: var(--rib360-home-cta-ink) !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.09) !important;
  cursor: pointer !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body.rib360-home-hr1 .rib360-hr1-subscribe-fields button:hover {
  background: var(--rib360-home-cta-amber-hover) !important;
  border-color: var(--rib360-home-cta-amber-border-hover) !important;
  color: var(--rib360-home-cta-ink) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 17px rgba(17, 17, 17, 0.12) !important;
  filter: none !important;
}

/* Compact image-overlay action retains a safe footprint while matching the palette. */
body.rib360-home-hr1 .rib360-hr1-hero-offer-link {
  border-color: var(--rib360-home-cta-amber-border) !important;
  background: var(--rib360-home-cta-amber) !important;
  color: var(--rib360-home-cta-ink) !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  box-shadow: 0 5px 12px rgba(17, 17, 17, 0.12) !important;
}

body.rib360-home-hr1 .rib360-hr1-hero-offer-link:hover {
  background: var(--rib360-home-cta-amber-hover) !important;
  border-color: var(--rib360-home-cta-amber-border-hover) !important;
}

@media (max-width: 720px) {
  body.rib360-home-hr1 .rib360-hr1-hero-actions .rib360-hr1-btn,
  body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 14px 24px !important;
    border-radius: 14px !important;
    font-size: 17px !important;
  }

  body.rib360-home-hr1 .rib360-hr1-subscribe-fields button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 13px 22px !important;
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.rib360-home-hr1 .rib360-hr1-hero-actions .rib360-hr1-btn,
  body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn,
  body.rib360-home-hr1 .rib360-hr1-subscribe-fields button {
    transition: none !important;
    transform: none !important;
  }
}
