/*
 * CLC cookie consent theme (design.md section 9), on top of vanilla-cookieconsent 3.1.0 (cookieconsent.css).
 * Uses the library's CSS variables wherever possible. No external fonts or assets.
 * Colour pairs meet WCAG AA: #1f2933 on #fff = 14.9:1, #fff on #1f2933 = 14.9:1, #3e4c59 on #fff = 9.4:1,
 * #1f2933 on #e9edf1 = 12.6:1, #1d4ed8 on #fff = 6.7:1.
 */

#cc-main {
    --cc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --cc-modal-border-radius: 14px;
    --cc-btn-border-radius: 10px;
    --cc-modal-margin: 1.25rem;
    --cc-z-index: 2147483000;

    --cc-bg: #ffffff;
    --cc-primary-color: #1f2933;
    --cc-secondary-color: #3e4c59;
    --cc-link-color: #1d4ed8;

    /* Accept all and Reject all: identical */
    --cc-btn-primary-bg: #1f2933;
    --cc-btn-primary-color: #ffffff;
    --cc-btn-primary-border-color: #1f2933;
    --cc-btn-primary-hover-bg: #0b1117;
    --cc-btn-primary-hover-color: #ffffff;
    --cc-btn-primary-hover-border-color: #0b1117;

    /* Customise / Save: secondary, same size */
    --cc-btn-secondary-bg: #e9edf1;
    --cc-btn-secondary-color: #1f2933;
    --cc-btn-secondary-border-color: #c9d2db;
    --cc-btn-secondary-hover-bg: #dbe2e8;
    --cc-btn-secondary-hover-color: #0b1117;
    --cc-btn-secondary-hover-border-color: #aeb9c4;

    --cc-separator-border-color: #e4e8ec;
    --cc-toggle-on-bg: #1f2933;
    --cc-toggle-off-bg: #6b7785;
    --cc-toggle-on-knob-bg: #ffffff;
    --cc-toggle-off-knob-bg: #ffffff;
    --cc-toggle-readonly-bg: #c9d2db;
    --cc-toggle-readonly-knob-bg: #ffffff;
    --cc-toggle-readonly-knob-icon-color: #3e4c59;
    --cc-cookie-category-block-bg: #f4f6f8;
    --cc-cookie-category-block-border: #e4e8ec;
    --cc-cookie-category-block-hover-bg: #eceff3;
    --cc-cookie-category-block-hover-border: #dde3e8;
    --cc-cookie-category-expanded-block-bg: transparent;
    --cc-cookie-category-expanded-block-hover-bg: #e4e8ec;
    --cc-footer-bg: #f4f6f8;
    --cc-footer-color: #3e4c59;
    --cc-footer-border-color: #e4e8ec;
    --cc-overlay-bg: rgba(15, 23, 31, 0.55);

    font-size: 16px;
    line-height: 1.5;

    /*
     * The library resets its elements with "all: unset", which makes inherited properties come from here, and
     * #cc-main itself inherits from the site's <body>. Pin every inherited text property a theme might set.
     */
    font-style: normal;
    font-variant: normal;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-align: left;
    text-indent: 0;
    text-shadow: none;
    white-space: normal;
    word-break: normal;
}

/* elements the library does not reset, and markup we put into the descriptions */
#cc-main label,
#cc-main strong,
#cc-main b,
#cc-main em,
#cc-main br {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: inherit;
    background: none;
    box-shadow: none;
}

#cc-main a,
#cc-main button {
    text-transform: none;
    letter-spacing: inherit;
    text-shadow: none;
    text-indent: 0;
    float: none;
}

#cc-main a {
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

#cc-main svg {
    max-width: none;
    vertical-align: middle;
}

/* ---------------------------------------------------------------- first layer: wide box, bottom centre */

#cc-main .cm.cm--box.cm--wide {
    max-width: 52rem;
    box-shadow: 0 18px 50px rgba(15, 23, 31, 0.22), 0 2px 8px rgba(15, 23, 31, 0.08);
    border: 1px solid rgba(15, 23, 31, 0.08);
}

#cc-main .cm__texts {
    padding-top: 1.5rem;
}

#cc-main .cm__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cc-primary-color);
    padding: 0 1.75rem;
}

#cc-main .cm__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--cc-secondary-color);
    padding: 0 1.75rem 1.25rem;
    max-height: 45vh;
}

#cc-main .cm__title + .cm__desc {
    margin-top: 0.6rem;
}

#cc-main .cm__desc strong {
    color: var(--cc-primary-color);
    font-weight: 600;
}

/* three buttons of equal size in one row */
#cc-main .cm.cm--box .cm__btns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem 1.75rem 1.5rem;
    border-top: 1px solid var(--cc-separator-border-color);
}

#cc-main .cm.cm--box .cm__btn-group {
    display: contents;
}

/* only the three choice buttons: the close (X) button is also a .cm__btn but sits outside .cm__btns */
#cc-main .cm.cm--box .cm__btns .cm__btn,
#cc-main .cm.cm--box .cm__btns .cm__btn + .cm__btn,
#cc-main .cm.cm--box .cm__btn-group + .cm__btn-group {
    margin: 0;
    min-width: 0;
    width: 100%;
}

#cc-main .cm__btns .cm__btn,
#cc-main .pm__btn {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 48px;
    padding: 0.7em 1.2em;
    letter-spacing: 0.01em;
    white-space: normal;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/*
 * The close (X) control: a visible 40 x 40 round button in the top right corner. It carries the .cm__btn class
 * too, so every size and box property is pinned here (the library sets padding and min-width with !important,
 * and site themes style "button" freely).
 */
#cc-main .cm .cm__btn.cm__btn--close,
#cc-main .cm.cm--box .cm__btn.cm__btn--close {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cc-btn-secondary-border-color) !important;
    border-radius: 50% !important;
    background: var(--cc-bg) !important;
    color: var(--cc-primary-color) !important;
    box-shadow: none !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    overflow: hidden;
    cursor: pointer;
}

#cc-main .cm .cm__btn.cm__btn--close svg {
    display: block !important;
    flex: 0 0 auto;
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    fill: none !important;
    stroke: var(--cc-primary-color) !important;
    stroke-width: 2px;
    stroke-linecap: round;
    pointer-events: none;
}

#cc-main .cm .cm__btn.cm__btn--close svg path {
    fill: none !important;
    stroke: inherit;
}

#cc-main .cm .cm__btn.cm__btn--close:hover {
    background: var(--cc-btn-secondary-bg) !important;
    border-color: var(--cc-btn-secondary-hover-border-color) !important;
}

#cc-main .cm .cm__btn.cm__btn--close:hover svg {
    stroke: var(--cc-btn-secondary-hover-color) !important;
}

#cc-main .cm .cm__btn.cm__btn--close:focus-visible {
    outline: 3px solid #1d4ed8 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.2) !important;
}

/* the close control is inside the rounded box: keep it clear of the clipped corner and keep the title off it */
#cc-main .cm__btn--close + .cm__texts .cm__title {
    padding-right: 4.25rem !important;
}

#cc-main.cc--rtl .cm .cm__btn.cm__btn--close {
    right: auto !important;
    left: 0.75rem !important;
}

#cc-main.cc--rtl .cm__btn--close + .cm__texts .cm__title {
    padding-right: 1.75rem !important;
    padding-left: 4.25rem !important;
}

/* the preferences dialog close button: pin its box against theme button rules as well */
#cc-main .pm__close-btn {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    box-shadow: none;
    line-height: 1;
    flex: 0 0 auto;
}

#cc-main .cm__footer {
    padding: 0.6rem 1.75rem;
}

#cc-main .cm__links {
    padding: 0;
}

#cc-main .cm__link-group a,
#cc-main .cm__footer a {
    color: var(--cc-link-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* links in running text are underlined, not told apart by colour alone */
#cc-main .cm__desc a,
#cc-main .cm__footer a,
#cc-main .pm__section-desc a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------------------------------------------------------------- second layer */

#cc-main .pm {
    box-shadow: 0 18px 50px rgba(15, 23, 31, 0.25);
}

#cc-main .pm__title {
    font-size: 1.2rem;
    font-weight: 700;
}

#cc-main .pm__section-title {
    font-weight: 600;
}

#cc-main .pm__section-desc {
    color: var(--cc-secondary-color);
    font-size: 0.93rem;
    line-height: 1.6;
}

#cc-main .pm__section-desc a,
#cc-main .pm__body a {
    color: var(--cc-link-color);
}

#cc-main .pm__table-caption {
    font-weight: 600;
    color: var(--cc-primary-color);
}

#cc-main .pm__table-th {
    font-size: 0.85rem;
}

#cc-main .pm__table-td {
    font-size: 0.85rem;
    color: var(--cc-secondary-color);
    vertical-align: top;
}

#cc-main .pm__table-td:first-child {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    color: var(--cc-primary-color);
    word-break: break-all;
}

#cc-main .clc-consent-domain {
    color: var(--cc-secondary-color);
    font-size: 0.8em;
}

/* ---------------------------------------------------------------- focus: always visible */

#cc-main button:focus-visible,
#cc-main a:focus-visible,
#cc-main input:focus-visible + .section__toggle-wrapper {
    outline: 3px solid #1d4ed8;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.2);
}

/* ---------------------------------------------------------------- mobile: full-width sheet */

@media screen and (max-width: 640px) {
    #cc-main .cm.cm--box.cm--wide {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-width: none !important;
        border-radius: 16px 16px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        /* short portrait phones: the whole sheet scrolls so the title can always be reached */
        max-height: calc(100vh - 0.5rem);
        max-height: calc(100dvh - 0.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #cc-main .cm__title {
        font-size: 1.1rem;
        padding-left: 1.25rem !important;
        padding-right: 4.25rem !important;
    }

    #cc-main .cm__desc {
        font-size: 0.92rem;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        max-height: 38vh;
    }

    #cc-main .cm.cm--box .cm__btns {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.6rem;
        padding: 1rem 1.25rem 1.25rem !important;
    }

    #cc-main .cm.cm--box .cm__btn-group {
        display: contents !important;
    }

    #cc-main .cm.cm--box .cm__btn,
    #cc-main .cm.cm--box .cm__btn + .cm__btn,
    #cc-main .cm.cm--box .cm__btn-group + .cm__btn-group {
        margin: 0 !important;
    }

    #cc-main .cm__footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ---------------------------------------------------------------- short viewports (landscape phones, small portrait phones) */

@media screen and (max-height: 520px) {
    #cc-main .cm.cm--box.cm--wide {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #cc-main .cm__texts {
        padding-top: 1rem;
    }

    #cc-main .cm__desc {
        max-height: 22vh;
        max-height: 22dvh;
        padding-bottom: 0.75rem;
    }

    #cc-main .cm.cm--box .cm__btns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0.75rem 1.25rem 1rem !important;
    }

    #cc-main .cm__btns .cm__btn {
        min-height: 44px;
    }

    #cc-main .cm .cm__btn.cm__btn--close {
        top: 0.5rem !important;
    }
}

/* ---------------------------------------------------------------- floating "Cookie settings" button */

/*
 * Small on purpose: a 40 px round icon in the bottom-left corner (chat widgets and back-to-top buttons usually
 * sit bottom-right), with its accessible name on the button; the text label only slides out on hover or
 * keyboard focus. Everything a site theme might set on "button" is pinned.
 */
button.clc-consent-fab {
    position: fixed !important;
    left: 12px !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    bottom: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    top: auto !important;
    right: auto !important;
    z-index: 2147482000;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    box-sizing: border-box !important;
    width: auto !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid rgba(15, 23, 31, 0.14) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    color: #1f2933 !important;
    font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-align: left !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    vertical-align: middle;
    float: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 31, 0.18) !important;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    opacity: 0.85;
    overflow: hidden;
    transition: opacity 0.15s ease, box-shadow 0.15s ease, gap 0.2s ease;
}

button.clc-consent-fab svg {
    display: block !important;
    flex: 0 0 auto;
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    margin: 0 !important;
    fill: currentColor;
    pointer-events: none;
}

button.clc-consent-fab .clc-consent-fab__label {
    display: inline-block !important;
    max-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    font: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: nowrap !important;
    transition: max-width 0.25s ease;
}

button.clc-consent-fab:hover,
button.clc-consent-fab:focus-visible {
    opacity: 1;
    gap: 8px;
    padding-right: 14px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 31, 0.24) !important;
}

button.clc-consent-fab:hover .clc-consent-fab__label,
button.clc-consent-fab:focus-visible .clc-consent-fab__label {
    max-width: 16rem;
}

button.clc-consent-fab:focus-visible {
    outline: 3px solid #1d4ed8 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.2) !important;
}

html.show--consent button.clc-consent-fab,
html.show--preferences button.clc-consent-fab {
    display: none !important;
}

/* ---------------------------------------------------------------- embed placeholder (click to load) */

.clc-consent-embed {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
    line-height: normal;
}

.clc-consent-embed--fluid {
    display: block;
    width: 100%;
}

.clc-consent-embed > iframe {
    max-width: 100%;
}

.clc-consent-embed:not(.is-loaded) {
    min-height: 180px;
    min-width: 240px;
}

.clc-consent-embed:not(.is-loaded) > iframe {
    visibility: hidden;
}

/* responsive containers that position the iframe absolutely: let the overlay cover that container */
.clc-consent-embed--abs {
    position: static;
    display: block;
    min-height: 0 !important;
    min-width: 0 !important;
}

.clc-consent-embed__overlay {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.25rem;
    box-sizing: border-box;
    overflow: auto;
    border-radius: 10px;
    border: 1px solid #d5dce3;
    background: #f4f6f8;
    color: #1f2933;
    text-align: center;
    font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.clc-consent-embed__text {
    margin: 0;
    max-width: 32rem;
    color: #3e4c59;
    font-size: 0.93rem;
}

.clc-consent-embed__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.clc-consent-embed .clc-consent-embed-load,
.clc-consent-embed .clc-consent-embed__settings {
    margin: 0;
    min-height: 42px;
    padding: 0.55em 1.2em;
    border-radius: 10px;
    font: 600 0.92rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.clc-consent-embed .clc-consent-embed-load {
    border: 1px solid #1f2933;
    background: #1f2933;
    color: #ffffff;
}

.clc-consent-embed .clc-consent-embed-load:hover {
    background: #0b1117;
}

.clc-consent-embed .clc-consent-embed__settings {
    border: 1px solid #c9d2db;
    background: #ffffff;
    color: #1f2933;
}

.clc-consent-embed .clc-consent-embed__settings:hover {
    background: #e9edf1;
}

/* before the labels are in place (translations still loading) */
.clc-consent-embed:not(.is-ready) > .clc-consent-embed-load {
    display: none !important;
}

.clc-consent-embed.is-loaded {
    min-height: 0;
    min-width: 0;
}

/* ---------------------------------------------------------------- NoticeOnly notice */

.clc-consent-notice {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 2147482500;
    transform: translateX(-50%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    width: calc(100% - 2.5rem);
    max-width: 52rem;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(15, 23, 31, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #1f2933;
    box-shadow: 0 18px 50px rgba(15, 23, 31, 0.22), 0 2px 8px rgba(15, 23, 31, 0.08);
    font: 400 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    animation: clc-consent-rise 0.25s ease-out;
}

.clc-consent-notice__text {
    flex: 1 1 auto;
    margin: 0;
    color: #3e4c59;
}

.clc-consent-notice__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
}

.clc-consent-notice__link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.clc-consent-notice__ok {
    min-height: 44px;
    min-width: 7rem;
    margin: 0;
    padding: 0.6em 1.4em;
    border: 1px solid #1f2933;
    border-radius: 10px;
    background: #1f2933;
    color: #ffffff;
    font: 600 0.95rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
}

.clc-consent-notice__ok:hover {
    background: #0b1117;
}

.clc-consent-notice__settings {
    min-height: 44px;
    margin: 0;
    padding: 0.6em 1.2em;
    border: 1px solid #c9d2db;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2933;
    font: 600 0.95rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
}

.clc-consent-notice__settings:hover {
    background: #e9edf1;
}

/* ---------------------------------------------------------------- consent UI outside #cc-main: immune to site themes */

.clc-consent-embed__overlay,
.clc-consent-embed__overlay *,
.clc-consent-notice,
.clc-consent-notice * {
    box-sizing: border-box !important;
    font-style: normal;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    text-indent: 0 !important;
    float: none !important;
}

.clc-consent-embed__overlay p,
.clc-consent-notice p {
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

.clc-consent-embed .clc-consent-embed-load,
.clc-consent-embed .clc-consent-embed__settings,
.clc-consent-notice .clc-consent-notice__ok,
.clc-consent-notice .clc-consent-notice__settings {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    vertical-align: middle;
    border-radius: 10px !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    opacity: 1 !important;
}

.clc-consent-embed .clc-consent-embed-load,
.clc-consent-embed .clc-consent-embed__settings,
.clc-consent-notice .clc-consent-notice__settings {
    min-width: 0 !important;
}

.clc-consent-notice .clc-consent-notice__link {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
    color: #1d4ed8 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.clc-consent-embed button:focus-visible,
.clc-consent-notice button:focus-visible,
.clc-consent-notice a:focus-visible {
    outline: 3px solid #1d4ed8 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.2) !important;
}

@media screen and (max-width: 640px) {
    .clc-consent-notice {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px 16px 0 0;
        padding: 1.1rem 1.25rem 1.25rem;
    }

    .clc-consent-notice__actions {
        justify-content: space-between;
    }

    .clc-consent-notice .clc-consent-notice__ok,
    .clc-consent-notice .clc-consent-notice__settings {
        flex: 1 1 auto;
    }
}

@keyframes clc-consent-rise {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media screen and (max-width: 640px) {
    .clc-consent-notice {
        animation: none;
    }
}

/* ---------------------------------------------------------------- cookie declaration (UCR_CookieDeclaration) */

.clc-cookie-declaration__category {
    margin: 0 0 2rem;
}

.clc-cookie-declaration__table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.clc-cookie-declaration table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.clc-cookie-declaration caption {
    text-align: left;
    font-weight: 600;
    padding: 0.4rem 0;
}

.clc-cookie-declaration th,
.clc-cookie-declaration td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e4e8ec;
}

.clc-cookie-declaration td code {
    white-space: nowrap;
    background: transparent;
    border: 0;
    padding: 0;
}

/* ---------------------------------------------------------------- motion and print */

@media (prefers-reduced-motion: reduce) {
    .clc-consent-fab,
    .clc-consent-fab__label,
    .clc-consent-notice,
    #cc-main .cm__btn,
    #cc-main .pm__btn {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    html body button.clc-consent-fab,
    .clc-consent-notice,
    .clc-consent-embed__overlay,
    #cc-main {
        display: none !important;
    }
}
