/**
 * MF Insights parity (Flows 24272, Update 24245 when migrated).
 */

/* Row rhythm — single source of truth (overrides post CSS per-section margins e.g. c647a4c 23px) */
.elementor-24245 .insight-mf-row.insight-mf-row--first,
.elementor-24245 .insight-mf-row:not(.insight-mf-row--first),
.elementor-24272 .insight-mf-row.insight-mf-row--first,
.elementor-24272 .insight-mf-row:not(.insight-mf-row--first),
.elementor-24272 .insight-mf-row.elementor-element-a8b7b15,
.elementor-24272 .insight-mf-row.elementor-element-c647a4c {
  margin-top: 40px !important;
  margin-bottom: 0 !important;
  padding: 0 20px !important;
}

@media (max-width: 1024px) {
  .elementor-24245 .insight-mf-row.insight-mf-row--first,
  .elementor-24245 .insight-mf-row:not(.insight-mf-row--first),
  .elementor-24272 .insight-mf-row.insight-mf-row--first,
  .elementor-24272 .insight-mf-row:not(.insight-mf-row--first),
  .elementor-24272 .insight-mf-row.elementor-element-a8b7b15,
  .elementor-24272 .insight-mf-row.elementor-element-c647a4c {
    margin-top: 30px !important;
  }
}

/* Inner column inset (production uses 10px inside white card) */
.elementor-24245 .insight-mf-inner-col > .elementor-widget-wrap.elementor-element-populated,
.elementor-24272 .insight-mf-inner-col > .elementor-widget-wrap.elementor-element-populated {
  padding: 10px;
}

.elementor-24245 .insight-mf-card .insight-mf-image.elementor-widget,
.elementor-24272 .insight-mf-card .insight-mf-image.elementor-widget {
  margin-bottom: 20px;
}

.elementor-24245 .insight-mf-card .insight-mf-title.elementor-widget,
.elementor-24272 .insight-mf-card .insight-mf-title.elementor-widget {
  margin-bottom: 20px;
}

.elementor-24245 .insight-mf-card .insight-mf-btn,
.elementor-24272 .insight-mf-card .insight-mf-btn {
  margin-top: 0;
}

.elementor-24272 .insight-mf-row > .elementor-container,
.elementor-24245 .insight-mf-row > .elementor-container,
.elementor-24257 .insight-wmo-archive-row .elementor-container {
  display: flex;
  align-items: stretch;
}

/* --- MF Flows Tracker main (24272): equal-height cards, uniform internal rhythm --- */
.elementor-24272 .insight-mf-card.elementor-column {
  display: flex;
  flex-direction: column;
}

.elementor-24272 .insight-mf-row > .elementor-container > .insight-mf-card > .elementor-element-populated {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

/* Normalize post-24272 column margins (row 1 right col had extra top margin) */
.elementor-24272 .insight-mf-row > .elementor-container > .insight-mf-card:first-child > .elementor-element-populated {
  margin: 0 10px 20px 0 !important;
  --e-column-margin-right: 10px;
  --e-column-margin-left: 0px;
}

.elementor-24272 .insight-mf-row > .elementor-container > .insight-mf-card:last-child > .elementor-element-populated {
  margin: 0 0 20px 10px !important;
  --e-column-margin-right: 0px;
  --e-column-margin-left: 10px;
}

.elementor-24272 .insight-mf-card > .elementor-element-populated > .insight-mf-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.elementor-24272 .insight-mf-inner > .elementor-container,
.elementor-24272 .insight-mf-inner-col,
.elementor-24272 .insight-mf-inner-col > .elementor-widget-wrap.elementor-element-populated {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-image.elementor-widget {
  flex-shrink: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-title.elementor-widget {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-desc {
  flex: 1 1 auto;
  margin-bottom: 0;
  min-height: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-desc > .elementor-widget-container {
  margin-bottom: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-desc p {
  margin: 0 0 0.75em;
}

.elementor-24272 .insight-mf-card .insight-mf-desc p:last-child {
  margin-bottom: 0;
}

/* CTA at card bottom — innerColumn and columnWrap (row 1 right) */
.elementor-24272 .insight-mf-card > .elementor-element-populated > .insight-mf-btn,
.elementor-24272 .insight-mf-inner-col .insight-mf-btn {
  margin-top: auto !important;
  padding-top: 20px;
  flex-shrink: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-btn .elementor-widget-container {
  margin: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-btn .elementor-button:hover,
.elementor-24272 .insight-mf-card .insight-mf-btn .elementor-button:focus {
  background-color: var(--e-global-color-secondary, #eaf0fd);
  color: var(--e-global-color-primary, #244c9b);
  border-color: var(--e-global-color-primary, #244c9b);
}

@media (max-width: 767px) {
  .elementor-24272 .insight-mf-row > .elementor-container {
    flex-wrap: wrap;
  }

  .elementor-24272 .insight-mf-row > .elementor-container > .insight-mf-card > .elementor-element-populated {
    margin: 0 0 20px 0 !important;
    --e-column-margin-right: 0px;
    --e-column-margin-left: 0px;
  }
}

/* Card images — fixed height so square/legacy assets match wide banner cards (weekly parity). */
.elementor-24272 .insight-mf-card .insight-mf-image .elementor-widget-container,
.elementor-24245 .insight-mf-card .insight-mf-image .elementor-widget-container {
  overflow: hidden;
  border-radius: 15px;
  line-height: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-image img,
.elementor-24245 .insight-mf-card .insight-mf-image img {
  width: 100%;
  height: 380px;
  max-height: 380px;
  border-radius: 15px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.19);
  display: block;
}

@media (max-width: 767px) {
  .elementor-24272 .insight-mf-card .insight-mf-image img,
  .elementor-24245 .insight-mf-card .insight-mf-image img {
    height: 260px;
    max-height: 260px;
  }
}

.elementor-24272 .insight-mf-card .insight-mf-btn .elementor-button,
.elementor-24245 .insight-mf-card .insight-mf-btn .elementor-button {
  background-color: var(--e-global-color-primary, #244c9b);
  color: #ffffff;
  border: 1px solid var(--e-global-color-primary, #244c9b);
  border-radius: 30px;
  padding: 13px 20px 14px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.elementor-24272 .insight-mf-card .insight-mf-title .elementor-heading-title,
.elementor-24245 .insight-mf-card .insight-mf-title .elementor-heading-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--e-global-color-7204c86, #343a46);
  margin: 0;
}

.elementor-24272 .insight-mf-card .insight-mf-title a,
.elementor-24245 .insight-mf-card .insight-mf-title a {
  color: inherit;
  text-decoration: none;
}

.elementor-24272 .insight-mf-card .insight-mf-desc,
.elementor-24245 .insight-mf-card .insight-mf-desc {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 31px;
  color: var(--e-global-color-text, #7a7a7a);
}

.elementor-24245 .elementor-element-75786ca > .elementor-widget-wrap.elementor-element-populated {
  background-image: url('/wp-content/uploads/2025/05/strip-gradient-img.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 30px 40px;
}

/* Archive row base layout: insights-weekly-parity.css (24257). Flows archive overrides below. */

/* --- MF Flows Tracker archive (24257.insight-mf-flows-archive) --- */
.elementor-24257.insight-mf-flows-archive .elementor-element-ebf4061 > .elementor-widget-wrap.elementor-element-populated {
  padding: 8px 16px 48px 0;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row + .insight-wmo-archive-row {
  margin-top: 32px !important;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row > .elementor-container {
  display: flex;
  align-items: center;
  gap: 28px;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media {
  width: 28% !important;
  flex: 0 0 28%;
  max-width: 300px;
  min-width: 180px;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-body {
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-body > .elementor-widget-wrap.elementor-element-populated {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0 4px 4px;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-date.elementor-widget {
  margin-bottom: 8px;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-date .elementor-heading-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--e-global-color-text, #7a7a7a);
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-title.elementor-widget {
  margin-bottom: 12px;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-title .elementor-heading-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--e-global-color-7204c86, #343a46);
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-desc.elementor-widget {
  margin-bottom: 0;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-desc,
.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-desc .elementor-widget-container {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--e-global-color-text, #7a7a7a);
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-desc p {
  margin: 0 0 0.5em;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-desc p:last-child {
  margin-bottom: 0;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn {
  margin-top: 20px !important;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media .elementor-widget-container {
  overflow: hidden;
  border-radius: 15px;
  line-height: 0;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  min-height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: 15px;
  display: block;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background-color: var(--e-global-color-primary, #244c9b);
  color: #ffffff !important;
  border: 1px solid var(--e-global-color-primary, #244c9b);
  border-radius: 30px;
  padding: 13px 20px 14px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button-text {
  color: #ffffff !important;
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button:hover,
.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button:focus {
  background-color: var(--e-global-color-secondary, #eaf0fd);
  color: var(--e-global-color-primary, #244c9b) !important;
  border-color: var(--e-global-color-primary, #244c9b);
}

.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button:hover .elementor-button-text,
.elementor-24257.insight-mf-flows-archive .insight-wmo-archive-btn .elementor-button:focus .elementor-button-text {
  color: var(--e-global-color-primary, #244c9b) !important;
}

@media (max-width: 1024px) {
  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media {
    width: 32% !important;
    flex-basis: 32%;
  }
}

@media (max-width: 767px) {
  .elementor-24257.insight-mf-flows-archive .elementor-element-ebf4061 > .elementor-widget-wrap.elementor-element-populated {
    padding: 0 0 40px 0;
  }

  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row > .elementor-container {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 0;
  }

  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-body {
    flex: 0 0 100%;
    width: 100% !important;
  }

  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-body > .elementor-widget-wrap.elementor-element-populated {
    padding: 0;
  }

  .elementor-24257.insight-mf-flows-archive .insight-wmo-archive-row .insight-wmo-archive-media img {
    height: 220px;
    max-height: 220px;
    min-height: 220px;
  }
}

/* --- MF two-tab pill bar — inactive tab gets outer rounded edge (post CSS often sets 0 radius) --- */
.elementor-24245 .elementor-element.elementor-element-af37493 > .elementor-element-populated,
.elementor-24245 .elementor-element.elementor-element-af37493 > .elementor-element-populated > .elementor-background-overlay,
.elementor-24245 .elementor-element.elementor-element-af37493 > .elementor-widget-wrap,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-8002b31 > .elementor-element-populated,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-8002b31 > .elementor-element-populated > .elementor-background-overlay,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-8002b31 > .elementor-widget-wrap,
.elementor-24272 .elementor-element.elementor-element-af37493 > .elementor-element-populated,
.elementor-24272 .elementor-element.elementor-element-af37493 > .elementor-element-populated > .elementor-background-overlay,
.elementor-24272 .elementor-element.elementor-element-af37493 > .elementor-widget-wrap {
  border-radius: 100px 0 0 100px !important;
  overflow: hidden;
}

.elementor-24245 .elementor-element.elementor-element-dbc870c > .elementor-element-populated,
.elementor-24245 .elementor-element.elementor-element-dbc870c > .elementor-element-populated > .elementor-background-overlay,
.elementor-24245 .elementor-element.elementor-element-dbc870c > .elementor-widget-wrap,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-0f90cbb > .elementor-element-populated,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-0f90cbb > .elementor-element-populated > .elementor-background-overlay,
.elementor-24257:not(.insight-mf-flows-archive) .elementor-element.elementor-element-0f90cbb > .elementor-widget-wrap,
.elementor-24272 .elementor-element.elementor-element-bf0b8b0 > .elementor-element-populated,
.elementor-24272 .elementor-element.elementor-element-bf0b8b0 > .elementor-element-populated > .elementor-background-overlay,
.elementor-24272 .elementor-element.elementor-element-bf0b8b0 > .elementor-widget-wrap {
  border-radius: 0 100px 100px 0 !important;
  overflow: hidden;
}

/* MF Flows Tracker archive — highlight Flows tab (post-24257 CSS defaults to Update / 8002b31). */
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-8002b31:not(.elementor-motion-effects-element-type-background)
  > .elementor-widget-wrap,
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-8002b31
  > .elementor-widget-wrap
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-color: transparent;
}

.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-0f90cbb:not(.elementor-motion-effects-element-type-background)
  > .elementor-widget-wrap,
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-0f90cbb
  > .elementor-widget-wrap
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-color: var(--e-global-color-accent);
  border-radius: 0 100px 100px 0;
  overflow: hidden;
}

/* Active Flows tab — match left-tab pill radius on the outer right edge (post-24257 sets 0). */
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-0f90cbb
  > .elementor-element-populated,
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-0f90cbb
  > .elementor-element-populated
  > .elementor-background-overlay {
  border-radius: 0 100px 100px 0;
}

/* Inactive Update tab — round only the outer left edge so the pair reads as one pill bar. */
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-8002b31
  > .elementor-element-populated,
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-8002b31
  > .elementor-element-populated
  > .elementor-background-overlay,
.elementor-24257.insight-mf-flows-archive
  .elementor-element.elementor-element-8002b31
  > .elementor-widget-wrap {
  border-radius: 100px 0 0 100px;
}
