/* Tom's School Of Life Cookie Consent */

.tsol-cookie-consent-embed {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: #101820;
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tsol-cookie-consent-embed iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.tsol-cookie-consent-embed__placeholder {
    max-width: 34rem;
    padding: 24px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.tsol-cookie-consent-embed__placeholder p {
    color: inherit;
    margin: 0 0 12px;
}

.tsol-cookie-consent-embed__placeholder button {
    background: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #101820;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 8px 16px;
}

.tsol-cookie-consent-embed__placeholder button:hover,
.tsol-cookie-consent-embed__placeholder button:focus {
    background: transparent;
    color: #fff;
}

.tsol-cookie-consent-embed.is-active .tsol-cookie-consent-embed__placeholder {
    display: none;
}

.tsol-cookie-consent[hidden],
.tsol-cookie-consent__banner[hidden],
.tsol-cookie-consent__modal[hidden],
.tsol-cookie-consent__reopen[hidden],
.tsol-cookie-consent__notice[hidden] {
    display: none !important;
}

.tsol-cookie-consent {
    --tsol-blue-dark: #010017;
    --tsol-blue: #040056;
    --tsol-cyan: #169cc7;
    --tsol-red: #ea323e;
    --tsol-red-dark: #c91f2b;
    --tsol-white: #f3faff;
    --tsol-ink: #111827;
    --tsol-muted: #53606a;
    --tsol-line: #d9e2e8;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    position: fixed;
    z-index: 999998;
}

.tsol-cookie-consent *,
.tsol-cookie-consent *::before,
.tsol-cookie-consent *::after {
    box-sizing: border-box;
}

.tsol-cookie-consent--bottom {
    bottom: 18px;
    left: 18px;
    right: 18px;
}

.tsol-cookie-consent--top {
    left: 18px;
    right: 18px;
    top: 18px;
}

.tsol-cookie-consent--bottom_left {
    bottom: 18px;
    left: 18px;
    width: min(620px, calc(100vw - 36px));
}

.tsol-cookie-consent--bottom_right {
    bottom: 18px;
    right: 18px;
    width: min(620px, calc(100vw - 36px));
}

.tsol-cookie-consent__banner {
    align-items: stretch;
    background: linear-gradient(135deg, rgba(1, 0, 23, 0.98), rgba(4, 0, 86, 0.96));
    border: 2px solid rgba(243, 250, 255, 0.34);
    border-radius: 3px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.36);
    color: var(--tsol-white);
    display: grid;
    gap: 18px;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: 1080px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.tsol-cookie-consent__banner::after,
.tsol-cookie-consent__dialog-header::after {
    background: var(--tsol-cyan);
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

.tsol-cookie-consent__mark,
.tsol-cookie-preview__mark {
    align-items: center;
    background: rgba(22, 156, 199, 0.16);
    border: 1px solid rgba(243, 250, 255, 0.26);
    border-radius: 50%;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.tsol-cookie-consent__icon {
    color: var(--tsol-white);
    display: block;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 31px;
}

.tsol-cookie-consent__copy {
    min-width: 0;
}

.tsol-cookie-consent__eyebrow {
    color: var(--tsol-cyan);
    font-family: "DIN Next LT Pro Medium Cond", "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 7px;
    text-transform: uppercase;
}

.tsol-cookie-consent h2 {
    color: var(--tsol-white);
    font-family: "DIN Next LT Pro Medium Cond", "Oswald", sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.tsol-cookie-consent__copy p:last-of-type,
.tsol-cookie-consent__dialog-header p:last-child {
    color: rgba(243, 250, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.tsol-cookie-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tsol-cookie-consent__links a {
    color: var(--tsol-white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

.tsol-cookie-consent__links a:hover,
.tsol-cookie-consent__links a:focus {
    color: var(--tsol-cyan);
}

.tsol-cookie-consent__actions,
.tsol-cookie-consent__dialog-actions {
    align-items: stretch;
    display: flex;
    gap: 9px;
}

.tsol-cookie-consent__actions {
    align-self: center;
    flex-direction: column;
    min-width: 164px;
}

.tsol-cookie-consent button.tsol-cookie-consent__button {
    align-items: center;
    border-radius: 3px !important;
    cursor: pointer;
    display: inline-flex;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.2;
    min-height: 42px;
    padding: 11px 14px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 100%;
}

.tsol-cookie-consent button.tsol-cookie-consent__button:focus,
.tsol-cookie-consent button.tsol-cookie-consent__close:focus,
button.tsol-cookie-consent__reopen:focus {
    outline: 2px solid var(--tsol-cyan);
    outline-offset: 3px;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--primary {
    background: var(--tsol-red) !important;
    border: 2px solid var(--tsol-red) !important;
    color: #ffffff !important;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--primary:hover,
.tsol-cookie-consent button.tsol-cookie-consent__button--primary:focus {
    background: var(--tsol-red-dark) !important;
    border-color: var(--tsol-red-dark) !important;
    color: #ffffff !important;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--secondary {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: var(--tsol-blue-dark) !important;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--secondary:hover,
.tsol-cookie-consent button.tsol-cookie-consent__button--secondary:focus {
    background: var(--tsol-cyan) !important;
    border-color: var(--tsol-cyan) !important;
    color: var(--tsol-blue-dark) !important;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--ghost {
    background: transparent !important;
    border: 2px solid rgba(243, 250, 255, 0.46) !important;
    color: var(--tsol-white) !important;
}

.tsol-cookie-consent button.tsol-cookie-consent__button--ghost:hover,
.tsol-cookie-consent button.tsol-cookie-consent__button--ghost:focus {
    background: rgba(243, 250, 255, 0.13) !important;
    border-color: var(--tsol-white) !important;
}

.tsol-cookie-consent__modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1000000;
}

.tsol-cookie-consent__backdrop {
    background: rgba(1, 0, 23, 0.82);
    inset: 0;
    position: absolute;
}

.tsol-cookie-consent__dialog {
    background: #ffffff;
    border: 2px solid rgba(243, 250, 255, 0.36);
    border-radius: 3px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color: var(--tsol-ink);
    max-height: calc(100vh - 40px);
    overflow: auto;
    position: relative;
    width: min(680px, 100%);
}

.tsol-cookie-consent__dialog:focus {
    outline: 2px solid var(--tsol-cyan);
    outline-offset: 4px;
}

.tsol-cookie-consent__dialog-header {
    background: linear-gradient(135deg, rgba(1, 0, 23, 0.98), rgba(4, 0, 86, 0.95));
    color: var(--tsol-white);
    padding: 28px 34px 25px;
    position: relative;
}

.tsol-cookie-consent button.tsol-cookie-consent__close {
    background: transparent !important;
    border: 1px solid rgba(243, 250, 255, 0.6) !important;
    border-radius: 3px !important;
    color: var(--tsol-white) !important;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 28px;
    height: 38px;
    line-height: 1;
    min-width: 0;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    z-index: 2;
}

.tsol-cookie-consent button.tsol-cookie-consent__close:hover,
.tsol-cookie-consent button.tsol-cookie-consent__close:focus {
    background: rgba(255, 255, 255, 0.13) !important;
    border-color: var(--tsol-white) !important;
    color: var(--tsol-white) !important;
}

.tsol-cookie-consent__form {
    display: grid;
    gap: 15px;
    padding: 24px 34px 28px;
}

.tsol-cookie-consent__notice {
    background: #f1fbfd;
    border: 1px solid #b8ddea;
    border-left: 4px solid var(--tsol-cyan);
    border-radius: 3px;
    color: var(--tsol-blue-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    padding: 11px 13px;
}

.tsol-cookie-consent__category {
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--tsol-line);
    border-radius: 3px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0;
    padding: 16px;
}

.tsol-cookie-consent__category legend {
    color: var(--tsol-blue-dark);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.tsol-cookie-consent__category p {
    color: var(--tsol-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.tsol-cookie-consent__switch {
    display: inline-flex;
    position: relative;
}

.tsol-cookie-consent__switch input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.tsol-cookie-consent__switch span {
    background: #d9e2e8;
    border: 2px solid #c7d4dc;
    border-radius: 999px;
    cursor: pointer;
    display: block;
    height: 34px;
    position: relative;
    transition: background-color 160ms ease, border-color 160ms ease;
    width: 60px;
}

.tsol-cookie-consent__switch span::after {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    content: "";
    height: 24px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 160ms ease;
    width: 24px;
}

.tsol-cookie-consent__switch input:checked + span {
    background: var(--tsol-cyan);
    border-color: var(--tsol-cyan);
}

.tsol-cookie-consent__switch input:checked + span::after {
    transform: translateX(26px);
}

.tsol-cookie-consent__switch input:focus + span {
    outline: 2px solid var(--tsol-cyan);
    outline-offset: 3px;
}

.tsol-cookie-consent__switch input:disabled + span {
    cursor: not-allowed;
    opacity: 0.72;
}

.tsol-cookie-consent__dialog-actions {
    border-top: 1px solid var(--tsol-line);
    justify-content: flex-end;
    padding-top: 16px;
}

.tsol-cookie-consent__dialog-actions .tsol-cookie-consent__button {
    width: auto;
}

.tsol-cookie-consent__status {
    color: var(--tsol-muted);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    min-height: 18px;
}

button.tsol-cookie-consent__reopen {
    --tsol-blue-dark: #010017;
    --tsol-cyan: #169cc7;
    --tsol-red: #ea323e;
    --tsol-white: #f3faff;
    align-items: center;
    background: var(--tsol-blue-dark) !important;
    border: 2px solid var(--tsol-cyan) !important;
    border-radius: 50% !important;
    box-shadow: 0 12px 32px rgba(1, 0, 23, 0.3);
    cursor: pointer;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    min-width: 0;
    padding: 0;
    position: fixed;
    width: 58px;
    z-index: 999997;
}

button.tsol-cookie-consent__reopen:hover,
button.tsol-cookie-consent__reopen:focus {
    background: var(--tsol-red) !important;
    border-color: var(--tsol-red) !important;
}

.tsol-cookie-consent__reopen--bottom_right {
    bottom: 92px;
    right: 22px;
}

.tsol-cookie-consent__reopen--bottom_left {
    bottom: 22px;
    left: 22px;
}

.tsol-cookie-consent__reopen--top_right {
    right: 22px;
    top: 54px;
}

.tsol-cookie-consent__reopen--top_left {
    left: 22px;
    top: 54px;
}

@media (max-width: 860px) {
    .tsol-cookie-consent__banner {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .tsol-cookie-consent__mark {
        height: 44px;
        width: 44px;
    }

    .tsol-cookie-consent__mark .tsol-cookie-consent__icon {
        height: 25px;
        width: 25px;
    }

    .tsol-cookie-consent__actions {
        flex-direction: row;
        grid-column: 1 / -1;
        min-width: 0;
    }

    .tsol-cookie-consent__actions .tsol-cookie-consent__button {
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .tsol-cookie-consent--bottom,
    .tsol-cookie-consent--top,
    .tsol-cookie-consent--bottom_left,
    .tsol-cookie-consent--bottom_right {
        bottom: 10px;
        left: 10px;
        right: 10px;
        top: auto;
        width: auto;
    }

    .tsol-cookie-consent__banner {
        gap: 13px;
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .tsol-cookie-consent__mark {
        display: none;
    }

    .tsol-cookie-consent h2 {
        font-size: 28px;
    }

    .tsol-cookie-consent__actions,
    .tsol-cookie-consent__dialog-actions {
        flex-direction: column;
    }

    .tsol-cookie-consent__dialog-header,
    .tsol-cookie-consent__form {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tsol-cookie-consent__category {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .tsol-cookie-consent__dialog-actions .tsol-cookie-consent__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tsol-cookie-consent *,
    .tsol-cookie-consent *::before,
    .tsol-cookie-consent *::after {
        transition-duration: 0.01ms !important;
    }
}
