/*
Theme Name: Compagnie 1123
Description: Thème éditorial pour la Compagnie 1123, adapté du design Lovable.
Version: 5.1.0
Text Domain: compagnie1123
*/
/* Polices systeme fiables : aucun chargement externe necessaire. */
:root{--ink:#392013;--muted:#786a5c;--cream:#faf5e9;--beige:#eae0cd;--gold:#cb982c;--line:#cbbca8}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font-family:Arial,Helvetica,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}a:hover{color:#a97720}h1,h2,h3,.brand-name{font-family:Georgia,"Times New Roman",serif;font-weight:500}h1{font-size:clamp(60px,9vw,110px);line-height:.95;margin:30px 0}h2{font-size:clamp(38px,5vw,62px);line-height:1;margin:0}h3{font-size:29px;line-height:1.1;margin:12px 0}.wrap{max-width:1180px;margin:auto;padding-left:25px;padding-right:25px}.site-header{background:var(--cream);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:85px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:51px;height:51px;object-fit:contain;background:white}.brand-name{font-size:25px;line-height:1}.eyebrow{font-size:10px;letter-spacing:.19em;text-transform:uppercase}.brand .eyebrow{display:block;margin-top:5px;color:var(--muted)}nav{display:flex;gap:24px;align-items:center}nav a,.mini-link{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.menu-toggle{display:none;border:1px solid var(--line);background:none;padding:10px;cursor:pointer}.section{padding:75px 0 85px}.white{background:white}.cream{background:var(--cream)}.beige{background:var(--beige)}.section-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:25px}.section-heading .num{font-size:11px;margin-right:15px}.news-row{display:grid;grid-template-columns:130px 55px 1fr auto;gap:20px;align-items:center;padding:25px 0;border-bottom:1px solid var(--line)}.news-row p,.summary{color:var(--muted);line-height:1.8;margin:6px 0}.news-row h3{font-size:24px;margin:0}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-grid article:nth-child(3n + 2){padding-top:50px}.photo{display:block;background:repeating-linear-gradient(0deg,transparent 0 29px,#d6c9b7 30px),repeating-linear-gradient(90deg,#eee3d1 0 29px,#d6c9b7 30px);aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);position:relative}.photo.portrait{aspect-ratio:3/4}.photo img{width:100%;height:100%;object-fit:cover;display:block}.photo .placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#8c7c68;text-align:center;padding:12px}.meta{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-top:18px}.company-split{display:grid;grid-template-columns:1fr 1.4fr;gap:55px}.company-split>div+div{border-left:1px solid var(--line);padding-left:40px}.statement{font-family:Georgia,"Times New Roman",serif;font-size:37px;line-height:1.15}.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.team-grid h3{font-size:22px}.gold{background:var(--gold)}.contact-strip{display:flex;align-items:end;justify-content:space-between;gap:25px}.contact-strip h2{font-size:70px;margin-top:15px}.site-footer{background:#3c2012;color:#f9f1e6;padding:28px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-inner .brand img{width:65px;height:65px}.page-intro{padding:90px 0 65px;border-bottom:1px solid var(--line)}.page-intro .intro-flex{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end}.page-intro .intro-flex p{font-size:20px;line-height:1.7}.detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:65px}.prose{font-size:16px;line-height:1.9}.detail-block{margin:35px 0}.detail-block h2{font-size:42px;margin-bottom:16px}.video{aspect-ratio:16/9;width:100%;border:0}.field{display:block;margin:18px 0}.field span{display:block;margin-bottom:7px;font-size:12px}.field input,.field textarea{width:100%;padding:14px;border:1px solid var(--line);background:white;font:inherit}.btn{padding:14px 25px;background:var(--ink);color:white;border:0;cursor:pointer;font:inherit}.notice{padding:14px;border:1px solid var(--line);margin:15px 0}.pagination{margin-top:35px}.footer-links{display:flex;gap:18px}@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.project-grid article:nth-child(3n + 2){padding-top:0}#main-nav{display:none;position:absolute;top:85px;left:0;right:0;background:var(--cream);padding:25px;flex-direction:column;border-bottom:1px solid var(--line)}#main-nav.open{display:flex}.menu-toggle{display:block}.company-split,.detail-grid,.page-intro .intro-flex{grid-template-columns:1fr}.company-split>div+div{padding-left:0;border:0}}@media(max-width:580px){.section{padding:55px 0}.project-grid{grid-template-columns:1fr}.news-row{grid-template-columns:75px 25px 1fr;gap:10px}.news-row>a:last-child{display:none}.contact-strip,.footer-inner{display:block}.footer-links{margin-top:25px}.team-grid{gap:12px}.contact-strip h2{font-size:55px}.brand-name{font-size:22px}}

/* V1.1 : harmonisation globale des typographies sans dependance externe. */
html,body,button,input,textarea,select{font-family:Arial,Helvetica,sans-serif}
h1,h2,h3,h4,h5,h6,.brand-name,.statement,.contact-strip h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.025em}
nav a,.eyebrow,.mini-link,.meta,.btn{font-family:Arial,Helvetica,sans-serif}


/* V1.8: card images are direct IMG elements, no legacy .photo wrapper. */
.project-grid,.team-grid {align-items:start;}
.project-grid > article,.team-grid > article {display:block;align-self:start;min-height:0;height:auto;}
.project-grid article:nth-child(3n + 2){padding-top:0;}
.project-grid > article > a:first-child,.team-grid > article > a:first-child{display:block;line-height:0;height:auto;min-height:0;}
.project-grid img.c1123-real-image,.team-grid img.c1123-real-image{
  display:block!important;width:100%!important;height:auto!important;
  max-width:100%!important;max-height:none!important;min-height:0!important;
  object-fit:contain!important;aspect-ratio:auto!important;
  position:static!important;margin:0!important;padding:0!important;border:0!important;
}
.project-grid article > .meta,.team-grid article > .meta{margin-top:12px;}
.project-grid article > h3,.team-grid article > h3{margin:6px 0;}
.project-grid article > .summary{margin:6px 0 12px;}
.c1123-empty-image{display:flex;align-items:center;justify-content:center;min-height:180px;background:#f4eee3;color:#786a5c;font-size:10px;letter-spacing:.12em;text-transform:uppercase;line-height:1.5;text-align:center;padding:15px;}
.team-grid .c1123-empty-image{min-height:220px;}
.detail-grid img.c1123-real-image,.detail-grid img.c1123-project-image,
.prose img.c1123-real-image{display:block;width:auto;max-width:100%;height:auto!important;object-fit:contain;}
@media(max-width:900px){.project-grid,.team-grid{align-items:start;}}

/* V1.9: cards compactes sans hauteur fantome, quelle que soit la taille du visuel. */
.project-grid,.team-grid{align-items:start!important;align-content:start!important;grid-auto-rows:min-content!important;}
.project-grid>.c1123-compact-card,.team-grid>.c1123-compact-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;align-self:start!important;gap:0!important;height:max-content!important;min-height:0!important;padding:0!important;margin:0!important;}
.c1123-compact-card>.c1123-card-media{display:block!important;position:static!important;flex:none!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;margin:0 0 10px!important;padding:0!important;line-height:0!important;background:transparent!important;border:0!important;}
.c1123-compact-card>.c1123-card-media>img{display:block!important;position:static!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:top center!important;margin:0!important;padding:0!important;border:0!important;}
.c1123-compact-card>.meta{margin:0 0 5px!important;padding:0!important;}
.c1123-compact-card>h3{margin:0 0 6px!important;padding:0!important;}
.c1123-compact-card>.summary{margin:0 0 10px!important;}
.c1123-compact-card>.c1123-card-media .c1123-empty-image{min-height:150px;}

/* V2.0 : hauteur de carte determinee par le contenu, sans espace apres image. */
.project-grid,.team-grid{display:grid!important;align-items:start!important;align-content:start!important;grid-auto-rows:auto!important;}
.project-grid>.c1123-compact-card,.team-grid>.c1123-compact-card{display:flex!important;flex-direction:column!important;align-self:start!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;max-height:none!important;}
.c1123-compact-card>.c1123-card-media{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;line-height:normal!important;margin:0 0 8px!important;}
.c1123-compact-card>.c1123-card-media>img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:430px!important;object-fit:contain!important;object-position:left top!important;aspect-ratio:auto!important;}
.team-grid .c1123-compact-card>.c1123-card-media>img{max-height:310px!important;}
.c1123-compact-card>.meta,.c1123-compact-card>h3,.c1123-compact-card>.summary{position:static!important;transform:none!important;min-height:0!important;}
.c1123-compact-card>h3{margin:3px 0 5px!important;}
@media(max-width:580px){.c1123-compact-card>.c1123-card-media>img{max-height:480px!important;}}

/* Compagnie 1123 2.1 — Billetterie */
.c1123-booking-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 36px;background:#f6f1e8;border:1px solid rgba(75,54,38,.13)}
.c1123-booking-panel h2{margin:10px 0 0}
.c1123-booking-button{display:inline-block;padding:14px 26px;background:#4a3026;color:#fff!important;text-decoration:none;white-space:nowrap}
.c1123-booking-button:hover{background:#6a4836}
@media(max-width:650px){.c1123-booking-panel{flex-direction:column;align-items:flex-start;padding:24px}.c1123-booking-button{width:100%;text-align:center}}

/* V2.3 — Galerie : grille uniforme et photos recadrées uniquement sur cette page. */
.c1123-gallery-content .wp-block-gallery,
.c1123-gallery-content .blocks-gallery-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important;}
.c1123-gallery-content .wp-block-gallery > .wp-block-image,
.c1123-gallery-content .wp-block-gallery > figure,
.c1123-gallery-content .blocks-gallery-grid > li {width:100%!important;max-width:none!important;flex:none!important;margin:0!important;display:block!important;position:relative!important;}
.c1123-gallery-content .wp-block-gallery img,
.c1123-gallery-content .blocks-gallery-grid img {display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border:0!important;}
.c1123-gallery-content .wp-block-gallery figcaption {position:static!important;background:none!important;color:inherit!important;padding:8px 0!important;text-align:left!important;font-size:13px!important;}
.c1123-gallery-content .wp-block-gallery figure::before {display:none!important;}
@media(max-width:760px){.c1123-gallery-content .wp-block-gallery,.c1123-gallery-content .blocks-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}}
@media(max-width:480px){.c1123-gallery-content .wp-block-gallery,.c1123-gallery-content .blocks-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}}

/* V2.4 — Page contact : photo a gauche, formulaire a droite. */
.c1123-contact-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:48px!important;align-items:start!important;}
.c1123-contact-photo{min-width:0;}
.c1123-contact-image{display:block;width:100%;height:auto;max-height:650px;object-fit:cover;object-position:center;}
.c1123-contact-image-placeholder{width:100%;min-height:420px;background:#eae0cd;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px;color:#786a5c;font-size:14px;}
.c1123-contact-layout form{width:100%;}
@media(max-width:760px){.c1123-contact-layout{grid-template-columns:1fr!important;gap:30px!important}.c1123-contact-image-placeholder{min-height:250px}.c1123-contact-image{max-height:450px}}


/* V3 — Palette beige sur toutes les pages */
:root{--ink:#392b22;--muted:#75665a;--cream:#f5eddf;--beige:#e9ddcb;--gold:#d7bd96;--line:#cdbda8}
body,.white,.cream,.beige,.page-intro,.section{background:var(--cream)}
.beige,.company-split,.c1123-company-team{background:var(--beige)}
.gold{background:#d9c3a2}.site-header{background:#f2e7d6}.site-footer{background:#47382d}
.field input,.field textarea{background:#fffaf2}
/* Carrousels accessibles, responsives, sans extension */
.c1123-carousel{position:relative;overflow:hidden;background:#d8c9b5;isolation:isolate}
.c1123-carousel-track{display:flex;transition:transform .55s ease;will-change:transform}
.c1123-carousel-slide{flex:0 0 100%;min-width:0;position:relative}
.c1123-hero-image{display:block;width:100%;height:clamp(360px,52vw,680px);object-fit:cover}
.c1123-hero-caption{position:absolute;left:max(5%,calc((100vw - 1130px)/2));bottom:65px;color:#fff;text-shadow:0 2px 18px #1c140fa8;pointer-events:none;z-index:2}
.c1123-hero-caption h1{font-size:clamp(48px,7vw,100px);margin:14px 0}
.c1123-hero-carousel:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#20171078);pointer-events:none;z-index:1}
.c1123-carousel-prev,.c1123-carousel-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;border:1px solid #ffffffa8;background:#f6efe5e0;color:#392b22;width:45px;height:45px;border-radius:50%;font-size:30px;cursor:pointer}
.c1123-carousel-prev{left:22px}.c1123-carousel-next{right:22px}
.c1123-carousel-dots{position:absolute;z-index:3;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:9px}
.c1123-carousel-dots button{width:9px;height:9px;padding:0;border:1px solid white;border-radius:50%;background:#ffffff55;cursor:pointer}
.c1123-carousel-dots button[aria-current=true]{background:white}
.c1123-gallery-carousel{max-width:1100px;margin:0 auto}
.c1123-gallery-carousel .c1123-carousel-slide{height:clamp(310px,57vw,650px);display:flex;align-items:center;justify-content:center;background:#e5d8c6}
.c1123-gallery-carousel img{display:block;width:100%;height:100%;object-fit:contain}
.c1123-member-card .mini-link{margin-top:12px}.c1123-company-team .team-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px}
@media(max-width:650px){.c1123-hero-caption{left:25px;bottom:55px}.c1123-hero-image{height:420px}.c1123-carousel-prev{left:9px}.c1123-carousel-next{right:9px}.c1123-carousel-prev,.c1123-carousel-next{width:35px;height:35px;font-size:24px}.c1123-gallery-carousel .c1123-carousel-slide{height:360px}}
@media(prefers-reduced-motion:reduce){.c1123-carousel-track{transition:none}}

/* V3.2 — Bandes beiges pleine largeur, contenu centre. */
/* La couleur appartient a la section (pleine largeur), jamais au .wrap limite. */
.section.cream, .section.beige, .section.c1123-company-team,
section.section:has(> .wrap.company-split) {background-color:var(--beige)!important;}
.section > .wrap.company-split, .section > .wrap,
.section .company-split, .section .c1123-company-team .wrap {background-color:transparent!important;}
/* Maintenir la grille et le contenu centres dans les bandes pleine largeur. */
.section > .wrap {max-width:1130px;margin-left:auto;margin-right:auto;}

/* V3.4: adaptive gallery only. The homepage banner keeps its original V3.2 dimensions. */
.c1123-gallery-carousel{width:100%;transition:height .35s ease;background:#e5d8c6;}
.c1123-gallery-carousel .c1123-carousel-track{height:100%;align-items:stretch;}
.c1123-gallery-carousel .c1123-carousel-slide{height:100%!important;min-height:0!important;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.c1123-gallery-carousel .c1123-carousel-slide img{width:100%;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;}
@media(prefers-reduced-motion:reduce){.c1123-gallery-carousel{transition:none;}}

/* V3.5 : affiches centrées et grille de spectacles adaptée à 1 ou 2 éléments. */
.post-type-archive-c1123_project .project-grid{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:32px;}
.post-type-archive-c1123_project .project-grid > article{width:min(100%,340px);flex:0 1 340px;padding-top:0!important;}
/* Page La Compagnie : texte plus lisible, sans bloc équipe supplémentaire. */
.page .c1123-company-prose{font-size:clamp(19px,2.15vw,25px);line-height:1.7;max-width:950px;}
.page .c1123-company-prose p{font-size:inherit;line-height:inherit;}
.c1123-pdf-section{max-width:1080px;margin:auto;}
.c1123-pdf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:25px;margin:12px 0 28px;}
.c1123-pdf-viewer{width:100%;height:min(80vh,920px);border:1px solid #b9a997;border-radius:5px;background:white;}
@media(max-width:650px){.c1123-pdf-viewer{height:65vh;}.post-type-archive-c1123_project .project-grid>article{flex-basis:100%;max-width:390px;}}

/* V3.8 - Mobile: two posters per row, compact crew cards and shorter summaries. */
.team-grid{align-items:start!important;align-content:start!important;row-gap:22px!important;}
.team-grid .c1123-compact-card{gap:0!important;}
.team-grid .c1123-compact-card>.c1123-card-media{margin:0 0 7px!important;line-height:0!important;}
.team-grid .c1123-compact-card>.c1123-card-media>img{width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:cover!important;object-position:center top!important;max-height:none!important;}
.team-grid .c1123-compact-card>h3{margin:0 0 3px!important;line-height:1.15!important;}
.team-grid .c1123-compact-card>.meta{margin:2px 0 0!important;line-height:1.3!important;}
.post-type-archive-c1123_member .team-grid .c1123-compact-card>.summary{margin:6px 0 8px!important;line-height:1.45!important;}
@media(max-width:650px){
 .front-page .project-grid,body.home .project-grid,.post-type-archive-c1123_project .project-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:14px!important;row-gap:24px!important;align-items:start!important;}
 .post-type-archive-c1123_project .project-grid>.c1123-compact-card{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;}
 body.home .project-grid>.c1123-compact-card, .post-type-archive-c1123_project .project-grid>.c1123-compact-card{min-width:0!important;max-width:100%!important;}
 body.home .project-grid .c1123-card-media, .post-type-archive-c1123_project .project-grid .c1123-card-media{margin-bottom:7px!important;}
 body.home .project-grid .c1123-card-media>img, .post-type-archive-c1123_project .project-grid .c1123-card-media>img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;}
 body.home .project-grid h3,.post-type-archive-c1123_project .project-grid h3{font-size:clamp(16px,4.1vw,21px)!important;line-height:1.18!important;}
 body.home .project-grid .summary,.post-type-archive-c1123_project .project-grid .summary{font-size:12px!important;line-height:1.45!important;}
 body.home .project-grid .meta,.post-type-archive-c1123_project .project-grid .meta{font-size:10px!important;line-height:1.3!important;}
 body.home .team-grid,.post-type-archive-c1123_member .team-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:14px!important;row-gap:20px!important;align-items:start!important;}
 body.home .team-grid .c1123-compact-card>.c1123-card-media,.post-type-archive-c1123_member .team-grid .c1123-compact-card>.c1123-card-media{margin-bottom:6px!important;}
 body.home .team-grid h3,.post-type-archive-c1123_member .team-grid h3{font-size:clamp(16px,4vw,20px)!important;margin:0 0 2px!important;}
 body.home .team-grid .meta,.post-type-archive-c1123_member .team-grid .meta{font-size:10px!important;margin:2px 0 0!important;}
}

/* V3.9 — Fix mobile: keep poster and its text in the same compact card.
   Explicit poster frame avoids oversized intrinsic/lazy image boxes. */
@media (max-width:650px) {
  body.home .project-grid,
  body.post-type-archive-c1123_project .project-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:max-content!important;
    align-items:start!important;
    align-content:start!important;
    gap:22px 12px!important;
  }
  body.home .project-grid > article.c1123-compact-card,
  body.post-type-archive-c1123_project .project-grid > article.c1123-compact-card {
    display:block!important;
    position:static!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .project-grid article.c1123-compact-card > a.c1123-card-media,
  body.post-type-archive-c1123_project .project-grid article.c1123-compact-card > a.c1123-card-media {
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:3/4!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 0 8px!important;
    padding:0!important;
    overflow:hidden!important;
    line-height:0!important;
  }
  body.home .project-grid article.c1123-compact-card > a.c1123-card-media > img,
  body.post-type-archive-c1123_project .project-grid article.c1123-compact-card > a.c1123-card-media > img {
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    max-width:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center top!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .project-grid article.c1123-compact-card > .meta,
  body.post-type-archive-c1123_project .project-grid article.c1123-compact-card > .meta {
    display:block!important;
    margin:0 0 4px!important;
    padding:0!important;
  }
  body.home .project-grid article.c1123-compact-card > h3,
  body.post-type-archive-c1123_project .project-grid article.c1123-compact-card > h3 {
    margin:0 0 5px!important;
    padding:0!important;
  }
}

/* V4.0 - Mobile: close the gap between La Compagnie heading and introduction. */
@media (max-width: 700px) {
  body.home .company-split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    row-gap: 16px !important;
    align-items: start !important;
  }
  body.home .company-split > div,
  body.home .company-split > div + div {
    margin: 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
    min-height: 0 !important;
  }
  body.home .company-split h2 {
    margin: 0 !important;
  }
  body.home .company-split .statement {
    margin: 0 0 8px !important;
  }
}

/* V4.1 - Compact mobile spacing on La Compagnie page only. */
@media (max-width:700px) {
  .c1123-company-page-intro {padding-top:36px!important;padding-bottom:28px!important;}
  .c1123-company-page-intro h1 {margin:15px 0 0!important;font-size:clamp(46px,12vw,66px)!important;line-height:1.02!important;}
  .c1123-company-page-content {padding-top:28px!important;padding-bottom:42px!important;}
  .c1123-company-page-content .detail-grid {gap:16px!important;}
  .c1123-company-page-content .c1123-company-prose {margin-top:0!important;}
  .c1123-company-page-content .c1123-company-prose > :first-child {margin-top:0!important;}
  .c1123-company-page-content .c1123-company-prose img {display:block;max-width:100%;height:auto;}
}

/* V4.2 - Harmonised compact mobile vertical rhythm across all inner pages.
   Does not change homepage carousel sizing or two-column card grids. */
@media (max-width:700px) {
  body:not(.home) .page-intro {
    padding-top:36px!important;
    padding-bottom:28px!important;
    min-height:0!important;
  }
  body:not(.home) .page-intro .wrap {min-height:0!important;}
  body:not(.home) .page-intro .eyebrow {display:block;margin-bottom:12px!important;}
  body:not(.home) .page-intro h1 {
    margin:0!important;
    font-size:clamp(42px,11vw,62px)!important;
    line-height:1.05!important;
  }
  body:not(.home) .page-intro .meta {margin:10px 0 0!important;}
  body:not(.home) .section {
    padding-top:28px!important;
    padding-bottom:40px!important;
  }
  body:not(.home) .detail-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
  }
  body:not(.home) .detail-grid > * {min-width:0;min-height:0;}
  body:not(.home) .detail-grid .prose > :first-child {margin-top:0!important;}
  body:not(.home) .detail-block {margin:18px 0!important;}
  body:not(.home) .section-heading {margin-bottom:16px!important;}
  body:not(.home) .pagination {margin-top:24px!important;}
  body:not(.home) .c1123-contact-layout {row-gap:22px!important;}
  body:not(.home) .c1123-booking-section {padding-top:16px!important;padding-bottom:28px!important;}
}



#c1123-site-footer{display:block;position:static;clear:both;background:#47382d;color:#f9f1e6;padding:28px 0;width:100%}#c1123-site-footer .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}#c1123-site-footer .footer-links{display:block;position:static;background:transparent;border:0;margin:0;padding:0}#c1123-site-footer .c1123-footer-menu{display:flex;flex-wrap:wrap;gap:12px 18px;list-style:none;margin:0;padding:0}#c1123-site-footer .c1123-footer-menu li{list-style:none;margin:0;padding:0}#c1123-site-footer .c1123-footer-menu a{color:#f9f1e6;font-size:10px;letter-spacing:.12em;text-transform:uppercase}@media(max-width:700px){#c1123-site-footer .footer-inner{flex-direction:column;align-items:flex-start;gap:20px}#c1123-site-footer .footer-links{width:100%}#c1123-site-footer .c1123-footer-menu{flex-direction:column;align-items:flex-start;gap:14px}}


/* V5.3: a single footer, never in the header navigation. */
#c1123-site-footer {display:block!important;position:relative!important;inset:auto!important;float:none!important;clear:both!important;width:100%!important;background:#47382d!important;color:#f9f1e6!important;visibility:visible!important;opacity:1!important;z-index:1!important;}
#c1123-site-footer .footer-links {position:static!important;display:block!important;background:transparent!important;}
#c1123-site-footer .c1123-footer-menu {list-style:none!important;padding:0!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;gap:16px!important;}
#c1123-site-footer .c1123-footer-menu a {color:#f9f1e6!important;}
@media(max-width:900px){
 #c1123-site-footer {display:block!important;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;}
 #c1123-site-footer .footer-inner {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:18px!important;}
 #c1123-site-footer .c1123-footer-menu {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;}
 #c1123-site-footer .footer-links {display:block!important;width:100%!important;}
}
