/*
Theme Name: BloggingBox Child
Template: rtretr
Author: Ton Nom
Version: 1.0
Description: Thème enfant de BloggingBox pour mes personnalisations.
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* ===== SLIDER ===== */
.primary-slider-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-top: 25px;
}

.primary-slider-item .featured-thumbnail {
    width: 100%;
    height: 100%;
}

.primary-slider-item .featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}



.primary-slider-item {
    position: relative;
    flex: 0 0 340px !important;
    width: 300px !important;
    height: 350px;
    overflow: hidden;
}

.primary-slider .primary-slider-item .slide-caption {
    position: absolute !important;
    bottom: 10px !important;  
    left: 0;
    width: 100%;
    padding: 8px 10px;   
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;      
    box-sizing: border-box;
    max-height: 90px;        
    margin-top: 120px;

}

.primary-slider .primary-slider-item.big-1 .slide-caption {
    width: 340px !important; 
    left: 0; 
}

.primary-slider .primary-slider-item .slide-caption .slide-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

body.home .primary-slider-container .primary-slider .primary-slider-item .slide-caption .thecategory,
body.home .primary-slider-container .primary-slider .primary-slider-item .slide-caption .thecategory a {
    color: #6fb1c5 !important;
    -webkit-text-fill-color: #6fb1c5 !important;
    fill: #6fb1c5 !important;
    font-weight: 700; 
}

body.home .primary-slider-container .primary-slider .primary-slider-item .slide-caption .slide-title a:hover,
body.home .primary-slider-container .primary-slider .primary-slider-item .slide-caption .slide-title a:focus {
    color: #4e8ba3 !important; 
    -webkit-text-fill-color: #4e8ba3 !important;
}

#slider.primary-slider.owl-carousel .owl-item::after,
#slider.primary-slider.owl-carousel .owl-item:hover::after,
#slider.owl-prev,
#slider.owl-next,
.single-prev-next .next-post:hover .featured-thumbnail::after,
.single-prev-next .previous-post:hover .featured-thumbnail::after {
    background-color: transparent !important;
    opacity: 0 !important;
}

.primary-slider .owl-dots {
    text-align: center !important;
    bottom: 5px !important;
}

.primary-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 6px !important;
}


.primary-slider .owl-dots .owl-dot span {
    width: 14px !important;
    height: 14px !important;
    background: #6fb1c5 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.primary-slider .owl-dots .owl-dot.active span {
    width: 18px !important;
    height: 18px !important;
    background: #3a8bbf !important;
}


@media (max-width: 768px) {
  .primary-slider-container {
    display: none;
  }
}

.nav-flex-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; 
}

.nav-left-home a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
    font-size: 1rem;
}

.nav-left-home a:hover {
    color: #005177;
}

#pull {
    margin-left: auto;
}

/* ================= ARTICLES ================= */
.article-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.article-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-height: 400px; 
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.article-card .featured-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-card .card-content {
    padding: 15px;
    flex: 1;
}

.article-card .card-category {
    font-size: 12px;
    color: red !important; 
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center !important;
}
.article-card .card-category a{
    font-size: 12px;
    color: #6fb1c5  !important; 
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center !important;
    font-weight: bold;
}

div.article-card span.card-category {
    color: red !important;
}

.article-card .card-category,
.article-card .card-category::before,
.article-card .card-category::after {
    color: red !important;
}


.article-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #2b5876 !important;
    line-height: 1.3;
    text-align: center !important;
}

.article-card .card-excerpt {
    text-align: justify;
}

.article-card {
    position: relative; 
}

.article-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    text-indent: -9999px; 
}

.article-card .card-title {
    font-size: 20px; 
    font-weight: bold;
    color: #222;
    line-height: 1.3;
    text-align: justify; 
    font-family: 'Baloo 2', cursive; 
    margin-top: 10px; 
}

.frontPost {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.frontPost .featured-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.frontPost .post-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}

.frontPost .title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.frontPost .post-info {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.frontPost .post-content p {
    color: #555;
    margin-bottom: 10px;
}

.frontPost .readMore a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #00adb5;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.frontPost .readMore a:hover {
    background: #393e46;
}

/* ================= BLOC TESTS ================= */
.bloc-tests {
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .bloc-tests {
        padding-bottom: 5px;
    }
}

.tests-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
font-family: 'Russo One', sans-serif;
    position: relative;
    color: #2b5876;
}

.tests-title::after {
    content: "";
    display: block;
    width: 60px;      
    height: 4px;     
    background: #6fb1c5;
    margin: 12px auto 0; 
    border-radius: 2px;
}

@media (max-width: 768px) {
    .tests-title {
        font-size: 1.6em; 
    }

    .tests-title::after {
        width: 40px;  
        height: 3px;
        margin-top: 10px;
    }
}

.tests-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.test-item {
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.test-item .featured-thumbnail img {
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.test-content {
    text-align: justify;
}

.test-title {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.test-title a {
    color: #333;
    text-decoration: none;
}

.test-title a:hover {
    color: #0073aa;
}

.excerpt {
    font-size: 0.9em;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tests-link {
    text-align: center;
    margin-top: 18px;
    font-size: 22px;
}

.tests-link a {
    display: inline;
    color: black;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.tests-link a:hover {
    color: #005f8d;
    text-decoration: underline;
}

.test-button {
    margin-top: 12px;
    text-align: center;
}

.test-button a {
    display: inline-block;
    background: #000;      
    color: #fff;          
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    border: 1px solid #000;
    transition: all 0.2s ease;
}

.test-button a:hover {
    background: #fff;      
    color: #000;         
    transform: scale(1.03);
}

/* ================= BLOC LIBRAIRIE ================= */
.bloc-librairie {
    background: none;   
    padding: 0;        
    margin-bottom: 40px;
    text-align: center;
    box-shadow: none;   
    border-radius: 0; 
}

.librairie-main-title {
    text-align: center;
font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    color: #6fb1c5;
}

.librairie-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #2b5876;
  margin: 12px auto 0; 
  border-radius: 2px;
}

@media (max-width: 768px) {
    .librairie-main-title {
        font-size: 1.8rem; 
    }

    .librairie-main-title::after {
        width: 40px;  
        height: 3px;
        margin-top: 10px;
    }
}

.bloc-librairie h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.librairie-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.librairie-item img {
    width: 120px !important;
    height: 160px !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.librairie-item img:hover {
    transform: scale(1.05);
}

.librairie-link p {
    font-size: 1em;
}

.librairie-link a {
    color: black !important;
    text-decoration: underline !important;
}


.bloc-intro{
font-family: "Poppins", sans-serif;
    line-height: 1.6;
    font-size: 1.2rem;
    text-align: justify;
}

/* ================= BLOC INTRO RECONVERSION ================= */
.bloc-intro-reconversion .intro-wrapper {
    padding: 30px 20px;
    margin-bottom: 40px;
}

.intro-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-image {
    flex: 0 0 40%;
}

.intro-image img {
    width: 210px;
    height: 300px;
    object-fit: cover;
    padding-left: 50px;
}

@media (max-width: 768px) {
  .intro-image {
    flex: 0 0 100%;
    display: flex;
    justify-content: center; 
    padding-left: 0;
    margin-top: 20px; 
  }

  .intro-image img {
    padding-left: 0; 
    width: 180px;   
    height: auto;  
  }
}

.intro-titleUn{
    text-align: center;
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
}
.intro-titleDeux {
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.9rem;
  font-weight: bold;
  opacity: 0;
  transform: translateX(-60px); 
}

.intro-titleDeux.visible {
  animation: slideInLeft 1.4s ease-out forwards; 
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.librairie-title {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem; 
    font-weight: bold;
    padding-top: 10px; 
    padding-bottom: 10px;
}

.librairie-items {
    display: flex;
    gap: 20px;          
    justify-content: center; 
    flex-wrap: wrap; 
}

.librairie-item img {
    width: 150px;  
    height: 20px;
    display: block;
}

.intro-text {
    flex: 0 0 55%;
    text-align: justify;
    font-size: 1.1em;
    line-height: 1.6em;
    font-family: 'Poppins', sans-serif;
}

.auteur{
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0px !important;
}

.editions{
    font-size: 1.1rem;
    text-align: center;
}

.intro-link {
    color: #0073aa !important;         
    border-bottom: 2px solid transparent !important;
    background: none !important;
    text-shadow: none !important;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.intro-link:hover,
.intro-link:focus {
    color: #005177 !important;      
    border-bottom: 2px solid #005177 !important;
    background: none !important;
    text-shadow: none !important;
    text-transform: none !important;
}

.custom-title {
    font-family: 'Baloo 2', cursive !important;
    font-size: 20px !important;   
    font-weight: 700 !important;  
    color:white !important;
   text-align: center; 
  }


/* ================= SIDEBAR ================= */
#sidebar {
    background-color: #222;
    padding: 20px;
    border-radius: 6px;
    color: white !important;
        float: right;  
    margin-right: 0; 
    width: 100%; 
}

aside#sidebar.c-4-12 {
  position: relative;
  transform: translateX(40px);
}


#sidebar .widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white !important;
    border-bottom: 2px solid #00adb5;
    padding-bottom: 5px;
    text-align: center;
    font-family: "Baloo 2", cursive !important;
}

.textwidget a {
  color: white !important; 
  text-decoration: none;
  font-family: "Poppins", sans-serif;
font-weight: 1.8;
}

.widget li::marker {
  color: #ffffff !important; 
}


.textwidget a:hover {
  color: #e67e22; 
}

#sidebar a {
    color: #00adb5;
    text-decoration: none;
}

#sidebar a:hover {
    text-decoration: underline;
}

/* ================= HEADER / NAVIGATION ================= */
#header.sticky-navigation,
#header,
#primary-navigation,
#primary-navigation .navigation {
    background-color: #222222 !important;
}

#primary-navigation .menu a {
    color: #fff !important;
    transition: all 0.3s ease;
}

#primary-navigation .menu a:hover {
    color: #6fb1c5 !important;
    background-color: #444444 !important;
}

#primary-navigation .sub-menu {
    background-color: #222222 !important;
}

#primary-navigation .sub-menu a {
    color: #fff !important;
    padding: 10px 15px;
}

#primary-navigation .sub-menu a:hover {
    background-color: #444444 !important;
    color: #6fb1c5 !important;
}

.navigation ul ul li {
    background-color: #222831 !important;
}

.navigation ul ul li a {
    background-color: transparent !important;
    color: #eeeeee !important;
}

.navigation ul ul li a:hover {
    background-color: #393e46 !important;
    color: #00adb5 !important;
    border-bottom: none !important;
}

#primary-navigation .menu > li:hover > a,
#primary-navigation .menu > li.current-menu-item > a,
#primary-navigation .menu > li.current_page_item > a,
.navigation a:hover {
    color: #6fb1c5 !important; 
    background-color: #444444 !important; 
    border: none !important;
    text-decoration: none !important;
}

/* ===== MENU MOBILE ===== */
#pull {
  display: none;   
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 5px;
}

/* ================= FOOTER ================= */
#site-footer {
    background: #111 !important;
    color: #fff !important;
    font-family: Arial, sans-serif;
    padding: 30px 10px 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
}

.footer-col-left {
    max-width: 1200px;
}

.footer-image {
    width: 300px;
    height: auto;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid #00adb5;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00adb5;
}

#site-footer .copyrights {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

#site-footer .copyrights a {
    color: #00adb5;
    text-decoration: none;
}

#site-footer .copyrights a:hover {
    text-decoration: underline;
}

.footer-col-left.footer-text-left {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;   
    color: #fff;
    text-align: center;
    height: 100%;         
    min-height: 120px;  
    padding: 0 10px;     
}

.footer-title {
font-family: 'Anton', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    padding-top: 35px;
    margin: 0;
    color: #fff;
}

.footer-subtitle {
font-family: 'Anton', sans-serif;
    font-size: 1rem;
    margin: 5px 0 0 0;
    color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .article-card, .frontPost {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .article-card, .frontPost {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .primary-slider-item {
        width: 90%;
        margin-right: 10px;
    }

    .intro-container {
        flex-direction: column;
        gap: 20px;
    }

    .intro-image, .intro-text {
        flex: 0 0 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-col-left {
        margin: 0 auto;
    }
}

.bloc-reconversion-wide {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 100%;       
    box-sizing: border-box;
}

/* Réinitialisation enfants */
.bloc-reconversion-wide > .reconversion-image-wide,
.bloc-reconversion-wide > .reconversion-text-wide {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
.bloc-reconversion-wide img {
    display: block;
    width: 80%;
    height: 340px;
    margin: 0 auto;
    border-radius: 12px;
}

.reconversion-text-wide {
    max-width: 800px;
    text-align: justify;
    font-size: 18px;
    line-height: 1.6em;
    color: #444;
    margin: 20px auto;
    padding: 0 20px;
}

.reconversion-text-wide p{
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
  .reconversion-text-wide p {
    font-size: 1.1rem; 
    line-height: 1.5; 
  }
}

@media (max-width: 768px) {
  #page {
    padding-top: 0px;
  }
}

.reconversion-title-wide {
font-family: 'Russo One', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #222;
    text-align: center;
    padding-top: 20px;
}

.reconversion-link-wide {
    text-align: center;
    margin-top: 15px;
}

.reconversion-link-wide a {
    display: inline-block;
    background-color: #00adb5;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.reconversion-link-wide a:hover {
    background-color: #008b94;
}

@media (max-width: 768px) {
    .reconversion-title-wide { font-size: 2.2rem; } 
    .reconversion-text-wide { font-size: 1.5rem; }
    .reconversion-link-wide a { padding: 10px 20px; }
}

@media (max-width: 480px) {
    .reconversion-title-wide { font-size: 2rem; } 
    .reconversion-text-wide { font-size: 1.2rem; }
}


.sidebar img {
    max-width: 100% !important;
    height: auto !important;
}

/* ===== STYLE WIDGET PUBLICITÉ ===== */
.widget-ad-placeholder {
    text-align: center;
    margin: 20px 0;
}

.widget-ad-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.widget-ad-placeholder .ad-label {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    text-align: center;
    font-weight: bold;
}

#primary-navigation {
  text-align: center;
}
#primary-navigation .menu {
  display: inline-block;
  float: none;
}

#slider.primary-slider.owl-carousel .owl-item::after{
    background-color: white;
}

.header-banner {
  margin: 0;
  padding: 0;
  line-height: 0; 
}

.header-banner img {
  display: block;     
  width: 100%;        
  height: 300px;    
  margin: 0;
  padding: 0;
}

.pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 30px 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

.pagination .page-numbers {
    display: inline-block !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.pagination .page-numbers.current {
    background-color: #6fb1c5 !important;  
    color: #fff !important;       
}

.pagination .page-numbers:not(.current) {
    background-color: #fff !important;  
    color: #000 !important;       
    border: 1px solid #000 !important;
}

.pagination .page-numbers:not(.current):hover {
    background-color: #2b5876 !important;
    color: #fff !important;
    transform: scale(1) !important;
}

.sidebar-social {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin: 20px 0 !important;
}

.sidebar-social .social-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #000 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.sidebar-social .social-circle:hover {
    transform: scale(1.1) !important;
    background: #444 !important;
}

.sidebar-social .facebook { background: #1877f2 !important; }
.sidebar-social .twitter  { background: #1da1f2 !important; }
.sidebar-social .instagram { background: #e1306c !important; }


/* ===== BLOC CHANGEMENTS ===== */
.changements-slider {
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px; 
  position: relative; 
}

.bloc-changements .bloc-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 40px;
font-family: 'Russo One', sans-serif;
  color: #2b5876;
  position: relative;
}

.bloc-changements .bloc-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #6fb1c5;
  margin: 12px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .bloc-changements .bloc-title {
    font-size: 1.8rem; 
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .bloc-changements .bloc-title::after {
    width: 40px;  
    height: 3px;
    margin-top: 10px;
  }
}

.bloc-changements .themes-vertical {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.bloc-changements .theme-band {
  flex: 1 1 calc(31% - 18px) !important;  
  max-width: calc(31% - 18px) !important;
  min-width: 240px;
  height: 320px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bloc-changements .theme-band:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.bloc-changements .theme-band .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.bloc-changements .theme-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.bloc-changements .theme-content h3 {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Russo One', sans-serif;
}

.bloc-changements .theme-content p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .bloc-changements .theme-band {
    flex: 1 1 calc(48% - 18px);
    max-width: calc(48% - 18px);
  }
}

@media (max-width: 768px) {
  .bloc-changements .theme-band {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.librairie-link {
  text-align: center; 
  margin: 40px auto; 
  font-family: 'Nunito', sans-serif;
}

.librairie-link p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.librairie-link a {
  color: #0073aa;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.librairie-link a:hover {
  color: #ff6600;
  text-decoration: underline;
}

/* ===== SWIPER CONTAINER ===== */
.changements-slider {
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px; 
}

/* ===== SLIDES ===== */
.changements-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #0073aa;
    text-align: center;
    display: inline-block;
    position: relative;
    padding: 4px 12px; 
    background-color: transparent; 
    border-radius: 0; 
    transition: all 0.3s ease;
}

.article-mini {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.article-mini:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.article-mini .thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
  transition: transform 0.4s ease;
}

.article-mini:hover .thumb img {
  transform: scale(1.05);
}

.article-mini .mini-title {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 10px 6px;
  color: #222;
}

.article-mini .mini-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.article-mini .mini-title a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.article-mini .mini-excerpt {
  font-size: 14px;
  color: #555;
  margin: 0 10px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .articles-row {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGINATION ===== */
.changements-slider .swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #cce7f5 !important;
  opacity: 0.6 !important;
  transition: all 0.3s ease;
}

.changements-slider .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: #0073aa !important;
}


.changements-slider .swiper-button-prev,
.changements-slider .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5); 
    color: #0073aa !important;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.changements-slider .swiper-button-prev:hover,
.changements-slider .swiper-button-next:hover {
    background: rgba(0, 115, 170, 0.9) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,115,170,0.25);
}

.changements-slider .swiper-button-prev::after,
.changements-slider .swiper-button-next::after {
    content: '';
}

.changements-slider .swiper-button-prev::before {
    content: '‹';
    font-size: 18px;
    font-weight: bold;
}

.changements-slider .swiper-button-next::before {
    content: '›';
    font-size: 18px;
    font-weight: bold;
}

.changements-slider .swiper-button-prev { left: 10px; }
.changements-slider .swiper-button-next { right: 10px; }


@media (max-width: 768px) {
  .articles-row {
    grid-template-columns: 1fr;
  }
  .article-mini {
    width: 100%;
  }
}

.changements-slider .swiper-button-prev,
.changements-slider .swiper-button-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #000; 
    color: #fff !important; 
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%; 
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.changements-slider .swiper-button-prev:hover,
.changements-slider .swiper-button-next:hover {
    background-color: #fff;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.changements-slider .swiper-button-prev {
    left: 10px;
}

.changements-slider .swiper-button-next {
    right: 10px;
}

.changements-slider .swiper-button-prev::after,
.changements-slider .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.reconversion-wrapper {
    padding-top: 50px;         
}

.article-widget-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.article-widget-link:hover {
    background-color: #005177;
}

/* Styles Librairie */
.librairie-widget {
  max-width: 600px;
  margin: 0 auto;
}

.librairie-main img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.librairie-main img,
.librairie-item img {
  border-radius: 8px;
  transition: transform 0.2s;
}

.librairie-main img:hover,
.librairie-item img:hover {
  transform: scale(1.05); 
}

.librairie-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.librairie-item img {
  width: 120px;
  height: auto;
  border-radius: 6px;
  transition: transform 0.2s;
}

.librairie-item img:hover {
  transform: scale(1.05);
}

.widget-quote {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
    color: white !important;
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: rgba(0,115,170,0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.widget-quote:hover {
    background-color: rgba(0,115,170,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.articles-recents-title {
font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #6fb1c5;
    position: relative;
}

.articles-recents-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #2b5876;
    margin: 12px auto 0;
    border-radius: 2px;
}

body{
    background-color: white !important;
}

.header-banner {
  width: 100%;
  background-color: #3f92b6;
  text-align: center;
  padding: 50px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-banner h1 {
  font-size: 3.5rem;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 2s ease-in-out;
  line-height: 1;
  word-wrap: break-word; 
}

.header-banner h1 span {
  display: block;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 1s forwards;
  line-height: 0.9;
  margin: 0;
  padding: 0;
}

.header-banner h1 .line1 {
  font-size: 4.5rem;
  animation-delay: 0s;
  margin-bottom: -18px;
}

.header-banner h1 .line2 {
  font-size: 3rem;
  animation-delay: 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-banner {
    padding: 30px 10px;
  }

  .header-banner h1 {
    font-size: 2.2rem; 
    padding: 0 10px;
  }

  .header-banner h1 .line1 {
    font-size: 2.6rem; 
    margin-bottom: -10px;
  }

  .header-banner h1 .line2 {
    font-size: 1.8rem; 
  }
}

@media (max-width: 480px) {
  .header-banner {
    padding: 55px 8px;
  }

  .header-banner h1 {
    font-size: 1.8rem;
  }

  .header-banner h1 .line1 {
    font-size: 2.2rem;
    margin-bottom: -8px;
  }

  .header-banner h1 .line2 {
    font-size: 1.5rem;
  }
}

.themes-vertical {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  margin-top: 25px;
}

@media (max-width: 768px) {
  .themes-vertical {
    grid-template-columns: 1fr;
  }
}

.theme-band {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-band:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.theme-content {
  text-align: center; 
  padding: 1rem 1.5rem; 
}

.theme-content h3 {
  margin-bottom: 0.5rem; 
}

.theme-content p {
  text-align: justify; 
  margin: 0 auto;     
  max-width: 600px;    
}

.bloc-changements .theme-band {
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.bloc-changements .theme-band:hover {
  transform: translateY(-5px); 
}

.bloc-changements .theme-content h3,
.bloc-changements .theme-content p {
  color: #fff !important; 
  text-align: center;   
}

.bloc-changements .theme-content p {
  text-align: justify;
  max-width: 600px;
  margin: 0 auto;
}

.theme-band {
  display: block;
  border-radius: 16px;   
  overflow: hidden;     
  max-width: 800px;  
  margin: 0 auto 20px;  
}

.theme-band.with-bg {
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  height: 250px;      
}

.theme-band.with-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.theme-band.with-bg .theme-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center; 
}


@media (min-width: 1024px) {
  .theme-content {
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center; 
    text-align: center;
    height: 100%;    
  }

  .theme-content h3 {
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0;
  }

  .theme-content p {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
  }

  .theme-band:hover .theme-content h3 {
    transform: translateY(-10px); 
  }

  .theme-band:hover .theme-content p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

#animated-title {
    visibility: hidden; 
}

.intro-centered {
  display: inline-block; 
  text-align: center;
  font-size: 1.5rem;
  width: 100%; 
  font-weight: 500;
  margin-bottom: 15px; 
  line-height: 1.4;
}

@media (max-width: 768px) {
  .intro-centered {
    text-align: justify; 
    font-size: 1.4rem;   
  }
}

#animated-title span {
    display: inline-block;
    transform: translateX(50px) scale(0.8);
    opacity: 0;
    animation: slideBounce 0.6s both; 
}

@keyframes slideBounce {
    0% {
        transform: translateX(50px) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateX(-10px) scale(1.1);
        opacity: 1;
    }
    80% {
        transform: translateX(5px) scale(0.95);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1; 
    }
}

#dernier_article_widget-2 .widget-last-post > a {
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center; 
}

#dernier_article_widget-2 .widget-last-post .widget-thumb img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 8px; 
}

#dernier_article_widget-2 h4.widget-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0;
  color: black !important;
}

#dernier_article_widget-2 h3.widget-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0;
  color: black !important;
}

.widget-last-post .widget-excerpt {
  text-align: justify;
  font-size: 0.9rem;
  color: black;
}

.newsletter-widget .newsletter-title {
    font-family: 'Baloo 2', cursive;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white !important; 
}

.newsletter-widget .newsletter-image {
  text-align: center;
  margin-bottom: 15px;
}

.newsletter-widget .newsletter-image img {
  max-width: 100%;   
  height: auto;      
  max-height: 270px; 
  border-radius: 8px; 
  display: block;
  margin: 0 auto;    
}

.newsletter-widget .newsletter-container {
  border: 2px solid #f2a765; 
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background-color: #fff; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
  max-width: 320px; 
  margin: 0 auto;
}

.newsletter-widget .newsletter-text {
  font-size: 0.95rem;
  text-align: justify;
  color: white !important;
  margin-bottom: 15px;
  line-height: 1.4;
  padding-left: 15px;
  padding-right: 15px;
  font-family: "Poppins", sans-serif;
}
.newsletter-widget .mailpoet_form {
  text-align: center;
}

.newsletter-widget .mailpoet_form input[type="email"] {
  width: calc(100% - 30px); 
  max-width: 280px;       
  padding: 10px 12px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border-radius: 12px;    
  border: 1px solid #ccc;  
  font-family: "Poppins", sans-serif;
}

.newsletter-widget .mailpoet_form input[type="submit"] {
  width: calc(100% - 30px);  
  max-width: 280px;    
  padding: 10px 0;
  background-color: #6fb1c5;
  border: none;
  border-radius: 12px;    
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-widget .mailpoet_form input[type="submit"]:hover {
  background-color: #2b5876;
}

.widget_recent_comments {
    background: none !important; 
    border: none !important;     
    padding: 0 !important;      
    color: white !important;     
}

.widget_recent_comments a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget_recent_comments a:hover {
    color: #0073aa !important; 
}

.widget_recent_comments:before,
.widget_recent_comments:after {
    content: none !important;
    background: none !important;
}

.widget_video_aleatoire_widget {
    background: none !important;  
    border: none !important;   
    padding: 0 !important;      
    box-shadow: none !important;  
}

.widget_video_aleatoire_widget * {
    background: none !important; 
}

.widget.widget_search,
.widget_search,
.searchform {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.widget.widget_search input[type="search"],
.widget.widget_search input[type="text"],
.searchform input.search-field {
  background: transparent !important;
  color: inherit !important;
  padding: 8px 10px !important;
  border-radius: 6px !important;
}

.widget.widget_search input[type="submit"],
.searchform input[type="submit"] {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
}

/* ====== WIDGET PODCAST RTL ====== */
.widget.widget_podcast_rtl_widget {
  background-color: rgba(255,255,255,0.06) !important; 
  color: #fff !important;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget.widget_podcast_rtl_widget h2,
.widget.widget_podcast_rtl_widget .widget-title {
  color: #fff !important;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.widget.widget_podcast_rtl_widget a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}

.widget.widget_podcast_rtl_widget audio {
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #fff;
}


/* ====== WIDGET PODCAST FRANCE CULTURE ====== */
.widget.widget_podcast_franceculture_widget {
  background-color: rgba(255,255,255,0.06) !important; 
  color: #fff !important;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget.widget_podcast_franceculture_widget h2,
.widget.widget_podcast_franceculture_widget .widget-title {
  color: #fff !important;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.widget.widget_podcast_franceculture_widget .podcast-intro {
  margin-bottom: 15px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  color: #ffffff;
  text-align: justify;
}

.widget.widget_podcast_franceculture_widget img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== Podcast France Culture ===== */
.widget.widget_podcast_franceculture_widget .btn-franceculture {
  display: inline-block;
  padding: 10px 20px;
  background-color: #7A2FFF; 
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.widget.widget_podcast_franceculture_widget .btn-franceculture:hover {
  background-color: #5d20cc;
  transform: translateY(-2px);
}

/* ====== PODCAST ARTE RADIO ====== */
.widget.widget_podcast_arte_widget {
  background-color: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.widget.widget_podcast_arte_widget h2,
.widget.widget_podcast_arte_widget .widget-title {
  color: #fff !important;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.widget.widget_podcast_arte_widget .podcast-intro {
  margin-bottom: 15px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  color: #ffffff;
  text-align: justify;
}

.widget.widget_podcast_arte_widget img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== bouton ARTE ===== */
.widget.widget_podcast_arte_widget .btn-arte {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FF5A00; 
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.widget.widget_podcast_arte_widget .btn-arte:hover {
  background-color: #e64a00;
  transform: translateY(-2px);
}

.primary-slider-item {
    position: relative;
}

.primary-slider-item .slide-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.primary-slider-item .slide-caption {
    position: relative;
    z-index: 10;
}

.primary-slider {
  display: flex !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth !important;
}

.primary-slider-item {
  flex: 0 0 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {

  .primary-slider {
    padding: 0 20px !important;
  }

  .primary-slider-item {
    flex: 0 0 50% !important;   
    max-width: 85% !important;
    margin: 0 auto !important;
  }

  .primary-slider-item .featured-thumbnail {
    height: 200px !important; 
  }

  .primary-slider-item .featured-thumbnail img {
    width: 50% !important;
    height: 50% !important;
  }

  .primary-slider-item .slide-caption {
    font-size: 14px !important;
    padding: 8px !important;
  }

}

@media (max-width: 768px) {
    .sidebar-container-mobile {
        padding-left: 20px; 
    }

    #sidebar {
        width: auto;        
        max-width: 100%;     
        margin-right: 50px;        
        box-sizing: border-box;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column; 
        align-items: center;    
    }

    .footer-col {
        width: 100%;      
        max-width: 400px;  
        padding: 15px 0;   
        text-align: center; 
    }

    .footer-col ul {
        padding-left: 0;   
        list-style-position: inside;
    }

    .footer-col ul li {
        margin-bottom: 8px; 
    }

    .sidebar-social {
        text-align: center;
        margin-top: 10px;
    }

  .footer-text{
    padding-right: 30px;
  }

  .footersocial{
    padding-right: 30px;
  }
}

@media screen and (max-width: 865px) {

  #primary-navigation .navigation {
    display: none;
  }

  body.mobile-menu-active #primary-navigation .navigation {
    display: block !important;
  }

}

@media screen and (max-width: 865px) {

  body.mobile-menu-active #primary-navigation {
    display: block !important;
  }

}

@media screen and (max-width: 865px) {

  #primary-navigation .navigation {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #primary-navigation .menu {
    width: 100% !important;
    padding: 20px;
  }

  #primary-navigation .menu li {
    width: 100%;
    display: block;
  }

  #primary-navigation .menu li a {
    display: block;
    width: 100%;
  }
}

.mobile-menu-active .main-container {
    left: 0 !important;
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


@media (max-width: 768px) {

  .primary-slider .owl-stage-outer,
  .primary-slider .owl-stage,
  .primary-slider .owl-item {
    height: 160px !important;
    display: none;
  }

  .primary-slider-item {
    position: relative !important;
    height: 160px !important;
  }

  .primary-slider-item .featured-thumbnail {
    height: 100% !important;
    overflow: hidden !important;
  }

  .primary-slider-item .featured-thumbnail img {
    width: 100px !important;
    height: 100% !important;
    object-fit: cover !important;
  }

}

@media (max-width: 768px) {

  .primary-slider-item .slide-caption {
    position: absolute !important;
    bottom: 100px !important;
    left: 0;
    right: 0;

    background: rgba(0,0,0,0.6);
    color: #fff;

    padding: 6px 8px;
    font-size: 11px;
    z-index: 10000 !important;
  }

  .primary-slider-item .slide-caption .thecategory {
    font-size: 13px !important;
    font-weight: 800;
    margin-bottom: 2px !important;
  }

  .primary-slider-item .slide-caption .slide-title {
    font-size: 12px !important;
    font-weight: 700;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1em;
  }

}

@media (max-width: 768px) {
    .primary-slider .owl-dots {
        display: none !important;
    }
    .primary-slider-item .slide-caption {
      display: none;
    }
}

.mobile-latest-posts-home {
    display: none;
}

@media (max-width: 768px) {

    .mobile-latest-posts-home {
        display: block;
        padding: 25px 20px 35px;
        background: #fff;
        text-align: center;
        padding-bottom: 10px;
        padding-bottom: 50px;
    }

    .mobile-latest-title {
        font-family: 'Baloo 2', sans-serif;
        font-size: 2rem;
        color: #222;
    }

    .mobile-latest-row {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .mobile-latest-item {
        width: 100%;
    }

    .mobile-latest-item a {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .mobile-latest-thumb img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 14px;
        display: block;
    }

    .mobile-latest-item h3 {
        font-family: 'Baloo 2', sans-serif;
        font-size: 1.1rem;
        line-height: 1.4;
        margin-top: 12px;
        color: #222;
        padding: 0 8px;
    }

    .mobile-more-link {
        margin-top: 30px;
    }

    .mobile-more-link a {
    text-decoration: none;
    border-bottom: none;
}

.mobile-more-link a {
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
}

.mobile-more-link a:hover,
.mobile-more-link a:active,
.mobile-more-link a:focus {
    color: #000;
    text-decoration: none;
    border-bottom: none;
}
}

.mobile-latest-thumb img {
    width: 100%;
    height: 170px !important;
    object-fit: cover;
    display: block;
    border-radius: 0; 
}

.mobile-latest-item {
    width: 100%;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(0, 115, 170, 0.15);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;

    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.mobile-latest-item a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.mobile-latest-item h3 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: 10px;
    padding: 0 8px;
    font-weight: 700;
    color: #2b5876;  
}

.mobile-latest-item h3 {
    position: relative;
}

.mobile-latest-item h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(0, 115, 170, 0.4);
    margin: 10px auto 0;
    border-radius: 2px;
}

.mobile-latest-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 400 !important;
  font-family: 'Baloo 2', sans-serif;
  position: relative;
  padding-top: 220px !important;
}

.mobile-latest-excerpt {
    font-family: 'Baloo 2', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444; 
    margin-top: 10px;
    padding: 0 8px;
    text-align: justify; 
}




.archive .article-wrap,
.category .article-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 100%;
}

.archive .article-card,
.category .article-card {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .archive .article-wrap,
    .category .article-wrap {
        grid-template-columns: 1fr;
    }
}

.page-grid .latestPost,
.page-magazine .latestPost {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
}


.article-wrap.page-grid,
.article-wrap.page-magazine {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 35px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.article-wrap.page-grid .latestPost,
.article-wrap.page-magazine .latestPost {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

.article-wrap .latestPost {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
    padding-bottom: 20px !important;
    position: relative !important;
}

.article-wrap .latestPost .featured-thumbnail {
    width: 100% !important;
}

.article-wrap .latestPost .featured-thumbnail img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    display: block !important;
}

.article-wrap .latestPost header {
    padding: 18px 18px 10px !important;
}

.article-wrap .latestPost .front-view-title,
.article-wrap .latestPost .front-view-title a {
    font-family: 'Baloo 2', cursive !important;
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    color: #2b5876 !important;
    text-align: center !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
    margin: 0 !important;
}

.article-wrap .latestPost .front-view-title::after {
    content: "" !important;
    display: block !important;
    width: 55px !important;
    height: 2px !important;
    background: rgba(43,88,118,0.25) !important;
    margin: 14px auto 0 !important;
}

.article-wrap .latestPost .front-view-content {
    padding: 0 18px !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #444 !important;
    text-align: justify !important;
    margin-top: 10px !important;
}

.article-wrap .latestPost .article-footer {
    margin-top: auto !important;
    padding: 15px 18px 0 !important;
}

.article-wrap .latestPost .readMore {
    display: flex !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .article-wrap.page-grid,
    .article-wrap.page-magazine {
        grid-template-columns: 1fr !important;
    }

    .article-wrap .latestPost .featured-thumbnail img {
        height: 210px !important;
    }
}


.article-wrap .latestPost .readMore a {
    display: inline-block !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    background: #00adb5 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.3s !important;
}

.article-wrap .latestPost .readMore a:hover {
    background: #008c93 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.postsby {
    text-align: center !important;
    font-family: 'Russo One', sans-serif !important;
    font-size: 2.2rem !important;
    margin-bottom: 30px !important;
    font-weight: bold !important;
    color: #6fb1c5 !important;
}


@media (max-width: 768px) {
    .postsby {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
        margin-top: 15px !important;
    }
}


.single-post .entry-content a,
.single-post .post-content a,
.single-post .front-view-content a {
    color: #0073aa !important;
    text-decoration: none;
}

.single-post .entry-content a:hover,
.single-post .post-content a:hover,
.single-post .front-view-content a:hover {
    color: #005a87 !important;
    text-decoration: underline;
}


.comment-respond a {
    color: #0073aa !important;
    text-decoration: none;
}

.comment-respond a:hover {
    color: #005a87 !important;
    text-decoration: underline;
}


/* Bouton submit commentaires */
.comment-respond .submit,
.comment-respond input[type="submit"] {
    background: #00adb5;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Hover */
.comment-respond .submit:hover,
.comment-respond input[type="submit"]:hover {
    background: #008c93;
}


/* Bouton submit commentaires : bleu branding + suppression hover rose */

.comment-respond .form-submit .submit,
.comment-respond input[type="submit"] {
    background: #0073aa !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    box-shadow: none !important;
}

/* Hover */
.comment-respond .form-submit .submit:hover,
.comment-respond input[type="submit"]:hover {
    background: #005a87 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Focus / active (souvent responsable de styles parasites) */
.comment-respond .form-submit .submit:focus,
.comment-respond .form-submit .submit:active,
.comment-respond input[type="submit"]:focus,
.comment-respond input[type="submit"]:active {
    background: #005a87 !important;
    color: #fff !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}