body{
    margin: 0 !important;
}
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
.elementor-19 .elementor-element.elementor-element-a230012 > .elementor-container{
    max-width: 99% !important;
}
.elementor-2599 .elementor-element.elementor-element-d8db89d > .elementor-element-populated {
    box-shadow: none;
}

.elementor-19 .elementor-element.elementor-element-7577302 .wpr-grid-media-hover-bg {
    border-radius: 8px;
}

.wpr-grid-image-wrap img {
    max-height: 180px !important;
}
.elementor-2317 .elementor-element.elementor-element-e4ca303 .wpr-grid-item-title .inner-block a {
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.wpr-grid-item-excerpt .inner-block p{
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.elementor-2599 .elementor-element.elementor-element-d8db89d > .elementor-element-populated {
    box-shadow: none !important;
}
/*****************MENU SIDEBAR******************************************/
/* Container du sidebar */
.sidebar-logo {
    padding: 1.5rem;
    text-align: center;
}

.logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.sidebar-container {
    background-image: linear-gradient(264deg, #131313D9 0%, #1F5FC1 90%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 999;
    width: 20%;
}

/* Ajuster le contenu principal pour laisser de la place au sidebar */
.main-content-wrapper,
.site-content,
body {
    margin-left: 20%;
    min-width: 79%;
}

/* Pour les petits écrans */
@media (max-width: 1024px) {
    .sidebar-container {
        width: 250px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar-container.active {
        transform: translateX(0);
    }
    
    .main-content-wrapper,
    .site-content,
    body {
        margin-left: 0;
    }
    
    /* Bouton hamburger pour mobile */
    .sidebar-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
        background: #1F5FC1;
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
    }
}

.sidebar-inner {
    position: relative;
}

/* Titre du menu */
.aside-menu-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* Liste du menu */
.aside-menu-list,
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aside-menu-list li,
.menu li {
    margin-bottom: 5px;
}

.aside-menu-list a,
.menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.aside-menu-list a:hover,
.menu a:hover {
    background: #ffffff;
    color: #1F5FC1;
    transform: translateX(5px);
}

/* Item actif */
.aside-menu-list .current-menu-item > a,
.menu .current-menu-item > a {
    background: #ecf0f1;
    color: #2c3e50;
}

/* Sous-menus */
.aside-menu-list .sub-menu,
.menu .sub-menu {
    list-style: none;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 5px;
}

.aside-menu-list .sub-menu a,
.menu .sub-menu a {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Icônes */
.aside-menu-list a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.aside-menu-list a:hover::before {
    transform: translateX(3px);
    color: #1F5FC1;
}

/* Scrollbar personnalisée pour le sidebar */
.sidebar-container::-webkit-scrollbar {
    width: 6px;
}

.sidebar-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Footer du sidebar */
.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Titre des sections footer */
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact items */
.sidebar-contact {
    margin-bottom: 25px;
}

.contact-item {
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.contact-item i {
    width: 20px;
    color: #ffffff;
    font-size: 1rem;
}
.contact-item svg {
    width: 20px;
    font-size: 1rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Réseaux sociaux */
.sidebar-social {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ffffff;
    color: #1F5FC1;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
}
.social-link svg {
    font-size: 1.1rem;
}

/* Copyright */
.sidebar-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-copyright p {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    font-size: 0.85rem;
}

.sidebar-copyright .small-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Ajuster le sidebar-inner pour que le footer reste en bas */
.sidebar-inner {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px);
}

.sidebar-container nav {
    flex: 1;
}

/**********SINGLE POST******************/
/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
.btnback{
    border: none;
    background-color: #ecf0f1;
    border-radius: 8px;
}
/* Meta informations */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
}

.article-date {
    color: #666;
    font-weight: 500;
}

.article-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tag {
    background: #1F5FC1;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Titre de l'article */
.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 30px 0;
}

/* Contenu de l'article */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
}