/* RIB360-HOMEPAGE-HERO-BENEFITS-AND-CONTACT-ICON-REFINEMENT-HR1-HM1-R5 */

/* Keep the benefit statements with the media they describe. */
body.rib360-home-hr1 .rib360-hr1-hero-media-column {
  min-width: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-media,
body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-empty {
  width: 100%;
  min-width: 0;
}

body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes {
  width: 100%;
  margin: 0;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes span {
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

/* The Contact card no longer reserves space for a decorative background tile. */
body.rib360-home-hr1 .rib360-hr1-contact-card {
  padding: 38px !important;
}

body.rib360-home-hr1 .rib360-hr1-contact-actions {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

body.rib360-home-hr1 .rib360-hr1-contact-actions .rib360-hr1-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

body.rib360-home-hr1 .rib360-hr1-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
  font-size: 19px;
  line-height: 1;
}

/* Defensive removal for cached markup from the previous presentation. */
body.rib360-home-hr1 .rib360-hr1-contact-doodle {
  display: none !important;
}

@media (max-width: 1080px) {
  body.rib360-home-hr1 .rib360-hr1-hero-media-column {
    width: min(760px, 100%);
  }
}

@media (max-width: 720px) {
  body.rib360-home-hr1 .rib360-hr1-hero-media-column {
    width: 100%;
    gap: 14px;
  }

  body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes {
    gap: 6px;
    padding: 0;
  }

  body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes span {
    gap: 5px;
    font-size: 11px;
  }

  body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes span::before {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  body.rib360-home-hr1 .rib360-hr1-contact-card {
    padding: 25px !important;
  }

  body.rib360-home-hr1 .rib360-hr1-contact-icon {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  body.rib360-home-hr1 .rib360-hr1-hero-media-column .rib360-hr1-hero-notes span {
    font-size: 10px;
  }
}
