/*
Theme Name: Projet Boxe
Author: Projet Boxe
Description: Thème à blocs pour un club de boxe, avec page d’accueil modifiable dans l’éditeur du site.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: projet-boxe
*/
:root{--ink:#171719;--paper:#f5f3ee;--cream:#ebe7df;--red:#de4535;--line:#d3cfc7}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}body .is-layout-constrained>*+*{margin-block-start:0}a{color:inherit}a:focus-visible{outline:3px solid var(--red);outline-offset:4px}::selection{background:var(--red);color:white}
h1,h2,h3,p{margin-top:0}h1,h2,.class-card h3,.fighter-card h3{font-family:Impact,'Arial Narrow',Arial,sans-serif;text-transform:uppercase;line-height:.99;letter-spacing:.012em}h2{font-size:clamp(3.6rem,7vw,6.7rem);margin-bottom:0}h3{font-size:1.3rem}
.site-header{background:#171719;color:#fff;padding:18px max(20px,4vw)}.site-header .header-inner{max-width:1260px;margin:auto;min-height:46px}.site-header .brand a{color:white;text-decoration:none;font-size:1.15rem;font-weight:900;letter-spacing:.12em}.site-header .brand a:before{content:"";display:none;vertical-align:middle;width:30px;height:30px;border:5px solid var(--red);border-right-color:transparent;transform:rotate(-18deg);margin-right:14px}.main-nav .wp-block-navigation-item__content{color:#eee;font-size:.83rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.main-nav .wp-block-navigation-item__content:hover{text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:8px}.main-nav .wp-block-navigation__responsive-container-open,.main-nav .wp-block-navigation__responsive-container-close{color:inherit}
.hero.wp-block-cover{min-height:610px;display:flex;align-items:end;padding:0;overflow:hidden}.hero.wp-block-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#151516 3%,rgba(21,21,22,.8) 43%,rgba(21,21,22,.07) 100%);pointer-events:none}.hero .wp-block-cover__background{opacity:.1}.hero .wp-block-cover__inner-container{z-index:2;width:100%}.hero-content{width:min(1260px,100%);margin:auto;padding:85px clamp(20px,4vw,56px) 80px}.hero-title{font-size:clamp(4.7rem,12vw,10.5rem);margin:26px 0 24px;color:white}.hero-title em{font-style:normal;color:var(--red)}.eyebrow,.section-index{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;font-weight:900}.eyebrow:before{content:"";display:inline-block;width:31px;height:3px;vertical-align:middle;margin-right:13px;background:var(--red)}.hero-intro{font-size:clamp(1.05rem,1.7vw,1.3rem);max-width:530px;margin-bottom:30px;color:#f0ece6}.hero .wp-block-buttons{gap:12px}.hero .wp-block-button__link{border-radius:0!important;background:var(--red);color:#fff;border:1px solid var(--red);font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;padding:14px 22px}.hero .is-style-outline .wp-block-button__link{background:transparent!important;border-color:#fff;color:#fff}
.ticker{background:var(--red);color:#fff;padding:10px 20px}.ticker-text{text-align:center;font-size:.77rem;letter-spacing:.15em;font-weight:900;margin:0}.section{padding:clamp(70px,9vw,120px) clamp(20px,4vw,56px);scroll-margin-top:20px}.section>*{max-width:1150px;margin-inline:auto}.section-heading{align-items:end;gap:36px;margin-bottom:44px}.section-heading>.wp-block-column:first-child{flex-basis:58%}.section-index{color:var(--red);margin-bottom:16px}.section-intro{max-width:460px;color:#555351;font-size:1.12rem;line-height:1.5;margin-bottom:4px}.club-grid{border-top:1px solid var(--line);padding-top:35px;gap:clamp(30px,5vw,80px)}.club-grid>.wp-block-column:first-child{flex-basis:60%}.club-grid p{font-size:1.07rem}.club-grid .statement{font-size:clamp(1.55rem,3vw,2.4rem);font-weight:800;line-height:1.27}.note{padding:27px;background:var(--cream);border-left:5px solid var(--red)}.note h3{font-family:Arial,Helvetica,sans-serif;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.note p{font-size:.95rem;color:#55524d;margin-bottom:0}
.dark{background:var(--ink);color:#fff}.dark .section-intro{color:#c4c0ba}.course-grid{gap:0;border-top:1px solid #484647;border-left:1px solid #484647}.course-grid>.wp-block-column{border-right:1px solid #484647;border-bottom:1px solid #484647;margin:0!important}.class-card{padding:34px 29px 39px;min-height:275px;height:100%;display:flex;flex-direction:column;align-items:start}.class-card .card-num{color:var(--red);font-size:.78rem;font-weight:800;letter-spacing:.1em}.class-card h3{font-size:2.4rem;margin:26px 0 14px}.class-card p:not(.card-num):not(.card-detail){color:#c4c0ba}.class-card .card-detail{margin-top:auto!important;padding-top:26px;font-size:.8rem;letter-spacing:.07em;text-transform:uppercase}
.fighter-grid{gap:18px}.fighter-grid>.wp-block-column{margin:0!important}.fighter-card{min-height:300px;background:#e8e4dc;padding:28px;display:flex;flex-direction:column;align-items:start;justify-content:space-between}.fighter-card.accent{background:var(--red);color:white}.fighter-card .card-num{font-size:.75rem;letter-spacing:.11em;font-weight:900;text-transform:uppercase}.fighter-card h3{font-size:clamp(2.4rem,5vw,4.6rem);margin:0 0 10px}.fighter-card p:last-child{color:#5a5855}.fighter-card.accent p:last-child{color:#ffe2dc}
.agenda-section{background:var(--cream)}.event-row{max-width:1150px;border-top:1px solid #c5c0b8;padding:28px 0;align-items:center;gap:20px;margin-bottom:0}.event-row:last-child{border-bottom:1px solid #c5c0b8}.event-row>.wp-block-column:first-child{flex-basis:140px;flex-grow:0}.event-row>.wp-block-column:last-child{flex-basis:140px;flex-grow:0}.event-date{font-weight:900;color:var(--red);font-size:.8rem;letter-spacing:.09em;text-transform:uppercase}.event-main h3{font-family:Arial,Helvetica,sans-serif;margin:0 0 4px}.event-main p{color:#615f5b;margin:0}.event-status{font-weight:800;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}
.contact-grid{gap:35px}.contact-grid>.wp-block-column:first-child{flex-basis:50%}.contact-item{border-top:1px solid #626062;padding:16px 0}.contact-item h3{font-family:Arial,Helvetica,sans-serif;color:var(--red);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 7px}.contact-item p{margin:0;color:#eee}.site-footer{background:#101011;color:#b5b1ae;padding:25px max(20px,4vw);font-size:.82rem}.footer-inner{max-width:1260px;margin:auto}.site-footer p{margin:0}.site-footer a{color:inherit;text-decoration:none}.inner-page{padding:clamp(55px,8vw,110px) 20px;min-height:55vh}.inner-page h1{font-size:clamp(3.5rem,7vw,6rem)}
@media(max-width:780px){.site-header .header-inner{gap:15px}.hero.wp-block-cover{min-height:560px}.hero.wp-block-cover:after{background:linear-gradient(90deg,#151516,rgba(21,21,22,.75) 65%,rgba(21,21,22,.2))}.course-grid{flex-wrap:wrap}.course-grid>.wp-block-column{flex-basis:50%!important}.section-heading{gap:14px}.event-row>.wp-block-column:first-child,.event-row>.wp-block-column:last-child{flex-basis:auto}}
@media(max-width:600px){.hero.wp-block-cover{min-height:530px}.hero-content{padding-block:65px}.hero-title{font-size:clamp(4rem,18vw,6rem)}.course-grid>.wp-block-column,.fighter-grid>.wp-block-column{flex-basis:100%!important}.fighter-card{min-height:230px}.event-row{display:block}.event-row>.wp-block-column{margin:0 0 8px!important}.section-heading h2{font-size:clamp(3.5rem,15vw,5rem)}.ticker-text{line-height:1.9}.contact-grid{display:block}.contact-grid>.wp-block-column:first-child{margin-bottom:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
