/* ==========================================================================
   Mansfield et Pontefract: look of the former Townly + Elementor site.
   Loads after main.css / widgets.css (Calumet Civic base).
   ========================================================================== */

/* Base type ----------------------------------------------------------------- */
body.mf { font-family: var(--mf-font-body); font-size: 18px; color: var(--mf-text); }
.mf h1, .mf h2, .mf h3, .mf h4, .mf h5, .mf h6 { font-family: var(--mf-font-display); color: #222; }
.mf h1 { font-weight: 900; }
.mf h2 { font-weight: 900; }
.mf h3 { font-weight: 800; }
.mf h4 { font-weight: 700; }
.mf h5 { font-weight: 600; }
.mf a { color: var(--mf-link); }
.mf-button,
.mf .tb-core-page__block-cta-btn,
.mf .wp-element-button,
.mf .cf-public-form__submit {
	font-family: var(--mf-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
	border-radius: 50px; background: var(--mf-button-bg); color: var(--mf-button-text);
}

/* Top bar (Quick Links + search) ------------------------------------------------ */
.mf-utility { background: #f3f7fa; color: #1a1e24; font-size: 14px; }
.mf-utility__inner { justify-content: flex-end; min-height: 38px; gap: 18px; }
.mf-utility .mf-inline-menu { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.mf-utility .mf-inline-menu a { font-family: var(--mf-font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #1a1e24; }
.mf-utility .mf-inline-menu a:hover { color: var(--mf-primary); text-decoration: none; }
.mf-utility__search { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #1a1e24; cursor: pointer; }
.mf-utility__search:hover, .mf-utility__search[aria-expanded="true"] { background: var(--mf-primary); color: #fff; }

/* Masthead: big logo left, menu right --------------------------------------- */
.mf-masthead { background: #fff; border-bottom: 1px solid var(--mf-border); }
.mf-masthead__inner { min-height: 110px; gap: 28px; }
.mf-logo__img { max-height: 92px; }
.mf-masthead.is-stuck .mf-logo__img { max-height: 64px; transition: max-height .2s ease; }
.mf-masthead__nav { display: none; justify-content: flex-end; }
@media (min-width: 1100px) {
	.mf-masthead__nav { display: flex; }
	.mf-masthead__burger { display: none; }
}

/* Classic dropdown menu (3 levels) ------------------------------------------ */
.mf-nav--desktop .mf-nav__menu--plain { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0; margin: 0; padding: 0; }
.mf-nav--desktop .mf-nav__menu--plain > li { position: relative; display: flex; align-items: center; }
.mf-nav--desktop .mf-nav__menu--plain > li > a {
	display: block; padding: 14px 12px; font-family: var(--mf-font-menu); font-weight: 900; font-size: 17px;
	text-transform: uppercase; color: var(--mf-header-text); text-decoration: none; line-height: 1.2;
}
.mf-nav--desktop .mf-nav__menu--plain > li:hover > a,
.mf-nav--desktop .mf-nav__menu--plain > li:focus-within > a,
.mf-nav--desktop .mf-nav__menu--plain > li.current-menu-item > a,
.mf-nav--desktop .mf-nav__menu--plain > li.current-menu-ancestor > a { color: var(--mf-primary); }
.mf-nav--desktop .mf-nav__menu--plain > li.mf-nav__special > a,
.mf-nav--desktop .mf-nav__menu--plain > li.special > a { background: var(--mf-primary); color: #fff; border-radius: 50px; padding: 10px 20px; margin-left: 8px; }
.mf-nav--desktop .mf-nav__menu--plain > li.mf-nav__special > a:hover { background: var(--mf-primary-hover); color: #fff; }
.mf-nav--desktop .mf-nav__menu--plain > li.cal-lang-menu-item > a { font-size: 14px; font-weight: 700; text-transform: none; color: var(--mf-muted); }

.mf-nav--desktop .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 250px; margin: 0; padding: 6px 0;
	background: #800000; background: var(--mf-primary); border: 0; border-radius: 0 0 4px 4px; box-shadow: 0 14px 30px rgba(0,0,0,.18); list-style: none;
}
.mf-nav--desktop .sub-menu .sub-menu { top: -6px; left: 100%; border-radius: 0 4px 4px 0; }
.mf-nav--desktop li:hover > .sub-menu,
.mf-nav--desktop li:focus-within > .sub-menu,
.mf-nav--desktop li.is-open > .sub-menu { display: block; }
.mf-nav--desktop .sub-menu li { position: relative; }
.mf-nav--desktop .sub-menu a {
	display: block; padding: 9px 18px; font-family: var(--mf-font-body); font-size: 14px; font-weight: 400;
	color: #fff; text-decoration: none; text-transform: none; line-height: 1.35;
}
.mf-nav--desktop .sub-menu a:hover, .mf-nav--desktop .sub-menu a:focus { background: rgba(0,0,0,.18); color: #fff; }
.mf-nav--desktop .sub-menu .menu-item-has-children > a { padding-right: 34px; }
.mf-nav--desktop .sub-menu .menu-item-has-children > a::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; }
/* Right-most top items open their third level to the left. */
.mf-nav--desktop .mf-nav__menu--plain > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: 100%; border-radius: 4px 0 0 4px; }
.mf-nav--desktop .mf-nav__menu--plain > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }

.mf-subtoggle { display: none; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -6px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.mf-nav--desktop .sub-menu .mf-subtoggle { position: absolute; right: 4px; top: 6px; color: #fff; }
@media (hover: none) { .mf-nav--desktop .mf-subtoggle { display: inline-flex; } }
.mf-nav--desktop .mf-subtoggle:focus-visible { display: inline-flex; outline: 2px solid currentColor; }

/* Drawer (mobile) */
.mf-nav--drawer .mf-nav__menu--plain > li { position: relative; border-bottom: 1px solid var(--mf-border); }
.mf-nav--drawer .mf-nav__menu--plain > li > a { font-family: var(--mf-font-menu); font-weight: 900; text-transform: uppercase; font-size: 17px; }
.mf-nav--drawer .mf-subtoggle { display: inline-flex; position: absolute; right: 0; top: 8px; width: 40px; height: 40px; }
.mf-nav--drawer .sub-menu { display: none; padding: 0 0 10px 14px; margin: 0; list-style: none; }
.mf-nav--drawer li.is-open > .sub-menu { display: block; }
.mf-nav--drawer li.is-open > .mf-subtoggle svg { transform: rotate(180deg); }
.mf-nav--drawer .sub-menu a { display: block; padding: 7px 40px 7px 0; color: var(--mf-text); font-size: 16px; }
.mf-nav--drawer .sub-menu li { position: relative; }
.mf-nav--drawer .sub-menu .mf-subtoggle { top: 0; height: 34px; }
.mf-nav--drawer .mf-menu-heading { display: block; padding: 7px 40px 7px 0; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--mf-muted); }

/* Theme Builder page header / hero ------------------------------------------ */
.mf .tb-core-page h1, .mf .mf-hero__title { font-family: var(--mf-font-script); font-weight: 400; letter-spacing: 0; }

/* Footer (Townly layout, navy) ---------------------------------------------- */
.mf-footer { background: var(--mf-footer-bg); color: var(--mf-footer-text); padding-top: 56px; margin-top: 0; }
.mf-footer a { color: #d5d5e2; }
.mf-footer a:hover { color: #fff; }
.mf-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 860px) { .mf-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.mf-footer__title, .mf-footer h4 { font-family: var(--mf-font-display); font-weight: 900; font-size: 17px; color: #fff; text-transform: none; margin: 0 0 14px; }
.mf-footer__about { font-size: 16px; line-height: 1.7; }
.mf-footer__about p { margin: 0 0 10px; }
.mf-footer .mf-logo--footer .mf-logo__img { max-height: 110px; width: auto; }
.mf-footer__badge { margin: 12px 0 18px; }
.mf-footer__badge img { max-width: 100px; height: auto; }
.mf-footer__search .mf-search { max-width: 420px; }
.mf-footer__menu { margin: 0; padding: 0; list-style: none; }
.mf-footer__menu li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mf-footer__base { background: rgba(0,0,0,.18); font-size: 14px; }
.mf-footer__base-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.mf-footer__base p { margin: 0; }
.mf-footer__legal .mf-inline-menu { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }

/* Converted widgets ---------------------------------------------------------- */
.mf-tabs { display: grid; gap: 10px; margin: 1em 0; }
.mf-tabs__item { border: 1px solid var(--mf-border); border-radius: 6px; background: #fff; }
.mf-tabs__item > summary { cursor: pointer; padding: 12px 16px; font-family: var(--mf-font-display); font-weight: 800; color: var(--mf-primary); list-style: none; }
.mf-tabs__item > summary::-webkit-details-marker { display: none; }
.mf-tabs__item > summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 900; }
.mf-tabs__item[open] > summary::before { content: "–"; }
.mf-tabs__body { padding: 0 16px 14px; }

.mf-posts { display: grid; gap: 14px; grid-template-columns: repeat(var(--mf-cols, 1), minmax(0, 1fr)); }
@media (max-width: 700px) { .mf-posts { grid-template-columns: 1fr; } }
.mf-posts--list .mf-posts__item { padding: 10px 0; border-bottom: 1px solid var(--mf-border); }
.mf-posts--cards .mf-posts__item { background: #fff; border: 1px solid var(--mf-border); border-radius: 8px; overflow: hidden; padding-bottom: 14px; }
.mf-posts--cards .mf-posts__item > *:not(.mf-posts__media) { padding-inline: 16px; }
.mf-posts__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mf-posts__title { font-size: 18px; margin: 6px 0 2px; line-height: 1.3; }
.mf-posts__title a { color: #222; text-decoration: none; }
.mf-posts__title a:hover { color: var(--mf-primary); }
.mf-posts__date { margin: 0; font-size: 13px; color: var(--mf-muted); }
.mf-posts__more { margin: 6px 0 0; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.mf-posts__excerpt { margin: 6px 0 0; font-size: 16px; }

.mf-pdf { margin: 1.2em 0; }
.mf-pdf__frame { display: block; width: 100%; border: 1px solid var(--mf-border); border-radius: 6px; background: #f6f6f6; }
.mf-pdf__download { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; }
.mf-map iframe { display: block; width: 100%; border: 0; border-radius: 6px; }

/* Calumet Forms --------------------------------------------------------------- */
.mf .cf-public-form { max-width: 860px; }
.mf .cf-form--grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 18px; }
.mf .cf-form__col { grid-column: span var(--cf-col-span, 12); }
@media (max-width: 700px) { .mf .cf-form__col { grid-column: span 12; } }
.mf .cf-public-form .am-input, .mf .cf-public-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #c9d3dc; border-radius: 6px; font: inherit; font-size: 16px; background: #fff; }
.mf .cf-public-form .am-label { display: block; margin-bottom: 4px; font-weight: 700; font-size: 15px; }
.mf .cf-public-form .am-check { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; font-size: 16px; }
.mf .cf-public-form .cf-honeypot { position: absolute; left: -9999px; }
.mf .cf-public-form__submit { margin-top: 16px; padding: 12px 28px; border: 0; cursor: pointer; }
.mf .cf-required { color: var(--mf-primary); }
.mf .am-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.mf .am-alert--success { background: #e7f5ea; }
.mf .am-alert--danger { background: #fbe9e9; }

/* Event legacy fields */
.mf-event__links { display: flex; gap: 10px; flex-wrap: wrap; }
.mf-event__image img { border-radius: 6px; }

/* Converted posts list with no posts: hide the whole block (home notice bar). */
.tb-core-page__block:has(.mf-posts-empty--hide-block) { display: none; }

/* Theme Builder blocks: Townly / Elementor heading weights. */
.mf .tb-core-page h2, .mf .tb-core-page__block-title { font-family: var(--mf-font-display); font-weight: 900; text-transform: uppercase; color: #222; }
.mf .tb-core-page h3, .mf .tb-core-page__column-title { font-family: var(--mf-font-display); font-weight: 800; color: #222; }
.mf .tb-core-page__block-text, .mf .tb-core-page__column-text { font-family: var(--mf-font-body); }

/* Page header (hero): readable copy over the photo, script tagline. */
.mf .tb-core-page__block--page-header[style*="background-image"] { position: relative; }
.mf .tb-core-page__block--page-header[style*="background-image"]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,20,.62) 0%, rgba(10,10,20,.25) 70%, rgba(10,10,20,0) 100%); pointer-events: none; }
.mf .tb-core-page__block--page-header .tb-core-page__block-inner { position: relative; z-index: 1; }
.mf .tb-core-page__block--page-header .tb-core-page__block-title { color: #fff; font-size: clamp(34px, 5vw, 60px); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.mf .tb-core-page__block--page-header .tb-core-page__block-text,
.mf .tb-core-page__block--page-header .tb-core-page__block-text h3 { color: #fff; font-family: var(--mf-font-script); font-weight: 400; text-transform: none; font-size: clamp(22px, 2.6vw, 34px); text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* Sections converted from Elementor's primary-colour containers. */
.mf .mf-on-dark, .mf .mf-on-dark h2, .mf .mf-on-dark h3, .mf .mf-on-dark a { color: #fff; }

/* Footer headings on navy (beat the generic .mf h2 colour). */
.mf .mf-footer .mf-footer__title, .mf .mf-footer h2, .mf .mf-footer h4 { color: #fff; }
.mf .mf-footer .mf-footer__title { font-size: 17px; text-transform: none; }

/* Coloured sections converted from Elementor containers get inner padding. */
.mf .tb-core-page__block[style*="background-color"] > .tb-core-page__block-inner,
.mf .tb-core-page__block.mf-on-dark > .tb-core-page__block-inner { padding: 28px 32px; }

/* Calumet Forms submit button in the brand colour. */
.mf .cf-public-form .am-btn.am-btn--primary.cf-public-form__submit { background: var(--mf-button-bg); border-color: var(--mf-button-bg); color: #fff; border-radius: 50px; font-family: var(--mf-font-display); font-weight: 900; }
.mf .cf-public-form .am-btn.am-btn--primary.cf-public-form__submit:hover { background: var(--mf-primary-hover); }

/* Event date tiles: multi-day ranges ("27 - 4", "nov. - déc"). */
.mf .mf-card__date { min-width: 64px; }
.mf .mf-card__day, .mf .mf-card__month { white-space: nowrap; }
.mf .mf-card__date:has(.mf-card__day:not(:empty)) .mf-card__day { font-size: clamp(14px, 1.6vw, 22px); }

/* Small screens: no horizontal overflow; top bar scrolls instead of widening the page. */
html, body.mf { overflow-x: clip; }
@media (max-width: 760px) {
	.mf-utility__inner { justify-content: space-between; flex-wrap: nowrap; }
	.mf-utility__quick { overflow-x: auto; scrollbar-width: none; }
	.mf-utility .mf-inline-menu { flex-wrap: nowrap; white-space: nowrap; gap: 14px; }
	.mf-masthead__inner { min-height: 84px; }
	.mf-logo__img { max-height: 68px; }
	.mf .tb-core-page__column-title { font-size: 22px; overflow-wrap: anywhere; }
}

/* ==========================================================================
   Header: match the live Townly header exactly.
   ========================================================================== */
.mf-utility .mf-inline-menu a { font-family: var(--mf-font-body); font-weight: 400; font-size: 14px; text-transform: none; letter-spacing: 0; color: #1a1e24; }
.mf-utility__inner { justify-content: space-between; }
.mf-utility__search { color: #000; }
.mf-utility__search:hover, .mf-utility__search[aria-expanded="true"] { background: transparent; color: var(--mf-primary); }
@media (min-width: 1100px) {
	.mf-masthead__inner { min-height: 124px; }
	.mf-masthead__nav { flex: 1 1 auto; }
	.mf-nav--desktop { width: 100%; }
	.mf-nav--desktop .mf-nav__menu--plain { justify-content: flex-start; width: 100%; }
	.mf-nav--desktop .mf-nav__menu--plain > li > a { padding: 14px 6px; }
	/* Grey separators between top items, "↓" on items with a dropdown. */
	.mf-nav--desktop .mf-nav__menu--plain > li + li:not(.special):not(.mf-nav__special)::before { content: "|"; color: #c9ccd3; font-weight: 400; font-size: 14px; padding: 0 12px; }
	.mf-nav--desktop .mf-nav__menu--plain > li.menu-item-has-children > a::after { content: " \2193"; font-family: var(--mf-font-body); font-weight: 400; font-size: 13px; color: #8a8f99; }
	.mf-nav--desktop .mf-nav__menu--plain > li.cal-lang-menu-item > a { font-family: var(--mf-font-menu); font-size: 17px; font-weight: 900; text-transform: none; color: var(--mf-header-text); }
	/* "Contactez nous": big pill at the far right. */
	.mf-nav--desktop .mf-nav__menu--plain > li.special,
	.mf-nav--desktop .mf-nav__menu--plain > li.mf-nav__special { order: 99; margin-left: auto; }
	.mf-nav--desktop .mf-nav__menu--plain > li.special > a,
	.mf-nav--desktop .mf-nav__menu--plain > li.mf-nav__special > a { padding: 18px 31px; margin-left: 24px; font-size: 17px; }
}

/* ==========================================================================
   Video backgrounds (inc/mansfield/video.php).
   ========================================================================== */
.mf-video-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mf-video-bg::after { content: ""; position: absolute; inset: 0; }
.mf-video-bg__frame { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%; transform: translate(-50%, -50%) scale(1.18); border: 0; opacity: 0; transition: opacity .8s ease; }
.mf-video-bg.is-playing .mf-video-bg__frame { opacity: 1; }
.mf .mf-has-video::before { display: none; } /* The video carries its own overlay. */

/* ==========================================================================
   Home page (FR 158241 / EN 8469): Elementor layout.
   ========================================================================== */
/* Hero: video, centred Fjalla One title + La Belle Aurore tagline. */
.home .tb-core-page__block--page-header { min-height: 739px; display: flex; align-items: center; justify-content: center; padding: 100px 0 205px; background-color: #2a2c44; }
.home .tb-core-page__block--page-header .tb-core-page__block-inner { width: 100%; max-width: 1280px; margin: 0 auto; }
.home .tb-core-page__block--page-header .tb-core-page__block-body { max-width: none; width: 100%; margin: 0 auto; text-align: center; }
.home .tb-core-page__block--page-header .tb-core-page__block-title { font-family: 'Fjalla One', sans-serif; font-weight: 400; text-transform: none; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.1; text-align: center; margin: 0 auto; text-shadow: none; }
.home .tb-core-page__block--page-header .tb-core-page__block-text,
.home .tb-core-page__block--page-header .tb-core-page__block-text h3 { font-family: 'La Belle Aurore', cursive; font-weight: 400; font-size: clamp(36px, 6.2vw, 80px); line-height: 1.1; text-align: center; margin: 0 auto; text-shadow: none; max-width: none; }

/* Audience cards: round photos overlapping the hero, centred copy, outline buttons. */
.home .tb-core-page__main--after-hero > .tb-core-page__block--audience-cards { position: relative; z-index: 2; margin-top: -205px; padding-top: 0; background: transparent; }
.home .tb-core-page__audience-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: transparent; border: 0; box-shadow: none; padding: 0 20px; }
.home .tb-core-page__audience-card::before { display: none; }
.home .tb-core-page__audience-card .tb-core-page__column-text { display: contents; }
.home .tb-core-page__audience-card figure { order: -1; margin: 0 0 34px; }
.home .tb-core-page__audience-card figure img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; display: block; }
.home .tb-core-page__audience-card .tb-core-page__column-title { font-family: var(--mf-font-display); font-weight: 800; font-size: 19px; text-transform: uppercase; margin: 0 0 20px; }
.home .tb-core-page__audience-card p { font-size: 15px; line-height: 1.9; text-transform: none; margin: 0; }
.home .tb-core-page__column-cta { margin-top: 18px; }

/* Outline pill buttons (home). */
.home .tb-core-page__cta,
.home .tb-core-page__block-cta-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--mf-primary); border: 2px solid #c8202b; border-radius: 50px; padding: 11px 30px; font-family: var(--mf-font-display); font-weight: 900; font-size: 14px; text-transform: uppercase; text-decoration: none; box-shadow: none; }
.home .tb-core-page__cta:hover,
.home .tb-core-page__block-cta-btn:hover { background: var(--mf-primary); border-color: var(--mf-primary); color: #fff; }
.home .tb-core-page__block--columns-3 .tb-core-page__block-cta-btn::before { content: "\2192"; font-weight: 400; }

/* "À propos" band: video + dark overlay, white copy, round photo. */
.home .tb-core-page__block--split.mf-has-video,
.home .tb-core-page__block--split:has(+ .tb-core-page__block--columns-3) { min-height: 700px; display: flex; align-items: center; padding: 80px 0; margin-block: 60px 0; }
.home .tb-core-page__block--split.mf-has-video .tb-core-page__block-inner { width: 100%; }
.home .mf-has-video .tb-core-page__split-title { color: #fff; font-family: var(--mf-font-display); font-weight: 800; text-transform: none; font-size: clamp(28px, 2.6vw, 38px); }
.home .mf-has-video .tb-core-page__split-text, .home .mf-has-video .tb-core-page__split-text p { color: #fff; text-transform: none; font-size: 16px; line-height: 1.9; }
.home .mf-has-video .tb-core-page__split { align-items: center; }
.home .mf-has-video .tb-core-page__split-image { display: flex; justify-content: center; margin: 0; }
.home .mf-has-video .tb-core-page__split-image img { width: 450px; max-width: 100%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; }

/* Dates importantes / Avis publics / Nouvelles. */
.home .tb-core-page__block--columns-3 { padding-top: 70px; }
@media (min-width: 900px) { .home .tb-core-page__block--columns-3 .tb-core-page__columns { grid-template-columns: 1.55fr 1fr 1.1fr; column-gap: 30px; } }
.home .tb-core-page__block--columns-3 .tb-core-page__column { background: transparent; border: 0; box-shadow: none; padding: 0; text-align: left; }
.home .tb-core-page__block--columns-3 .tb-core-page__column::before { display: none; }
.home .tb-core-page__block--columns-3 .tb-core-page__column-title { font-family: var(--mf-font-display); font-weight: 800; font-size: 22px; text-transform: none; color: #222; padding-bottom: 24px; margin: 0 0 40px; max-width: 320px;
	background: linear-gradient(#202056, #202056) left bottom / 40px 2px no-repeat, linear-gradient(#e8e8e8, #e8e8e8) left bottom / 100% 2px no-repeat; }
.home .mf-posts--list .mf-posts__item { border: 0; padding: 0 0 24px; }
.home .mf-posts__title { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 18px; margin: 0; }
.home .mf-posts__title a { color: var(--mf-primary); }
.home .mf-posts__date { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 12px; color: #000; }
.home .mf-posts__more { margin-top: 12px; font-family: var(--mf-font-display); font-size: 14px; font-weight: 700; }

/* "Je cherche…" band: full-bleed maroon. */
.home .tb-core-page__block.mf-on-dark { box-shadow: 0 0 0 100vmax var(--mf-primary); clip-path: inset(0 -100vmax); margin-top: 80px; padding-block: 50px; }

/* "AVIS / NOTICE" bar (first block after the hero, latest "Important" post).
   It sits on the bottom edge of the hero as a slim strip so the round
   audience photos below still line up; hidden entirely when there is no post. */
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child { position: relative; z-index: 3; margin-top: 0; margin-bottom: 0; padding-block: 0; }
/* With a notice the photos no longer overlap the hero: drop the space reserved for them. */
.home .tb-core-page__hero:has(+ .tb-core-page__main--after-hero > .mf-on-dark:first-child .mf-posts__item) .tb-core-page__block--page-header { min-height: 600px; padding-bottom: 100px; }
.home .tb-core-page__main--after-hero:has(> .mf-on-dark:first-child .mf-posts__item) { padding-top: 0; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child > .tb-core-page__block-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 32px; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child .tb-core-page__block-title { margin: 0; padding: 0; border: 0; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; max-width: none; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child .mf-posts__item { padding: 0; border: 0; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child .mf-posts__title { margin: 0; font-size: 17px; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child .mf-posts__title a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.home .tb-core-page__main--after-hero > .tb-core-page__block.mf-on-dark:first-child:not(:has(.mf-posts-empty--hide-block)) + .tb-core-page__block--audience-cards { margin-top: 0; padding-top: 60px; }

/* Video hero: tagline must stay readable above the video. */
.home .tb-core-page__block--page-header .tb-core-page__block-inner { z-index: 2; }
.home .tb-core-page__block.mf-on-dark .tb-core-page__block-title { font-family: var(--mf-font-display); font-weight: 800; text-transform: none; color: #fff; font-size: 30px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 18px; max-width: 600px; }
.home .mf-on-dark .mf-search-inline .mf-search { max-width: none; }

/* ==========================================================================
   Events Delegatr cards (custom CSS from the former Elementor widgets).
   ========================================================================== */
.mf .custom-event-listing .event-item,
.mf .delegatr-event-cards .event-item { background: #fff !important; border: 1px solid #eee !important; border-radius: 6px !important; padding: 15px !important; display: flex !important; align-items: center !important; gap: 12px !important; box-shadow: 0 1px 2px rgba(0,0,0,.03) !important; text-decoration: none !important; transition: all .2s ease !important; }
.mf .custom-event-listing .event-item:hover,
.mf .delegatr-event-cards .event-item:hover { border-color: #800000 !important; box-shadow: 0 4px 12px rgba(0,0,0,.1) !important; transform: translateY(-2px) !important; }
.mf .delegatr-event-cards .event-item:hover .event-title-text,
.mf .delegatr-event-cards .event-item:hover .event-date-text { color: #800000 !important; }
.mf .delegatr-event-cards .event-image { flex-shrink: 0 !important; }
.mf .delegatr-event-cards .event-image img { width: 75px !important; height: 75px !important; object-fit: cover !important; border-radius: 4px !important; display: block !important; }
.mf .delegatr-event-cards .event-content { flex: 1 !important; }
.mf .delegatr-event-cards .event-title-text { font-size: 15px !important; font-weight: 600 !important; color: #800000 !important; display: block !important; margin-bottom: 4px !important; }
.mf .delegatr-event-cards .event-date-text { font-size: 14px !important; font-weight: bold !important; color: #222233 !important; }
.page-id-9831 .delegatr-event-cards .event-title-text,
.page-id-158311 .delegatr-event-cards .event-title-text { color: #000 !important; }

/* --- Home / header fine-tuning ------------------------------------------- */
@media (min-width: 1100px) {
	.mf-nav--desktop .mf-nav__menu--plain { flex-wrap: nowrap; }
	.mf-nav--desktop .mf-nav__menu--plain > li > a { white-space: nowrap; }
	.mf-nav--desktop .mf-nav__menu--plain > li + li:not(.special):not(.mf-nav__special)::before { padding: 0 10px; }
	.mf-masthead__end { display: none; }
}
/* "À propos" band runs edge to edge, copy stays on the 1280px grid. */
.home .tb-core-page__block--split.mf-has-video { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.home .tb-core-page__block--split.mf-has-video > .tb-core-page__block-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
/* Outline buttons inside column text keep their maroon label. */
.home .tb-core-page__block .tb-core-page__column-text a.tb-core-page__block-cta-btn,
.home .tb-core-page__block .tb-core-page__split-col a.tb-core-page__block-cta-btn { color: var(--mf-primary) !important; background: transparent !important; }
.home .tb-core-page__block .tb-core-page__column-text a.tb-core-page__block-cta-btn:hover,
.home .tb-core-page__block .tb-core-page__split-col a.tb-core-page__block-cta-btn:hover { color: #fff !important; background: var(--mf-primary) !important; }

/* Events Delegatr cards: the plugin reads its card colours from Elementor's
   global "secondary" colour (now Mansfield navy), and on list hover forces every
   card to that background. Restore the original look: white cards, light
   border, and only the hovered card lifts with a maroon border. */
body.mf .custom-event-listing.delegatr-event-cards {
	--delegatr-card-bg: #ffffff;
	--delegatr-card-border: #eeeeee;
	--delegatr-card-border-hover: #800000;
}
body.mf .custom-event-listing.delegatr-event-cards .event-item,
body.mf .custom-event-listing.delegatr-event-cards:hover .event-item {
	background: #ffffff !important;
	border: 1px solid #eeeeee !important;
	box-shadow: 0 1px 2px rgba(0,0,0,.03) !important;
	transform: none !important;
	opacity: 1 !important;
}
body.mf .custom-event-listing.delegatr-event-cards .event-item:hover,
body.mf .custom-event-listing.delegatr-event-cards:hover .event-item:hover {
	background: #ffffff !important;
	border-color: #800000 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
	transform: translateY(-2px) !important;
}
body.mf .custom-event-listing.delegatr-event-cards .event-item .event-title-text,
body.mf .custom-event-listing.delegatr-event-cards:hover .event-item .event-title-text { color: #800000 !important; }
body.mf .custom-event-listing.delegatr-event-cards .event-item .event-date-text,
body.mf .custom-event-listing.delegatr-event-cards:hover .event-item .event-date-text,
body.mf .custom-event-listing.delegatr-event-cards .event-item .event-date-text * { color: #222233 !important; }
body.mf .custom-event-listing.delegatr-event-cards .event-item:hover .event-date-text,
body.mf .custom-event-listing.delegatr-event-cards:hover .event-item:hover .event-date-text,
body.mf .custom-event-listing.delegatr-event-cards .event-item:hover .event-date-text * { color: #800000 !important; }
body.page-id-9831 .custom-event-listing.delegatr-event-cards .event-item .event-title-text,
body.page-id-158311 .custom-event-listing.delegatr-event-cards .event-item .event-title-text { color: #000 !important; }
body.page-id-9831 .custom-event-listing.delegatr-event-cards .event-item:hover .event-title-text,
body.page-id-158311 .custom-event-listing.delegatr-event-cards .event-item:hover .event-title-text { color: #800000 !important; }

/* ==========================================================================
   Mega menu (desktop): white panel across the header, maroon intro card,
   labelled link columns, live side card (inc/mansfield/mega-panel.php).
   Main menu structure (Townly): top "mega" item > 2nd-level column headings
   (no-link .mf-menu-heading, or a page link) > 3rd-level page links.
   ========================================================================== */
@media (min-width: 1100px) {
	/* The panel spans the masthead row (logo to Contact), not just the nav. */
	.mf-masthead__inner { position: relative; }
	.mf-masthead__nav, .mf-nav--desktop, .mf-nav--desktop .mf-nav__menu--plain { position: static; }
	.mf-nav--desktop .mf-nav__menu--plain > li.mega { position: static; }

	.mf-nav--desktop .mf-nav__menu--plain > li.mega > .sub-menu {
		display: none; position: absolute; z-index: 60; top: 100%; left: 0; right: 0;
		min-width: 0; width: auto; margin: 0; padding: 0 !important;
		background: #fff; border: 0; border-top: 3px solid var(--mf-primary); border-radius: 0 0 14px 14px;
		box-shadow: 0 28px 60px -12px rgba(20, 20, 40, .28), 0 2px 6px rgba(0, 0, 0, .06);
		list-style: none;
	}
	.mf-nav--desktop .mf-nav__menu--plain > li.mega:hover > .sub-menu,
	.mf-nav--desktop .mf-nav__menu--plain > li.mega:focus-within > .sub-menu,
	.mf-nav--desktop .mf-nav__menu--plain > li.mega.is-open > .sub-menu,
	.mf-nav--desktop .mf-nav__menu--plain > li.mega.is-hover > .sub-menu { display: flex; align-items: stretch; animation: mf-mega-in .16s ease-out; }
	@keyframes mf-mega-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
	/* Hover bridge from the menu item down to the panel edge. */
	.mf-nav--desktop .mf-nav__menu--plain > li.mega > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 44px; }

	/* Active top item: maroon underline (replaces the old flag). */
	.mf-nav--desktop .mf-nav__menu--plain > li.mega > a { position: relative; }
	.mf-nav--desktop .mf-nav__menu--plain > li.mega:is(:hover, .is-hover, :focus-within) > a { color: var(--mf-primary); }
	.mf-nav--desktop .mf-nav__menu--plain > li.mega:is(:hover, .is-hover, :focus-within) > a::before {
		content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--mf-primary);
	}

	/* Columns ----------------------------------------------------------------- */
	.mf-nav--desktop li.mega > .sub-menu > li { flex: 1 1 0; min-width: 0; max-width: none; padding: 30px 26px 30px; }
	.mf-nav--desktop li.mega > .sub-menu > li + li:not(.mf-mega-extra) { border-left: 1px solid #eef0f3; }
	.mf-nav--desktop li.mega > .sub-menu > li > a,
	.mf-nav--desktop li.mega > .sub-menu > li > .mf-menu-heading {
		display: block; position: relative; margin: 0 0 14px; padding: 0 0 12px;
		font-family: var(--mf-font-display); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
		color: var(--mf-primary); background: none; cursor: default;
		border-bottom: 1px solid #eceef2;
	}
	.mf-nav--desktop li.mega > .sub-menu > li > a { cursor: pointer; }
	.mf-nav--desktop li.mega > .sub-menu > li > a::after,
	.mf-nav--desktop li.mega > .sub-menu > li > .mf-menu-heading::after {
		content: ""; display: block; position: absolute; left: 0; bottom: -1px; width: 32px; height: 3px; border-radius: 2px; background: var(--mf-primary);
	}
	.mf-nav--desktop li.mega > .sub-menu > li > a:hover { background: none; color: var(--mf-primary-hover, var(--mf-primary)); }

	/* Third level: page links under each heading. */
	.mf-nav--desktop li.mega .sub-menu .sub-menu {
		display: block !important; position: static !important; inset: auto !important;
		width: auto; min-width: 0; margin: 0; padding: 0 !important;
		background: none; border: 0; box-shadow: none; border-radius: 0;
	}
	.mf-nav--desktop li.mega .sub-menu .sub-menu li { position: static; }
	.mf-nav--desktop li.mega .sub-menu .sub-menu a {
		display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0;
		font-family: var(--mf-font-body); font-size: 16px; font-weight: 500; line-height: 1.35; text-transform: none; letter-spacing: 0;
		color: #1f2430; background: none; opacity: 1;
		transition: color .15s ease, transform .15s ease;
	}
	.mf-nav--desktop li.mega .sub-menu .sub-menu a::after {
		content: "\2192"; position: static; transform: none; margin-left: auto; font-size: 15px; color: var(--mf-primary);
		opacity: 0; transition: opacity .15s ease;
	}
	.mf-nav--desktop li.mega .sub-menu .sub-menu a:hover,
	.mf-nav--desktop li.mega .sub-menu .sub-menu a:focus-visible { color: var(--mf-primary); background: none; opacity: 1; transform: translateX(3px); outline: none; }
	.mf-nav--desktop li.mega .sub-menu .sub-menu a:hover::after,
	.mf-nav--desktop li.mega .sub-menu .sub-menu a:focus-visible::after { opacity: 1; }
	.mf-nav--desktop li.mega .sub-menu .current-menu-item > a { color: var(--mf-primary); font-weight: 700; opacity: 1; }
	.mf-nav--desktop li.mega .sub-menu .mf-subtoggle { display: none !important; }
	/* Old dropdown chevrons/arrows don't belong in the panel. */
	.mf-nav--desktop li.mega .sub-menu .menu-item-has-children > a::after { content: none; }
	.mf-nav--desktop li.mega .sub-menu .menu-item-has-children > a { padding-right: 0; }
	/* Long single columns flow into two. */
	.mf-nav--desktop li.mega > .sub-menu > li:not(.mf-mega-extra):only-of-type .sub-menu,
	.mf-nav--desktop li.mega > .sub-menu > li.mf-mega-extra--intro:first-child + li:not(.mf-mega-extra):nth-last-child(1) .sub-menu { columns: 2; column-gap: 32px; }
	.mf-nav--desktop li.mega .sub-menu .sub-menu li { break-inside: avoid; }

	/* Intro card (first child). */
	.mf-nav--desktop li.mega > .sub-menu > li.mf-mega-extra--intro { flex: 0 0 290px; padding: 0; border: 0; }
	.mf-mega-intro {
		display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 32px 30px;
		background: linear-gradient(160deg, var(--mf-primary) 0%, #5a0000 100%); color: #fff;
		border-bottom-left-radius: 11px;
	}
	.mf-mega-intro__title { margin: 0; font-family: var(--mf-font-display); font-size: 28px; font-weight: 900; line-height: 1.1; color: #fff; }
	.mf-mega-intro__desc { margin: 0; font-family: var(--mf-font-body); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
	.mf .mf-nav--desktop .mf-mega-intro a.mf-mega-intro__link {
		align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 18px;
		border: 2px solid rgba(255, 255, 255, .85); border-radius: 50px;
		font-family: var(--mf-font-display); font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
		color: #fff; background: transparent; text-decoration: none; transform: none;
	}
	.mf .mf-nav--desktop .mf-mega-intro a.mf-mega-intro__link::after { content: none; }
	.mf .mf-nav--desktop .mf-mega-intro a.mf-mega-intro__link:hover,
	.mf .mf-nav--desktop .mf-mega-intro a.mf-mega-intro__link:focus-visible { background: #fff; color: var(--mf-primary); border-color: #fff; }

	/* Live side card (last child). */
	.mf-nav--desktop li.mega > .sub-menu > li.mf-mega-extra--aside { flex: 0 0 300px; padding: 22px 22px 22px 0; border: 0; }
	.mf-mega-aside { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px; background: #f5f6f8; border: 1px solid #eceef2; border-radius: 12px; }
	.mf-mega-aside__label { margin: 0; font-family: var(--mf-font-display); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mf-muted); }
	.mf-mega-aside .mmd-public-widget.mmd-next-meeting,
	.mf-mega-aside .mmd-next-collection__item {
		display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 14px 16px; max-width: none;
		background: #fff; border: 1px solid #e6e8ec; border-top: 4px solid var(--mf-primary); border-radius: 8px; box-shadow: none; transform: none; color: #1f2430;
	}
	.mf-mega-aside .mmd-next-collection { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
	.mf-mega-aside .mmd-next-collection__item--recycling { border-top-color: #1d6fb8; }
	.mf-mega-aside .mmd-next-collection__item--garbage { border-top-color: #4b5563; }
	.mf-mega-aside .mmd-next-meeting__date,
	.mf-mega-aside .mmd-next-collection__label { font-family: var(--mf-font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mf-muted); }
	.mf-mega-aside .mmd-next-meeting__title,
	.mf-mega-aside .mmd-next-collection__date { margin: 0; font-family: var(--mf-font-display); font-size: 18px; font-weight: 800; line-height: 1.25; color: #1f2430; white-space: normal; }
	.mf .mf-nav--desktop .mf-mega-aside .mmd-next-meeting__title a { display: inline; padding: 0; font: inherit; color: inherit; transform: none; }
	.mf .mf-nav--desktop .mf-mega-aside .mmd-next-meeting__title a::after { content: none; }
	.mf .mf-nav--desktop .mf-mega-aside .mmd-next-meeting__title a:hover { color: var(--mf-primary); text-decoration: underline; }
	.mf-mega-aside .mmd-next-meeting__agenda { font-size: 14px; }
	.mf .mf-nav--desktop .mf-mega-aside a.mf-mega-aside__btn {
		align-self: flex-start; display: inline-flex; margin-top: 4px; padding: 10px 18px; border-radius: 50px;
		background: var(--mf-primary); color: #fff; font-family: var(--mf-font-display); font-size: 13px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
		text-decoration: none; transform: none;
	}
	.mf .mf-nav--desktop .mf-mega-aside a.mf-mega-aside__btn::after { content: none; }
	.mf .mf-nav--desktop .mf-mega-aside a.mf-mega-aside__btn:hover,
	.mf .mf-nav--desktop .mf-mega-aside a.mf-mega-aside__btn:focus-visible { background: var(--mf-primary-hover, #5c0000); color: #fff; }

	/* Partner logo headings (white logos made for the old maroon panel): maroon tile. */
	.mf-nav--desktop li.mega > .sub-menu > li > a:has(> img) {
		display: flex; align-items: center; justify-content: center; width: 100%; max-width: 220px; height: 76px; margin: 0 0 18px; padding: 12px 18px;
		background: linear-gradient(160deg, var(--mf-primary) 0%, #5a0000 100%); border: 0; border-radius: 10px;
		transition: transform .15s ease, box-shadow .15s ease;
	}
	.mf-nav--desktop li.mega > .sub-menu > li > a:has(> img)::after { content: none; }
	.mf-nav--desktop li.mega > .sub-menu > li > a:has(> img):is(:hover, :focus-visible) {
		background: linear-gradient(160deg, #b3121b 0%, #7a0a0a 100%); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(128, 0, 0, .3); outline: none;
	}
	.mf-nav--desktop li.mega > .sub-menu > li > a > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
	/* Panels mixing logo and text headings: text headings take the tile's height so lists align. */
	.mf-nav--desktop li.mega > .sub-menu:has(> li > a > img) > li > .mf-menu-heading,
	.mf-nav--desktop li.mega > .sub-menu:has(> li > a > img) > li > a:not(:has(> img)) { display: flex; align-items: flex-end; height: 76px; margin-bottom: 18px; }

	/* Hover intent: mansfield.js keeps `is-hover` for 300 ms after leaving. */	.mf-nav--desktop .mf-nav__menu--plain { align-items: stretch; }
	.mf-nav--desktop .mf-nav__menu--plain > li { align-items: center; align-self: stretch; }
}
/* Virtual panel items never show in the mobile drawer. */
.mf-nav--drawer .mf-mega-extra { display: none; }
/* ==========================================================================
   Council meetings page (EN 9831 / FR 158311): upcoming row + past archive
   ([mmd_past_council_meetings layout="archive"]).
   ========================================================================== */
.mf .tb-core-page__block.mf-meetings-upcoming { box-shadow: 0 0 0 100vmax #f3f7fa; clip-path: inset(0 -100vmax); background: #f3f7fa; padding-block: 44px; margin-block: 40px; }
.mf .mf-meetings-upcoming .tb-core-page__block-title,
.mf .mf-meetings-past .tb-core-page__block-title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.mf .mf-meetings-upcoming .tb-core-page__block-text > p:first-child,
.mf .mf-meetings-past .tb-core-page__block-text > p:first-child { max-width: 760px; margin-bottom: 24px; color: var(--mf-muted); }
.mf .mf-meetings-past { padding-bottom: 40px; }
.mf .mf-meetings-past .mmd-past-council-meetings { max-width: 980px; }
.mf .mf-meetings-past .mmd-past-council-meetings__title a { color: #222; text-decoration: none; }
.mf .mf-meetings-past .mmd-past-council-meetings__title a:hover { color: var(--mf-primary); text-decoration: underline; }
.mf .mf-meetings-past .mmd-past-council-meetings__year-title { font-weight: 800; }

/* Bylaws page: list block breathing room. */
.mf .mf-bylaws-block { padding-bottom: 40px; }
.mf .mf-bylaws-block .tb-core-page__block-text > p:first-child { max-width: 760px; color: var(--mf-muted); margin-bottom: 22px; }
/* "À propos" video band: white outline button (maroon on the dark video was unreadable). */
.home .mf-has-video .tb-core-page__split-col a.tb-core-page__block-cta-btn { color: #fff !important; border-color: #fff !important; background: transparent !important; }
.home .mf-has-video .tb-core-page__split-col a.tb-core-page__block-cta-btn:hover { color: var(--mf-primary) !important; background: #fff !important; }
/* Outline buttons: main.css gives visited CTAs white text on a filled
   background, but browsers ignore :visited background changes on a
   transparent button, so visited links went white-on-white. */
.home .tb-core-page__cta:visited,
.home .tb-core-page__block-cta-btn:visited { color: var(--mf-primary); background: transparent; border-color: #c8202b; }
.home .tb-core-page__cta:hover,
.home .tb-core-page__cta:focus-visible,
.home .tb-core-page__block-cta-btn:hover,
.home .tb-core-page__block-cta-btn:focus-visible { background: var(--mf-primary); border-color: var(--mf-primary); color: #fff; }
.home .mf-has-video .tb-core-page__split-col a.tb-core-page__block-cta-btn:visited { color: #fff !important; border-color: #fff !important; }
.home .tb-core-page__cta:focus-visible, .home .tb-core-page__block-cta-btn:focus-visible { outline: 2px solid var(--mf-primary); outline-offset: 3px; }

/* Audience cards: "Learn more" buttons line up at the bottom of each card. */
.home .tb-core-page__audience-card .tb-core-page__column-cta { margin-top: auto; padding-top: 22px; }
/* Charter of the French language notice (top of every page): brand maroon, white text. */
.mf-charter { background: var(--mf-primary); border-bottom: 0; color: #fff; }
.mf-charter .tb-site-header__notice { color: #fff; }
.mf .mf-charter a, .mf .mf-charter a:visited { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.mf .mf-charter a:hover, .mf .mf-charter a:focus-visible { color: #fff; text-decoration-thickness: 2px; }

/* Search on a maroon band ("Je cherche… / I am looking for…"): one white pill,
   maroon button inside (the default maroon button vanished on the band). */
.mf .mf-on-dark .mf-search { max-width: 640px; padding: 5px; background: #fff; border-radius: 50px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.mf .mf-on-dark .mf-search__input { border: 0; border-radius: 50px; padding: 10px 18px; background: transparent; color: #222; }
.mf .mf-on-dark .mf-search__input:focus { outline: none; }
.mf .mf-on-dark .mf-search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 4px 14px rgba(0,0,0,.18); }
.mf .mf-on-dark .mf-search__btn { flex: none; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: var(--mf-primary); color: #fff; }
.mf .mf-on-dark .mf-search__btn:hover, .mf .mf-on-dark .mf-search__btn:focus-visible { background: var(--mf-primary-hover, #5c0000); }
.mf .mf-on-dark .mf-search-inline { width: 100%; max-width: 640px; }

/* ==========================================================================
   Home: Public Notices / News ([mf_posts layout="list"]) as cards that
   match the Important Dates event cards. Whole card is clickable.
   ========================================================================== */
.home .tb-core-page__block--columns-3 .mf-posts--list { gap: 12px; }
.home .tb-core-page__block--columns-3 .mf-posts--list .mf-posts__item {
	position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 18px 14px;
	background: #fff; border: 1px solid #eee; border-left: 4px solid var(--mf-primary); border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home .tb-core-page__block--columns-3 .mf-posts--list .mf-posts__item:hover,
.home .tb-core-page__block--columns-3 .mf-posts--list .mf-posts__item:focus-within {
	transform: translateY(-2px); border-color: #800000; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.home .tb-core-page__block--columns-3 .mf-posts__title { margin: 0; font-family: var(--mf-font-body); font-size: 16px; font-weight: 700; line-height: 1.35; }
.home .tb-core-page__block--columns-3 .mf-posts__title a { color: #222; text-decoration: none; }
/* Stretched link: the title link covers the card. */
.home .tb-core-page__block--columns-3 .mf-posts__title a::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.home .tb-core-page__block--columns-3 .mf-posts__item:hover .mf-posts__title a { color: var(--mf-primary); }
.home .tb-core-page__block--columns-3 .mf-posts__title a:focus-visible { outline: none; }
.home .tb-core-page__block--columns-3 .mf-posts__title a:focus-visible::after { outline: 2px solid var(--mf-primary); outline-offset: 2px; }
.home .tb-core-page__block--columns-3 .mf-posts__date { order: -1; margin: 0; font-family: var(--mf-font-body); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mf-muted); }
.home .tb-core-page__block--columns-3 .mf-posts__more { margin: 2px 0 0; font-family: var(--mf-font-display); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.home .tb-core-page__block--columns-3 .mf-posts__more a { color: var(--mf-primary); text-decoration: none; }
.home .tb-core-page__block--columns-3 .mf-posts__item:hover .mf-posts__more a { text-decoration: underline; text-underline-offset: 3px; }
/* Event cards get the same left accent so all three columns read as one set. */
body.mf.home .custom-event-listing.delegatr-event-cards .event-item { border-left: 4px solid #800000 !important; }
@media (prefers-reduced-motion: reduce) {
	.home .tb-core-page__block--columns-3 .mf-posts--list .mf-posts__item { transition: none; }
	.home .tb-core-page__block--columns-3 .mf-posts--list .mf-posts__item:hover { transform: none; }
}
/* Home: breathing room above "More events" / "More public notices". */
.home .tb-core-page__block--columns-3 .tb-core-page__column-text > p:has(> .tb-core-page__block-cta-btn) { margin: 28px 0 0; }
/* Home "Je cherche… / I am looking for…" band: centred heading + wide search. */
.home .tb-core-page__block.mf-on-dark:has(.mf-search-inline) .tb-core-page__block-body { align-items: center; text-align: center; }
.home .tb-core-page__block.mf-on-dark:has(.mf-search-inline) .tb-core-page__block-title { margin-inline: auto; padding-inline: 24px; }
.home .tb-core-page__block.mf-on-dark:has(.mf-search-inline) .tb-core-page__block-text { width: 100%; max-width: 720px; margin-inline: auto; }
.mf .mf-on-dark .mf-search-inline { max-width: 720px; margin-inline: auto; }
.mf .mf-on-dark .mf-search-inline .mf-search { max-width: none; }
.mf .mf-on-dark .mf-search-inline .mf-search__input { font-size: 17px; padding: 12px 22px; }
/* ==========================================================================
   Image presets (block Style → Advanced → "Add a theme class").
   Size caps the height, shape crops to a ratio; both crop (object-fit) and
   never stretch. Applies to split, stacked and column images of the block.
   ========================================================================== */
.tb-core-page__block:is(.mf-img-sm, .mf-img-md, .mf-img-lg, .mf-img-landscape, .mf-img-square) :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) {
	display: block; width: 100%; height: auto; object-fit: cover; object-position: center;
}
.tb-core-page__block.mf-img-sm :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { max-height: 260px; }
.tb-core-page__block.mf-img-md :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { max-height: 380px; }
.tb-core-page__block.mf-img-lg :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { max-height: 520px; }
.tb-core-page__block.mf-img-landscape :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { aspect-ratio: 3 / 2; }
.tb-core-page__block.mf-img-square :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { aspect-ratio: 1 / 1; }
/* Square images shouldn't fill a wide column: keep them to the size cap. */
.tb-core-page__block.mf-img-square .tb-core-page__split-img { max-width: 420px; margin-inline: auto; }
.tb-core-page__block.mf-img-round :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { border-radius: 12px; box-shadow: 0 10px 28px rgba(20, 20, 40, .14); }
.tb-core-page__block:is(.mf-img-sm, .mf-img-md, .mf-img-lg, .mf-img-landscape, .mf-img-square) .tb-core-page__split-image { margin: 0; }
/* Text beside a resized image sits in the middle, not at the top. */
.tb-core-page__block:is(.mf-img-sm, .mf-img-md, .mf-img-lg, .mf-img-landscape, .mf-img-square) .tb-core-page__split { align-items: center; }
@media (max-width: 767px) {
	.tb-core-page__block:is(.mf-img-md, .mf-img-lg) :is(.tb-core-page__split-img, .tb-core-page__block-img) { max-height: 300px; }
}
/* "Show whole image" (logos): fit inside the size/shape box instead of cropping. */
.tb-core-page__block.mf-img-contain :is(.tb-core-page__split-img, .tb-core-page__block-img, .tb-core-page__column-img) { object-fit: contain; background: #fff; padding: 12px; }
.tb-core-page__block.mf-img-contain:not(.mf-img-sm, .mf-img-md, .mf-img-lg, .mf-img-landscape, .mf-img-square) :is(.tb-core-page__split-img, .tb-core-page__block-img) { max-height: 380px; width: 100%; }

/* "Info cards" preset (block Style → Advanced): columns become cards with a
   maroon accent and an outline button. Used for the school pavilions; every
   field (title, text, button label + URL) stays a normal column field. */
.mf .tb-core-page__block.mf-info-cards .tb-core-page__block-title { font-size: clamp(20px, 2vw, 24px); text-transform: none; margin-bottom: 14px; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__columns { gap: 16px; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column {
	display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; text-align: left;
	background: #fff; border: 1px solid #e6e8ec; border-left: 4px solid var(--mf-primary); border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
	transition: box-shadow .2s ease, transform .2s ease;
}
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column:hover { box-shadow: 0 8px 20px rgba(20,20,40,.08); transform: translateY(-2px); }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column::before { display: none; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-title { margin: 0; font-family: var(--mf-font-display); font-size: 18px; font-weight: 800; text-transform: none; color: #222; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-text { flex: 1 1 auto; font-size: 16px; line-height: 1.6; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-text p { margin: 0 0 6px; }
/* First bold-only line reads as a small tag ("Kindergarten", "Grades 1 to 6"). */
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-text > p:first-child:has(> strong:only-child) strong {
	display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f6e9e9; color: var(--mf-primary); font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-cta { margin: 6px 0 0; }
.mf .tb-core-page__block.mf-info-cards a.tb-core-page__cta,
.mf .tb-core-page__block.mf-info-cards a.tb-core-page__cta:visited {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 2px solid var(--mf-primary); border-radius: 50px;
	background: transparent; color: var(--mf-primary); font-family: var(--mf-font-display); font-size: 13px; font-weight: 800; text-transform: none; text-decoration: none;
}
.mf .tb-core-page__block.mf-info-cards a.tb-core-page__cta::after { content: "\2192"; }
.mf .tb-core-page__block.mf-info-cards a.tb-core-page__cta:hover,
.mf .tb-core-page__block.mf-info-cards a.tb-core-page__cta:focus-visible { background: var(--mf-primary); color: #fff; }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__column-text { color: var(--mf-text); }
.mf .tb-core-page__block.mf-info-cards .tb-core-page__block-inner, .mf .tb-core-page__block.mf-info-cards .tb-core-page__columns { max-width: none; width: 100%; }

/* Maps never shrink to the text width (stacked blocks size their text to content). */
.mf .tb-core-page__block-text:has(.mf-map), .mf .tb-core-page__split-col:has(.mf-map) { width: 100%; }
.mf .mf-map { width: 100%; }
.mf .mf-map iframe { display: block; width: 100%; border: 0; border-radius: 10px; box-shadow: 0 6px 20px rgba(20, 20, 40, .1); }

/* "Location" split (address + hours + directions | map). */
.mf .mf-location .tb-core-page__split-col--left { padding: 26px 28px; background: #fff; border: 1px solid #e6e8ec; border-left: 4px solid var(--mf-primary); border-radius: 8px; }
.mf .mf-location .tb-core-page__split-title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.mf .mf-location .tb-core-page__split-text h3 { margin: 18px 0 6px; font-size: 17px; text-transform: none; }
.mf .mf-location .tb-core-page__split-text ul { margin: 0; padding-left: 1.1em; }
.mf .mf-location .tb-core-page__split-text p, .mf .mf-location .tb-core-page__split-text li { font-size: 16px; line-height: 1.65; }
.mf .mf-location .tb-core-page__split { width: 100%; max-width: none; }

/* App callout (Pont Marchand "Light up the bridge"): text | store badges. */
.mf .tb-core-page__block.mf-app-callout .tb-core-page__split { width: 100%; max-width: none; align-items: center; padding: 30px 34px; background: linear-gradient(135deg, var(--mf-primary) 0%, #4a0000 100%); border-radius: 14px; color: #fff; box-shadow: 0 14px 34px rgba(128, 0, 0, .22); }
.mf .tb-core-page__block.mf-app-callout .tb-core-page__split-title { margin: 0 0 10px; color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.mf .tb-core-page__block.mf-app-callout .tb-core-page__split-text, .mf .tb-core-page__block.mf-app-callout .tb-core-page__split-text p { color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.65; }
.mf .tb-core-page__block.mf-app-callout .tb-core-page__split-text strong { color: #fff; }
.mf .mf-app-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.mf .mf-app-badges a { display: block; width: 170px; border-radius: 14px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.mf .mf-app-badges a:hover, .mf .mf-app-badges a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); outline: none; }
.mf .mf-app-badges a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mf .mf-app-badges img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .mf .tb-core-page__block.mf-app-callout .tb-core-page__split { padding: 24px 20px; } .mf .mf-app-badges a { width: 140px; } }
/* Events page: community events (left) | council + waste (right). */
.mf .mf-events-board .tb-core-page__split { column-gap: 40px; }
.mf .mf-events-board .tb-core-page__split-col--right { padding: 22px 22px 8px; background: #f7f8fa; border: 1px solid #eceef2; border-radius: 12px; }
.mf .mf-events-board h3, .mf .mf-events-board .delegatr-event-cards h2, .mf .mf-events-board .delegatr-event-cards h3 {
	margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #eceef2; font-family: var(--mf-font-display); font-size: 20px; font-weight: 800; text-transform: none; color: #222;
}
.mf .mf-events-board .tb-core-page__split-col--right h3 ~ h3 { margin-top: 26px; }
.mf .mf-events-board .tb-core-page__split-col--right .custom-event-listing { margin-bottom: 4px; }
/* Mayor & council ([mmd_mayor_council]): readable bio paragraphs. */
.mf .mmd-mayor-council__bio p { margin: 0 0 10px; }
.mf .mmd-mayor-council__bio p:last-child { margin-bottom: 0; }
.mf .mmd-mayor-council__bio a { color: var(--mf-primary); text-decoration: underline; }

/* Council meetings: upcoming (sticky, left) | past archive (right). */
.mf .mf-meetings-board { padding-bottom: 40px; }
.mf .mf-meetings-board .tb-core-page__split { align-items: start; column-gap: 44px; }
.mf .mf-meetings-board .tb-core-page__split-col--left {
	position: sticky; top: 130px; align-self: start;
	padding: 24px 22px; background: #f3f7fa; border: 1px solid #e3e9ef; border-radius: 12px;
}
.mf .mf-meetings-board .tb-core-page__split-title { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
.mf .mf-meetings-board .tb-core-page__split-col--left .tb-core-page__split-title { font-size: 22px; }
.mf .mf-meetings-board .tb-core-page__split-text > p:first-child { color: var(--mf-muted); margin-bottom: 20px; }
.mf .mf-meetings-board .tb-core-page__split-col--left .tb-core-page__split-text > p:first-child { font-size: 15px; }
.mf .mf-meetings-board .tb-core-page__split-col--left .custom-event-listing__items { display: grid; gap: 10px; }
.mf .mf-meetings-board .mmd-past-council-meetings { max-width: none; }
/* No sticky on small screens (stacked columns). */
@media (max-width: 900px) { .mf .mf-meetings-board .tb-core-page__split-col--left { position: static; } }
.mf .mf-meetings-board .mmd-past-council-meetings__title a { color: #222; text-decoration: none; }
.mf .mf-meetings-board .mmd-past-council-meetings__title a:hover { color: var(--mf-primary); text-decoration: underline; }
.mf .mf-meetings-board .mmd-past-council-meetings__year-title { font-weight: 800; }

/* Sticky "upcoming meetings": always clear of the (sticky) header. */
.mf .mf-meetings-board .tb-core-page__split-col--left { top: calc(var(--mf-sticky-offset, 130px) + 24px); }

/* Stacked blocks use the full content width (Theme Builder shrinks their text
   to fit, which squeezed lists, maps and widgets). Running text keeps a
   readable line length. */
.mf .tb-core-page__block--stacked .tb-core-page__block-body > .tb-core-page__block-text { width: 100%; }
.mf .tb-core-page__block--stacked .tb-core-page__block-body > .tb-core-page__block-text > :is(p, ul, ol, h2, h3, h4) { max-width: 820px; }
/* ==========================================================================
   Mobile drawer menu. Clean, high-contrast accordion; overrides the desktop
   dropdown/mega rules that leaked in (maroon panels, 50px radius, all open).
   ========================================================================== */
.mf-drawer__scrim { z-index: 0; }
.mf-drawer__panel { z-index: 1; }
.mf-nav--drawer .mf-nav__menu--plain > li { border-bottom: 1px solid #e6e8ec; }
.mf-nav--drawer .mf-nav__menu--plain > li > a {
	display: block; padding: 15px 48px 15px 2px; font-family: var(--mf-font-menu); font-size: 17px; font-weight: 900;
	text-transform: uppercase; color: #1a1e24; text-decoration: none;
}
.mf-nav--drawer .mf-nav__menu--plain > li.is-open > a,
.mf-nav--drawer .mf-nav__menu--plain > li.current-menu-ancestor > a { color: var(--mf-primary); }
.mf-nav--drawer .mf-nav__menu--plain > li > .mf-subtoggle { top: 9px; width: 40px; height: 40px; border-radius: 50%; color: #1a1e24; }
.mf-nav--drawer .mf-nav__menu--plain > li > .mf-subtoggle:focus-visible { outline: 2px solid var(--mf-primary); }
.mf-nav--drawer .mf-subtoggle svg { transition: transform .2s ease; }

/* Sub menus: plain, closed until their section opens. */
.mf-nav--drawer .mf-nav__menu--plain .sub-menu {
	display: none; position: static; inset: auto; min-width: 0; width: auto; margin: 0; padding: 0 0 14px;
	background: transparent; border: 0; border-radius: 0; box-shadow: none; list-style: none;
}
.mf-nav--drawer .mf-nav__menu--plain li.is-open > .sub-menu { display: block; }
/* Inside an open section, every column shows its links (no second accordion). */
.mf-nav--drawer .mf-nav__menu--plain > li > .sub-menu > li > .sub-menu { display: block; padding: 0 0 8px; }
.mf-nav--drawer .mf-nav__menu--plain > li > .sub-menu > li > .mf-subtoggle { display: none !important; }
.mf-nav--drawer .mf-nav__menu--plain > li > .sub-menu > li { border: 0; }

/* Column headings + partner logos. */
.mf-nav--drawer .sub-menu > li > .mf-menu-heading {
	display: block; padding: 14px 0 6px; font-family: var(--mf-font-display); font-size: 12px; font-weight: 800;
	letter-spacing: .12em; text-transform: uppercase; color: var(--mf-primary);
}
.mf-nav--drawer .sub-menu > li > a:has(> img) {
	display: inline-flex; align-items: center; height: 48px; margin: 12px 0 6px; padding: 8px 14px;
	background: linear-gradient(160deg, var(--mf-primary) 0%, #5a0000 100%); border-radius: 8px;
}
.mf-nav--drawer .sub-menu > li > a > img { display: block; max-height: 32px; width: auto; }

/* Links: dark, 16px, comfortable tap targets. */
.mf-nav--drawer .mf-nav__menu--plain .sub-menu .sub-menu a,
.mf-nav--drawer .mf-nav__menu--plain > li > .sub-menu > li > a:not(:has(> img)) {
	display: block; padding: 10px 12px; margin: 0; border-left: 2px solid #e6e8ec;
	font-family: var(--mf-font-body); font-size: 16px; font-weight: 500; line-height: 1.35; text-transform: none; letter-spacing: 0;
	color: #1f2430; background: none; text-decoration: none;
}
.mf-nav--drawer .mf-nav__menu--plain .sub-menu .sub-menu a:hover,
.mf-nav--drawer .mf-nav__menu--plain .sub-menu .sub-menu a:focus-visible,
.mf-nav--drawer .mf-nav__menu--plain .sub-menu .current-menu-item > a { color: var(--mf-primary); border-left-color: var(--mf-primary); background: #faf3f3; }
.mf-nav--drawer .sub-menu a::after { content: none !important; }

/* Contact: full-width maroon button; language link: plain. */
.mf-nav--drawer .mf-nav__menu--plain > li.special { border: 0; padding: 16px 0 6px; }
.mf-nav--drawer .mf-nav__menu--plain > li.special > a {
	display: block; padding: 14px 18px; border-radius: 50px; background: var(--mf-primary); color: #fff; text-align: center;
}
.mf-nav--drawer .mf-nav__menu--plain > li.cal-lang-menu-item > a { text-transform: none; font-size: 16px; }
/* Mayor & council on phones: mayor full width with a shorter photo,
   councillors two per row with cropped portraits. */
@media (max-width: 760px) {
	.mf .mmd-mayor-council__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.mf .mmd-mayor-council__item--mayor { grid-column: 1 / -1; }
	.mf .mmd-mayor-council__person--mayor .mmd-mayor-council__photo img { width: 100%; height: auto; max-height: 300px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
	.mf .mmd-mayor-council__item:not(.mmd-mayor-council__item--mayor) .mmd-mayor-council__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; }
	.mf .mmd-mayor-council__item:not(.mmd-mayor-council__item--mayor) .mmd-mayor-council__details { padding: 10px 12px 12px; }
	.mf .mmd-mayor-council__item:not(.mmd-mayor-council__item--mayor) .mmd-mayor-council__name { font-size: 16px; line-height: 1.25; }
	.mf .mmd-mayor-council__item:not(.mmd-mayor-council__item--mayor) .mmd-mayor-council__role { font-size: 10px; }
}
/* Phones: photos in column blocks (staff, partners…) no longer fill a whole screen each. */
@media (max-width: 760px) {
	.mf .tb-core-page__block:not(.tb-core-page__block--audience-cards) .tb-core-page__column-img { width: 100%; height: auto; max-height: 240px; object-fit: cover; object-position: center 25%; }
}
/* Drawer sections open/close only with the toggle. Base dropdown rules
   (li:hover / li:focus-within > .sub-menu) kept a tapped section open on
   phones, where :hover and focus stick after a tap. */
.mf-nav--drawer .mf-nav__menu--plain > li:not(.is-open) > .sub-menu { display: none; }
.mf-nav--drawer .mf-nav__menu--plain > li.is-open > .sub-menu { display: block; }