/* MMM additions on top of the Weebly theme. Parity job: nothing here changes how a page looks,
   except the slideshow (rebuilt) and the notice on forms that are not connected yet. */

.mmm-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 10px 16px; }
.mmm-skip:focus { left: 10px; top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #569abd; outline-offset: 2px; }

/* Slideshow (replaces Weebly wSlideshow, thumbnails at bottom, fade) */
.mmm-slideshow { margin: 10px auto; max-width: 100%; }
.mmm-slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.mmm-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.mmm-slide.is-active { opacity: 1; }
.mmm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mmm-prev, .mmm-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 36px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.mmm-slides:hover .mmm-prev, .mmm-slides:hover .mmm-next, .mmm-prev:focus-visible, .mmm-next:focus-visible { opacity: 1; }
.mmm-prev { left: 0; } .mmm-next { right: 0; }
.mmm-thumbs { display: flex; gap: 2px; overflow-x: auto; margin-top: 4px; scrollbar-width: thin; }
.mmm-thumb { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; opacity: .75; }
.mmm-thumb.is-active, .mmm-thumb:hover { opacity: 1; }
.mmm-thumb img { display: block; width: 72px; height: 54px; object-fit: cover; }

/* Not-yet-connected forms: shown only after someone tries to submit */
.mmm-inert-note { display: none; margin: 12px 0 0; padding: 10px 12px; background: #fff7e6; border: 1px solid #f5a432; color: #3f3f3f; font: 14px/1.4 Cabin, sans-serif; }
.mmm-inert-shown .mmm-inert-note { display: block; }
[aria-disabled="true"] { cursor: not-allowed; }
