/*
Theme Name: MeteOBellMag
Template: colormag
Updated: 2025-01-XX
*/

/******************************/
/* COULEUR BACKGROUND METEOBELL */
/*
BODY : #080a0d;
HEADER + MENU + FOOTER : #0f1319
MAIN : #161c26
SECONDARY MAIN + WIDGET : #102036
TITRES : #548ca8
*/
/******************************/
/* COULEUR TEXTE-TITRE METEOBELL */
/*
TEXTE : #cad1d4
TITRE H1 :
*/
/******************************/


body {
    background-color: #080a0d !important;
}

h3 {
    color: #81B2C9 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.6em;
    padding-top: 25px;
}



.wp-caption {
    border-style: none;
    margin-bottom: 0;
}

#secondary .widget ul li,
#colophon .widget ul li {
    padding-right: 5px;
    padding-left: 5px;
}

#content .post .article-content .entry-title {
    font-size: 1.5em;
}

.dark-skin #site-description {
    color: #cad1d4;
}

.dark-skin #page,
.dark-skin #main {
    background-color: #161c26 !important;
}

.dark-skin #content .post .article-content .entry-title a {
    color: #cad1d4 !important;
    text-shadow: 0 0 10px rgba(55, 185, 197, 0.91);
}

.dark-skin #content .post .article-content .entry-title a:hover {
    color: #37b9c5 !important;
    text-decoration: none;
    text-shadow: 3px 3px 5px rgba(99, 142, 163, 0.6);
}

#site-navigation {
    background-color: #0f1319;
}

.dark-skin #header-text-nav-container,
.dark-skin .news-bar {
    background-color: #0f1319 !important;
}

.dark-skin #secondary .widget {
    background-color: #102036 !important;
}

.taille_500 {
    width: 500px !important;
    max-width: 500px !important;
}

.taille_400 {
    width: 400px !important;
    max-width: 400px !important;
}

.elementor-widget-container .tg_module_block .tg-module-info h3.tg-module-title {
	color: white!important;
}

.h1_ombre,
.premium-blog-entry-title,
.elementor-widget-container .tg_module_block .tg-module-info h3.tg-module-title
 {
    text-shadow: 0 0 10px rgba(55, 185, 197, 0.91);
}

h2.premium_banner_title {
	text-shadow: 0 0 20px rgba(255, 250, 250, 1)!important;
}

.h2_ombre {
    text-shadow: 3px 3px 5px rgba(99, 142, 163, 0.6);
}

#header-text-nav-wrap {
    padding: 0;
}


/* =========================================================
   RESPONSIVE HEADER / NEWS BAR
========================================================= */
@media screen and (min-width: 767px) {
    #header-text-nav-container {
        position: relative;
    }

    .news-bar {
        position: absolute;
        top: 10px;
        right: 25px;
        width: 200px;
    }
}

@media screen and (max-width: 767px) {
    .img_responsive_article,
    .responsive_video_left {
        float: none !important;
        text-align: center !important;
        display: block !important;
        margin: auto !important;
        padding-top: 0 !important;
    }

    .responsive_video_left {
        width: 100% !important;
    }

    .news-bar {
        text-align: center;
    }

    .social-links {
        float: none;
    }
}

@media screen and (max-width: 480px) {
    .img_responsive_article,
    .responsive_video_left {
        width: 100% !important;
    }
}


/* =========================================================
   TITRE COLORMAG FOR WORDPRESS EDITOR
========================================================= */
#colormag_title_custom {
    position: relative;
    display: flex;
}

#colormag_title_custom div {
    padding: 10px 0;
    font-size: 14px;
    margin-bottom: 42px;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

#colormag_title_custom h4 {
    border-bottom: 1px solid #548ca8;
    padding-bottom: 0;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: normal;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

#colormag_title_custom h4 span {
    padding: 7px 12px;
    display: inline-block;
    color: #FFFFFF;
    font-size: 2em;
    background-color: #548ca8;
}


img.img_article_p {
    margin-top: 7px;
    margin-bottom: 7px;
}

/* Remplace l'espacement par défaut des puces d'Elementor */
.entry-content li {
    margin-bottom: 10px;
}

.entry-content ul {
    margin-bottom: 15px;
}

/* Pour aligner les images dans les articles au texte */
.img_responsive_article {
    padding-top: 5px;
    padding-bottom: 15px;
}

.wp-caption img[class*="wp-image-"] {
    margin: 0 auto 0;
}

.wp-caption img[class*="img_responsive_article"] {
    padding-bottom: 0;
}

.responsive_video_left {
    display: inline;
    float: left;
    margin-right: 30px;
    padding-top: 5px;
    padding-bottom: 15px;
    width: 500px;
    max-width: 500px;
}


/* =========================================================
   BARRE SOCIALE PRO (au-dessus du footer)
========================================================= */
.mb-social-strip-wrap {
    background: #0f1319 !important;
    border-top: 1px solid rgba(84, 140, 168, 0.25);
    border-bottom: 1px solid rgba(84, 140, 168, 0.25);
}

.mb-social-pro {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 10px 0 8px;
}

.mb-social-pro a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: #cad1d4 !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
    line-height: 1;
    opacity: 0.92;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.mb-social-pro a + a {
    border-left: 1px solid rgba(129, 178, 201, 0.28);
}

.mb-social-pro i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    font-size: 15px;
    line-height: 1;
    color: #81B2C9;
}

.mb-social-pro a:hover {
    color: #fff !important;
    opacity: 1;
}

.mb-social-pro a:hover i,
.mb-social-pro a:hover .mb-social-icon-butterfly {
    color: #37b9c5;
}

/* Papillon footer : même technique, couleur harmonisée */
.mb-social-pro .mb-social-icon-butterfly {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    height: 16px;
    font-size: 0;
    position: relative;
}

.mb-social-pro .mb-social-icon-butterfly::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-color: #81B2C9;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(0 18)' d='m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z'/%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(0 18)' d='m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z'/%3E%3C%2Fsvg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.mb-social-pro a:hover .mb-social-icon-butterfly::before {
    background-color: #37b9c5;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .mb-social-pro {
        row-gap: 10px;
    }

    .mb-social-pro a {
        padding: 0 10px;
        font-size: 13px;
    }

    .mb-social-pro a + a {
        border-left: none;
    }
}


/* =========================================================
   ICÔNES SOCIALES HEADER
========================================================= */
.social-links ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links ul li {
    display: flex;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    padding: 0 !important;
    float: none;
}

.social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    text-decoration: none;
}

/* Base icônes Font Awesome */
.social-links ul li a i.fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-family: FontAwesome !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 18px;
    line-height: 1;
    color: #81B2C9;
}

/* Forcer les bons glyphes FA4 sur toutes les pages */
#masthead .social-links li.social-instagram a i.fa::before {
    content: "\f16d";
}

#masthead .social-links li.social-youtube a i.fa::before {
    content: "\f167";
}

#masthead .social-links li.social-facebook a i.fa::before {
    content: "\f09a";
}

#masthead .social-links li.social-github a i.fa::before {
    content: "\f09b";
}

/* Bluesky header */
.social-links .social-icon-butterfly {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 0;
    position: relative;
}

.social-links .social-icon-butterfly::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #1d6fff;
    transform: translateY(1.8px);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(0 18)' d='m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z'/%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='translate(0 18)' d='m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z'/%3E%3C%2Fsvg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Couleurs header */
.social-links li.social-instagram a i.fa {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.social-links li.social-youtube a i.fa {
    color: #ff0000 !important;
    font-size: 17px;
}

.social-links li.social-facebook a i.fa {
    color: #1877f2 !important;
}

.social-links li.social-github a i.fa {
    color: #ffffff !important;
    transform: translateX(-2px);
}

/* Hover header */
.social-links li.social-bluesky a:hover .social-icon-butterfly::before {
    background-color: #37b9c5;
    transition: background-color 0.3s ease;
}

.social-links li.social-youtube a:hover i.fa,
.social-links li.social-facebook a:hover i.fa,
.social-links li.social-github a:hover i.fa,
.social-links li.social-instagram a:hover i.fa {
    color: #37b9c5 !important;
    transition: color 0.3s ease;
}

/* Instagram : supprimer le dégradé au hover pour passer en bleu */
.social-links li.social-instagram a:hover i.fa {
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #37b9c5 !important;
    background-clip: border-box !important;
}


/* =========================================================
   FOOTER BAS : liens légaux + copyright custom
========================================================= */

/* Cacher le copyright natif ColorMag tout en bas */
.footer-socket-wrapper {
    display: none !important;
}

/* Réduire l'espace entre barre sociale et les 3 colonnes */
.footer-widgets-area {
    padding-top: 0 !important;
}

/* Réduire l'espace au-dessus du 1er widget */
#colophon .widget {
    margin-bottom: 18px !important;
}

/* Couleur dark de la zone annonce au-dessus du footer */
.advertisement_above_footer,
.advertisement_above_footer .widget,
.advertisement_above_footer .inner-wrap {
    background-color: #0f1319 !important;
    color: #cad1d4 !important;
}

/* Harmoniser le style du titre dans cette zone */
.advertisement_above_footer .widget-title {
    border-bottom: 1px solid #548ca8 !important;
}

.advertisement_above_footer .widget-title span {
    background-color: #548ca8 !important;
    color: #fff !important;
}

/* Texte de la zone annonce */
.advertisement_above_footer p,
.advertisement_above_footer li,
.advertisement_above_footer a {
    color: #cad1d4 !important;
}

/* Footer widgets dark */
.footer-widgets-wrapper,
.footer-widgets-area {
    background-color: #0f1319 !important;
    color: #cad1d4 !important;
}

.footer-widgets-area p,
.footer-widgets-area li,
.footer-widgets-area a {
    color: #cad1d4 !important;
}

/* Desktop : 3 colonnes + 4e pleine largeur */
@media screen and (min-width: 769px) {
    .footer-widgets-wrapper .tg-footer-main-widget {
        float: left !important;
        width: 33.333% !important;
        margin-right: 0 !important;
        padding-right: 15px !important;
    }

    .footer-widgets-wrapper .tg-footer-other-widgets {
        float: left !important;
        width: 66.666% !important;
        padding-left: 15px !important;
    }

    .footer-widgets-wrapper .tg-second-footer-widget,
    .footer-widgets-wrapper .tg-third-footer-widget {
        float: left !important;
        width: 50% !important;
        margin-right: 0 !important;
        padding-right: 15px !important;
    }

    .footer-widgets-wrapper .tg-third-footer-widget {
        padding-right: 0 !important;
        padding-left: 15px !important;
    }

    .footer-widgets-wrapper .tg-fourth-footer-widget {
        float: left !important;
        clear: both !important;
        width: 150% !important;
        margin-left: -50% !important;
        margin-right: 0 !important;
        padding-top: 20px !important;
    }

    .footer-widgets-wrapper .tg-fourth-footer-widget,
    .footer-widgets-wrapper .tg-fourth-footer-widget p {
        text-align: center !important;
    }

    .footer-widgets-wrapper .tg-footer-main-widget,
    .footer-widgets-wrapper .tg-second-footer-widget,
    .footer-widgets-wrapper .tg-third-footer-widget {
        min-height: 365px;
    }

    .footer-widgets-area p {
        margin-bottom: 12px !important;
        line-height: 1.42;
    }
}

/* Mobile / tablette */
@media screen and (max-width: 768px) {
    .footer-widgets-wrapper .tg-footer-main-widget,
    .footer-widgets-wrapper .tg-footer-other-widgets,
    .footer-widgets-wrapper .tg-second-footer-widget,
    .footer-widgets-wrapper .tg-third-footer-widget,
    .footer-widgets-wrapper .tg-fourth-footer-widget {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-widgets-wrapper .tg-fourth-footer-widget,
    .footer-widgets-wrapper .tg-fourth-footer-widget p {
        text-align: left !important;
    }
}

/* Ajustement final du 4e widget */
.footer-widgets-wrapper .tg-fourth-footer-widget {
    padding-top: 14px !important;
    padding-bottom: 6px !important;
}

/* Boutons / chips uniformes */
.mb-btn-chip {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    border: 1px solid #548ca8;
    border-radius: 4px;
    color: #cad1d4 !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.2;
    transition: 0.2s ease;
}

.mb-btn-chip:hover {
    background: #548ca8;
    color: #fff !important;
}

.mb-legal-links {
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.82;
    padding-top: 8px;
}

.mb-legal-links a {
    color: #cad1d4 !important;
    text-decoration: none;
    border-bottom: 1px dotted rgba(202, 209, 212, 0.35);
}

.mb-legal-links a:hover {
    color: #9fc3d6 !important;
    border-bottom-color: #81B2C9;
}

.mb-legal-links .sep {
    margin: 0 8px;
    color: rgba(202, 209, 212, 0.45);
}

@media (max-width: 768px) {
    .mb-legal-links .sep {
        display: none;
    }

    .mb-legal-links a {
        display: inline-block;
        margin: 2px 6px;
    }
}

.mb-copyright {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #9aa7b3;
    opacity: 0.9;
}

.main-navigation a {
	font-family: "Open Sans", sans-serif!important;
	font-size: 16px!important;
	font-weight: normal!important;
}