/* Avantages / Inconvénients block: two columns, green and pink */
.wp-block-retnews-pros-cons {
    margin: 1.5rem 0;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 767px) {
    .wp-block-retnews-pros-cons .retnews-pros-cons__grid {
        grid-template-columns: 1fr;
    }
}

.wp-block-retnews-pros-cons .retnews-pros-cons__col {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    min-height: 120px;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__col--pros {
    background-color: #e8f5e9;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__col--cons {
    background-color: #fff3e0;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__title-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 2px solid #333;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__title-icon--plus::before {
    content: "+";
}

.wp-block-retnews-pros-cons .retnews-pros-cons__title-icon--minus::before {
    content: "−";
}

.wp-block-retnews-pros-cons .retnews-pros-cons__list {
    margin: 0;
    padding-left: 1.5rem;
    list-style: none;
    color: #333;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__list li {
    position: relative;
    margin-bottom: 0.35rem;
    padding-left: 0.25rem;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__list--pros li::before {
    content: "+";
    position: absolute;
    left: -1.25rem;
    font-weight: 700;
    color: #333;
}

.wp-block-retnews-pros-cons .retnews-pros-cons__list--cons li::before {
    content: "−";
    position: absolute;
    left: -1.25rem;
    font-weight: 700;
    color: #333;
}

/* Editor preview */
.wp-block-retnews-pros-cons .retnews-pros-cons-editor {
    padding: 12px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.wp-block-retnews-pros-cons .retnews-pros-cons-editor .retnews-pros-cons-editor__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.wp-block-retnews-pros-cons .retnews-pros-cons-editor .retnews-pros-cons-preview__col {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.wp-block-retnews-pros-cons .retnews-pros-cons-editor .retnews-pros-cons-preview__col--pros {
    background-color: #e8f5e9;
}

.wp-block-retnews-pros-cons .retnews-pros-cons-editor .retnews-pros-cons-preview__col--cons {
    background-color: #fff3e0;
}

.wp-block-retnews-pros-cons .retnews-pros-cons-editor .retnews-pros-cons-preview__title {
    font-weight: 700;
    margin-bottom: 8px;
}
