/*
Theme Name: Atoo Next Child
Template: atoo-next
Author: L'équipe Abtel
Author URI: https://abtel.fr
Description: Thème enfant de Atoo Next. Personnalisez ici sans modifier le thème parent.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Text Domain: atoo-next-child
*/
a {
    text-decoration: none;
}

/* Hero home */
.hero-home {
    background-size: 50%;
    background-position: 0 0;
}

.cta-button-double .is-layout-flex {
    flex-wrap: row;
}

/*========================= MENU ===========================*/
.border-col-0 {
    border-left: 3px solid #333 !important;
}

.border-col-1 {
    border-left: 3px solid var(--wp--preset--color--custom-primary) !important;
}

.border-col-1 .mega-menu-title, .border-col-1 .mega-sous-menu-title > a, .border-col-1 .mega-sous-menu-title a:hover {
    color: var(--wp--preset--color--custom-primary) !important;
}

.border-col-2 {
    border-left: 3px solid var(--wp--preset--color--custom-compl-mentaire) !important;
}

.border-col-2 .mega-menu-title, .border-col-2 .mega-sous-menu-title > a, .border-col-2 .mega-sous-menu-title a:hover {
    color: var(--wp--preset--color--custom-compl-mentaire) !important;
}

.border-col-3 {
    border-left: 3px solid var(--wp--preset--color--custom-triadique-2) !important;
}

.border-col-3 .mega-menu-title, .border-col-3 .mega-sous-menu-title > a, .border-col-3 .mega-sous-menu-title a:hover {
    color: var(--wp--preset--color--custom-triadique-2) !important;
}

.border-col-4 {
    border-left: 3px solid #333 !important;
}

.border-col-4 .mega-menu-title, .border-col-4 .mega-sous-menu-title > a, .border-col-4 .mega-sous-menu-title a:hover {
    color: #333 !important;
}


/*========================= HERO ===========================*/
.hero-produit {
    /*margin-top: 4% !important;*/
}

.hero-produit .hero-title {

}

.hero-produit .hero-description {

}

.hero-produit .hero-bouton {

}

.hero-produit .hero-visuel {

}

/* Tuiles */
.tuile-produit {
    border: 1px solid;
    border-radius: 6px;
    width: 100%;
    min-height: 270px !important;
}

.tuile-produit .product-description {
    /*font-size: clamp(14px,1vw,16px)!important;*/
    /*line-height: 1.3em;*/
    margin-bottom: 10px;
}

.tuile-produit a {
    text-decoration: none;
}

.tuile-produit hr {
    opacity: 0;
}

/* Border color */
.tuile-produit.atoo-sync {
    border-color: var(--wp--preset--color--custom-primary);

}

.tuile-produit.sur-mesure {
    border-color: var(--wp--preset--color--custom-triadique-2);

}

.tuile-produit.wise-up {
    border-color: var(--wp--preset--color--custom-compl-mentaire);

}

/* Tuile color */
.tuile-produit.sur-mesure {
    background-color: var(--wp--preset--color--custom-triadique-2);
    color: white;

}

/* Tuile hover */
.tuile-produit:hover {
    background-color: var(--wp--preset--color--custom-primary-light) !important;
}

.tuile-produit.atoo-sync:hover {
    background-color: var(--wp--preset--color--custom-primary-light);

}

.tuile-produit.sur-mesure:hover {
    background-color: var(--wp--preset--color--custom-triadique-2-light) !important;
    color: var(--wp--preset--color--custom-triadique-2) !important;

}
.tuile-produit.sur-mesure:hover a, .tuile-produit.sur-mesure:hover svg{
    color: var(--wp--preset--color--custom-triadique-2) !important;

}

.tuile-produit.wise-up:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--custom-compl-mentaire) 7%, transparent) !important;

}

/* Tuile title color */
.tuile-produit.atoo-sync .solution-name {
    color: var(--wp--preset--color--custom-primary);
}

/* Tuile a color */
.tuile-produit.atoo-sync .product-name a {
    color: var(--wp--preset--color--custom-primary);

}

.solution-name {
    font-size: clamp(0.8rem, 1rem + ((1vw - 0.2rem) * 0.25), 0.9rem) !important;
    font-weight: 400!important;
}

.product-name {
    font-size: clamp(1rem,(16px + 0.1vw), 22px) !important;
    line-height: 1em;
    margin-bottom: 20px !important;
}

/* Boutons */
/* Bouton bleu obtenir une demo */
.bt-obtenir-demo {
    background-color: var(--wp-preset--color--custom-secondary);
    transition: gap 0.25s ease, background-color 0.25s ease;
}

.bt-obtenir-demo a::after {
    content: '→';
    display: inline-block;
    right: 0;
    width: 30px;
    /*height:30px;*/
}

.bt-obtenir-demo a:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--custom-primary) 85%, transparent) !important;
    transition: transform 0.25s ease;
}

.bt-obtenir-demo a:hover::after {
    transform: translateX(6px);
    transition: transform 0.25s ease;
}

.cta-button-double.is-layout-flex {
    flex-wrap: wrap !important;
    flex-direction: column !important;
}

.cta-button-double .wp-block-button.wp-block-button__width-50 {
    width: calc(100% - var(--wp--style--block-gap, .5em) * 0) !important;
}

/*========================= BLOG ===========================*/
.blog-content-article h1, .blog-content-article h2, .blog-content-article h3, .blog-content-article h4, .blog-content-article h5, .blog-content-article h6 {
    margin: 0.9em 0 0 0 !important;
}

.blog-content-article h2 {
    margin: 1.2em 0 0 0 !important;
}

.blog-content-article a {
    text-decoration: underline;
}

.blog-content-article ul, .blog-content-article ol {
    font-size: var(--wp--preset--font-size--small);

}

.blog-content-article a:hover {
    color: var(--wp--preset--color--custom-primary);
}

.blog-content-article strong {
    font-weight: 600;
}

/*========================= TAILLES PICTO  ===========================*/
.picto-lg img {
    min-width: 25px !important;
}
.picto-titre img {
    max-width: 25px!important;
}

/*========================= READ MORE BOUCLE REQUETE  ===========================*/
.wp-block-read-more {
    border-radius: 4px !important;
}

/*========================= TEMOIGNAGES  ===========================*/
.logo_temoignage img {
    max-height: 65px !important;
    width: auto !important;
}

.container-temoignage {
    min-height: 325px !important;
}

/*========================= PLANCHE LOGO  ===========================*/
.planche-logo .wp-block-group {
    padding: 10%;
    border: 1px solid var(--wp--preset--color--accent-6);
}

/*========================= BLOG BAS DE PAGE EN SAVOIR PLUS SUR...  ===========================*/

.blog-bas-page .wp-block-post .wp-block-group h2.wp-block-post-title {
    font-size: clamp(1em, 1rem + ((1vw - 0.2em) * 0.4), 1.1em) !important;
}

.blog-bas-page .wp-block-post .wp-block-group h2 a:hover {
    color: var(--wp--preset--color--custom-primary);
    text-decoration: none !important;
}

/*========================= FOOTER  ===========================*/

footer h2 {
    font-size: calc(var(--wp--preset--font-size--x-large) * 0.675);
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Responsive */
@media screen and (max-width: 781px) {
    .photo-cas-dusage {
        max-width: 50%;
        margin:0 auto!important;
    }
}
@media screen and (max-width: 540px) {
    .photo-cas-dusage {
        max-width: 65%;
    }
}

@media screen and (min-width: 900px) {

    /*.wp-block-buttons.is-vertical {*/
    /*    flex-direction: column!important;*/
    /*}*/
}

@media screen and (min-width: 1200px) {
    .cta-button-double.is-layout-flex {
        flex-wrap: unset;
        flex-direction: row !important;
    }

    .cta-button-double .wp-block-button.wp-block-button__width-50 {
        width: calc(50% - var(--wp--style--block-gap, .5em) * 0.5) !important;
    }

    .col-titre {
        max-width: 25%;
    }

    .col-max-tiers {
        max-width: 32%;
    }
}
@media screen and (max-width: 1286px) {
    .donnee-chiffre {
        border: none;
        margin-top: 10px!important;
    }
}