/* Scoped layout additions; the existing logo and protected page bodies stay intact. */
header #navigation{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:end;gap:4px 16px;min-width:0}header #navigation a{font-size:14px;line-height:1.35;max-width:190px}.business-club{font-size:16px}.club-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:50px;align-items:center;padding:62px 0}.club-hero h1{font-size:clamp(38px,4.6vw,62px);overflow-wrap:break-word}.club-hero .lede{max-width:650px}.club-motto{font-family:Georgia,serif;font-size:24px;line-height:1.5}.club-meeting{padding:28px;border:1px solid var(--line);border-top:4px solid var(--orange);border-radius:12px;background:var(--soft)}.club-meeting img{display:block;width:100%;height:auto;margin-bottom:28px}.club-meeting h2{font-size:46px}.club-participation{border-top:1px solid #bbc9b5;padding-top:18px}.business-club .btn,.club-home .btn{font-size:16px}.club-topics{list-style:none;display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:28px 0}.club-topics li{padding:12px 18px;background:var(--soft);border:1px solid var(--line);border-radius:6px}.club-how{display:grid;grid-template-columns:1fr 1fr;gap:45px}.business-club .text-link{font-size:16px}.business-club .eyebrow{font-size:14px}.club-home .lede{max-width:800px}
@media(max-width:1100px){header .wrap{position:relative;flex-wrap:nowrap;min-height:116px}header .nav-toggle{display:block;flex-shrink:0}header #navigation{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 120px);overflow-y:auto;z-index:20;padding:18px 24px;background:#fffdf8;border-bottom:1px solid var(--line);flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px}header #navigation.open{display:flex}header #navigation a{max-width:none;font-size:16px;padding:13px 0}.club-hero{gap:30px}}
@media(max-width:700px){.club-hero,.club-how{grid-template-columns:1fr;gap:26px}.club-hero{padding:38px 0}.club-meeting{max-width:430px;width:100%;margin:0 auto}.club-motto{font-size:22px}.business-club .actions{flex-direction:column}.business-club .btn{width:100%}.club-hero h1{font-size:clamp(32px,8.5vw,48px)}.club-meeting h2{font-size:38px}}

.club-cards {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
 gap: 1rem;
 margin: 1rem 0;
}
.club-card, .club-form {
 border: 1px solid #78857966;
 border-radius: 1rem;
 padding: 1rem;
}
.club-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.club-form { display: grid; gap: .8rem; max-width: 42rem; margin: .8rem 0; }
.club-form label { display: grid; gap: .3rem; font-weight: 600; }
.club-form :is(input:not([type="checkbox"]), textarea, select) {
 width: 100%;
 font: inherit;
 color: #19291f;
 background: #fff;
 border: 1px solid #788579;
 border-radius: .45rem;
 padding: .55rem .7rem;
}
.club-form .club-checkbox { display: flex; align-items: center; gap: .5rem; }
.club-form fieldset { border: 1px solid #78857966; border-radius: .45rem; }
.club-form button { justify-self: start; cursor: pointer; font: inherit; }
.business-club summary { cursor: pointer; font-weight: 600; }
.business-club details { margin: .75rem 0; }

.club-chat { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr); gap: 1rem; }
.club-chat [data-conversations] { margin: 0; padding-left: 1.25rem; }
.club-chat [data-conversations] li { margin: .5rem 0; }
.club-chat [aria-current="page"] { font-weight: bold; }
.club-chat [data-messages] { overflow: auto; max-height: 26rem; padding: 0; list-style: none; }
.club-chat [data-messages] li { border: 1px solid #78857966; border-radius: .6rem; padding: .75rem; margin: .5rem 0; overflow-wrap: anywhere; }
.club-chat [data-messages] time { display: block; font-size: .85rem; }
.club-chat [data-messages] p { white-space: pre-wrap; }
.club-chat [hidden] { display: none; }
@media (max-width: 650px) { .club-chat { grid-template-columns: 1fr; } }

.club-listing-images { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0; }
.club-listing-images img { display:block; width:min(100%, 14rem); aspect-ratio:4/3; object-fit:contain; background:#f4f6f2; border-radius:.5rem; }
.club-form :is(input,textarea,select) { min-width:0; box-sizing:border-box; }
#club-membre,#club-messages,#club-profil { scroll-margin-top:1rem; }
