/* Layout rules for pages converted from the original Elementor design.
   Each converted element carries class mum-e-<original id>; its exact fonts/sizes/colors live in pages/page-<ID>.css. */
.mum-e-sec { margin-block: 0 !important; padding: 0; position: relative; }
.mum-e-row { max-width: 1170px; margin: 0 auto !important; gap: 0 !important; flex-wrap: nowrap !important; align-items: stretch !important; }
.mum-e-row > .mum-e-col { flex-grow: 0; flex-shrink: 1; min-width: 0; margin: 0 !important; display: flex; }
.mum-e-row > .mum-e-col:not([style*="flex-basis"]) { flex-grow: 1; }
.mum-e-colwrap { display: flex; flex-direction: column; width: 100%; padding: 10px; box-sizing: border-box; margin: 0 !important; }
.mum-e-colwrap > * { margin: 0 !important; max-width: 100%; }
.mum-e-colwrap > * + * { margin-top: 20px !important; }
.mum-e-inner { margin: 0 !important; }
.mum-e-inner > .mum-e-row { max-width: none; }
/* Text widgets */
.mum-e-text { margin: 0; }
.mum-e-text > * { margin: 0 0 .9rem !important; }
.mum-e-text > :last-child { margin-bottom: 0 !important; }
.mum-e-text > :is(h1,h2,h3,h4,h5,h6) { margin: .5rem 0 1rem !important; line-height: 1.2; }
.mum-e-text ul, .mum-e-text ol { padding-left: 1.5em; }
.mum-e-text a { color: #c36; }
p.mum-e, h1.mum-e, h2.mum-e, h3.mum-e, h4.mum-e, h5.mum-e, h6.mum-e { letter-spacing: normal; }
/* Images */
.mum-e-img { margin: 0; line-height: 0; }
.mum-e-img img { max-width: 100%; height: auto; vertical-align: middle; display: inline-block; }
.mum-e-img a { display: inline-block; }
.mum-e-icon { margin: 0; line-height: 0; text-align: center; }
.mum-e-icon img { display: inline-block; }
/* Buttons (sizes/colors come from the page stylesheet) */
.mum-e-buttons { gap: 0; }
.mum-e-buttons .wp-block-button__link { display: inline-block; text-decoration: none; transition: all .3s; box-shadow: none; }
.mum-e-buttons .wp-block-button__link:hover { transform: none; filter: brightness(.95); }
/* Icon lists (checkmark bullets like the original) */
.mum-e-iconlist { list-style: none; padding: 0; margin: 0; }
.mum-e-iconlist li { position: relative; padding-left: 1.4em; }
.mum-e-iconlist li::before { content: ""; position: absolute; left: 0; top: .25em; width: .95em; height: .95em; background-color: #CE4E4C;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c8.8 0 16 7.2 16 16s-7.2 16-16 16H48c-8.8 0-16 7.2-16 16v352c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V240c0-8.8 7.2-16 16-16s16 7.2 16 16v192c0 26.5-21.5 48-48 48zm-209-152-96-96c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l84.7 84.7L489.4 107.3c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-299.4 298.4c-6.2 6.2-16.4 6.2-22.6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c8.8 0 16 7.2 16 16s-7.2 16-16 16H48c-8.8 0-16 7.2-16 16v352c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V240c0-8.8 7.2-16 16-16s16 7.2 16 16v192c0 26.5-21.5 48-48 48zm-209-152-96-96c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l84.7 84.7L489.4 107.3c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-299.4 298.4c-6.2 6.2-16.4 6.2-22.6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mum-e-iconlist a { color: inherit; text-decoration: none; }
/* Testimonial carousel inside converted pages: the original had no quote marks of its own */
.mum-carousel.mum-e { max-width: none; }
.mum-carousel.mum-e blockquote { border: 0; margin: 0; padding: 0; text-align: center; }
.mum-carousel.mum-e blockquote p { margin: 0 0 10px; }
.mum-carousel.mum-e cite { display: block; font-style: normal; margin-top: 0; }
/* Video grids (loop) inside converted pages */
.mum-e-videos .mum-video-card__title { font-family: var(--wp--preset--font-family--display); font-size: 18px; font-weight: 600; color: #000; line-height: 1.2; margin-top: 10px; }
.mum-e-videos .mum-videos__grid { gap: 15px; }
.mum-e-videos .mum-video-card__thumb { border-radius: 15px; box-shadow: none; }
/* Forms */
.mum-e-form .mum-contact__submit { margin-top: 20px; }
/* Mobile: Elementor stacks columns at 767px */
@media (max-width: 781px) {
	.mum-e-row { flex-wrap: wrap !important; }
	.mum-e-row > .mum-e-col { flex-basis: 100% !important; max-width: 100% !important; }
}
/* Home: event list keeps the new cards but at the original width */
.mum-e-sec .mum-events.is-white { max-width: 830px; margin-inline: auto; }
.mum-e-sec .mum-events.is-teal { max-width: 830px; margin-inline: auto; }
.mum-e-text .has-text-align-center { text-align: center !important; }
.mum-e-text .has-text-align-right { text-align: right !important; }
.mum-social-icons .mum-si { border-radius: 10%; }

/* Full-width sections reach the screen edges on every device */
.wp-block-post-content.has-global-padding > .alignfull {
	margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1) !important;
	margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1) !important;
	max-width: none !important; width: auto !important;
}
/* Event lists use the full width on tablets/phones (the desktop width came from the original's desktop setting) */
@media (max-width: 1100px) {
	.mum-e-sec .mum-e:has(> .mum-events) { width: 100% !important; max-width: 100% !important; }
	.mum-e-sec .mum-events.is-white, .mum-e-sec .mum-events.is-teal { max-width: 100% !important; }
}
