/*
 * home page, section by section, matched to the approved board
 * ("B · Airy · Font option 1: Space Grotesk + Inter" on the design canvas).
 *
 * Everything is visual only. Where the board orders things differently from the page (the tagline above the H1,
 * the stats button beside the heading), CSS `order` moves them on screen while the HTML order, and therefore what
 * search engines and screen readers read, stays as it is. Interactive blocks keep their behaviour: the solutions
 * section stays the WPBakery tab set (styled in 62-tabs-accordion.css) rather than the board's static cards.
 *
 * LAYOUT ONLY: surfaces (cards, tinted panels, bands, tags, link rows) come from 05-patterns.css, where these
 * elements are listed under the pattern they use.
 */

/* ---- 0. Rows turned into flex containers: WPBakery's clearfix pseudo-elements would become flex items and take
   a `gap` slot (visible as a 12-48px offset before the first column) ------------------------------------------- */
body.wt-site :is(
  .english--row .vc_row.vc_inner,
  .vc_row:has(> .ncr--section),
  .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion),
  .blog-sect,
  .center__align__stats,
  .home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
)::before,
body.wt-site :is(
  .english--row .vc_row.vc_inner,
  .vc_row:has(> .ncr--section),
  .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion),
  .blog-sect,
  .center__align__stats,
  .home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
)::after {
  display: none !important;
}

/* ---- 1. Hero: gradient panel, tagline chip, side-by-side buttons ---------------------------------------------- */
body.wt-site .english--row {
  background: linear-gradient(135deg, #e6f0ff 0%, var(--wt-tint-blue) 55%, var(--wt-tint-orange) 100%);
  border: 1px solid #dbe6f7;
  border-radius: var(--wt-r-xl);
  box-shadow: 0 24px 48px -24px rgb(0 107 232 / 0.18) !important; /* the board's soft glow: the one shadow it uses on a section */
  padding: 72px 64px;
  margin: 8px 0 0 !important;
  gap: 40px 0;
}
body.wt-site .english--row > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}
body.wt-site .english--row .wpb_text_column > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.wt-site .english--row h1 {
  margin: 0 0 22px !important;
  font-size: clamp(38px, 4.2vw, 56px) !important;
  line-height: 1.08 !important;
  color: var(--wt-ink) !important;
}
body.wt-site .english--row h1 span[style*="color"] {
  color: inherit !important;
}
/* tagline ("We are humanizing the digital experience"): white chip with an orange dot, shown above the H1 */
body.wt-site .english--row .wpb_text_column p:first-of-type:has(> strong) {
  order: -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px !important;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--wt-line);
  border-radius: var(--wt-r-pill);
  font-size: 13.5px !important;
  line-height: 1.3 !important;
  color: #1d3a66;
}
body.wt-site .english--row .wpb_text_column p:first-of-type:has(> strong)::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wt-orange);
  flex: none;
}
body.wt-site .english--row .wpb_text_column p:first-of-type > strong {
  font-weight: 500 !important;
  color: inherit;
}
body.wt-site .english--row .wpb_text_column p:not(:first-of-type) {
  margin: 0 0 34px !important;
  max-width: 540px;
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: var(--wt-text);
}
/* the two buttons: one row, 12px apart */
body.wt-site .english--row .vc_row.vc_inner {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 !important;
}
body.wt-site .english--row .vc_row.vc_inner > .wpb_column {
  width: auto !important;
  flex: 0 0 auto;
}
body.wt-site .english--row .vc_row.vc_inner > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}
body.wt-site .english--row .vc_row.vc_inner :is(.ubtn-ctn-left, .ubtn-link) {
  margin: 0 !important;
}
body.wt-site .english--row .ubtn {
  padding: 16px 28px !important;
  font-size: 15.5px !important;
}
body.wt-site .english--row .vc_single_image-img {
  max-width: 460px !important;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  body.wt-site .english--row {
    padding: 36px 20px;
    border-radius: var(--wt-r-lg);
  }
}

/* ---- 2. Our Digital Transformation Solutions: white section, re-inked text ------------------------------------ */
/* (the tab set itself is styled in 62-tabs-accordion.css; it stays interactive) */
body.wt-site.home .upb_row_bg[style*="rgb(0, 107, 232)"] {
  background: #fff !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]) :is(h1, h2, h3, h4, h5, h6, p, li, span)[style*="color: #fff"] {
  color: var(--wt-ink) !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]) :is(p, li) span[style*="color: #fff"] {
  color: var(--wt-text) !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]) h2 span[style*="color: #fff"] {
  color: var(--wt-ink-2) !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]) h2 + p {
  max-width: 720px;
  font-size: 17px;
}

/* ---- 3. Report promo + Meta: two tinted cards side by side ---------------------------------------------------- */
body.wt-site.home :is(
  .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
) {
  float: left;
  width: calc(50% - 12px);
  height: 300px;
  margin: 40px 0 !important;
  padding: 40px !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: stretch !important;
  gap: 20px;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]) {
  margin-right: 24px !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) {
  flex-direction: row;
  align-items: center !important;
}
body.wt-site.home :is(
  .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
) > .wpb_column {
  width: auto !important;
  flex: 0 1 auto;
}
body.wt-site.home :is(
  .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
) > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}
body.wt-site.home :is(
  .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
  .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
) :is(h2, h3, h4) {
  font-size: 26px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
  margin: 0 !important;
  color: var(--wt-ink) !important;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) > .wpb_column:has(.img--badge) {
  flex: 0 0 140px;
  margin-right: 24px;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) > .wpb_column:not(:has(.img--badge)) {
  flex: 1 1 0;
}
body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) .img--badge {
  margin: 0 !important;
}
/* the row after the pair clears the floats */
body.wt-site.home .vc_row:has(.center__align__stats) {
  clear: both;
}
@media (max-width: 959px) {
  body.wt-site.home :is(
    .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
    .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section))
  ) {
    float: none;
    width: 100%;
    height: auto;
    margin: 16px 0 !important;
    padding: 28px !important;
  }
}

/* ---- 4. Our Customers Witnessed: heading + button on one line, ruled strip below ------------------------------ */
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 32px;
  padding-top: 40px;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > .wpb_text_column {
  flex: 1 1 520px;
  min-width: 0;
  margin-bottom: 40px !important;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > .wpb_text_column h2 {
  margin-bottom: 14px !important;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > .wpb_text_column h2 span[style*="color"] {
  color: var(--wt-ink-2) !important;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > .wpb_text_column p {
  max-width: 620px;
  font-size: 17px;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > [class*="ubtn-ctn"] {
  order: 2;
  margin: 0 0 40px !important;
  text-align: left !important;
}
body.wt-site.home .wpb_wrapper:has(> .center__align__stats) > .center__align__stats {
  order: 3;
  flex: 0 0 100%;
}
body.wt-site .center__align__stats {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 0 24px !important;
  overflow: hidden;
}
body.wt-site .center__align__stats > .wpb_column > .vc_column-inner {
  padding: 32px 28px !important;
}
body.wt-site .center__align__stats > .wpb_column + .wpb_column {
  border-left: 1px solid var(--wt-line);
}
body.wt-site .center__align__stats p {
  text-align: left !important;
  font-size: 15px;
  line-height: 1.5 !important;
  margin: 0 !important;
}
body.wt-site .center__align__stats img {
  height: 36px !important;
  width: auto !important;
  margin-bottom: 14px;
  opacity: 0.85;
}
body.wt-site .center__align__stats span[style*="font-size: 65px"] {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--wt-font-display);
  font-size: 48px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: var(--wt-blue) !important;
}
/* the board keeps the last figure orange */
body.wt-site .center__align__stats > .wpb_column:last-child span[style*="font-size: 65px"] {
  color: var(--wt-orange) !important;
}
@media (max-width: 767px) {
  /* 2x2 grid of bordered stat tiles instead of four stacked rows */
  body.wt-site .center__align__stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible;
  }
  body.wt-site .center__align__stats::before,
  body.wt-site .center__align__stats::after {
    display: none !important;
  }
  body.wt-site .center__align__stats > .wpb_column {
    width: auto !important;
    margin: 0 !important;
    border: 1px solid var(--wt-line) !important;
    border-radius: var(--wt-r-md);
    background: var(--wt-bg);
  }
  body.wt-site .center__align__stats > .wpb_column > .vc_column-inner {
    padding: 16px 14px !important;
  }
  /* the page's own custom CSS makes this p a flex column on mobile, putting every text run and <strong> on its own
     line ("Reduction in / customer / waiting times"); back to normal inline flow */
  body.wt-site .center__align__stats p {
    display: block !important;
    font-size: 13.5px;
    line-height: 1.35 !important;
    text-wrap: pretty;
  }
  body.wt-site .center__align__stats p br {
    display: none;
  }
  body.wt-site .center__align__stats img {
    display: block;
    height: 24px !important;
    margin-bottom: 8px;
  }
  body.wt-site .center__align__stats span[style*="font-size: 65px"] {
    display: block;
    font-size: 32px !important;
    margin-bottom: 6px;
  }
}

/* ---- 5. Industries: bordered tiles, small icon square, 19px label ---------------------------------------------- */
body.wt-site .industries--row--width .aio-icon-component {
  padding: 24px 16px !important;
}
body.wt-site .industries--row--width .aio-icon-img {
  font-size: 44px !important;
}
body.wt-site .industries--row--width .aio-icon-img img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
body.wt-site .industries--row--width .aio-icon-title {
  font-size: 19px !important;
  font-weight: 600 !important;
  margin-top: 12px;
}

/* ---- 6. NCR: one bordered card on white (no band) -------------------------------------------------------------- */
body.wt-site .vc_row:has(> .ncr--section) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 32px 48px;
  padding: 40px 48px !important;
  margin: 88px 0 40px !important;
}
body.wt-site .vc_row:has(> .ncr--section) > .wpb_column {
  width: auto !important;
}
body.wt-site .vc_row:has(> .ncr--section) > .wpb_column:not(.ncr--section) {
  flex: 0 0 280px;
  max-width: 100%;
}
body.wt-site .vc_row:has(> .ncr--section) > .ncr--section {
  flex: 1 1 320px;
}
body.wt-site .vc_row:has(> .ncr--section) > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}
body.wt-site .vc_row:has(> .ncr--section) .ncr--section > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 48px;
}
body.wt-site .ncr--section h4 {
  font-size: 26px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
body.wt-site .ncr--section .wpb_text_column {
  flex: 1 1 320px;
  margin: 0 !important;
}
body.wt-site .ncr--section [class*="ubtn-ctn"] {
  margin: 0 !important;
}
body.wt-site .ncr--section .ubtn {
  text-transform: lowercase !important;
}
body.wt-site .ncr--section .ubtn .ubtn-text::first-letter {
  text-transform: uppercase;
}
body.wt-site .ncr--section .ubtn .ubtn-text {
  display: inline-block;
}
/* the empty tinted spacer row between the industries band and the NCR card */
body.wt-site.home .industries--row--width ~ .vc_row:not(:has(.wpb_wrapper > *)) > .upb_row_bg {
  background: #fff !important;
}

/* ---- 7. Brands Digitally Transformed: left-aligned intro, logos in a bordered panel ---------------------------- */
body.wt-site .vc_row:has(img[src*="client-logos"]) :is(h2, p) {
  text-align: left !important;
}
body.wt-site .vc_row:has(img[src*="client-logos"]) h2 + p:has(> br:only-child),
body.wt-site .vc_row:has(img[src*="client-logos"]) p:empty {
  margin: 0 !important;
  line-height: 0 !important;
}
body.wt-site .vc_row:has(img[src*="client-logos"]) .wpb_single_image .vc_single_image-wrapper {
  display: block;
  padding: 28px;
}
/* Banorte webinar: tinted card, "Now available on demand!" as a small label above the title */
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .wpb_column:not(:has(.ult-video)) > .vc_column-inner {
  padding: 28px !important;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .wpb_column:not(:has(.ult-video)) > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .wpb_column:not(:has(.ult-video)) [class*="ubtn-ctn"] {
  order: -1;
  margin: 0 0 10px !important;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) h4 {
  font-size: 19px !important;
  margin: 0 0 10px !important;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) h4 span[style*="color"] {
  color: var(--wt-ink) !important;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) .wpb_text_column p {
  font-size: 15px;
  line-height: 1.65;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) .ultv-video__outer-wrap {
  border-radius: 20px;
  overflow: hidden;
}
body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .upb_row_bg {
  background-image: none !important;
}

/* ---- 8. FAQ: grey band, heading left, questions right ---------------------------------------------------------- */
body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 48px;
  margin: 56px 0 0 !important;
  padding: 88px 0 !important;
}
body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) > .wpb_column:not(:has(.vc_tta-accordion)) {
  width: auto !important;
  flex: 1 1 320px;
  min-width: 0;
}
body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) > .wpb_column > .vc_column-inner {
  padding: 0 !important;
}
body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) h2 {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}
body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) > .wpb_column:has(.vc_tta-accordion) {
  width: auto !important;
  flex: 2 1 560px;
  min-width: 0;
}

/* ---- 9. Blog: heading + Explore More on one line, latest posts as bordered link rows --------------------------- */
body.wt-site .blog-sect {
  display: flex !important;
  flex-wrap: wrap;
  padding-top: 88px;
}
body.wt-site .blog-sect > .wpb_column {
  width: 100% !important;
}
body.wt-site .blog-sect > .wpb_column:nth-child(1 of .wpb_column) > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 40px;
}
body.wt-site .blog-sect > .wpb_column:nth-child(1 of .wpb_column) .wpb_text_column {
  flex: 1 1 520px;
  margin: 0 !important;
}
body.wt-site .blog-sect > .wpb_column:nth-child(1 of .wpb_column) .wpb_text_column p {
  max-width: 620px;
  font-size: 17px;
}
body.wt-site .blog-sect > .wpb_column:nth-child(1 of .wpb_column) [class*="ubtn-ctn"] {
  margin: 0 !important;
}
/* Explore More is the board's blue primary */
body.wt-site .blog-sect .ubtn {
  background: var(--wt-blue) !important;
  border-color: var(--wt-blue) !important;
  color: #fff !important;
}
body.wt-site .blog-sect .ubtn:hover {
  background: var(--wt-blue-700) !important;
  border-color: var(--wt-blue-700) !important;
}
body.wt-site .blog-sect > .wpb_column:nth-last-child(1 of .wpb_column) .wpb_text_column > .wpb_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 12px;
}
body.wt-site .blog-sect > .wpb_column:nth-last-child(1 of .wpb_column) .wpb_text_column p {
  margin: 0 !important;
}
/* the posts fade in on scroll (WPBakery animation); show them at rest */
body.wt-site .blog-sect .wpb_animate_when_almost_visible {
  opacity: 1 !important;
  animation: none !important;
}
@media (max-width: 767px) {
  body.wt-site .blog-sect > .wpb_column:nth-last-child(1 of .wpb_column) .wpb_text_column > .wpb_wrapper {
    grid-template-columns: 1fr;
  }
}
/* legacy Additional CSS turns the hovered title orange (div#blog-sect-a a:hover); match the blue border + arrow */
body.wt-site div#blog-sect-a p:hover a {
  color: var(--wt-blue) !important;
}

/* ---- Mobile (<=767px): home-specific spacing the site-wide caps in 60-sections.css can't reach --------------- */
@media (max-width: 767px) {
  /* hero: about one screen */
  body.wt-site .english--row {
    padding: 24px var(--wt-gutter-mobile) !important;
    gap: 20px 0;
  }
  body.wt-site .english--row h1 {
    font-size: 34px !important;
    margin-bottom: 14px !important;
  }
  body.wt-site .english--row .vc_single_image-img {
    max-height: 32vh;
    width: auto;
    object-fit: contain;
  }
  /* report promo / Meta / NCR cards: full width, content height */
  body.wt-site.home :is(
    .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]),
    .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)),
    .vc_row:has(> .ncr--section)
  ) {
    float: none;
    width: 100% !important;
    height: auto !important;
    margin: var(--wt-section-gap-mobile) 0 0 !important;
    padding: var(--wt-card-pad-mobile) !important;
    gap: 16px;
  }
  body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(0, 107, 232)"]):has(.ubtn[data-bg="#ff8630" i]) {
    margin-right: 0 !important;
  }
  body.wt-site .vc_row:has(> .ncr--section) > .wpb_column {
    flex: 1 1 100% !important;
  }
  body.wt-site .vc_row:has(> .ncr--section) .vc_single_image-wrapper {
    margin-bottom: 0 !important;
  }
  /* industries: compact 2-col tiles, icon left of label */
  body.wt-site .industries--row--width {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  body.wt-site .industries--row--width::before,
  body.wt-site .industries--row--width::after {
    display: none !important;
  }
  body.wt-site .industries--row--width .aio-icon-box > * {
    flex: 0 1 auto;
    width: auto !important;
    margin: 0 !important;
  }
  body.wt-site .industries--row--width .align-icon {
    text-align: left !important;
  }
  body.wt-site .industries--row--width > .wpb_column {
    width: auto !important;
    margin: 0 !important;
  }
  body.wt-site .industries--row--width > .wpb_column > .vc_column-inner {
    padding: 0 !important;
  }
  body.wt-site .industries--row--width > .wpb_column :is(.wpb_wrapper, .aio-icon-component, .aio-icon-box-link) {
    height: 100%;
  }
  body.wt-site .industries--row--width .aio-icon-component {
    padding: 12px !important;
    margin: 0 !important;
  }
  body.wt-site .industries--row--width .aio-icon-component .aio-icon-box {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-align: left !important;
  }
  body.wt-site .industries--row--width .aio-icon-img,
  body.wt-site .industries--row--width .aio-icon-img img {
    width: 32px !important;
    height: 32px !important;
    font-size: 32px !important;
    margin: 0 !important;
    flex: 0 0 32px;
  }
  body.wt-site .industries--row--width .aio-icon-title {
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.25 !important;
  }
  /* Banorte webinar card: tighter padding */
  body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .wpb_column:not(:has(.ult-video)) > .vc_column-inner {
    padding: var(--wt-card-pad-mobile) !important;
  }
  body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) > .wpb_column:has(.ult-video) > .vc_column-inner {
    padding: 0 !important;
  }
  body.wt-site .templatera_shortcode > .vc_row:has(.ult-video) .ult-video {
    margin: 0 !important;
  }
  /* FAQ + blog: no stacked 56+88+88px gaps */
  body.wt-site.home .vc_row.vc_inner:has(> .wpb_column .vc_tta-accordion) {
    margin: var(--wt-section-gap-mobile) 0 0 !important;
    padding: var(--wt-section-gap-mobile) 0 !important;
  }
  body.wt-site .blog-sect {
    padding-top: var(--wt-section-gap-mobile) !important;
  }
  body.wt-site .blog-sect > .wpb_column:nth-child(1 of .wpb_column) > .vc_column-inner > .wpb_wrapper {
    margin-bottom: 20px;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  /* Meta card: badge above the headline instead of squeezing the headline into a narrow column */
  body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) > .wpb_column:has(.img--badge) {
    flex: 0 0 auto;
    margin-right: 0;
    width: 160px !important;
  }
  body.wt-site.home .vc_row:has(> .upb_row_bg[style*="rgb(242, 252, 254)"]):has(.img--badge):not(:has(.ncr--section)) :is(h2, h3, h4) {
    font-size: 22px !important;
  }
}
