/* Keep CookieYes accept/reject equally prominent on the German host. */

/* The default 440px box cannot fit three one-line labels side by side. */
@media (min-width: 601px) {
    .cky-consent-container[class*="cky-box-"] {
        width: 480px !important;
        max-width: calc(100vw - 80px) !important;
    }
}

.cky-consent-bar .cky-notice-btn-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.cky-consent-bar .cky-notice-btn-wrapper > .cky-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 4px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    color: #1863DC !important;
    background-color: transparent !important;
    border: 2px solid #1863DC !important;
}

.cky-consent-bar .cky-notice-btn-wrapper > .cky-btn-customize {
    order: 1 !important;
}

.cky-consent-bar .cky-notice-btn-wrapper > .cky-btn-reject {
    order: 2 !important;
}

.cky-consent-bar .cky-notice-btn-wrapper > .cky-btn-accept {
    order: 3 !important;
}

/* Phones: three equal full-width rows, accept last. */
@media (max-width: 600px) {
    .cky-consent-bar .cky-notice-btn-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: 1fr !important;
    }

    .cky-consent-bar .cky-notice-btn-wrapper > .cky-btn {
        width: 100% !important;
    }
}
