/* Minimal reset scoped to portal content */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--bp-font-sans);
    font-size: var(--bp-text-base);
    line-height: var(--bp-line-base);
    color: var(--bp-charcoal);
    background-color: var(--bp-gray-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--bp-space-3);
    font-weight: var(--bp-weight-semi);
    line-height: var(--bp-line-tight);
    color: var(--bp-charcoal);
}

h1 { font-size: var(--bp-text-2xl); }
h2 { font-size: var(--bp-text-xl); }
h3 { font-size: var(--bp-text-lg); }
h4 { font-size: var(--bp-text-md); }
h5 { font-size: var(--bp-text-base); }
h6 { font-size: var(--bp-text-sm); }

p {
    margin: 0 0 var(--bp-space-4);
}

a {
    color: var(--bp-red);
    text-decoration: none;
}

a:hover {
    color: var(--bp-red-dark);
    text-decoration: underline;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* Remove WordPress default admin bar compensation when in portal context */
html.bp-portal-page {
    margin-top: 0 !important;
}
