/* --- specific style for the page "Ma Présentation" --- */


.page-template-page-ma-presentation .site-content {
    padding-top: 80px; 
    padding-bottom: 60px; 
    max-width: 950px; 
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em; 
    padding-right: 1em; 
}

.page-template-page-ma-presentation .entry-content {
    font-size: 1em;
    line-height: 1.5;
}

/* Styles for Gutenberg headings within content */
.page-template-page-ma-presentation .entry-content .wp-block-heading {
    font-size: 1.4em; 
    margin-top: 1em; 
    margin-bottom: 1em;
    /* color: var(--color-primary); */
    /* font-weight: 500; */
    /* text-shadow: 1px 1px 2px rgba(var(--color-secondary-rgb), 0.1); */
}   

/* Style for strong text within the content */
.page-template-page-ma-presentation .entry-content strong {
    color: var(--color-text-dark); /* Apply dark text color */
}

.page-template-page-ma-presentation .entry-content ul,
.page-template-page-ma-presentation .entry-content ol,
.page-template-page-ma-presentation .entry-content ul.wp-block-list, /* Added specificity for Gutenberg lists */
.page-template-page-ma-presentation .entry-content ol.wp-block-list { /* Added specificity for Gutenberg lists */
    margin-left: 2em;
    margin-bottom: 2em;
    line-height: 1.2;
    list-style: none !important; /* Force removal of default bullets */
    padding-left: 0; /* Ensure no default padding */
}

.page-template-page-ma-presentation .entry-content li {
    margin-bottom: 0.8em;
    position: relative; /* For positioning the custom bullet */
    padding-left: 1em; /* Space for the custom bullet */
}

.page-template-page-ma-presentation .entry-content li::before {
    content: "\2022"; /* Unicode for a bullet point */
    color: var(--color-secondary); /* Lavender 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 */
.page-template-page-ma-presentation .entry-content ol li::before {
    content: counter(list-item) "."; /* Use CSS counter for numbers */
    counter-increment: list-item;
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    width: auto; /* Let content determine width */
    margin-left: -2em; /* Adjust as needed for numbers */
    position: absolute;
    left: 0;
    top: 0.1em;
    text-align: right; /* Align numbers to the right within their space */
    min-width: 1.5em; /* Ensure enough space for double-digit numbers */
}

/* Specific style for li with has-large-font-size */
.page-template-page-ma-presentation .entry-content li.has-large-font-size {
    font-size: 1.1em; 
}

/* Specific style for p with has-large-font-size */
.page-template-page-ma-presentation .entry-content p.has-large-font-size {
    font-size: 1.1em; 
}

/* Responsive styles */
@media screen and (max-width: 952px) { /* Adjust breakpoint for larger screens */
    .page-template-page-ma-presentation .site-content {
        padding-top: 60px;
        padding-bottom: 40px;
        max-width: 100%; /* Constrain width more on medium screens */
    }
    .page-template-page-ma-presentation .entry-title {
        font-size: 2em;
    }
    .page-template-page-ma-presentation .entry-content {
        font-size: 1em;
        line-height: 1.5;
    }
    .page-template-page-ma-presentation .entry-content .wp-block-heading {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 951px) {
    .page-template-page-ma-presentation .site-content {
        padding-top: 40px;
        padding-bottom: 30px;
        max-width: 100%; /* Allow full width on small screens */
        padding-left: 1em;
        padding-right: 1em;
    }
    .page-template-page-ma-presentation .entry-title {
        font-size: 1.8em;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-bottom: 0.5em;
        text-align: left;
    }
    .page-template-page-ma-presentation .entry-content {
        font-size: 1em;
        line-height: 1.6;
        padding: 1em; /* Smaller padding for content box */
    }
    .page-template-page-ma-presentation .entry-content .wp-block-heading {
        font-size: 1.4em;
        margin-top: 2em;
    }
    .page-template-page-ma-presentation .entry-content ul,
    .page-template-page-ma-presentation .entry-content ol {
        margin-left: 1.5em; /* Reduce indent on small screens */
        margin-bottom: 1.5em;
    }
    .page-template-page-ma-presentation .entry-content li {
        margin-bottom: 0.6em;
        padding-left: 1.2em; /* Adjust for smaller screens */
    }
    .page-template-page-ma-presentation .entry-content li::before {
        margin-left: -1.2em; /* Adjust for smaller screens */
    }
    .page-template-page-ma-presentation .entry-content ol li::before {
        margin-left: -1.5em; /* Adjust for smaller screens */
        min-width: 1.2em;
    }
    .page-template-page-ma-presentation .entry-content li.has-large-font-size,
    .page-template-page-ma-presentation .entry-content p.has-large-font-size {
        font-size: 1em; /* Reset to base font size on small screens */
    }
}

@media screen and (max-width: 480px) {
    .page-template-page-ma-presentation .entry-title {
        font-size: 1.5em;
    }
    .page-template-page-ma-presentation .entry-content {
        font-size: 0.95em;
        line-height: 1.6;
        padding: 10px;
    }
    .page-template-page-ma-presentation .entry-content .wp-block-heading {
        font-size: 1.2em;
        margin-top: 1.5em;
    }
}