/* Cookie / consent banner and placeholders for external content */

.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: #fff;
    color: #222;
    border-top: 3px solid #b52b2a;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 18px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 30px;
}

.consent-banner__text {
    flex: 1 1 480px;
    margin: 0;
}

.consent-banner__text strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.consent-banner__text a {
    color: #b52b2a;
    text-decoration: underline;
}

.consent-banner__legal {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

.consent-banner__legal a {
    color: #666;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Both buttons have the same size and weight: declining must be as easy as accepting */
.consent-btn {
    min-width: 170px;
    padding: 12px 22px;
    border: 2px solid #b52b2a;
    border-radius: 3px;
    background: #b52b2a;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
}

.consent-btn--decline {
    background: #fff;
    color: #b52b2a;
}

.consent-btn:hover,
.consent-btn:focus {
    background: #8f2120;
    border-color: #8f2120;
    color: #fff;
}

/* Placeholder shown instead of blocked external content */
.consent-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 30px 20px;
    background: #f3f3f3;
    border: 1px dashed #bbb;
    text-align: center;
    font-size: 14px;
    color: #444;
}

.consent-placeholder p {
    max-width: 520px;
    margin: 0 0 15px;
}

.consent-placeholder[hidden] {
    display: none;
}

.contact-gmap .consent-placeholder {
    min-height: 500px;
}

iframe[data-consent-src]:not([src]) {
    display: none;
}

@media (max-width: 600px) {
    .consent-btn {
        flex: 1 1 100%;
    }
}
