.lezingen-section {
    position: relative; /* important */
}

#crm-lezingen-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* light overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.crm-loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #264036;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}




.crm-lazing-body{
    padding: 2.65rem 1.5rem;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.crm-lazing-row{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0.75rem;
}

.lezingen-date-col{
    font-size: 2rem;
    font-weight: 600;
}

.lezingen-date-col .date-text{
    line-height: 0.85;
}

.lezingen-filter-wrapper input#search-lectures-pin-rizion {
    width: 376px;
    max-width: 33.33%;
    border-radius: 0.75rem;
}

.lezingen-filter-wrapper #search-lectures-radius{
    border-radius: 0.75rem;
}

.lezingen-filter-wrapper .bg-info:hover{
    opacity: 0.8;
}


.lezingen-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2.6rem;
    font-size: 1.13rem;
    font-weight: 400;
}

.lezingen-list-row > div{
    width: auto;
}

.lezingen-list-row > div.lezingen-date-col{
    width: 170px;
}
.lezingen-list-row > div.lezingen-speaker-col{
    width: 235px;
}
.lezingen-list-row > div.lezingen-location-col{
    width: 220px;
}
.lezingen-list-row > div.lezingen-time-col{
    width: 190px;
}

.spreker-box {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.spreker-box-image img {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 100%;
    background-color: var(--bs-warning , #dae2cb);
    object-fit: cover;
    object-position: top;
}

.lezingen-keys{
    font-weight: 600;
    display: block;
}


@media (max-width: 1249px){
    .lezingen-list-row{
        flex-wrap: wrap;
        padding: 1.5rem;
    }
    .lezingen-list-row > div.lezingen-date-col{
        width: auto;
    }
}
@media (max-width: 991px){
    .lezingen-list-row > div.lezingen-time-col{
        width: calc(100% - 250px);
    }
    .lezingen-filter-wrapper input#search-lectures-pin-rizion , .lezingen-filter-wrapper #search-lectures-radius{
        width: 100%;
        max-width: 100%;
        min-height: 52px;
        flex-grow: 1;
    }
}
@media (max-width: 767px){
    .lezingen-list-row{
        gap: 1.5rem;
        padding: 1rem;
        position: relative;
    }
    .crm-lazing-body{
        padding: 2rem 1rem;
    }
    .lezingen-list-row > div:not(.lezingen-date-col){
        width: 100% !important;
    }

    .lezingen-list-row > div:last-child {
        position: absolute;
        top: 5px;
        right: 0;
        width: auto !important;
        padding: 1rem;
    }
    .lezingen-list-row > div:last-child .btn{
        padding-inline: 1.13rem;
    }
}

/* ============================================================
   CONTACT FORM 7 — CONSISTENT RESPONSE OUTPUT MESSAGES
   Overrides both the CF7 defaults and any Bootstrap alert colours
   that may be applied by the theme.
   ============================================================ */

/* Base reset — remove CF7 default borders and margins */
.wpcf7-response-output {
    margin:        1rem 0 0;
    padding:       0.85rem 1.1rem;
    border:        none !important;
    border-radius: 0.5rem;
    font-size:     0.95rem;
    font-weight:   500;
    line-height:   1.5;
}

/* ── ERROR — CF7 zet data-status="invalid/failed/spam/aborted/validating" op het form element ── */
.wpcf7.js form[data-status="invalid"]   .wpcf7-response-output,
.wpcf7.js form[data-status="failed"]    .wpcf7-response-output,
.wpcf7.js form[data-status="spam"]      .wpcf7-response-output,
.wpcf7.js form[data-status="aborted"]   .wpcf7-response-output,
.wpcf7.js form[data-status="validating"] .wpcf7-response-output {
    background-color: #fde8e8 !important;
    color:            #7d1c1c !important;
    border-left:      4px solid #c0392b !important;
}

/* ── SUCCESS — CF7 zet data-status="sent" op het form element ── */
.wpcf7.js form[data-status="sent"] .wpcf7-response-output {
    background-color: #e6f4ea !important;
    color:            #1a5c2a !important;
    border-left:      4px solid #27ae60 !important;
}
}