/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 5.0.3.1773513065
Updated: 2026-03-14 19:31:05

*/
.wr13-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.wr13-status-validated {
    background: #d1f7dd;
    color: #157347;
}

.wr13-status-pending {
    background: #fff3cd;
    color: #997404;
}

.wr13-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.wr13-event-card {
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wr13-event-card:hover {
    transform: translateY(-4px);
}

.wr13-event-image-wrap {
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.wr13-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wr13-event-card:hover .wr13-event-image {
    transform: scale(1.03);
}

.wr13-event-date {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    margin-bottom: 4px;
}

.wr13-event-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
	padding:0;
    color: #555;
}

.wr13-event-lieu {
    font-size: 14px;
    color: #777;
    margin: 10px 0 12px 0;
}

.wr13-btn {
    display: inline-block;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 3px;
    line-height: 1;
}

.wr13-btn:hover {
    color: #fff !important;
    background: #333;
}

@media (max-width: 980px) {
    .wr13-events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wr13-event-image {
        height: 200px;
    }
}
.wr13-event-page {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.wr13-event-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.wr13-event-page .wr13-event-title {
    font-size: 36px;
    margin-top: 30px;
}

.wr13-event-page .wr13-event-infos {
    margin: 20px 0;
    font-size: 16px;
}

.wr13-event-page .wr13-event-infos div {
    margin-bottom: 6px;
}

.wr13-event-page .wr13-event-description {
    margin-top: 30px;
    line-height: 1.6;
}

.wr13-event-page .wr13-event-form-placeholder {
    margin-top: 50px;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 6px;
}

.wr13-event-description p {
    margin-bottom: 12px;
}

.wr13-event-short-description {
    margin-top: 24px;
    padding: 20px 24px;
    background: #f8f8f8;
    border-left: 4px solid #000;
    border-radius: 4px;
    font-size: 17px;
    line-height: 1.6;
    color: #444;
}
.wr13-event-baptemes {
    margin: 40px 0 40px 0;
}

.wr13-event-baptemes h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.wr13-baptemes-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wr13-bapteme-card {
    flex: 1;
    min-width: 180px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
    text-align: center;
}

#wr13-baptemes-wrapper {
    margin: 40px 0 40px 0;
}

.wr13-bapteme-block {
    margin-top: 30px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.wr13-bapteme-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.wr13-bapteme-block + .wr13-bapteme-block {
    margin-top: 40px;
    padding-top: 30px;
    /*border-top: 2px solid #e5e5e5;*/
}

.wr13-bapteme-price {
    font-size: 24px;
    font-weight: bold;
    margin-top: 8px;
}
.wr13-event-form {
	margin-top:50px;
	padding:30px;
	background:#f5f5f5;
	border-radius:6px;
}

.wr13-event-form input,
.wr13-event-form select{
	width:100%;
	padding:10px;
	margin-top:4px;
	border:1px solid #ddd;
	border-radius:4px;
}
.wr13-form-messages {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: 6px;
}

.wr13-form-errors {
    background: #f8d7da;
    color: #842029;
}

.wr13-form-success {
    background: #d1f7dd;
    color: #157347;
}

.wr13-form-messages p {
    margin: 0 0 8px 0;
}

.wr13-form-messages p:last-child {
    margin-bottom: 0;
}
html {
	scroll-behavior: smooth;
}
.wr13-voiture-block + .wr13-voiture-block {
    margin-top: 40px;
    padding-top: 30px;
    
}
#wr13-voitures-wrapper {
    margin: 40px 0 40px 0;
}
.wr13-event-form button[name="wr13_submit_reservation"] {
    margin-top: 30px;
}
/* Repeater ACF - Voitures : séparation plus visible */
.acf-field[data-name="voitures"] .acf-row:not(.acf-clone) > .acf-fields {
    border: 2px solid #d9dee3;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 28px;
    padding-bottom: 10px;
}

.acf-field[data-name="voitures"] .acf-row:not(.acf-clone):last-child > .acf-fields {
    margin-bottom: 0;
}
/* Repeater voitures - séparation visible */
.acf-field[data-name="voitures"] .acf-row:not(.acf-clone) {
    border: 2px solid #d0d7de;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Espace intérieur */
.acf-field[data-name="voitures"] .acf-row .acf-fields {
    padding: 15px;
}

/* Dernier bloc */
.acf-field[data-name="voitures"] .acf-row:last-child {
    margin-bottom: 0;
}

.wr13-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.wr13-col {
    flex: 1;
}

/* Responsive (important) */
@media (max-width: 768px) {
    .wr13-row {
        flex-direction: column;
    }
}

.wr13-voiture-block,
.wr13-bapteme-block {
    margin-top: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
	border: 1px solid #e5e5e5;
	border-top: 3px solid #8B0000;
}

.wr13-bapteme-block {
	border-top: 3px solid #3A5A7A;
}

.wr13-section {
    margin-top: 50px;
}

.wr13-section + .wr13-section {
    border-top: 1px solid #666;
    padding-top: 40px;
}

.wr13-voiture-block h4,
.wr13-bapteme-block h4 {
    margin-bottom: 15px;
    font-size: 18px;
}
.wr13-event-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px; /* optionnel (ça match ton design actuel) */
}

.wr13-event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wr13-form-header-intro {
    text-align: center;
    margin: 10px auto 50px;
}

.wr13-form-header-icon {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.wr13-form-header-title {
    margin: 0;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
}

@media (max-width: 980px) {
    .wr13-form-header-title {
        font-size: 42px;
    }

    .wr13-form-header-icon {
        max-width: 140px;
    }
}

@media (max-width: 767px) {
    .wr13-form-header-title {
        font-size: 30px;
    }

    .wr13-form-header-intro {
        margin-bottom: 35px;
    }
}
.wr13-documents-info {
    background: #f5f5f5;
    border-left: 4px solid #000;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 15px;
}

.wr13-documents-info a {
    font-weight: 600;
    text-decoration: underline;
}

.wr13-documents-info a:hover {
    color: #c00;
}
.wr13-form-infos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.wr13-form-info-item {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .wr13-form-infos {
        grid-template-columns: 1fr;
    }
}
#main-footer {
    background: #111;
    color: #ccc;
}

#main-footer a {
    color: #ccc;
}

#main-footer a:hover {
    color: #A61C1C;
}