/* Toutelaguinee layout rebuild from scratch — v2.4.0. Keeps shell/header/modules; owns visual rhythm. */
:root{--tlg-layout-max:1180px;--tlg-layout-pad-x:16px;--tlg-layout-pad-top:clamp(28px,5vw,76px);--tlg-layout-pad-bottom:clamp(40px,6vw,88px);--tlg-header-height:74px;--tlg-bg:#f6f7f9;--tlg-surface:#fff;--tlg-text:#17191d;--tlg-muted:#626974;--tlg-line:rgba(23,25,29,.12);--tlg-red:#d71920;--tlg-radius:18px;--tlg-shadow:0 18px 45px rgba(15,23,42,.07)}
@media(max-width:767px){:root{--tlg-layout-pad-x:14px;--tlg-layout-pad-top:26px;--tlg-layout-pad-bottom:54px;--tlg-header-height:66px}}
html{scroll-padding-top:calc(var(--tlg-header-height) + 16px)}body.tlg-body{background:var(--tlg-bg)!important;color:var(--tlg-text)!important;font-size:16px;line-height:1.58;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body.tlg-body:not(.home):not(.front-page),body.tlg-body.home,body.tlg-body.front-page{padding-top:var(--tlg-header-height)!important}.tlg-site-header{z-index:1000!important}
body.tlg-body main,body.tlg-body main.tlg-shell,body.tlg-body .tlg-main,body.tlg-body .tlg-submit-shell,body.tlg-body .tlg-account-shell,body.tlg-body .tlg-single-wrap,body.tlg-body .tlg-content-page,body.tlg-body .tlg-civic-section-page,body.tlg-body .tlg-actualites-section-page{box-sizing:border-box!important;width:100%!important;max-width:var(--tlg-layout-max)!important;margin:0 auto!important;padding:var(--tlg-layout-pad-top) var(--tlg-layout-pad-x) var(--tlg-layout-pad-bottom)!important;background:transparent!important;color:var(--tlg-text)!important}
body.tlg-body main>.container,body.tlg-body main .tlg-page-shell>.container,body.tlg-body main .tlg-archive-wrap>.container,body.tlg-body main .tlg-single-wrap>.container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}body.tlg-body main>section,body.tlg-body main>article,body.tlg-body main>form,body.tlg-body main>div,body.tlg-body main .tlg-page-shell,body.tlg-body main .tlg-archive-wrap,body.tlg-body main .tlg-single-wrap,body.tlg-body main .tlg-archive-shell{margin-left:0!important;margin-right:0!important;max-width:none!important}
body.tlg-body .tlg-breadcrumb,body.tlg-body .tlg-breadcrumb-line,body.tlg-body .tlg-single-breadcrumb,body.tlg-body .tlg-submit-breadcrumb{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;min-height:24px!important;margin:0 0 22px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--tlg-muted)!important;font-size:13px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:.01em!important}body.tlg-body .tlg-breadcrumb a,body.tlg-body .tlg-breadcrumb-line a,body.tlg-body .tlg-single-breadcrumb a,body.tlg-body .tlg-submit-breadcrumb a{color:var(--tlg-red)!important;text-decoration:none!important}body.tlg-body .tlg-breadcrumb strong,body.tlg-body .tlg-breadcrumb-line strong,body.tlg-body .tlg-single-breadcrumb strong,body.tlg-body .tlg-submit-breadcrumb strong{color:var(--tlg-text)!important;font-weight:700!important}
body.tlg-body .tlg-page-header,body.tlg-body .tlg-single-header-copy,body.tlg-body .tlg-submit-hero,body.tlg-body .tlg-account-hero,body.tlg-body .tlg-archive-header,body.tlg-body .tlg-civic-hero,body.tlg-body .tlg-portal-hero{margin:0 0 clamp(22px,3vw,34px)!important;padding:clamp(22px,3vw,34px)!important;border:1px solid var(--tlg-line)!important;border-radius:var(--tlg-radius)!important;background:var(--tlg-surface)!important;color:var(--tlg-text)!important;box-shadow:var(--tlg-shadow)!important}
body.tlg-body main p,body.tlg-body main li,body.tlg-body main dd,body.tlg-body main .entry-content,body.tlg-body main .tlg-archive-card-excerpt,body.tlg-body main .tlg-account-meta,body.tlg-body main .text-muted,body.tlg-body main .small{color:var(--tlg-muted)!important}body.tlg-body main h1,body.tlg-body main h2,body.tlg-body main h3,body.tlg-body main h4,body.tlg-body main h5,body.tlg-body main h6,body.tlg-body main strong,body.tlg-body main b,body.tlg-body main label span{color:var(--tlg-text)!important}body.tlg-body main a{color:var(--tlg-red)!important}
body.tlg-body main h1,body.tlg-body .tlg-page-title,body.tlg-body .tlg-single-title,body.tlg-body .tlg-submit-hero h1,body.tlg-body .tlg-account-hero h1,body.tlg-body .tlg-archive-header h1{margin:0 0 10px!important;font-size:clamp(28px,4.2vw,48px)!important;line-height:1.05!important;letter-spacing:-.035em!important;font-weight:800!important}body.tlg-body main h2{font-size:clamp(21px,2.5vw,30px)!important;line-height:1.15!important;letter-spacing:-.02em!important;margin:0 0 12px!important}body.tlg-body main h3{font-size:clamp(18px,2vw,23px)!important;line-height:1.2!important;margin:0 0 10px!important}body.tlg-body main p{margin:0 0 1rem!important}body.tlg-body main .entry-content>*+*{margin-top:1rem!important}
body.tlg-body .tlg-submit-card,body.tlg-body .tlg-submit-rules,body.tlg-body .tlg-submit-form,body.tlg-body .tlg-account-card,body.tlg-body .tlg-account-panel,body.tlg-body .tlg-account-empty,body.tlg-body .tlg-archive-card,body.tlg-body .tlg-filter-panel,body.tlg-body .tlg-single-shell,body.tlg-body .tlg-single-note,body.tlg-body .alert,body.tlg-body details.tlg-submit-details{background:var(--tlg-surface)!important;color:var(--tlg-text)!important;border:1px solid var(--tlg-line)!important;border-radius:var(--tlg-radius)!important;box-shadow:var(--tlg-shadow)!important}.tlg-submit-form,.tlg-account-panel,.tlg-single-shell,.tlg-submit-rules,details.tlg-submit-details{padding:clamp(18px,3vw,32px)!important}.tlg-page-article{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.tlg-submit-grid,.tlg-account-grid,.tlg-archive-grid,.tlg-archive-list{display:grid!important;gap:18px!important;margin:0 0 24px!important}.tlg-submit-grid,.tlg-account-grid,.tlg-archive-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important}.tlg-archive-list{grid-template-columns:1fr!important}
body.tlg-body input,body.tlg-body select,body.tlg-body textarea,body.tlg-body .form-control,body.tlg-body .form-select{width:100%;min-height:44px!important;border:1px solid var(--tlg-line)!important;border-radius:12px!important;background:#fff!important;color:var(--tlg-text)!important;padding:10px 12px!important;font-size:15px!important;line-height:1.4!important}body.tlg-body textarea{min-height:120px!important}body.tlg-body label{font-weight:700!important;color:var(--tlg-text)!important}.tlg-submit-form-grid,.tlg-account-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.tlg-full{display:block!important;margin:16px 0!important}
.tlg-page-media,.tlg-single-media,.tlg-archive-card-media{overflow:hidden!important;border-radius:var(--tlg-radius)!important;background:#e9edf2!important;border:1px solid var(--tlg-line)!important;margin:0 0 22px!important}.tlg-media-img,body.tlg-body main img{max-width:100%;height:auto}.tlg-page-media img,.tlg-single-media img,.tlg-archive-card-media img{display:block!important;width:100%!important;height:auto!important}
body.tlg-body .tlg-primary-nav{gap:0!important;margin:0!important;padding:0!important}body.tlg-body .tlg-primary-nav li{margin:0!important;padding:0!important}body.tlg-body .tlg-primary-nav a{padding:14px 12px!important;border-bottom:3px solid transparent!important}body.tlg-body .tlg-primary-nav li.is-active>a,body.tlg-body .tlg-header-account-link.is-active{border-bottom-color:var(--tlg-red)!important}
@media(max-width:767px){.tlg-submit-form-grid,.tlg-account-form-grid,.tlg-single-layout,.tlg-account-item{grid-template-columns:1fr!important}.tlg-page-header,.tlg-single-header-copy,.tlg-submit-hero,.tlg-account-hero,.tlg-archive-header,.tlg-civic-hero,.tlg-portal-hero{padding:20px!important}}
