/* GDPR info row under contact form */

.component.contact-form .form .form-row-gdpr {
    margin-top: 14px;
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 1.55;
    color: #5e5e5e;
    text-align: center;
}

.component.contact-form .form .form-row-gdpr a.gdpr-link {
    color: #6f240d;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.component.contact-form .form .form-row-gdpr a.gdpr-link:hover {
    text-decoration-thickness: 2px;
}

/* GDPR overlay layer */

.gdpr-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.gdpr-overlay[aria-hidden="false"] {
    display: block;
}

.gdpr-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.gdpr-overlay-dialog {
    position: relative;
    max-width: 720px;
    max-height: 85vh;
    margin: 5vh auto;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.gdpr-overlay-content {
    padding: 30px 34px 34px;
    overflow-y: auto;
    max-height: 85vh;
    font-size: 22px;
    line-height: 1.7;
}

.gdpr-overlay-content p {
    margin: 0 0 1em 0;
}

.gdpr-overlay-content h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.gdpr-overlay-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #000;
}

@media (max-width: 768px) {
    .gdpr-overlay-dialog {
        width: 92%;
        margin: 4vh auto;
    }

    .gdpr-overlay-content {
        padding: 22px 20px 26px;
        font-size: 21px;
        line-height: 1.7;
    }
}
