/*
 * RMH blog (rmh-blog.php): the post head ([rmh_post_head]) and the end route ([rmh_post_route]). On top of rmh-landing.css
 * (tokens --l-*, the card grammar, buttons), scoped to .rmh-lc. Both sit inside an Elementor column that already has its
 * gutter, so the wrap drops the landing's own. px only (html is 10px). Motion: transform / opacity only.
 */
.rmh-lc.rmh-ph, .rmh-lc.rmh-pr-wrap { --b-measure: 680px; /* one reading column: head, photo, share row and body share it (below) */ background: transparent; }
.rmh-lc.rmh-ph .rmh-l__wrap { width: 100%; max-width: var(--b-measure); margin-inline: auto; }

/* ---------- Head ---------- */
.rmh-ph__wrap { padding-block: 8px 24px; }
.rmh-ph__crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; }
.rmh-ph__crumbs li { font: 600 12px/1.4 var(--l-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--l-taupe-deep); }
.rmh-ph__crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--l-sand); }
.rmh-lc .rmh-ph__crumbs a:not(#_) { color: var(--l-taupe-deep); font: inherit; letter-spacing: inherit; text-decoration: none; }
.rmh-lc .rmh-ph__crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rmh-lc h1.rmh-ph__title:not(#_) {
	font-family: var(--l-serif) !important; font-weight: 400; text-transform: none; letter-spacing: -.005em; text-wrap: balance;
	font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; color: var(--l-ink); margin: 0 0 20px;
}
.rmh-lc .rmh-ph__answer {
	font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--l-ink); max-width: 62ch;
	padding-left: 18px; border-left: 2px solid var(--l-taupe);
}
.rmh-lc .rmh-ph__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; font-size: 14px; color: var(--l-ink-soft); }
.rmh-lc .rmh-ph__meta time { color: inherit; }
.rmh-lc .rmh-ph__meta span + span::before { content: "·"; margin-right: 18px; color: var(--l-sand); }

/* In this guide: closed on phones by default (summary is the button), a quiet panel */
.rmh-lc .rmh-ph__toc { margin-top: 28px; border-block: 1px solid var(--l-sand); }
.rmh-lc .rmh-ph__toc summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px;
	font: 600 12px/1.4 var(--l-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--l-ink);
}
.rmh-lc .rmh-ph__toc summary::-webkit-details-marker { display: none; }
.rmh-lc .rmh-ph__toc summary::after { content: "+"; font: 400 22px/1 var(--l-sans); transition: transform .2s var(--l-ease); }
.rmh-lc .rmh-ph__toc[open] summary::after { transform: rotate(45deg); }
.rmh-lc .rmh-ph__toc ol { margin: 0 0 18px; padding-left: 22px; columns: 1; }
.rmh-lc .rmh-ph__toc li { padding-block: 5px; break-inside: avoid; font-size: 16px; line-height: 1.45; }
.rmh-lc .rmh-ph__toc a:not(#_) { color: var(--l-ink); font-size: 16px; text-decoration: none; }
.rmh-lc .rmh-ph__toc a:hover { color: var(--l-taupe-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .rmh-lc .rmh-ph__toc ol { columns: 2; column-gap: 40px; } }

/* the anchors the contents list jumps to clear the sticky header */
.single-post h2[id^="g-"] { scroll-margin-top: 110px; }

/* ---------- End route ---------- */
.rmh-lc.rmh-pr-wrap { margin-top: 24px; }
.rmh-lc .rmh-pr { padding-block: var(--l-band); border-radius: 2px; }
.rmh-lc .rmh-pr .rmh-l__wrap { width: min(100% - 2 * var(--l-gutter), 1180px); }
.rmh-lc .rmh-pr .rmh-l__line { margin-top: 14px; max-width: 58ch; color: var(--l-ink-soft); }
.rmh-pr__cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-auto-flow: column;
	grid-auto-columns: 66%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rmh-pr__cards::-webkit-scrollbar { display: none; }
.rmh-pr__cards > li { scroll-snap-align: start; }
.rmh-pr__cards--c2 { grid-auto-columns: 78%; }
@media (min-width: 900px) {
	.rmh-pr__cards { grid-auto-flow: row; overflow: visible; grid-template-columns: repeat(4, 1fr); }
	.rmh-pr__cards--c2 { grid-template-columns: repeat(2, 1fr); }
}
.rmh-lc .rmh-pr .rmh-l-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.rmh-lc .rmh-pr__cards--c2 .rmh-l-card img { aspect-ratio: 3 / 2; }
.rmh-pr__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.rmh-lc .rmh-pr__wa:not(#_) {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--l-ink); font-size: 16px; font-weight: 600;
	text-decoration: underline; text-decoration-color: var(--l-sand); text-underline-offset: 5px;
}
.rmh-lc .rmh-pr__wa:hover { text-decoration-color: currentColor; }
.rmh-lc .rmh-pr__wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.rmh-pr__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
@media (max-width: 599px) { .rmh-pr__actions .rmh-l-btn { width: 100%; } }

/* related guides sit on white after the cream band */
.rmh-lc.rmh-pr-wrap .rmh-l-rail { padding-block: var(--l-band) 8px; }
.rmh-lc.rmh-pr-wrap .rmh-l-rail .rmh-l__wrap { width: min(100% - 2 * var(--l-gutter), 1180px); }

@media (prefers-reduced-motion: reduce) { .rmh-lc .rmh-ph__toc summary::after { transition: none; } }

/* ---------- Houses mid-post ([rmh_post_houses]) ---------- */
.rmh-lc.rmh-ph-houses { margin: 32px 0; background: transparent; }
.rmh-ph-houses__in { padding: 24px 0; border-block: 1px solid var(--l-sand); }
.rmh-lc .rmh-ph-houses .rmh-l__label { margin-bottom: 8px; }
.rmh-lc .rmh-ph-houses__title { font: 400 clamp(24px, 3vw, 30px)/1.15 var(--l-serif); color: var(--l-ink); margin: 0; }
.rmh-lc .rmh-ph-houses .rmh-pr__cards { margin-top: 20px; gap: 14px; }
.rmh-lc .rmh-ph-houses .rmh-l-card__title { font-size: 19px; }
.rmh-lc .rmh-ph-houses .rmh-l-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.rmh-lc .rmh-ph-houses .rmh-pr__cards--c2 .rmh-l-card img { aspect-ratio: 3 / 2; }
.rmh-lc .rmh-ph-houses__more { margin-top: 16px; }

/* ---------- One column (design walk 10-16: the head, the photo and the text had three left edges at 1440) ---------- */
/* Template 194118 (head 07c44a1, featured photo 4221279, share row 1c2c712) sits in the post's first section; the post's own
   sections follow it. Every boxed container is the 680 px column + its own paddings, so every left edge lands on the head's. Sections holding a template (the end route, 205845) keep their width. */
.rmh-lc.rmh-ph .rmh-l__wrap:not(#_) { width: 100%; }
.elementor-194118 :is(.elementor-element-07c44a1, .elementor-element-1c2c712) > .elementor-container:not(#_) {
	max-width: calc(var(--b-measure, 680px) + 20px);
}
/* the post's own sections: column gap (10) + widget-wrap padding (10) on each side */
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section:not(:first-child):not(:has(.elementor-widget-template)) > .elementor-container:not(#_) {
	max-width: calc(var(--b-measure, 680px) + 40px);
}
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section:not(:first-child):not(:has(.elementor-widget-template)) .elementor-widget:not(#_) {
	max-width: none !important; margin-inline: 0 !important;
}
.elementor-194118 .elementor-element-4b531de > .elementor-widget-container:not(#_) { max-width: 680px; margin-inline: auto; }
.elementor-194118 .elementor-element-4b531de img:not(#_) { display: block; width: 100%; height: auto; border-radius: 2px; }
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section .elementor-widget-text-editor:not(#_) :is(h2, h3) :is(a, span, strong, b):not(#_) {
	font: inherit !important; letter-spacing: inherit; color: inherit !important; text-decoration: none;
}
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section .elementor-widget-text-editor:not(#_) :is(img, figure, .wp-block-image) {
	max-width: 100%; height: auto;
}
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section .elementor-widget-text-editor .has-text-align-center:not(#_) { text-align: left; }
.single-post .elementor-widget-text-editor a[href^="tel:"] { white-space: nowrap; }
/* phones: the post's text sits 20 px in (column gap + wrap padding); the head and the photo step in to the same edge */
@media (max-width: 767px) {
	.rmh-lc.rmh-ph .rmh-l__wrap:not(#_):not(#_) { padding-inline: 10px; box-sizing: border-box; }
	.elementor-194118 .elementor-element-4b531de > .elementor-widget-container:not(#_):not(#_) { padding-inline: 10px; }
}
/* (the body is outside .rmh-lc, so the --rmh-* brand tokens, not the landing's --l-* ones) */
/* one heading voice in the text: H2 = the title serif in sentence case (rmh-blog.php writes the case), H3 = DM Sans */
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section .elementor-widget-text-editor h2:not(#_):not(#_) {
	margin: 48px 0 14px; font: 400 clamp(26px, 2.2vw + 14px, 34px)/1.18 var(--rmh-serif, "Marcellus", Georgia, serif) !important; letter-spacing: 0;
	text-transform: none; color: var(--rmh-ink, #231F20);
}
.single-post .elementor[data-elementor-post-type="post"] > .elementor-section .elementor-widget-text-editor h3:not(#_):not(#_) {
	margin: 32px 0 10px; font: 600 20px/1.3 var(--rmh-sans, "DM Sans", Arial, sans-serif) !important; letter-spacing: 0; text-transform: none;
	color: var(--rmh-ink, #231F20);
}

/* ---------- [rmh_post_houses] inside a post's text-editor widget (schema-cta 10-19) ---------- */
/* Placed mid-post in the body text (seven posts, 10-19), the strip took the body's type: 19 px tracked labels, DM Sans 600
   house names, a sans title. These rules match the strip in its own shortcode widget (the airport post), wherever it sits. */
.rmh-lc.rmh-ph-houses .rmh-l__label:not(#_):not(#_) { margin-top: 0; font: 600 12px/1.4 var(--l-sans); letter-spacing: .16em; }
.rmh-lc.rmh-ph-houses .rmh-ph-houses__title:not(#_):not(#_) { margin: 0; font: 400 clamp(24px, 3vw, 30px)/1.15 var(--l-serif) !important; letter-spacing: 0; text-transform: none; }
/* three :not(#_) to outrank the post body's H3 rule above (2 ids, 5 classes, font !important) */
.rmh-lc.rmh-ph-houses h3.rmh-l-card__title:not(#_):not(#_):not(#_) { margin: 0; font: 400 21px/1.2 var(--l-serif) !important; letter-spacing: 0; text-transform: none; }
.rmh-lc.rmh-ph-houses h3.rmh-l-card__title a:not(#_):not(#_) { font: inherit; color: inherit; }
.rmh-lc.rmh-ph-houses .rmh-l-card__line:not(#_):not(#_) { margin: 4px 0 0; font-size: 15px; line-height: 1.55; }
