/* ==========================================================================
   Integration section (shared)
   Styles the existing markup:

     <section id="integrations" class="brxe-section rm-sec rm-int">
       ... .rm-ibg > .rm-icore > .rm-tag, h2.rm-hd.rm-h2, p, .rm-btns ...

   Look matches the home page "Connect Resourceinn" section: the text sits
   directly on the logo tiles (no white card).
   Self-contained: every rule is scoped to .rm-int, so it works on pages that
   do not load location-hub.css, and does not affect other .rm-sec sections.
   Fonts (Bagoss Condensed + Inter) are loaded sitewide. Site rem = 10px.
   ========================================================================== */

/* ---------- section shell ---------- */
.brxe-section.rm-int {
  --rm-gap: 10rem;
  --rm-h: 3rem;
  --rm-h-lh: 3.6rem;
  --rm-font-title: 'BagossCondensed-TRIAL-Medium', 'Bagoss Condensed', 'Arial Narrow', sans-serif;

  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: var(--rm-gap) 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  background-image: radial-gradient(closest-side at center, #ebd8ff 60%, #fff);
  background-position: center center;
  background-repeat: no-repeat;
}
.rm-int *,
.rm-int *::before,
.rm-int *::after { box-sizing: border-box; }
.rm-int > .brxe-text-basic { width: 100%; }

/* ---------- logo-tile background ---------- */
.rm-int .rm-ibg {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  aspect-ratio: 2560 / 1290;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/wp-content/uploads/2026/09/integration-background-scaled.webp) center / 100% 100% no-repeat;
}

/* ---------- text block: no card, sits directly on the tiles ---------- */
.rm-int .rm-icore {
  width: 46%;
  max-width: 660px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
.rm-int .rm-icore .rm-tag { display: none; }

.rm-int .rm-icore h2.rm-hd {
  margin: 0;
  font-family: var(--rm-font-title) !important;
  font-weight: 500;
  font-size: var(--rm-h) !important;
  line-height: var(--rm-h-lh) !important;
  letter-spacing: 0 !important;
  text-align: center;
}
.rm-int .rm-dp { color: #311b49; }
.rm-int .rm-pu { color: #a644ff; }

.rm-int .rm-icore p {
  margin: 10px auto 0;
  max-width: 440px;
  font-family: Inter, sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 500;
  line-height: 2rem !important;
  color: #494949;
}

/* ---------- buttons (same system as the rest of the site) ---------- */
.rm-int .rm-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 2rem;
  margin-top: 20px;
}
.rm-int a.rm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 0 !important;
  padding: 6px 18px !important;
  border: 2px solid transparent;
  border-radius: 8px !important;
  font-family: var(--rm-font-title) !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  line-height: 2.2rem !important;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.5s ease;
}
.rm-int a.rm-bo { background: #ff7300; border-color: #ff7300; color: #fff; }
.rm-int a.rm-bo:hover { background: #e66000; border-color: #e66000; color: #fff; }
.rm-int a.rm-bp { background: transparent; border-color: #ff7300; color: #ff7300; }
.rm-int a.rm-bp:hover { background: #fff; border-color: #e66000; color: #e66000; }

/* ---------- responsive ---------- */
@media (max-width: 1599px) {
  .brxe-section.rm-int { --rm-gap: 8rem; }
}
@media (max-width: 1300px) {
  .rm-int .rm-ibg {
    aspect-ratio: auto;
    background-size: auto 100%;
    padding: 96px 5%;
  }
  .rm-int .rm-icore {
    width: auto;
    max-width: 600px;
    padding: 0;
    background: none;
    box-shadow: none;
  }
}
@media (max-width: 1023px) {
  .brxe-section.rm-int { --rm-gap: 5rem; }
}
@media (max-width: 767px) {
  .brxe-section.rm-int { --rm-h: 2.4rem; --rm-h-lh: 3rem; }
  .rm-int .rm-ibg { padding: 64px 16px; }
}
