/**
 * Theme Name: Dr Boutin
 * Description: Blocksy Child theme
 * Author: Asterisk
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Terms - Catégories de services*/
.wp-block-term:nth-child(even) .wp-block-columns {
    flex-direction: row-reverse;
}

/* Posts - Services */
.wp-block-post:nth-child(even) .wp-block-columns {
    flex-direction: row-reverse;
}

/* .service.entry-card:nth-child(even) {
    flex-direction: row-reverse;
} */

/* Membre d'équipe */
.membre.wp-block-columns:nth-child(even) {
    flex-direction: row-reverse;
}

/* Images */

.wp-block-image.full-height,
.wp-block-image.full-height img  {
    height: 100%;
}

/* Fluent Forms — Radio en mode bouton stylé comme des onglets (Tailwind-like) */
.fluentform .ff_list_buttons {
    display: inline-flex;
    gap: 0.375rem;
}

.fluentform .ff_list_buttons .ff-el-form-check {
    display: inline-block;
    margin: 0;
    width: auto !important;
    flex: 0 0 auto;
}

.fluentform .ff_list_buttons .ff-el-form-check label {
    margin: 0;
}

.fluentform .ff_list_buttons .ff-el-form-check label > span {
    background: transparent !important;
    border: none !important;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    color: #4b5563 !important;
        font-size: 1rem !important;
    font-weight: 500;
    padding: 0.625rem 1.125rem !important;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fluentform .ff_list_buttons .ff-el-form-check label > span:hover {
    background-color: var(--theme-palette-color-7)  !important;
    color: #111827 !important;
}

.fluentform .ff_list_buttons .ff-el-form-check.ff_item_selected label > span,
.fluentform .ff_list_buttons .ff-el-form-check:first-child.ff_item_selected label > span,
.fluentform .ff_list_buttons .ff-el-form-check:last-child.ff_item_selected label > span {
    background-color: #ffffff !important;
    color: #111827 !important;
    text-decoration: underline;
    font-weight: 400;
}

.fluentform .ff_list_buttons .ff-el-form-check label:focus-within > span {
    background-color: #ffffff !important;
}

/* Annule les coins arrondis “bouton groupé” par défaut de Fluent Forms */
.fluentform .ff_list_buttons .ff-el-form-check:first-child label > span,
.fluentform .ff_list_buttons .ff-el-form-check:last-child label > span {
    border-radius: 0.5rem !important;
    border-left: 1px solid transparent !important;
}


/* --- Service page --- */
.single-service .ct-featured-image {
    position: relative;
}

/* Image mise en avant : conteneur au fond pleine largeur (var --theme-palette-color-7).
   Le conteneur garde la largeur du contenu ; le fond est étiré de part et d'autre
   via box-shadow, puis recadré verticalement par clip-path. */
.single-service .service-featured-banner {
    background-color: var(--theme-palette-color-7);
    box-shadow: 0 0 0 100vw var(--theme-palette-color-7);
    clip-path: inset(0 -100vw);
    padding-block: clamp(40px, 6vw, 80px);
    margin-block: clamp(24px, 4vw, 48px);
}

/* L'image reste à la largeur du contenu, centrée dans la bande. */
.single-service .service-featured-banner .ct-featured-image {
    padding: 0;
    margin-block: 0;
}
