.three-columns-cards-block {
    padding: 10px 0 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #183B69;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
        height: 100%;
}

.column.column-1 {
    gap: 12.5rem;
}

.column.column-2{
    align-items: center;
    justify-content: space-between;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); */
        box-shadow: 0 24px 24px -1px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-title {
    text-align: center;
    font-size: var(--font-size-2xl, 1.5rem);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card-content {
    color: var('--primary-color');
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.card-content p {
    margin: 0;
        font-weight: 400;
}

/* Carte avec bouton - plus haute */
.card-with-button {
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.card-with-button .card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-button {
    top: -8rem;
    position: relative;
}

/* Styles des boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #183B69;
    color: white;
    border-color: #183B69;
}

.btn-primary:hover {
    background-color: #0f2a4f;
    border-color: #0f2a4f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #71B5E5;
    color: white;
    border-color: #71B5E5;
}

.btn-secondary:hover {
    background-color: #5aa3d9;
    border-color: #5aa3d9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #183B69;
    border-color: #183B69;
}

.btn-outline:hover {
    background-color: #183B69;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .column-2 {
        grid-column: 1 / -1;
    }
    
    .column-2 .card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .three-columns-cards-block {
        padding: 40px 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        /* font-size: 1.25rem; */
    }
}

/* Styles pour l'éditeur Gutenberg */
.editor-styles-wrapper .three-columns-cards-block {
    padding: 30px 20px;
}

.editor-styles-wrapper .cards-grid {
    gap: 1rem;
}

.editor-styles-wrapper .card {
    padding: 1.5rem;
}