/**
 * CSI RMC Sulur — church layer on top of the DesignsLabz parent theme.
 *
 * 1. Fonts
 * 2. Tokens (palette + type)
 * 3. Base elements
 * 4. Header
 * 5. Parent block re-skins
 * 6. Church components (.rmc-*)
 * 7. Footer
 */

/* ------------------------------------------------------------------ 1. Fonts */

@font-face {
	font-family: Lora;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/lora-latin-500.woff2") format("woff2");
}

@font-face {
	font-family: Lora;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/lora-latin-600.woff2") format("woff2");
}

@font-face {
	font-family: Lora;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/lora-latin-700.woff2") format("woff2");
}

@font-face {
	font-family: Lora;
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/lora-latin-500-italic.woff2") format("woff2");
}

/* ----------------------------------------------------------------- 2. Tokens */

:root {
	/* Brand palette */
	--rmc-burgundy: #9e2346;
	--rmc-burgundy-deep: #7d1a36;
	--rmc-purple: #5b2c83;
	--rmc-purple-deep: #3d1c5c;
	--rmc-gold: #c89b3c;
	--rmc-gold-soft: #f3e6c8;
	--rmc-bg: #fffdf9;
	--rmc-surface: #fff;
	--rmc-parchment: #f8f1e7;
	--rmc-line: #eadfd0;
	--rmc-heading: #24202a;
	--rmc-body: #514c55;

	--rmc-gradient: linear-gradient(135deg, var(--rmc-burgundy-deep) 0%, var(--rmc-burgundy) 42%, var(--rmc-purple) 100%);
	--rmc-shadow: 0 1px 2px rgb(36 32 42 / 4%), 0 12px 32px -12px rgb(91 44 131 / 18%);

	/* Map the palette onto the parent theme's tokens */
	--dl-color-base: var(--rmc-bg);
	--dl-color-surface: var(--rmc-surface);
	--dl-color-muted: var(--rmc-parchment);
	--dl-color-border: var(--rmc-line);
	--dl-color-border-strong: #d9cab5;
	--dl-color-text: var(--rmc-body);
	--dl-color-text-muted: var(--rmc-body);
	--dl-color-text-subtle: #7b7580;
	--dl-color-contrast: var(--rmc-heading);
	--dl-color-brand-strong: var(--rmc-burgundy);
	--dl-color-brand-soft: #f7e9ed;
	--dl-color-link: var(--rmc-burgundy);
	--dl-color-link-hover: var(--rmc-purple);
	--dl-color-selection-bg: var(--rmc-burgundy);
	--dl-focus-ring: 0 0 0 2px var(--rmc-bg), 0 0 0 4px var(--rmc-purple);

	--dl-font-serif: Lora, "Iowan Old Style", "Apple Garamond", Baskerville, Georgia, "Times New Roman", serif;
	--dl-radius-md: 8px;
	--dl-radius-lg: 14px;
	--dl-header-height: 84px;
}

/* ---------------------------------------------------------- 3. Base elements */

body {
	background: var(--rmc-bg);
	color: var(--rmc-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
}

.site-main {
	overflow-x: clip;
}

/* Pages are built from full-width sections that carry their own spacing. */
body.page .site-main {
	padding-block: 0;
}

/* One button geometry for every variant, so mixed pairs line up exactly. */
body .btn,
body .dl-block-button .btn,
body .wp-element-button {
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

body .dl-block-button .btn {
	font-size: 1rem;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.625rem 1.625rem;
}

body .btn--primary,
body .dl-block-button .btn--primary,
body .wp-element-button {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	color: #fff;
}

body .btn--primary:hover,
body .btn--primary:focus-visible,
body .dl-block-button .btn--primary:hover,
body .wp-element-button:hover,
body .wp-element-button:focus-visible {
	background: var(--rmc-burgundy-deep);
	border-color: var(--rmc-burgundy-deep);
	box-shadow: 0 8px 20px -6px rgb(158 35 70 / 45%);
	color: #fff;
}

body .btn--outline,
body .dl-block-button .btn--outline {
	background: transparent;
	border-color: var(--rmc-burgundy);
	color: var(--rmc-burgundy);
}

body .btn--outline:hover,
body .btn--outline:focus-visible,
body .dl-block-button .btn--outline:hover {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	box-shadow: 0 8px 20px -6px rgb(158 35 70 / 45%);
	color: #fff;
}

body .dl-block-button .btn:focus-visible {
	outline: 2px solid var(--rmc-purple);
	outline-offset: 3px;
}

body .dl-block-button .btn svg {
	flex: none;
	transition: transform 0.2s ease;
}

body .dl-block-button .btn:hover svg {
	transform: translateX(3px);
}

/* A lone button under text gets clear space above it. */
.dl-block-section p + .dl-block-button,
.dl-block-section ul + .dl-block-button {
	margin-block-start: 1.75rem;
}

/* ------------------------------------------------------------------ 4. Header */

.site-header {
	background: var(--rmc-surface);
	border-block-end: 1px solid var(--rmc-line);
	box-shadow: 0 -3px 0 0 var(--rmc-gold) inset;
}

.site-header__brand {
	padding-inline-start: 3.25rem;
	position: relative;
}

/* Cross emblem beside the church name (shown when no logo is uploaded). */
.site-header__brand:not(:has(.custom-logo))::before {
	background: var(--rmc-gradient);
	border-radius: 50%;
	content: "";
	height: 2.5rem;
	inset-block-start: 50%;
	inset-inline-start: 0;
	position: absolute;
	transform: translateY(-50%);
	width: 2.5rem;
}

.site-header__brand:not(:has(.custom-logo))::after {
	background:
		linear-gradient(#fff, #fff) center 38% / 0.875rem 2px no-repeat,
		linear-gradient(#fff, #fff) center / 2px 1.375rem no-repeat;
	content: "";
	height: 2.5rem;
	inset-block-start: 50%;
	inset-inline-start: 0;
	position: absolute;
	transform: translateY(-50%);
	width: 2.5rem;
}

.site-header__brand:has(.custom-logo) {
	padding-inline-start: 0;
}

.site-header__title {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	text-decoration: none;
}

.site-header__tagline {
	color: var(--rmc-burgundy);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0.125rem 0 0;
	text-transform: uppercase;
}

.site-header .menu--primary a {
	color: var(--rmc-heading);
	font-weight: 500;
}

.site-header .menu--primary a:hover,
.site-header .menu--primary .current-menu-item > a,
.site-header .menu--primary .current_page_item > a {
	color: var(--rmc-burgundy);
}

.site-header__cta {
	white-space: nowrap;
}

/* --------------------------------------------------- 5. Parent block re-skins */

/* Hero — brand gradient with a soft glow and a faint arch motif. */
body .dl-block-hero.hero--bg-gradient {
	background:
		radial-gradient(60rem 30rem at 85% 0%, rgb(200 155 60 / 28%), transparent 60%),
		radial-gradient(40rem 26rem at 0% 100%, rgb(61 28 92 / 55%), transparent 70%),
		var(--rmc-gradient);
	isolation: isolate;
}

body .dl-block-hero.hero--bg-gradient::after {
	border: 1px solid rgb(255 255 255 / 14%);
	border-block-end: 0;
	border-radius: 50vw 50vw 0 0;
	bottom: 0;
	box-shadow:
		0 0 0 3rem rgb(255 255 255 / 3%),
		0 0 0 6rem rgb(255 255 255 / 2%);
	content: "";
	height: 78%;
	inset-inline-end: 6%;
	max-width: 30rem;
	pointer-events: none;
	position: absolute;
	width: 34%;
	z-index: 0;
}

body .dl-block-hero .dl-block-hero__inner {
	padding-block: clamp(3.5rem, 8vw, 6rem);
	padding-inline: var(--dl-gutter);
}

body .dl-block-hero .dl-block-hero__content {
	max-width: 46rem;
}

body .dl-block-hero .dl-block-hero__eyebrow {
	color: var(--rmc-gold-soft);
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	opacity: 1;
}

body .dl-block-hero .dl-block-hero__title {
	font-family: var(--dl-font-heading);
	font-size: clamp(2.25rem, 5.2vw, 4rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.12;
	text-wrap: balance;
}

body .dl-block-hero .dl-block-hero__subtitle {
	max-width: 38rem;
	opacity: 0.92;
}

body .dl-block-hero .dl-block-hero__content[style*="center"] .dl-block-hero__subtitle {
	margin-inline: auto;
}

body .dl-block-hero .dl-block-hero__content[style*="center"] .dl-block-hero__subtitle:last-child {
	margin-block-end: 0;
}

body .dl-block-hero .dl-block-hero__actions .btn--primary {
	background: #fff;
	border-color: #fff;
	color: var(--rmc-burgundy-deep);
}

body .dl-block-hero .dl-block-hero__actions .btn--primary:hover,
body .dl-block-hero .dl-block-hero__actions .btn--primary:focus-visible {
	background: var(--rmc-gold-soft);
	border-color: var(--rmc-gold-soft);
	color: var(--rmc-burgundy-deep);
}

body .dl-block-hero .dl-block-hero__actions .btn {
	border-width: 2px;
}

body .dl-block-hero .dl-block-hero__actions .btn--outline {
	border-color: rgb(255 255 255 / 70%);
	color: #fff;
}

body .dl-block-hero .dl-block-hero__actions .btn--outline:hover,
body .dl-block-hero .dl-block-hero__actions .btn--outline:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--rmc-burgundy-deep);
}

/* Shared eyebrow + heading treatment across the parent's section blocks. */
.rmc-eyebrow,
.section-eyebrow,
.timeline__eyebrow,
.team__eyebrow,
.latest-posts__eyebrow,
.icon-list__eyebrow,
body .dl-block-map__eyebrow {
	color: var(--rmc-burgundy) !important;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	margin: 0 0 0.625rem;
	text-transform: uppercase;
}

body .dl-block-section h2,
.section-title,
body .dl-block-timeline .timeline__heading,
body .dl-block-team .team__heading,
body .dl-block-latest-posts .latest-posts__heading {
	font-family: var(--dl-font-heading);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-wrap: balance;
}

body .dl-block-section h2 {
	margin-block: 0 1rem;
}

body .dl-block-section h3 {
	font-size: 1.375rem;
	font-weight: 600;
	margin-block: 0 1rem;
}

body .dl-block-section p {
	line-height: 1.75;
}

/* Feature cards */
body .dl-block-feature-card {
	background: var(--rmc-surface);
	border-color: var(--rmc-line);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	height: 100%;
}

body .dl-block-feature-card:hover {
	box-shadow: 0 1px 2px rgb(36 32 42 / 4%), 0 20px 40px -14px rgb(91 44 131 / 28%);
}

body .dl-block-feature-card .dl-feature-card__icon {
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
}

body .dl-block-feature-card .dl-feature-card__title {
	font-size: 1.25rem;
}

body .dl-block-feature-card .dl-feature-card__body {
	margin-block-end: 0;
	opacity: 1;
}

/* Timeline */
body .dl-block-timeline .timeline__track {
	margin-inline: auto;
}

body .dl-block-timeline .timeline__progress-fill {
	background: var(--rmc-burgundy);
}

body .dl-block-timeline .timeline-step__dot {
	background: var(--rmc-surface);
	border-color: var(--rmc-gold);
}

body .dl-block-timeline .timeline-step__date {
	color: var(--rmc-burgundy);
	font-family: var(--dl-font-heading);
	font-size: 1.125rem;
	letter-spacing: 0;
}

body .dl-block-timeline .timeline-step__title {
	font-weight: 600;
}

body .dl-block-timeline .timeline-step__body,
body .dl-block-team .team-card__bio,
body .dl-block-latest-posts .latest-post-card__excerpt,
body .dl-block-faq .faq-item__body {
	opacity: 1;
}

/* Team */
body .dl-block-team .team__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
	justify-content: center;
}

body .dl-block-team .team-card {
	background: var(--rmc-bg);
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	padding: 2rem 1.5rem;
}

body .dl-block-team .team-card__media {
	background: var(--rmc-gradient);
}

/* No portrait yet: show a cross rather than initials (titles such as "Rev." make poor initials). */
body .dl-block-team .team-card__initials {
	background:
		linear-gradient(#fff, #fff) center 36% / 1.5rem 3px no-repeat,
		linear-gradient(#fff, #fff) center / 3px 2.5rem no-repeat;
	font-size: 0;
	height: 100%;
	width: 100%;
}

body .dl-block-team .team-card__name {
	font-size: 1.125rem;
	font-weight: 600;
}

/* FAQ */
body .section-title {
	color: var(--rmc-heading);
	margin-block: 0;
	opacity: 1;
}

body .dl-block-faq {
	padding-block: 0;
}

body .dl-block-faq .faq-item {
	background: var(--rmc-surface);
	border-color: var(--rmc-line);
}

body .dl-block-faq .faq-item__trigger {
	color: var(--rmc-heading);
	font-size: 1.0625rem;
}

/* Latest posts */
body .dl-block-latest-posts .latest-post-card {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	overflow: hidden;
	padding: 0 0 1.5rem;
}

body .dl-block-latest-posts .latest-post-card > :not(.latest-post-card__media) {
	padding-inline: 1.5rem;
}

body .dl-block-latest-posts .latest-post-card:not(:has(.latest-post-card__media)) {
	border-block-start: 4px solid var(--rmc-gold);
	padding-block-start: 1.5rem;
}

body .dl-block-latest-posts .latest-posts__grid:has(> :only-child) {
	grid-template-columns: minmax(0, 28rem);
	justify-content: center;
}

body .dl-block-latest-posts .latest-post-card__media {
	background: var(--rmc-gradient);
	border-radius: 0;
	position: relative;
}

/* Cards without a featured image get a cross on the brand gradient. */
body .dl-block-latest-posts .latest-post-card__media:not(:has(img))::after {
	background:
		linear-gradient(rgb(255 255 255 / 85%), rgb(255 255 255 / 85%)) center 40% / 2rem 3px no-repeat,
		linear-gradient(rgb(255 255 255 / 85%), rgb(255 255 255 / 85%)) center / 3px 3.25rem no-repeat;
	content: "";
	inset: 0;
	position: absolute;
}

body .dl-block-latest-posts .latest-post-card__meta {
	color: var(--rmc-burgundy);
	font-weight: 600;
	letter-spacing: 0.06em;
	opacity: 1;
	text-transform: uppercase;
}

body .dl-block-latest-posts .latest-post-card__title {
	font-size: 1.1875rem;
	font-weight: 600;
}

/* Call to action band */
body .dl-block-cta.dl-block-cta--accent {
	background:
		radial-gradient(50rem 24rem at 100% 0%, rgb(200 155 60 / 26%), transparent 60%),
		var(--rmc-gradient);
}

body .dl-block-cta .dl-block-cta__headline {
	color: #fff;
	font-family: var(--dl-font-heading);
	font-size: clamp(2rem, 4.2vw, 3rem);
	font-weight: 600;
}

body .dl-block-cta .dl-block-cta__sub {
	margin-inline: auto;
	opacity: 0.92;
}

body .dl-block-cta .dl-block-cta__inner .btn--primary {
	background: #fff;
	border-color: #fff;
	color: var(--rmc-burgundy-deep);
}

body .dl-block-cta .dl-block-cta__inner .btn--primary:hover,
body .dl-block-cta .dl-block-cta__inner .btn--primary:focus-visible {
	background: var(--rmc-gold-soft);
	border-color: var(--rmc-gold-soft);
	color: var(--rmc-burgundy-deep);
}

/* ------------------------------------------------- 6. Church components (.rmc-*) */

/* Tinted section background */
body .dl-block-section.rmc-tint {
	background: var(--rmc-parchment);
}

/* Centred section heading group */
.rmc-section-head {
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 44rem;
	text-align: center;
}

.rmc-section-head > :last-child {
	margin-block-end: 0;
}

/* Gold rule under centred headings */
.rmc-section-head h2::after {
	background: var(--rmc-gold);
	border-radius: 2px;
	content: "";
	display: block;
	height: 3px;
	margin: 1rem auto 0;
	width: 3.5rem;
}

/* Two-column text + card layout */
.wp-block-columns.rmc-split {
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	margin-block: 0;
}

.wp-block-columns.rmc-split > .wp-block-column:first-child {
	flex-basis: 56%;
}

.wp-block-columns.rmc-split > .wp-block-column:last-child {
	flex-basis: 44%;
}

.wp-block-columns.rmc-cards {
	gap: 1.5rem;
	margin-block: 0 1.5rem;
}

.wp-block-columns.rmc-cards:last-child {
	margin-block-end: 0;
}

.wp-block-columns.rmc-cards + .dl-block-button,
.wp-block-columns.rmc-cards + .wp-block-dl-button {
	margin-block-start: 2.5rem;
}

/* Raised card */
.rmc-card {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 4px solid var(--rmc-gold);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.rmc-card > :last-child {
	margin-block-end: 0;
}

.rmc-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	justify-content: flex-end;
}

/* The parent adds top margin between stacked blocks; in a row that pushes later buttons down. */
.rmc-actions > *,
.rmc-actions > .dl-block-button {
	margin: 0 !important;
}

.dl-block-section p + .rmc-actions,
.dl-block-section ul + .rmc-actions,
.dl-block-section .rmc-videos + .rmc-actions,
.dl-block-section .wp-block-columns + .rmc-actions {
	margin-block-start: 1.75rem;
}

/* Service times */
.rmc-services {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.rmc-services__item {
	align-items: baseline;
	border-block-end: 1px solid var(--rmc-line);
	column-gap: 1rem;
	display: grid;
	grid-template-columns: 1fr auto;
	padding-block: 0.875rem;
}

.rmc-services__item:first-child {
	padding-block-start: 0;
}

.rmc-services__day {
	color: var(--rmc-burgundy);
	font-size: 0.75rem;
	font-weight: 600;
	grid-column: 1 / -1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rmc-services__name {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.rmc-services__time {
	color: var(--rmc-heading);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	text-align: end;
}

.rmc-services__time.is-pending {
	color: #7b7580;
	font-size: 0.875rem;
	font-style: italic;
	font-weight: 400;
}

.rmc-services__note {
	font-size: 0.875rem;
	grid-column: 1 / -1;
}

.rmc-services__hint {
	font-size: 0.9375rem;
	margin: 0 0 1rem;
}

/* Service times as cards when placed directly in a section (Worship page). */
body .dl-block-section__inner > .rmc-services {
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

body .dl-block-section__inner > .rmc-services .rmc-services__item {
	align-content: start;
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 4px solid var(--rmc-gold);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	grid-template-columns: 1fr;
	padding: 1.5rem;
	row-gap: 0.375rem;
}

body .dl-block-section__inner > .rmc-services .rmc-services__time {
	text-align: start;
}

body .dl-block-section__inner > .rmc-services__hint {
	text-align: center;
}

/* Scripture band */
body .dl-block-section.rmc-verse {
	background:
		radial-gradient(40rem 20rem at 50% 0%, rgb(200 155 60 / 22%), transparent 65%),
		linear-gradient(135deg, var(--rmc-purple-deep), var(--rmc-purple));
	color: #fff;
	text-align: center;
}

.rmc-verse .rmc-verse__text {
	color: #fff;
	font-family: var(--dl-font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 1rem;
}

.rmc-verse .rmc-verse__cite {
	color: var(--rmc-gold-soft);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin: 0;
	text-transform: uppercase;
}

/* Contact card */
.rmc-contact__row {
	border-block-end: 1px solid var(--rmc-line);
	padding-block: 1rem;
}

.rmc-contact__row:first-child {
	padding-block-start: 0;
}

.rmc-contact__row:last-child {
	border-block-end: 0;
	padding-block-end: 0;
}

.rmc-contact .rmc-contact__label {
	color: var(--rmc-burgundy);
	font-family: var(--dl-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin: 0 0 0.25rem;
	text-transform: uppercase;
}

.rmc-contact p {
	margin: 0 0 0.25rem;
}

.rmc-contact strong {
	color: var(--rmc-heading);
}

.rmc-contact__social {
	display: flex;
	gap: 1.25rem;
}

/* Latest-service video */
.rmc-video {
	aspect-ratio: 16 / 9;
	background: var(--rmc-heading);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	overflow: hidden;
}

.rmc-video iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

/* Plain list with gold markers */
.dl-block-section ul.rmc-list {
	display: grid;
	gap: 0.625rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.dl-block-section ul.rmc-list li {
	padding-inline-start: 1.5rem;
	position: relative;
}

.dl-block-section ul.rmc-list li::before {
	background: var(--rmc-gold);
	border-radius: 50%;
	content: "";
	height: 0.5rem;
	inset-block-start: 0.6em;
	inset-inline-start: 0;
	position: absolute;
	width: 0.5rem;
}

.dl-block-section ul.rmc-list strong {
	color: var(--rmc-heading);
}

/* Small-print note */
.rmc-note {
	color: #7b7580;
	font-size: 0.875rem;
}

/* Map */
.rmc-map {
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	overflow: hidden;
}

.rmc-map iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

/* ------------------------------------------------------------------ 7. Footer */

.site-footer.rmc-footer {
	background: var(--rmc-heading);
	border-block-start: 4px solid var(--rmc-gold);
	color: rgb(255 255 255 / 78%);
	margin-block-start: 0;
	padding-block: 0;
}

.rmc-footer a {
	color: #fff;
	text-decoration: none;
}

.rmc-footer a:hover,
.rmc-footer a:focus-visible {
	color: var(--rmc-gold);
	text-decoration: underline;
}

.rmc-footer__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1.4fr 1.3fr 0.8fr 1fr;
	margin-inline: auto;
	max-width: var(--dl-container);
	padding: clamp(3rem, 6vw, 4.5rem) var(--dl-gutter) 3rem;
}

.rmc-footer__name {
	color: #fff;
	font-family: var(--dl-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.375rem;
}

.rmc-footer__meta {
	color: var(--rmc-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.rmc-footer__text,
.rmc-footer__col p {
	font-size: 0.9375rem;
	margin: 0 0 0.5rem;
}

.rmc-footer .rmc-footer__heading {
	color: #fff;
	font-family: var(--dl-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin: 0 0 1.125rem;
	text-transform: uppercase;
}

.rmc-footer__menu {
	display: grid;
	gap: 0.5rem;
	font-size: 0.9375rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rmc-footer__address {
	font-size: 0.9375rem;
	font-style: normal;
	line-height: 1.7;
	margin: 0 0 0.75rem;
}

.rmc-footer .site-footer__social {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.rmc-footer .site-footer__social-link {
	align-items: center;
	border: 1px solid rgb(255 255 255 / 25%);
	border-radius: 50%;
	display: inline-flex;
	height: 2.5rem;
	justify-content: center;
	width: 2.5rem;
}

.rmc-footer .site-footer__social-link:hover {
	border-color: var(--rmc-gold);
}

.rmc-footer .rmc-services {
	margin: 0;
}

.rmc-footer .rmc-services__item {
	border-color: rgb(255 255 255 / 12%);
	padding-block: 0.625rem;
}

.rmc-footer .rmc-services__item:first-child {
	padding-block-start: 0;
}

.rmc-footer .rmc-services__day {
	color: var(--rmc-gold);
	font-size: 0.6875rem;
}

.rmc-footer .rmc-services__name {
	color: #fff;
	font-family: var(--dl-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
}

.rmc-footer .rmc-services__time {
	color: #fff;
	font-size: 0.875rem;
}

.rmc-footer .rmc-services__time.is-pending {
	color: rgb(255 255 255 / 60%);
	font-size: 0.8125rem;
}

.rmc-footer .rmc-footer__bar {
	align-items: center;
	border-block-start: 1px solid rgb(255 255 255 / 12%);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	gap: 0.5rem 2rem;
	justify-content: space-between;
	margin-inline: auto;
	max-width: var(--dl-container);
	padding: 1.25rem var(--dl-gutter);
}

.rmc-footer__bar p {
	color: rgb(255 255 255 / 70%);
	margin: 0;
}

.rmc-footer .rmc-footer__motto {
	color: var(--rmc-gold-soft);
	font-family: var(--dl-font-heading);
	font-style: italic;
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1023px) {
	.rmc-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 781px) {
	.wp-block-columns.rmc-split > .wp-block-column {
		flex-basis: 100% !important;
	}

	.rmc-actions {
		justify-content: flex-start;
	}

	.dl-block-hero.hero--bg-gradient::after {
		opacity: 0.5;
		width: 60%;
	}
}

@media (max-width: 599px) {
	.rmc-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-header__tagline {
		display: none;
	}

	.site-header__title {
		font-size: 1rem;
	}
}

@media (max-width: 781px) {
	/* The menu already links to Contact; keep the small-screen header to brand + menu button. */
	.site-header__cta {
		display: none;
	}
}

/* ------------------------------------------------ Presbyter (split content) */

body .dl-block-split-content .split-content__inner {
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
}

body .dl-block-split-content .split-content__media {
	position: relative;
}

/* Gold frame offset behind the portrait */
body .dl-block-split-content .split-content__media::before {
	border: 2px solid var(--rmc-gold);
	border-radius: 14px;
	content: "";
	inset: 1rem -1rem -1rem 1rem;
	position: absolute;
	z-index: 0;
}

body .dl-block-split-content .split-content__media img,
body .dl-block-split-content .split-content__media-placeholder {
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	object-fit: cover;
	position: relative;
	z-index: 1;
}

/* Until a portrait is uploaded: brand gradient with a cross. */
body .dl-block-split-content .split-content__media-placeholder {
	background:
		linear-gradient(rgb(255 255 255 / 85%), rgb(255 255 255 / 85%)) center 40% / 3rem 4px no-repeat,
		linear-gradient(rgb(255 255 255 / 85%), rgb(255 255 255 / 85%)) center / 4px 5.5rem no-repeat,
		var(--rmc-gradient);
}

body .dl-block-split-content .split-content__eyebrow {
	color: var(--rmc-burgundy);
	letter-spacing: 0.14em;
	margin-block-end: 0.625rem;
}

body .dl-block-split-content .split-content__heading {
	font-family: var(--dl-font-heading);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.01em;
}

body .dl-block-split-content .split-content__body {
	line-height: 1.75;
	opacity: 1;
}

@media (max-width: 767px) {
	body .dl-block-split-content .split-content__inner {
		grid-template-columns: 1fr;
	}

	body .dl-block-split-content .split-content__media {
		margin-inline: auto;
		max-width: 18rem;
		width: 100%;
	}
}

/* ------------------------------------------------- Section landing: sub-pages */

.rmc-subpages {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.rmc-subpages__card {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 4px solid var(--rmc-gold);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	color: var(--rmc-body);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	padding: 1.75rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rmc-subpages__card:hover,
.rmc-subpages__card:focus-visible {
	box-shadow: 0 1px 2px rgb(36 32 42 / 4%), 0 20px 40px -14px rgb(91 44 131 / 28%);
	color: var(--rmc-body);
	transform: translateY(-3px);
}

.rmc-subpages__title {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.rmc-subpages__text {
	font-size: 0.9375rem;
	line-height: 1.6;
}

.rmc-subpages__more {
	color: var(--rmc-burgundy);
	font-size: 0.875rem;
	font-weight: 600;
	margin-block-start: auto;
	padding-block-start: 0.5rem;
}

/* "In this section" strip at the foot of child pages */
.rmc-section-nav {
	background: var(--rmc-surface);
	border-block-start: 1px solid var(--rmc-line);
}

.rmc-section-nav__inner {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin-inline: auto;
	max-width: var(--dl-container);
	padding: 1.5rem var(--dl-gutter);
}

.rmc-section-nav__parent {
	color: var(--rmc-burgundy);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.rmc-section-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rmc-section-nav__list a {
	border: 1px solid var(--rmc-line);
	border-radius: 999px;
	color: var(--rmc-heading);
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.375rem 0.875rem;
	text-decoration: none;
}

.rmc-section-nav__list a:hover,
.rmc-section-nav__list a:focus-visible {
	border-color: var(--rmc-burgundy);
	color: var(--rmc-burgundy);
}

.rmc-section-nav__list a[aria-current="page"] {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	color: #fff;
}

/* -------------------------------------------------------------------- Events */

.rmc-events {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 0 auto 2rem;
	max-width: 52rem;
	padding: 0;
}

.rmc-events:last-child {
	margin-block-end: 0;
}

.rmc-events__item {
	align-items: center;
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	display: flex;
	gap: 1.5rem;
	padding: 1.25rem 1.5rem;
}

.rmc-events__date {
	background: var(--rmc-gradient);
	border-radius: 10px;
	color: #fff;
	flex: 0 0 5.25rem;
	padding: 0.75rem 0.5rem;
	text-align: center;
}

.rmc-events__day {
	display: block;
	font-family: var(--dl-font-heading);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
}

.rmc-events__month {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin-block-start: 0.25rem;
	text-transform: uppercase;
}

.rmc-events .rmc-events__title {
	font-size: 1.25rem;
	margin: 0 0 0.125rem;
}

.rmc-events .rmc-events__meta {
	color: var(--rmc-burgundy);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 0.25rem;
}

.rmc-events .rmc-events__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
}

/* ------------------------------------------------- Empty states, tables, misc */

.dl-block-section p.rmc-empty,
.rmc-empty {
	background: var(--rmc-surface);
	border: 1px dashed #d9cab5;
	border-radius: 14px;
	margin: 0 auto 2rem;
	max-width: 44rem;
	padding: 1.5rem;
	text-align: center;
}

.rmc-card .rmc-empty {
	margin-block-end: 0;
}

.wp-block-table.rmc-table {
	margin: 0 auto 2rem;
	max-width: 60rem;
	overflow-x: auto;
}

.rmc-table table {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-collapse: separate;
	border-radius: 14px;
	border-spacing: 0;
	box-shadow: var(--rmc-shadow);
	overflow: hidden;
	width: 100%;
}

.rmc-table th,
.rmc-table td {
	border: 0;
	border-block-end: 1px solid var(--rmc-line);
	padding: 0.875rem 1.25rem;
	text-align: start;
	vertical-align: top;
}

.rmc-table th {
	background: var(--rmc-parchment);
	color: var(--rmc-burgundy);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rmc-table tr:last-child td {
	border-block-end: 0;
}

.rmc-table td:first-child {
	color: var(--rmc-heading);
	font-weight: 600;
	white-space: nowrap;
}

.dl-block-section p.rmc-prayer {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.8;
}

.wp-block-columns.rmc-split--top {
	align-items: flex-start;
}

.wp-block-columns.rmc-split--even > .wp-block-column {
	flex-basis: 50% !important;
}

.rmc-actions--start {
	justify-content: flex-start;
}

.rmc-actions--center {
	justify-content: center;
}

/* ----------------------------------------------------------- CraftRoq Forms */

.rmc-card .crforms-form,
.rmc-card form[class*="crforms"] {
	margin: 0;
}

body .rmc-card [class*="crforms"] input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]),
body .rmc-card [class*="crforms"] select,
body .rmc-card [class*="crforms"] textarea {
	background: var(--rmc-bg);
	border: 1px solid #d9cab5;
	border-radius: 8px;
	color: var(--rmc-heading);
	font: inherit;
	padding: 0.625rem 0.75rem;
	width: 100%;
}

body .rmc-card [class*="crforms"] input:focus,
body .rmc-card [class*="crforms"] select:focus,
body .rmc-card [class*="crforms"] textarea:focus {
	border-color: var(--rmc-purple);
	box-shadow: 0 0 0 3px rgb(91 44 131 / 18%);
	outline: 0;
}

body .rmc-card [class*="crforms"] label,
body .rmc-card [class*="crforms"] legend {
	color: var(--rmc-heading);
	font-size: 0.875rem;
	font-weight: 600;
}

body .rmc-card [class*="crforms"] button[type="submit"],
body .rmc-card [class*="crforms"] input[type="submit"] {
	background: var(--rmc-burgundy);
	border: 1px solid var(--rmc-burgundy);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 0.75rem 1.75rem;
}

body .rmc-card [class*="crforms"] button[type="submit"]:hover,
body .rmc-card [class*="crforms"] input[type="submit"]:hover {
	background: var(--rmc-burgundy-deep);
	border-color: var(--rmc-burgundy-deep);
}

@media (max-width: 599px) {
	.rmc-events__item {
		align-items: flex-start;
		gap: 1rem;
		padding: 1rem;
	}

	.rmc-events__date {
		flex-basis: 4.25rem;
	}
}

/* The parent spaces sibling list items; these lists manage their own gaps. */
.rmc-subpages > li,
.rmc-section-nav__list > li,
.rmc-events > li,
.rmc-services > li,
.rmc-footer__menu > li {
	margin: 0;
}

/* ------------------------------------------------------- Header: dropdowns */

.site-header .menu--primary {
	gap: 0.25rem 1.5rem;
}

.site-header .menu-item-has-children .sub-menu {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 3px solid var(--rmc-gold);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 40px -18px rgb(36 32 42 / 35%);
	min-width: 14rem;
	padding: 0.5rem;
}

.site-header .menu-item-has-children .sub-menu > li {
	margin: 0;
}

.site-header .menu-item-has-children .sub-menu a {
	border-radius: 8px;
	color: var(--rmc-heading);
	font-weight: 500;
	padding: 0.5rem 0.75rem;
}

.site-header .menu-item-has-children .sub-menu a:hover,
.site-header .menu-item-has-children .sub-menu a:focus-visible,
.site-header .menu-item-has-children .sub-menu .current-menu-item > a {
	background: var(--dl-color-brand-soft);
	color: var(--rmc-burgundy);
}

/* "More" panel: one column per section, heading links in small caps. */
.site-header .menu > .mega-menu > .sub-menu {
	gap: 1rem 2rem;
	inset-inline: auto var(--dl-gutter);
	max-width: 60rem;
	padding: 1.5rem;
	width: calc(100vw - 2 * var(--dl-gutter));
}

.site-header .menu > .mega-menu > .sub-menu > .menu-item-has-children > a {
	border-block-end: 1px solid var(--rmc-line);
	border-radius: 0;
	color: var(--rmc-burgundy);
	letter-spacing: 0.1em;
	margin-block-end: 0.375rem;
	padding: 0 0.75rem 0.5rem;
}

.site-header .menu > .mega-menu > .sub-menu .sub-menu {
	border: 0;
	padding: 0;
}

.site-header .menu > .mega-menu > a[href="#"] {
	cursor: default;
}

/* Between tablet and wide desktop the menu needs the room more than the button does. */
@media (max-width: 1279px) {
	.site-header__cta {
		display: none;
	}

	.site-header .menu--primary {
		column-gap: 1.125rem;
	}
}

/* ------------------------------------------------ Home banner: service card */

.rmc-hero-card {
	display: none;
}

@media (min-width: 1100px) {
	body.is-front-page .dl-block-hero .dl-block-hero__content {
		max-width: min(42rem, 56%);
	}

	/* Sits inside the arch on the right of the banner. */
	body .dl-block-hero.hero--bg-gradient::after {
		inset-inline-end: max(var(--dl-gutter), calc((100vw - var(--dl-container)) / 2 + var(--dl-gutter)));
		width: 24rem;
	}

	.rmc-hero-card {
		bottom: 0;
		color: #fff;
		display: flex;
		flex-direction: column;
		height: 78%;
		inset-inline-end: max(var(--dl-gutter), calc((100vw - var(--dl-container)) / 2 + var(--dl-gutter)));
		justify-content: center;
		padding: 5rem 2.5rem 2rem;
		position: absolute;
		text-align: center;
		width: 24rem;
		z-index: 2;
	}

	.rmc-hero-card p {
		margin: 0;
	}

	.rmc-hero-card__eyebrow {
		color: var(--rmc-gold-soft);
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.16em;
		text-transform: uppercase;
	}

	.rmc-hero-card__time {
		font-family: var(--dl-font-heading);
		font-size: 3.5rem;
		font-weight: 600;
		line-height: 1.15;
	}

	.rmc-hero-card__name {
		font-family: var(--dl-font-heading);
		font-size: 1.25rem;
		font-style: italic;
	}

	.rmc-hero-card__list {
		border-block-start: 1px solid rgb(255 255 255 / 25%);
		display: grid;
		font-size: 0.9375rem;
		gap: 0.375rem;
		list-style: none;
		margin: 1.25rem auto 0;
		padding: 1.25rem 0 0;
	}

	.rmc-hero-card__list > li {
		margin: 0;
		opacity: 0.92;
	}

	.rmc-hero-card__list a {
		color: #fff;
		font-weight: 600;
		text-decoration: underline;
		text-decoration-color: var(--rmc-gold);
		text-underline-offset: 3px;
	}

	.rmc-hero-card__list a:hover,
	.rmc-hero-card__list a:focus-visible {
		color: var(--rmc-gold-soft);
	}
}

/* ------------------------------------------------ Facts strip, video grid */

.rmc-facts {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	text-align: center;
}

.rmc-facts__item {
	border-inline-start: 1px solid #d9cab5;
	padding-inline: 1rem;
}

.rmc-facts__item:first-child {
	border-inline-start: 0;
}

.rmc-facts__value {
	color: var(--rmc-burgundy);
	display: block;
	font-family: var(--dl-font-heading);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.1;
}

.rmc-facts__label {
	color: var(--rmc-heading);
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-block-start: 0.5rem;
	text-transform: uppercase;
}

.rmc-videos {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	margin-block-end: 2.5rem;
}

.rmc-videos__item {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	color: var(--rmc-body);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.rmc-videos__item:hover,
.rmc-videos__item:focus-visible {
	transform: translateY(-3px);
}

.rmc-videos__item img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.rmc-videos__date {
	color: var(--rmc-burgundy);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 1rem 1.25rem 0;
	text-transform: uppercase;
}

.rmc-videos__title {
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	padding: 0.25rem 1.25rem 1.25rem;
}

/* Numbered step cards use a numeral in the icon badge. */
body .dl-block-feature-card .dl-feature-card__icon {
	font-family: var(--dl-font-heading);
	font-weight: 600;
}

.wp-block-columns.rmc-split--flip > .wp-block-column:first-child {
	flex-basis: 44%;
}

.wp-block-columns.rmc-split--flip > .wp-block-column:last-child {
	flex-basis: 56%;
}

.dl-block-section .has-text-align-center {
	text-align: center;
}

.rmc-table td:last-child a {
	font-weight: 600;
	white-space: nowrap;
}

/* --------------------------------------------- Split rows: alignment fixes */

@media (min-width: 782px) {
	.wp-block-columns.rmc-split--center {
		align-items: center !important;
	}

	.wp-block-columns.rmc-split--center > .wp-block-column {
		align-self: center;
	}

	.wp-block-columns.rmc-split--center > .wp-block-column > :last-child {
		margin-block-end: 0;
	}

	.wp-block-columns.rmc-split--top {
		align-items: flex-start !important;
	}
}

/* Cards beside text keep their natural height instead of stretching. */
.wp-block-columns.rmc-split--top .rmc-card,
.wp-block-columns.rmc-split--center .rmc-card {
	height: auto;
}

@media (max-width: 781px) {
	.rmc-actions,
	.rmc-actions--center {
		justify-content: flex-start;
	}

	.rmc-actions--center {
		justify-content: center;
	}
}

@media (max-width: 479px) {
	/* Stack button pairs full-width on phones. */
	.rmc-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.rmc-actions > .dl-block-button,
	.rmc-actions > .dl-block-button .btn {
		justify-content: center !important;
		width: 100%;
	}
}

/*
 * "More" panel: the parent's dropdown script treats each column as its own
 * hover dropdown (hiding its list until hovered, then animating it open),
 * which makes the columns flicker. Inside the panel the lists are simply
 * always shown.
 */
.site-header .menu > .mega-menu > .sub-menu .sub-menu,
.site-header .menu > .mega-menu > .sub-menu .sub-menu[hidden] {
	animation: none !important;
	clip-path: none !important;
	display: flex !important;
	height: auto !important;
	opacity: 1 !important;
	overflow: visible !important;
	transform: none !important;
	transition: none !important;
	visibility: visible !important;
}

.site-header .menu > .mega-menu > .sub-menu .sub-menu-toggle {
	display: none !important;
}

/* Keep the pointer path from "More" down to the panel unbroken. */
.site-header .menu > .mega-menu > .sub-menu::before {
	block-size: 1.5rem;
	inset-inline: 0;
}

/* --------------------------------------------------------- Footer refinements */

.rmc-footer__grid {
	grid-template-columns: 1.3fr 1.1fr 1.2fr 1fr;
}

.rmc-footer__services {
	display: grid;
	gap: 0.875rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.rmc-footer__services > li {
	border-inline-start: 3px solid var(--rmc-gold);
	margin: 0;
	padding-inline-start: 0.875rem;
}

.rmc-footer__service-time {
	color: #fff;
	display: block;
	font-family: var(--dl-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.rmc-footer__service-name {
	display: block;
	font-size: 0.875rem;
}

/* Section links in two columns */
.rmc-footer__menu {
	column-gap: 1.5rem;
	grid-template-columns: 1fr 1fr;
}

.rmc-footer .rmc-footer__bar {
	display: grid;
	gap: 0.5rem 2rem;
	grid-template-columns: 1fr auto 1fr;
}

.rmc-footer .rmc-footer__motto {
	text-align: center;
}

.rmc-footer__credit {
	text-align: end;
}

.rmc-footer__credit a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--rmc-gold);
	text-underline-offset: 3px;
}

@media (max-width: 1023px) {
	.rmc-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 781px) {
	.rmc-footer .rmc-footer__bar {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.rmc-footer__credit {
		text-align: center;
	}
}

@media (max-width: 599px) {
	.rmc-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------- News & category archives */

body.blog .site-main,
body.category .site-main {
	padding-block: 0;
}

.rmc-news {
	margin-inline: auto;
	max-width: var(--dl-container);
	padding: clamp(2.5rem, 5vw, 4rem) var(--dl-gutter) clamp(3rem, 6vw, 5rem);
}

/* Category tabs */
.rmc-news__tabs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	justify-content: center;
	list-style: none;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: 0;
}

.rmc-news__tabs li {
	margin: 0;
}

.rmc-news__tabs a {
	align-items: center;
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 999px;
	color: var(--rmc-heading);
	display: inline-flex;
	font-size: 0.9375rem;
	font-weight: 600;
	gap: 0.5rem;
	padding: 0.5rem 0.5rem 0.5rem 1.125rem;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.rmc-news__tabs a:hover,
.rmc-news__tabs a:focus-visible {
	border-color: var(--rmc-burgundy);
	color: var(--rmc-burgundy);
}

.rmc-news__tabs a[aria-current="page"] {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	color: #fff;
}

.rmc-news__count {
	background: var(--rmc-parchment);
	border-radius: 999px;
	color: var(--rmc-burgundy);
	font-size: 0.75rem;
	min-width: 1.625rem;
	padding: 0.125rem 0.5rem;
	text-align: center;
}

.rmc-news__tabs a[aria-current="page"] .rmc-news__count {
	background: rgb(255 255 255 / 20%);
	color: #fff;
}

/* Post cards */
.rmc-posts {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.rmc-post {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 4px solid var(--rmc-gold);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rmc-post:hover {
	box-shadow: 0 1px 2px rgb(36 32 42 / 4%), 0 20px 40px -14px rgb(91 44 131 / 28%);
	transform: translateY(-3px);
}

.rmc-post__media img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.rmc-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem 1.75rem 1.75rem;
}

.rmc-post__meta {
	align-items: center;
	color: var(--rmc-burgundy);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.75rem;
	font-weight: 600;
	gap: 0.5rem 0.75rem;
	letter-spacing: 0.08em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.rmc-post__cat {
	background: var(--dl-color-brand-soft);
	border-radius: 999px;
	color: var(--rmc-burgundy);
	letter-spacing: 0.04em;
	padding: 0.1875rem 0.625rem;
	text-decoration: none;
}

.rmc-post__title {
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 0.75rem;
}

.rmc-post__title a {
	color: var(--rmc-heading);
	text-decoration: none;
}

.rmc-post__title a:hover,
.rmc-post__title a:focus-visible {
	color: var(--rmc-burgundy);
}

.rmc-post__excerpt {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin: 0 0 1.25rem;
}

.rmc-post__more {
	color: var(--rmc-burgundy);
	font-size: 0.875rem;
	font-weight: 600;
	margin-block-start: auto;
	text-decoration: none;
}

.rmc-post__more:hover {
	text-decoration: underline;
}

/* A single post reads better at a comfortable width than stretched across the page. */
.rmc-posts:has(> :only-child) {
	grid-template-columns: minmax(0, 40rem);
	justify-content: center;
}

/* Pagination */
.rmc-news .rmc-pagination {
	margin-block-start: 2.5rem;
}

.rmc-news .rmc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.rmc-news .rmc-pagination .page-numbers {
	border: 1px solid var(--rmc-line);
	border-radius: 999px;
	color: var(--rmc-heading);
	font-size: 0.875rem;
	font-weight: 600;
	min-width: 2.5rem;
	padding: 0.5rem 0.875rem;
	text-align: center;
	text-decoration: none;
}

.rmc-news .rmc-pagination .page-numbers.current,
.rmc-news .rmc-pagination a.page-numbers:hover {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	color: #fff;
}

/* Closing strip */
.rmc-news__aside {
	align-items: center;
	background: var(--rmc-parchment);
	border-radius: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	justify-content: space-between;
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.rmc-news__aside h2 {
	font-size: 1.375rem;
	font-weight: 600;
	margin: 0 0 0.375rem;
}

.rmc-news__aside p {
	margin: 0;
}

.rmc-news__aside-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.rmc-news__aside-links .btn {
	padding: 0.625rem 1.5rem;
	text-decoration: none;
}

/* ---------------------------------------------- Client-side pager (.rmc-paged) */

.rmc-pager {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-block: 2rem 0.75rem;
}

.rmc-pager__btn {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 999px;
	color: var(--rmc-heading);
	cursor: pointer;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	min-height: 2.5rem;
	min-width: 2.5rem;
	padding: 0.375rem 0.75rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rmc-pager__btn--wide {
	padding-inline: 1.125rem;
}

.rmc-pager__btn:hover:not(:disabled),
.rmc-pager__btn:focus-visible {
	border-color: var(--rmc-burgundy);
	color: var(--rmc-burgundy);
}

.rmc-pager__btn:focus-visible {
	outline: 2px solid var(--rmc-purple);
	outline-offset: 2px;
}

.rmc-pager__btn[aria-current="page"] {
	background: var(--rmc-burgundy);
	border-color: var(--rmc-burgundy);
	color: #fff;
}

.rmc-pager__btn:disabled {
	cursor: default;
	opacity: 0.45;
}

.rmc-pager__gap {
	color: #7b7580;
	padding-inline: 0.25rem;
}

.dl-block-section p.rmc-pager__status,
.rmc-pager__status {
	color: #7b7580;
	font-size: 0.8125rem;
	margin: 0 0 2rem;
	text-align: center;
}

/* Paged containers manage their own bottom spacing via the pager. */
.wp-block-table.rmc-table.rmc-paged,
.rmc-events.rmc-paged,
.rmc-videos.rmc-paged {
	margin-block-end: 0;
}

.rmc-paged [hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ Tamil */

[lang="ta"] {
	font-family: "Noto Sans Tamil", "Tamil Sangam MN", "Tamil MN", "Latha", "Nirmala UI", system-ui, sans-serif;
	letter-spacing: 0;
}

.rmc-hero-tamil {
	color: #fff;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 500;
	line-height: 1.6;
	margin: 0 0 0.75rem;
	opacity: 0.95;
}

.rmc-footer__name-ta {
	color: rgb(255 255 255 / 85%);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}

/* ------------------------------------- Single post / event, search and 404 */

body.single .site-main,
body.search .site-main,
body.error404 .site-main {
	padding-block: 0;
}

.rmc-article {
	margin-inline: auto;
	max-width: 46rem;
	padding: clamp(2.5rem, 5vw, 4rem) var(--dl-gutter) clamp(3rem, 6vw, 5rem);
}

.rmc-article__content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.rmc-article__content > * + * {
	margin-block-start: 1.25rem;
}

.rmc-article__content h2,
.rmc-article__content h3 {
	margin-block-start: 2rem;
}

.rmc-article__image {
	margin: 0 0 2rem;
}

.rmc-article__image img {
	border-radius: 14px;
	display: block;
	height: auto;
	width: 100%;
}

.rmc-article__facts {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-block-start: 4px solid var(--rmc-gold);
	border-radius: 14px;
	box-shadow: var(--rmc-shadow);
	display: grid;
	gap: 1.25rem 2rem;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	margin: 0 0 2rem;
	padding: 1.5rem 1.75rem;
}

.rmc-article__facts dt {
	color: var(--rmc-burgundy);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rmc-article__facts dd {
	color: var(--rmc-heading);
	font-weight: 600;
	margin: 0.25rem 0 0;
}

.rmc-article__footer {
	border-block-start: 1px solid var(--rmc-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block-start: 2.5rem;
	padding-block-start: 2rem;
}

.rmc-article__footer .btn,
.rmc-404__home .btn {
	padding: 0.625rem 1.5rem;
	text-decoration: none;
}

.rmc-article__nav {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
	margin-block-start: 2rem;
}

.rmc-article__nav a {
	background: var(--rmc-surface);
	border: 1px solid var(--rmc-line);
	border-radius: 14px;
	color: var(--rmc-heading);
	font-family: var(--dl-font-heading);
	font-weight: 600;
	line-height: 1.35;
	padding: 1rem 1.25rem;
	text-decoration: none;
}

.rmc-article__nav a:hover,
.rmc-article__nav a:focus-visible {
	border-color: var(--rmc-burgundy);
	color: var(--rmc-burgundy);
}

.rmc-article__nav a.is-older {
	text-align: end;
}

.rmc-article__nav span {
	color: var(--rmc-burgundy);
	display: block;
	font-family: var(--dl-font-body);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	margin-block-end: 0.25rem;
	text-transform: uppercase;
}

/* Search form */
.rmc-search {
	display: flex;
	gap: 0.75rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 40rem;
}

.rmc-search input[type="search"] {
	background: var(--rmc-surface);
	border: 1px solid #d9cab5;
	border-radius: 999px;
	color: var(--rmc-heading);
	flex: 1;
	font: inherit;
	min-width: 0;
	padding: 0.75rem 1.25rem;
}

.rmc-search input[type="search"]:focus {
	border-color: var(--rmc-purple);
	box-shadow: 0 0 0 3px rgb(91 44 131 / 18%);
	outline: 0;
}

.rmc-search .btn {
	padding: 0.75rem 1.75rem;
}

.rmc-404__home {
	margin: 2.5rem 0 0;
	text-align: center;
}

/* Header search panel */
.site-header__search-toggle {
	color: var(--rmc-heading);
}

.site-header__search-toggle:hover {
	color: var(--rmc-burgundy);
}

/* --------------------------------------------- Latest sermon strip, summary */

.rmc-latest {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	justify-content: space-between;
}

.rmc-latest__text {
	flex: 1 1 24rem;
}

.rmc-latest__text > :last-child {
	margin-block-end: 0;
}

.rmc-latest__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

.rmc-latest__links .btn {
	padding: 0.625rem 1.5rem;
	text-decoration: none;
}

.dl-block-section p.rmc-sermons__summary,
.rmc-sermons__summary {
	color: #7b7580;
	font-size: 0.9375rem;
	margin: 0 0 1.5rem;
	text-align: center;
}

/*
 * Centred paragraphs.
 *
 * The parent theme caps every <p> at 70ch. In a wide section that leaves a
 * "centred" paragraph centred inside a narrow box pinned to the left edge,
 * so anything meant to be centred must also centre its own box.
 */
p.has-text-align-center,
p.rmc-pager__status,
p.rmc-sermons__summary,
p.rmc-empty,
p.rmc-404__home,
.rmc-section-head > p,
.dl-block-section__inner > p.rmc-services__hint,
.dl-block-section__inner > p.rmc-note.has-text-align-center,
.rmc-verse p {
	margin-inline: auto !important;
}

/* The pager and its status line read as one unit under the list. */
.rmc-pager {
	margin-block: 2rem 0.5rem;
}

.dl-block-section p.rmc-pager__status,
.rmc-pager__status {
	margin-block: 0 2rem;
}

/* A centred link or note following a pager or grid gets even spacing. */
.dl-block-section__inner > .rmc-pager__status + p.has-text-align-center {
	margin-block-start: 0;
}

/* Paragraphs that should run the full width of their container. */
.rmc-news__aside p,
.rmc-latest__text p,
.rmc-footer p,
.rmc-article__content p {
	max-width: none;
}

/* -------------------------------------------- List toolbar: search + filters */

.rmc-filter {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 0 auto 1.75rem;
	max-width: 60rem;
}

.rmc-filter__search,
.rmc-filter__select {
	background: var(--rmc-surface);
	border: 1px solid #d9cab5;
	border-radius: 999px;
	color: var(--rmc-heading);
	font: inherit;
	font-size: 0.9375rem;
	min-height: 2.875rem;
	padding: 0.5rem 1.125rem;
}

.rmc-filter__search {
	flex: 1 1 16rem;
	min-width: 0;
}

.rmc-filter__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239e2346' stroke-width='1.8'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	cursor: pointer;
	flex: 0 1 auto;
	max-width: 100%;
	padding-inline-end: 2.5rem;
}

.rmc-filter__search:focus,
.rmc-filter__select:focus {
	border-color: var(--rmc-purple);
	box-shadow: 0 0 0 3px rgb(91 44 131 / 18%);
	outline: 0;
}

.rmc-filter__clear {
	background: none;
	border: 0;
	color: var(--rmc-burgundy);
	cursor: pointer;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.5rem 0.25rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rmc-filter__clear[hidden],
.rmc-list-empty[hidden],
.rmc-pager[hidden],
.rmc-filterable [hidden],
.rmc-filterable[hidden] {
	display: none !important;
}

p.rmc-list-empty {
	margin-block-end: 0;
}

.rmc-search__scope {
	font-size: 0.9375rem;
	margin: -1.5rem auto 2rem !important;
	text-align: center;
}

/* News search sits between the tabs and the cards. */
.rmc-news__tabs + .rmc-search {
	margin-block-end: clamp(1.75rem, 3vw, 2.5rem);
}

.rmc-news__tabs ul {
	margin-block-end: 1.5rem;
}

@media (max-width: 599px) {
	.rmc-filter__select {
		flex: 1 1 100%;
	}
}

/* The parent styles form controls full-width and square; keep the toolbar on one row. */
body .rmc-filter .rmc-filter__search,
body .rmc-filter .rmc-filter__select {
	border-radius: 999px;
	margin: 0;
	width: auto;
}

body .rmc-filter .rmc-filter__search {
	flex: 1 1 16rem;
}

body .rmc-filter .rmc-filter__select {
	flex: 0 0 auto;
}

body .rmc-search input[type="search"] {
	border-radius: 999px;
	margin: 0;
	width: auto;
}

@media (max-width: 599px) {
	body .rmc-filter .rmc-filter__select {
		flex: 1 1 100%;
	}
}

body .rmc-filter .rmc-filter__search,
body .rmc-filter .rmc-filter__select {
	box-sizing: border-box;
	height: 2.875rem;
	line-height: 1.2;
}

/* ------------------------------------------------ Language switch (EN / தமிழ்) */

.rmc-lang {
	background: var(--rmc-parchment);
	border: 1px solid var(--rmc-line);
	border-radius: 999px;
	display: inline-flex;
	flex: none;
	padding: 3px;
}

.rmc-lang__btn {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--rmc-heading);
	cursor: pointer;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	min-height: 2rem;
	padding: 0.375rem 0.75rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.rmc-lang__btn:hover {
	color: var(--rmc-burgundy);
}

.rmc-lang__btn[aria-pressed="true"] {
	background: var(--rmc-burgundy);
	color: #fff;
}

.rmc-lang__btn:focus-visible {
	outline: 2px solid var(--rmc-purple);
	outline-offset: 2px;
}

/* Hide Google's own toolbar and tooltips; the header switch replaces them. */
.goog-te-banner-frame,
.skiptranslate > iframe,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip {
	display: none !important;
}

html.rmc-is-tamil body,
body.rmc-is-tamil {
	top: 0 !important;
}

html.rmc-is-tamil font {
	background: none !important;
	box-shadow: none !important;
}

/* Tamil needs a little more line height, and no letter-spacing or forced capitals. */
html.translated-ltr body {
	font-family: "Noto Sans Tamil", "Tamil Sangam MN", "Tamil MN", "Latha", "Nirmala UI", var(--dl-font-body);
}

html.translated-ltr h1,
html.translated-ltr h2,
html.translated-ltr h3,
html.translated-ltr .dl-block-hero__title {
	letter-spacing: 0;
	line-height: 1.4;
}

html.translated-ltr .rmc-eyebrow,
html.translated-ltr .section-eyebrow,
html.translated-ltr .dl-block-hero__eyebrow,
html.translated-ltr .rmc-footer__heading,
html.translated-ltr .rmc-footer__meta,
html.translated-ltr th,
html.translated-ltr .rmc-post__meta,
html.translated-ltr .rmc-services__day {
	letter-spacing: 0 !important;
}

html.translated-ltr .site-header .menu--primary {
	column-gap: 1rem;
}

@media (max-width: 1100px) {
	html.translated-ltr .site-header__cta {
		display: none;
	}
}

@media (max-width: 479px) {
	.rmc-lang__btn {
		padding-inline: 0.5rem;
	}
}

/* Tamil labels run longer: keep the header on one row. */
html.rmc-is-tamil .site-header .menu--primary {
	column-gap: 1rem;
}

html.rmc-is-tamil .site-header .menu--primary > li > a {
	font-size: 0.875rem;
}

@media (max-width: 1399px) {
	html.rmc-is-tamil .site-header__cta {
		display: none;
	}
}

html.rmc-is-tamil .site-header [lang="ta"] {
	font-family: "Noto Sans Tamil", "Tamil Sangam MN", "Tamil MN", "Latha", "Nirmala UI", system-ui, sans-serif;
}

/* In Tamil the header button is dropped at every width; "தொடர்புக்கு" (Contact) is in the menu. */
html.rmc-is-tamil .site-header__cta {
	display: none;
}

html.rmc-is-tamil .site-header .menu--primary {
	column-gap: 0.75rem;
	flex-wrap: nowrap;
}

html.rmc-is-tamil .site-header .menu--primary > li > a {
	white-space: nowrap;
}

/* Phone header order: brand, then search · language · menu button (menu last, at the edge). */
@media (max-width: 767.98px) {
	.site-header__inner {
		column-gap: 0.5rem;
	}

	.site-header__actions {
		gap: 0.5rem;
		margin-inline-start: auto;
		order: 2;
	}

	.site-header__nav {
		margin-inline-start: 0;
		order: 3;
	}
}

/* Small phones: tighten the header so all four items stay on one row. */
@media (max-width: 419px) {
	.site-header__inner {
		column-gap: 0.25rem;
	}

	.site-header__brand {
		min-width: 0;
		padding-inline-start: 2.5rem;
	}

	.site-header__brand:not(:has(.custom-logo))::before,
	.site-header__brand:not(:has(.custom-logo))::after {
		height: 2rem;
		width: 2rem;
	}

	.site-header__brand:not(:has(.custom-logo))::after {
		background:
			linear-gradient(#fff, #fff) center 38% / 0.6875rem 2px no-repeat,
			linear-gradient(#fff, #fff) center / 2px 1.125rem no-repeat;
	}

	.site-header__title {
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	.site-header__actions {
		gap: 0.25rem;
	}

	.site-header__search-toggle,
	.site-header__toggle {
		width: 2rem;
	}

	.rmc-lang__btn {
		font-size: 0.75rem;
		min-height: 1.75rem;
		padding: 0.25rem 0.4375rem;
	}
}

/* Tamil lines belong to the Tamil view only; the English view stays English. */
.rmc-hero-tamil,
.rmc-footer__name-ta {
	display: none;
}

html.rmc-is-tamil .rmc-hero-tamil,
html.rmc-is-tamil .rmc-footer__name-ta {
	display: block;
}

/* Tamil view: bring the header button back where there is room for it. */
@media (min-width: 1340px) {
	html.rmc-is-tamil .site-header__cta {
		display: inline-flex;
		font-size: 0.875rem;
		padding-inline: 1.125rem;
	}

	html.rmc-is-tamil .site-header__inner {
		column-gap: 1rem;
		flex-wrap: nowrap;
	}

	html.rmc-is-tamil .site-header__actions {
		gap: 0.625rem;
	}
}

/*
 * Tamil view, home banner: the machine-translated "Welcome to…" line says the
 * same thing as the hand-written Tamil line below it, so show only the latter.
 */
html.rmc-is-tamil body.is-front-page .dl-block-hero .dl-block-hero__eyebrow {
	display: none;
}
