/* BE Événements GoWatch : styles ciblés, clair/sombre TEST81 (V0.1.1). */
.begwe-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 17px;background:#c5002d;color:#fff!important;text-decoration:none;font-size:14px;font-weight:750;cursor:pointer;box-shadow:none}
.begwe-button:hover,.begwe-button:focus-visible{background:#9c0022;color:#fff!important}
.begwe-auto-cta{margin:18px 0 4px;text-align:right}
.begwe-form-wrap{max-width:940px;margin:30px auto;padding:0 18px 40px;color:#e7eef3}
.begwe-form-wrap>header{margin-bottom:26px}.begwe-form-wrap h1{font-size:clamp(28px,3.5vw,40px);line-height:1.2;margin:8px 0 12px;color:inherit}.begwe-form-wrap>header p{font-size:16px;line-height:1.6;color:#c8d3dd}
.begwe-kicker{letter-spacing:.1em;font-size:11px;font-weight:800;color:#f47b96}
.begwe-form{display:grid;gap:19px;padding:23px;border-radius:14px;border:1px solid #385061;background:#172a3a}
.begwe-field{min-width:0}.begwe-field label{display:block;font-weight:700;margin-bottom:7px;color:#e8f3f9}
.begwe-field input:not([type=file]),.begwe-field select,.begwe-field textarea{box-sizing:border-box;display:block;width:100%;min-width:0;border:1px solid #557080;border-radius:8px;padding:11px 12px;color:#162837;background:#fff;font:inherit;font-size:15px}
.begwe-field input[type=file]{width:100%;max-width:100%;font:inherit;font-size:14px}.begwe-field small,.begwe-small{display:block;color:#c5d3dd;font-size:12px;line-height:1.5;margin-top:6px}
.begwe-dates{display:grid;grid-template-columns:1fr 1fr;gap:17px}.begwe-consent{font-size:14px;line-height:1.6;display:block;color:#e8f2f9}.begwe-consent a{color:#ffb6ca}
.begwe-progress{margin:0;color:#e6f2f9;line-height:1.5}.begwe-preview{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}.begwe-preview img{width:110px;height:90px;object-fit:cover;border-radius:8px}.begwe-preview span{font-size:13px}
.begwe-notice{background:#243c4b;border:1px solid #4a6577;color:#fff;border-radius:10px;padding:15px;margin:15px 0}.begwe-notice.begwe-error{border-color:#e6a9b8}.begwe-notice.begwe-success{border-color:#92d6b5}
.begwe-showcase{max-width:100%;margin:22px 0}.begwe-slider-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}
.begwe-slider-heading h2{font-weight:800;font-size:clamp(21px,2.4vw,27px);color:#e8f2fa;line-height:1.3;margin:0}
.begwe-controls{display:flex;gap:8px}.begwe-controls button{width:36px;height:36px;border:1px solid #526d7d;border-radius:50%;display:grid;place-items:center;font-size:24px;line-height:1;background:#253b4b;color:#fff;cursor:pointer}
.begwe-controls button:hover,.begwe-controls button:focus-visible{background:#be002e;color:#fff}
.begwe-showcase.begwe-slider .crtv76-events-grid{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;gap:15px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:3px 2px 12px;scrollbar-width:thin}
.begwe-showcase.begwe-slider .crtv76-event-card{flex:0 0 calc((100% - 30px)/3);min-width:0;scroll-snap-align:start;flex-direction:column!important;align-items:stretch!important}
.begwe-showcase.begwe-slider .crtv76-event-image{aspect-ratio:16/10;flex:0 0 auto;border-radius:12px 12px 0 0}
.begwe-showcase.begwe-slider .crtv76-event-image img{height:100%;width:100%;object-fit:cover;border-radius:12px 12px 0 0}
.begwe-showcase.begwe-slider .crtv76-event-card-body{padding:14px}
.begwe-showcase .crtv76-event-empty{color:#cad9e4}
html:not(.crtv-theme-dark) .begwe-showcase .begwe-slider-heading h2{color:inherit}
@media(max-width:900px){.begwe-showcase.begwe-slider .crtv76-event-card{flex-basis:calc((100% - 15px)/2)}}
@media(max-width:640px){.begwe-dates{grid-template-columns:1fr}.begwe-form{padding:16px}.begwe-form-wrap{padding:0 12px 24px}.begwe-showcase.begwe-slider .crtv76-event-card{flex-basis:min(84vw,310px)}.begwe-showcase.begwe-slider .crtv76-event-excerpt{display:block}.begwe-slider-heading h2{font-size:20px}}

/* Page de proposition dédiée : évite le format 'article de blog' et ses métadonnées. */
.begwe-plugin-main{min-height:40vh;padding:24px 0 48px;}
.begwe-page-content{max-width:1000px;margin:0 auto;}
.begwe-plugin-main .begwe-form-wrap{max-width:940px;margin:0 auto;padding:15px 12px 28px;}
/* Mode clair : texte sombre lisible ; champs et cartes clairs. */
html:not(.crtv-theme-dark) #main .begwe-form-wrap,
html:not(.crtv-theme-dark) #main .begwe-form-wrap>header h1{color:#213447!important;}
html:not(.crtv-theme-dark) #main .begwe-form-wrap>header p{color:#42586a!important;}
html:not(.crtv-theme-dark) #main .begwe-kicker{color:#ae153b;}
html:not(.crtv-theme-dark) #main .begwe-form{background:#f2f6f9;border-color:#d3dfe8;}
html:not(.crtv-theme-dark) #main .begwe-field label,
html:not(.crtv-theme-dark) #main .begwe-consent{color:#213447!important;}
html:not(.crtv-theme-dark) #main .begwe-field small,
html:not(.crtv-theme-dark) #main .begwe-small{color:#4d6375!important;}
html:not(.crtv-theme-dark) #main .begwe-form .begwe-progress{color:#213447;}
html:not(.crtv-theme-dark) #main .begwe-consent a{color:#a0002b;}
html:not(.crtv-theme-dark) #main .begwe-field input:not([type=file]),
html:not(.crtv-theme-dark) #main .begwe-field select,
html:not(.crtv-theme-dark) #main .begwe-field textarea{background:#fff!important;color:#182c3d!important;border-color:#a9bccb!important;}
/* Mode sombre : conserve la présentation validée du site. */
html.crtv-theme-dark #main .begwe-form-wrap,
html.crtv-theme-dark #main .begwe-form-wrap>header h1{color:#e7eef3!important;}
html.crtv-theme-dark #main .begwe-form-wrap>header p{color:#c8d3dd!important;}
html.crtv-theme-dark #main .begwe-field label,
html.crtv-theme-dark #main .begwe-consent{color:#e8f3f9!important;}
html.crtv-theme-dark #main .begwe-field small,
html.crtv-theme-dark #main .begwe-small{color:#c5d3dd!important;}
html.crtv-theme-dark #main .begwe-form{background:#172a3a;border-color:#385061;}
@media(max-width:640px){.begwe-plugin-main{padding:10px 0 28px;}.begwe-plugin-main .begwe-form-wrap{padding:14px 8px 20px;}}
