/* Général Custom */
@font-face {
    font-family: 'Hilsfiger';
    src: url('../../fonts/Hilsfiger-Regular.woff2'),
         url('../../fonts/Hilsfiger-Regular.woff');
    font-weight: normal;
    font-style: normal;
}
.h5, h5{
    /*font-size: 1.10rem !important;*/
}

main {
    flex: 1; /* Takes up remaining space */
}
.wrappe {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.font-x-small {
    font-size: .8em !important;
}
.font-small {
    font-size: 14px !important;
}

.btn{
    color: #fff;
    background-color: #227ac2;
    border-color: #227ac2;
    /*border-radius: 2.625rem;*/
    font-family: 'Source Serif 4', sans-serif !important;
}
.overflow-auto{
    overflow: auto; /* Enable scrolling */
    scrollbar-width: none; /* For Firefox */
}
.container-fluid{
    padding: 0;
}
.search-header .input-group-append .btn{
    padding:10px 10px 10px 20px;
}
.main-search-form-cover {
    max-width: 800px;
}
.main-header.header-style-2.sticky-bar{
    padding: 0 !important;
}
.main-header.header-style-2 .header-tools {
    bottom: 12px;
}
.user-header-icone{
    width: 26px;
}
/* Default for larger screens */
.container {
    max-width: calc(100% - 120px);
}
.logo-main img{
    width: 10%;
}
/* Adjust for laptops and tablets (medium screens) */
@media (max-width: 1024px) {
    h2 {
        font-size: 28px !important; /* Slightly smaller for medium screens */
    }
    .container {
        max-width: calc(100% - 80px); /* Adjust the padding based on your design */
    }
    #footer-logo{
        width: 100%;
    }
}

@media (max-width: 992px) {
    .logo-mobile{
        right: 75px;
        top: -4px;
    }
    .logo-main{
        right: 30%;
        top: -5px;
    }

    .container {
        max-width: calc(100% - 60px);
    }
    .header-social-network .social-icon, .header-tools .search{
        color:#ffffff;
    }
    #off-canvas-toggle span, #off-canvas-toggle span::before, #off-canvas-toggle span::after{
        background-color:#ffffff;
    }
    .main-header.header-style-2 .slicknav_btn {
        top: -10px;
    }
    .main-header.header-style-2 .header-tools {
        right: auto;
    }
    .main-header{
        /*background: #f8c804;*/
        background: #000000 !important;
        border-bottom: 1px solid #000000;
        color:white;
    }
    .user-header-icone, .account-header-button.dropdown-toggle::after, #off-canvas-toggle{
        color: #ffffff;
    }


    .become-writer{
        font-size: 10px !important;
    }
}
@media (max-width: 767px) {
    #footer-logo{
        width: 25%;
    }
}



/* Adjust for tablets and large phones (small screens) */
@media (max-width: 768px) {
    h2 {
        font-size: 22px !important; /* Smaller font size for tablets */
        text-align: left; /* Align text to the left for better readability */
    }
    .container {
        max-width: calc(100% - 40px);
    }
    .search-header{
        border:0px;
    }
    .search-header .input-group {
        flex-direction: column;
        width: 100%;
    }
    .form-control{
        border-radius: 0px;
    }

    .search-header .input-group .form-control {
        width: 100%;

    }

    .search-header .input-group-append {
        width: 100%;
    }

    .search-header .input-group-append .btn {
        width: 100%;
    }
    .user-connexion-btn{
        display: none !important;
    }

}

/* Adjust for smaller phones (very small screens) */
@media (max-width: 576px) {
    h2 {
        font-size: 20px !important; /* Further reduce font size */
        text-align: left; /* Align left to avoid squeezing */
        white-space: normal; /* Allow wrapping */
    }
    .container {
        max-width: calc(100% - 20px);
    }
}

/* Handle extreme small screens and specific mobile layouts */
@media (max-width: 480px) {
    h2 {
        font-size: 18px !important; /* Smallest size for very small screens */
        line-height: 1.3; /* Slightly increased line height for better spacing */
        white-space: normal; /* Allow multi-line wrapping */
        overflow: hidden; /* Hide overflow */
        text-overflow: ellipsis; /* Use ellipsis if needed */
    }
    .entry-header .entry-title {
        font-size: 1em !important;
    }
}

/* Handle ultra-small screens or very narrow widths */
@media (max-width: 360px) {
    h2 {
        font-size: 16px !important; /* Minimum readable size */
        overflow: hidden;
        text-overflow: ellipsis; /* Ellipsis for clipped content */
        max-width: 100%; /* Ensure content doesn't exceed container */
    }
}


/*!* Mobile *!*/
/*.container{*/
/*    max-width: calc(100% - 25px);*/
/*}*/
body{
    font-family: "DM Sans", sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size:16px;
}
h1,h2,h3,h4,h5,h6,.font-heading,.btn,.post-title{
    font-style:normal;
    /*font-weight:400;*/
    text-transform:none;
    font-family:'Hilsfiger',serif;
    line-height:1.5;
    letter-spacing:0.05em;
    color: #1a1a1a;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #1a1a1a !important;
}
.widget-title{
    font-family:'Source Serif 4', sans-serif;
}

.font-family-normal{
    font-family: 'DM Sans', sans-serif;
}
.single-excerpt p{
    font-size:1.5em;
    font-family:'DM Sans',serif;
    color:#000;
}
.entry-main-content p{
    /*font-family:'Source Serif 4',serif;*/
    font-family:'Lora',serif;
    font-size: 0.9em !important;
}
.text-wrap {
    width: 100%; /* Define the width of the container */
    white-space: normal; /* Allow text to wrap normally */
    word-wrap: break-word; /* Force long words to wrap to the next line */
    overflow-wrap: break-word; /* Ensures long text wraps within the container */
    word-break: break-word; /* Break words to fit container */
    line-height: 1.5; /* Adjust line height for readability */
}
/*.pagination .page-item{*/
/*    display: flex;*/
/*    flex: 0 0 auto;*/
/*    width: 48px;*/
/*    height: 48px;*/
/*}*/
/*.pagination .page-item a{*/
/*    font-weight: inherit;*/
/*    color: #fff;*/
/*    background: #1a1a1a;*/
/*}*/
/* MENU Custom */

.slicknav_bt{
    padding-top: 0px !important;
    top: -1px !important;
}
.sticky-bar, .main-navigation{
    background:#f8c804;
}
.open-search-form header .search-icon .ti-search{display:none;}
.open-search-form header .search-icon .ti-close{display:inline;}

.account-header-button.dropdown-toggle::after{
    position:relative !important;
    top: 3px;
}

.main-header.header-style-2 .main-nav ul.sub-menu, .main-header.header-style-2 .main-nav .sub-mega-menu{
    position: absolute;
    min-width: 300px;
    margin-top: -8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 10px rgba(0, 0, 0, .13);
    border-top:0px;
}
.main-header ul>li:hover>ul.sub-menu{
    max-height: 600px;
    pointer-events: initial;
    visibility: visible;
    opacity: 1;
    transition-duration: 600ms;
    transition-property: max-height, opacity;
    animation-timing-function: cubic-bezier(0,0,.16,1);
}
.main-header .main-nav ul ul.sub-menu > li > a{
    display: flex;
    padding: 8px 24px;
    color:#000 !important;
}
.main-header .main-nav ul ul.sub-menu > li > a:hover{
    color: darkgrey !important;
}
.main-header .main-nav ul ul.sub-menu > li > a{
    line-height: 2.5;
}
.menu-heading{
    font-style:normal;
    font-weight:500;
    text-transform:none;
    font-family: "DM Sans", serif;
}
.dropdown-menu-account{
    min-width:200px!important;
    box-shadow:0px 40px 40px 0px rgba(0,0,0,0.05);
    -moz-box-shadow:0px 40px 40px 0px rgba(0,0,0,0.05);
    -webkit-box-shadow:0px 40px 40px 0px rgba(0,0,0,0.05);
    -o-box-shadow:0px 40px 40px 0px rgba(0,0,0,0.05);
    -ms-box-shadow:0px 40px 40px 0px rgba(0,0,0,0.05);
    padding:10px;
    z-index:999999;
}
.dropdown-menu-account li{
    display: flex;
    padding: 4px 24px;
}

.position-absolute-center{
    z-index: 99999;
}
#sidebar-wrapper{
    z-index: 999999;
    right: auto;
}

.main-header.header-style-2 .main-nav ul li>a{
    color:#000000;
}
.errors, .required-star>sup{
    color:red;
}

.become-writer{
    align-items: flex-end;
    display: inline-block;
    text-align: right;
    background-color: #227ac2;
    border-color: #227ac2;
    color:#FFFFFF;
    /*border-radius: 2.625rem;*/
    text-transform: none;
    font-weight: 600;
    line-height: 1;
    /*margin: 0 0 0 .938rem;*/
    padding: 8px 14px 8px;
}
/* Flash News */
#news-flash{
    height: 22px !important;
}

.follow-btn{
    align-items: flex-end;
    display: flex;
    text-align: right;
    position: relative;
}
.header-flex {
    display: flex; /* Enable Flexbox */
    align-items: center; /* Vertically center the items */
    justify-content: space-between; /* Space items to the edges */
    gap: 10px; /* Optional: Add space between the heading and button */
}

.header-flex h2 {
    margin: 0; /* Remove default margin from the heading */
    font-size: 24px; /* Adjust as needed for responsiveness */
}

.header-flex .follow-btn {
    margin-left: auto; /* Push the follow button to the right */
}
.follow-add-button{
    background-color: #000;
    border: 1px solid #000;
    /*border-radius: 25px;*/
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-family: Poppins, Open Sans, Fira Sans, lucida Sans, lucida Sans Unicode, Trebuchet MS, Liberation Sans, Nimbus Sans L, arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    /*margin-left: 10px;*/
    padding: 0 10px;
    text-transform: uppercase;
    transition: all .3s ease;
    vertical-align: center;
}
.following{
    background-color: #fff !important;
    color:#000 !important;

}
.link-more {
    align-items: flex-end;
    display: flex;
    text-align: right;
    margin-bottom: 45px;
}

.background-blue{
    background-color: #227ac2 !important;
    border-color:#227ac2 !important;
}

.text-blue{
    text-color:#227ac2 !important;
}

.link-more .link-more-button{
    background-color: #227ac2;
    border: 1px solid #227ac2;
    /*border-radius: 25px;*/
    /*box-shadow: -5px 5px 0 0 #000;*/
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Poppins, Open Sans, Fira Sans, lucida Sans, lucida Sans Unicode, Trebuchet MS, Liberation Sans, Nimbus Sans L, arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 10px;
    padding: 0 10px;
    text-transform: uppercase;
    transition: all .3s ease;
    vertical-align: center;
}

.border-bottom-1, .horizontal-divider{
    /*border-bottom: 1px solid #000000;*/
}
.vertical-divider > [class*="col-"]:nth-child(n + 2)::after{
    display: none;
}
/*.link-more:after {*/
/*    background: #000;*/
/*    background: #000;*/
/*    content: "";*/
/*    flex-grow: 1;*/
/*    height: 1px;*/
/*    margin: auto;*/
/*    min-width: 20px;*/
/*    order: -1;*/
/*}*/
.link-more .link-more-button:focus,.link-more .link-more-button:hover {
    background-color: #FFFFFF;
    border: 1px solid #000000;
    color:#000000
}

.entry-meta{
    line-height: 1.5;
    /*font-size: .95em !important;*/
    font-family: "DM Sans", serif;
    /*text-transform: uppercase;*/
    font-weight: 550;
}
.become-writer:hover{
    background: #009d5e;
    border: 1px solid #009d5e;
    color: #fff;
}

.post-module-1 .post-content-overlay .entry-meta span.post-cat, .entry-meta.meta-0 span.post-cat{
    white-space: nowrap;
    color: #2c77b8;
    line-height:15px;
    font-weight: 500;
    /*font-size: 18px;*/
    font-family: "DM Sans", serif;
    /*text-transform: uppercase;*/
    padding-right: 0px;
    margin-right: 0px;
}
.post-module-1 .post-content-overlay .entry-meta span.post-cat, .entry-meta.meta-0 span.post-format{
    white-space: nowrap;
    /*color: #8e8e8d;*/
    /*color:#f06635;*/
    color: #1a1a1a;
    line-height:15px;
    font-weight: 500;
    /*font-family: Poppins, Open Sans, Fira Sans, lucida Sans;*/
    font-family: "DM Sans", serif;
    /*font-size: 18px;*/
    /*text-transform: uppercase;*/
}
.post-module-1 .post-content-overlay .entry-meta span.post-tag, .entry-meta.meta-0 span.post-tag{
    color: #84bb1f;
    white-space: nowrap;
    line-height:15px;
    text-transform: uppercase;
    font-family: "DM Sans", serif;
}

.post-thumb-80 img{
    object-fit: cover;
}

.home-video-container{
    object-fit: contain; /* Ensures the image fills the container without distortion */
}
.home-video-container .play-icon, .post-featured-1 .play-icon, .mySwiper .play-icon {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Perfect centering */
    width: 40px; /* Adjust size of the play icon */
    height: 40px;
    color: #000; /* Icon color */
    background-color: #FFF; /* Optional: Add a semi-transparent background */
    border-radius: 50%; /* Make it circular if needed */
    padding: 10px; /* Add some spacing inside */
    cursor: pointer; /* Change cursor to indicate interactivity */
}

.home-video-container .play-icon:hover, .post-featured-1 .play-icon:hover, .mySwiper .play-icon:hover {
    color: rgba(0, 0, 0, 1); /* Change icon color on hover */
    background-color: rgba(255, 255, 255, 0.9); /* Change background on hover */
}

.video-container {
    position: relative;
    width: 100%; /* Prend toute la largeur du parent */
    max-width: 1020px; /* Ajuste selon ton besoin */
    margin: 0 auto; /* Centre la vidéo */
    aspect-ratio: 16 / 9;
    overflow: hidden; /* Prevent overflow */
}

.video-container iframe, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.single-post-media img{
    /*aspect-ratio: 16 / 9;*/
    width:75%;
    /*width: auto; !* Maintain the aspect ratio *!*/
    object-fit: contain; /* Ensure the image fits inside the container */
    display: block; /* Prevent inline spacing issues */
    margin: 0 auto; /* Center the image */

}
.single-post-media{
    height: 30%;
    width: auto; /* Optional, can be 100% or any other value */
    display: flex; /* Flexbox helps center the content */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Optional, hides any overflow */
}

.cat-tag-separator{
    position:relative !important;
    top:-1px;
}


.image-stack .author-image-post {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensure the images are the same size */
    height: 100%;
    object-fit: cover; /* To make sure the images cover the container */
    opacity: 0; /* Hide the images initially */
    transition: opacity 0.5s ease;
}

.image-stack .author-image-post:nth-child(1) {
    opacity: 1; /* Show the first image */
}

.image-stack:hover .author-image-post:nth-child(1) {
    opacity: 0;
}

.image-stack:hover .author-image-post:nth-child(2) {
    opacity: 1;
}

.image-stack:hover .author-img-post:nth-child(3) {
    opacity: 0.5;
}

.post-cat::befor {
    content: "";
    width: 6px;
    height: 6px;
    background: none;
    margin-right: 3px;
    border-radius: 5px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 8px;
    margin-top: -3px;
    border: 1px solid #fff;
}
.post-module-1 .post-content-overlay .entry-meta span.post-cat::after, .entry-meta.meta-0 span.post-cat::after{
    display: none;
}
.entry-meta.meta-2 .author-name{
    /*text-transform: none;*/
    /*font-size: .813rem;*/
    /*color: rgb(153, 153, 153);*/
    /*color: #f06635;*/
    font-weight: 500;
}
.entry-header .entry-title {
    font-size: 1.5em;
}
.single-more-articles .btn-close{
    right:10px;
    background-color: #227ac2;
    border: none;
}
.share-btn ul{
    margin-top:0px !important;
}
@media (min-width: 992px) {
    .entry-wraper, .entry-header.entry-header-style-1, .single-comment {
        max-width: 900px;
        margin: 0 auto;
    }
    .main-header{
        /*background: #FFFFFF;*/
    }
    .become-writer{
        align-items: flex-end;
        display: inline-block;
        text-align: right;
        line-height: 16px;
        padding: 12px 16px;
        background-color: #227ac2;
        border-color: #227ac2;
        color:#FFFFFF;
        /*border-radius: 2.625rem;*/
        text-transform: none;

    }
}

/* Footer CSS */
.footer-area{
    background-color:#f8f9fa;
    color: #000;
}

/* User account */

.profil-informations, .user-password-information{
    border-bottom: 1px solid rgb(225, 225, 225);
}
.nav-item.active{
    /*border-bottom: 2px solid rgb(36, 36, 36);*/
    /*border-left: 0px;*/
    padding: .5rem 1.6rem;
    border: 1px solid #227ac2 !important;
    background-color: #227ac2 !important;
    color: #ffffff;
    /*border-radius: 1.8rem;*/
}


#profilTab .nav-item{
    border-left:0px;
    font-size: 14px;
}
#profilTab{
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 2px;
}

.user-delete-account .button-contactForm{
    background: red;
    border-color: red;
}
.button-contactForm, .btn-blue{
    color:#ffffff !important;
    font-family: 'DM Sans', serif !important;
}
#deleteAccountModal, #loginModal{
    z-index: 999990;
}

/* Post Page */
.social-sticky i {
    display: block;
    color: rgba(0, 0, 0, .54);
    /*border-radius: 50%;*/
    border: 1px solid rgba(0, 0, 0, .34);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-bottom: 0.5rem;
    font-size: 13px;
}
.reacted{
    color:red !important;
}
.entry-left-col{
    left: -15%;
}

.entry-bottom .tags a{
    padding: .5rem 1.6rem;
    border: 1px solid #e2e0d5;
    /*border-radius: 1.8rem;*/
}
.entry-wraper .excerpt p, .single-excerpt p{
    /*text-align: center;*/
    font-size: 1.3em !important;
}
.excerpt, .excerpt p{
    /*font-family:'DM Sans',serif;*/
    font-family: 'Lora',serif;
    font-size: .9em;
    /*margin-bottom: 0px !important;*/
    color: #000;
}

.entry-main-content{
    font-family: 'Source Serif 4', serif;
    line-height: 1.75 !important;
    text-align: justify;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.entry-main-content img {
    max-width: 100%; /* Limits image size */
    height: auto;  /* Maintains aspect ratio */
    margin: 15px;

}
/* Thematique, Format, Tags Page */
.archive-header{
    font-family: 'DM Sans', serif;
}
.sub-category{
    /*border-bottom: 0px;*/
}


/* Home page Featured Post Swiper CSS */
.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    /*height: 20%;*/
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    /*padding-top: 20px;*/
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    /*border-top: 2px solid orange;*/
}


