:root {
    --neva-font-family: HKGrotesk-Medium;
    --neva-title-font-family: HKGrotesk-Medium;
    --neva-line-height-body: 1.5;
    --neva-line-height-heading: 1.2;
    --neva-color: #666;
    --neva-title-color: #212490;
    --neva-font-size-base: 16px;
    --neva-font-weight: 400;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--neva-font-family);
    font-size: var(--neva-font-size-base);
    line-height: var(--neva-line-height-body);
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    font-weight: var(--neva-font-weight);
    color: var(--neva-color);
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-block: 1em 0.5em;
    line-height: var(--neva-line-height-heading);
    font-weight: 400;
    font-family: var(--neva-title-font-family);
    color: var(--neva-title-color);
}

h1.mt-half,
h2.mt-half,
h3.mt-half,
h4.mt-half,
h5.mt-half,
h6.mt-half,
.h1.mt-half,
.h2.mt-half,
.h3.mt-half,
.h4.mt-half,
.h5.mt-half,
.h6.mt-half {
    margin-top: 0.5em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.h1:first-child,
.h2:first-child,
.h3:first-child,
.h4:first-child,
.h5:first-child,
.h6:first-child {
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
.h1:last-child,
.h2:last-child,
.h3:last-child,
.h4:last-child,
.h5:last-child,
.h6:last-child {
    margin-bottom: 0;
}

h1,
.h1 {
    font-size: calc(var(--neva-font-size-base) * 2.5);
}

h2,
.h2 {
    font-size: calc(var(--neva-font-size-base) * 2);
}

h3,
.h3 {
    font-size: calc(var(--neva-font-size-base) * 1.75);
}

h4,
.h4 {
    font-size: calc(var(--neva-font-size-base) * 1.5);
}

h5,
.h5 {
    font-size: calc(var(--neva-font-size-base) * 1.25);
}

h6,
.h6 {
    font-size: var(--neva-font-size-base);
}

.h1-large {
    font-size: calc(var(--neva-font-size-base) * 3.25);
    font-family: HKGrotesk-Bold;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: var(--neva-title-color);
    text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    text-decoration: none;
}

p {
    margin-block: 0 1rem;
    line-height: var(--neva-line-height-body);
    font-family: var(--neva-font-family);
    font-size: var(--neva-font-size-base);
    line-height: var(--neva-line-height-body);
    color: var(--neva-color);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-family: HKGrotesk-Bold;
}

.p-huge {
    font-family: HKGrotesk-Bold;
    font-size: calc(var(--neva-font-size-base) * 5);
}

.p-large {
    font-size: calc(var(--neva-font-size-base) * 1.25);
}

.p-small {
    font-size: calc(var(--neva-font-size-base) * 0.9);
}

.wp-caption-text {
    font-size: calc(var(--neva-font-size-base) * 0.9);
    font-style: italic;
}

.subheading {
    margin-bottom: -1.5rem;
    color: var(--neva-color);
}

.subheading.below {
    margin-top: -2rem;
    margin-bottom: 0;
}

.subheading a {
    color: var(--neva-color);
    text-decoration: none;
}

.subheading a:hover {
    text-decoration: none;
}



ul,
ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
    font-family: var(--neva-font-family);
    font-size: var(--neva-font-size-base);
    line-height: var(--neva-line-height-body);
    color: var(--neva-color);
}

li > ul,
li > ol {
    margin-bottom: 0;
}



small {
    font-size: 0.875em;
}



a,
.inner-link {
    color: #212490;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.15em;
}

a:hover,
a:hover .inner-link {
    color: #eb6841;
    text-decoration: underline;
}

a.orange {
    color: #eb6841;
    text-decoration: none;
}

a.orange:hover {
    text-decoration: underline;
}

a.phone {
    text-decoration: none;
}

a.button,
input[type=submit].button {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 24px;
    font-family: var(--neva-font-family);
    font-size: var(--neva-font-size-base);
    line-height: var(--neva-line-height-body);
    text-decoration: none;
    color: #fff;
    background: #eb6841;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

a.button:hover,
input[type=submit].button:hover {
    color: #fff;
    background: #eb6841;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

a.button:first-child,
input[type=submit].button:first-child {
    margin-top: 0;
}

a.button.button-large,
input[type=submit].button.button-large {
    font-size: calc(var(--neva-font-size-base) * 1.25);
}



blockquote {
    margin: 0 0 1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 0.25rem solid #eb6841;
    font-style: italic;
}

pre,
code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
}

pre {
    margin: 0 0 1rem;
    padding: 1rem;
    overflow-x: auto;
    background: #f8f9fa;
    border-radius: 4px;
}

hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

hr.separator {
    margin: 0;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}



.highlighted {
    color: var(--neva-title-color) !important;
}



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

img.ratio-1x1 {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

img.ratio-3x2 {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

img.border {
    padding: 24px;
    border: 2px solid #f7f7f7;
}

.alignleft {
    float: left;
    margin: 0 24px 24px 0;
}

.alignright {
    float: right;
    margin: 0 0 24px 24px;
}

.alignleft:first-child + h1,
.alignleft:first-child + h2,
.alignleft:first-child + h3,
.alignleft:first-child + h4,
.alignleft:first-child + h5,
.alignleft:first-child + h6,
.alignright:first-child + h1,
.alignright:first-child + h2,
.alignright:first-child + h3,
.alignright:first-child + h4,
.alignright:first-child + h5,
.alignright:first-child + h6 {
    margin-top: 0;
}



table {
    font-size: calc(var(--neva-font-size-base) * 0.9);
    border-collapse: collapse;
}

table th {
    padding: 12px 12px;
    text-align: left;
    color: var(--neva-title-color);
    border-top: 1px solid #dee2e6;
}

table td {
    padding: 12px 12px;
    border-top: 1px solid #dee2e6;
}

table tr:first-child th,
table tr:first-child td {
    border-top: 0;
}



@media (min-width: 992px) {

    .hide-desktop {
        display: none !important;
    }

}



@media (min-width: 768px) and (max-width: 991px) {

    .hide-tablet {
        display: none !important;
    }

}



@media (max-width: 767px) {

    .hide-mobile {
        display: none !important;
    }

    .alignleft,
    .alignright {
        display: block;
        float: none;
        margin: 24px 0;
    }
}
