/*
Theme Name: Summit Camps
Description: Custom WordPress rebuild of summitcamps.ca. Classic PHP templates, no page builder. Built alongside the Royal Camp Services rebuild (royalcamp.com), same conventions.
Version: 1.0
*/

:root {
	--rcs-blue: #1f4e79;
	--rcs-blue-dark: #16365c;
	--rcs-orange: #ffb42b;
	--rcs-grey-bg: #ebeff2;
	--rcs-text: #2b2b2b;
	--rcs-max-width: 1200px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Roboto", Arial, sans-serif; color: var(--rcs-text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--rcs-blue); text-decoration: none; }
.rcs-container { max-width: var(--rcs-max-width); margin: 0 auto; padding: 0 20px; }

/* Base type sizes, matching the live site's h1–h4/p scale */
h1 { font-size: 48px; margin: 0; }
h2 { font-size: 32px; margin: 0; }
h3 { font-size: 24px; margin: 0; }
h4 { font-size: 18px; margin: 0; }
p { font-size: 16px; }

/* "Heading" treatment: thin grey rule under the heading text itself,
   with a short orange bar overlapping it — matches the live .heading /
   .divider-left combo exactly. */
.rcs-heading {
	display: inline-block;
	border-bottom: 1px solid #dadada;
	padding-bottom: 2px;
}
.rcs-divider { display: block; width: 70px; height: 4px; background: var(--rcs-orange); margin: 10px 0 -2px; }

/* Global heading-divider fix: ACF rich text fields strip class/span
   attributes on save (wp_kses_post default behavior), so headings typed
   into WYSIWYG fields lose their orange divider. This adds it back
   automatically to any plain h2/h3 inside page content, while skipping
   headings that still have a manual .rcs-divider span (the hardcoded
   fallback copy in templates) to avoid a doubled-up divider. */
.rcs-container h2, .rcs-container h3 {
	display: inline-block;
	font-weight: 700;
	margin-top: 1.2em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #dadada;
	padding-bottom: 2px;
}
/* .rcs-container h2:not(:has(.rcs-divider))::after,
.rcs-container h3:not(:has(.rcs-divider))::after {
	content: "";
	display: block;
	width: 70px;
	height: 4px;
	background: var(--rcs-orange);
	margin: 10px 0 -2px;
} */

/* Safety net: two headings directly adjacent (no paragraph/div between
   them) would otherwise sit side-by-side since they're inline-block —
   force a line break in that specific case. */
.rcs-container h2 + h3,
.rcs-container h3 + h2,
.rcs-container h2 + h2,
.rcs-container h3 + h3 {
	display: block;
}

/* Header — desktop (3-tier) */
.rcs-desktop-header { display: block; }

.rcs-topbar { background: #004292; color: #fff; font-size: 13px; padding: 6px 0; }

.rcs-contact-bar { background: #7d7d7d; color: #fff; padding: 16px 0; position: relative; overflow: visible; }
.rcs-contact-bar .rcs-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; overflow: visible; }

/* Logo bleeds up into the topbar above and down into the nav strip below,
   matching the live site's overlapping logo treatment (desktop only). */
.rcs-logo { display: block; position: relative; z-index: 150; }
.rcs-logo img {
	max-height: 110px;
	margin-top: -22px;
	margin-bottom: -34px;
	display: block;
}

.rcs-contact-bar-items { display: flex; gap: 32px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.rcs-contact-bar-items a { color: #fff; font-weight: 700; }
.rcs-contact-item { line-height: 1.5; }
.rcs-icon { margin-right: 4px; color: var(--rcs-orange); }
.rcs-btn-apply {
	display: inline-block;
	background: var(--rcs-orange);
	color: #000;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 4px;
	white-space: nowrap;
}
.rcs-btn-apply:hover { color: #000; }

.rcs-main-nav { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; overflow: visible; }
.rcs-main-nav .rcs-container { display: flex; align-items: center; position: relative; }

.rcs-primary-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.rcs-primary-menu li { position: relative; }
.rcs-primary-menu > li > a {
	display: block; padding: 16px 14px; color: var(--rcs-text);
	font-weight: 600; text-transform: uppercase; font-size: 13px;
	white-space: nowrap;
}
.rcs-primary-menu > li.menu-item-has-children > a::after {
	content: "\25BE";
	margin-left: 5px;
	font-size: 11px;
	color: #999;
}
.rcs-primary-menu > li > a:hover,
.rcs-primary-menu > li.current-menu-item > a { color: var(--rcs-blue); }

/* Dropdown card — top navy accent bar, divider lines between rows, subtle
   hover, matching the live desktop dropdown styling. */
.rcs-primary-menu .sub-menu {
	display: none; position: absolute; top: 100%; left: 0;
	background: #fff;
	border-top: 3px solid #004292;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	min-width: 280px;
	list-style: none; margin: 0; padding: 0; z-index: 10;
}
.rcs-primary-menu li:hover .sub-menu { display: block; }
.rcs-primary-menu .sub-menu li { border-bottom: 1px solid #eee; }
.rcs-primary-menu .sub-menu li:last-child { border-bottom: 0; }
.rcs-primary-menu .sub-menu a {
	display: block;
	padding: 16px 20px;
	text-transform: none;
	font-weight: 600;
	font-size: 15px;
	color: var(--rcs-blue);
	white-space: nowrap;
}
.rcs-primary-menu .sub-menu a:hover { background: var(--rcs-grey-bg); }

/* Header — mobile (single slim bar, hidden on desktop) */
.rcs-mobile-header { display: none; }
.rcs-mobile-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.rcs-mobile-logo img { max-height: 44px; width: auto; display: block; }

.rcs-nav-toggle { background: none; border: 0; cursor: pointer; padding: 10px; }
.rcs-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--rcs-text); margin: 5px 0; }

.rcs-mobile-nav-header { display: none; }
.rcs-nav-close { background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: var(--rcs-text); }

.rcs-mobile-nav-overlay { display: none; }
.rcs-mobile-nav-overlay.is-open {
	display: block;
	position: fixed; inset: 0;
	background: #fff;
	z-index: 1000;
	overflow-y: auto;
	padding: 20px;
}

@media (max-width: 880px) {
	.rcs-desktop-header { display: none; }
	.rcs-mobile-header { display: block; background: #fff; border-bottom: 1px solid #e5e5e5; }

	body.rcs-nav-open { overflow: hidden; }

	.rcs-mobile-nav-header {
		display: flex; align-items: center; justify-content: space-between;
		margin-bottom: 20px;
	}
	.rcs-mobile-nav-logo img { max-height: 44px; width: auto; }

	.rcs-primary-menu { display: flex; flex-direction: column; width: 100%; }
	.rcs-primary-menu > li > a { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
	.rcs-primary-menu > li.menu-item-has-children > a::after { content: "\203A"; float: right; font-size: 18px; transition: transform .2s; }
	.rcs-primary-menu > li.menu-item-has-children.is-expanded > a::after { transform: rotate(90deg); }
	.rcs-primary-menu .sub-menu {
		position: static; border: 0; box-shadow: none; display: none;
		padding-left: 16px; min-width: 0;
	}
	.rcs-primary-menu .sub-menu a { color: var(--rcs-text); font-size: 14px; }
	.rcs-primary-menu > li.is-expanded > .sub-menu { display: block; }
}

/* Hero */
.rcs-hero-carousel { position: relative; overflow: hidden; }
.rcs-hero-slide { display: none; position: relative; }
.rcs-hero-slide.is-active { display: block; }
.rcs-hero-slide img { width: 100%; height: 560px; object-fit: cover; }
.rcs-hero-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,.45); color: #fff; text-align: center; padding: 24px;
}
.rcs-hero-caption h1 { margin: 0 0 6px; font-size: 38px; }
.rcs-hero-caption h3 { margin: 0; font-weight: 400; font-size: 18px; }
.rcs-hero-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.rcs-hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: 0; cursor: pointer; }
.rcs-hero-dot.is-active { background: #fff; }

.rcs-orange-divider { height: 140px; background: var(--rcs-orange); }

.rcs-feature-grid { padding: 0 0 50px; margin-top: -160px; }
.rcs-feature-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.rcs-feature-box {
	position: relative; color: #fff; display: block;
	border-radius: 6px; overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.rcs-feature-box img { height: 260px; width: 100%; object-fit: cover; display: block; }
.rcs-feature-box:nth-child(2) img { height: 320px; }
.rcs-feature-box-text { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); padding: 18px 14px; text-align: center; }
.rcs-feature-box-text h3 { margin: 0; }
.rcs-feature-box-text h3::after {

}
.rcs-feature-box-text p { margin: 8px 0 0; font-size: 16px; }

.rcs-page-banner { width: 100%; max-height: 380px; object-fit: cover; }

/* Feature grid responsive */
@media (max-width: 880px) {
	.rcs-hero-carousel,
	.rcs-orange-divider { display: none; }
	.rcs-feature-grid { margin-top: 0; padding-top: 30px; }
	.rcs-feature-grid-inner { grid-template-columns: 1fr; align-items: stretch; }
	.rcs-feature-box:nth-child(2) img { height: 260px; }
}

/* Commitment */
.rcs-commitment { padding: 50px 0; }
.rcs-commitment-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
blockquote {
	background: transparent;
	border-left: 8px solid var(--rcs-orange);
	margin: 1.5em 10px;
	padding: 0.5em 10px;
}
blockquote::before {
	color: #ffb42b;
	content: "\"";
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
	display: inline-block;
}
@media (max-width: 880px) { .rcs-commitment-grid { grid-template-columns: 1fr; } }

/* Industries */
.rcs-industries { background: var(--rcs-grey-bg); padding: 50px 0; }
.rcs-industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 600px; margin-top: 16px; }
.rcs-check-list { list-style: none; margin: 0; padding: 0; }
.rcs-check-list li { padding: 6px 0 6px 26px; position: relative; font-weight: 600; }
.rcs-check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--rcs-orange); font-weight: 700; }

/* Safety page: image + checklist side by side */
.rcs-safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.rcs-safety-image img { width: 100%; border-radius: 4px; }
.rcs-check-list-wrap li {
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 14px;
	padding-left: 28px;
}
@media (max-width: 880px) {
	.rcs-safety-grid { grid-template-columns: 1fr; }
}

/* Inner page content utilities */
.rcs-container h2.rcs-heading { margin-top: 0; }
.rcs-img-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.rcs-img-row img { flex: 1 1 150px; height: 160px; object-fit: cover; }

.rcs-staff-carousel { position: relative; margin: 24px 0; }
.rcs-staff-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.rcs-staff-track::-webkit-scrollbar { display: none; }
.rcs-staff-track img {
	flex: 0 0 calc((100% - 32px) / 3);
	height: 270px;
	object-fit: cover;
	border-radius: 6px;
}
@media (max-width: 880px) {
	.rcs-staff-track img { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
	.rcs-staff-track img { flex: 0 0 100%; }
}
.rcs-track-prev, .rcs-track-next {
	position: absolute; top: -48px; width: 36px; height: 36px;
	border: 1px solid #ddd; background: #fff; border-radius: 4px;
	cursor: pointer; font-size: 14px; color: var(--rcs-text);
}
.rcs-track-prev { right: 46px; }
.rcs-track-next { right: 0; }
.rcs-track-prev:hover, .rcs-track-next:hover { background: var(--rcs-grey-bg); }
.rcs-img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.rcs-img-pair img { width: 100%; height: 280px; object-fit: cover; }
@media (max-width: 700px) { .rcs-img-pair { grid-template-columns: 1fr; } }
.rcs-plan-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.rcs-plan-list li a { display: block; padding: 6px 0; }

/* Single Fleet Plan */
.rcs-fleet-plan-single { padding: 50px 0; }
.rcs-fleet-plan-title { font-size: 32px; margin-bottom: 30px; }
.rcs-fp-title-prefix { color: #888; font-weight: 400; }
.rcs-fleet-plan-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.rcs-fleet-plan-sidebar h3,
.rcs-fleet-plan-main h3 {
	font-size: 20px;
	margin-bottom: 6px;
	position: relative;
	padding-bottom: 12px;
}
.rcs-fleet-plan-sidebar h3::after,
.rcs-fleet-plan-main h3::after {
	content: "";
	display: block;
	width: 50px; height: 3px;
	background: var(--rcs-orange);
	margin-top: 8px;
}
.rcs-fp-features-box { background: var(--rcs-grey-bg); border-radius: 4px; padding: 20px 24px; margin: 16px 0 24px; }
.rcs-fp-features-list { list-style: none; margin: 0; padding: 0; }
.rcs-fp-features-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e2e2e2; }
.rcs-fp-features-list li:last-child { border-bottom: 0; }
.rcs-fp-badge {
	flex: 0 0 28px; height: 28px;
	background: var(--rcs-orange);
	color: #fff; font-weight: 700;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.rcs-fp-pdf-btn {
	display: inline-block;
	background: var(--rcs-blue);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	padding: 14px 24px;
	border-radius: 4px;
	margin-top: 8px;
}
.rcs-fp-pdf-btn:hover { background: var(--rcs-blue-dark); }
.rcs-fp-social { margin-top: 20px; display: flex; gap: 14px; }
.rcs-fp-social a {
	width: 36px; height: 36px;
	border: 1px solid #ddd; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--rcs-text);
}
.rcs-fp-social a:hover { background: var(--rcs-grey-bg); }
.rcs-plan-image { width: 100%; border: 1px solid #e5e5e5; border-radius: 4px; cursor: zoom-in; }
.rcs-plan-image-link { display: block; }

.rcs-lightbox-overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.85);
	display: none;
	align-items: center; justify-content: center;
	z-index: 9999;
	padding: 30px;
	cursor: zoom-out;
}
.rcs-lightbox-overlay.is-open { display: flex; }
.rcs-lightbox-overlay img { max-width: 95%; max-height: 95%; border-radius: 4px; }

@media (max-width: 880px) {
	.rcs-fleet-plan-grid { grid-template-columns: 1fr; }
}

/* Contact page */
.rcs-contact-section { margin-top: 24px; }
.rcs-sales-card { max-width: 360px; margin: 24px 0 30px; }
.rcs-social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	background: var(--rcs-blue); color: #fff;
	border-radius: 4px; font-weight: 700; font-size: 14px;
	text-decoration: none;
}
.rcs-social-icon:hover { background: var(--rcs-blue-dark); }

.rcs-contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin: 40px 0; }
.rcs-contact-address-item { margin-bottom: 20px; }
.rcs-contact-address-item h4 { margin: 0 0 4px; font-size: 15px; text-transform: uppercase; color: #888; }
.rcs-contact-address-item p { margin: 0; }
.rcs-contact-form-placeholder {
	background: var(--rcs-grey-bg);
	border: 1px dashed #ccc;
	border-radius: 4px;
	padding: 24px;
	color: #777;
}
.rcs-contact-form-placeholder code { background: #fff; padding: 2px 6px; border-radius: 3px; }
.rcs-contact-map iframe { width: 100%; border-radius: 4px; }

@media (max-width: 880px) {
	.rcs-contact-grid { grid-template-columns: 1fr; }
}
.rcs-careers-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: start; }
.rcs-careers-feature-img { width: 100%; margin: 20px 0; border-radius: 4px; }
.rcs-careers-sidebar { position: sticky; top: 20px; }
.rcs-careers-widget { background: var(--rcs-grey-bg); border-radius: 4px; padding: 24px; }
.rcs-careers-widget h3 { margin: 0; }
.rcs-careers-widget h3 a { color: var(--rcs-blue); }
@media (max-width: 880px) {
	.rcs-careers-grid { grid-template-columns: 1fr; }
	.rcs-careers-sidebar { position: static; }
}

.rcs-fleet-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 24px;
}
.rcs-fleet-card {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
}
.rcs-fleet-card-header {
	background: var(--rcs-orange);
	color: #fff;
	font-weight: 700;
	padding: 14px 18px;
}
.rcs-fleet-card-list { display: flex; flex-direction: column; }
.rcs-fleet-card-item {
	padding: 14px 18px;
	border-bottom: 1px solid #eee;
	color: var(--rcs-text);
}
.rcs-fleet-card-item:last-child { border-bottom: 0; }
.rcs-fleet-card-item:hover { background: var(--rcs-grey-bg); color: var(--rcs-blue); }

@media (max-width: 1024px) {
	.rcs-fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.rcs-fleet-grid { grid-template-columns: 1fr; }
}

/* Supply & Construction: alternating service blocks with carousel */
.rcs-service-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin: 50px 0;
}
.rcs-service-block-reverse .rcs-service-text { order: 2; }
.rcs-service-block-reverse .rcs-service-carousel { order: 1; }
.rcs-bg-grey { background: var(--rcs-grey-bg); padding: 40px; border-radius: 4px; }
.rcs-bg-grey-band { background: var(--rcs-grey-bg); padding: 30px 40px; margin: 24px 0; border-radius: 4px; }

.rcs-block-carousel { position: relative; overflow: hidden; border-radius: 4px; }
.rcs-block-carousel .rcs-hero-slide img { width: 100%; height: 360px; object-fit: cover; }
.rcs-block-prev, .rcs-block-next {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(0,0,0,.3); color: #fff; border: 0;
	font-size: 18px; padding: 8px 12px; cursor: pointer; border-radius: 2px;
}
.rcs-block-prev { left: 8px; }
.rcs-block-next { right: 8px; }
.rcs-block-carousel .rcs-hero-dots { position: absolute; bottom: 10px; left: auto; right: 10px; transform: none; }

.rcs-twocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 50px 0; }

.rcs-sublist { list-style: none; margin: 8px 0 8px 20px; padding: 0; }
.rcs-sublist li { position: relative; padding-left: 18px; font-weight: 400; margin-bottom: 6px; }
.rcs-sublist li::before { content: "\25CB"; position: absolute; left: 0; font-size: 10px; top: 4px; color: #888; }

@media (max-width: 880px) {
	.rcs-service-block, .rcs-twocol-grid { grid-template-columns: 1fr; }
	.rcs-service-block-reverse .rcs-service-text,
	.rcs-service-block-reverse .rcs-service-carousel { order: initial; }
}
#rcs-footer { margin-top: 0; }
.rcs-footer-top { background: #fff; padding: 25px 0 20px; }
.rcs-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.rcs-footer-mission p { margin-top: 16px; line-height: 1.7; }
.rcs-footer-contact { text-align: right; }
.rcs-footer-contact .rcs-divider { margin-left: auto; }
.rcs-footer-contact address { margin-top: 16px; font-style: normal; line-height: 1.8; }

.rcs-footer-photo-band {
	height: 480px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.rcs-footer-photo-band::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(255,255,255,1) 0%,
		rgba(255,255,255,0) 12%,
		rgba(255,255,255,0) 78%,
		rgba(125,125,125,1) 100%
	);
}
@media (max-width: 880px) {
	.rcs-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.rcs-footer-contact { text-align: left; }
	.rcs-footer-contact .rcs-divider { margin-left: 0; }
	.rcs-footer-photo-band { height: 280px; }
}

.rcs-footer-bottom { background: #7d7d7d; color: #fff; text-align: center; padding: 14px 0; border-top: 3px solid var(--rcs-orange); }


/* Home hero: visible carousel indicators and slide-in title animation */
.rcs-home .rcs-hero-dots {
	bottom: 16px;
	z-index: 3;
}
.rcs-home .rcs-hero-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .95);
	box-shadow: 0 0 2px rgba(0, 0, 0, .35);
}
.rcs-home .rcs-hero-dot.is-active {
	background: #fff;
	border-color: #fff;
}
.rcs-home .rcs-hero-slide.is-active .rcs-hero-caption h1 {
	animation: rcs-slide-in-down 1s both;
}
@keyframes rcs-slide-in-down {
	from {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.rcs-home .rcs-hero-slide.is-active .rcs-hero-caption h1 {
		animation: none;
	}
}
/*
Theme Name: Summit Camps
Description: Custom WordPress rebuild of summitcamps.ca. Classic PHP templates, no page builder. Built alongside the Royal Camp Services rebuild (royalcamp.com), same conventions.
Version: 1.0
*/

:root {
	--rcs-blue: #1f4e79;
	--rcs-blue-dark: #16365c;
	--rcs-orange: #ffb42b;
	--rcs-grey-bg: #ebeff2;
	--rcs-text: #2b2b2b;
	--rcs-max-width: 1200px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Roboto", Arial, sans-serif; color: var(--rcs-text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--rcs-blue); text-decoration: none; }
.rcs-container { max-width: var(--rcs-max-width); margin: 0 auto; padding: 0 20px; }

/* Base type sizes, matching the live site's h1–h4/p scale */
h1 { font-size: 48px; margin: 0; }
h2 { font-size: 32px; margin: 0; }
h3 { font-size: 24px; margin: 0; }
h4 { font-size: 18px; margin: 0; }
p { font-size: 16px; }

/* "Heading" treatment: thin grey rule under the heading text itself,
   with a short orange bar overlapping it — matches the live .heading /
   .divider-left combo exactly. */
.rcs-heading {
	display: inline-block;
	border-bottom: 1px solid #dadada;
	padding-bottom: 2px;
}
.rcs-divider { display: block; width: 70px; height: 4px; background: var(--rcs-orange); margin: 10px 0 -2px; }

/* Global heading-divider fix: ACF rich text fields strip class/span
   attributes on save (wp_kses_post default behavior), so headings typed
   into WYSIWYG fields lose their orange divider. This adds it back
   automatically to any plain h2/h3 inside page content, while skipping
   headings that still have a manual .rcs-divider span (the hardcoded
   fallback copy in templates) to avoid a doubled-up divider. */
.rcs-container h2, .rcs-container h3 {
	display: inline-block;
	font-weight: 700;
	margin-top: 1.2em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #dadada;
	padding-bottom: 2px;
}
/* .rcs-container h2:not(:has(.rcs-divider))::after,
.rcs-container h3:not(:has(.rcs-divider))::after {
	content: "";
	display: block;
	width: 70px;
	height: 4px;
	background: var(--rcs-orange);
	margin: 10px 0 -2px;
} */

/* Safety net: two headings directly adjacent (no paragraph/div between
   them) would otherwise sit side-by-side since they're inline-block —
   force a line break in that specific case. */
.rcs-container h2 + h3,
.rcs-container h3 + h2,
.rcs-container h2 + h2,
.rcs-container h3 + h3 {
	display: block;
}

/* Header — desktop (3-tier) */
.rcs-desktop-header { display: block; }

.rcs-topbar { background: #004292; color: #fff; font-size: 13px; padding: 6px 0; }

.rcs-contact-bar { background: #7d7d7d; color: #fff; padding: 16px 0; position: relative; overflow: visible; }
.rcs-contact-bar .rcs-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; overflow: visible; }

/* Logo bleeds up into the topbar above and down into the nav strip below,
   matching the live site's overlapping logo treatment (desktop only). */
.rcs-logo { display: block; position: relative; z-index: 150; }
.rcs-logo img {
	max-height: 110px;
	margin-top: -22px;
	margin-bottom: -34px;
	display: block;
}

.rcs-contact-bar-items { display: flex; gap: 32px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.rcs-contact-bar-items a { color: #fff; font-weight: 700; }
.rcs-contact-item { line-height: 1.5; }
.rcs-icon { margin-right: 4px; color: var(--rcs-orange); }
.rcs-btn-apply {
	display: inline-block;
	background: var(--rcs-orange);
	color: #000;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 4px;
	white-space: nowrap;
}
.rcs-btn-apply:hover { color: #000; }

.rcs-main-nav { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; overflow: visible; }
.rcs-main-nav .rcs-container { display: flex; align-items: center; position: relative; }

.rcs-primary-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.rcs-primary-menu li { position: relative; }
.rcs-primary-menu > li > a {
	display: block; padding: 16px 14px; color: var(--rcs-text);
	font-weight: 600; text-transform: uppercase; font-size: 13px;
	white-space: nowrap;
}
.rcs-primary-menu > li.menu-item-has-children > a::after {
	content: "\25BE";
	margin-left: 5px;
	font-size: 11px;
	color: #999;
}
.rcs-primary-menu > li > a:hover,
.rcs-primary-menu > li.current-menu-item > a { color: var(--rcs-blue); }

/* Dropdown card — top navy accent bar, divider lines between rows, subtle
   hover, matching the live desktop dropdown styling. */
.rcs-primary-menu .sub-menu {
	display: none; position: absolute; top: 100%; left: 0;
	background: #fff;
	border-top: 3px solid #004292;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	min-width: 280px;
	list-style: none; margin: 0; padding: 0; z-index: 10;
}
.rcs-primary-menu li:hover .sub-menu { display: block; }
.rcs-primary-menu .sub-menu li { border-bottom: 1px solid #eee; }
.rcs-primary-menu .sub-menu li:last-child { border-bottom: 0; }
.rcs-primary-menu .sub-menu a {
	display: block;
	padding: 16px 20px;
	text-transform: none;
	font-weight: 600;
	font-size: 15px;
	color: var(--rcs-blue);
	white-space: nowrap;
}
.rcs-primary-menu .sub-menu a:hover { background: var(--rcs-grey-bg); }

/* Header — mobile (single slim bar, hidden on desktop) */
.rcs-mobile-header { display: none; }
.rcs-mobile-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.rcs-mobile-logo img { max-height: 44px; width: auto; display: block; }

.rcs-nav-toggle { background: none; border: 0; cursor: pointer; padding: 10px; }
.rcs-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--rcs-text); margin: 5px 0; }

.rcs-mobile-nav-header { display: none; }
.rcs-nav-close { background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: var(--rcs-text); }

.rcs-mobile-nav-overlay { display: none; }
.rcs-mobile-nav-overlay.is-open {
	display: block;
	position: fixed; inset: 0;
	background: #fff;
	z-index: 1000;
	overflow-y: auto;
	padding: 20px;
}

@media (max-width: 880px) {
	.rcs-desktop-header { display: none; }
	.rcs-mobile-header { display: block; background: #fff; border-bottom: 1px solid #e5e5e5; }

	body.rcs-nav-open { overflow: hidden; }

	.rcs-mobile-nav-header {
		display: flex; align-items: center; justify-content: space-between;
		margin-bottom: 20px;
	}
	.rcs-mobile-nav-logo img { max-height: 44px; width: auto; }

	.rcs-primary-menu { display: flex; flex-direction: column; width: 100%; }
	.rcs-primary-menu > li > a { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
	.rcs-primary-menu > li.menu-item-has-children > a::after { content: "\203A"; float: right; font-size: 18px; transition: transform .2s; }
	.rcs-primary-menu > li.menu-item-has-children.is-expanded > a::after { transform: rotate(90deg); }
	.rcs-primary-menu .sub-menu {
		position: static; border: 0; box-shadow: none; display: none;
		padding-left: 16px; min-width: 0;
	}
	.rcs-primary-menu .sub-menu a { color: var(--rcs-text); font-size: 14px; }
	.rcs-primary-menu > li.is-expanded > .sub-menu { display: block; }
}

/* Hero */
.rcs-hero-carousel { position: relative; overflow: hidden; }
.rcs-hero-slide { display: none; position: relative; }
.rcs-hero-slide.is-active { display: block; }
.rcs-hero-slide img { width: 100%; height: 560px; object-fit: cover; }
.rcs-hero-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,.45); color: #fff; text-align: center; padding: 24px;
}
.rcs-hero-caption h1 { margin: 0 0 6px; font-size: 38px; }
.rcs-hero-caption h3 { margin: 0; font-weight: 400; font-size: 18px; }
.rcs-hero-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.rcs-hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: 0; cursor: pointer; }
.rcs-hero-dot.is-active { background: #fff; }

.rcs-orange-divider { height: 140px; background: var(--rcs-orange); }

.rcs-feature-grid { padding: 0 0 50px; margin-top: -160px; }
.rcs-feature-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.rcs-feature-box {
	position: relative; color: #fff; display: block;
	border-radius: 6px; overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.rcs-feature-box img { height: 260px; width: 100%; object-fit: cover; display: block; }
.rcs-feature-box:nth-child(2) img { height: 320px; }
.rcs-feature-box-text { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); padding: 18px 14px; text-align: center; }
.rcs-feature-box-text h3 { margin: 0; }



.rcs-page-banner { width: 100%; max-height: 380px; object-fit: cover; }

/* Feature grid responsive */
@media (max-width: 880px) {
	.rcs-hero-carousel,
	.rcs-orange-divider { display: none; }
	.rcs-feature-grid { margin-top: 0; padding-top: 30px; }
	.rcs-feature-grid-inner { grid-template-columns: 1fr; align-items: stretch; }
	.rcs-feature-box:nth-child(2) img { height: 260px; }
}

/* Commitment */
.rcs-commitment { padding: 50px 0; }
.rcs-commitment-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
blockquote {
	background: transparent;
	border-left: 8px solid var(--rcs-orange);
	margin: 1.5em 10px 50px;
	padding: 0.5em 10px;
}
blockquote::before {
	color: #ffb42b;
	content: "\"";
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
	display: inline-block;
}
@media (max-width: 880px) { .rcs-commitment-grid { grid-template-columns: 1fr; } }

/* Industries */
.rcs-industries { background: var(--rcs-grey-bg); padding: 50px 0; }
.rcs-industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 600px; margin-top: 16px; }
.rcs-check-list { list-style: none; margin: 0; padding: 0; }
.rcs-check-list li { padding: 6px 0 6px 26px; position: relative; font-weight: 600; }
.rcs-check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--rcs-orange); font-weight: 700; }

/* Safety page: image + checklist side by side */
.rcs-safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.rcs-safety-image img { width: 100%; border-radius: 4px; }
.rcs-check-list-wrap li {
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 14px;
	padding-left: 28px;
}
@media (max-width: 880px) {
	.rcs-safety-grid { grid-template-columns: 1fr; }
}

/* Inner page content utilities */
.rcs-container h2.rcs-heading { margin-top: 0; }
.rcs-img-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.rcs-img-row img { flex: 1 1 150px; height: 160px; object-fit: cover; }

.rcs-staff-carousel { position: relative; margin: 24px 0; }
.rcs-staff-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.rcs-staff-track::-webkit-scrollbar { display: none; }
.rcs-staff-track img {
	flex: 0 0 calc((100% - 32px) / 3);
	height: 270px;
	object-fit: cover;
	border-radius: 6px;
}
@media (max-width: 880px) {
	.rcs-staff-track img { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
	.rcs-staff-track img { flex: 0 0 100%; }
}
.rcs-track-prev, .rcs-track-next {
	position: absolute; top: -48px; width: 36px; height: 36px;
	border: 1px solid #ddd; background: #fff; border-radius: 4px;
	cursor: pointer; font-size: 14px; color: var(--rcs-text);
}
.rcs-track-prev { right: 46px; }
.rcs-track-next { right: 0; }
.rcs-track-prev:hover, .rcs-track-next:hover { background: var(--rcs-grey-bg); }
.rcs-img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.rcs-img-pair img { width: 100%; height: 280px; object-fit: cover; }
@media (max-width: 700px) { .rcs-img-pair { grid-template-columns: 1fr; } }
.rcs-plan-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.rcs-plan-list li a { display: block; padding: 6px 0; }

/* Single Fleet Plan */
.rcs-fleet-plan-single { padding: 50px 0; }
.rcs-fleet-plan-title { font-size: 32px; margin-bottom: 30px; }
.rcs-fp-title-prefix { color: #888; font-weight: 400; }
.rcs-fleet-plan-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.rcs-fleet-plan-sidebar h3,
.rcs-fleet-plan-main h3 {
	font-size: 20px;
	margin-bottom: 6px;
	position: relative;
	padding-bottom: 12px;
}
.rcs-fleet-plan-sidebar h3::after,
.rcs-fleet-plan-main h3::after {
	content: "";
	display: block;
	width: 50px; height: 3px;
	background: var(--rcs-orange);
	margin-top: 8px;
}
.rcs-fp-features-box { background: var(--rcs-grey-bg); border-radius: 4px; padding: 20px 24px; margin: 16px 0 24px; }
.rcs-fp-features-list { list-style: none; margin: 0; padding: 0; }
.rcs-fp-features-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e2e2e2; }
.rcs-fp-features-list li:last-child { border-bottom: 0; }
.rcs-fp-badge {
	flex: 0 0 28px; height: 28px;
	background: var(--rcs-orange);
	color: #fff; font-weight: 700;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.rcs-fp-pdf-btn {
	display: inline-block;
	background: var(--rcs-blue);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	padding: 14px 24px;
	border-radius: 4px;
	margin-top: 8px;
}
.rcs-fp-pdf-btn:hover { background: var(--rcs-blue-dark); }
.rcs-fp-social { margin-top: 20px; display: flex; gap: 14px; }
.rcs-fp-social a {
	width: 36px; height: 36px;
	border: 1px solid #ddd; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: var(--rcs-text);
}
.rcs-fp-social a:hover { background: var(--rcs-grey-bg); }
.rcs-plan-image { width: 100%; border: 1px solid #e5e5e5; border-radius: 4px; cursor: zoom-in; }
.rcs-plan-image-link { display: block; }

.rcs-lightbox-overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.85);
	display: none;
	align-items: center; justify-content: center;
	z-index: 9999;
	padding: 30px;
	cursor: zoom-out;
}
.rcs-lightbox-overlay.is-open { display: flex; }
.rcs-lightbox-overlay img { max-width: 95%; max-height: 95%; border-radius: 4px; }

@media (max-width: 880px) {
	.rcs-fleet-plan-grid { grid-template-columns: 1fr; }
}

/* Contact page */
.rcs-contact-section { margin-top: 24px; }
.rcs-sales-card { max-width: 360px; margin: 24px 0 30px; }
.rcs-social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	background: var(--rcs-blue); color: #fff;
	border-radius: 4px; font-weight: 700; font-size: 14px;
	text-decoration: none;
}
.rcs-social-icon:hover { background: var(--rcs-blue-dark); }

.rcs-contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin: 40px 0; }
.rcs-contact-address-item { margin-bottom: 20px; }
.rcs-contact-address-item h4 { margin: 0 0 4px; font-size: 15px; text-transform: uppercase; color: #888; }
.rcs-contact-address-item p { margin: 0; }
.rcs-contact-form-placeholder {
	background: var(--rcs-grey-bg);
	border: 1px dashed #ccc;
	border-radius: 4px;
	padding: 24px;
	color: #777;
}
.rcs-contact-form-placeholder code { background: #fff; padding: 2px 6px; border-radius: 3px; }
.rcs-contact-map iframe { width: 100%; border-radius: 4px; }

@media (max-width: 880px) {
	.rcs-contact-grid { grid-template-columns: 1fr; }
}
.rcs-careers-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: start; }
.rcs-careers-feature-img { width: 100%; margin: 20px 0; border-radius: 4px; }
.rcs-careers-sidebar { position: sticky; top: 20px; }
.rcs-careers-widget { background: var(--rcs-grey-bg); border-radius: 4px; padding: 24px; }
.rcs-careers-widget h3 { margin: 0; }
.rcs-careers-widget h3 a { color: var(--rcs-blue); }
@media (max-width: 880px) {
	.rcs-careers-grid { grid-template-columns: 1fr; }
	.rcs-careers-sidebar { position: static; }
}

.rcs-fleet-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 24px;
}
.rcs-fleet-card {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
}
.rcs-fleet-card-header {
	background: var(--rcs-orange);
	color: #fff;
	font-weight: 700;
	padding: 14px 18px;
}
.rcs-fleet-card-list { display: flex; flex-direction: column; }
.rcs-fleet-card-item {
	padding: 14px 18px;
	border-bottom: 1px solid #eee;
	color: var(--rcs-text);
}
.rcs-fleet-card-item:last-child { border-bottom: 0; }
.rcs-fleet-card-item:hover { background: var(--rcs-grey-bg); color: var(--rcs-blue); }

@media (max-width: 1024px) {
	.rcs-fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.rcs-fleet-grid { grid-template-columns: 1fr; }
}

/* Supply & Construction: alternating service blocks with carousel */
.rcs-service-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin: 50px 0;
}
.rcs-service-block-reverse .rcs-service-text { order: 2; }
.rcs-service-block-reverse .rcs-service-carousel { order: 1; }
.rcs-bg-grey { background: var(--rcs-grey-bg); padding: 40px; border-radius: 4px; }
.rcs-bg-grey-band { background: var(--rcs-grey-bg); padding: 30px 40px; margin: 24px 0; border-radius: 4px; }

.rcs-block-carousel { position: relative; overflow: hidden; border-radius: 4px; }
.rcs-block-carousel .rcs-hero-slide img { width: 100%; height: 360px; object-fit: cover; }
.rcs-block-prev, .rcs-block-next {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(0,0,0,.3); color: #fff; border: 0;
	font-size: 18px; padding: 8px 12px; cursor: pointer; border-radius: 2px;
}
.rcs-block-prev { left: 8px; }
.rcs-block-next { right: 8px; }
.rcs-block-carousel .rcs-hero-dots { position: absolute; bottom: 10px; left: auto; right: 10px; transform: none; }

.rcs-twocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 50px 0; }

.rcs-sublist { list-style: none; margin: 8px 0 8px 20px; padding: 0; }
.rcs-sublist li { position: relative; padding-left: 18px; font-weight: 400; margin-bottom: 6px; }
.rcs-sublist li::before { content: "\25CB"; position: absolute; left: 0; font-size: 10px; top: 4px; color: #888; }

@media (max-width: 880px) {
	.rcs-service-block, .rcs-twocol-grid { grid-template-columns: 1fr; }
	.rcs-service-block-reverse .rcs-service-text,
	.rcs-service-block-reverse .rcs-service-carousel { order: initial; }
}
#rcs-footer { margin-top: 0; }
.rcs-footer-top { background: #fff; padding: 25px 0 20px; }
.rcs-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.rcs-footer-mission p { margin-top: 16px; line-height: 1.7; }
.rcs-footer-contact { text-align: right; }
.rcs-footer-contact .rcs-divider { margin-left: auto; }
.rcs-footer-contact address { margin-top: 16px; font-style: normal; line-height: 1.8; }

.rcs-footer-photo-band {
	height: 480px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.rcs-footer-photo-band::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(255,255,255,1) 0%,
		rgba(255,255,255,0) 12%,
		rgba(255,255,255,0) 78%,
		rgba(125,125,125,1) 100%
	);
}
@media (max-width: 880px) {
	.rcs-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.rcs-footer-contact { text-align: left; }
	.rcs-footer-contact .rcs-divider { margin-left: 0; }
	.rcs-footer-photo-band { height: 280px; }
}

.rcs-footer-bottom { background: #7d7d7d; color: #fff; text-align: center; padding: 14px 0; border-top: 3px solid var(--rcs-orange); }


/* Home hero: visible carousel indicators and slide-in title animation */
.rcs-home .rcs-hero-dots {
	bottom: 16px;
	z-index: 3;
}
.rcs-home .rcs-hero-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .95);
	box-shadow: 0 0 2px rgba(0, 0, 0, .35);
}
.rcs-home .rcs-hero-dot.is-active {
	background: #fff;
	border-color: #fff;
}
.rcs-home .rcs-hero-slide.is-active .rcs-hero-caption h1 {
	animation: rcs-slide-in-down 1s both;
}
@keyframes rcs-slide-in-down {
	from {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.rcs-home .rcs-hero-slide.is-active .rcs-hero-caption h1 {
		animation: none;
	}
}


/* Home hero: match reference spacing between pagination and feature panels */
/* Scoped to desktop only (min-width: 881px) so it doesn't override the mobile
   reset below 880px, where the hero carousel is hidden and this negative
   margin was pulling the feature panels up over the header. */
@media (min-width: 881px) {
	.rcs-home .rcs-feature-grid {
		margin-top: -80px;
	}
}


/* Home hero: match reference title size and offering-image hover effect */
.rcs-home .rcs-hero-caption h1 {
    font-size: 48px;
}

.rcs-home .rcs-feature-box img {
    transition: transform .3s ease;
}

.rcs-home .rcs-feature-box:hover img,
.rcs-home .rcs-feature-box:focus-visible img {
    transform: scale(1.1);
}


/* Home offering cards: translucent glare sweep matching the reference site */
.rcs-home .rcs-feature-box::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .2);
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -100%, 0);
    transition: transform .7s .1s;
    z-index: 2;
    pointer-events: none;
}

.rcs-home .rcs-feature-box:hover::before,
.rcs-home .rcs-feature-box:focus-visible::before {
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 100%, 0);
}


/* Catering: show full-height two-column images instead of cropping them */
body.page-template-page-catering .rcs-img-pair img {
    height: auto;
    object-fit: contain;
}


/* Reusable heading: remove the grey rule and orange accent */
.rcs-container h3.rcs-no-accent {
    border-bottom: 0;
    padding-bottom: 0;
}

.rcs-container h3.rcs-no-accent::after {
    display: none;
}


/* Back-to-top button: fixed yellow circle, fades in after scrolling (matches summitcamps.ca) */
.scrollToTop {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	text-align: center;
	font-weight: bold;
	line-height: 32px;
	font-size: 16px;
	color: #fff;
	position: fixed;
	z-index: 1000;
	bottom: 16px;
	right: 40px;
	background: var(--rcs-orange);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scrollToTop.is-visible {
	opacity: 1;
	visibility: visible;
}

.scrollToTop:hover,
.scrollToTop:focus {
	background: var(--rcs-orange);
	color: #fff;
}

@media screen and (max-width: 480px) {
	.scrollToTop {
		right: 15px;
	}
}