/*
 * BMDA component styles — generated from mu-plugins/bmda-component-styles.php.
 * Edit this file directly; it is no longer produced by PHP.
 */
/* Data & Reports */
.bw-data-reports__grid-wrap--limit-3 li:nth-child(n+4){display:none}
/* Nine is the cap for the carousel on Projects & Developments: the ACF repeater can hold any
 * number of rows and the carousel should not page through all of them. Same mechanism as the
 * three-up limit above. */
.bw-data-reports__grid-wrap--limit-9 li:nth-child(n+10){display:none}
.bw-data-reports__grid-wrap--exclude-yes li:first-child{display:none}
/* Equal-height Data & Reports cards. The grid aligns items to start, so a card with a
 * longer excerpt made the row taller than the others and left a ragged 90px band above
 * the See All button. The design has all three download icons on one line. */
.bw-data-reports__grid-wrap ul > li{block-size:100%}
.bw-data-reports__grid-wrap .bw-card__body{display:flex;flex-direction:column;flex:1 1 auto}
.bw-data-reports__grid-wrap .bw-data-reports__download{margin-block-start:auto}
/* The container spaces every child by --space-xl (81px here). The design puts the See All
 * button 61px below the download icons, so pull that one gap back to --space-m: 24px of
 * card padding plus 36px lands on 60px, and it still scales with the tokens. */
.bw-data-reports__cards + .block{margin-block-start:calc(var(--space-m) - var(--space-xl))}
/* Join the Market (9679) sets its one Things row larger than the shared component: the
 * design measures a 28px line pitch there against 22px on Things To Do, so 20px against
 * 16px. Page-scoped deliberately - the component's default is correct everywhere else. */
.page-id-9679 .bw-things__row-description{font-size:var(--text-l)}
/* Same page, same row: the design's photo is 610x424 = 1.44, which snaps to 3/2 - and the
 * source file is natively 768x512, exactly 3/2, so nothing is cropped. The component's
 * 16/10 default is right for Things To Do, whose design measures 622x400 = 1.56. */
.page-id-9679 .bw-things__row-media{aspect-ratio:3/2}
/* Banner headline must hold two lines. The heading needs 843px at 88px; the content row
 * only offered 826 (1280 - 60 padding - 36 gap - 358 button), so it broke to three. This
 * buys 36px back and leaves 19px of headroom. Component-wide on purpose: every banner
 * gains room and none loses any, and the button keeps flex-shrink:0 from the CTA fix. */
.bw-banner__content{gap:var(--space-s);padding-inline-end:var(--space-m)}
/* THE lede line-height. One value, one rule. The same visual element - bricolage at the xl
 * step, 28px - was reached five different ways, four of which hardcoded their own number:
 *   .bw-font-family--bricolage.text--xl   Data & Reports, Projects, the Become a Vendor FAQ
 *   .bw-intro__lead                       10 pages, sized via .h5 rather than .text--xl
 *   .bw-things__lead-caption              Things to Do, no bricolage class at all
 *   .bw-newsletter-dialog__description    8 posts, its record styled * so the element itself
 *                                         had no rule and simply inherited 1.4
 *   .bw-intro__header-lead                rendered on no page
 * The line-height declarations were removed from all five etch_styles records; this is now
 * the only place the number exists. 1.21 is the design value - both the About and Become a
 * Vendor mockups measure a 34px line pitch at 28px.
 * The [data-line-height] variants are needed because the heading component's own
 * .heading-component[data-line-height='...'] is (0,2,0) and would otherwise tie and win. */
:root{--bw-lede-line-height:1.21}
.bw-font-family--bricolage.text--xl,
.bw-font-family--bricolage.text--xl.heading-component[data-line-height],
.bw-intro__lead,
.bw-intro__lead.heading-component[data-line-height],
.bw-things__lead-caption,
.bw-newsletter-dialog__description{line-height:var(--bw-lede-line-height)}
/* Work With Us card copy now comes from an ACF wysiwyg through etch/raw-html, so the body
 * is <p> children of .bw-work-details__excerpt rather than the excerpt element itself.
 * They inherit its size, colour and line-height; only the spacing needs restating, and it
 * matches the --space-xxs gap the flex parent used to give the two sibling paragraphs. */
.bw-work-details__excerpt > p{margin-block:0}
.bw-work-details__excerpt > p + p{margin-block-start:var(--space-xxs)}
/* Projects & Developments */
.bw-projects__grid-wrap--limit-2 li:nth-child(n+3){display:none}
@container (inline-size >= 800px){
.bw-things__row:nth-child(even) .bw-things__row-media{order:2}
.bw-things__row:nth-child(even) .bw-things__row-content{order:1}
}
/* Boundary map on /bmda/ (6862) and /getting-here/ (8852): design frame is 1312x738 = 16/9.
 * bmda-boundary-map */
.page-id-6862 .bw-interactive-map .ome-map-facet-root-default,
.page-id-8852 .bw-interactive-map .ome-map-facet-root-default{block-size:auto;aspect-ratio:16/9}
/* The BMDA page (the only user of .bw-stats__map) wraps its map in an Etch record that hard-codes
 * block-size 354px / 558px and clips with overflow:hidden, so the 16/9 map above
 * gets cut short. Getting Here has no such wrapper, which is why it renders right. */
body .bw-stats__map{block-size:auto}
/* Map style is a per-instance property on the "BMDA Authority Map" component (key
 * mapStyle), which prints bmda-map-colour or bmda-map-grey onto .bw-interactive-map.
 * Only the tile pane is filtered, so the boundary polygon (.leaflet-overlay-pane) and
 * the POI marker (.leaflet-marker-pane) keep their colour over a grey city.
 * Esri World Light Gray Canvas was the alternative and stops at zoom 16, so this is a
 * filter on the OSM tiles already served rather than a second provider. */
.bmda-map-grey .leaflet-tile-pane{filter:grayscale(1) contrast(0.78) brightness(1.16)}
/* A mega-menu column heading (Source = Link List) may contain a link, typed into the
 * Menu Label field. The <p> carries the colour but an <a> inside it does not inherit:
 * it takes the theme link colour, and :visited renders purple. Match .mega-menu-post-link,
 * which is how the Page-source headings already behave. */
.mega-menu-label a,.mega-menu-label a:visited{color:var(--primary);text-decoration:unset}
.mega-menu-label a:hover,.mega-menu-label a:focus-visible{color:var(--primary-hover)}
/* Single article / event / policy reading column: all three sit on the existing ACSS
 * utility .content-width--854, reached through Etch style hash tikwaok. Width is the
 * utility's own; the only thing overridden here is alignment, because ACSS ships the
 * content-width utilities with text-align:center !important. */
body.single-article .content-width--854,
body.single-event .content-width--854,
body.single-policy .content-width--854{text-align:left !important}
/* A block that sets its own alignment in the editor still wins: has-text-align-* lands
 * on the element itself, so it beats the value inherited from the column. */
body.single-article .has-text-align-center,body.single-event .has-text-align-center,
body.single-policy .has-text-align-center{text-align:center !important}
body.single-article .has-text-align-right,body.single-event .has-text-align-right,
body.single-policy .has-text-align-right{text-align:right !important}
/* --- Block editor canvas -------------------------------------------------------
 * These body classes (post-type-*) exist only in wp-admin, so the rules are inert on
 * the front end. They give the canvas the same reading column and rhythm as the page,
 * which the editor otherwise renders full width with default block margins. */

/* Spacing is margins here, not the flex gap the front end uses: making the root block
 * list a flex container disturbs the editor's own appender and insertion-point UI. */
body.post-type-article .is-root-container,
body.post-type-event .is-root-container,
body.post-type-policy .is-root-container{max-inline-size:854px;margin-inline:auto}
/* Reading rhythm. Article and policy share it; the event template keeps its own
 * tighter spacing. 48px is the article gap on the front end
 * (gap: calc(var(--space-m) + 0.75rem)), mirrored here so both surfaces agree. */
:root{--bmda-block-rhythm:calc(var(--space-l) - 0.375rem)}
/* Front end: both columns are flex, so the gap does the work and stray margins go. */
body.single-article .content-width--854 .block,
body.single-policy .content-width--854{row-gap:var(--bmda-block-rhythm)}
body.single-policy .content-width--854 > *{margin-block:0}
/* Editor: margins rather than gap, so the appender and insertion point still behave. */
body.post-type-article .is-root-container > * + *,
body.post-type-policy .is-root-container > * + *{margin-block-start:var(--bmda-block-rhythm)}
body.post-type-event .is-root-container > * + *{margin-block-start:16px}
/* The editor renders the post title in its own wrapper, narrower than the block list
 * (745px against 854px) and with nothing beneath it. Match the column, and give it the
 * same space the first block would have. */
body.post-type-article .editor-visual-editor__post-title-wrapper,
body.post-type-event .editor-visual-editor__post-title-wrapper,
body.post-type-policy .editor-visual-editor__post-title-wrapper{max-inline-size:854px;margin-inline:auto}
body.post-type-article .editor-visual-editor__post-title-wrapper .wp-block-post-title,
body.post-type-event .editor-visual-editor__post-title-wrapper .wp-block-post-title,
body.post-type-policy .editor-visual-editor__post-title-wrapper .wp-block-post-title{max-inline-size:none}
body.post-type-article .editor-visual-editor__post-title-wrapper{margin-block-end:48px}
body.post-type-event .editor-visual-editor__post-title-wrapper{margin-block-end:16px}
body.post-type-policy .editor-visual-editor__post-title-wrapper{margin-block-end:48px}
/* --- Captioned images ---------------------------------------------------------
 * The radius sits on figure.wp-block-image with overflow:hidden. With no caption the
 * image fills the figure and reads as rounded; add a figcaption and the rounded bottom
 * edge of the figure sits below the caption, leaving the bottom corners of the image
 * square. inherit rather than a literal, so it tracks whatever radius the figure has. */
.wp-block-image img{border-radius:inherit}
/* --- Feature quote ------------------------------------------------------------
 * core/quote styled to the design: --primary panel, --secondary quote mark, both
 * taken from tokens because they match the mockup exactly (#AF210D and #FF4700).
 * Same rules serve the front end and the editor canvas, so the writer sees it. */
body.single-article .content-width--854 .wp-block-quote,body.single-event .content-width--854 .wp-block-quote,body.single-policy .content-width--854 .wp-block-quote,body.post-type-article .is-root-container .wp-block-quote,body.post-type-event .is-root-container .wp-block-quote,body.post-type-policy .is-root-container .wp-block-quote{background:var(--primary);color:#fff;border:0;border-radius:24px;padding:calc(var(--space-l) + 0.375rem);margin:var(--space-m) 0;font-family:'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-0.05em}
body.single-article .content-width--854 .wp-block-quote::before,body.single-event .content-width--854 .wp-block-quote::before,body.single-policy .content-width--854 .wp-block-quote::before,body.post-type-article .is-root-container .wp-block-quote::before,body.post-type-event .is-root-container .wp-block-quote::before,body.post-type-policy .is-root-container .wp-block-quote::before{content:'';display:block;inline-size:90px;aspect-ratio:90/66;margin-block-end:12px;background-color:var(--secondary);-webkit-mask:url(https://byward.instawp.co/wp-content/uploads/Quotes.svg) no-repeat left top/contain;mask:url(https://byward.instawp.co/wp-content/uploads/Quotes.svg) no-repeat left top/contain}
@media (width <= 767px) {body.single-article .content-width--854 .wp-block-quote::before,body.single-event .content-width--854 .wp-block-quote::before,body.single-policy .content-width--854 .wp-block-quote::before,body.post-type-article .is-root-container .wp-block-quote::before,body.post-type-event .is-root-container .wp-block-quote::before,body.post-type-policy .is-root-container .wp-block-quote::before{inline-size:60px;}}
body.single-article .content-width--854 .wp-block-quote p,body.single-event .content-width--854 .wp-block-quote p,body.single-policy .content-width--854 .wp-block-quote p,body.post-type-article .is-root-container .wp-block-quote p,body.post-type-event .is-root-container .wp-block-quote p,body.post-type-policy .is-root-container .wp-block-quote p{font-size:1.75rem;line-height:1.21;font-weight:600;margin:0}
body.single-article .content-width--854 .wp-block-quote p + p,body.single-event .content-width--854 .wp-block-quote p + p,body.single-policy .content-width--854 .wp-block-quote p + p,body.post-type-article .is-root-container .wp-block-quote p + p,body.post-type-event .is-root-container .wp-block-quote p + p,body.post-type-policy .is-root-container .wp-block-quote p + p{margin-block-start:1em}
/* Citation carries two lines: the name in bold, the role as plain text. */
body.single-article .content-width--854 .wp-block-quote cite,body.single-event .content-width--854 .wp-block-quote cite,body.single-policy .content-width--854 .wp-block-quote cite,body.post-type-article .is-root-container .wp-block-quote cite,body.post-type-event .is-root-container .wp-block-quote cite,body.post-type-policy .is-root-container .wp-block-quote cite{display:block;margin-block-start:42px;font-style:normal;font-size:0.875rem;font-weight:400;color:rgba(255,255,255,0.72)}
body.single-article .content-width--854 .wp-block-quote cite strong,body.single-event .content-width--854 .wp-block-quote cite strong,body.single-policy .content-width--854 .wp-block-quote cite strong,body.post-type-article .is-root-container .wp-block-quote cite strong,body.post-type-event .is-root-container .wp-block-quote cite strong,body.post-type-policy .is-root-container .wp-block-quote cite strong,body.single-article .content-width--854 .wp-block-quote cite b,body.single-event .content-width--854 .wp-block-quote cite b,body.single-policy .content-width--854 .wp-block-quote cite b,body.post-type-article .is-root-container .wp-block-quote cite b,body.post-type-event .is-root-container .wp-block-quote cite b,body.post-type-policy .is-root-container .wp-block-quote cite b{display:block;font-size:1.5rem;font-weight:600;color:#fff;margin-block-end:2px}
/* --- Image Carousel block (cis/image-carousel) ----------------------------------
 * Markup comes from mu-plugins/bmda-image-carousel-block.php; OME/Swiper drives motion.
 * Arrows sit outside the 854px frame, as in 09_Single Event.png. */
/* Set apart from the paragraphs either side of it, as in 09_Single Event.png. */
.cis-image-carousel{position:relative;overflow:visible;inline-size:100%;max-inline-size:100%;container-type:inline-size}
.cis-image-carousel__frame{overflow:hidden;border-radius:var(--radius-m);inline-size:100%}
.cis-image-carousel .swiper-wrapper{align-items:center}
.cis-image-carousel__slide{margin:0;display:block}
.cis-image-carousel__slide img{inline-size:100%;block-size:auto;display:block;border-radius:var(--radius-m)}
.cis-image-carousel[style*="--cis-carousel-ratio"] .cis-image-carousel__slide img{aspect-ratio:var(--cis-carousel-ratio);block-size:auto;object-fit:cover}
.cis-image-carousel__caption{margin-block-start:12px;font-size:0.875rem;opacity:0.8}
/* Arrows are the homepage events carousel's, not a lookalike: same OME classes, same SVG, and
 * the appearance comes from ACSS's boxed icon (data-icon-style="boxed") driven by these three
 * variables — which is the whole treatment. Anything hand-rolled here drifts from it the first
 * time the brand colours move. Only the position is ours, per 09_Single Event.png. */
.cis-image-carousel__nav{position:absolute;inset-block-start:50%;transform:translateY(-50%);padding:0;display:flex;align-items:center;justify-content:center;background:none;border:0;cursor:pointer;z-index:2;transition:var(--transition)}
.cis-image-carousel__nav [data-icon]{--icon-background:var(--white);--icon-border-color:var(--primary);--icon-border-width:0.1875rem}
@container (inline-size < 800px){
.cis-image-carousel__nav [data-icon]{--icon-size:calc(var(--icon-size-l) - 0.25rem);}
}
.cis-image-carousel__nav--prev [data-icon]{transform:rotate(180deg)}
.cis-image-carousel__nav:hover [data-icon]{--icon-color:var(--white);--icon-background:var(--primary)}
.cis-image-carousel__nav:focus-visible{outline:0.125rem solid var(--primary);outline-offset:0.125rem}
.cis-image-carousel__nav[data-ome-carousel-nav-disabled]{cursor:not-allowed;opacity:0.5}
.cis-image-carousel__nav--prev{inset-inline-start:-102px}
.cis-image-carousel__nav--next{inset-inline-end:-102px}
/* Two or more across — the Attractions & Landmarks treatment on /events/. The frame runs the
 * full section width, so the arrows come inside the padding instead of hanging off the edge,
 * and the slides are cropped to one ratio: a portrait photo beside a landscape one makes a
 * ragged row. 5/4 is what the existing gallery on that page uses (design 464x400). */
.cis-image-carousel--multi{padding-inline:0;}
@media (width >= 600px){
	.cis-image-carousel--multi:where(.bw-container__padded--white .cis-image-carousel--multi){padding-inline:calc(var(--space-xl) + 0.75rem);}
}
/* @container (inline-size >= 800px){
	.cis-image-carousel--multi{padding-inline:calc(var(--space-xl) + 0.4375rem);}
} */
@media (width >= 600px){
	.cis-image-carousel--multi:not(.bw-container__padded--white .cis-image-carousel--multi){padding-inline:calc(var(--space-xl) + 0.75rem);}
}
.cis-image-carousel--multi .cis-image-carousel__frame{border-radius:0}
.cis-image-carousel--multi .cis-image-carousel__slide img{aspect-ratio:var(--cis-carousel-ratio,5/4);object-fit:cover;border-radius:var(--radius-m)}
.cis-image-carousel--multi .cis-image-carousel__nav--prev:not(.bw-container__padded--white .cis-image-carousel--multi .cis-image-carousel__nav--prev){inset-inline-start:-3vw;}
.cis-image-carousel--multi .cis-image-carousel__nav--next:not(.bw-container__padded--white .cis-image-carousel--multi .cis-image-carousel__nav--next){inset-inline-end:-3vw;}
.cis-image-carousel--multi .cis-image-carousel__nav--prev:where(.bw-container__padded--white .cis-image-carousel--multi .cis-image-carousel__nav--prev){inset-inline-start: -1.25rem;}
.cis-image-carousel--multi .cis-image-carousel__nav--next:where(.bw-container__padded--white .cis-image-carousel--multi .cis-image-carousel__nav--next){inset-inline-end: -1.25rem;}
@media (width >= 600px){
.cis-image-carousel--multi .cis-image-carousel__nav--prev{inset-inline-start:0 !important;}
.cis-image-carousel--multi .cis-image-carousel__nav--next{inset-inline-end:0 !important;}	
}
.cis-image-carousel--multi.is-editing .cis-image-carousel__track .wp-block-image img{aspect-ratio:5/4}
/* In the canvas the block is an editable row of images, not a running carousel, so it is
 * shown as a simple strip with a label - the writer still sees which images are in it. */
.cis-image-carousel.is-editing{border:1px dashed var(--primary);border-radius:16px;padding:16px}
.cis-image-carousel__hint{margin:0 0 12px;font-size:0.75rem;letter-spacing:0.04em;text-transform:uppercase;opacity:0.7}
.cis-image-carousel__track{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.cis-image-carousel__track .wp-block-image{margin:0}
.cis-image-carousel__track .wp-block-image img{inline-size:100%;block-size:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
/* "Add image" button. Core's appender is a 24px icon-only outline square, which disappears
 * inside the dashed box - the client could not find it and so could not add images.
 * Editor only (scoped to .is-editing). Selectors are chained through the track so they
 * out-rank core's own appender rules without !important. The label is CSS content, so it is
 * visual only: the button's accessible name still comes from core (aria-label). */
.cis-image-carousel.is-editing .cis-image-carousel__track .block-list-appender{grid-column:1 / -1;inline-size:100%;margin:0;position:relative}
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.5rem;inline-size:100%;min-block-size:2.75rem;padding-block:0.5rem;padding-inline:1rem;background:var(--primary);color:var(--white);border:0;border-radius:var(--radius-m,0.5rem);box-shadow:none;cursor:pointer;font-size:0.9375rem;font-weight:600;line-height:1.2;transition:background-color 0.2s}
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender svg{inline-size:1.5rem;block-size:1.5rem;fill:currentColor}
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender::after{content:"Add image"}
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender:hover{background:var(--primary-dark,color-mix(in srgb,var(--primary),black 20%));color:var(--white);box-shadow:none}
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender:focus-visible{outline:0.125rem solid var(--primary);outline-offset:0.125rem;box-shadow:none}
@media (prefers-reduced-motion:reduce){
.cis-image-carousel.is-editing .cis-image-carousel__track .block-editor-button-block-appender{transition:none}
}
/* --- Gallery layout -------------------------------------------------------------
 * core/gallery ships its own flex layout in wp-block-library, which this theme does not
 * load, so galleries fell back to display:block and stacked - the columns-N class was
 * present and doing nothing. Grid instead, so it also collapses on narrow screens. */
.wp-block-gallery.has-nested-images{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}
.wp-block-gallery.has-nested-images.columns-1{grid-template-columns:1fr}
.wp-block-gallery.has-nested-images.columns-2{grid-template-columns:repeat(2,1fr)}
.wp-block-gallery.has-nested-images.columns-4{grid-template-columns:repeat(4,1fr)}
/* Radius on the figure, not the image, so .wp-block-image img{border-radius:inherit}
 * keeps working and a caption cannot square off the bottom corners.
 * Core sizes these with .wp-block-gallery.has-nested-images figure.wp-block-image
 * :not(#individual-image), and :not(#id) carries ID specificity - so a plain class
 * selector loses. Matching the same shape is the only way to win without !important. */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image)
/* !important because core prints the gallery stylesheet when the block renders, i.e.
 * during the_content and therefore AFTER this wp_head style - equal specificity, later
 * source order, so core wins without it. */
{margin:0;width:100% !important;max-width:100% !important;border-radius:16px;overflow:hidden}
/* is-cropped means equal heights; object-fit does that without distorting. */
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img
{width:100% !important;height:100% !important;aspect-ratio:4/3;object-fit:cover;display:block}
.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img
{width:100% !important;height:auto;display:block}
@media (width < 782px){.wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,1fr)}}
@media (width < 480px){.wp-block-gallery.has-nested-images{grid-template-columns:1fr}}
/* Below the reading column there is no room beside the frame, so bring them inside. */
@media (width < 1120px){
.cis-image-carousel__nav--prev{inset-inline-start:12px}
.cis-image-carousel__nav--next{inset-inline-end:12px}
}

/* --- Search results ------------------------------------------------------------
 * The form sits above the results and keeps the current query, so refining a search is one
 * edit rather than a trip back to the header. Sized against the same tokens as the rest of the
 * site so it reads as part of the page and not as a browser default. */
.bw-search{inline-size:100%}
.bw-search__form{display:flex;gap:12px;flex-wrap:wrap;align-items:stretch}
.bw-search__form input[type=search]{flex:1 1 20rem;min-inline-size:0;padding:0.875rem 1.125rem;border:1px solid var(--primary);border-radius:var(--radius-m);background:var(--white);color:var(--neutral-dark,#1b1714);font-size:1rem;font-family:inherit}
.bw-search__form input[type=search]::placeholder{color:var(--neutral,#8a807a);opacity:1}
.bw-search__form input[type=search]:focus-visible{outline:0.125rem solid var(--primary);outline-offset:0.125rem}
/* .bw-search__submit{padding:0.875rem 2rem;border:1px solid var(--primary);border-radius:99px;background:var(--primary);color:var(--white);font-family:inherit;font-size:1rem;cursor:pointer;transition:var(--transition)} */
.bw-search__submit{padding-inline-end:1.75rem;font-family: var(--btn-font-family);font-size: var(--btn-font-size, var(--text-m));}
.bw-search__submit:hover{background:var(--primary-hover);border-color:var(--primary-hover)}
.bw-search__submit:focus-visible{outline:0.125rem solid var(--primary);outline-offset:0.125rem}
/* The result count is information, not a heading: quiet, and directly under the field. */
.bw-search__count{margin:0.75rem 0 0;font-size:0.9375rem;opacity:0.75}
/* The label is for screen readers; the placeholder carries it visually. */
.bw-search .screen-reader-text{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media (width < 640px){.bw-search__form input[type=search]{flex:1 1 100%}.bw-search__submit{inline-size:100%}}

/* --- Typography ------------------------------------------------------------------------------
 *
 * The font itself is configured in ACSS (Framework > Fonts, slot 2): the variable Bricolage at
 * font-weight 600 800, font-stretch 87.5%, font-variation-settings 'opsz' 14, all read off the
 * .fig file rather than guessed. ACSS generates the @font-face, so nothing about the font is
 * declared here any more and a regeneration cannot lose it.
 *
 * ACSS also sets heading-text-transform: lowercase, because Tanker draws its caps on the
 * LOWERCASE codepoints and uppercase input maps to a different, wider set of forms. That setting
 * lands on ACSS's own heading rule, which is element-level and therefore loses to every
 * component style that sets uppercase on a class. The rule below is what actually wins.
 */

/* The heading rules that set text-transform:uppercase are single-class rules, so a bare element
 * selector loses to all of them. :is() carries the specificity of its most specific argument and
 * :not() adds another class's worth, which lands this at (0,2,0) and above them without reaching
 * for !important.
 *
 * The exclusion list is every selector in etch_styles that switches the family to Bricolage,
 * read out of the option rather than guessed at. Excluding them inside :not() rather than
 * resetting them afterwards matters: a separate reset rule would be (0,1,0) and would lose to
 * this one, which is exactly how the footer's block headings ended up lowercased on the first
 * attempt. Bricolage is a normal-case face and those h3s are designed in caps. */
/* 2026-11-13: the client wants Tanker text in UPPERCASE (the A and Y forms differ from the design),
 * so the rule below now sets uppercase. It used to set lowercase, see the note above about Tanker's
 * caps living on the lowercase codepoints. To go back, change uppercase to lowercase on the rule below. */
:is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6):not(.bw-font-family--bricolage,.footer__nav-block-heading,.footer-studio,.footer-studio__bottom,.banner-alpha,.header-wrapper,.list-item-cmp,.bw-intro__header-lead,.bw-intro__cta,.bw-things__lead-caption){text-transform:uppercase}

/* A link inside a Tanker heading carries its own uppercase rule, so it has to follow the
 * heading rather than the nav styling around it. */
:is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6):not(.bw-font-family--bricolage,.footer__nav-block-heading) :is(a,span,strong,em){text-transform:inherit}

/* The design's -5% tracking is the card "Details / Heading" style, not a page-wide value: in the
 * .fig it appears on Event Card, Directory Card, Stats Card and Card, and nowhere else. On this
 * build those are the directory card's business name and the event card's date. Everything else
 * Bricolage stays at -0.02em. */
.bw-directory__card-content .heading-component,
.bw-card-tile__item-date{letter-spacing:-0.05em}

/* The Getting Here map runs shorter on /events/ than on the pages built around it, where the map
 * is the point of the page. Scoped to this page rather than changed on the component. Only above
 * the large breakpoint: the 354px mobile height has no 175px to give. */
@media (width >= 64rem){
  body.page-id-9030 .bw-interactive-map .ome-map-facet-root-default{block-size:23.9375rem}
}

/* Data & Reports inside the Projects & Developments panel: the design runs a 60px gap between
 * the intro row and the cards, where the component's default is --space-xl (81px). Page-scoped,
 * because the same component is flat on three other pages and their spacing is correct. */
body.page-id-9561 .bw-data-reports__container{row-gap:60px}

/* Long web addresses in article text wrap instead of widening the column (2026-12-01). */
.smart-spacing > :is(p, h2, h3, h4, ul, ol, blockquote) { min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; }
/* BMDA overview photos stay inside their grid column (2026-12-01). */
.bw-overview__row-media.image-component__wrapper { inline-size: 100%; }

/* Two-column image rows: the design gives the image 720 of the 1280 content width, not half.
 * Measured off 17_Why the ByWard Market.png and 15_Data and Reports.png, which both place the
 * image at x80-800 and the text from x836. Page-scoped on purpose: the same row component runs
 * 50/50 on Things To Do, where the design measures 622px, and that one is correct.
 */
@container (inline-size >= 800px){body.page-id-9680 .bw-things__row{grid-template-columns:56.25% 1fr}}
@container (inline-size >= 800px){body.page-id-9580 .block:has(> .bw-featured-article__media){grid-template-columns:56.25% 1fr;column-gap:36px}}

/* The subscribe lede is two or three lines of centred-ish copy beside the form; without balance
 * the last line regularly drops to a single orphaned word. */
.bw-newsletter-dialog__description,.bw-newsletter-dialog__intro p{text-wrap:balance}

/* Data & Reports carousel on Projects & Developments.
 *
 * The wrapper carries 50px of padding so the arrows can sit inside it, which pushed the cards to
 * panel+131. The design puts them at panel+100 (measured: cards x180 against a panel at x80 in
 * 14_Projects and Development.png), with the arrows outside the cards entirely, about 20px clear.
 * So the padding comes down and the arrows go negative. Ours are 48px wide against the design's
 * 34, which is why the inset is larger than the design's own offset would suggest. */
body.page-id-9561 .bw-data-reports__carousel-wrapper{padding-inline:19px}
@container (inline-size < 800px){
	body.page-id-9561 .bw-data-reports__carousel-wrapper{padding-inline:0}
}
body.page-id-9561 .bw-data-reports__carousel-wrapper [data-ome-carousel-prev]{inset-inline-start:-49px}
body.page-id-9561 .bw-data-reports__carousel-wrapper [data-ome-carousel-next]{inset-inline-end:-49px}
@container (inline-size < 440px){
body.page-id-9561 .bw-data-reports__carousel-wrapper [data-ome-carousel-prev]{inset-inline-start:-11vw}
body.page-id-9561 .bw-data-reports__carousel-wrapper [data-ome-carousel-next]{inset-inline-end:-11vw}	
}
/* the intro sat inset to line up with the old card position; follow the cards, 8px proud of them
   as the design has it */
/* Align the intro with the cards below it. The component's own rule is
   .bw-data-reports__container:has(.carousel-wrapper) .bw-data-reports__intro at (0,3,0), so this
   has to name the container too or it silently loses. 19px matches the carousel wrapper, which
   puts the heading on the same left edge as the card images. */
body.page-id-9561 .bw-data-reports__container .bw-data-reports__intro{padding-inline:19px}
@container (inline-size < 800px){
	body.page-id-9561 .bw-data-reports__container .bw-data-reports__intro{padding-inline:0;}
}

/* --- Linkable cards lift on hover -------------------------------------------------------------
 * Movement only, no shadow. Covers the three card shells that wrap a link: .bw-card (events,
 * directory, Join the Market), the District Life article cards, and the events CTA tile.
 *
 * :has(a:hover, a:focus-visible) rather than :hover, which is the pattern already used by the
 * mega menu's featured card: it means the card only reacts when the thing inside it that is
 * actually clickable is the thing being hovered, and it gives keyboard users the same feedback.
 *
 * `translate` rather than `transform`, so a card that already carries a transform keeps it.
 *
 * Spotlight cards are excluded: the big event cards in the homepage carousel and the featured
 * event on /events-calendar/ are the only `data-layout="spotlight"` cards on the site, they are
 * already the visually dominant thing in their section, and lifting them reads as a wobble rather
 * than as feedback. Every other card - minimal and tile - keeps the lift. */
.bw-card:not([data-layout="spotlight"]),
.bw-district-life__card,
.bw-events__item--cta{transition:translate .2s ease-out}
@media (hover: hover) and (pointer: fine) {
.bw-card:not([data-layout="spotlight"]):has(a:hover,a:focus-visible),
.bw-district-life__card:has(a:hover,a:focus-visible),
.bw-events__item--cta:has(a:hover,a:focus-visible){translate:0 -6px}
}
@media (prefers-reduced-motion:reduce){
  .bw-card,.bw-district-life__card,.bw-events__item--cta{transition:none}
  .bw-card:has(a:hover,a:focus-visible),
  .bw-district-life__card:has(a:hover,a:focus-visible),
  .bw-events__item--cta:has(a:hover,a:focus-visible){translate:none}
}

/* Hold the newsletter heading to two lines, breaking after "for": at 60px "Sign up for" needs
 * 235px and "Sign up for the" needs 315px, so a cap between them forces it. In em so the dialog's
 * smaller type breaks the same way. Above 1728px the panel is wide enough that it fits on one
 * line without this.
 *
 * It lives here rather than in the style record where it belongs, because the record was
 * overwritten within the hour: etch_styles is one option, and saving in the builder writes the
 * whole thing back from that session's state. On a build with four people in it, a rule that
 * matters is safer in a file. */
.bw-newsletter-dialog__title{max-inline-size:4.7em}

/* The external-link arrow is injected into the link by JS and inherits a global svg{display:block},
 * so it dropped onto its own line under the link text. Inline-block keeps it on the baseline beside
 * the words; the 5px offset already comes from the injected inline style. */
.cis-external-link__icon{display:inline-block;vertical-align:-0.125em}

/* Heritage Hall, Our History: the design sets this body copy at 16px/1.4 (Georgia, measured off
 * the .fig text nodes on the Heritage Hall frames, which are all size 16 lh 1.4). The section
 * carries .text--l, which is 20px. Scoped to the history section so the utility keeps working
 * everywhere else. */
.bw-history__column-group .paragraph.text--l{font-size:var(--text-m);line-height:1.4}

/* District Directory and Events Calendar share .bw-directory__row: a narrow filter column and a
 * wide results column. The design puts the filters at 250px with the results starting at x419
 * against a page gutter of 80 (03_District Directory.png), where the build had 328px and a 48px
 * gap. Narrower filters, wider grid.
 *
 * In a media query rather than the component's own container query because the source rule lives
 * in etch_styles, which is a single option that the Etch builder rewrites wholesale — a rule that
 * matters is safer in a file while several people are working. */
@media (width >= 64rem){
  /* 280px is the narrowest the filter column can be with every label on one line. Measured by
     stepping the width and watching the tallest button: "Accommodations & Tourism" is the binding
     item and drops from 58px to 38px at 280. The gap absorbs the difference, so the results
     column keeps starting at x418 and stays 927 wide. */
  .bw-directory__sidebar{flex:0 0 17.5rem;inline-size:17.5rem}
  .bw-directory__row{column-gap:3.625rem}
}

/* --- Directory map: show every business, not just the page on screen ---------------------------
 *
 * The map already receives all POIs matching the filters (OME queries them unpaginated, separately
 * from the list). What it could not do was draw them: `.bw-interactive-map--for-posts` hid
 * `.ome-map-facet-cluster-bubble` outright, so the only markers that rendered were the nine
 * individual pins for the posts in the current page of the list. Loading more changed the list and
 * left the map alone, which is exactly what it looked like.
 *
 * Unhidden here, and restyled: OME's default bubble is a dark grey circle, which would read as a
 * different system beside the brand pins. */
.bw-interactive-map--for-posts .ome-map-facet-cluster-bubble{
  display:flex;
  background-color:var(--primary);
  border:2px solid var(--white);
  color:var(--white);
  box-shadow:0 4px 10px rgb(0 0 0 / 0.2);
}
.bw-interactive-map--for-posts .ome-map-facet-cluster-bubble:hover{background-color:var(--primary-hover)}


/* Map pins at 40px, matching the cluster bubbles they sit beside. Leaflet writes the size and the
 * anchor offsets inline, so both have to be overridden together: the margins are what keep the
 * point of the pin on the actual coordinate, and changing the size without them shifts every
 * marker by 8px. Applies to the directory and to the boundary maps, which share the component. */
.leaflet-marker-icon.ome-map-facet-marker{
  inline-size:40px !important;
  block-size:40px !important;
  margin-left:-20px !important;
  margin-top:-20px !important;
}
.ome-map-facet-marker .ome-map-facet-marker__content,
.ome-map-facet-marker svg{inline-size:100%;block-size:100%}

/* Minimal card: put the arrow beside the text, not under it.
 * Two shared Etch styles were inverted in etch_styles on 2026-09-11, swapping the axes of the
 * minimal card:
 *
 *   .bw-card-minimal__content-wrapper   row  ->  column
 *   .bw-card-minimal__item-title-row    column -> row
 *
 * The new pair is right for the cards whose title row holds the heading plus an arrow or a short
 * label (About, Home). It is wrong for the cards whose title row holds the heading plus the lede
 * and keeps the arrow as a sibling (Data & Reports, Join the Market): those ended up with the
 * heading beside the lede and the arrow stranded underneath.
 * Content is the discriminator, not card width - the same 615px card is a row on /about/ (h3 + a)
 * and needs to stack on /join-the-market/ (h3 + p). So key off where the arrow actually sits and
 * restore the original axes only for that arrangement, rather than reverting the shared rule and
 * undoing the other intent.
 * Lives here rather than in etch_styles because the builder rewrites that option wholesale. */
.bw-card-minimal__content-wrapper:has(> .bw-card-minimal__item-link){
	flex-direction:row;
	gap:var(--space-s)
}
/* A title row holding the lede always stacks, arrow or no arrow. Projects & Developments cards
 * (/the-district/, /join-the-market/why-byward-market/) have no arrow at all, so the wrapper rule
 * above never reaches them. What decides the axis is whether the row carries a paragraph. */
.bw-card-minimal__item-title-row:has(> p){
	flex-direction:column;
	/* The 48px gap that arrived with the row layout is a horizontal gutter between a heading and an
	 * arrow. Left alone it becomes a 48px hole between the heading and its lede once the row
	 * stacks, so put the original spacing back for the stacked case. */
	gap:var(--space-xxs)
}

/* ...and let the lede use the whole column. The description was capped at 414px (600px on a large
 * card) to stop it running under the arrow in the row layout. Stacked, there is nothing to avoid,
 * and the cap just leaves a band of empty space down the right of every Projects & Developments
 * card - which have no arrow at all. */
.bw-card-minimal__item-title-row:has(> p) .bw-card-minimal__item-description{
	max-inline-size:none
}

/* Keep the card arrow at its large size. A rule added alongside the axis swap drops
 * `--icon-size` to the medium token inside a container narrower than 450px, which is right for a
 * genuinely small card and wrong for the 411px Data & Reports cards, where the arrow is the card's
 * only affordance and went from 48px to 32px. Scoped to the same arrangement as the axis fix. */
.bw-card-minimal__content-wrapper:has(> .bw-card-minimal__item-link) .bw-card-minimal__item-link [data-icon-size='l']{
	--icon-size:var(--icon-size-l)
}

/* Pre-footer CTA banner: match the mockup's vertical rhythm at desktop.
 * Measured off About.jpg at 1440: the section is 548px tall — 80px of padding, a 1280x388 banner,
 * 80px of padding. Staging was 600px tall: 54px of padding and a 492px banner.
 *
 * Two causes, both from responsive work that was not re-checked at desktop:
 *   1. `.bw-banner__content` gained `min-block-size: to-rem(492px)`, which stops the banner
 *      collapsing on narrow screens but overrides its natural height everywhere. The content
 *      measures ~390px on its own (60px padding, 270px of text, 60px padding), which is the 388px
 *      the design asks for, so the floor just has to stop being taller than the thing it floors.
 *   2. `.bw-banner`'s large-breakpoint branch was retargeted from `--media-query-large` to
 *      `--block-query-large`, a container alias that never matches inside `@media`, so the section
 *      silently kept its small-screen `--space-l` (54px) instead of `--space-xl` (81px).
 * Padding-inline is deliberately left alone: at 1440 with a scrollbar the banner already measures
 * the design's 1280px, and raising it would make the match worse. */
@media (width >= 64rem){
	.bw-banner{
		padding-block:var(--space-xl)
	}
	.bw-banner__content{
		min-block-size:24.25rem
	}
}

/* Become a Vendor step cards: the design gives them a fixed height, not a padded one.
 * Measured off Individual-Application.jpg at 1440: every card in the row is 152px tall whatever it
 * holds — a two-line card centres 96px of text with 27/29 either side, a one-line card centres 56px
 * with 47/49. Staging was 202px because the height came from `padding-block: var(--space-m) + 8px`
 * (44px) wrapped around the content, so the row grew with the longest heading instead of sitting at
 * the design's height.
 * min-block-size rather than a fixed block-size, so a heading that wraps to a third line still has
 * somewhere to go instead of overflowing the card. */
@media (width >= 64rem){
	.bw-step-card{
		min-block-size:9.5rem;
		padding-block:var(--space-xs)
	}
}

/* Step 2 cards link with an arrow, not a labelled button.
 * Per Individual-Application.jpg: the Step 1 cards carry a solid "More Info" pill, the Step 2 cards
 * carry a plain circular arrow — white disc, primary-coloured arrow, on the tan card. Same boxed
 * icon the homepage cards use, inverted: there the disc is the accent colour and the arrow white. */
.bw-step-card__more [data-icon]{
	--icon-background:var(--white);
	--icon-background-hover:var(--primary);
	--icon-color:var(--primary);
	--icon-color-hover:var(--white)
}

/* Smooth scrolling for in-page jumps.
 * The Become a Vendor step cards already link to #check, #review and #apply, and those sections
 * already carry `scroll-margin-top: 212px`, so the only thing missing was the easing. Applied to
 * the document rather than to those three links, because every in-page anchor on the site wants
 * the same behaviour. Off under prefers-reduced-motion: a long scroll is exactly the kind of
 * vestibular trigger that setting exists for. */
@media (prefers-reduced-motion:no-preference){
	html{scroll-behavior:smooth}
}


/* Become a Vendor step-2 cards: the whole card is the link.
 * The arrow is the only interactive thing in the card, so stretching it over the card gives the
 * same target the design implies without a second anchor competing with it for the accessible
 * name. `:has()` keeps it to the cards that actually carry an arrow — the Step 1 cards use a
 * labelled "More Info" pill and are left alone. */
.bw-check-rates__card:has(.bw-step-card__more){
	position:relative
}
.bw-check-rates__card:has(.bw-step-card__more) .bw-step-card__more::after{
	content:'';
	position:absolute;
	inset:0;
	z-index:1
}

/* --- Image captions, in a gallery or on their own ---------------------------------------
 * Core's gallery stylesheet (printed when the block renders, so after this one) pins each caption
 * over the bottom of its image: white 13px text on a dark gradient, with a blurred veil (::before)
 * behind it. The design puts the caption UNDER the image, centred, uppercase and in the primary
 * red, in the same Bricolage Grotesque the other labels use. :not(#individual-image) carries the
 * ID specificity needed to outrank core, as in the rules above.
 * The look is the same either way: below the image, centred, uppercase, primary red. Only a
 * gallery needs core's overlay undone, so that part is its own rule below the shared one. */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):has(figcaption){justify-content:flex-start}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):has(figcaption)::before{content:none}
/* figure.wp-block-image, not just .wp-block-image: the theme's .smart-spacing figcaption rule has the same
 * specificity as the shorter selector and was keeping an 8px top margin on single images. */
figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) figcaption{margin:0;padding:var(--space-xs) 0 0;color:var(--primary);text-align:center;text-transform:uppercase;font-family:"Bricolage Grotesque",sans-serif;font-size:var(--text-m);font-weight:700;letter-spacing:0.01em;line-height:1.3}
/* Gallery only: put the caption back in the flow, and leave room before the next row. */
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) figcaption{position:static;max-height:none;overflow:visible;background:none;text-shadow:none;padding-block-end:var(--space-xs)}
/* The image keeps its own 4:3 shape; height:100% would stretch it over the caption's space. */
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image):has(figcaption) img{height:auto !important}

/* 2026-11-13: blog post hero image sits centre centre (was bottom centre). The shared .bw-hero__media rule
 * stays bottom centre for the home and event heroes; only single articles are changed. */
body.single-article .bw-hero__media{object-position:center center}


/* Bold text (2026-11-26). Body text is weight 300, so the browser's "bolder" lands on 400, which looks the same
   in Georgia. Headings are left alone so the display font is not artificially thickened. */
:where(p, li, td, th, dd, dt, blockquote, figcaption, caption) :where(strong, b) {
	font-weight: 700;
}


/* ARTICLE-BLOCK-SPACING (2026-11-27, client request). ACSS smart spacing (.smart-spacing > * + *) was overriding the
   blocks' own margins, leaving 16px. Space above and below; two blocks in a row share one space (the article column
   is flex, so margins do not collapse). */
.smart-spacing > :is(.bw-image-text, .bw-image-long-text, .bw-video, .bw-staggered-row, .bw-overlap-list) {
	margin-block: var(--space-l);
}

.smart-spacing > :is(.bw-image-text, .bw-image-long-text, .bw-video, .bw-staggered-row, .bw-overlap-list) + * {
	margin-block-start: 0;
}

/* =============================================================================
 * Accessibility fixes from the 2026-11-27 axe re-run (WCAG 2.2 AA), every page in EN and FR at 1440 and 390.
 * Each selector catches every instance of the pattern, including ones editors add later.
 * ========================================================================== */

/* 1.4.3: orange (--secondary) text on white is 3.41:1. Card tags ("Free", "All Day") and outline pills
 * use --primary instead (6.89:1). Pills get --pill-color inline from the block, which a stylesheet can't
 * override, so color and border are set directly. */
.bw-card-tags .bw-card-tags__tag,
li.bw-card-tags__tag {
	color: var(--primary);
	border-color: var(--primary);
}
.bw-pill[data-variant="outline"][style*="--secondary"] {
	color: var(--primary);
	border-color: var(--primary);
}

/* 1.4.3: white on the green --tertiary pill (Press Releases / Communiqués de presse) is 2.19:1.
 * Dark text on the same green is over 7:1. */
.bw-pill[data-variant="solid"][style*="--tertiary"] {
	color: var(--base-ultra-dark);
}

/* 1.4.3: the quote citation on the red quote block was 4.21:1 at 72% white; 85% is 5.35:1. */
body.single-article .content-width--854 .wp-block-quote cite,
body.single-event .content-width--854 .wp-block-quote cite,
body.single-policy .content-width--854 .wp-block-quote cite {
	color: rgba(255, 255, 255, 0.85);
}

/* 2.5.8: the ByWard200 slider dots are 10px with a 13.6px gap, so their 24px target circles overlapped
 * by 0.4px. A 16px gap clears it without changing the dots. */
.bw-byward200__carousel .ome-carousel-dots {
	gap: 16px;
}

/* 2.4.7: the Leaflet map container takes keyboard focus (arrow keys pan the map) but Leaflet removes its
 * outline. Give it the same ring as everything else. */
.leaflet-container:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
}

/* Header menu, both languages: the desktop menu starts at 1025px, but up to about 1100px the five top-level
 * items were 21-45px too wide for the space and the last one wrapped to a second row. Tighten the gap in
 * that band, and the label size a touch in the narrowest part. Above 1100px nothing changes. 2026-11-27. */
@media (min-width: 1025px) and (max-width: 1099.98px) {
	.menu-wrapper .nav__list {
		column-gap: 6px;
	}
}
@media (min-width: 1025px) and (max-width: 1059.98px) {
	.menu-wrapper .nav__list > li > :is(a, button, span) {
		font-size: 0.9375rem;
	}
}

/* Termageddon policy embeds: headings match the rest of the site (2026-12-01). Headings only. */
/* The embed resets fonts with an ID selector; :is([id], #bw-policy) lends these rules ID weight without naming the embed's random id. */
.policy_embed_div:is([id], #bw-policy) h2.tpt-section-heading {
	font-family: var(--heading-font-family);
	font-size: var(--h3);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-wrap: balance;
	margin-block: var(--space-m) var(--space-xs);
}
.policy_embed_div:is([id], #bw-policy) h3.accordion-heading,
.policy_embed_div:is([id], #bw-policy) h4.accordion-section-heading {
	font-family: "Bricolage Grotesque", sans-serif;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}
.policy_embed_div:is([id], #bw-policy) h3.accordion-heading {
	font-size: var(--text-l);
}
.policy_embed_div:is([id], #bw-policy) h4.accordion-section-heading {
	font-size: var(--text-m);
}

/* French fit fixes (2026-12-01). */
/* Header: an open menu item grows by its pill padding, which pushed the last item onto a second line on the
   narrowest desktop widths. */
@media (width >= 1100px) and (width < 1140px) {
	.header-wrapper .menu-wrapper.desktop ul.nav__list {
		column-gap: 0.5rem;
	}
}
/* Event form: the French submit label is longer than a narrow phone, so let it wrap. */
.bw-submit-event__form .fluentform .ff-btn-submit.ff_btn_style {
	white-space: normal;
	max-inline-size: 100%;
	text-align: center;
}

/* 2026-12-02: the client wants 0.01em tracking on ALL Tanker text. It follows the H1 setting in ACSS
 * (--h1-letter-spacing), so that one value drives every Tanker heading. Same list as the uppercase rule
 * above, plus the other class styles that switch a heading to Bricolage. */
:is(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6):not(.bw-font-family--bricolage,.footer__nav-block-heading,.footer-studio,.footer-studio__bottom,.banner-alpha,.header-wrapper,.list-item-cmp,.bw-intro__header-lead,.bw-intro__cta,.bw-things__lead-caption,.bw-submit-steps__title,.bw-submit-steps__number,.bw-byward200__accent,.bw-apply-now__placeholder){letter-spacing:var(--h1-letter-spacing)}

/* Contact page icons from the media library take the text colour, like the built-in ones. */
.bw-contact__item svg[data-icon] path:not([fill]){fill:currentColor}
