/*
Theme Name: drnancywatson
Theme URI: https://drnancywatson.com
Author: Taylor Moreno
Version: 1.0.0
*/

:root {
    --color-black: #010414;
    --color-grey: #42465A;
    --color-light-grey: #A6A6A6;
    --color-dark-blue: #010928;
    --color-blue: #02124A;
    --color-dark-purple: #5268B7;
    --color-purple: #9BA8D5;
    --color-light-purple: #D4DAED;
    --color-off-white: #F4F6FA;
    --color-white: #FFFFFF;
    --color-error-dark: #8c1c1c;
    --color-error-light: #fb9c9c;
    --color-success-light: #d0fb9c;
    --color-success-dark: #537925;

    --wrapper-standard: 1264px;
    --padding-block--standard: 6.75rem;

    --ff-header: "Alverta Informal", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    --ff-accent: "Caveat", cursive;

    --h1: 3rem;
    --h2: 2rem;
    --h3: 1.3rem;
    --body: 1.1rem;
    --small: 1rem;
    --radius-sm: 8px;
    --radius-md: 16px;

    @media (max-width: 767px) {
        --h1: 2rem;
        --h2: 1.8rem;
        --h3: 1.1rem;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--ff-body);
    color: var(--color-grey);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-header);
    font-weight: 700;
    line-height: 120%;
    color: var(--color-dark-blue);
}

h1 {
    font-size:  var(--h1);
}

h2 {
    font-size: var(--h2);
}

button,
a {
    transition: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

.highlight-light {
    color: var(--color-purple);
}

.note {
    font-family: var(--ff-accent);
    color: var(--color-dark-purple);
    font-weight: 400;
}

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

.wrapper-wide {
    width: 100%;
    margin-inline: auto;
    padding-inline: 24px;
}

.wrapper-standard {
    width: 100%;
    max-width: var(--wrapper-standard);
    margin-inline: auto;
    padding-inline: 24px;
}

.section-purple {
    background: var(--color-light-purple);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    background: var(--color-blue);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.3rem;
    border-radius: 4px;
    line-height: 1;
    text-wrap: nowrap;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: var(--color-dark-purple);
    color: var(--color-white);
}

.button-alt {
    background: var(--color-purple);
    color: var(--color-dark-blue);
}

.button-alt:hover {
    background: var(--color-light-purple);
    color: var(--color-dark-blue);
}

.section {
    padding-block: var(--padding-block--standard);
}

.post-grid__3x4 .post-grid {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.post-grid__1x5 .post-grid {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(1, 1fr);
}

.post-grid__1x3 .post-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    color: var(--color-blue);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.pagination .current {
    font-weight: 700;
}

.pagination .ph {
    color: var(--color-blue)
}

.page-numbers {
    align-self: center;
}

.error {
    border-radius: 8px;
    background: var(--color-error-light);
    border: 1px solid var(--color-error-dark);
    margin-top: 1rem;
    padding: .5rem;
    color: var(--color-error-dark);
}

.success {
    border-radius: 8px;
    background: var(--color-success-light);
    border: 1px solid var(--color-success-dark);
    margin-top: 1rem;
    padding: .5rem;
    color: var(--color-success-dark);
}

@media (max-width: 800px) {
    .post-grid__1x3 .post-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .post-grid__3x4 .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .post-grid__3x4 .post-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.grecaptcha-badge {
    display: none;
}