
/* RiantHuis Speeddate Pop-up */

.rh-speeddate-overlay[hidden] {
    display: none !important;
}

.rh-speeddate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow: auto;
}

.rh-speeddate-overlay,
.rh-speeddate-overlay * {
    font-family: 'Roboto', Arial, sans-serif !important;
    box-sizing: border-box;
}

.rh-speeddate-dialog {
    position: relative;
    display: grid;
    grid-template-columns: 46% 54%;
    width: min(1040px, 100%);
    max-height: min(90vh, 850px);
    background: #fff;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.25);
    overflow: auto;
    border-radius: 8px;
    outline: 0;
}

.rh-speeddate-photo {
    min-height: 460px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.rh-speeddate-content {
    padding: clamp(30px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #3a637b;
}

.rh-speeddate-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #3a637b;
}

.rh-speeddate-content h2,
#rh-speeddate-title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    color: #3a637b;
    margin: 0 0 22px;
}

.rh-speeddate-content p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 32px;
    color: #3a637b;
}

.rh-speeddate-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-width: 250px;
    background: #3a637b;
    color: #fff !important;
    border: 1px solid #3a637b;
    text-decoration: none !important;
    padding: 17px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    transition: background 0.2s, transform 0.2s;
}

.rh-speeddate-cta:hover,
.rh-speeddate-cta:focus {
    background: #294b60;
    border-color: #294b60;
    color: #fff !important;
    transform: translateY(-1px);
}

.rh-speeddate-close {
    position: absolute;
    right: 18px;
    top: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #3a637b;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.rh-speeddate-close:hover {
    background: #f0f4f6;
    color: #294b60;
}

.rh-speeddate-close:focus-visible,
.rh-speeddate-cta:focus-visible {
    outline: 3px solid #3a637b;
    outline-offset: 3px;
}

body.rh-speeddate-open {
    overflow: hidden;
}

/* Mobiele weergave */

@media (max-width: 700px) {
    .rh-speeddate-overlay {
        padding: 14px;
        align-items: center;
    }

    .rh-speeddate-dialog {
        grid-template-columns: 1fr;
        max-height: 92dvh;
    }

    .rh-speeddate-photo {
        min-height: 0;
        height: 180px;
    }

    .rh-speeddate-content {
        padding: 26px 24px 30px;
    }

    .rh-speeddate-eyebrow {
        margin-bottom: 12px;
    }

    .rh-speeddate-content h2,
    #rh-speeddate-title {
        font-size: 29px;
        margin-bottom: 12px;
    }

    .rh-speeddate-content p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .rh-speeddate-cta {
        width: 100%;
        min-width: 0;
    }

    .rh-speeddate-close {
        right: 10px;
        top: 10px;
    }
}
