/* Page Builder (Visual Composer) elements */


/* Table of Contents
-------------------------------------------------------

    # General Styles
    # Row
    # Subscribe Box
    # Blockquote
    # Search Form
    # Hero Heading
    # Banner Slider
    # Responsive column
    # wpb_text_column
    # Social Media
    # Pagination
    # FAQ
    # Load More Button
    # Image Effect
    # Marquee
    # Contact Form
    # Team Member
    # Button
*/

/* # General Styles
------------------------------------------------------- */
body.dark-mode .is-custom-dark,
body.dark-mode .is-custom-dark[class*="vc_custom_"],
body.dark-mode .is-custom-dark [class*="vc_custom_"] {
    background-color: #232424 !important;
}

/*Equal Height Columns*/
@media (min-width: 992px) {
    .ma-colonne-flex {
        min-height: 400px !important; 
        display: flex !important;
        flex-direction: column !important;
    }

    .ma-colonne-flex > .vc_column-inner,
    .ma-colonne-flex > .wpb_wrapper { 
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: center !important;    
        height: 100% !important;
        width: 100% !important;
        flex-grow: 1 !important;
    }
}

@media (max-width: 991px) {
     .vc_row, .vc_row-inner {
        display: flex !important;
        flex-direction: column !important;
    }

    .vc_row > .wpb_column, 
    .vc_row-inner > .wpb_column_inner {
        float: none !important;
        width: 100% !important;
    }

    .ma-colonne-flex {
        order: 2 !important;
    }

    .wpb_column:not(.ma-colonne-flex), 
    .wpb_column_inner:not(.ma-colonne-flex) {
        order: 1 !important;
    }
}

/* # Row
------------------------------------------------------- */
.vc_column_container>.vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.vc_column-inner {
    padding-top: 0 !important;
}

/* Adds horizontal padding to all basic VC elements */
.wpb_text_column,
.vc_btn3-container,
.vc_custom_heading,
.vc_icon_element,
.vc_separator,
.vc_message,
.vc_single_image,
.wpb_single_image .vc_single_image-wrapper {
    padding-left: 15px;
    padding-right: 15px;
}

/* # Subscribe Box
------------------------------------------------------- */
.blogosphere-subscribe-box {
    padding: 50px;
    border-radius: 8px;
}

.blogosphere-subscribe-box form {
    position: relative;
    width: 57%;
    display: block;
    margin:auto;
}

.blogosphere-subscribe-box input[type="email"],
.blogosphere-subscribe-box .tnp-email {
    width: 100%;
    padding: 14px 130px 14px 15px;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none !important;
    height: 52px;
    background: aliceblue !important;
}

.blogosphere-subscribe-box input[type="submit"],
.blogosphere-subscribe-box button,
.blogosphere-subscribe-box .tnp-submit,
.tnp-submit {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 25px;
  background: #ff5e5e;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  float: right;
}

.blogosphere-subscribe-box input[type="submit"]:hover,
.blogosphere-subscribe-box button:hover,
.blogosphere-subscribe-box .tnp-submit:hover {
  background: #e04b4b;
}

/* Responsive */
@media (max-width: 600px) {
  .blogosphere-subscribe-box input[type="email"],
  .blogosphere-subscribe-box .tnp-email {
    padding-right: 15px;
  }
  .blogosphere-subscribe-box input[type="submit"],
  .blogosphere-subscribe-box button,
  .blogosphere-subscribe-box .tnp-submit {
    position: static;
    width: 100%;
    margin-top: 10px;
    border-radius: 6px;
    height: auto;
    padding: 12px;
  }
}

/* # Blockquote
------------------------------------------------------- */
.blogosphere-blockquote {
    padding: 30px 30px 30px 30px;
    position: relative;
}

.blogosphere-blockquote-symbol {
    font-size: 2.5em;
    display: block;
    margin-bottom: 0.3em;
}

/* # Search Form
------------------------------------------------------- */
.search-form {
    margin-top: 0;
    height: 60px;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 0;
}

/* # Hero Heading
------------------------------------------------------- */
.heading-default,
.heading-style-1 {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 0;
    line-height: 1.28;
}

/* LTR */
.heading-default.text-align-center,
.heading-style-1.text-align-center,
.heading-style-2.text-align-center {
    left: 50%;
    transform: translateX(-50%);
}

/* RTL */
html[dir="rtl"] .heading-default.text-align-center,
html[dir="rtl"] .heading-style-1.text-align-center,
html[dir="rtl"] .heading-style-2.text-align-center {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

html[dir="rtl"] .heading-style-2.text-align-left::after {
     right:102%;
     left: auto;
}

.heading-style-1::before {
    content: "";
    width: 100%;
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
/*    background-color: #8ff6b8;*/
    height: 20px;
    opacity: 0.4;
}

h3.heading-style-1::before {
    height: 15px;
}

h4.heading-style-1::before {
    height: 13px;
}

h5.heading-style-1::before {
    height: 10px;
}

h6.heading-style-1::before {
    height: 8px;
}

.heading-style-2 {
    position: relative;
    display: inline-block;
}

.heading-style-2::after {
    content: "";
    display: block;
    width: 54px;
    left: 102%;
    top: 59%;
    position: absolute;
    height: 2px;
    background-color: #000;
}

.heading-style-2.text-align-center::before {
    content: "";
    display: block;
    width: 36%;
    left: -38%;
    top: 59%;
    position: absolute;
    height: 2px;
    background-color: #000;
}

.heading-style-2.text-align-center::after {
    content: "";
    display: block;
    width: 36%;
    left: 102%;
    top: 59%;
    position: absolute;
    height: 2px;
    background-color: #000;
}

.heading-style-2.color-light::before,
.heading-style-2.color-light::after {
    background-color: #fff !important;
}

.heading-style-2.color-dark::before {
    background-color: #2e2e2e !important;
}

/* # Banner Slider
------------------------------------------------------- */
.blogosphere-banner-slider.columns-1 .single-post .figure-holder .link-img img {
    position:absolute;
    top:0;
}

@media (max-width: 768px) {
.blogosphere-banner-slider.columns-1 .single-post .content-holder {
    width: 100% !important;
  }
}

/* # Responsive Column
------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vc_column_container {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .vc_column-inner .vc_column_container {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }
}

@media (max-width: 575.98px) {
    .vc_column_container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* # wpb_text_column
------------------------------------------------------- */
.wpb_text_column li {
    max-width: 785px;
    width: 100%;
    padding-left: 10px;
    margin-bottom: 10px;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    line-height: 36px;
}

.wpb_text_column li:last-child {
    margin-bottom: 1rem;
}

.wpb_text_column li p {
    grid-column: 2;
    display: block !important;
}

.wpb_text_column h1,
.wpb_text_column h2,
.wpb_text_column h3,
.wpb_text_column h4,
.wpb_text_column h5,
.wpb_text_column h6 {
    margin-bottom: 20px !important;
}

.wpb_text_column.color-dark * {
   color: #2a2a2a;
}

.wpb_text_column.color-light * {
   color: #fff;
}

.wpb_text_column li::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 8px;
    vertical-align: middle;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #000;
    grid-column: 1;
    align-self: start;
    margin-top: 1.02em;

}

.wpb_text_column.color-dark li::before {
    border-left: 7px solid #494e51;
}

.wpb_text_column.color-light li::before {
    border-left: 7px solid #ffffff;
}

/* # Social Media
------------------------------------------------------- */
.social-media-section {
    text-align: left;
}

.social-media-section h5 {
    margin-bottom: 13px;
    font-style: italic;
    font-size: 14px;
}

.social-media-icons {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
}

.social-icon.facebook-icon {
    background-color: #1877f2;
}

.social-icon.facebook-icon:hover {
    background-color: #1558a1;
    transform: scale(1.1);
}

.social-icon.twitter-icon {
    background-color: #1da1f2;
}

.social-icon.twitter-icon:hover {
    background-color: #0d95e8;
    transform: scale(1.1);
}

.social-icon.instagram-icon {
    background-color: #e4405f;
}

.social-icon.instagram-icon:hover {
    background-color: #d12f47;
    transform: scale(1.1);
}

.social-icon.linkedin-icon {
    background-color: #0077b5;
}

.social-icon.linkedin-icon:hover {
    background-color: #005f8c;
    transform: scale(1.1);
}

.social-icon.youtube-icon {
    background-color: #ff0000;
}

.social-icon.youtube-icon:hover {
    background-color: #cc0000;
    transform: scale(1.1);
}

.social-icon.pinterest-icon {
    background-color: #e60023;
}

.social-icon.pinterest-icon:hover {
    background-color: #d4001f;
    transform: scale(1.1);
}

.social-icon.snapchat-icon {
    background-color: #fffc00; 
    color: black;
}

.social-icon.snapchat-icon:hover {
    background-color: #ffdb00;
    transform: scale(1.1);
}

.social-icon.tiktok-icon {
    background-color: #000000;
}

.social-icon.tiktok-icon:hover {
    background-color: #333333;
    transform: scale(1.1);
}

.social-icon.whatsapp-icon {
    background-color: #25d366; 
}

.social-icon.whatsapp-icon:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.social-icon.telegram-icon {
    background-color: #0088cc; 
}

.social-icon.telegram-icon:hover {
    background-color: #007bb2; 
    transform: scale(1.1);
}

.social-icon.reddit-icon {
    background-color: #ff4500;
}

.social-icon.reddit-icon:hover {
    background-color: #e02e00;
    transform: scale(1.1);
}

.social-icon.discord-icon {
    background-color: #7289da;
}

.social-icon.discord-icon:hover {
    background-color: #5b6eae;
    transform: scale(1.1);
}

.social-icon:focus {
    outline: none;
}

@media (max-width: 600px) {
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* # Pagination
------------------------------------------------------- */
.blogosphere-pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.blogosphere-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blogosphere-pagination .page-numbers:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.blogosphere-pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
    cursor: default;
}

.blogosphere-pagination .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    color: #333;
    cursor: default;
}

/* # FAQ
------------------------------------------------------- */
.faq-pro-item { 
    border: none !important;
    background: #fff; 
}

.faq-pro-title {
    font-size: 22px;
}

.faq-pro-handle { 
    padding-top: 20px; 
    padding-bottom: 20px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    font-weight: bold; 
    color: #000; 
}

/* REMPLACEMENT DE BEFORE/AFTER PAR GRADIENT */
.faq-pro-status { 
    margin-right: 15px; 
    width: 15px; 
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    /* On dessine la barre horizontale et verticale ici */
    background: 
        linear-gradient(#000, #000) center/100% 2px no-repeat, 
        linear-gradient(#000, #000) center/2px 100% no-repeat;
}

/* État ouvert : on fait une rotation de 45 degrés pour transformer le + en X (ou 90 selon ton choix) */
.faq-pro-item.is-open .faq-pro-status { 
    transform: rotate(45deg); 
}

.faq-pro-content { 
    height: 0; 
    overflow: hidden; 
    transition: height 0.4s ease; 
}

.faq-pro-inner { 
    padding: 4px 0; 
    color: #000; 
}

.faq-pro-inner p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-pro-title {
        font-size: 18px;
    }

    .faq-pro-handle {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .faq-pro-status { 
        width: 12px; 
        height: 12px;
        margin-right: 10px;
    }
}

/* # Load More Button
------------------------------------------------------- */
.blogosphere-load-more-button  {
    width: max-content;
    padding: 7px 30px;
    border-radius: 30px;
    border: 1px solid #fff;
    transition: .2s;
}

.blogosphere-load-more-button:hover {
    border: 1px solid #fff;
    opacity: 0.9;
}



/* # Image Effect
------------------------------------------------------- */
.zoom-effect,
.light-effect {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: block;
}

.zoom-effect img,
.light-effect img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease-in-out;
}

.zoom-effect:hover img {
    transform: scale(1.05);
}

.light-effect img {
    filter: brightness(0.85);
}

.light-effect:hover img {
    filter: brightness(1.15);
}

.slide-effect {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.slide-effect img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slide-effect::after {
    content: '';
    position: absolute;
    top: -150%;
    left: 50%;
    transform: translateX(-50%) rotate(20deg);
    width: 200%;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(30px);
    opacity: 0;
    pointer-events: none;
    transition: top 0.8s ease-in-out, opacity 0.4s ease;
    z-index: 1;
}

.slide-effect:hover::after {
    top: 150%;
    opacity: 1;
}

.parallax-light {
    position: relative;
    overflow: hidden;
}

.parallax-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
}

.parallax-light:hover::before {
    transform: translate(calc(-50% + 20px), calc(-50% + 20px)) scale(1);
    opacity: 1;
}

.reveal-dark {
    position: relative;
    overflow: hidden;
}

.reveal-dark::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.reveal-dark:hover::after {
    opacity: 1;
}

.gradient-flash {
    position: relative;
    overflow: hidden;
}

.gradient-flash::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(120deg, rgba(255,0,150,0.2), rgba(0,200,255,0.2));
    transition: transform 0.6s ease-in-out;
    transform: translate(0, 0) rotate(20deg);
    pointer-events: none;
    z-index: 1;
}

.gradient-flash:hover::before {
    transform: translate(33%, 33%) rotate(20deg);
}

/* # Marquee
------------------------------------------------------- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  height: 140px;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.marquee-container-fluid {
    width: 99vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.marquee-border {
    border-top: 1px solid #cac8c8;
    border-bottom: 1px solid #cac8c8;
}

.custom-marquee-text-wrapper {
  background-color: #fff; 
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-text-style-1,
.marquee-style-ltr,
.marquee-style-ttb,
.marquee-style-btt {
  display: inline-block;
  white-space: nowrap;
  font-size: 90px;
  color: #cac8c8;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

.marquee-text-style-1 {
  animation-name: marquee-style-1;
  position:absolute;
  left:0;
}

@keyframes marquee-style-1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-style-ltr {
  animation-name: marquee-style-ltr;
  position:absolute;
  left:0;
}

@keyframes marquee-style-ltr {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

.marquee-style-ttb {
  animation-name: marquee-style-ttb;
}

@keyframes marquee-style-ttb {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.marquee-style-btt {
  animation-name: marquee-style-btt;
}

@keyframes marquee-style-btt {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

.marquee-text-style-1:hover,
.marquee-style-ltr:hover,
.marquee-style-ttb:hover,
.marquee-style-btt:hover {
  animation-play-state: paused;
}

/* # Contact Form
------------------------------------------------------- */
.blogosphere-contact-form {
  margin: 0 auto;
}

.blogosphere-contact-form {
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    border: 1px solid #000;
}

.blogosphere-contact-form .form-group {
    margin-bottom: 20px;
}

.blogosphere-contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: all 0.3s ease;
}

.blogosphere-contact-form .form-control:focus {
    border-color: #007bff;
}

.blogosphere-contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.blogosphere-contact-form .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.3s;
    max-width: 50%;
    width: 30%;
}

.blogosphere-contact-form .btn-submit:hover {
    background-color: #0056b3;
    opacity: 0.9;
}

.blogosphere-contact-form .form-result {
    margin-top: 15px;
    font-size: 15px;
}

.blogosphere-contact-form .form-result.success {
    color: #28a745;
}

.blogosphere-contact-form .form-result.error {
    color: #dc3545;
}

/* # Team Member
------------------------------------------------------- */
.team-member .figure-holder {
    overflow: hidden;
    margin-bottom: 15px;
}

.team-member .content-holder {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.team-member .social-media-icons {
    display: inline-block;
}

.team-member .social-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    border-radius: 50%;
    font-size: 13px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
}

/* # Button
------------------------------------------------------- */
.draggable-button  {
    width: max-content;
    padding: 7px 30px;
    border-radius: 30px;
    border: 1px solid #fff;
    transition: .2s;
}

.draggable-button:hover {
    border: 1px solid #fff;
    opacity: 0.9;
}
