.cgm-cookie-consent[hidden],
.cgm-cookie-preferences-button[hidden] {
    display: none !important;
}

.cgm-cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    padding: 20px;
    color: #172538;
    background: #ffffff;
    border-top: 4px solid #f89820;
    box-shadow: 0 -8px 28px rgba(23, 37, 56, 0.18);
    box-sizing: border-box;
}

.cgm-cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.cgm-cookie-consent__content {
    flex: 1 1 auto;
    max-width: 860px;
}

.cgm-cookie-consent__title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #172538 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.cgm-cookie-consent__description {
    margin: 0 !important;
    padding: 0 !important;
    color: #34465c !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.cgm-cookie-consent__description a {
    color: #2972b9 !important;
    font-weight: 600;
    text-decoration: underline;
}

.cgm-cookie-consent__description a:hover,
.cgm-cookie-consent__description a:focus {
    color: #f89820 !important;
}

.cgm-cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.cgm-cookie-consent__button {
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 2px solid #2972b9 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    cursor: pointer;
}

.cgm-cookie-consent__button--accept {
    color: #ffffff !important;
    background: #2972b9 !important;
}

.cgm-cookie-consent__button--accept:hover,
.cgm-cookie-consent__button--accept:focus {
    color: #ffffff !important;
    background: #1f5d98 !important;
    border-color: #1f5d98 !important;
}

.cgm-cookie-consent__button--reject {
    color: #2972b9 !important;
    background: #ffffff !important;
}

.cgm-cookie-consent__button--reject:hover,
.cgm-cookie-consent__button--reject:focus {
    color: #ffffff !important;
    background: #2972b9 !important;
}

/* .cgm-cookie-consent__button:focus-visible,
.cgm-cookie-preferences-button:focus-visible {
    outline: 3px solid #f89820 !important;
    outline-offset: 3px;
} */

.cgm-cookie-preferences-button {
    position: fixed;
    bottom: 14px;
    left: 14px;
    z-index: 999998;
    margin: 0 !important;
    padding: 8px 12px !important;
    color: #ffffff !important;
    background: #172538 !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 12px rgba(23, 37, 56, 0.22) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    cursor: pointer;
	opacity: .25;
}

.cgm-cookie-preferences-button:hover {
    color: #ffffff !important;
    background: #2972b9 !important;
	opacity: 1.0;
}

@media only screen and (max-width: 900px) {
    .cgm-cookie-consent__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .cgm-cookie-consent__actions {
        width: 100%;
    }

    .cgm-cookie-consent__button {
        flex: 1 1 50%;
    }
}

@media only screen and (max-width: 540px) {
    .cgm-cookie-consent {
        padding: 16px;
    }

    .cgm-cookie-consent__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cgm-cookie-consent__button {
        width: 100%;
    }

    .cgm-cookie-preferences-button {
        bottom: 8px;
        left: 8px;
    }
}