/**
 * _home.css — the homepage's sections (spectra-build/home.cjs), in the approved mockup's look.
 * Owns: .rl-home-* sections; the split sections (.rl-split: the text on the 1200 grid, the media or navy half bleeding
 * to the viewport edge); the hero's video and overlay; the trust bar; the practice areas' pill tabs and card grid;
 * the team, review and why sliders (.rl-slider, arrows and dots below with .rl-slider--below); the icon tiles
 * (.rl-icon-circle); the post grid's cards; the caps heading; the carousels (.rl-phone-carousel, the practice-area
 * tabs' rows, and the .rl-carousel-nav controls assets/js/phone-carousel.js adds). The split and slider rules are
 * reused by the inner pages.
 * Doesn't own: buttons, links, FAQ, forms, surfaces (their modules).
 * Depends on: global/_tokens.css. Spectra writes each block's own CSS (one class + one block class) and stretches a
 * container's non-container children to width: 100%; the doubled classes and max-width here win.
 */

/* ── 1 · Hero ───────────────────────────────────────────────────────────────────────────────────────────────────── */

.rl-home-hero.rl-home-hero {
	position: relative;
	overflow: hidden;
	background: var(--rl-color-brand);
}

/* The video file carries a black bar across the top of every frame: its first 102 of 800 rows (12.75%). The mockup's
   framing hid it by anchoring to the bottom and zooming 1.22, which cut the heads off — the more, the wider the screen
   (the view started at row 163 at 1440, 280 at 1920). Here the picture shows from its first row at every size (the
   user, 2026-11-10): the video at its own shape, as wide as the hero or as wide as it takes for the picture under the
   bar (1728 × 698, 2.476:1) to be the hero's height, the bar above the hero; the rest crops at the bottom and sides. */
.rl-home-hero.rl-home-hero .uagb-container__video-wrap {
	container-type: size;
}

.rl-home-hero.rl-home-hero .uagb-container__video-wrap video {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100%;
	width: max(100cqw, 247.6cqh);
	height: auto;
	max-width: none;
	aspect-ratio: 1728 / 800;
	object-fit: cover;
	transform: translate(-50%, -12.75%);
}

/* White can't hold 4.5:1 on bright footage (the brief): a navy gradient under the text, the right of the frame clear
   (design → A11y). 0.68 navy (lighter than the build's 0.86, so the video shows — Markup #1, 2026-10-28) still leaves
   4.82:1 for white text over a white frame; it holds to 50%, past the text's 560px. */
.rl-home-hero .uagb-container__video-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(39, 47, 68, 0.68) 0%, rgba(39, 47, 68, 0.68) 50%, rgba(39, 47, 68, 0.16) 78%, rgba(39, 47, 68, 0) 100%);
	pointer-events: none;
}

.rl-home-hero .uagb-container-inner-blocks-wrap {
	position: relative;
	z-index: 1;
}

.rl-home-hero .rl-hero-text h1 {
	color: var(--rl-white);
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
	.rl-home-hero .uagb-container__video-wrap video {
		display: none; /* the navy band, no motion; the H1 and CTA stay */
	}
}

@media (max-width: 768px) {
	.rl-home-hero .uagb-container__video-wrap::after {
		background: linear-gradient(180deg, rgba(39, 47, 68, 0.24) 0%, rgba(39, 47, 68, 0.72) 40%); /* 5.5:1 over white */
	}

	/* A phone shows about 29% of the frame's width, and Derek stands right of center in the street and office shots
	   (Markup #30, 2026-10-28): at 68% he's in frame for about 11 of the clip's 15 seconds — not in the closing
	   close-up, where he's left of center (at 50% only that shot had him): the video's 68% point sits on the hero's. */
	.rl-home-hero.rl-home-hero .uagb-container__video-wrap video {
		left: 68%;
		transform: translate(-68%, -12.75%);
	}
}


/* ── 2 · Trust bar ──────────────────────────────────────────────────────────────────────────────────────────────── */

.rl-trust-row.rl-trust-row > .rl-trust-item + .rl-trust-item {
	border-left: 1px solid var(--rl-border-subtle);
}

/* Each logo centered in its cell (Markup #4): the figure is the cell's full width (Spectra), the image its own. */
.rl-trust-item .wp-block-image {
	display: flex;
	justify-content: center;
	margin: 0;
}

.rl-trust-item .wp-block-image img {
	width: auto;
	max-width: 220px;
	height: 96px;
	object-fit: contain;
}

@media (max-width: 921px) {
	.rl-trust-row.rl-trust-row > .rl-trust-item + .rl-trust-item {
		border-left: 0;
	}

	.rl-trust-item .wp-block-image img {
		height: 72px;
	}
}

/* ── Split sections (CS1–CS6) ───────────────────────────────────────────────────────────────────────────────────── */

/* The text half lines up with the 1200 grid's edge — the same line as the cards in the sections between (Markup #11,
   2026-10-28): its outer padding is the margin beside the grid (50% − 600px of the row), never under 20px. The media
   and navy halves run to the viewport edge. */
.rl-split.rl-split .rl-split__text--left {
	padding-right: 40px;
	padding-left: max(20px, calc(50% - 600px));
}

.rl-split.rl-split .rl-split__text--right {
	padding-right: max(20px, calc(50% - 600px));
	padding-left: 40px;
}

/* A navy half's text sits in its own 40px from the grid edge too. */
.rl-split.rl-split .rl-split__text.rl-on-navy {
	padding-right: 40px;
}

/* The photo fills its half: the half is a flex column (Spectra's), the figure grows into it. (Spectra forces
   position: relative on a container's children, so no absolute fill.) */
.rl-split .rl-split__media > .wp-block-image {
	flex: 1 1 auto;
	margin: 0;
}

.rl-split .rl-split__media .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The intro (CS1) is as tall as its text (Markup #653, 2026-11-11: the 560px floor left ~110px of tint above and below
   the two paragraphs, and on wide screens the 3:2 photo's own height pushed it to 614px at 1920). Side by side, the
   photo sets no height of its own — `contain: size` — and covers the height the text leaves, top-anchored so the face
   stays in frame: 80px above and below the text at every width side by side (Abbey's reply). Stacked (≤ 976, below)
   it keeps its 4:3. */
@media (min-width: 977px) {
	.rl-home-cs1 .rl-split__media {
		contain: size;
	}

	.rl-home-cs1 .rl-split__media > .wp-block-image {
		min-height: 0;
	}
}

/* The mockup's image-slot focal points. */
.rl-focus-cs1 img {
	object-position: 18% 0;
}

.rl-focus-cs4 img {
	object-position: 8% 0;
}

.rl-focus-cs5 img {
	object-position: 50% 50%;
}

/* Stacked from Spectra's tablet tier, 976px — where its containers turn the halves into a column (not 1024: from 977 to
   1024 the halves still sat side by side while these rules made the photo a short 4:3, leaving 226–526px of blank
   tint under it; found checking Markup #653, 2026-11-11). */
@media (max-width: 976px) {
	.rl-split.rl-split .rl-split__text:is(.rl-split__text--left, .rl-split__text--right) {
		padding-right: 40px;
		padding-left: 40px;
	}

	/* Stacked: the photo 4:3 (the brief). */
	.rl-split .rl-split__media .wp-block-image img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 768px) {
	.rl-split.rl-split .rl-split__text:is(.rl-split__text--left, .rl-split__text--right) {
		padding-right: 20px;
		padding-left: 20px;
	}
}

/* ── Icon tiles ─────────────────────────────────────────────────────────────────────────────────────────────────── */

/* A 64px teal circle with a 32px navy icon (the mockup's Lucide tiles). */
.rl-icon-circle.rl-icon-circle {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	max-width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--rl-color-alt-brand);
}

.rl-icon-circle.rl-icon-circle svg {
	width: 32px;
	height: 32px;
	fill: var(--rl-color-brand);
}

/* ── Sliders ────────────────────────────────────────────────────────────────────────────────────────────────────── */

.rl-slider.rl-slider {
	position: relative;
}

.rl-slider .swiper-slide {
	height: auto;
}

/* Arrows and dots below the slides, the dots between the arrows (the mockup's practice areas, team, why). */
.rl-slider--below.rl-slider--below {
	padding-bottom: 88px;
}

.rl-slider--below .swiper-button-prev,
.rl-slider--below .swiper-button-next {
	top: auto;
	bottom: 0;
	margin-top: 0;
}

.rl-slider--below.rl-slider--below .swiper-button-prev {
	right: auto;
	left: calc(50% - 120px);
}

.rl-slider--below.rl-slider--below .swiper-button-next {
	right: calc(50% - 120px);
	left: auto;
}

.rl-slider--below .swiper-pagination.swiper-pagination {
	bottom: 20px;
	left: 50%;
	width: auto;
	transform: translateX(-50%);
}

/* The arrows the Slider draws (_buttons.css styles them): the review slider's sit beside the quote. */
.rl-slider .swiper-button-prev,
.rl-slider .swiper-button-next {
	width: 48px;
	height: 48px;
}

.rl-slider-reviews.rl-slider-reviews {
	padding: 0 88px;
}

.rl-slider-reviews .swiper-button-prev {
	left: 0;
}

.rl-slider-reviews .swiper-button-next {
	right: 0;
}

/* Dots: 8px; on navy white / 35% white (the mockup's). These outrank _buttons.css's dots (the current one navy), which
   outranked them before: Why Choose's current dot was navy on the navy band (Markup #58, round 3, 2026-11-09). */
:is(.site, .editor-styles-wrapper) .rl-on-navy .wp-block-uagb-slider.rl-slider .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.35);
}

:is(.site, .editor-styles-wrapper) .rl-on-navy .wp-block-uagb-slider.rl-slider .swiper-pagination-bullet-active {
	background: var(--rl-white);
}

@media (max-width: 768px) {
	/* 24px from the slides to the arrows on phones, not 40 (Markup #34, 2026-10-28). */
	.rl-slider--below.rl-slider--below {
		padding-bottom: 72px;
	}

	.rl-slider-reviews.rl-slider-reviews {
		padding: 0 0 72px;
	}

	.rl-slider-reviews .swiper-button-prev,
	.rl-slider-reviews .swiper-button-next {
		top: auto;
		bottom: 0;
		margin-top: 0;
	}

	.rl-slider-reviews.rl-slider-reviews .swiper-button-prev {
		left: calc(50% - 60px);
	}

	.rl-slider-reviews.rl-slider-reviews .swiper-button-next {
		right: calc(50% - 60px);
	}
}

/* ── 4 · Practice areas ─────────────────────────────────────────────────────────────────────────────────────────── */

/* Pill tabs of the dropdown's groups over the cards (Markup #5, 2026-10-28): navy outlines, the active one filled navy
   with a white label (12.8:1). The underlined tab look is _navigation.css's; this variant swaps it. */
:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tabs__panel {
	justify-content: center;
	gap: 12px;
	border-bottom: 0;
}

:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab .uagb-tabs-list {
	min-height: 44px;
	padding: 10px 24px;
	border: 2px solid var(--rl-color-brand);
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: var(--rl-color-brand);
	transition: background-color var(--rl-ease), color var(--rl-ease);
}

:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab .uagb-tabs-list:is(:hover, :focus-visible) {
	background: var(--rl-color-tint);
}

:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab.uagb-tabs__active .uagb-tabs-list {
	background: var(--rl-color-brand);
	color: var(--rl-white);
}

:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab.uagb-tabs__active .uagb-tabs-list::after {
	content: none;
}

:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tabs__body-wrap {
	max-width: none;
	padding: 48px 0 0;
}

/* A tab's cards: a row that scrolls sideways a card at a time — three in view, two on tablets, one on phones (Markup
   #45, 2026-10-30: "only show 3 PAs at a time in a carousel"; one on phones since #33). assets/js/phone-carousel.js adds
   the arrows and dots under it when the cards don't all fit (Real Estate's two do, above phones). A hairline sits in the
   middle of each gap; the one left of the first card in view falls outside the row and is clipped. The row pads 6px
   inside its scroll box, with scroll padding to match, so the links' focus rings (3px, 3px out) aren't clipped. Spectra
   lays the container out with flex and caps its children at 100%: the doubled classes hold the row and the widths. */
:is(.site, .editor-styles-wrapper) .rl-pa-grid.rl-pa-grid {
	--rl-pa-in-view: 3;
	--rl-pa-gap: 64px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start; /* a centered row can't scroll back to its first card */
	align-items: stretch;
	gap: 0 var(--rl-pa-gap);
	width: auto;
	max-width: none;
	margin: -6px;
	padding: 6px;
	overflow: auto hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 6px;
	scrollbar-width: none;
}

.rl-pa-grid.rl-pa-grid::-webkit-scrollbar {
	display: none;
}

:is(.site, .editor-styles-wrapper) .rl-pa-grid.rl-pa-grid > .rl-pa-card {
	flex: 0 0 calc((100% - (var(--rl-pa-in-view) - 1) * var(--rl-pa-gap)) / var(--rl-pa-in-view));
	width: auto;
	max-width: none;
	margin: 0;
	padding-inline: 0;
	scroll-snap-align: start;
}

.rl-pa-grid.rl-pa-grid > .rl-pa-card:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--rl-pa-gap) / -2);
	width: 1px;
	background: var(--rl-color-border);
}

.rl-pa-card h3 {
	font-size: 22px;
	line-height: 30px;
}

.rl-pa-card p:not(.is-style-rl-learn-more) {
	font-size: 16px;
	line-height: 1.6;
}

/* The doc's closing line under the tabs, bold 20px, then the consultation button (Markup #6). */
.rl-pa-outro.rl-pa-outro {
	max-width: 860px;
	margin-inline: auto;
	padding-top: 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--rl-color-brand);
}

@media (max-width: 1024px) {
	:is(.site, .editor-styles-wrapper) .rl-pa-grid.rl-pa-grid {
		--rl-pa-in-view: 2;
		--rl-pa-gap: 56px;
	}
}

@media (max-width: 768px) {
	/* Phones: one card at a time, 20px apart, no hairlines; each card its own height — the script sizes the row to the
	   one in view (Markup #33, #34). */
	:is(.site, .editor-styles-wrapper) .rl-pa-grid.rl-pa-grid {
		--rl-pa-in-view: 1;
		--rl-pa-gap: 20px;
		align-items: flex-start;
	}

	.rl-pa-grid.rl-pa-grid > .rl-pa-card:not(:first-child)::before {
		content: none;
	}

	.rl-pa-outro.rl-pa-outro {
		font-size: 18px;
	}

	/* The pills in one line that swipes sideways (Markup #49, 2026-10-30), running past the section's 20px gutter to the
	   screen's edges: the first lines up with the copy, and the ones that don't fit go off the edge. While all four fit
	   (a phone on its side) they stay centered — the first and last pill's auto margins, which give way once the row
	   overflows. 6px inside, top and bottom, so a pill's focus ring isn't clipped; assets/js/phone-carousel.js slides a
	   tapped pill into view. */
	:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tabs__panel {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: auto;
		max-width: none;
		margin: -6px -20px;
		padding: 6px 20px;
		overflow: auto hidden;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.rl-tabs-pills .uagb-tabs__panel::-webkit-scrollbar {
		display: none;
	}

	:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab {
		flex: none;
	}

	:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab:first-child {
		margin-left: auto;
	}

	:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab:last-child {
		margin-right: auto;
	}

	/* The pills' phone size: 16px each side, so two show whole at 375px and the third's edge says there's more. */
	:is(.site, .editor-styles-wrapper) .wp-block-uagb-tabs.wp-block-uagb-tabs.rl-tabs-pills .uagb-tab .uagb-tabs-list {
		padding-inline: 16px;
	}
}

/* ── 6 · Testimonials ───────────────────────────────────────────────────────────────────────────────────────────── */

/* "From Our Clients": Lora 400 caps, .1em (the mockup's 700 — the user chose 400, STYLE.md). */
.rl-caps-heading.rl-caps-heading {
	font-size: 36px;
	line-height: 1.25;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rl-quote__text.rl-quote__text {
	font-size: 26px;
	line-height: 1.6;
	color: var(--rl-white);
}

.rl-quote__author.rl-quote__author {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rl-white);
}

.rl-stars.rl-stars {
	justify-content: center;
}

/* The disclaimer New York asks of testimonials (Rule 7.1(e)(3)), under the stars: 16px white (the overlay's 7.0:1). */
.rl-reviews-note.rl-reviews-note {
	font-size: 16px;
	line-height: 1.5;
	color: var(--rl-white);
}

@media (max-width: 768px) {
	.rl-caps-heading.rl-caps-heading {
		font-size: 28px;
	}

	.rl-quote__text.rl-quote__text {
		font-size: 20px;
	}
}

/* ── 7 · CS3 ────────────────────────────────────────────────────────────────────────────────────────────────────── */

/* Centered on wider screens, the mockup's; left-aligned on phones, where a centered column reads raggedly (Markup #35,
   2026-10-28). */
@media (max-width: 768px) {
	.rl-home-cs3.rl-home-cs3 :is(h2, p) {
		text-align: left;
	}
}

/* ── 8 · Team ───────────────────────────────────────────────────────────────────────────────────────────────────── */

.rl-team-photo.rl-team-photo {
	flex: none;
	max-width: 160px;
	aspect-ratio: 2 / 3;
	overflow: hidden;
}

.rl-team-photo .wp-block-image {
	height: 100%;
	margin: 0;
}

.rl-team-photo .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

.rl-team-pending.rl-team-pending {
	font-size: 16px;
	color: var(--rl-color-body);
}

.rl-team-text h3 {
	font-size: 22px;
	line-height: 1.15;
}

/* The title: teal caps, the mockup's (Markup #9, 2026-10-28) — its #60BDC3 is 2.2:1 on white, so the teal darkened to
   4.58:1 (design → A11y). */
.rl-team-role.rl-team-role {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rl-color-alt-brand-strong);
}

/* Phones: the photo the card's full width (Markup #36, 2026-10-28), cut 4:5 from near the top so the face stays in
   frame; the pending boxes match. Spectra sets the box's 160px: the tripled class wins. From 767px, Spectra's mobile
   tier, where the card stacks (at 768 the photo still sits beside the text); at most 400px, so a phone held sideways
   doesn't get an 850px portrait. */
@media (max-width: 767px) {
	.rl-team-card .rl-team-photo.rl-team-photo {
		width: 100%;
		max-width: 400px;
		aspect-ratio: 4 / 5;
	}
}

/* ── 10 · Why choose us ─────────────────────────────────────────────────────────────────────────────────────────── */

/* The reason's text at the heading's measure, not the slider's 1200 (Markup #12: the width marked in its screenshot).
   On the paragraph: Spectra's width rule out-ranks one on the item. */
.rl-why-item.rl-why-item > p {
	max-width: 860px;
	margin-inline: auto;
}

.rl-why-item h3 {
	font-size: 26px;
	line-height: 1.2;
}

.rl-on-navy .rl-why-item p {
	color: var(--rl-color-on-dark-muted);
}

/* ── 12 · Latest blogs (Spectra Post Grid) ──────────────────────────────────────────────────────────────────────── */

/* The kit's image card: white, a 4px sage top, the card shadow; the photo 16:10, then the date, the title, a two-line
   excerpt and Read More. Spectra prints the title before the date: order puts the date first. */
.rl-post-grid .uagb-post__inner-wrap.uagb-post__inner-wrap {
	display: flex;
	flex-direction: column;
	border-top: 4px solid var(--rl-color-accent);
	background: var(--rl-white);
	box-shadow: var(--rl-shadow-card);
	transition: transform var(--rl-ease), box-shadow var(--rl-ease);
}

.rl-post-grid .uagb-post__inner-wrap:is(:hover, :focus-within) {
	transform: translateY(-4px);
	box-shadow: var(--rl-shadow-card-hover);
}

.rl-post-grid .uagb-post__image {
	order: 0;
	margin: 0;
}

.rl-post-grid .uagb-post__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.rl-post-grid .uagb-post-grid-byline {
	order: 1;
	padding: 24px 24px 0;
}

.rl-post-grid .uagb-post__title {
	order: 2;
	margin: 10px 0 0;
	padding: 0 24px;
	font-size: 20px;
	line-height: 28px;
}

.rl-post-grid .uagb-post__title a {
	color: var(--rl-color-headings);
	text-decoration: none;
}

.rl-post-grid .uagb-post__title a:is(:hover, :focus-visible) {
	text-decoration: underline 2px var(--rl-color-alt-brand);
	text-underline-offset: 3px;
}

.rl-post-grid .uagb-post__date {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--rl-color-body);
}

.rl-post-grid .uagb-post__excerpt {
	order: 3;
	display: -webkit-box;
	overflow: hidden;
	margin: 10px 0 0;
	padding: 0 24px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 16px;
	line-height: 1.5;
	color: var(--rl-color-body);
}

.rl-post-grid .uagb-post__excerpt p {
	margin: 0;
}

.rl-post-grid .uagb-post__cta {
	order: 4;
	margin-top: auto;
	padding: 14px 24px 24px;
}

/* Read More: the brand green 600 with an arrow, like Learn More — not a button (Spectra's default; Markup #13). The
   arrow is text after a no-break space, as Learn More's (_links.css), so the hover underline runs under it too (#46). */
.rl-post-grid .uagb-post__cta a.uagb-text-link {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 600;
	color: var(--rl-color-accent-strong);
	text-decoration: none;
}

.rl-post-grid .uagb-post__cta a.uagb-text-link::after {
	content: "\a0→" / "";
	word-spacing: 0.2em;
}

.rl-post-grid .uagb-post__cta a.uagb-text-link:is(:hover, :focus-visible) {
	text-decoration: underline 2px var(--rl-color-alt-brand);
	text-underline-offset: 3px;
}

/* ── 15 · Contact ───────────────────────────────────────────────────────────────────────────────────────────────── */

.rl-home-contact .rl-form-panel.rl-form-panel {
	padding: 56px 48px;
}

.rl-home-contact .rl-form-panel .gform_footer {
	justify-content: center;
}

@media (max-width: 768px) {
	.rl-home-contact .rl-form-panel.rl-form-panel {
		padding: 32px 20px;
	}
}

/* The hero's tagline under the sheet's H1 (the brief's "Legal Solutions With a Personal Touch"). */
.rl-home-hero .rl-hero-tagline.rl-hero-tagline {
	font-family: var(--rl-font-heading);
	font-size: 26px;
	line-height: 1.4;
	color: var(--rl-white);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ── Carousels ──────────────────────────────────────────────────────────────────────────────────────────────────── */

/* The trust logos, each practice-area tab's cards and the latest posts go one at a time on phones (Markup #31, #33,
   #38, 2026-10-28); the practice-area tabs stay carousels wider, three cards in view and two on tablets (#45,
   2026-10-30 — section 4). At 768px and narrower each .rl-phone-carousel is a row that scrolls sideways and snaps to
   each card. assets/js/phone-carousel.js adds the sliders' controls under each row — previous and next, a dot for each
   stop between — and hides them while the row's cards all fit (the trust logos and the posts, above phones; Real
   Estate's two). Last in the file, so it out-ranks the grids above. */
@media (max-width: 768px) {
	/* Each card its own height: the script sizes the row to the one in view. */
	:is(.site, .editor-styles-wrapper) .rl-phone-carousel.rl-phone-carousel {
		display: flex;
		flex-flow: row nowrap;
		justify-content: flex-start; /* a centered row can't scroll back to its first card */
		align-items: flex-start;
		gap: 20px;
		overflow: auto hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		transition: height 0.2s ease;
	}

	.rl-phone-carousel::-webkit-scrollbar {
		display: none;
	}

	:is(.site, .editor-styles-wrapper) .rl-phone-carousel.rl-phone-carousel > * {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
		margin: 0;
		scroll-snap-align: start;
	}

	/* The post cards' shadow and hover lift need room above and below: a scrolling row clips what spills out of it. The
	   room sits outside the content edge, so the arrows keep their gap. (Spectra holds the row at the section's width,
	   so the faint side shadow stays clipped.) */
	:is(.site, .editor-styles-wrapper) .rl-post-grid.rl-phone-carousel.rl-phone-carousel {
		margin: -8px 0 -16px;
		padding: 8px 0 16px;
	}
}

.rl-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}

.rl-carousel-nav[hidden] {
	display: none;
}

/* The sliders' arrows (_buttons.css): 48px circles, a 1px teal border and arrow; hover fills teal, the arrow navy. */
.rl-carousel-nav__arrow.rl-carousel-nav__arrow {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--rl-color-alt-brand);
	border-radius: 50%;
	background: transparent;
	font-family: var(--rl-font-body);
	font-size: 20px;
	line-height: 1;
	color: var(--rl-color-alt-brand);
	box-shadow: none;
	cursor: pointer;
	transition: background-color var(--rl-ease), color var(--rl-ease), opacity var(--rl-ease);
}

.rl-carousel-nav__arrow--prev::before {
	content: "←" / "";
}

.rl-carousel-nav__arrow--next::before {
	content: "→" / "";
}

.rl-carousel-nav__arrow.rl-carousel-nav__arrow:not([aria-disabled="true"]):is(:hover, :focus-visible) {
	background: var(--rl-color-alt-brand);
	color: var(--rl-color-brand);
}

/* At either end, dimmed as Swiper dims its arrows — not _buttons.css's grey disabled button (body-led, so it wins). */
body .rl-carousel-nav .rl-carousel-nav__arrow.rl-carousel-nav__arrow[aria-disabled="true"] {
	border-color: var(--rl-color-alt-brand);
	background: transparent;
	color: var(--rl-color-alt-brand);
	opacity: 0.35;
	cursor: default;
}

.rl-carousel-nav__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* The sliders' 8px dots, each in a 24px target (WCAG 2.5.8). */
.rl-carousel-nav__dot.rl-carousel-nav__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.rl-carousel-nav__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rl-color-border);
}

.rl-carousel-nav__dot[aria-current="true"]::before {
	background: var(--rl-color-brand);
}
