/* ==========================================================================
   Rock LaManna® – theme styles
   Brand: forest green (primary), platinum/silver + charcoal (secondary), white.
   No orange / gold. Call-to-action buttons: green on light sections, white on
   green / dark sections.
   Colors come ONLY from color-scheme.json, exposed as
   --wp--preset--color--{slug} and --rl-{slug} / --rl-{slug}-rgb.
   Type: Montserrat (headings, navigation, buttons) + Open Sans (body).
   ========================================================================== */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
::selection { background: var(--rl-primary); color: var(--rl-surface); }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--rl-primary);
	outline-offset: 3px;
	border-radius: 2px;
}
:where(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color, .has-primary-background-color, .rl-footer) :where(a, button):focus-visible { outline-color: var(--rl-platinum-light); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.wp-site-blocks > * + * { margin-block-start: 0; }
.rl-main--canvas > .wp-block-post-content > *:first-child { margin-block-start: 0; }
.rl-main--canvas > .wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }
:where(.wp-block-post-content) > .alignfull { margin-block-start: 0; margin-block-end: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
sup { font-size: .5em; line-height: 0; vertical-align: super; font-weight: inherit; letter-spacing: 0; }
.rl-icon { flex: none; }
[id] { scroll-margin-top: 110px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Headings follow the section's text color on dark sections */
.has-surface-color :is(h1, h2, h3, h4, h5, h6),
.rl-hero :is(h1, h2, h3, h4) { color: inherit; }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.wp-block-button__link:active { transform: translateY(1px); }
/* Call to action: forest green with white text everywhere, no outline (client request) */
.wp-block-button.is-style-cta .wp-block-button__link { background: var(--rl-primary); color: var(--rl-surface); border: 0; padding: .95em 1.75em; }
.wp-block-button.is-style-cta .wp-block-button__link:hover,
.wp-block-button.is-style-cta .wp-block-button__link:focus-visible { background: var(--rl-primary-hover); color: var(--rl-surface); }
/* Outline styles kept for old content, shown as the same green CTA (client request 04/11/2026) */
.wp-block-button:is(.is-style-outline, .is-style-outline-light) .wp-block-button__link { background: var(--rl-primary); color: var(--rl-surface); border: 0; padding: .95em 1.75em; }
.wp-block-button:is(.is-style-outline, .is-style-outline-light) .wp-block-button__link:is(:hover, :focus-visible) { background: var(--rl-primary-hover); color: var(--rl-surface); }
.wp-block-button.is-style-text-arrow .wp-block-button__link { background: none; color: var(--rl-primary); padding: .35em 0; border-bottom: 1px solid currentColor; border-radius: 0; }
.wp-block-button.is-style-text-arrow .wp-block-button__link::after { content: "→"; display: inline-block; margin-left: .6em; transition: transform .2s ease; }
.wp-block-button.is-style-text-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }
/* Dark sections: the same green CTA, a lighter hover so it still reads */
:is(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color) .wp-block-button:not(.is-style-text-arrow) .wp-block-button__link { background: var(--rl-primary); color: var(--rl-surface); }

/* ---------- Labels ---------- */
.rl-eyebrow, .is-style-eyebrow {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 600 !important;
	letter-spacing: .2em !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: var(--rl-platinum-deep);
	margin-bottom: .75rem;
}
.rl-eyebrow::before, .is-style-eyebrow::before {
	content: ""; display: inline-block; width: 28px; height: 1px; background: var(--rl-platinum); vertical-align: middle; margin: -.2em .8em 0 0;
}
.has-text-align-center.rl-eyebrow::after, .has-text-align-center.is-style-eyebrow::after {
	content: ""; display: inline-block; width: 28px; height: 1px; background: var(--rl-platinum); vertical-align: middle; margin: -.2em 0 0 .8em;
}
:is(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color, .has-primary-background-color, .rl-footer) :is(.rl-eyebrow, .is-style-eyebrow) { color: var(--rl-platinum-light); }
:is(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color, .has-primary-background-color, .rl-footer, .rl-hero) :is(.rl-eyebrow, .is-style-eyebrow, .is-style-rule-above)::before,
:is(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color, .has-primary-background-color, .rl-footer) .has-text-align-center:is(.rl-eyebrow, .is-style-eyebrow)::after { background: var(--rl-platinum-light); }
.is-style-rule-above::before { content: ""; display: block; width: 48px; height: 2px; background: var(--rl-platinum); margin-bottom: .9em; }
.has-text-align-center.is-style-rule-above::before { margin-inline: auto; }
.is-style-caps { text-transform: uppercase; letter-spacing: .12em !important; }

/* Two-tone name (as on the business card): "Rock" strong, "LaManna" platinum */
.rl-name {
	font-family: var(--wp--preset--font-family--heading); font-weight: 600;
	letter-spacing: .02em; line-height: 1.2; color: var(--rl-primary); margin: 0 0 1.25rem;
	font-size: clamp(1rem, 1.6vw, 1.1875rem);
}
/* ® is small and sits on the baseline, like a period */
.rl-name sup, .rl-reg { font-size: .5em; line-height: 1; vertical-align: baseline; margin-left: .08em; top: 0; }
.rl-brand { color: var(--rl-primary); white-space: nowrap; }
:is(.has-heading-background-color, .has-charcoal-dark-background-color, .has-ink-background-color, .has-primary-background-color, .rl-footer, .rl-article-card) .rl-brand { color: inherit; }
/* Forest green does not read on the dark hero: the whole name on a forest-green highlight */
.rl-hero .rl-name { display: block; color: var(--rl-surface); font-size: clamp(2.125rem, 3.7vw, 3.25rem); letter-spacing: .01em; margin-bottom: 1rem !important; }
.rl-name--title { font-size: var(--wp--preset--font-size--huge) !important; letter-spacing: 0; margin-bottom: .5rem; }
.rl-name--footer { font-size: 1.625rem; margin-bottom: .5rem; }
.rl-since {
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; text-transform: uppercase;
	letter-spacing: .16em; font-size: .875rem; color: var(--rl-primary); margin-top: .75rem !important;
}
.rl-tagline { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--rl-heading); margin-top: 0 !important; }
.rl-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.65; }
.rl-measure { max-width: 62ch; }
.rl-measure-center { max-width: 60ch; margin-inline: auto !important; }
.rl-muted { color: var(--rl-platinum-deep); }
.rl-center { text-align: center; }

/* ---------- Sections ---------- */
.rl-section { padding-block: var(--wp--preset--spacing--60); }
.rl-section--top { padding-top: var(--wp--preset--spacing--50); }
.rl-photo img { border-radius: 3px; display: block; }
.rl-photo--framed img { border-radius: 2px; }
/* About / Life photographs: thin platinum frame (the home hero photo has none) */
.rl-life-photo img { border-radius: 2px; }
.wp-block-group.is-style-framed { border: 1px solid rgba(var(--rl-platinum-rgb), .6); padding: clamp(1.75rem, 4vw, 3.25rem) !important; }
.wp-block-group.is-style-card {
	background: var(--rl-surface); border-radius: 4px; border: 1px solid rgba(var(--rl-platinum-rgb), .45); overflow: hidden;
}
.wp-block-group.is-style-card:where(:not([style*="padding"])) { padding: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.rl-header { padding-block: .85rem; border-bottom: 1px solid var(--rl-platinum); transition: box-shadow .25s ease; }
.rl-header.is-scrolled { box-shadow: 0 8px 28px rgba(var(--rl-heading-rgb), .08); }
.rl-header__bar { gap: 1.5rem; }
.rl-header__logo img { width: clamp(150px, 13vw, 176px); height: auto; }
.wp-block-navigation.rl-nav .wp-block-navigation-item__content {
	color: var(--rl-primary); text-decoration: none; padding-block: .45rem; position: relative; display: inline-block; transition: color .2s ease;
}
.rl-nav .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rl-primary);
	transform: scaleX(0); transform-origin: right center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); pointer-events: none;
}
.rl-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after { transform-origin: left center; }
.rl-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
.rl-nav .current-menu-item > .wp-block-navigation-item__content::after,
.rl-nav .wp-block-navigation-item > [aria-current="page"]::after { transform: scaleX(1); }
.wp-block-navigation.rl-nav .wp-block-navigation-item__content:hover { color: var(--rl-primary-hover); }
/* Mobile overlay menu */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--rl-heading) !important; color: var(--rl-surface) !important; padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.75rem; padding-top: 3.5rem; align-items: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.5rem !important; align-items: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--rl-surface) !important; font-size: 1.25rem; letter-spacing: .1em; padding: .2rem 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { background: var(--rl-platinum-light) !important; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: currentColor; }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Home hero ----------
   Desktop: the photograph fills the band (natural color, no tint over Rock);
   the copy sits in the dark space on the right.
   Mobile: photo first, then the copy on the same near-black, so both stay clear. */
.rl-hero { position: relative; display: grid; overflow: hidden; margin-block: 0 !important; }
.rl-hero > * { grid-area: 1 / 1; margin: 0 !important; min-width: 0; }
.rl-hero__media { position: relative; }
.rl-hero__media img { display: block; width: 100%; height: 100%; min-height: min(84vh, 820px); max-height: 960px; object-fit: cover; object-position: 26% 28%; }
.rl-hero::after {
	content: ""; grid-area: 1 / 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(var(--rl-ink-rgb), 0) 45%, rgba(var(--rl-ink-rgb), .45) 72%, rgba(var(--rl-ink-rgb), .6) 100%);
}
.rl-hero__inner {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end;
	width: 100%; max-width: calc(var(--wp--style--global--wide-size) + 2 * var(--wp--style--root--padding-left, 2.5rem));
	margin-inline: auto !important; padding-inline: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 2.5rem));
	box-sizing: border-box;
}
.rl-hero__content { width: min(48%, 600px); padding-block: var(--wp--preset--spacing--50); }
.rl-hero__content > * { margin-block: 0; }
.rl-hero h1 { color: var(--rl-surface); font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.15; margin-top: 0 !important; text-wrap: initial; }
.rl-hero .rl-since { color: var(--rl-surface); margin-top: 1.25rem !important; }
.rl-hero .rl-since::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--rl-platinum-light); vertical-align: middle; margin: -.2em .8em 0 0; }
.rl-hero__lead { color: rgba(255, 255, 255, .95); font-size: 1.125rem; line-height: 1.7; margin-top: 1rem !important; max-width: 48ch; }
.rl-hero__lead + .rl-hero__lead { margin-top: .6rem !important; }
@media (max-width: 1100px) and (min-width: 901px) {
	.rl-hero__content { width: 52%; }
	.rl-hero__media img { object-position: 18% 28%; }
}
@media (max-width: 900px) {
	.rl-hero { display: block; }
	.rl-hero::after { display: none; }
	.rl-hero__media img { min-height: 0; height: auto; aspect-ratio: 4 / 3.3; object-position: 0% 30%; }
	.rl-hero__media::after {
		content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none;
		background: linear-gradient(rgba(var(--rl-ink-rgb), 0), var(--rl-ink));
	}
	.rl-hero__content { width: auto; padding: 1.25rem 0 3rem; }
	.rl-hero h1 { font-size: clamp(1.5rem, 6.9vw, 2.25rem); }
	.rl-hero .wp-block-buttons, .rl-hero .wp-block-button, .rl-hero .wp-block-button__link { width: 100%; }
	.rl-hero .wp-block-button__link { text-align: center; }
}
/* Phones: square crop so Rock sits in the middle of the frame */
@media (max-width: 600px) {
	.rl-hero__media img { aspect-ratio: 1; object-position: 8% 30%; }
}

/* ---------- Two ways in (Explore Free Resources / Contact Rock) ---------- */
.rl-path {
	background: var(--rl-surface); border: 1px solid rgba(var(--rl-platinum-rgb), .55); border-top: 3px solid var(--rl-primary);
	border-radius: 3px; padding: clamp(1.5rem, 3vw, 2.25rem) !important; display: flex; flex-direction: column;
}
.rl-path h2, .rl-path h3 { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 .5rem; }
.rl-path p { margin-top: 0; }
.rl-path .wp-block-buttons { margin-top: auto !important; padding-top: .75rem; }
.rl-paths .rl-path { height: 100%; box-sizing: border-box; }

/* ---------- Expertise / Learn / Life doors ---------- */
.rl-door .wp-block-image { margin: 0 0 1.25rem; overflow: hidden; border-radius: 3px; }
.rl-door .wp-block-image img { display: block; width: 100%; transition: transform .5s ease; }
.rl-door:hover .wp-block-image img { transform: scale(1.03); }
/* Crop helpers for photos shown in a fixed frame */
.wp-block-image.rl-focus-top img { object-position: 50% 8% !important; }
.rl-door__title { font-size: var(--wp--preset--font-size--x-large); margin: 0 0 .4rem; }
.rl-door__title a { color: var(--rl-heading); text-decoration: none; }
.rl-door__title a::after { content: "→"; color: var(--rl-primary); display: inline-block; margin-left: .4em; transition: transform .2s ease; }
.rl-door__title a:hover { color: var(--rl-primary); }
.rl-door__title a:hover::after { transform: translateX(4px); }
.rl-door p { margin-top: 0; }
.wp-block-image.rl-fit-contain { background: none; } /* no white frame: the whole cover sits on the section colour */
.wp-block-image.rl-fit-contain img { object-fit: contain !important; padding: 0; }

/* ---------- Books ---------- */
.rl-book { display: grid !important; grid-template-columns: minmax(120px, 40%) 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.rl-book > * { margin: 0 !important; }
.rl-book__cover img { display: block; width: 100%; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 40px rgba(var(--rl-heading-rgb), .18); }
.rl-book h3 { font-size: var(--wp--preset--font-size--x-large); margin: 0; }
.rl-book__sub { font-family: var(--wp--preset--font-family--heading); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rl-platinum-deep); margin: .35rem 0 0; }
.rl-book__body p { margin-top: .75rem; }
.rl-book__links { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem; letter-spacing: .04em; margin-top: 1rem !important; }
.rl-book__links a { color: var(--rl-primary); text-decoration: none; border-bottom: 1px solid rgba(var(--rl-primary-rgb), .35); }
.rl-book__links a:hover { border-color: var(--rl-primary); }
.rl-book__links [aria-hidden] { color: var(--rl-platinum); margin: 0 .35em; }
.rl-book__links span:not([aria-hidden]) { color: var(--rl-platinum-deep); }
.rl-book__links em { font-family: var(--wp--preset--font-family--body); font-style: normal; font-weight: 400; color: var(--rl-platinum-deep); letter-spacing: 0; }

/* ---------- About ---------- */
.rl-about h1 { margin-top: 0; }
.rl-about__copy > p:not([class]) { max-width: 64ch; }
@media (min-width: 782px) {
	.rl-about__media .wp-block-image { position: sticky; top: 120px; }
}
@media (max-width: 781px) {
	.rl-about__media img { max-height: 72vh; width: 100%; object-fit: cover; object-position: 50% 20%; }
}

/* ---------- Featured quote ---------- */
.wp-block-pullquote.rl-quote { padding: 0; margin: 0; text-align: left; }
.wp-block-pullquote.rl-quote blockquote { margin: 0; }
.wp-block-pullquote.rl-quote blockquote::before {
	content: "“"; display: block; font-family: var(--wp--preset--font-family--heading); font-size: 5rem; line-height: .7; color: var(--rl-platinum); margin-bottom: .1em;
}
.wp-block-pullquote.rl-quote blockquote p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.55; color: var(--rl-heading); font-weight: 600; }
.wp-block-pullquote.rl-quote cite {
	display: block; margin-top: 1.5rem; font-family: var(--wp--preset--font-family--heading); font-size: .875rem; font-style: normal;
	text-transform: uppercase; letter-spacing: .18em; font-weight: 600; color: var(--rl-platinum-deep);
}

/* Reversed band (white on dark charcoal) with a forest-green rule on top */
.rl-band { position: relative; }
:is(.has-charcoal-dark-background-color, .has-heading-background-color, .has-primary-background-color) .wp-block-pullquote.rl-quote blockquote::before { color: var(--rl-platinum-light); }
:is(.has-charcoal-dark-background-color, .has-heading-background-color, .has-primary-background-color) .wp-block-pullquote.rl-quote blockquote p { color: var(--rl-surface); }
:is(.has-charcoal-dark-background-color, .has-heading-background-color, .has-primary-background-color) .wp-block-pullquote.rl-quote cite { color: var(--rl-platinum-light); }
:is(.has-charcoal-dark-background-color, .has-heading-background-color, .has-primary-background-color) :is(h1, h2, h3, h4) { color: var(--rl-surface); }

/* ---------- Understated text links ---------- */
.rl-textlink { margin: 0; }
.rl-textlink a {
	display: block; padding: 1.1rem 2rem 1.1rem 0; border-top: 1px solid rgba(var(--rl-platinum-rgb), .7); position: relative;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--rl-heading); text-decoration: none;
}
.rl-textlink a::after { content: "→"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--rl-primary); transition: transform .2s ease; }
.rl-textlink a:hover { color: var(--rl-primary); }
.rl-textlink a:hover::after { transform: translate(4px, -50%); }
.rl-textlink__kicker { display: block; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rl-platinum-deep); margin-bottom: .2rem; }

/* ---------- Expertise: ownership timeline (one horizontal track, vertical on phones) ---------- */
.rl-timeline { --rl-tl-gap: var(--wp--preset--spacing--50); }
.rl-timeline__stop { position: relative; }
.rl-timeline__stop > * { margin-block: 0; }
.rl-timeline__year {
	position: relative; padding-bottom: 1.25rem; margin-bottom: 1.5rem !important;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; line-height: 1; letter-spacing: -.02em;
	font-size: clamp(2.5rem, 4.4vw, 4rem); color: var(--rl-primary);
}
.rl-timeline__year::after { content: ""; position: absolute; left: 0; right: calc(-1 * var(--rl-tl-gap)); bottom: 0; height: 3px; background: rgba(var(--rl-primary-rgb), .22); }
.rl-timeline__stop:last-child .rl-timeline__year::after { right: 0; }
.rl-timeline__year::before { content: ""; position: absolute; z-index: 1; left: 0; bottom: -6px; width: 15px; height: 15px; border-radius: 50%; background: var(--rl-primary); box-shadow: 0 0 0 5px var(--rl-surface); }
.rl-timeline .rl-timeline__photo { margin: 0; }
.rl-timeline__photo img { display: block; width: 100%; height: auto; }
.rl-timeline__stop--plant .rl-timeline__photo img { object-position: 42% 50%; }
.rl-timeline__stop--ad .rl-timeline__photo img { object-position: 50% 30%; }
.rl-timeline__span { margin-top: 1.25rem !important; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; color: var(--rl-primary); }
.rl-timeline__title { margin-top: .3rem !important; font-size: var(--wp--preset--font-size--large) !important; color: var(--rl-heading); line-height: 1.3; }
/* Desktop: the five rows (year, photo, dates, title, text) line up across the three stops */
@media (min-width: 782px) {
	.wp-block-columns.rl-timeline { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: var(--rl-tl-gap) !important; row-gap: 0 !important; }
	.rl-timeline > .rl-timeline__stop { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
}
.rl-timeline__text { margin-top: .6rem !important; color: var(--rl-body); }
@media (max-width: 781px) {
	.rl-timeline { gap: var(--wp--preset--spacing--50) !important; }
	.rl-timeline__stop { padding-left: 2rem; }
	.rl-timeline__stop::before { content: ""; position: absolute; left: 6px; top: .5rem; bottom: calc(-1 * var(--wp--preset--spacing--50)); width: 3px; background: rgba(var(--rl-primary-rgb), .22); }
	.rl-timeline__stop:last-child::before { bottom: 0; }
	.rl-timeline__year { padding-bottom: 0; margin-bottom: 1rem !important; }
	.rl-timeline__year::after { display: none; }
	.rl-timeline__year::before { left: -2rem; bottom: auto; top: .55em; }
	.rl-timeline__photo img { max-height: 70vh; }
}
.rl-note { font-size: .9375rem; color: var(--rl-platinum-deep); border-left: 2px solid var(--rl-platinum); padding-left: .9rem; margin-top: 1rem !important; }

/* ---------- Contact-Rock band ---------- */
.rl-cta h2 { color: var(--rl-surface); }
.rl-cta .rl-lead { color: var(--rl-platinum-light); }

/* ---------- Learn: categories, guides, articles ---------- */
.rl-topics, .rl-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--wp--preset--spacing--40) !important; }
.rl-topics { justify-content: center; }
.rl-topics a, .rl-filter a {
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
	font-size: .9375rem; padding: .7em 1.35em; border: 1px solid rgba(var(--rl-platinum-rgb), .9); border-radius: 3px;
	color: var(--rl-heading); text-decoration: none; background: var(--rl-surface); transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rl-filter a { font-size: .8125rem; padding: .6em 1.1em; }
.rl-topics a:hover, .rl-filter a:hover { border-color: var(--rl-primary); color: var(--rl-primary); }
.rl-filter a[aria-current="true"], .rl-topics a[aria-current="true"] { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-surface); }
.rl-jump { font-size: .9375rem; margin-top: 1.25rem !important; color: var(--rl-platinum-deep); }
.rl-jump a { color: var(--rl-primary); }

.rl-guides { display: grid !important; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--wp--preset--spacing--40) !important; }
.rl-guides > * { margin: 0 !important; }
.rl-guide {
	display: flex; flex-direction: column; background: var(--rl-surface); border: 1px solid rgba(var(--rl-platinum-rgb), .45);
	border-radius: 4px; padding: 1.25rem 1.25rem 1.4rem; transition: transform .25s ease, box-shadow .25s ease;
}
.rl-guide:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(var(--rl-heading-rgb), .1); }
.rl-guide > * { margin: 0; }
.rl-guide__cover { margin: 0 0 1rem !important; background: rgba(var(--rl-primary-rgb), .07); border-radius: 3px; padding: 1rem; }
.rl-guide__cover img { display: block; width: 100%; max-height: 340px; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(var(--rl-heading-rgb), .18)); }
.rl-guide__topic { font-family: var(--wp--preset--font-family--heading); font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--rl-primary); }
.rl-guide__title { font-size: 1.0625rem !important; line-height: 1.35; margin: .35rem 0 .5rem !important; }
.rl-guide__text { font-size: .9375rem; line-height: 1.6; color: var(--rl-body); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.rl-guide__link { margin-top: auto !important; padding-top: .9rem; }
.rl-guide__link a { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem; color: var(--rl-primary); text-decoration: none; }
.rl-guide__link a::after { content: " →"; }
.rl-guide__link a:hover { text-decoration: underline; }
@media (max-width: 781px) { .rl-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
	.rl-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.rl-guide { padding: .8rem; }
	.rl-guide__cover { padding: .5rem; }
	.rl-guide__text { display: none; }
	.rl-guide__title { font-size: .9375rem !important; }
}

.rl-articles { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.rl-articles li { border-bottom: 1px solid rgba(255, 255, 255, .18); margin: 0; }
.rl-articles a {
	display: block; position: relative; padding: 1.2rem 2.5rem 1.2rem 0; color: var(--rl-surface) !important; text-decoration: none;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--large); line-height: 1.35;
}
.rl-articles a::after { content: "↗"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--rl-platinum-light); }
.rl-articles a:hover { color: var(--rl-platinum-light) !important; }
.rl-articles__source { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rl-platinum-light); margin-bottom: .3rem; }

/* ---------- Life ---------- */
.rl-life-photo { margin-block: var(--wp--preset--spacing--50) !important; }
.rl-life-photo img { width: 100%; }
.rl-life-photo figcaption { font-size: .9375rem; color: var(--rl-platinum-deep); text-align: center; margin-top: .9rem; }
.rl-signoff { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--rl-primary); }
.rl-lessons { display: grid !important; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--wp--preset--spacing--40) !important; }
.rl-lessons > * { margin: 0 !important; }
.rl-lesson { background: var(--rl-surface); border-left: 3px solid var(--rl-primary); padding: 1.25rem 1.5rem; border-radius: 0 3px 3px 0; }
.rl-lesson > * { margin: 0; }
.rl-lesson__title { font-size: var(--wp--preset--font-size--large) !important; margin-bottom: .35rem !important; }
.rl-lesson__title a { color: var(--rl-heading); text-decoration: none; }
.rl-lesson__title a::after { content: " →"; color: var(--rl-primary); }
.rl-lesson__title a:hover { color: var(--rl-primary); }
.rl-lesson p { font-size: .9375rem; }
.rl-foundation { margin-top: var(--wp--preset--spacing--40) !important; }
@media (max-width: 600px) { .rl-lessons { grid-template-columns: 1fr; } }

/* ---------- Contact details ---------- */
.rl-contact { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.rl-contact__item { display: flex; align-items: flex-start; gap: .9rem; }
.rl-contact__label, .rl-contact__value { display: block; margin: 0; }
.rl-contact__label { font-family: var(--wp--preset--font-family--heading); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rl-platinum-deep); }
.rl-contact__value { font-size: var(--wp--preset--font-size--medium); overflow-wrap: anywhere; }
.rl-contact__value a { color: var(--rl-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--rl-primary-rgb), .35); }
.rl-contact__value a:hover { text-decoration-color: currentColor; }
.rl-contact--list .rl-icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(var(--rl-primary-rgb), .09); color: var(--rl-primary); box-sizing: border-box; }
.rl-contact--footer { gap: .95rem; }
.rl-contact--footer .rl-icon { width: 20px; height: 20px; color: var(--rl-platinum-light); margin-top: .2rem; }
.rl-contact--footer .rl-contact__label { color: var(--rl-platinum-light); }
.rl-contact--footer .rl-contact__value { font-size: 1rem; }
.rl-contact--footer .rl-contact__value a { color: var(--rl-surface); text-decoration-color: rgba(255, 255, 255, .4); }

/* ---------- Social profiles (YouTube + LinkedIn first and larger) ---------- */
.rl-social .wp-block-social-links { gap: .9rem !important; align-items: center; margin: 0; padding: 0; }
.rl-social .wp-block-social-links .wp-social-link { margin: 0; }
.rl-social--icons .wp-social-link a { padding: .3em; color: var(--rl-primary); }
.rl-social--icons .wp-social-link svg { width: 26px; height: 26px; }
.rl-social--icons .wp-social-link a:hover { color: var(--rl-primary-hover); transform: none; }
.rl-social--on-dark .wp-social-link a { color: var(--rl-surface) !important; }
.rl-social--on-dark .wp-social-link a:hover { color: var(--rl-platinum-light) !important; }
.rl-social--buttons .wp-block-social-links { gap: .6rem !important; font-size: .9375rem !important; }
.rl-social--buttons .wp-block-social-link-label { font-size: inherit !important; }
.rl-social--buttons .wp-social-link a {
	display: inline-flex; align-items: center; gap: .55rem; padding: .7em 1.15em !important; border-radius: 3px;
	border: 1.5px solid rgba(var(--rl-platinum-rgb), .9); color: var(--rl-heading) !important; background: var(--rl-surface);
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem;
}
.rl-social--buttons .wp-social-link svg { width: 20px; height: 20px; }
.rl-social--buttons .wp-block-social-link-label { padding: 0 !important; }
.rl-social--buttons :is(.wp-social-link-youtube, .wp-social-link-linkedin) a { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-surface) !important; }
/* Hover changes colors only. Core scales the item and drops the bottom border on hover,
   which made the buttons jump into each other: keep size, border and position fixed. */
.rl-social--buttons .wp-block-social-links .wp-social-link,
.rl-social--buttons .wp-block-social-links .wp-social-link:hover { transform: none; }
.rl-social--buttons .wp-block-social-links .wp-social-link a,
.rl-social--buttons .wp-block-social-links .wp-social-link a:hover { border-width: 1.5px; border-style: solid; box-shadow: none; transform: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.rl-social--buttons .wp-block-social-links .wp-social-link a:is(:hover, :focus-visible) { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-surface) !important; }
.rl-social--buttons .wp-block-social-links :is(.wp-social-link-youtube, .wp-social-link-linkedin) a:is(:hover, :focus-visible) { background: var(--rl-heading); border-color: var(--rl-heading); }

/* ---------- Footer (15px minimum) ---------- */
.rl-footer { font-size: .9375rem; }
.rl-footer a { text-decoration: none; }
.rl-footer a:hover { color: var(--rl-platinum-light) !important; text-decoration: underline; }
.rl-footer .rl-name { color: var(--rl-surface); }
.rl-footer__tagline { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; margin: 0 !important; }
.rl-footer__intro { color: var(--rl-platinum-light); max-width: 42ch; margin-top: .75rem !important; }
.rl-footer__title { color: var(--rl-platinum-light) !important; margin-bottom: 1.1rem !important; }
.rl-footer__title::before { display: none !important; }
.rl-footer__nav .wp-block-navigation-item__content { text-transform: none; letter-spacing: .02em; font-weight: 600; font-size: 1rem; }
.rl-footer__bottom { margin-top: var(--wp--preset--spacing--50) !important; padding-top: 1.5rem; border-top: 1px solid rgba(var(--rl-platinum-rgb), .3); color: var(--rl-platinum-light); font-size: .9375rem; }
.rl-footer__bottom p { margin: 0; }

/* Generic page title (legal pages) */
.rl-page-title { margin-bottom: var(--wp--preset--spacing--40); }

.rl-account .rl-icon { width: 22px; height: 22px; }
@media (max-width: 1100px) { .rl-account__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); } }

/* ---------- YouTube feed ---------- */
.rl-yt {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; margin: 0;
	background: #000; overflow: hidden; cursor: pointer; border-radius: 4px;
}
.rl-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.rl-yt:hover img { transform: scale(1.04); opacity: .9; }
.rl-yt__play {
	position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
	display: grid; place-items: center; background: var(--rl-surface); color: var(--rl-primary);
	box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s ease, background-color .2s;
}
.rl-yt__play .rl-icon { width: 26px; height: 26px; margin-left: 4px; }
.rl-yt:hover .rl-yt__play, .rl-yt:focus-visible .rl-yt__play { transform: scale(1.08); background: var(--rl-primary); color: var(--rl-surface); }
iframe.rl-yt--playing { height: auto; cursor: auto; }
.wp-block-embed.rl-embed .wp-block-embed__wrapper::before { display: none !important; }

.rl-videos { --rl-gap: clamp(1.25rem, 3vw, 2.25rem); }
.rl-videos__label {
	text-align: center; font-family: var(--wp--preset--font-family--heading); text-transform: uppercase; font-weight: 600;
	letter-spacing: -.01em; font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0 0 1.75rem;
}
.rl-videos__featured { max-width: 980px; margin: 0 auto clamp(3rem, 7vw, 5.5rem); text-align: center; }
.rl-videos__player .rl-yt { border-radius: 6px; box-shadow: 0 30px 70px rgba(var(--rl-heading-rgb), .22); }
.rl-videos__player .rl-yt__play { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.rl-videos__player .rl-yt__play .rl-icon { width: 34px; height: 34px; }
.rl-videos__featured-title { font-family: var(--wp--preset--font-family--body); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; font-size: var(--wp--preset--font-size--large); margin: 1.5rem 0 .25rem; }
.rl-videos__grid { display: grid; gap: var(--rl-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .rl-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rl-videos__grid { grid-template-columns: 1fr; } }
.rl-video-card { display: flex; flex-direction: column; animation: rl-fade .5s ease both; }
.rl-video-card__body { padding-top: .9rem; }
.rl-video-card__title { font-family: var(--wp--preset--font-family--body); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin: .3rem 0 0; }
.rl-video-card__title a { color: var(--rl-heading); text-decoration: none; }
.rl-video-card__title a:hover { color: var(--rl-primary); text-decoration: underline; }
.rl-video-card__date { font-size: var(--wp--preset--font-size--x-small); color: rgba(var(--rl-body-rgb), .75); text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.rl-videos__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; align-items: center; margin-top: clamp(2rem, 5vw, 3.5rem); }
.rl-videos__more[disabled] { opacity: .7; cursor: progress; }
.rl-videos__subscribe { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rl-heading); text-decoration: none; }
.rl-videos__subscribe .rl-icon { color: var(--rl-primary); width: 26px; height: 26px; }
.rl-videos__subscribe:hover { color: var(--rl-primary); }
.rl-videos--compact .rl-videos__actions { justify-content: flex-start; }
@keyframes rl-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Press grid */
.rl-press .wp-block-image img { box-shadow: 0 16px 40px rgba(var(--rl-heading-rgb), .16); transition: transform .3s ease; }
.rl-press .wp-block-image a:hover img { transform: translateY(-4px); }

/* ---------- Calendly ---------- */
.rl-calendly { position: relative; width: 100%; background: var(--rl-surface); border-radius: 8px; box-shadow: 0 1px 2px rgba(var(--rl-heading-rgb), .06), 0 16px 40px rgba(var(--rl-heading-rgb), .08); overflow: hidden; }
.rl-calendly .calendly-inline-widget, .rl-calendly iframe { width: 100%; height: 100% !important; min-height: 100%; }
.rl-calendly__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; color: var(--rl-body); }
.rl-calendly__placeholder .rl-icon { width: 40px; height: 40px; color: var(--rl-primary); animation: rl-pulse 1.6s ease-in-out infinite; }
.rl-calendly__placeholder p { margin: 0; }
.rl-calendly__placeholder a { font-size: var(--wp--preset--font-size--small); }
@keyframes rl-pulse { 50% { opacity: .35; } }

/* ---------- Video feed: tabs, badges, shorts, pop-up player ---------- */
.rl-videos__tabs { display: flex; justify-content: center; gap: .5rem; margin: 0 0 2rem; }
.rl-videos__tabs [role="tab"] {
	font: inherit; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	padding: .8em 1.6em; border-radius: 999px; border: 1px solid rgba(var(--rl-heading-rgb), .18); background: var(--rl-surface); color: var(--rl-heading); cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rl-videos__tabs [role="tab"]:hover { border-color: var(--rl-primary); color: var(--rl-primary); }
.rl-videos__tabs [role="tab"][aria-selected="true"] { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-surface); }
.rl-videos__panel[hidden] { display: none; }
.rl-videos__subscribe-wrap { text-align: center; margin-top: 2rem; }
.rl-yt__badge {
	position: absolute; right: .5rem; bottom: .5rem; padding: .15em .5em; border-radius: 3px;
	background: rgba(var(--rl-heading-rgb), .85); color: var(--rl-surface); font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.rl-yt--short { aspect-ratio: 9 / 16; }
/* Shorts load 12 at a time: 6 / 4 / 3 / 2 per row keeps every row full */
.rl-videos__grid.rl-videos__grid--shorts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
@media (max-width: 1100px) { .rl-videos__grid.rl-videos__grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rl-videos__grid.rl-videos__grid--shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rl-videos__grid.rl-videos__grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Fixed set of 6 Shorts (no "Load more"): 3 per row = two rows, kept narrow so the tall cards stay a sensible size */
.rl-videos__grid.rl-videos__grid--shorts.rl-videos__grid--fixed { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.rl-video-card--short .rl-yt__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.rl-video-card--short .rl-video-card__title { font-size: .95rem; }

html.rl-modal-open { overflow: hidden; }
.rl-modal {
	width: min(1100px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; color: var(--rl-surface);
}
.rl-modal--short { width: min(420px, 92vw); }
.rl-modal::backdrop { background: rgba(var(--rl-heading-rgb), .9); backdrop-filter: blur(4px); }
.rl-modal[open] { animation: rl-modal-in .25s ease both; }
@keyframes rl-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.rl-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.rl-modal--short .rl-modal__frame { aspect-ratio: 9 / 16; max-height: 80vh; margin-inline: auto; }
.rl-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rl-modal__close {
	position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
	background: transparent; color: var(--rl-surface); font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s;
}
.rl-modal__close:hover, .rl-modal__close:focus-visible { background: var(--rl-surface); color: var(--rl-heading); }
.rl-modal__inner { position: relative; }
.rl-modal__bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1rem; }
.rl-modal__title { margin: 0; font-weight: 600; font-size: var(--wp--preset--font-size--medium); }
.rl-modal__yt { color: var(--rl-platinum); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
.rl-modal__yt:hover { color: var(--rl-surface); text-decoration: underline; }

/* ---------- Icon set (CSS masks – color follows the palette) ---------- */
[class*="rl-i-"] { position: relative; }
.rl-icon-box { --rl-ico-size: 56px; }
[class*="rl-i-"]::before { content: ""; display: block; width: var(--rl-ico-size, 56px); height: var(--rl-ico-size, 56px); border-radius: 14px; background: rgba(var(--rl-primary-rgb), .1); margin-bottom: 1.25rem; }
[class*="rl-i-"]::after { content: ""; position: absolute; top: calc(var(--rl-pad-top, 0px) + var(--rl-ico-size, 56px) * .22); left: calc(var(--rl-pad-left, 0px) + var(--rl-ico-size, 56px) * .22); width: calc(var(--rl-ico-size, 56px) * .56); height: calc(var(--rl-ico-size, 56px) * .56); background: var(--rl-primary); -webkit-mask: var(--rl-ico) center / contain no-repeat; mask: var(--rl-ico) center / contain no-repeat; }
.rl-i-merge { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3v5a6 6 0 0 0 6 6 6 6 0 0 1 6 6v1%22/%3E%3Cpath d=%22M18 3v5a6 6 0 0 1-3 5.2%22/%3E%3Cpath d=%22m3 6 3-3 3 3M15 6l3-3 3 3%22/%3E%3C/svg%3E"); }
.rl-i-target { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%225%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221.2%22 fill=%22black%22/%3E%3Cpath d=%22m16 8 4-4M17 4h3v3%22/%3E%3C/svg%3E"); }
.rl-i-succession { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%227%22 r=%223%22/%3E%3Cpath d=%22M2.5 20a5.5 5.5 0 0 1 11 0%22/%3E%3Ccircle cx=%2217%22 cy=%229%22 r=%222.4%22/%3E%3Cpath d=%22M14.5 20a4.5 4.5 0 0 1 7-3.7%22/%3E%3Cpath d=%22M13 4h5l-1.5-1.5M18 4l-1.5 1.5%22/%3E%3C/svg%3E"); }
.rl-i-talent { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2210%22 cy=%228%22 r=%223.5%22/%3E%3Cpath d=%22M3 20a7 7 0 0 1 14 0%22/%3E%3Cpath d=%22M19 7v6M16 10h6%22/%3E%3C/svg%3E"); }
.rl-i-building { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%223%22 width=%2211%22 height=%2218%22 rx=%221%22/%3E%3Cpath d=%22M15 9h4a1 1 0 0 1 1 1v11%22/%3E%3Cpath d=%22M8 7h1M11 7h1M8 11h1M11 11h1M8 15h1M11 15h1M2 21h20%22/%3E%3C/svg%3E"); }
.rl-i-leaf { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20c0-9 6-15 15-15 0 9-6 15-15 15Z%22/%3E%3Cpath d=%22M5 20 13 12%22/%3E%3C/svg%3E"); }
.rl-i-exit { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 4H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h8%22/%3E%3Cpath d=%22M10 12h11M18 9l3 3-3 3%22/%3E%3C/svg%3E"); }
.rl-i-compass { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22m15.5 8.5-2.1 4.9-4.9 2.1 2.1-4.9Z%22/%3E%3C/svg%3E"); }
.rl-i-briefcase { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%227%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M8.5 7V5.5A1.5 1.5 0 0 1 10 4h4a1.5 1.5 0 0 1 1.5 1.5V7M3 13h18M11 13v2h2v-2%22/%3E%3C/svg%3E"); }
.rl-i-chart { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20V11M10 20V6M16 20v-6M22 20H2%22/%3E%3Cpath d=%22m4 8 6-4 6 5 5-4%22/%3E%3C/svg%3E"); }
.rl-i-users { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.2%22/%3E%3Cpath d=%22M3 20a6 6 0 0 1 12 0%22/%3E%3Cpath d=%22M16 4.5a3 3 0 0 1 0 6M18 14.5a5.5 5.5 0 0 1 3.5 5.5%22/%3E%3C/svg%3E"); }
.rl-i-gear { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223.2%22/%3E%3Cpath d=%22M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1%22/%3E%3C/svg%3E"); }
.rl-i-clipboard { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%224%22 width=%2214%22 height=%2217%22 rx=%222%22/%3E%3Cpath d=%22M9 4V3h6v1%22/%3E%3Cpath d=%22m9 13 2 2 4-4%22/%3E%3C/svg%3E"); }
.rl-i-book { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4.5A1.5 1.5 0 0 1 6.5 3H19v15H6.5A1.5 1.5 0 0 0 5 19.5Z%22/%3E%3Cpath d=%22M5 19.5A1.5 1.5 0 0 0 6.5 21H19v-3%22/%3E%3Cpath d=%22M9 8h6M9 11h4%22/%3E%3C/svg%3E"); }
.rl-i-tie { --rl-ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%226%22 r=%223%22/%3E%3Cpath d=%22m10.5 11-1 1.5 2.5 8 2.5-8-1-1.5Z%22/%3E%3Cpath d=%22M5 21a7 7 0 0 1 4-6.3M19 21a7 7 0 0 0-4-6.3%22/%3E%3C/svg%3E"); }

.rl-buy-links { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(var(--rl-heading-rgb), .12); }
.rl-buy-links__label { font-size: var(--wp--preset--font-size--x-small); text-transform: uppercase; letter-spacing: .18em; font-weight: 600; margin: 0 0 .6rem; }
.rl-buy-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.rl-buy-links a { display: inline-block; padding: .55em 1.1em; border: 1px solid rgba(var(--rl-heading-rgb), .25); border-radius: 2px; font-size: var(--wp--preset--font-size--small); color: var(--rl-heading); text-decoration: none; }
.rl-buy-links a:hover { border-color: var(--rl-primary); color: var(--rl-primary); }

.rl-modal { margin: auto; }
.rl-modal--short .rl-modal__frame { max-height: min(72vh, 760px); width: auto; }
.rl-modal--short .rl-modal__inner { padding-top: 56px; }
.rl-modal--short .rl-modal__close { top: 0; }
@media (max-width: 600px) {
	.rl-modal__inner { padding-top: 56px; }
	.rl-modal__close { top: 0; }
}
@media (max-width: 480px) {
	.rl-book { grid-template-columns: minmax(96px, 34%) 1fr; gap: 1rem; }
	.rl-book h3 { font-size: var(--wp--preset--font-size--large); }
}
.rl-nav .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item) { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; }
/* Tablet: the three doors stack – keep their photos short */
@media (min-width: 481px) and (max-width: 781px) {
	.rl-door .wp-block-image img { aspect-ratio: 16 / 9 !important; }
}
/* Featured books block: three per row (two on tablets) – cover on top, same-height cards,
   blurb kept to three lines so a long description never stretches the row. */
div.rl-books:not(.wp-block-columns) {
	--rl-books-gap: clamp(1.25rem, 3vw, 2.5rem);
	display: flex; flex-wrap: wrap; justify-content: center; gap: var(--wp--preset--spacing--50) var(--rl-books-gap); margin-top: var(--wp--preset--spacing--40);
}
div.rl-books:not(.wp-block-columns) > .rl-book { flex: 0 1 calc((100% - 2 * var(--rl-books-gap)) / 3); min-width: 0; }
div.rl-books:not(.wp-block-columns) .rl-book { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1.25rem; }
.rl-books .rl-book__cover { margin: 0; }
.rl-books .rl-book__cover img { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: contain; }
.rl-books .rl-book__body { display: flex; flex-direction: column; height: 100%; }
.rl-books .rl-book__body > * { margin-block: 0; }
.rl-books .rl-book__body > p:not([class]) {
	margin-top: .75rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.rl-books .rl-book__links { margin-top: auto !important; padding-top: 1rem; }
/* Cover and title open the product page */
.rl-book__cover a { display: block; transition: transform .25s ease; }
.rl-book__cover a:hover { transform: translateY(-3px); }
.rl-book h3 a { color: inherit; text-decoration: none; }
.rl-book h3 a:hover { color: var(--rl-primary); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1100px) { div.rl-books:not(.wp-block-columns) > .rl-book { flex-basis: calc((100% - var(--rl-books-gap)) / 2); } }
@media (max-width: 600px) {
	div.rl-books:not(.wp-block-columns) { gap: 2rem; }
	div.rl-books:not(.wp-block-columns) > .rl-book { flex-basis: 100%; }
	div.rl-books:not(.wp-block-columns) .rl-book { grid-template-columns: minmax(96px, 34%) 1fr; grid-template-rows: auto; gap: 1rem; }
	.rl-books .rl-book__body > p:not([class]) { -webkit-line-clamp: 4; line-clamp: 4; }
}

/* Life – Giving Back */
.rl-giving h2 { margin-bottom: .75rem; }
.rl-foundation-links { gap: 1rem 1.75rem; align-items: center; }
/* Narrow phones: centered labels lose their side rules so they never break around them */
@media (max-width: 480px) {
	.has-text-align-center.rl-eyebrow::before, .has-text-align-center.rl-eyebrow::after,
	.has-text-align-center.is-style-eyebrow::before, .has-text-align-center.is-style-eyebrow::after { display: none; }
}
.rl-login-note { font-size: .9375rem; color: var(--rl-body); background: rgba(var(--rl-primary-rgb), .07); border-left: 3px solid var(--rl-primary); padding: .85rem 1rem; margin: 0 0 1.25rem; }
/* Learn library block */
.rl-guides-library .rl-filter { margin-top: 0 !important; }
.rl-guides-library .rl-guide__cover a { display: block; }
.rl-guides-library { margin-top: var(--wp--preset--spacing--40) !important; }

/* The name is never set in capitals: Rock LaManna® */
.rl-eyebrow.rl-keep-case { text-transform: none; letter-spacing: .06em !important; font-size: .9375rem !important; }
.wp-block-pullquote.rl-quote cite { text-transform: none; letter-spacing: .04em; font-size: 1rem; }
/* Learn – latest articles (shown once the site has posts) */
.rl-wide { max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-inline: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 2.5rem)); box-sizing: border-box; }
.rl-cat-links a span { opacity: .7; font-weight: 400; }
.rl-cat-links a[aria-current] span { opacity: .9; }
.rl-post-cards { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: var(--wp--preset--spacing--40); }
.rl-post-card { background: var(--rl-surface); border: 1px solid rgba(var(--rl-platinum-rgb), .45); border-top: 3px solid var(--rl-primary); border-radius: 3px; padding: 1.25rem 1.4rem; display: flex; flex-direction: column; }
.rl-post-card > * { margin: 0; }
.rl-post-card__title { font-size: var(--wp--preset--font-size--large); line-height: 1.35; margin: .4rem 0 .3rem; }
.rl-post-card__title a { color: var(--rl-heading); text-decoration: none; }
.rl-post-card__title a:hover { color: var(--rl-primary); text-decoration: underline; }
.rl-post-card__date { font-size: .875rem; color: var(--rl-platinum-deep); }
.rl-post-card__text { margin-top: .6rem; font-size: .9375rem; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.rl-post-cards__all { margin-top: var(--wp--preset--spacing--40); }
.rl-textlink-inline { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--rl-primary); }
.rl-post-more { margin-top: var(--wp--preset--spacing--40) !important; padding-top: 1.25rem; border-top: 1px solid rgba(var(--rl-platinum-rgb), .6); font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.rl-post-more a { color: var(--rl-primary); text-decoration: none; }

/* ---------- Article archives (blog page, categories): header band, card grid, pagination ---------- */
.rl-archive__head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem) !important; }
.rl-archive__head h1 { margin: 0; font-size: var(--wp--preset--font-size--huge); }
.rl-archive__head .rl-eyebrow a { color: inherit; text-decoration: none; }
.rl-archive__head .rl-eyebrow a:hover { color: var(--rl-primary); text-decoration: underline; }
.rl-archive__head .wp-block-term-description, .rl-archive__head .rl-lead { margin-top: 1rem; max-width: 62ch; }
.rl-archive__head .rl-filter { justify-content: flex-start; margin-top: var(--wp--preset--spacing--40) !important; }
.rl-archive .rl-filter a:not([aria-current]) { background: var(--rl-surface); }
.rl-archive__head + .rl-section { padding-top: clamp(2rem, 4vw, 3rem) !important; }
.wp-block-post-template.rl-post-grid { gap: clamp(1rem, 2.5vw, 1.75rem); margin: 0; padding: 0; }
.rl-post-grid > li { display: flex; margin: 0; }
.rl-post-grid .rl-post-card { width: 100%; padding: 1.4rem 1.5rem 1.5rem; transition: box-shadow .25s ease, transform .25s ease; }
.rl-post-grid .rl-post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(var(--rl-heading-rgb), .1); }
.rl-post-card__topic { font-family: var(--wp--preset--font-family--heading); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.rl-post-card__topic a { color: var(--rl-primary); text-decoration: none; }
.rl-post-card__topic a:hover { text-decoration: underline; }
.rl-post-card__topic .wp-block-post-terms__separator { color: var(--rl-platinum); }
.rl-post-grid .rl-post-card__title { font-size: 1.1875rem !important; margin: .5rem 0 .35rem !important; }
.rl-post-grid .rl-post-card__text { display: flex; flex-direction: column; flex: 1; margin-top: .75rem; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.rl-post-grid .wp-block-post-excerpt__excerpt { margin: 0; color: var(--rl-body); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.rl-post-grid .wp-block-post-excerpt__more-text { margin: auto 0 0 !important; padding-top: 1rem; }
.rl-post-grid .wp-block-post-excerpt__more-link { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem; color: var(--rl-primary); text-decoration: none; }
.rl-post-grid .wp-block-post-excerpt__more-link::after { content: " →"; }
.rl-post-grid .wp-block-post-excerpt__more-link:hover { text-decoration: underline; }
.rl-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: .4rem !important; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem; }
.rl-pagination a, .rl-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .9rem; box-sizing: border-box; border: 1px solid rgba(var(--rl-platinum-rgb), .6); border-radius: 3px; color: var(--rl-heading); text-decoration: none; }
.rl-pagination .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: .4rem; }
.rl-pagination a:hover { border-color: var(--rl-primary); color: var(--rl-primary); }
.rl-pagination .page-numbers.current { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-surface); }
.rl-pagination .page-numbers.dots { border: 0; min-width: 0; padding: 0 .25rem; }
@media (max-width: 900px) { .wp-block-post-template.rl-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .wp-block-post-template.rl-post-grid { grid-template-columns: 1fr !important; } }

/* ---------- Learn banner: green band, white text, photo strip across the edge ----------
   The photos are a normal Gallery block (add / remove / replace them in the editor).
   Every photo is shown whole: same height, width from its own proportions (--ar is
   set from the image size in inc/performance.php). Click a photo to enlarge it. */
.rl-learn-hero {
	--rl-strip-h: clamp(200px, 19vw, 260px);
	padding-top: clamp(3.5rem, 7vw, 5.5rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
	--rl-split: calc(100% - var(--rl-strip-h) * .5 - 3rem);
	background: linear-gradient(180deg, var(--rl-heading) 0, var(--rl-primary) var(--rl-split), var(--rl-surface) var(--rl-split)) !important;
}
.rl-learn-hero h1 { color: var(--rl-surface); }
.rl-learn-hero .rl-lead { color: rgba(255, 255, 255, .94); }
.rl-learn-hero .rl-topics a { background: transparent; border-color: rgba(255, 255, 255, .65); color: var(--rl-surface); }
.rl-learn-hero .rl-topics a:hover, .rl-learn-hero .rl-topics a:focus-visible { background: var(--rl-surface); border-color: var(--rl-surface); color: var(--rl-heading); }
.rl-learn-hero .rl-topics a[aria-current="true"] { background: var(--rl-surface); border-color: var(--rl-surface); color: var(--rl-heading); }
.rl-learn-hero .rl-jump { color: var(--rl-platinum-light); }
.rl-learn-hero .rl-jump a { color: var(--rl-surface); text-underline-offset: .2em; }
.rl-learn-hero .rl-jump a:hover { color: var(--rl-platinum-light); }
/* One row, each photo at the strip height and its own width. When the photos are wider
   than the row it becomes a slider (site.js): auto-advances every 4 s, drag with the
   mouse on desktop, swipe on touch screens; otherwise the row is centred. */
.wp-block-gallery.rl-photo-strip {
	display: flex; flex-wrap: nowrap !important; gap: clamp(.5rem, 1.2vw, 1rem) !important;
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem) !important; margin-bottom: 0 !important; padding: .25rem 0 1.25rem !important;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.wp-block-gallery.rl-photo-strip::-webkit-scrollbar { display: none; }
.wp-block-gallery.rl-photo-strip.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex: 0 0 auto; height: var(--rl-strip-h); width: calc(var(--rl-strip-h) * var(--ar, 1.5)); max-width: none; aspect-ratio: auto; margin: 0;
	background: none; padding: 0; border-radius: 3px; box-sizing: border-box; scroll-snap-align: start; overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.wp-block-gallery.rl-photo-strip > figure:first-child { margin-inline-start: auto !important; }
.wp-block-gallery.rl-photo-strip > figure:last-child { margin-inline-end: auto !important; }
.wp-block-gallery.rl-photo-strip.has-nested-images figure.wp-block-image:not(#individual-image) img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.wp-block-gallery.rl-photo-strip figcaption { display: none; }
/* Desktop: drag the strip with the mouse (site.js); snapping is paused while dragging */
.wp-block-gallery.rl-photo-strip.is-draggable { cursor: grab; }
.wp-block-gallery.rl-photo-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.wp-block-gallery.rl-photo-strip.is-dragging img { pointer-events: none; }
@media (max-width: 781px) {
	.wp-block-gallery.rl-photo-strip { scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--wp--style--root--padding-left, 1.25rem)) !important; padding-inline: var(--wp--style--root--padding-left, 1.25rem) !important; scroll-padding-inline: var(--wp--style--root--padding-left, 1.25rem); }
	.wp-block-gallery.rl-photo-strip.has-nested-images figure.wp-block-image:not(#individual-image) { scroll-snap-align: center; }
	.rl-learn-hero { --rl-strip-h: 240px; }
}
/* Editor: plain wrapping row */
.editor-styles-wrapper .wp-block-gallery.rl-photo-strip { flex-wrap: wrap; }

/* ---------- Jetpack share buttons on blog posts (always on at WordPress.com): theme style ---------- */
.sharedaddy.sd-sharing-enabled { margin-top: var(--wp--preset--spacing--40); padding-top: 1.25rem; border-top: 1px solid rgba(var(--rl-platinum-rgb), .45); }
.sharedaddy .sd-title, div.sharedaddy h3.sd-title {
	font-family: var(--wp--preset--font-family--heading) !important; font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600 !important;
	letter-spacing: .2em !important; text-transform: uppercase; color: var(--rl-platinum-deep) !important; margin: 0 0 .9rem !important;
}
div.sharedaddy h3.sd-title::before { display: none !important; }
.sd-social-icon-text .sd-content ul li a.sd-button, .sd-social .sd-content ul li a.sd-button, .sd-content ul li a.sd-button {
	font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; font-size: .875rem !important;
	color: var(--rl-primary) !important; background: var(--rl-surface) !important; border: 1.5px solid var(--rl-primary) !important;
	border-radius: 3px !important; box-shadow: none !important; padding: .55em 1em !important; text-shadow: none !important;
	transition: background-color .2s ease, color .2s ease;
}
.sd-content ul li a.sd-button:hover, .sd-content ul li a.sd-button:focus-visible { background: var(--rl-primary) !important; color: var(--rl-surface) !important; }
.sd-content ul li a.sd-button::before { color: inherit !important; }
.sd-content ul li a.sd-button svg { fill: currentColor; }
.sd-content ul li a.sd-button span, .sd-content ul li a.sd-button > span { color: inherit !important; }

/* ---------- Expertise: six areas ---------- */
.rl-areas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-block: 1px solid rgba(var(--rl-platinum-rgb), .5); }
.rl-areas > .rl-area { margin: 0 !important; padding: 1.5rem 1.1rem; border-left: 1px solid rgba(var(--rl-platinum-rgb), .5); }
.rl-areas > .rl-area:first-child { border-left: 0; }
.rl-area h2 { font-size: .9375rem !important; letter-spacing: .08em; color: var(--rl-primary); margin: 0 0 .4rem; }
.rl-area p { font-size: .9375rem; line-height: 1.45; color: var(--rl-platinum-deep); margin: 0; }
.rl-expertise-close .rl-tagline { margin-bottom: 0; }
@media (max-width: 1100px) {
	.rl-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rl-areas > .rl-area:nth-child(3n + 1) { border-left: 0; }
	.rl-areas > .rl-area:nth-child(n + 4) { border-top: 1px solid rgba(var(--rl-platinum-rgb), .5); }
}
@media (max-width: 600px) {
	.rl-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rl-areas > .rl-area { padding: 1.1rem .8rem; }
	.rl-areas > .rl-area:nth-child(n) { border-left: 1px solid rgba(var(--rl-platinum-rgb), .5); }
	.rl-areas > .rl-area:nth-child(2n + 1) { border-left: 0; }
	.rl-areas > .rl-area:nth-child(n + 3) { border-top: 1px solid rgba(var(--rl-platinum-rgb), .5); }
}

/* ---------- Contact ---------- */
.rl-contact-photo img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: top; display: block; }

/* ---------- Learn: five category cards + filter ---------- */
.rl-learn-hero .rl-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; max-width: var(--wp--style--global--wide-size); margin-inline: auto !important; text-align: left; }
.rl-learn-hero .rl-topics a { display: flex; flex-direction: column; gap: .35rem; height: 100%; box-sizing: border-box; padding: 1rem 1rem 1.1rem; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .25); border-top: 3px solid var(--rl-platinum-light); background: var(--rl-primary); color: var(--rl-surface); font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal; }
.rl-learn-hero .rl-topics strong { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.125rem; letter-spacing: .12em; }
.rl-topic__sub { font-family: var(--wp--preset--font-family--heading); font-weight: 600; line-height: 1.35; }
.rl-topic__text { line-height: 1.5; opacity: .92; }
.rl-topic-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; margin: 0; padding: 1rem clamp(1.25rem, 4vw, 2.5rem); background: rgba(var(--rl-primary-rgb), .07); border-bottom: 1px solid rgba(var(--rl-platinum-rgb), .5); font-family: var(--wp--preset--font-family--heading); font-weight: 600; scroll-margin-top: 90px; }
.rl-topic-status span { color: var(--rl-primary); }
.rl-topic-status button { background: none; border: 0; padding: 0; font: inherit; color: var(--rl-primary); text-decoration: underline; cursor: pointer; }
.rl-topic-item[hidden], .rl-topic-section[hidden] { display: none !important; }
@media (max-width: 1100px) { .rl-learn-hero .rl-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rl-learn-hero .rl-topics { grid-template-columns: minmax(0, 1fr); } .rl-topic__text { display: none; } }

/* ---------- Learn: Rock's Articles ---------- */
.rl-article-cards { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--wp--preset--spacing--40); }
.rl-article-cards > .rl-article-card { margin: 0 !important; display: flex; flex-direction: column; background: var(--rl-surface); color: var(--rl-body); border-radius: 3px; overflow: hidden; }
.rl-article-card > * { margin: 0 1.25rem; }
.rl-article-card .wp-block-image { margin: 0 0 1rem; }
.rl-article-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rl-article-card__source { font-family: var(--wp--preset--font-family--heading); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rl-platinum-deep); }
.rl-article-card h3 { font-size: 1.125rem !important; line-height: 1.35; margin-top: .4rem; margin-bottom: .5rem; }
.rl-article-card h3 a { color: var(--rl-heading); text-decoration: none; }
.rl-article-card h3 a:hover { color: var(--rl-primary); text-decoration: underline; }
.rl-article-card__text { font-size: .9375rem; line-height: 1.6; }
.rl-article-card__link { margin-top: auto !important; padding: .9rem 0 1.25rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: .9375rem; }
.rl-article-card__link a { color: var(--rl-primary); text-decoration: none; }
.rl-article-card__link a::after { content: " →"; }
.rl-article-card__link a:hover { text-decoration: underline; }
.rl-article-more { margin-top: var(--wp--preset--spacing--40) !important; }
.rl-article-more a { color: var(--rl-surface); }
@media (max-width: 900px) { .rl-article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rl-article-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Learn: podcast ---------- */
.rl-podcast__logo img { display: block; width: 100%; max-width: 280px; height: auto; }
.rl-podcast__video { margin-top: var(--wp--preset--spacing--30) !important; max-width: 640px; }
.rl-podcast__video figcaption { font-size: .9375rem; color: var(--rl-platinum-deep); }
.rl-podcast__all { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Free guide form ---------- */
.rl-gate { width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); box-sizing: border-box; border: 0; border-top: 4px solid var(--rl-primary); border-radius: 3px; padding: clamp(1.25rem, 4vw, 2rem); color: var(--rl-body); background: var(--rl-surface); }
.rl-gate::backdrop { background: rgba(var(--rl-heading-rgb), .6); }
.rl-gate h2 { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--x-large); padding-right: 2rem; }
.rl-gate p { margin: 0 0 1rem; }
.rl-gate__guide { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--rl-primary); }
.rl-gate__close { position: absolute; top: .6rem; right: .6rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--rl-platinum-deep); cursor: pointer; }
.rl-gate label { display: block; }
.rl-gate__email { margin-bottom: 1rem; font-weight: 600; }
.rl-gate input[type="email"] { display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; padding: .7rem .8rem; font: inherit; font-weight: 400; border: 1px solid var(--rl-platinum); border-radius: 3px; }
.rl-gate fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
.rl-gate legend { padding: 0; margin-bottom: .35rem; font-weight: 600; }
.rl-gate fieldset label, .rl-gate__consent { display: flex !important; gap: .55rem; align-items: flex-start; padding: .15rem 0; }
.rl-gate input[type="radio"], .rl-gate input[type="checkbox"] { margin-top: .3rem; accent-color: var(--rl-primary); flex: none; }
.rl-gate__consent { margin-bottom: 1rem; }
.rl-gate__submit { width: 100%; border: 0; border-radius: 3px; padding: .85rem 1rem; background: var(--rl-primary); color: var(--rl-surface); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; cursor: pointer; }
.rl-gate__submit:hover { background: var(--rl-primary-hover); }
.rl-gate__submit[disabled] { opacity: .6; cursor: wait; }
.rl-gate__error { color: #a4161a; font-size: .9375rem; }
.rl-gate__note { font-size: .8125rem; color: var(--rl-platinum-deep); margin: .75rem 0 0 !important; }
.rl-gate__hp { position: absolute; left: -9999px; }

/* ---------- Nov 2026 updates ---------- */
/* Expertise: photographs straight under the headline, then the story and the six areas */
.rl-expertise-intro { padding-bottom: var(--wp--preset--spacing--40); }
.rl-expertise-photos { padding-top: 0; padding-bottom: var(--wp--preset--spacing--50); }
.rl-expertise-story { padding-top: 0; }
.rl-expertise-story .rl-lead { color: var(--rl-heading); margin-top: 0; }
.rl-expertise-story__title { margin-top: var(--wp--preset--spacing--50) !important; padding-top: var(--wp--preset--spacing--40); border-top: 1px solid rgba(var(--rl-platinum-rgb), .4); }

/* Life: Giving Back first; children's photographs lead when they are added */
.rl-life-intro { padding-bottom: var(--wp--preset--spacing--50); }
.rl-life-intro .rl-lead { max-width: 60ch; margin-inline: auto !important; color: var(--rl-platinum-deep); }
.rl-giving .rl-eyebrow { color: var(--rl-primary); }
.rl-giving h2 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--40); }
.rl-giving .rl-lead { color: var(--rl-heading); }
.rl-life-journey .rl-life-photo { margin: 0 !important; }
.rl-life-journey .wp-block-column > p:first-child { margin-top: 0; }

/* Contact */
.rl-contact-photo { margin-top: var(--wp--preset--spacing--50) !important; }
.rl-contact-photo img { max-height: 420px; object-position: 50% 20%; }

/* Book / guide pages */
.rl-item-page__cover img { display: block; width: 100%; height: auto; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 40px rgba(var(--rl-heading-rgb), .18); }
.rl-item-page__title { margin: 0 !important; }
.rl-item > * { margin-block: 0; }
.rl-item .rl-book__sub { margin-top: .5rem; }
.rl-item__price { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--x-large); color: var(--rl-primary); margin: 1rem 0 0 !important; }
.rl-item__price del { color: var(--rl-platinum-deep); font-size: .65em; font-weight: 400; margin-left: .35em; }
.rl-item .wp-block-buttons { margin-top: 1.25rem; gap: .75rem; }
.rl-item .rl-guide__topic { margin-bottom: .25rem; }
.rl-book__soon { color: var(--rl-platinum-deep); margin-top: 1rem !important; }
.rl-item-page__text { margin-top: var(--wp--preset--spacing--40) !important; }
.rl-item-page__back { font-size: .9375rem; }

.rl-item .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; }
.rl-item .wp-block-button { margin: 0; }
/* QA round 1 */
.rl-item .wp-block-button__link { display: inline-block; }
dialog.rl-gate { margin: auto !important; }
.rl-expertise-close { padding-top: 0; }
.wp-block-columns:has(> .wp-block-column > .rl-path) > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-column > .rl-path { flex: 1; }
.rl-item .rl-buy-links { margin-top: 1.5rem; }
.wp-block-columns.rl-paths { align-items: stretch !important; }
.rl-paths > .rl-path { height: auto; align-self: stretch; }

/* ---------- Taste pass (Nov 2026): About quote beside a photograph ---------- */
.rl-quote-split { padding: 0 !important; }
.wp-block-columns.rl-quote-split__cols { margin: 0 !important; gap: 0 !important; align-items: stretch !important; min-height: clamp(420px, 42vw, 620px); }
.rl-quote-split__media { position: relative; overflow: hidden; align-self: stretch !important; }
.rl-quote-split__media .rl-quote-split__img { margin: 0; height: 100%; }
.rl-quote-split__media .rl-quote-split__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Two equal halves, same height: the photo is cropped (object-fit: cover) to fill its half */
@media (min-width: 782px) { .wp-block-columns.rl-quote-split__cols > .wp-block-column { flex: 0 0 50% !important; min-width: 0; box-sizing: border-box; align-self: stretch !important; } }
.rl-quote-split__text { padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6.5rem); display: flex; flex-direction: column; justify-content: center; }
/* The quote carries its own opening and closing marks; the opening one hangs in the margin */
.rl-quote-split .wp-block-pullquote.rl-quote blockquote::before { content: none; }
.rl-quote-split .wp-block-pullquote.rl-quote blockquote p { text-indent: -.42em; }
.rl-quote-split .wp-block-pullquote.rl-quote blockquote p { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.5; max-width: 30ch; }
@media (min-width: 782px) {
	.rl-quote-split__media .rl-quote-split__img { position: absolute; inset: 0; }
}
@media (max-width: 781px) {
	.wp-block-columns.rl-quote-split__cols { min-height: 0; }
	.rl-quote-split__media .rl-quote-split__img img { aspect-ratio: 4 / 3; height: auto; }
}

/* ---------- Taste pass: Life ---------- */
/* Giving Back: a reversed band, the cause on the left, the story on the right */
.rl-giving { padding-block: clamp(4rem, 8vw, 7rem); }
.rl-giving__cols { margin-block: 0 !important; }
.rl-giving__head > *, .rl-giving__body > * { margin-block: 0; }
.rl-giving .rl-giving__head .rl-eyebrow { color: var(--rl-platinum-light); margin-bottom: 1rem; }
.rl-giving .rl-giving__head h2 { margin: 0; color: var(--rl-surface); }
.rl-giving__statement { margin-top: 1.5rem !important; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--rl-platinum-light); max-width: 32ch; }
.rl-giving__body p { color: rgba(255, 255, 255, .92); }
.rl-giving__body p + p { margin-top: 1.1rem; }
.rl-giving .rl-giving__body .rl-lead { color: var(--rl-surface); }

/* Story: the Saigon photograph stays in view while the story scrolls past it */
.rl-life-journey { align-items: flex-start !important; }
.rl-life-journey__story > * { margin-block: 0; }
.rl-life-journey__story h2 { margin-bottom: 1.5rem; }
.rl-life-journey__story > p + p { margin-top: 1.1rem; }
.rl-life-journey .rl-life-photo img { padding: 0; border: 0; }
@media (min-width: 782px) {
	.rl-life-journey__media { position: sticky; top: 120px; }
}

/* ---------- Taste pass: Contact (the scheduler leads) ---------- */
.rl-schedule-hero { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.rl-schedule-hero__cols { margin-block: 0 !important; }
.rl-schedule-hero__intro > * { margin-block: 0; }
.rl-schedule-hero__title { font-size: clamp(2.125rem, 3.6vw, 3.25rem) !important; line-height: 1.12; letter-spacing: -.01em; color: var(--rl-surface); margin: 0 auto var(--wp--preset--spacing--50) !important; }
@media (max-width: 600px) { .rl-schedule-hero__title { font-size: 1.625rem !important; } }
.rl-schedule-hero .rl-lead { margin-top: 0 !important; color: rgba(255, 255, 255, .92); }
.rl-schedule-hero__points { list-style: none; padding: 0; margin-top: 1.75rem !important; display: grid; gap: .85rem; }
.rl-schedule-hero__points li { position: relative; padding-left: 1.6rem; color: var(--rl-surface); }
.rl-schedule-hero__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--rl-platinum-light); }
.rl-schedule-hero__alt { margin-top: 2rem !important; color: var(--rl-platinum-light); }
.rl-schedule-hero__alt a { color: var(--rl-surface); text-decoration: underline; text-underline-offset: 3px; }
.rl-schedule-hero__widget .rl-calendly { border-radius: 3px; box-shadow: none; }
@media (min-width: 782px) { .rl-schedule-hero__intro { position: sticky; top: 120px; align-self: flex-start; } }
@media (max-width: 781px) { .rl-schedule-hero__widget .rl-calendly { height: 680px !important; } }
.rl-contact-direct .rl-contact-photo { margin: 0 !important; }
.rl-contact-direct .rl-contact-photo img { max-height: none; object-position: 50% 15%; }
.rl-contact-more .rl-path { background: var(--rl-surface); border: 0; border-top: 3px solid var(--rl-primary); }
@media (max-width: 781px) { .rl-contact-direct .rl-contact-photo img { aspect-ratio: 4 / 3 !important; } }

/* ---------- Primary green bands (no gray section backgrounds, client request 04/11/2026) ---------- */
/* Buttons on the green band itself take the deep green so they still read; buttons inside white cards stay primary */
.has-primary-background-color .wp-block-button:not(.is-style-text-arrow) .wp-block-button__link { background: var(--rl-heading); color: var(--rl-surface); }
.has-primary-background-color .wp-block-button:not(.is-style-text-arrow) .wp-block-button__link:is(:hover, :focus-visible) { background: #072a1d; color: var(--rl-surface); }
.has-primary-background-color :is(.rl-path, .rl-guide, .rl-post-card, .rl-article-card) .wp-block-button__link,
.has-primary-background-color :is(.rl-path, .rl-guide, .rl-post-card, .rl-article-card) .wp-element-button { background: var(--rl-primary); }
.has-primary-background-color :is(.rl-path, .rl-guide, .rl-post-card, .rl-article-card) .wp-block-button__link:is(:hover, :focus-visible) { background: var(--rl-primary-hover); }
.has-primary-background-color > p, .has-primary-background-color .rl-lead { color: rgba(255, 255, 255, .94); }
/* Links and chips sitting straight on a green band */
.has-primary-background-color .rl-door__title a, .has-primary-background-color .rl-door__title a::after { color: var(--rl-surface); }
.has-primary-background-color .rl-door__title a:hover { color: var(--rl-platinum-light); }
.has-primary-background-color .rl-archive__head .rl-eyebrow a:hover, .rl-archive__head.has-primary-background-color .rl-eyebrow a:hover { color: var(--rl-surface); }
.has-primary-background-color.rl-archive__head .wp-block-term-description { color: rgba(255, 255, 255, .94); }
.has-primary-background-color .rl-filter a:not([aria-current]) { background: var(--rl-surface); border-color: var(--rl-surface); color: var(--rl-heading); }
.has-primary-background-color .rl-filter a:not([aria-current]):hover { background: var(--rl-mist); border-color: var(--rl-mist); color: var(--rl-heading); }
.has-primary-background-color .rl-filter a[aria-current="true"] { background: var(--rl-heading); border-color: var(--rl-heading); color: var(--rl-surface); }
/* White cards inside a green band keep the normal dark text */
.has-primary-background-color :is(.rl-path, .rl-post-card, .rl-article-card) { color: var(--rl-body); }
.has-primary-background-color :is(.rl-path, .rl-post-card, .rl-article-card) :is(h2, h3, h4) { color: var(--rl-heading); }
.has-primary-background-color :is(.rl-path, .rl-post-card, .rl-article-card) p { color: var(--rl-body); }
.has-primary-background-color :is(.rl-path, .rl-post-card, .rl-article-card) .wp-block-button:not(.is-style-text-arrow) .wp-block-button__link { background: var(--rl-primary); }
.has-primary-background-color :is(.rl-path, .rl-post-card, .rl-article-card) .wp-block-button:not(.is-style-text-arrow) .wp-block-button__link:is(:hover, :focus-visible) { background: var(--rl-primary-hover); }

/* ---------- Life: Children of Vietnam photo mosaic (Nov 2026) ----------
   Desktop: one large photo with two stacked beside it, then two side by side.
   Phones: the large photo full width, the other four in a 2 × 2 grid. */
.rl-giving-photos__head > * { margin-block: 0; }
.rl-giving-photos__head h2 { margin-top: .75rem; }
.rl-giving-photos__head p:last-child { margin-top: 1rem; color: var(--rl-platinum-deep); }
.wp-block-gallery.rl-giving-mosaic {
	display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem) !important;
	margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: 0 !important;
}
.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto; max-width: none; margin: 0; grid-column: span 3; aspect-ratio: 16 / 9;
	border-radius: 3px; overflow: hidden;
}
.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(1) { grid-column: 1 / span 4; grid-row: 1 / span 2; aspect-ratio: auto; }
.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(2),
.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(3) { grid-column: 5 / span 2; aspect-ratio: 3 / 2; }
.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image) img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-gallery.rl-giving-mosaic figcaption { display: none; }
@media (max-width: 781px) {
	.wp-block-gallery.rl-giving-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image),
	.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(2),
	.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(3) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
	.wp-block-gallery.rl-giving-mosaic.has-nested-images figure.wp-block-image:not(#individual-image):nth-child(1) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
}
/* Editor: plain wrapping gallery */
.editor-styles-wrapper .wp-block-gallery.rl-giving-mosaic { display: flex !important; }

/* ---------- UX pass (Nov 2026) ---------- */
/* Search results: same green header as the archives, with a search box to try again */
.rl-search-again { margin-top: var(--wp--preset--spacing--40) !important; max-width: 560px; }
.rl-search-again .wp-block-search__inside-wrapper { gap: .5rem; border: 0; padding: 0; }
.rl-search-again .wp-block-search__input { min-height: 2.75rem; padding: .6rem .9rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: 3px; background: var(--rl-surface); color: var(--rl-body); font-size: 1rem; }
.rl-search-again .wp-block-search__button { min-height: 2.75rem; margin: 0; padding: 0 1.25rem; border: 0; border-radius: 3px; background: var(--rl-heading); color: var(--rl-surface); font-family: var(--wp--preset--font-family--heading); font-weight: 600; cursor: pointer; }
.rl-search-again .wp-block-search__button:is(:hover, :focus-visible) { background: var(--rl-ink); }
/* Blog post: category links under the article are easy to tap */
.rl-main article > .wp-block-post-terms a { display: inline-block; padding-block: .5rem; }
/* Contact on phones: the social buttons share one width instead of a ragged stack */
@media (max-width: 600px) {
	.rl-social--buttons .wp-block-social-links { display: grid !important; grid-template-columns: 1fr; }
	.rl-social--buttons .wp-social-link, .rl-social--buttons .wp-social-link a { width: 100%; box-sizing: border-box; }
}
/* Guide cards: the link stays on one line. Two narrow columns on phones show "Download →";
   "Free Guide" stays readable for screen readers. */
.rl-guide__link a { white-space: nowrap; }
@media (max-width: 600px) {
	.rl-guide__link-more { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

/* ---------- Newsletter sign-up (blocks/newsletter) ---------- */
.rl-signup { display: grid; gap: 1.25rem 3rem; align-items: end; }
.rl-signup__title { margin: 0 0 .4rem; font-size: var(--wp--preset--font-size--x-large); }
.rl-signup__text { margin: 0; max-width: 52ch; }
.rl-signup__form { margin: 0; }
.rl-signup__fields { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.rl-signup__field { flex: 1 1 12rem; display: flex; flex-direction: column; gap: .3rem; font-size: .875rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.rl-signup__field input { box-sizing: border-box; width: 100%; min-height: 3.25rem; padding: .75rem .85rem; font: inherit; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 1rem; border: 1px solid var(--rl-platinum); border-radius: 3px; background: var(--rl-surface); color: var(--rl-body); }
.rl-signup__field input:focus-visible { outline: 2px solid var(--rl-primary); outline-offset: 1px; }
.rl-signup__submit { flex: 0 0 auto; min-height: 3.25rem; border: 0; border-radius: 3px; padding: .8rem 1.5rem; background: var(--rl-primary); color: var(--rl-surface); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.rl-signup__submit:hover { background: var(--rl-primary-hover); }
.rl-signup__submit[disabled] { opacity: .6; cursor: wait; }
.rl-signup__status { margin: .75rem 0 0; font-weight: 600; }
.rl-signup__status.is-error { color: #b32d2e; }
.rl-signup__note { margin: .6rem 0 0; font-size: .8125rem; color: var(--rl-platinum-deep); }
.rl-signup__note a { color: inherit; }
.rl-signup .is-done .rl-signup__fields { display: none; }
/* Footer: text left, form right, a rule underneath */
.rl-signup--footer { padding-bottom: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--50) !important; border-bottom: 1px solid rgba(var(--rl-platinum-rgb), .3); }
.rl-signup--footer .rl-signup__title { color: var(--rl-surface); }
.rl-signup--footer .rl-signup__text, .rl-signup--footer .rl-signup__note { color: var(--rl-platinum-light); }
.rl-signup--footer .rl-signup__field { color: var(--rl-platinum-light); }
.rl-signup--footer .rl-signup__field input { border-color: transparent; }
.rl-signup--footer .rl-signup__field input:focus-visible { outline-color: var(--rl-platinum-light); }
.rl-signup--footer .rl-signup__status.is-error { color: #ffd2d2; }
@media (min-width: 900px) {
	.rl-signup--footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
}
/* Inline (Contact): stacked, with a rule above */
.rl-signup--inline { margin-top: var(--wp--preset--spacing--50) !important; padding-top: var(--wp--preset--spacing--40); border-top: 1px solid rgba(var(--rl-platinum-rgb), .4); gap: 1rem; }
.rl-signup--inline .rl-signup__title { font-size: var(--wp--preset--font-size--large); color: var(--rl-heading); }
