/* ExploTerre Terra V6: PTFR component layout, ExploTerre identity and modules. */
:root { --terra-gap: var(--panel-gap); }
.exploterre-ptfr *, .exploterre-ptfr *::before, .exploterre-ptfr *::after {box-shadow:none!important;text-shadow:none!important}
.exploterre-ptfr :is(a,button,input,summary) {transition:none!important;animation:none!important}
.exploterre-ptfr :is(a,button):hover {filter:none;scale:none}
.exploterre-ptfr .site-mark.site-mark-logo {width:45px;height:45px;padding:0;border:0;background:transparent;border-radius:50%;overflow:hidden}
.exploterre-ptfr .site-mark.site-mark-logo img {display:block;width:100%;height:100%;object-fit:contain}
.exploterre-ptfr .site-brand {min-width:0}
.exploterre-ptfr :is(.site-layout,#main,#main-content,.site-page-content,.form-element,.form-field-textarea) {min-width:0}
/* Custom modules own their panels: avoid an extra white frame. */
.exploterre-ptfr .site-page-content:has(> :is(#adhesion-module,#cavites-module,#location-module,#module-calendar)) {padding:0;border:0;border-radius:0;background:transparent}
.exploterre-ptfr .site-page-content > :is(#adhesion-module,#cavites-module,#location-module,#module-calendar) > header {margin-block:0 var(--panel-gap)}
.exploterre-ptfr :is(.button,.basic-button,.small-button,input[type=submit],input[type=reset]) {min-height:36px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.exploterre-ptfr :is(.form-element,.form-element-textarea,.form-field-textarea) {max-width:100%}
.exploterre-ptfr .form-element-textarea:has(.bbcode) {display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.exploterre-ptfr .form-element-textarea:has(.bbcode)>* {min-width:0;max-width:100%;grid-column:1/-1}
.exploterre-ptfr .bbcode {width:100%;max-width:100%}
.exploterre-ptfr :is(.message-content,.forum-post-content,.news-entry-prose) {overflow-wrap:anywhere}
@media(max-width:800px){
 .exploterre-ptfr .site-bar {gap:8px}
 .exploterre-ptfr :is(.form-buttons,.fieldset-submit) {display:flex;flex-wrap:wrap;gap:8px}
 .exploterre-ptfr :is(.form-buttons,.fieldset-submit)>:is(button,input,.button,.basic-button) {flex:0 1 auto}
}
