/*
 * Theme compatibility rules.
 *
 * WordPress themes and page builders sometimes apply layout declarations to
 * generic article and div elements. Keep the investor guardrails in their
 * intended two-column layout without affecting elements outside this plugin.
 */
.aig-dentist-loop .investor-grid > .investor-guardrails {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop .investor-grid > .investor-guardrails > article {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 20px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop .investor-grid > .investor-guardrails > article > span {
  grid-column: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop .investor-grid > .investor-guardrails > article > div {
  display: block !important;
  grid-column: 2 !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop
  .investor-grid
  > .investor-guardrails
  > article
  > div
  > strong,
.aig-dentist-loop
  .investor-grid
  > .investor-guardrails
  > article
  > div
  > p {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

/*
 * Preserve the desktop callout rows when a theme assigns widths or display
 * modes to generic div, span, strong, and paragraph elements.
 */
.aig-dentist-loop .platform-section .support-layer {
  display: grid !important;
  grid-template-columns:
    160px minmax(280px, 0.9fr)
    minmax(320px, 1.1fr) !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop .platform-section .support-layer > span,
.aig-dentist-loop .platform-section .support-layer > strong,
.aig-dentist-loop .platform-section .support-layer > p,
.aig-dentist-loop .council-section > .council-note > strong,
.aig-dentist-loop .council-section > .council-note > p {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

.aig-dentist-loop .platform-section .support-layer > span {
  grid-column: 1 !important;
}

.aig-dentist-loop .platform-section .support-layer > strong {
  grid-column: 2 !important;
}

.aig-dentist-loop .platform-section .support-layer > p {
  grid-column: 3 !important;
}

.aig-dentist-loop .council-section > .council-note {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 40px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.aig-dentist-loop .council-section > .council-note > strong {
  grid-column: 1 !important;
}

.aig-dentist-loop .council-section > .council-note > p {
  grid-column: 2 !important;
}

@media (max-width: 680px) {
  .aig-dentist-loop .platform-section .support-layer,
  .aig-dentist-loop .council-section > .council-note {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .aig-dentist-loop .platform-section .support-layer > span,
  .aig-dentist-loop .platform-section .support-layer > strong,
  .aig-dentist-loop .platform-section .support-layer > p,
  .aig-dentist-loop .council-section > .council-note > strong,
  .aig-dentist-loop .council-section > .council-note > p {
    grid-column: 1 !important;
  }
}
