/*
Theme Name: Shopwell Enfant - SEO Salvation RueDuTextile
Theme URI: https://guide.ruedutextile.com/
Description: Theme enfant de Shopwell : supprime le H1 et la miniature automatiques des articles deja equipes du H1 SEO Salvation et permet un conteneur de lecture de 1440 px, sans modifier les archives.
Author: Equipe RueDuTextile
Template: shopwell
Version: 1.0.0
Text Domain: shopwell-seo-salvation
*/

/* Largeur disponible pour les articles uniquement. Les marges sont conservées
   sur écran réduit et la largeur réelle reste tributaire de la structure HTML. */
body.single-post #content > .container,
body.single-post .site-content > .container,
body.single-post #content > .site-container,
body.single-post .site-content > .site-container,
body.single-post #content > .shopwell-container,
body.single-post .site-content > .shopwell-container,
body.single-post #content .site-container,
body.single-post .site-content .content-container,
body.single-post .site-content .shopwell-container {
    width: calc(100% - 40px);
    max-width: 1440px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Dans 'Unique blog', la colonne laterale est desactivee. */
body.single-post #primary,
body.single-post .content-area,
body.single-post .site-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
body.single-post article.type-post,
body.single-post article.type-post .entry-content {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Pour les articles SEO Salvation, aucune image ni titre supplementaire
   n'est genere dans le modele de ce theme enfant (PHP, pas CSS). */

@media (max-width: 767px) {
    body.single-post #content > .container,
    body.single-post .site-content > .container,
    body.single-post #content > .site-container,
    body.single-post .site-content > .site-container,
    body.single-post #content > .shopwell-container,
    body.single-post .site-content > .shopwell-container,
    body.single-post #content .site-container,
    body.single-post .site-content .content-container,
    body.single-post .site-content .shopwell-container {
        width: calc(100% - 24px);
    }
}
