/*-- -------------------------- -->
<---        Content Page        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #policy {
        padding: var(--sectionPadding);
        background-color: #fff;
        /* clips the wave background from causing overflow issues when it goes off screen */
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    #policy .container {
        width: 100%;
        padding: 3.5rem;
    }
    #policy .title {
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2em;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #policy h2,
    #policy h3,
    #policy h4,
    #policy h5,
    #policy h6 {
        font-weight: 700;
        text-align: inherit;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
    }
    #policy h2 {
        font-size: 2rem;
        margin-top: 2rem;
    }
    #policy h3 {
        font-size: 1.5rem;
        color: var(--primary);
    }
    #policy h4,
    #policy h5,
    #policy h6 {
        font-size: 1.25rem;
    }
    #policy .button-solid {
        margin-bottom: 2rem;
    }
    #policy p {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        width: 100%;
        margin: 0 0 1rem 0;
        color: var(--bodyTextColor);
    }
    #policy p:last-of-type {
        margin-bottom: 2rem;
    }
    #policy p a {
        font-size: inherit;
        line-height: inherit;
        text-decoration: underline;
        color: var(--primary);
        filter: brightness(120%);
    }
    #policy .text {
        max-width: none;
    }
    #policy ol,
    #policy ul {
        padding-left: 1.5rem;
        margin: 0 0 2rem 0;
        color: var(--bodyTextColor);
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #policy ul li {
        list-style: none;
        color: inherit;
        position: relative;
    }
    #policy ul li:before {
        /* custom list bullet */
        content: "";
        width: 3px;
        height: 3px;
        background: currentColor;
        opacity: 1;
        border-radius: 50%;
        position: absolute;
        display: block;
        top: 0.625rem;
        left: -0.75rem;
    }
    #policy .h3 {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }
    #policy .ul {
        width: 100%;
        margin: 0 0 1.5rem 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    #policy .li {
        font-size: var(--bodyFontSize);
        list-style: none;
        line-height: 1.5em;
        width: 100%;
        color: var(--bodyTextColor);
        display: flex;
        justify-content: flex-start;
        /* push icon top the top so if the list item goes to two lines the icon stays at the top */
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Dark Mode */
@media only screen and (min-width: 0rem) {
    body.dark-mode #policy {
        background-color: var(--dark);
    }
    body.dark-mode #policy .title,
    body.dark-mode #policy .text,
    body.dark-mode #policy h2,
    body.dark-mode #policy h3,
    body.dark-mode #policy h4,
    body.dark-mode #policy h5,
    body.dark-mode #policy h6,
    body.dark-mode #policy li,
    body.dark-mode #policy p {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #policy .color,
    body.dark-mode #policy a {
        color: var(--primaryLight);
    }
    body.dark-mode #policy p,
    body.dark-mode #policy li {
        color: #ebebeb;
    }
    body.dark-mode #policy .item {
        background-color: rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.2);
    }
    body.dark-mode #policy .h3 {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #policy .icon {
        filter: grayscale(1) brightness(1000%);
    }
    body.dark-mode #policy .picture {
        border-color: var(--dark);
        background-color: var(--dark);
    }
    body.dark-mode #policy .bubbles:before {
        border-color: rgba(255, 255, 255, 0.2);
    }
}