/* Define the site-wide typography and element defaults. */
/* =========================================================
   BASE.CSS — Global Defaults
   ========================================================= */

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: var(--line-height-p4);
    overflow-x: hidden;
}

:is(h1:not([class*="ngt-h"]), .ngt-h1), :is(h2:not([class*="ngt-h"]), .ngt-h2), :is(h3:not([class*="ngt-h"]), .ngt-h3), :is(h4:not([class*="ngt-h"]), .ngt-h4), :is(h5:not([class*="ngt-h"]), .ngt-h5), :is(h6:not([class*="ngt-h"]), .ngt-h6),
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    letter-spacing: -0.01em;
}

:is(h1:not([class*="ngt-h"]), .ngt-h1), .h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
}

:is(h2:not([class*="ngt-h"]), .ngt-h2), .h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
}

:is(h3:not([class*="ngt-h"]), .ngt-h3), .h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
}

:is(h4:not([class*="ngt-h"]), .ngt-h4), .h4 {
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
}

:is(h5:not([class*="ngt-h"]), .ngt-h5), .h5 {
    font-size: var(--font-size-h5);
    line-height: var(--line-height-h5);
}

:is(h6:not([class*="ngt-h"]), .ngt-h6), .h6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-h6);
}

/* Light / White variations for dark backgrounds */
.text-white {
    color: var(--color-white) !important;
}

.text-gold, .text-primary {
    color: var(--color-primary) !important;
}

p {
    font-family: var(--font-primary);
    color: var(--color-black);
}
p:not(:last-child) {
    margin-bottom: var(--space-md);
}
