/* Adaptation des proportions et éléments visuels du template Joomla 3 frontend. */
.hero-bottom{color:#797979;font-weight:600}.inner-page .hero{min-height:450px}.inner-page .hero:after{display:none}.inner-page .hero h1{font-size:60px}.hero-copy .upper{text-transform:uppercase}
.member-links{width:auto;min-width:310px}.member-links>a:not(.mypolo){background:#000 url('../images/accesmembre-resa.png') no-repeat left center;font-size:14px}.inner-page .menu-toggle{background:transparent}
.social-links .fa{font-size:14px}.hero-bottom .social-links .fa{font-size:10px}
.is-guest .activity-controls{display:none}.is-guest .activity-carousel .activities{display:block;overflow:visible}.activity-copy{padding:125px 100px 0;min-height:625px}.activity,.activity-photo{min-height:625px}.surtitre{font-size:11px;letter-spacing:3px}.activity-copy h2{font-size:27px;line-height:1.4}
.article-shell{max-width:1310px;padding:0 15px;margin:90px auto 0}.home-story{margin:90px auto 20px}.home-story h2{margin:30px 0 34px}.home-story .com-content-article__body{padding-bottom:45px}
.polo-component .article-shell{max-width:none;padding:0;margin:0}.polo-activity-page>section:not(.polo-latest-news){padding:100px max(15px,calc((100% - 1280px)/2));margin:0;border:0}.polo-activity-page>section+section:not(.activity-contacts):not(.polo-latest-news){padding-top:0}.polo-activity-page>section>h2{margin:30px 0 34px}.polo-activity-page>.activity-contacts{background:#f8f8f8;padding-top:70px!important;padding-bottom:60px!important}.activity-contacts>h2{font-size:45px;background:url('../images/dashed-dark.png') repeat-x center}.activity-contacts>h2 span{background:#f8f8f8;padding:0 50px}.contact-cards{margin:0;gap:30px}.contact-cards section{max-width:400px;margin:auto;width:100%}.contact-cards img{width:auto;height:auto;max-width:100%;max-height:300px;border-radius:0;margin:0 0 20px;object-fit:contain}.contact-cards h3,.contact-cards p{font-family:var(--serif);font-size:18px;line-height:1.7;margin:0}.contact-cards .surtitre{order:-1;font-family:var(--sans);margin-bottom:20px}.contact-cards section{display:flex;flex-direction:column;align-items:center}.article-edit{position:absolute;right:30px;margin:15px 0;font-size:12px;z-index:2}.polo-activity-page .polo-latest-news{margin-top:0}.legacy-columns{column-gap:32px}
.site-menu{padding:210px 100px 60px;background:rgba(23,33,31,.98)}.site-menu nav{max-width:1310px;margin:auto}.nav-roots{position:relative;max-width:none;min-height:620px}.nav-roots>li{width:370px;border-right:1px solid #0d1211;padding:5px 0;color:#636d6b;font-size:40px}.nav-roots details{position:static}.nav-roots summary{max-width:360px}.nav-roots summary:after{content:'›';float:right;margin-right:25px}.nav-roots details[open]>summary{color:#fff}.nav-roots details[open]>summary:after{content:'›'}.nav-roots details ul{position:absolute;left:370px;top:0;width:calc(100% - 370px);padding:0 0 0 26px;gap:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nav-roots details li{font-size:32px;min-width:0}.nav-roots details li:not(.has-thumb){grid-column:1/-1;padding:8px 0}.nav-roots .has-thumb a{position:relative;display:flex;min-height:151px;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:20px;color:#fff}.nav-roots .has-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}.nav-roots .has-thumb span{position:relative;line-height:28px;text-shadow:0 1px 6px #000}.nav-roots .has-thumb a:hover img{transform:scale(1.05)}.is-member .nav-roots details ul{grid-template-columns:repeat(4,minmax(0,1fr))}.is-member .nav-roots .has-thumb{font-size:24px}.nav-roots summary::-webkit-details-marker{display:none}
.member-panel{width:100%;max-width:100%;margin:0;min-height:418px;padding:55px max(30px,calc((100% - 1280px)/2));background:#c1b197}.member-panel>h2{margin-top:0}.member-panel .member-columns{max-width:1280px;margin:auto}.member-panel .dialog-close{right:48px}.member-panel::backdrop{background:#0005}
#footer{margin-top:90px;padding:118px max(15px,calc((100% - 1280px)/2));color:#575757}.footer-grid{grid-template-columns:3fr 7fr 2fr;gap:0}.footer-logo{padding-right:30px}.footer-logo img{width:110px;max-width:100%;height:auto}.footer-about{padding-right:15px}.footer-about p{font-size:16px;line-height:2.125;max-width:644px}.footer-grid nav{padding:51px 0 0 48px}.footer-grid li{margin-bottom:9px}.footer-grid nav a,.footer-grid nav button{font-size:14px}.footer-grid nav .social-links a{color:#5d6463}.legal{color:#3b393f;font-size:10px;margin:50px 0 -20px}.gazette h1{font-size:45px}.gazette .btn-download{border:3px solid #fff;background:transparent;padding:13px 40px}
.jmodedit{position:absolute!important;right:15px;top:10px;padding:6px 12px!important;font-size:11px!important;z-index:2;background:#17211fe6!important;color:#fff!important;border:1px solid #ffffff66!important}.jmoddiv{position:relative}.jmodedit+[role=tooltip]{display:none!important}
@media(min-width:1800px){.activity-copy{padding-left:100px;padding-right:100px}}
@media(max-width:1200px){.site-menu{padding:180px 35px 40px}.nav-roots>li{width:290px;font-size:32px}.nav-roots details ul{left:290px;width:calc(100% - 290px)}.is-member .nav-roots details ul{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-grid nav{padding-left:20px}.activity-copy{padding:85px 45px 40px}}
@media(max-width:1024px){.activity{display:flex;flex-direction:column}.activity-photo{min-height:50vh}.activity-copy{min-height:50vh;padding:35px 20px}.nav-roots .has-thumb{font-size:24px}.inner-page .hero h1{font-size:48px}.contact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.hero h1,.inner-page .hero h1{font-size:36px}.inner-page .hero{min-height:350px}.member-links{min-width:0}.member-links>a:not(.mypolo){font-size:9px;background-image:none}.hero-bottom p{display:none}.site-menu{padding:155px 25px 35px}.site-menu nav{width:100%}.nav-roots{min-height:0}.nav-roots>li{width:100%;border:0;font-size:28px}.nav-roots details ul{position:static;width:100%;padding:15px 0;grid-template-columns:repeat(2,minmax(0,1fr))!important}.nav-roots summary{max-width:none}.nav-roots .has-thumb a{min-height:120px}.nav-roots details li{font-size:23px}.is-member .nav-roots .has-thumb{font-size:20px}.menu-logo{top:25px}.member-panel{padding:60px 25px 30px}.member-columns{gap:30px}.activity-photo{min-height:240px}.activity-copy{min-height:420px}.article-shell{margin-top:50px;padding:0 20px}.home-story{margin-bottom:20px}.polo-activity-page>section:not(.polo-latest-news){padding:55px 20px}.activity-contacts>h2{font-size:32px}.activity-contacts>h2 span{padding:0 20px}.contact-cards{grid-template-columns:1fr}.contact-cards img{max-height:260px}.polo-component .article-shell{padding:0;margin:0}#footer{padding:55px 25px;margin-top:50px}.footer-grid{grid-template-columns:1fr;gap:35px}.footer-logo{padding:0;text-align:center}.footer-logo img{width:110px;max-width:100%}.footer-grid nav{padding:0}.footer-about{padding:0}.footer-about p{font-size:14px}.legal{margin-top:35px}.gazette h1{font-size:30px}}
.contact-cards section{margin:0 auto}
.contact-cards:has(>section:not(:has(>.surtitre)))>section>.surtitre{display:none}
/* Structure éditoriale des fiches : mêmes wrappers et colonnes que la source. */
.polo-activity-page>section.classic,.polo-activity-page>section.activity-contacts{padding-left:0;padding-right:0}
.polo-activity-page .row{width:100%;max-width:1310px;margin-left:auto;margin-right:auto}
.polo-activity-page .row>.columns{padding-left:15px;padding-right:15px;min-width:0}
.polo-activity-page .classic h1{font-size:34px;text-align:center;margin:50px 0;line-height:1.4}
.polo-activity-page .classic h2{font-size:27px;text-align:center;margin:3.2px 0 8px;line-height:1.4}
.polo-activity-page .classic h3{font-size:22px;text-align:center;margin:3.2px 0 8px;line-height:1.4}
.polo-activity-page .classic h4,.polo-activity-page .classic h5{font:400 18px/1.4 var(--serif);text-align:center;margin:3.2px 0 8px}
.polo-activity-page .classic h3.dashtitle{font:700 16px/1.4 var(--sans);text-transform:uppercase;letter-spacing:1px;padding:40px 0;margin:3.2px 0 8px}
.polo-activity-page .dashtitle:before,.polo-activity-page .dashtitle:after{content:'';display:inline-block;width:20px;border-bottom:1px solid #707070;margin:5px 10px}
.polo-activity-page blockquote{column-count:2;column-gap:100px;text-align:justify;border:8px solid #f8f8f8;padding:30px;margin:0;color:#6f6f6f;line-height:1.6}
.polo-activity-page blockquote p{color:#6f6f6f;line-height:2.125}
.polo-activity-page [class^=cols-]{column-gap:100px;text-align:justify;clear:both}
.polo-activity-page .cols-1{column-count:1}.polo-activity-page .cols-2{column-count:2}.polo-activity-page .cols-3{column-count:3}.polo-activity-page .cols-4{column-count:4}.polo-activity-page .cols-5{column-count:5}
.polo-activity-page [class^=cols-] img{margin:10px}.polo-activity-page [class^=cols-] ul,.polo-activity-page blockquote ul{break-inside:avoid}
.polo-activity-page span.break{display:block;line-height:0;break-before:column}
.polo-activity-page .classic a:not(.btn):not(.btn-download){text-decoration:none}.polo-activity-page a:hover{text-decoration:underline}
.polo-activity-page .classic .btn{padding:13px 74px;font-size:13px;line-height:13px}
.article-shell a.btn-download,.polo-activity-page .classic .btn-download{border:3px solid #3b393f;font-size:13px;line-height:13px;padding:13px 22px 13px 50px;font-weight:600;text-transform:uppercase;text-decoration:none;background:url('../images/download.png') 20px center no-repeat;margin:0}
.polo-activity-page table{width:auto;border:1px solid #ddd;border-collapse:separate;border-spacing:0;background:#fff;margin-bottom:20px}.polo-activity-page td,.polo-activity-page th{padding:9px 10px;font-size:14px;line-height:18px;vertical-align:top}.polo-activity-page tbody tr:nth-child(even){background:#f9f9f9}
.polo-activity-page .activity-contacts .superdash{font-size:45px;margin:0 0 40px;background:url('../images/dashed-dark.png') repeat-x center}
.polo-activity-page .activity-contacts .superdash span{background:#f8f8f8;padding:0 50px}
.polo-activity-page .contact-list{display:grid;grid-template-columns:repeat(var(--contact-columns),minmax(0,1fr));gap:0;align-items:start}
.polo-activity-page .contact-list .contact{width:100%;max-width:400px;margin:auto;padding:0 0 30px;text-align:center}
.polo-activity-page .contact-list p{font:400 18px/2.125 var(--serif);margin:0}
.polo-activity-page .contact-list h4{font:400 18px/1.4 var(--serif);text-transform:none;letter-spacing:normal;margin:3.2px 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.polo-activity-page .contact-list img{width:auto;height:auto;max-width:100%;max-height:none;object-fit:initial;border-radius:0;margin:0 0 20px}
.polo-activity-page .contact-list a{text-decoration:none}
@media(max-width:1024px){.polo-activity-page .cols-2,.polo-activity-page .cols-3{column-count:1}.polo-activity-page .cols-4,.polo-activity-page .cols-5{column-count:2}.polo-activity-page [class^=cols-]{column-gap:34px}}
@media(max-width:767px){.polo-activity-page blockquote{column-count:1;column-gap:0;padding:10px}.polo-activity-page [class^=cols-]{column-count:1}.polo-activity-page .contact-list{grid-template-columns:1fr}.polo-activity-page .activity-contacts .superdash{font-size:32px}.polo-activity-page .activity-contacts .superdash span{padding:0 20px}.polo-activity-page table{display:table;width:100%!important}.polo-activity-page tbody{display:table-row-group}.polo-activity-page tr{display:table-row}.polo-activity-page td,.polo-activity-page th{display:table-cell;width:auto!important;padding:9px 10px}.polo-activity-page .classic .btn,.polo-activity-page .classic .btn-download{display:block;max-width:100%;padding:13px;line-height:20px;white-space:normal;overflow-wrap:anywhere}.polo-activity-page .classic .btn-download{padding-left:45px}}

/* Panneau membre : disposition et ouverture du template d’origine. */
.topbar{top:var(--member-panel-height,0px)}
.member-links .member-payments-toggle{background:#000 url('../images/accesmembre-reglement.png') no-repeat left center}
#member-panel{position:relative;inset:auto;width:100%;max-width:none;min-height:418px;max-height:none;margin:0;padding:0 0 30px;background:#c1b197;color:#fff;overflow:visible;border:0}
#member-panel .member-inner{max-width:1310px;margin:auto}
#member-panel .member-heading{position:relative;padding:0 15px}
#member-panel #member-title{font:400 22px/1.4 var(--serif);text-align:left;margin:0;padding:64px 0 20px;color:#fff}
#member-panel .dialog-close{position:absolute;top:64px;right:15px;padding:0;gap:18px;font:400 16px/1.4 var(--sans)}
#member-panel .dialog-close span{font:300 26px/1 Arial}
#member-panel .member-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:none;margin:0}
#member-panel .member-columns>section{padding:0 15px;min-width:0}
#member-panel p{margin:0 0 12px;line-height:2.125}
#member-panel strong{font-size:13px;font-weight:600;text-transform:uppercase}
#member-panel .upper{text-transform:uppercase}
#member-panel .btn{display:inline-block;min-width:260px;max-width:100%;margin:0;padding:13px 50px 13px 40px;border:3px solid #2c2a2e;background:#2c2a2e;color:#fff;font:600 13px/.813 var(--sans);border-radius:0;white-space:normal}
#member-panel .btn.facebook{background:#121460;border-color:#121460;padding:13px 30px;text-transform:none}
#member-panel .btn.instagram{background:#39a3e6;border-color:#39a3e6;padding:13px 30px;text-transform:none}
#member-panel .btn i{padding-right:6px}
#member-panel input[type=text],#member-panel input[type=password]{display:inline-block;width:100%;max-width:340px;border:3px solid #fff;background:transparent;color:#fff;padding:12px 16px;margin:0;border-radius:0}
#member-panel input::placeholder{color:#fff;opacity:1}
@media(min-width:768px) and (max-width:1024px){#member-panel .member-columns{grid-template-columns:repeat(2,minmax(0,1fr))}#member-panel .member-payments{margin-top:20px}}
@media(max-width:767px){#member-panel{min-height:0;padding-bottom:30px}#member-panel .member-inner{padding:0 10px}#member-panel #member-title{padding-top:35px}#member-panel .dialog-close{top:35px}#member-panel .member-columns{grid-template-columns:1fr;gap:25px}#member-panel .btn{min-width:0;width:100%;max-width:340px}#member-panel .member-payments-toggle{font-size:9px;background-image:none}}

/* Présentation Polo du composant Contacts natif de Joomla. */
.polo-contact-page .article-shell{max-width:none;margin:0;padding:0}
.polo-contact-grid{display:grid;grid-template-columns:3fr 8fr;max-width:1310px;padding:50px 15px 0 calc(1310px / 12 + 15px);margin:auto}
.polo-contact-grid>aside,.polo-contact-grid>section{padding:0 15px}
.polo-contact-grid h3{text-align:left;font-size:22px;line-height:1.4;margin:3px 0 19px}
.polo-contact-details p{margin:0;line-height:2.125}
.polo-contact-details h3:not(:first-child){margin-top:34px}
.polo-contact-details a{text-decoration:none!important}
.polo-contact-details .social-links{color:#696969;gap:24px;margin-top:5px}
.polo-contact-write .form-line{max-width:643px;margin:0 0 30px;position:relative}
.polo-contact-write input[type=text],.polo-contact-write input[type=email],.polo-contact-write textarea{display:block;width:100%;max-width:100%;border:1px solid #000;background:#fff;color:#3b393f;padding:28px 21px;margin:0;border-radius:0;font:16px/1.5 var(--sans);box-shadow:none}
.polo-contact-write textarea{resize:vertical;min-height:190px}
.polo-contact-write input::placeholder,.polo-contact-write textarea::placeholder{color:#777;opacity:1}
.polo-contact-write .contact-send input{padding-right:165px}
.polo-contact-write .contact-send button{position:absolute;right:0;top:0;bottom:0;padding:20px 19px;border:1px solid #000;color:#000;background:transparent;font:400 20px/1.2 var(--sans)}
.polo-contact-write .contact-send button:hover{background:#2c2a2e;color:#fff}
.polo-contact-write .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.polo-contact-write input[aria-invalid=true],.polo-contact-write textarea[aria-invalid=true]{border-color:#b3261e}
.polo-contact-write label.invalid{color:#b3261e}
.polo-contact-map{width:100%;height:50vh;min-height:300px;margin:40px 0 0}
.polo-contact-map iframe{display:block;border:0;width:100%;height:100%}
.polo-contact-page #footer{margin-top:0}
@media(max-width:1310px){.polo-contact-grid{padding-left:calc(100% / 12 + 15px)}}
@media(max-width:767px){.polo-contact-grid{grid-template-columns:1fr;padding:45px 20px 0;gap:40px}.polo-contact-grid>aside,.polo-contact-grid>section{padding:0}.polo-contact-write .contact-send input{padding-right:21px}.polo-contact-write .contact-send button{position:static;width:100%;margin-top:15px}.polo-contact-map{height:350px}}

/* MW Math CAPTCHA : thème Polo, sans modification des fichiers du plugin. */
body .mathcaptcha-group{font-family:var(--sans);color:#3b393f;max-width:100%!important}
body .mathcaptcha-group .mathcaptcha-box{padding:24px;border:1px solid #c1b197;border-radius:0;background:#f8f6f2;box-shadow:none}
body .mathcaptcha-group .mathcaptcha-head{margin-bottom:18px;gap:10px}
body .mathcaptcha-group .mathcaptcha-head label{color:#3b393f;font:600 13px/1.6 var(--sans);letter-spacing:.5px;text-transform:uppercase}
body .mathcaptcha-group .mathcaptcha-head svg{color:#8b7655}
body .mathcaptcha-group .mathcaptcha-qbox{background:transparent;border:0;border-radius:0;padding:0;margin-bottom:16px;gap:20px;flex-wrap:wrap}
body .mathcaptcha-group .mathcaptcha-expr{color:#3b393f;font:400 27px/1.4 var(--serif);letter-spacing:1px}
body .mathcaptcha-group .mathcaptcha-input,
#member-panel .mathcaptcha-group .mathcaptcha-input{width:100%;max-width:180px;min-width:0;padding:12px 16px;margin:0;border:1px solid #3b393f;border-radius:0;box-shadow:none;background:#fff;color:#3b393f;font:400 16px/1.5 var(--sans);text-align:center}
body .mathcaptcha-group .mathcaptcha-input::placeholder,
#member-panel .mathcaptcha-group .mathcaptcha-input::placeholder{color:#6b655d;opacity:1;font:400 14px var(--sans)}
body .mathcaptcha-group .mathcaptcha-input:focus{border-color:#8b7655;outline:2px solid #8b7655;outline-offset:3px;box-shadow:none}
body .mathcaptcha-group .mathcaptcha-hint{font:400 13px/1.7 var(--sans);color:#655d53;margin-top:8px}
body .mathcaptcha-group .mathcaptcha-feedback{font:600 13px/1.6 var(--sans);min-height:0;margin:0}
body .mathcaptcha-group .mathcaptcha-feedback:empty{display:none}
body .mathcaptcha-group .mathcaptcha-feedback.correct{color:#28633c}
body .mathcaptcha-group .mathcaptcha-feedback.wrong{color:#a52222}
body .mathcaptcha-group .mathcaptcha-brand{margin-top:14px;text-align:left}
body .mathcaptcha-group .mathcaptcha-brand-main{color:#655d53;font-family:var(--sans)}
body .mathcaptcha-group .mathcaptcha-brand-sub{color:#756d62}
body .mathcaptcha-group .mathcaptcha-brand a:hover{color:#3b393f}
/* Le plugin injecte son bloc avant Envoyer ; la grille lui réserve une ligne. */
.polo-contact-write .contact-send:has(.mathcaptcha-group){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:stretch}
.polo-contact-write .contact-send>.mathcaptcha-group{grid-column:1/-1;grid-row:1;margin:0 0 30px!important;width:100%}
.polo-contact-write .contact-send:has(.mathcaptcha-group)>input[type=email]{grid-row:2;grid-column:1;padding-right:21px}
.polo-contact-write .contact-send:has(.mathcaptcha-group)>button{position:static;grid-row:2;grid-column:2;height:auto;margin:0;border-left:0}
#member-panel .mathcaptcha-group{margin:16px 0!important}
#member-panel .mathcaptcha-group .mathcaptcha-box{padding:18px}
@media(max-width:767px){body .mathcaptcha-group .mathcaptcha-box{padding:20px}.polo-contact-write .contact-send:has(.mathcaptcha-group){grid-template-columns:minmax(0,1fr)}.polo-contact-write .contact-send:has(.mathcaptcha-group)>button{grid-row:3;grid-column:1;border-left:1px solid #000;margin-top:15px}}

/* CAPTCHA compact : calcul et réponse sur une ligne. */
body .mathcaptcha-group .mathcaptcha-box{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px;background:#faf9f6}
body .mathcaptcha-group .mathcaptcha-head{margin:0;gap:8px}
body .mathcaptcha-group .mathcaptcha-head label{font-size:11px;letter-spacing:0}
body .mathcaptcha-group .mathcaptcha-head svg{width:15px;height:15px}
body .mathcaptcha-group .mathcaptcha-qbox{margin:0;gap:0}
body .mathcaptcha-group .mathcaptcha-expr{font-size:21px;letter-spacing:0;white-space:nowrap}
body .mathcaptcha-group .mathcaptcha-qbox+div{flex:0 1 120px;min-width:0}
body .mathcaptcha-group .mathcaptcha-input,
#member-panel .mathcaptcha-group .mathcaptcha-input{max-width:120px;padding:8px 10px;font-size:14px}
body .mathcaptcha-group .mathcaptcha-input::placeholder,
#member-panel .mathcaptcha-group .mathcaptcha-input::placeholder{font-size:12px}
body .mathcaptcha-group .mathcaptcha-hint{display:none}
body .mathcaptcha-group .mathcaptcha-brand{display:none}
body .mathcaptcha-group .mathcaptcha-feedback:not(:empty){flex-basis:100%;margin:0}
.polo-contact-write .contact-send>.mathcaptcha-group{margin-bottom:20px!important}
#member-panel .mathcaptcha-group .mathcaptcha-box{padding:12px;gap:12px}
@media(max-width:480px){body .mathcaptcha-group .mathcaptcha-box{gap:12px;padding:12px}body .mathcaptcha-group .mathcaptcha-head{flex-basis:100%}}

/* Boutons de telechargement des articles sur petits ecrans. */
@media(max-width:767px){.article-shell a.btn-download{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:20px}}
