/*
Theme Name: TheGoodLife New Theme
Theme URI: https://www.thegooflife.fr
Author: TheGoodLife
Author URI: https://www.thegooflife.fr
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  thegoodlifev2
Template: twentytwentyone
*/

.single-topic .site-main .container .topic-bg h1 span {
    font-size: 3.125rem;
    font-weight: bold;
}

.single-topic .site-main .container .container h1 {
    font-size: 2rem;
    padding-bottom: 50px;
}

/*.home .site-main .recent-city-articles .single-cat-article {
    padding-bottom: 0 !important;
}*/

@media (max-width: 768px) {
    .single-topic .site-main .container .topic-bg h1 span {
        font-size: 2rem !important;
    }

    .single-topic .site-main .container .container h1 {
        font-size: 1.3rem !important;
        padding-bottom: 25px !important;
    }

    .single-cat-article p, .featured-holder .content-holder p, .hero-slider, .single .site-content article .entry-header .post-thumbnail:before {
        display: block !important;
    }
}

/* Chapo plus petit */
@media (max-width: 768px) {
    .single .site-content article .entry-header .main-title-holder h1 {
        color: black !important;
        padding-bottom: 20px !important;
    }

    .entry-content > p[style="font-family: Georgia, 'Times New Roman',Times,serif; font-weight: 400; font-size: 36px; line-height: 40.9px;"] {
        font-size: 25px !important;
        line-height: normal !important;
    }
}

/* Credit photo - mettre differentes typo... */
.single .site-main figcaption {
    display: flex !important;
    flex-direction: column !important;
}

.single .site-main figcaption em {
    color: #949292;
    text-transform: uppercase;
}

/* Bloc confidentialité en bas à droite - faire disparaître  */
/*#appconsent-widget {
    display: none !important;
}*/

/*  */
.single .site-main .entry-content img {
    max-height: 600px;
    object-fit: contain;
}

/* Other bugs - found by ME */
@media (max-width: 768px) {
    .single .site-content article .entry-header .main-title-holder {
        padding: 0 15px !important;
    }

    .single .site-main article .entry-header .main-title-holder {
        left: 0 !important;
    }

    .single .site-content article .entry-header .main-title-holder .sharing {
        top: 5px !important;
        right: 10px !important;
    }

    .home .site-header {
        padding-bottom: 2rem !important;
    }

    .home .recent-city-articles .single-cat-article:not(:last-child) {
        padding-bottom: 50px !important;
    }

    .single-diaporama .single-cat-article:not(:last-child) {
        padding-bottom: 25px !important;
    }

    .single .entry-header .thumbnail-wrapper .author-name {
        font-size: 12px !important;
    }
}

.home .recent-city-articles .single-cat-article {
    padding-bottom: 0 !important;
}


/* Single : categories as breadcrumb */
.single__categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    max-width: inherit !important;
}

.single__categories li span {
    font-size: 12px;
    margin-left: 8px;
}

.single__categories li:last-of-type span {
    display: none;
}
