/* /products/integrations/ (S1 review, 12 Oct 2026) - sections tagged by tools/s1-integrations-polish.php */

/* hero: 72px band edges, Book A Demo + the restored "Learn More About BluIQ" side by side */
body .elementor .e-con.sx-s1i-hero { --padding-top: 72px !important; --padding-bottom: 72px !important; }
.sx-s1i-hero .e-con:has(> .sx-s1i-btn2), .sx-s1i-hero .e-con-inner:has(> .sx-s1i-btn2) { flex-flow: row wrap !important; align-items: center !important; align-content: center !important; column-gap: 12px !important; }
.sx-s1i-hero .e-con:has(> .sx-s1i-btn2) > .elementor-element:not(.elementor-widget-button),
.sx-s1i-hero .e-con-inner:has(> .sx-s1i-btn2) > .elementor-element:not(.elementor-widget-button) { width: 100% !important; }
.sx-s1i-hero .sx-s1i-btn1, .sx-s1i-hero .sx-s1i-btn2 { width: auto !important; max-width: 100%; margin-top: 8px !important; }
.sx-s1i-btn2 .elementor-button { background: transparent !important; color: #FFFFFF !important; box-shadow: inset 0 0 0 2px #FFFFFF; }
.sx-s1i-btn2 .elementor-button:hover { background: #FFFFFF !important; color: #000040 !important; }

/* the BluIQ statement: one white card on a powder-gray band, gradient top edge, heading font (Kishore 12 Oct: "beautify this section");
   the old teal line drawings beside it are off-brand, so the side columns are hidden */
body .elementor .elementor-section.sx-s1i-intro { padding: 72px 0 !important; margin: 0 !important; background: #EAF0FE !important; overflow-x: clip; }
.sx-s1i-intro > .elementor-container > .elementor-column:has(.elementor-widget-image) { display: none !important; }
.sx-s1i-intro > .elementor-container > .elementor-column:has(.elementor-widget-text-editor) { width: 100% !important; max-width: 1000px; margin: 0 auto; }
.sx-s1i-intro .elementor-inner-section, .sx-s1i-intro .elementor-inner-section > .elementor-container { margin: 0 !important; padding: 0 !important; }
.sx-s1i-intro .elementor-widget-text-editor { margin: 0 !important; }
body .elementor .sx-s1i-intro .elementor-inner-section .elementor-column > .elementor-widget-wrap { position: relative; overflow: hidden; background: #FFFFFF !important; border: 1px solid #EAF0FE !important; border-radius: 20px !important; box-shadow: 0 18px 44px rgba(0, 0, 64, 0.08) !important; padding: 48px 56px !important; }
.sx-s1i-intro .elementor-inner-section .elementor-widget-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sx-gradient); }
.sx-s1i-intro .elementor-widget-text-editor, .sx-s1i-intro .elementor-widget-text-editor p { color: #000040 !important; text-align: center !important; }
.sx-s1i-intro .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* G2 reviews: brand gradient band, badge clear of the top edge, cards equal and shadowed */
body .elementor .elementor-section.sx-s1i-testi { background: var(--sx-gradient) !important; padding: 72px 0 !important; margin: 0 !important; }
.sx-s1i-testi > .elementor-container > .elementor-column > .elementor-widget-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
.sx-s1i-testi .elementor-inner-section:has(.elementor-widget-star-rating) .elementor-column > .elementor-widget-wrap { border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 64, 0.25); height: 100%; }
.sx-s1i-testi .elementor-inner-section:last-child { margin-bottom: 0 !important; }

/* "More in this area" */
body .elementor .e-con.sx-s1i-more { --padding-top: 72px !important; --padding-bottom: 72px !important; }

@media (max-width: 767px) {
  body .elementor .e-con.sx-s1i-hero { --padding-top: 48px !important; --padding-bottom: 48px !important; }
  body .elementor .elementor-section.sx-s1i-intro { padding: 48px 0 !important; }
  body .elementor .elementor-section.sx-s1i-testi { padding: 48px 0 !important; }
  body .elementor .e-con.sx-s1i-more { --padding-top: 48px !important; --padding-bottom: 48px !important; }
  .sx-s1i-intro > .elementor-container, .sx-s1i-testi > .elementor-container { padding: 0 16px !important; }
  body .elementor .sx-s1i-intro .elementor-inner-section .elementor-column > .elementor-widget-wrap { padding: 32px 24px !important; }
  .sx-s1i-intro .elementor-widget-text-editor, .sx-s1i-intro .elementor-widget-text-editor p { }
  .sx-s1i-testi .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-divider) { display: none !important; }
  body .elementor .sx-s1i-testi .elementor-section.elementor-inner-section { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .sx-s1i-testi .elementor-inner-section > .elementor-container { padding: 0 !important; margin: 0 !important; }
  .sx-s1i-testi .elementor-inner-section:has(.elementor-widget-star-rating) .elementor-column { margin: 0 0 16px !important; }
  .sx-s1i-testi .elementor-inner-section:has(.elementor-widget-star-rating) .elementor-column > .elementor-widget-wrap { height: auto; }
  .sx-s1i-testi .elementor-inner-section:last-child .elementor-column:last-child { margin-bottom: 0 !important; }
  .sx-s1i-testi .elementor-inner-section:not(:has(.elementor-widget-star-rating)) { margin-bottom: 8px !important; }
}

/* 13 Oct (Kishore): on phones and tablets the hero text comes first and the integrations picture under it */
@media (max-width: 1024px) {
	.elementor-element-89a687c > .e-con-inner { flex-direction: column !important; } /* it was column-reverse */
	.elementor-element-1e3f430 { order: 1 !important; }
	.elementor-element-83a817d { order: 2 !important; }
}

/* worker C4 15 Oct: integrations ported from blulogix.com/integrations/ (tools/c4-integrations-grid.php) - white band after the hero, card grid */
body .elementor .e-con.sx-c4-int { --padding-top: 72px !important; --padding-bottom: 72px !important; --padding-left: 24px; --padding-right: 24px; background: #FFFFFF !important; }
body .elementor .e-con.sx-c4-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0 !important; }
body .elementor .e-con.sx-c4-card { position: relative; overflow: hidden; --padding-top: 0px; --padding-bottom: 20px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; justify-content: flex-start;
	background: #FFFFFF; border: 1px solid #EAF0FE; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 64, 0.08); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.sx-c4-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sx-gradient); opacity: 0; transition: opacity .25s ease; z-index: 2; }
.sx-c4-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 64, 0.16); }
.sx-c4-card:hover::before { opacity: 1; }
.sx-c4-card .elementor-widget-image { margin: 0 !important; width: 100%; }
.sx-c4-card .elementor-widget-image img { display: block; width: 100% !important; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 0 !important; }
.sx-c4-card .elementor-widget-heading { margin: 16px 16px 8px !important; width: auto; }
.sx-c4-card .elementor-heading-title, .sx-c4-card .elementor-heading-title a { color: #000040 !important; }
.sx-c4-card .elementor-heading-title a:hover { color: #D90A81 !important; }
.sx-c4-card .sx-c4-ex { margin: 0 16px !important; width: auto; color: #364462; }
.sx-c4-card .sx-c4-ex p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) { body .elementor .e-con.sx-c4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	body .elementor .e-con.sx-c4-int { --padding-top: 48px !important; --padding-bottom: 48px !important; --padding-left: 16px; --padding-right: 16px; }
	body .elementor .e-con.sx-c4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.sx-c4-card .elementor-widget-heading { margin: 12px 12px 6px !important; }
	.sx-c4-card .sx-c4-ex { margin: 0 12px !important; }
	body .elementor .e-con.sx-c4-card { --padding-bottom: 14px; }
}
/* worker C4 15 Oct: long one-word names (MAGICWRIGHTER) wrap inside phone cards */
.sx-c4-card .elementor-heading-title, .sx-c4-card .sx-c4-ex p { overflow-wrap: anywhere; }

/* VISIBLE-SPACING:BEGIN (generated by inkgen.js - every band edge = 72 / 48 measured to what the eye sees) */
@media (min-width: 1025px) {
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-top: -16px !important; } /*d=d 89a687c top -16*/
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-bottom: -16px !important; } /*d=d 89a687c bottom -16*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-top: 32px !important; } /*d=d 4bd17f1 top 32*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-bottom: 32px !important; } /*d=d 4bd17f1 bottom 32*/
}
@media (min-width: 900px) and (max-width: 1024px) {
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-top: -23px !important; } /*d=t1 89a687c top -23*/
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-bottom: -16px !important; } /*d=t1 89a687c bottom -16*/
  html body .elementor .elementor-element.elementor-element-7b663841 > :is(.e-con-inner, .elementor-container) { margin-bottom: -20px !important; } /*d=t1 7b663841 bottom -20*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-top: 32px !important; } /*d=t1 4bd17f1 top 32*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-bottom: 32px !important; } /*d=t1 4bd17f1 bottom 32*/
}
@media (min-width: 768px) and (max-width: 899px) {
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-top: -23px !important; } /*d=t2 89a687c top -23*/
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-bottom: -16px !important; } /*d=t2 89a687c bottom -16*/
  html body .elementor .elementor-element.elementor-element-7b663841 > :is(.e-con-inner, .elementor-container) { margin-bottom: -20px !important; } /*d=t2 7b663841 bottom -20*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-top: 32px !important; } /*d=t2 4bd17f1 top 32*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-bottom: 32px !important; } /*d=t2 4bd17f1 bottom 32*/
}
@media (max-width: 767px) {
  html body .elementor .elementor-element.elementor-element-89a687c > :is(.e-con-inner, .elementor-container) { margin-top: -16px !important; } /*d=m 89a687c top -16*/
  html body .elementor .elementor-element.elementor-element-7b663841 > :is(.e-con-inner, .elementor-container) { margin-top: -37.2px !important; } /*d=m 7b663841 top -37.2*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-top: 23.2px !important; } /*d=m 4bd17f1 top 23.2*/
  html body .elementor .elementor-element.elementor-element-4bd17f1 > :is(.e-con-inner, .elementor-container) { margin-bottom: 27.2px !important; } /*d=m 4bd17f1 bottom 27.2*/
}
/* VISIBLE-SPACING:END */

/* VISIBLE-SPACING-MANUAL:BEGIN (hand-checked sections: padding = measured + correction, 19 Oct) */
@media (min-width: 1025px) {
  html body .elementor .elementor-element.elementor-element-7b663841.elementor-element { padding-top: 52px !important; } /*mp=d 7b663841 top -20 base 72*/
}
@media (min-width: 900px) and (max-width: 1024px) {
  html body .elementor .elementor-element.elementor-element-7b663841.elementor-element { padding-top: 57px !important; } /*mp=t1 7b663841 top -15 base 72*/
  html body .elementor .elementor-element.elementor-element-7b663841.elementor-element { padding-bottom: 72px !important; } /*mp=t1 7b663841 bottom 0 base 72 (20 Oct: grid, no dots any more)*/
}
@media (min-width: 768px) and (max-width: 899px) {
  html body .elementor .elementor-element.elementor-element-7b663841.elementor-element { padding-top: 61px !important; } /*mp=t2 7b663841 top -11 base 72*/
  html body .elementor .elementor-element.elementor-element-7b663841.elementor-element { padding-bottom: 72px !important; } /*mp=t2 7b663841 bottom 0 base 72 (20 Oct: grid, no dots any more)*/
}
/* VISIBLE-SPACING-MANUAL:END */

/* HEADING-GAP:BEGIN (generated by hgapfix.js - heading letters -> next content = 32 visible, 24 on phones) */
@media (min-width: 1025px) {
}
@media (min-width: 900px) and (max-width: 1024px) {
}
@media (min-width: 768px) and (max-width: 899px) {
}
@media (max-width: 767px) {
}
/* HEADING-GAP:END */

/* 23 Oct (QA #7): Book a Demo band - the band itself now has 72/48 (sx-cta-band), so the old inner margins from the spacing pass are cleared (they doubled it to 104px / pulled Home to 56) */
html body .elementor .elementor-element.elementor-element-4bd17f1:not(#sx-s) > :is(.e-con-inner, .elementor-container) { margin-top: 0 !important; margin-bottom: 0 !important; }

/* 2 Nov (Ashley: "change how many boxes are in a row so the rows are more even"): 26 cards - 4 per row on desktop (6 rows + 2),
   3 on tablets (8 rows + 2), 2 on phones (13 even rows); a short last row sits in the middle instead of hanging on the left */
body .elementor .e-con.sx-c4-grid { display: flex !important; flex-flow: row wrap !important; justify-content: center !important; align-items: stretch !important; }
body .elementor .e-con.sx-c4-grid > .e-con.sx-c4-card { flex: 0 0 calc((100% - 72px) / 4) !important; width: calc((100% - 72px) / 4) !important; max-width: calc((100% - 72px) / 4) !important; height: auto; }
@media (max-width: 1024px) { body .elementor .e-con.sx-c4-grid > .e-con.sx-c4-card { flex-basis: calc((100% - 48px) / 3) !important; width: calc((100% - 48px) / 3) !important; max-width: calc((100% - 48px) / 3) !important; } }
@media (max-width: 767px) { body .elementor .e-con.sx-c4-grid > .e-con.sx-c4-card { flex-basis: calc((100% - 16px) / 2) !important; width: calc((100% - 16px) / 2) !important; max-width: calc((100% - 16px) / 2) !important; } }

/* 21 Nov 2026 (Ashley): Aria + Planview cards have no subpage yet - not links, so no hover lift / gradient line */
.sx-c4-card.sx-c4-nolink:hover { transform: none; box-shadow: 0 8px 24px rgba(0, 0, 64, 0.08); }
.sx-c4-card.sx-c4-nolink:hover::before { opacity: 0; }
/* 23 Nov: Aria + Planview (no subpage to read on) show their whole blurb from Ashley, not clamped to 4 lines */
.sx-c4-card.sx-c4-nolink .sx-c4-ex p { -webkit-line-clamp: unset; display: block; }
