/* Settings choose layout; this file only rebinds legacy concrete CSS properties
   to Elementor's native variables. Load after existing Exam/core/editorial CSS.
   No column count, ratio or gap value is fixed here. Native hide rules and inline
   runtime display changes retain priority over the normal display declaration. */
:where(body.rd-brand-exam) :is(.rd-native-elementor,.pe-native).pe-layout-native.pe-layout-v1.e-con,
:where(body.rd-brand-exam) :is(.rd-native-elementor,.pe-native) .pe-layout-native.pe-layout-v1.e-con {
  display: var(--display,flex);
  grid-template-columns: var(--e-con-grid-template-columns,none) !important;
  grid-template-rows: var(--e-con-grid-template-rows,none) !important;
  grid-auto-flow: var(--grid-auto-flow,row);
  gap: var(--row-gap,0px) var(--column-gap,0px);
  flex-direction: var(--flex-direction,column);
  flex-wrap: var(--flex-wrap,nowrap);
  align-items: var(--align-items,stretch);
  justify-items: var(--justify-items,stretch);
  justify-content: var(--justify-content,normal);
}
:where(body.rd-brand-exam) :is(.rd-native-elementor,.pe-native).pe-layout-native.pe-layout-v1.e-grid,
:where(body.rd-brand-exam) :is(.rd-native-elementor,.pe-native) .pe-layout-native.pe-layout-v1.e-grid {
  justify-content: var(--grid-justify-content,normal);
  align-content: var(--grid-align-content,normal);
}
/* Core containers: common native controls set these variables. Brand spacing
   defaults live in settings; authored controls are never copied over on rerun. */
:where(body.rd-brand-exam) .pe-native.pe-layout-native.pe-layout-v1.e-con,
:where(body.rd-brand-exam) .pe-native .pe-layout-native.pe-layout-v1.e-con {
  width: var(--width,100%);
  max-width: 100%;
  padding: var(--padding-top,0px) var(--padding-right,0px) var(--padding-bottom,0px) var(--padding-left,0px);
  margin-top: var(--margin-top,0px);
  margin-right: var(--margin-right,0px);
  margin-bottom: var(--margin-bottom,0px);
  margin-left: var(--margin-left,0px);
  border-radius: var(--border-radius,0px);
  min-height: var(--min-height,initial);
}
/* Low specificity defaults, overridden by a native per-element margin control. */
:where(body.rd-brand-exam) .pe-page {--margin-left:auto;--margin-right:auto}
:where(body.rd-brand-exam) .pe-native .pe-section {--margin-top:24px;--margin-bottom:24px}
:where(body.rd-brand-exam) .pe-native .pe-hero {--margin-bottom:32px}
