/* --- Styles for Consultations Page (page-consultations.php) --- */

.page-consultations-content .entry-header {
    text-align: center;
    margin-bottom: 0em;
}

.page-consultations-content .entry-title {
    margin-top: 0em;
    margin-bottom: 0em;
}

.page-consultations-content .page-intro-content {
    max-width: 800px;
    margin: 0 auto 3em auto;
    text-align: center;
    font-size: 1.1em;
    /* color: var(--color-text-medium); */
}

.consultations-tabs-wrapper {
    max-width: 950px;
    padding: 1em;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--color-border-light);
    margin-bottom: 2em;
}

.tab-link {
    padding: 10px 20px 8px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.2em;
    font-family: var(--font-body);
    /* color: var(--color-text-medium); */
    position: relative;
    bottom: -2px;
    /* transition: color 0.3s ease, border-bottom-color 0.3s ease; */
    border-bottom: 2px solid transparent;
    border-radius: 5px 5px 0 0;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-link.active {
    /* color: var(--color-primary); */
    font-weight: 500;
    background-color: var(--navigation-active-bg-color);
    /* border-bottom-color: var(--color-primary); */
}

@media (hover: hover) and (pointer: fine) {
    .tab-link:hover {
        background-color: var(--navigation-hover-bg-color);
        /* color: var(--color-primary); */
    }
}

.tab-pane {
    display: none;
    line-height: 1.5;
}

.tab-pane.active {
    display: block;
}

/* Styles for content within tab panes */
.tab-pane p,
.tab-pane ul,
.tab-pane ol,
.tab-pane h1,
.tab-pane h2,
.tab-pane h3,
.tab-pane h4,
.tab-pane h5,
.tab-pane h6,
.tab-pane .wp-block-group, /* Target group blocks */
.tab-pane .wp-block-image, /* Target image blocks */
.tab-pane .wp-block-gallery, /* Target gallery blocks */
.tab-pane .wp-block-columns /* Target columns blocks */
{
    margin-bottom: 1em; /* General spacing for blocks */
}

/* Adjust specific elements if needed */
.tab-pane h2 { /* For headings within tab content */
    margin-top: 2em;
    margin-bottom: 1em;
}

.tab-pane .wp-block-group {
    padding: 1.5em;
}

/* List styling within tab panes, similar to ma-presentation page */
.tab-pane ul,
.tab-pane ol,
.tab-pane ul.wp-block-list,
.tab-pane ol.wp-block-list {
    margin-left: 2em; /* Indent lists */
    margin-bottom: 1.5em; /* Spacing after lists */
    line-height: 1.5;
    list-style: none !important; /* Remove default bullets */
    padding-left: 0; /* Reset default padding */
}

.tab-pane li {
    /* margin-bottom: 0.8em; */
    position: relative;
    padding-left: 1em; /* Space for custom bullet */
    /* font-size: 16px; */
}

.tab-pane li::before {
    content: "\2022"; /* Unicode for a bullet point */
    color: var(--color-text-dark); /* Dark color for the bullet */
    font-weight: bold;
    font-size: larger;
    display: inline-block;
    width: 1em; /* Space for the bullet */
    margin-left: -0.5em; /* Pull the bullet into the padding-left space */
    position: absolute;
    left: 0;
    top: -0.15em;
}

/* For ordered lists, use numbers */
.tab-pane ol li::before {
    content: counter(list-item) "."; /* Use CSS counter for numbers */
    counter-increment: list-item;
    color: var(--color-text-dark);
    font-weight: bold;
    display: inline-block;
    width: auto;
    margin-left: -2em; /* Adjust as needed for numbers */
    position: absolute;
    left: 0;
    top: 0.1em;
    text-align: right;
    min-width: 1.5em;
}

.tarifs-section {
    max-width: 900px;
    margin: 4em auto 0 auto;
    padding-top: 2em;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

.tarifs-section .wp-block-list {
    list-style: none;
}

.tarifs-section .wp-block-column:nth-child(2) {
    background: none;
    padding: 2em;
    box-shadow: none;
}

.tarifs-title {
    margin-top: 0;
}