/*
Theme Name: Guide Musculation
Description: Identité éditoriale Le Banc et Atlas pour Guide Musculation. Socle Fox, cartes Fox Blocks et logo HTML.
Author: Fox
Template: generatepress
Version: 1.0.0
Fox Socle: 1.9.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guidemusculation-theme
*/

*{box-sizing:border-box}
html{scroll-padding-top:1.5rem}
body{font-family:Inter,Arial,sans-serif;font-size:1rem;line-height:1.65;background:var(--base);color:var(--contrast)}
h1,h2,h3,h4{font-family:Inter,Arial,sans-serif;color:var(--contrast);font-weight:800;letter-spacing:-.045em;line-height:1.07}
h1{font-size:clamp(2.4rem,5vw,4.2rem)}h2{font-size:clamp(1.9rem,3.2vw,2.8rem)}h3{font-size:1.7rem}
a{color:var(--contrast);text-underline-offset:.2em}a:hover{color:var(--accent-text)}
:focus-visible{outline:3px solid var(--contrast);outline-offset:4px}
.inside-header{padding:20px 32px;gap:20px}.site-header{border-bottom:2px solid var(--contrast)}
.site-branding{display:none}.gm-brand a{display:flex;align-items:center;gap:13px;text-decoration:none}
.gm-brand img{width:48px;height:48px;flex-shrink:0}.gm-brand span{font-weight:800;font-size:clamp(1.3rem,2.4vw,1.9rem);letter-spacing:-.065em;line-height:1}
.main-navigation .main-nav ul li a{font-size:.82rem;font-weight:700;letter-spacing:.015em;text-transform:uppercase;padding:0 22px;line-height:60px;border-left:1px solid var(--contrast)}
.main-navigation .main-nav ul li:last-child a{border-right:1px solid var(--contrast)}
.main-navigation{margin-left:auto;background:var(--base)}
.menu-toggle{font-size:1rem;min-height:48px;border:1px solid var(--contrast)}
.inside-article{background:var(--base)}
body:not(.home):not(.archive):not(.blog):not(.search) .inside-article{max-width:1200px;margin:0 auto;padding:48px 36px}
body:not(.home) .entry-header{margin-bottom:2rem}
body:not(.home) .featured-image{max-width:1200px;margin:32px auto 0;padding:0 36px}
body:not(.home) .featured-image img{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--contrast)}
.entry-content>p,.entry-content>ul,.entry-content>ol{font-size:1.0625rem}
.entry-content>:last-child{margin-bottom:0}
body.home .inside-article{padding:0 32px 48px}
body.home .entry-content{margin:0}body.home .entry-header{margin:0}
.gm-home{padding-top:48px}.gm-home .wp-block-group{margin-top:0}
.gm-home .wp-block-group__inner-container{padding:0;margin:0;max-width:none}
.gm-hero>.wp-block-group__inner-container,.gm-section-head>.wp-block-group__inner-container{display:contents}
.site-header,.inside-header{background:var(--base)}
.main-navigation .main-nav ul li.current-menu-item>a{background:var(--accent);color:var(--on-accent)}
.gm-hero{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;margin-bottom:64px}
.gm-eyebrow,.gm-caption,.gm-section-hint{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8125rem;letter-spacing:.035em}
.gm-eyebrow{margin-bottom:24px}.gm-hero h1{font-size:clamp(3.3rem,5.7vw,5.5rem);letter-spacing:-.06em;line-height:.99;margin:0 0 24px}
.gm-hero mark{box-decoration-break:clone;-webkit-box-decoration-break:clone;background:var(--accent);color:var(--on-accent);padding:0 .055em}
.gm-intro{max-width:36em;margin-bottom:24px;line-height:1.6}
.gm-hero-photo{margin:0}.gm-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;border:1px solid var(--contrast)}
.gm-caption{text-align:center;margin:10px 0 0;text-transform:uppercase}
.gm-home .wp-block-buttons{gap:12px}.gm-home .wp-block-button__link{font-size:.875rem;font-weight:700;line-height:1.4;border:1px solid var(--contrast);border-radius:0;padding:13px 17px;text-decoration:none;min-height:48px}
.gm-home .is-style-outline .wp-block-button__link{background:transparent;color:var(--contrast)}
.gm-home .wp-block-button__link:hover{background:var(--accent);color:var(--on-accent)}
.gm-section{margin:0 0 56px}.gm-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:24px}
.gm-section-head h2{margin:0}.gm-section-hint{margin:0;flex-shrink:0}
.gm-banc{border-top:2px solid var(--contrast);padding-top:32px}
.gm-home .fxb-term-tabs{--fxb-radius:0px;--fxb-radius-lg:0px;--fxb-radius-sm:0px;margin:0}
.gm-home .fxb-tt__tabs{display:flex;gap:0;flex-wrap:wrap;border:1px solid var(--contrast);margin:0 0 28px;padding:0}
.gm-home .fxb-tt__tab{flex:1;min-width:135px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:20px 18px;min-height:94px;border:0;border-right:1px solid var(--contrast);border-radius:0;text-decoration:none;background:transparent;color:var(--contrast)}
.gm-home .fxb-tt__tab:last-child{border-right:0}
.gm-home .fxb-tt__tab:hover,.gm-home .fxb-tt__tab[aria-selected=true]{background:var(--accent);color:var(--on-accent)}
.gm-home .fxb-tt__tab-label{font-size:1.25rem;font-weight:800;letter-spacing:-.04em}
.gm-home .fxb-tt__tab-sub{font-size:.75rem;color:inherit;line-height:1.4}
.gm-home .fxb-tt__head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 18px}
.gm-home .fxb-tt__ptitle{font-size:1.7rem;font-weight:800;letter-spacing:-.04em;margin:0}
.gm-home .fxb-tt__count{font-size:.875rem;font-weight:400;letter-spacing:0}
.gm-home .fxb-tt__more{font-family:ui-monospace,monospace;font-size:.8125rem}
.gm-home .fxb-tt__more,.gm-home .fxb-tt__link{color:var(--contrast);text-decoration:underline}
.gm-home .fxb-link-simple,.gm-home .fxb-link-simple__text{color:var(--contrast)}
@media(max-width:768px){.site-header .inside-header{flex-direction:row;flex-wrap:wrap}.site-header .mobile-menu-control-wrapper{margin-left:auto}.site-header .main-navigation{flex-basis:100%}}
.gm-home .fxb-tt__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.gm-home .fxb-tt__card{border:1px solid var(--contrast);background:var(--base);box-shadow:none;border-radius:0;overflow:hidden;list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.gm-home .fxb-tt__media{display:block;aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--contrast);background:var(--base-2)}
.gm-home .fxb-tt__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.gm-home .fxb-tt__card:hover img{transform:scale(1.025)}
.gm-home .fxb-tt__body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.gm-home .fxb-tt__card-title{font-size:clamp(1.3rem,2vw,1.65rem);font-weight:800;line-height:1.15;letter-spacing:-.04em;text-decoration:none}
.gm-home .fxb-tt__card-title:hover{text-decoration:underline}
.gm-home .fxb-tt__excerpt{font-size:.875rem;line-height:1.5;margin:0;color:var(--contrast-2)}
.gm-home .fxb-tt__badges{display:flex;gap:8px;flex-wrap:wrap;list-style:none;margin:4px 0 0;padding:0}
.gm-home .fxb-tt__badge{padding:2px 8px;border:1px solid var(--contrast);border-radius:0;color:var(--contrast);background:transparent;font-size:.75rem;line-height:1.5}
.gm-home .fxb-tt__footer{margin-top:20px}.gm-home .fxb-tt__panel{margin-bottom:30px}
.gm-banc .fxb-tt__tabs{display:inline-flex;width:auto;max-width:100%;margin-bottom:24px}
.gm-banc .fxb-tt__tab{min-width:110px;min-height:48px;padding:11px 22px}
.gm-banc .fxb-tt__tab-label{font-size:.8125rem;letter-spacing:0;text-transform:uppercase}
.gm-banc .fxb-tt__media{aspect-ratio:16/10}
.gm-method{border-top:1px solid var(--contrast);padding:24px;background:var(--accent);color:var(--on-accent);font-size:1.125rem;font-weight:800;text-align:center;margin:0}
.gm-method p{margin:0}.gm-nutrition{border-top:1px solid var(--contrast);padding-top:32px}
.gm-home .fxb-link-cards{--fxb-radius:0px;--fxb-radius-lg:0px}
.gm-home .fxb-link-cards a{border-radius:0;box-shadow:none}
.gm-home .fxb-smartlink{border-radius:0}
.site-info{background:var(--base);color:var(--contrast);border-top:1px solid var(--contrast);font-size:.8125rem;padding:22px 32px}
.copyright-bar{display:flex;gap:24px;justify-content:space-between;width:100%;max-width:1256px;margin:auto}.gm-footer-brand{font-weight:800;font-size:1rem}
.footer-widgets{background:var(--base)}
.archive .inside-article,.blog .inside-article,.search .inside-article{border:1px solid var(--contrast);padding:24px}.archive .post,.blog .post,.search .post{margin-bottom:24px}
.entry-content .fxb,.entry-content [class*=fxb-]{scroll-margin-top:24px}
.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}
@media(min-width:1025px){.inside-header{padding-top:0;padding-bottom:0;min-height:86px}.gm-brand img{height:44px;width:44px}}
@media(max-width:1024px){.gm-hero{gap:26px}.gm-hero h1{font-size:4rem}.main-navigation .main-nav ul li a{padding:0 14px;font-size:.75rem}.gm-section-head{align-items:flex-start;flex-direction:column;gap:10px}.gm-home .fxb-tt__tab{min-width:130px}.gm-brand span{font-size:1.4rem}}
@media(max-width:768px){.inside-header{padding:18px 20px;gap:16px}.gm-brand img{width:40px;height:40px}.gm-brand span{font-size:1.3rem}.main-navigation{width:100%;margin:0}.main-navigation .main-nav ul li a{border:0;border-top:1px solid var(--contrast);font-size:.875rem;line-height:48px}.main-navigation .main-nav ul li:last-child a{border-right:0}.main-navigation .inside-navigation{justify-content:flex-end}.gm-home{padding-top:32px}body.home .inside-article{padding:0 16px 32px}.gm-hero{grid-template-columns:1fr;gap:24px;margin-bottom:40px}.gm-hero h1{font-size:clamp(3rem,10vw,4.6rem);max-width:11ch}.gm-hero-photo img{aspect-ratio:3/2;object-position:center}.gm-eyebrow{margin-bottom:18px}.gm-caption{font-size:.75rem}.gm-section{margin-bottom:36px}.gm-home .fxb-tt__grid{grid-template-columns:1fr;gap:20px}.gm-home .fxb-tt__tab{min-width:30%;padding:15px 12px;min-height:82px;border-bottom:1px solid var(--contrast)}.gm-home .fxb-tt__tab-label{font-size:1.0625rem}.gm-home .fxb-tt__tab-sub{font-size:.75rem}.gm-home .fxb-tt__tabs{border-bottom:0}.gm-home .fxb-tt__ptitle{font-size:1.5rem}.gm-home .fxb-tt__media{aspect-ratio:16/10}.gm-home .fxb-tt__card-title{font-size:1.5rem}.gm-banc .fxb-tt__tab{min-width:80px;min-height:48px;padding:10px 16px}.gm-banc .fxb-tt__tab-label{font-size:.8125rem}.gm-method{font-size:1rem;text-align:left;padding:20px}.copyright-bar{flex-direction:column;gap:6px}.site-info{padding:20px}body:not(.home):not(.archive):not(.blog):not(.search) .inside-article{padding:32px 16px}body:not(.home) .featured-image{padding:0 16px;margin-top:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gm-home .fxb-tt__media img{transition:none}}

@media(max-width:768px){.gm-brand span{font-size:1.15rem}.mobile-menu-control-wrapper .menu-toggle{padding:0;width:48px;min-height:44px}.gm-home .fxb-tt__head{align-items:flex-start;flex-wrap:wrap}}
