.graham-cookie-consent,
.graham-cookie-consent * {
    box-sizing: border-box;
}

.graham-cookie-consent[hidden] {
    display: none !important;
}

.graham-cookie-consent {
    position: fixed;
    z-index: 100000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    margin: 0 auto;
    max-width: 1120px;
    border: 1px solid #9db5c8;
    border-left: 5px solid #16b84e;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(9, 43, 69, 0.2);
    color: #16364f;
    font-family: inherit;
    letter-spacing: 0;
}

.graham-cookie-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
}

.graham-cookie-consent__copy strong {
    display: block;
    margin: 0 0 4px;
    color: #0b3858;
    font-size: 18px;
    line-height: 1.25;
}

.graham-cookie-consent__copy p {
    margin: 0 0 4px;
    color: #405d72;
    font-size: 14px;
    line-height: 1.45;
}

.graham-cookie-consent__copy a {
    color: #075b9d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.graham-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.graham-cookie-button,
.graham-cookie-settings-link {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    letter-spacing: 0;
    cursor: pointer;
}

.graham-cookie-button {
    min-height: 42px;
    border: 1px solid #075b9d;
    border-radius: 6px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.graham-cookie-button--primary {
    background: #0d8f43;
    border-color: #0d8f43;
    color: #ffffff;
}

.graham-cookie-button--secondary {
    background: #ffffff;
    color: #075b9d;
}

.graham-cookie-button:hover,
.graham-cookie-button:focus-visible,
.graham-cookie-settings-link:focus-visible {
    outline: 3px solid rgba(7, 91, 157, 0.25);
    outline-offset: 2px;
}

.graham-cookie-consent__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.graham-cookie-settings-link {
    display: inline;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.graham-footer-bottom .graham-cookie-settings-link {
    color: #ffffff;
    opacity: 0.95;
    text-decoration: none;
}

.graham-footer-bottom .graham-cookie-settings-link:hover,
.graham-footer-bottom .graham-cookie-settings-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.graham-privacy-policy {
    padding: 34px 0 64px;
    background: #ffffff;
}

.graham-privacy-policy__inner {
    max-width: 980px;
}

.graham-privacy-policy__updated {
    margin: 0 0 10px;
    color: #527086;
    font-size: 14px;
    font-weight: 700;
}

.graham-privacy-policy__lead {
    max-width: 820px;
    margin: 0;
    color: #183c57;
    font-size: 20px;
    line-height: 1.55;
}

.graham-privacy-policy section {
    margin-top: 28px;
    border-top: 1px solid #cfdae3;
    padding-top: 24px;
}

.graham-privacy-policy h2,
.graham-privacy-policy h3 {
    color: #0b3858;
    letter-spacing: 0;
}

.graham-privacy-policy h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.graham-privacy-policy h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.graham-privacy-policy p,
.graham-privacy-policy li {
    color: #38586f;
    font-size: 16px;
    line-height: 1.65;
}

.graham-privacy-policy ul {
    margin: 0;
    padding-left: 22px;
}

.graham-cookie-category + .graham-cookie-category {
    margin-top: 18px;
}

.graham-privacy-policy .graham-cookie-settings-link {
    min-height: 42px;
    border: 1px solid #075b9d;
    border-radius: 6px;
    background: #075b9d;
    color: #ffffff;
    padding: 9px 14px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 720px) {
    .graham-cookie-consent {
        right: 6px;
        bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        left: 6px;
        max-height: calc(100vh - 12px);
        overflow-y: auto;
    }

    .graham-cookie-consent__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .graham-cookie-consent__copy strong {
        font-size: 17px;
    }

    .graham-cookie-consent__copy p {
        font-size: 13px;
    }

    .graham-cookie-consent__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 6px;
    }

    .graham-cookie-button {
        width: 100%;
        min-height: 40px;
        padding: 8px 7px;
        white-space: normal;
    }

    .graham-privacy-policy {
        padding: 24px 0 46px;
    }

    .graham-privacy-policy__lead {
        font-size: 18px;
    }

    .graham-privacy-policy h2 {
        font-size: 21px;
    }
}
