/*
 * rm-mbre-newsletter-blocks.css
 * Styles for the custom HTML blocks the team builds inside the hub, moved out of
 * the <style> tags in those blocks. See D55.
 *
 * WHY THEY MOVED
 * Archive this issue copies the hub's blocks into every issue, <style> tags
 * included, so each archived issue carried its own copy of this CSS, unscoped.
 * Here it loads once, on the hub and on every issue, wherever V1 renders.
 *
 * WHAT CHANGED FROM THE TEAM'S CSS, AND WHY
 *   Scope        every rule sits under .post-template-single-mbre-newsletter-v1,
 *                the V1 body class, so nothing else on the site is touched.
 *   Tokens       colours use the palette tokens, each with its locked hex.
 *   Dropped      .nl-section { padding-bottom: 70px }, which never applied (the
 *                V1 section rule outranks it), and the .nl-h2 sizes at 1024 and
 *                660px, which resized every H2 on the page, not just the news
 *                block. Headings keep the sizes the page has today.
 *   Dropped      the spotlight title rules. The phase 5 heading stylesheet owns
 *                that treatment and already outranks them (D36).
 *   Dropped      input#nl_hub_first_name and #nl_hub_last_name at 50px, ids from
 *                the old sign-up form. The new form styles give every field the
 *                same height (D54).
 *   Dropped      the hand-built archive section styles (.mbre-arch-*). The hub
 *                archive section is the plugin's shortcode (D42).
 *   Dropped      border-radius on the amenity slider. No radius, house rule.
 *   Removed      the -30px top margin on .tbl-label, in 1.0.11 (D60).
 *   Moved in     the Matt commentary block's inline spacing: 20px between
 *                paragraphs, and the -30px pull up under the section above it.
 *
 * COMPLIANCE
 * Classes nl- and mbre- only. No bare h1 to h6, p or a. No border radius. No gold,
 * no navy. Breakpoints 1024, 768 and 660 as in the V1 stylesheet; 480 once, with
 * its reason. No em or en dashes.
 */

/* ─────────────────────────────────────────────────────────────────── */
/* 1. MATT COMMENTARY                                                  */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-matt {
	border-left: 3px solid var(--blue, #00A3E0);
	padding-left: 22px;
	margin: 0 0 26px 0;
}

/* Tucked under the section above it, whose bottom padding would otherwise open
 * a gap. The same -30px the blocks carried inline. */
.post-template-single-mbre-newsletter-v1 .nl-section + .mbre-matt,
.post-template-single-mbre-newsletter-v1 .nl-section + .nl-anchor + .mbre-matt {
	margin-top: -30px;
}

/* Paragraphs keep the page's body type. 20px apart, as the inline styles set. */
.post-template-single-mbre-newsletter-v1 .mbre-matt > p {
	margin: 0 0 20px;
}

.post-template-single-mbre-newsletter-v1 .mbre-matt > p:last-child {
	margin-bottom: 0;
}

/* 660px, the V1 phone breakpoint: a tighter indent keeps the measure. */
@media (max-width: 660px) {
	.post-template-single-mbre-newsletter-v1 .mbre-matt {
		padding-left: 15px;
	}
}


/* ─────────────────────────────────────────────────────────────────── */
/* 2. TWO IMAGE BLOCK                                                  */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-image-section {
	width: 100%;
	margin: 0;
	padding: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-image-1x2 {
	display: flex;
	width: 100%;
	gap: 16px;
}

.post-template-single-mbre-newsletter-v1 .mbre-image-item {
	position: relative;
	flex: 1 1 50%;
	min-width: 0;
	overflow: hidden;
}

.post-template-single-mbre-newsletter-v1 .mbre-image-item img {
	display: block;
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.post-template-single-mbre-newsletter-v1 .mbre-image-overlay {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 50px 20px 16px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	color: var(--white, #ffffff);
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
}

@media (max-width: 660px) {
	.post-template-single-mbre-newsletter-v1 .mbre-image-1x2 {
		flex-direction: column;
		gap: 12px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-image-item {
		flex: 1 1 100%;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-image-item img {
		height: 220px;
	}
}


/* ─────────────────────────────────────────────────────────────────── */
/* 3. AREA NEWS DIGEST                                                 */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-news-item,
.post-template-single-mbre-newsletter-v1 .mbre-news-figure,
.post-template-single-mbre-newsletter-v1 .mbre-news-text {
	box-sizing: border-box;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-bar {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 14px;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-bar-label,
.post-template-single-mbre-newsletter-v1 .mbre-news-bar-date {
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue, #00A3E0);
	font-weight: 700;
	white-space: nowrap;
	min-width: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-bar-rule {
	flex: 1 1 auto;
	height: 1px;
	background: var(--rule, #e2e2e2);
	min-width: 20px;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-lede {
	border-left: 4px solid var(--blue, #00A3E0);
	padding: 2px 0 2px 20px;
	margin: 0 0 26px;
	line-height: 1.6;
	color: var(--ink, #1c1c1c);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-list {
	border-top: 1px solid var(--rule, #e2e2e2);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-item {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid var(--rule, #e2e2e2);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-figure {
	flex: 0 0 200px;
	margin: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-figure img {
	width: 100%;
	max-width: 100%;
	height: 134px;
	object-fit: cover;
	display: block;
	background: var(--off, #f7f7f7);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-credit {
	font-size: 11px;
	color: var(--faint, #8a8a8a);
	margin-top: 4px;
	line-height: 1.3;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-text {
	flex: 1 1 auto;
	min-width: 0;
}

/* The publication name. */
.post-template-single-mbre-newsletter-v1 .mbre-news-pub {
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--blue, #00A3E0);
	font-weight: 700;
	margin-bottom: 5px;
	display: block;
}

/* A publication still to be confirmed shows red, so it is not published by
 * mistake. */
.post-template-single-mbre-newsletter-v1 .mbre-news-pub--tbd {
	color: var(--neg, #8b1a1a);
}

/* Sentence case at 19px. */
.post-template-single-mbre-newsletter-v1 .mbre-news-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.32;
	color: var(--ink, #1c1c1c);
	margin: 0 0 7px;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-title a {
	color: var(--ink, #1c1c1c);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-title a:hover,
.post-template-single-mbre-newsletter-v1 .mbre-news-title a:focus {
	color: var(--blue, #00A3E0);
}

.post-template-single-mbre-newsletter-v1 .mbre-news-body {
	color: var(--muted, #5a5a5a);
	margin: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-news-body a {
	color: var(--blue, #00A3E0);
}

@media (max-width: 1024px) {
	.post-template-single-mbre-newsletter-v1 .mbre-news-figure {
		flex: 0 0 160px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-figure img {
		height: 108px;
	}
}

/* 660px: image on top, text below. Below 660px the heading stylesheet also turns
 * the news bar into one line joined by a middot (D38). */
@media (max-width: 660px) {
	.post-template-single-mbre-newsletter-v1 .mbre-news-item {
		flex-direction: column;
		gap: 12px;
		padding: 16px 0;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-figure {
		flex: 1 1 auto;
		width: 100%;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-figure img {
		height: 190px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-lede {
		font-size: 17px;
		margin-bottom: 22px;
	}
}

/* 480px, below the V1 breakpoints on purpose: on the smallest phones the news
 * bar's label and date need smaller type to stay on one line at 320px, and the
 * stacked images are shortened so a whole item fits on screen. */
@media (max-width: 480px) {
	.post-template-single-mbre-newsletter-v1 .mbre-news-title {
		font-size: 18px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-figure img {
		height: 170px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-bar {
		gap: 10px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-news-bar-label,
	.post-template-single-mbre-newsletter-v1 .mbre-news-bar-date {
		font-size: 11px;
		letter-spacing: .08em;
	}
}


/* ─────────────────────────────────────────────────────────────────── */
/* 4. STRAND NOTE                                                      */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-strand-note {
	font-size: 14px;
	color: var(--muted, #5a5a5a);
	line-height: 1.5;
	background: var(--off, #f7f7f7);
	border-left: 4px solid var(--blue, #00A3E0);
	padding: 14px 16px;
}


/* ─────────────────────────────────────────────────────────────────── */
/* 5. TABLE LABELS, CHART HEADINGS, SIGN-UP FORM, REPORTS, FAQ         */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .tbl-sub {
	font-weight: 600;
	padding-top: 30px;
}

.post-template-single-mbre-newsletter-v1 .chart-h3 {
	margin-top: 20px;
	margin-bottom: 20px;
}

.post-template-single-mbre-newsletter-v1 .signup-right .fusion-form-field {
	margin-top: 0;
}

.post-template-single-mbre-newsletter-v1 a.report-btn.report-btn--outline {
	display: none;
}

.post-template-single-mbre-newsletter-v1 .report-cover img {
	object-position: top;
}

.post-template-single-mbre-newsletter-v1 .mr-card-download-main-row .report-cover {
	aspect-ratio: 16 / 13;
}

.post-template-single-mbre-newsletter-v1 .faq-qt {
	font-weight: 500;
	font-size: 20px;
	letter-spacing: normal;
}


/* ─────────────────────────────────────────────────────────────────── */
/* 6. COMMUNITY SPOTLIGHT WRAPPER                                      */
/* The title itself is styled by the heading stylesheet (D36).         */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-spotlight {
	margin: 38px 0 14px;
}

.post-template-single-mbre-newsletter-v1 .mbre-spotlight-eyebrow {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue, #00A3E0);
	font-weight: 700;
	display: block;
	margin-bottom: 8px;
}


/* ─────────────────────────────────────────────────────────────────── */
/* 7. AMENITY SLIDER                                                   */
/* The slider's script stays in its block. No border radius.           */
/* ─────────────────────────────────────────────────────────────────── */

.post-template-single-mbre-newsletter-v1 .mbre-slider-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 8px;
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-track::-webkit-scrollbar {
	display: none;
}

.post-template-single-mbre-newsletter-v1 .mbre-slide {
	flex: 0 0 calc((100% - 32px) / 3);
	scroll-snap-align: start;
	position: relative;
	min-width: 0;
}

.post-template-single-mbre-newsletter-v1 .mbre-slide img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.post-template-single-mbre-newsletter-v1 .mbre-slide-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	padding: 40px 16px 14px;
}

.post-template-single-mbre-newsletter-v1 .mbre-slide-caption span {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--white, #ffffff);
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 16px;
}

/* 44px square: the touch target minimum. */
.post-template-single-mbre-newsletter-v1 .mbre-slider-btn {
	width: 44px;
	height: 44px;
	border: 2px solid var(--rule, #e2e2e2);
	background: var(--white, #ffffff);
	color: var(--ink, #1c1c1c);
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s, color 0.2s;
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-btn:hover,
.post-template-single-mbre-newsletter-v1 .mbre-slider-btn:focus {
	border-color: var(--blue, #00A3E0);
	color: var(--blue, #00A3E0);
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-dots {
	display: flex;
	gap: 8px;
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-dot {
	width: 10px;
	height: 10px;
	background: var(--rule, #e2e2e2);
	cursor: pointer;
	transition: background 0.2s;
}

.post-template-single-mbre-newsletter-v1 .mbre-slider-dot.active {
	background: var(--blue, #00A3E0);
}

/* The contents list and the one, two and three image grids share these
 * breakpoints with the slider, as they did in the block. */
@media (max-width: 768px) {
	.post-template-single-mbre-newsletter-v1 .mbre-toc-list {
		columns: 1;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-slide {
		flex: 0 0 calc((100% - 16px) / 2);
	}

	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x3 > div {
		flex: 1 1 calc(50% - 8px);
	}

	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x3 > div:last-child {
		flex: 1 1 100%;
	}
}

@media (max-width: 660px) {
	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x2,
	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x3 {
		flex-direction: column;
		gap: 12px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x2 img,
	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-1x3 img {
		height: 220px;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-hh-img-full img {
		height: 100%;
		width: 100%;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-slide {
		flex: 0 0 100%;
	}

	.post-template-single-mbre-newsletter-v1 .mbre-slide img {
		height: 240px;
	}
}
