/* Move Bricks footer to bottom */
.brx-body {
    min-height: 100dvh;
}

/* Images */
img {
    object-fit: var(--object-fit, cover);
    object-position: var(--object-position, 50% 50%);
}

/* Text Selections */
::selection {
    background: var(--text-selection-bg);
    color: var(--text-selection-color);
}

a::selection {
    text-decoration: underline!important;
}

/* Gutenberg Headings */
.gutenberg-content h1 {
    font-size: var(--h2);
}

.gutenberg-content h2 {
    font-size: var(--h4);
}

.gutenberg-content h3 {
    font-size: var(--h5);
}

.gutenberg-content h4,
.gutenberg-content h5,
.gutenberg-content h6 {
    font-size: var(--h6);
}


/* List Style */
ul.wp-block-list, .brxe-text ul {
    list-style: square;
}


/* Heading Classes */
/* h1 {
  font-size: var(--h1);
  color: var(--h1-heading-color, var(--heading-color));
  line-height: var(--h1-line-height);
}

h2 {
  font-size: var(--h2);
  color: var(--h2-heading-color, var(--heading-color));
  line-height: var(--h2-line-height);
}

h3 {
  font-size: var(--h3);
  color: var(--h3-heading-color, var(--heading-color));
  line-height: var(--h3-line-height);
}

h4 {
  font-size: var(--h4);
  color: var(--h4-heading-color, var(--heading-color));
  line-height: var(--h4-line-height);
}

h5 {
  font-size: var(--h5);
  color: var(--h5-heading-color, var(--heading-color));
  line-height: var(--h5-line-height);
}

h6 {
  font-size: var(--h6);
  color: var(--h6-heading-color, var(--heading-color));
  line-height: var(--h6-line-height);
} */

/* Scroll Behavior */
/* html {
  scroll-behavior: smooth;
} */

/* Accessibility */
/* #wpadminbar .screen-reader-shortcut {
  color: var(--primary);
} */

/* Utility Classes */

.display-none {
    display: none !important;
}

/* Clickable Parent */

button.clickable-parent,
a.clickable-parent,
.clickable-parent a {
    position: static !important;
}

button.clickable-parent::after,
a.clickable-parent::after,
.clickable-parent a::after {
    content: '';
    position: absolute;
    inset: 0;
    cursor: pointer !important;
    display: flex;
    z-index: 1;
}

/* ==========================================
   Decorative Checkmark List Styling (2026)
   ========================================== */

/* Top-level UL inside .list-checkmark: flex layout, no bullets */
.list-checkmark > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em; /* Scales with font size */
}

/* Top-level LI gets a checkmark */
.list-checkmark > ul > li {
    position: relative;
    padding-left: 26px;
}

/* Decorative checkmark pseudo-element */
.list-checkmark > ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgY2xhc3M9IiI+PGc+PHBhdGggZD0iTTI1NiAwQzExNS4zOSAwIDAgMTE1LjM5IDAgMjU2czExNS4zOSAyNTYgMjU2IDI1NiAyNTYtMTE1LjM5IDI1Ni0yNTZTMzk2LjYxIDAgMjU2IDB6bS0zMC45ODEgMzcyLjQ0TDExMi45MTQgMjYwLjMzNmw0Mi40MjItNDIuNDIyIDcxLjY0NiA3MS42NDYgMTQzLjgzMy0xMzAuNzUyIDQwLjM3MSA0NC4zODVMMjI1LjAxOSAzNzIuNDR6IiBmaWxsPSIjMDAwMDAwIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iIj48L3BhdGg+PC9nPjwvc3ZnPg==');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    aria-hidden: true; /* Decorative only */
}

/* Nested UL (inside top-level LI): default styles, not flex */
.list-checkmark ul ul {
    list-style-type: circle;
    margin: 0.5em 0 0 20px;
    display: block; /* Override flex */
    gap: 0; /* Reset gap to avoid inheritance */
}

/* Nested LIs don't show checkmarks */
.list-checkmark ul ul li {
    position: static;
    padding-left: 0;
}

.list-checkmark ul ul li::before {
    content: none;
}



/* Bricks Spacing Defaults */


p + ul {
    margin-block-start: var(--space-xs);
}


/* 
:where(section:not(section section)) {
  padding-inline: var(--section-padding-x);
  padding-block: var(--section-padding-y);
}

.brxe-text>*+*,
.brxe-post-content:where(:not([data-source="bricks"]))>*+* {
  margin-block-start: var(--flow-spacing, initial);
  margin-block-end: 0;
}

.brxe-text>*+ :where(h1, h2, h3, h4, h5, h6),
.brxe-post-content:where(:not([data-source="bricks"]))>*+ :where(h1, h2, h3, h4, h5, h6) {
  margin-block-start: var(--heading-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}

.brxe-text> :where(* + h2),
.brxe-post-content:where(:not([data-source="bricks"]))> :where(* + h2) {
  margin-block-start: var(--h2-spacing, var(--heading-spacing));
  margin-block-end: 0;
}

.brxe-text> :where(* + h3),
.brxe-post-content:where(:not([data-source="bricks"]))> :where(* + h3) {
  margin-block-start: var(--h3-spacing, var(--heading-spacing));
  margin-block-end: 0;
}

.brxe-text> :where(* + h4),
.brxe-post-content:where(:not([data-source="bricks"]))> :where(* + h4) {
  margin-block-start: var(--h4-spacing, var(--heading-spacing));
  margin-block-end: 0;
}

.brxe-text> :where(* + h5),
.brxe-post-content:where(:not([data-source="bricks"]))> :where(* + h5) {
  margin-block-start: var(--h5-spacing, var(--heading-spacing));
  margin-block-end: 0;
}

.brxe-text> :where(* + h6),
.brxe-post-content:where(:not([data-source="bricks"]))> :where(* + h6) {
  margin-block-start: var(--h6-spacing, var(--heading-spacing));
  margin-block-end: 0;
}

.brxe-text>*+p,
.brxe-post-content:where(:not([data-source="bricks"]))>*+p {
  margin-block-start: var(--paragraph-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}

.brxe-text> :is(* + ul, * + ol),
.brxe-post-content:where(:not([data-source="bricks"]))> :is(* + ul, * + ol) {
  margin-block: var(--list-spacing, var(--flow-spacing, initial));
}

.brxe-text> :is(ul, ol),
.brxe-post-content:where(:not([data-source="bricks"]))> :is(ul, ol) {
  padding-inline-start: var(--list-indent-spacing, var(--flow-spacing, initial));
  margin-block-start: 0;
  margin-block-end: 0;
}

.brxe-text>ul *+li,
.brxe-text>ol *+li,
.brxe-post-content:where(:not([data-source="bricks"]))>ul *+li,
.brxe-post-content:where(:not([data-source="bricks"]))>ol *+li {
  margin-block-start: var(--list-item-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}

p + .wp-block-list {
    margin-top: var(--space-s);
}

.brxe-text>ul ul,
.brxe-text>ol ol,
.brxe-text>ul ol,
.brxe-text>ol ul,
.brxe-post-content:where(:not([data-source="bricks"]))>ul ul,
.brxe-post-content:where(:not([data-source="bricks"]))>ol ol,
.brxe-post-content:where(:not([data-source="bricks"]))>ul ol,
.brxe-post-content:where(:not([data-source="bricks"]))>ol ul {
  margin-block: var(--nested-list-spacing, var(--list-item-spacing, initial));
  padding-inline-start: var(--nested-list-indent-spacing, initial);
}

.brxe-text> :is(ul, ol) :is(ul, ol) li,
.brxe-post-content:where(:not([data-source="bricks"]))> :is(ul, ol) :is(ul, ol) li {
  margin-block-start: var(--nested-list-item-spacing, var(--list-item-spacing, initial));
}

.brxe-text>*+figure,
.brxe-post-content:where(:not([data-source="bricks"]))>*+figure {
  margin-block: var(--figure-spacing, var(--flow-spacing, initial));
}

.brxe-text figcaption,
.brxe-post-content:where(:not([data-source="bricks"])) figcaption {
  margin-block: var(--figcaption-spacing, var(--flow-spacing, initial));
}

.brxe-text>*+blockquote:where(:not(figure > blockquote)),
.brxe-post-content:where(:not([data-source="bricks"]))>*+blockquote:where(:not(figure > blockquote)) {
  margin-block: var(--blockquote-spacing, var(--flow-spacing, initial));
}

.brxe-text>blockquote *+*,
.brxe-post-content:where(:not([data-source="bricks"]))>blockquote *+* {
  margin-block-start: var(--paragraph-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}

body :where(p:last-of-type)+ :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  margin-block-start: 0;
} */