/*
Theme Name: detecteurs.business - Blog
Description: detecteurs.business - Blog est un thème enfant du thème twentytwenty
Author: Dylan - FDS PRO
Author URI: https://www.fdspro.com
Template: twentytwenty
Version: 1.0.0
*/
/* ---- IMPORT ---- */
@import 'assets/css/header.css';
@import 'assets/css/top-post.css';
@import 'assets/css/home.css';
@import 'assets/css/single-post.css';
@import 'assets/css/author.css';
@import 'assets/css/sidebar.css';
@import 'assets/css/footer.css';


/* ---- FONTS ---- */
@font-face {
    font-family: 'Rubik';
    src: url('assets/fonts/Rubik-Bold.ttf');
}
@font-face {
    font-family: 'Poppins-Regular';
    src: url('assets/fonts/Poppins-Regular.ttf');
}
@font-face {
    font-family: 'Poppins-Bold';
    src: url('assets/fonts/Poppins-Bold.ttf');
}


/*==== SCROLLBAR ====*/
::-webkit-scrollbar-thumb {background: var(--color-orange);}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
/*==== FIN SCROLLBAR ====*/


/* ---- ROOT ---- */
:root{

    /*==== COLORS ====*/
        /* -- Primary -- */
        --color-orange: #F59C23;
        --color-red: #D64033;

        /* -- Secondary -- */
        --color-orangepale: #FFF9ED;
        --color-pink: #FF897F;
        --color-blue: #BFE8FF;
        --color-green: #499210;

        /* -- Neutral -- */
        --color-white: #FFFFFF;
        --color-offwhite: #FDFCFA;
        --color-lightgrey: #EDEBEB;
        --color-grey: #757575;
        --color-black: #252525;

        /* -- Gradient -- */
        --color-gradient: linear-gradient(97deg, rgba(245, 156, 35, 0.74) 0.98%, rgba(255, 207, 141, 0.74) 99.77%);
    /*==== FIN COLORS ====*/

    /*==== SHADOWS ====*/
    --shadow: 0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08);
    /*==== FIN SHADOWS ====*/

    /*==== BORDER RADIUS ====*/
    --br-4: 4px;
    --br-10: 10px;
    --br-30: 30px;
    /*==== FIN BORDER RADIUS ====*/

    /*==== SPACER ====*/
    --spacer-1: 8px;
    --spacer-2: 16px;
    --spacer-3: 24px;
    --spacer-4: 32px;
    --spacer-5: 40px;
    /*==== FIN SPACER ====*/

    /*==== FONT-SIZE ====*/
    --h1: 20px;
    --h2: 18px;
    --h3: 16px;
    --h4: 14px;
    --h5: 12px;
    --sub-title1: 15px;
    --sub-title2: 14px;
    /*==== FIN FONT-SIZE ====*/
   
}

#wpadminbar a{
    color: var(--color-white) !important;
}

html{
    scroll-behavior: smooth;
}

body{font-family: 'Roboto-Regular', Arial, Helvetica, sans-serif;}

h1, h2, h3, h4, .h1, .h2, .h3, .h4, .h5{
    font-family: 'Rubik', Arial, Helvetica, sans-serif;
    line-height: normal;
    text-transform: initial;
}
h1, .h1{font-size: var(--h1);}
h2, .h2{font-size: var(--h2);}
h3, .h3{font-size: var(--h3);}
h4, .h4{font-size: var(--h4);}
h5, .h5{font-size: var(--h5);}

.sub-title-1{
    font-size: var(--sub-title1);
    font-family: 'Poppins-Bold', Arial, Helvetica, sans-serif;
}
.sub-title-2{
    font-size: var(--sub-title2);
    font-family: 'Poppins-Bold', Arial, Helvetica, sans-serif;
}

p, span, a, li{
    font-family: 'Poppins-Regular', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: normal;
}
p, span{color: var(--color-black)}
p{margin: 0;}

img{max-width: 100%;}

ul{list-style-position: inside;}

a{
    color: var(--color-black) !important;
    text-decoration: none;
}
a:focus, a:hover{text-decoration: underline !important;}

.post-inner a{
    text-decoration: underline;
    color: #42850E!important;
}

b, strong{font-family: 'Poppins-Bold', Arial, Helvetica, sans-serif;}


section{
    padding: var(--spacer-3) 0;
}


.section-inner{
    width: calc(100% - 30px);
}

.featured-media{
    margin: 0;
}

/* SEARCH */
.search-form{
    margin: 0 auto;
    display: block;
    position: relative;
    width: 276px;
}
.search-form .custom__search-field{
    margin: 0;
    border-radius: 50px;
    width: 276px;
    display: block;
    padding: 14px 40px 14px 16px;
}
.search-form .custom__search-field:focus{
    outline: thin solid var(--color-black);
    outline-offset: 0;
}
.search-form .custom__search-submit{
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translate(0, -50%);
    margin: 0;
    background-color: transparent;
    min-width: 24px;
    height: 24px;
    padding: 0 0 0 16px;
}
.search-form .custom__search-submit:hover path{
    stroke: var(--color-black);
}

/* TITLE SECTION */
.article__section-title{
    margin-bottom: var(--spacer-2);
    border-left: 10px solid var(--color-orange);
    padding-left: var(--spacer-1);
    margin: 0;
    margin-left: -15px;
}


.article__section-title .title{
    margin: 0;
    margin-left: var(--spacer-2);
    color: var(--color-white);
}
/* FIN TITLE SECTION */

input[type="submit"]{
    background-color: var(--color-orange)!important;
}

/* BUTTON */ 
.btn-primary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--br-4);
    background: var(--color-orange);
    color: var(--color-black);
    font-weight: 400;
    font-family: 'Poppins-Regular', Arial, Helvetica, sans-serif;
    text-transform: initial;
    position: relative;
    border: 0;
    transition: all 0.1s linear;
    text-decoration: auto;
    padding: .5rem 1rem;
}

.btn-secondary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--br-4);
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-weight: 400;
    font-family: 'Poppins-Regular', Arial, Helvetica, sans-serif;
    text-transform: initial;
    transition: all 0.1s linear;
    text-decoration: auto;
}
.btn-secondary:hover{
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: 4px 4px 16px #d1d1d1;
    transform: translateY(-1px);
    border: 1px solid var(--color-black);
}

.btn-small{padding: 5px 12px!important;}
.btn-medium{padding: 10px 48px!important;}
.btn-large{padding: 16px 72px!important;}
.btn-picto{padding: 10px 20px!important;}

/* ---- ARTICLE ---- */
.main__title h2{
    margin: 0;
    border-left: 16px solid var(--color-orange);
    padding-left: var(--spacer-2);
}

.article-content{
    display: flex;
    flex-direction: column;
    gap: var(--spacer-2);
}

.article-category{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacer-2);
}

.article-category .article__category-divider{
    width: 40px;
    height: 1px;
    background-color: var(--color-grey);
}

.article-category a{
    color: var(--color-grey) !important;
    text-decoration: none;
}

.post__data-content{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: var(--spacer-2) 20px;
}

.post__data-content>p,
.post__data-content>p>a{
    color: var(--color-grey) !important;
}

.post__data-author{
    width: 100%;
}

.post__data-views,
.post__data-time,
.post__data-date{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacer-1);
}

.post-views{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px; 
}

.post__data-content .post__data-views .post-views>span{
    color: var(--color-grey);
}

.post__data-content>p,
.post__data-content>p>a {
    color: var(--color-grey) !important;
}

/* ---- FIN ARTICLE ---- */

/* ---- FIN ROOT ---- */

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

    :root{
        /*==== SPACER ====*/
        --spacer-5: 56px;
        /*==== FIN SPACER ====*/

        /*==== FONT-SIZE ====*/
        --h1: 28px;
        --h2: 26px;
        --h3: 24px;
        --h4: 20px;
        --h5: 18px;
        --sub-title1: 20px;
        --sub-title2: 16px;
        /*==== FIN FONT-SIZE ====*/
    }

    p, span, a, li{font-size: 16px;}
}

.post__data-content>p,
.post__data-content>p>a,
.post__data-content .post__data-views .post-views>span{
    font-size: 14px;
}

@media screen and (min-width: 1200px){
    .section-inner{max-width: 1280px;}
}