/*
Theme Name: Ravioli Panzani 2026
Author: Jedy Agency
Author URI: https://jedy-agency.com/
Description: Thème 2026 de la marque "Ravioli Panzani"
Requires at least: 6.7
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ravioli-panzani-2026
*/
html, body{
    scroll-behavior: smooth;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
}
:where(.wp-site-blocks :focus){
    outline: none !important;
}
:where(.wp-site-blocks :focus-visible){
    outline: 2px solid black !important;
}

body{
    background-color: var(--wp--preset--color--blanc);
    background-image: url("assets/images/Paper-Background.png");
    background-size: contain;
}

main{
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

main > div,
main > section,
main > article{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0 !important;
}

main > div h1,
main > section h1,
main > article h1{
    display: none;
}

body.page-id-98 main{
    padding: 120px 0;
}
body.page-id-98 h2{
    font-size: 40px;
    margin-bottom: 24px;
}
body.page-id-98 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 1200px;
}
body.page-id-98 .has-global-padding > .alignfull{
    margin: 0;
}
body.page-id-98 h3{
    margin-top: 40px;
    font-family: var(--wp--preset--font-family--sofia-rough);
    font-size: 24px;
}
body.page-id-98 h4{
    margin-top: 24px;
}

:target {
 scroll-margin-top: 90px;
}

@media (max-width: 1000px) and (min-width: 783px){
	:root{
        --wp--preset--font-size--xxxl: 50px;
    }
}

@media (max-width: 500px){
    body{
        overflow-x: hidden;
    }
}