/* =========================================================
   Rennell Capital Group — brand styles for the Beaver Builder build
   Colours come from the RCG / RE / RRC seals.
   ========================================================= */
:root {
	--rcg-burgundy: #7B3F3F;   /* RCG seal */
	--rcg-oxblood: #6E1419;    /* RE / RRC seals, hover + depth */
	--rcg-ink: #231F20;        /* logo black */
	--rcg-body: #45403F;
	--rcg-muted: #6B6463;
	--rcg-stone: #F4F3F1;
	--rcg-blush: #F3E9E7;
	--rcg-line: #DDD6D5;
	--rcg-white: #fff;
	--rcg-display: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
	--rcg-sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	--rcg-radius: 6px;
	--rcg-shadow: 0 18px 40px -22px rgba(35, 31, 32, .45);
}

/* Full-width canvas for kit pages on themes that box their content (Beaver Builder Theme is already full width) */
.page-template-rcg-full-width-php .site.grid-container,
.page-template-rcg-full-width-php .site-content,
.page-template-rcg-full-width-php #page { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; display: block !important; }
.rcg-main { display: block; width: 100%; }
.rcg-main > .fl-builder-content { width: 100%; }

/* ---------- Base type ---------- */
body.rcg-site {
	font-family: var(--rcg-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--rcg-body);
	background: var(--rcg-white);
	-webkit-font-smoothing: antialiased;
}
.rcg-site h1, .rcg-site h2, .rcg-site h3, .rcg-site h4,
.rcg-site .fl-module-heading .fl-heading {
	font-family: var(--rcg-display);
	color: var(--rcg-ink);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
.rcg-site h1, .rcg-site .fl-module-heading h1.fl-heading { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; }
.rcg-site h2, .rcg-site .fl-module-heading h2.fl-heading { font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.08; }
.rcg-site h3, .rcg-site .fl-module-heading h3.fl-heading { font-size: clamp(1.4rem, 2vw, 1.65rem); line-height: 1.15; }
.rcg-site h4 { font-size: 1.2rem; line-height: 1.2; }
.rcg-site a { color: var(--rcg-burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rcg-site a:hover { color: var(--rcg-oxblood); }
.rcg-site :focus-visible { outline: 3px solid var(--rcg-burgundy); outline-offset: 3px; }
.rcg-site .fl-rich-text p:last-child { margin-bottom: 0; }
.rcg-text p { margin: 0 0 1em; max-width: 68ch; }
.rcg-lead p, .rcg-lead { font-size: 1.2rem; line-height: 1.55; color: var(--rcg-ink); }
.rcg-strap .fl-heading, .rcg-strap { font-family: var(--rcg-sans) !important; font-size: 1.25rem !important; font-weight: 500 !important; color: var(--rcg-burgundy) !important; line-height: 1.4 !important; }
.rcg-center, .rcg-center .fl-heading, .rcg-center p { text-align: center; margin-left: auto; margin-right: auto; }

/* Module spacing (global module margins are zero; spacing is set here so it is consistent) */
.rcg-sec .fl-module + .fl-module { margin-top: 18px; }
.rcg-sec .fl-module-heading + .fl-module-rich-text { margin-top: 14px; }
.rcg-sec .fl-module-rich-text + .fl-module-button,
.rcg-sec .fl-module-rich-text + .fl-module-button-group,
.rcg-sec .fl-module-rich-text + .fl-module-html { margin-top: 26px; }
.rcg-sec .fl-col-group + .fl-col-group { margin-top: 48px; }
.rcg-sec .fl-module-content { margin: 0 !important; }

/* Section heading rule: a dimension line, the device draughtsmen use to mark a measured length */
.rcg-rule .fl-heading::before {
	content: "";
	display: block;
	width: 64px;
	height: 9px;
	margin-bottom: 18px;
	background:
		linear-gradient(var(--rcg-burgundy), var(--rcg-burgundy)) left center / 100% 2px no-repeat,
		linear-gradient(var(--rcg-burgundy), var(--rcg-burgundy)) left center / 2px 100% no-repeat,
		linear-gradient(var(--rcg-burgundy), var(--rcg-burgundy)) right center / 2px 100% no-repeat;
}
.rcg-center.rcg-rule .fl-heading::before { margin-left: auto; margin-right: auto; }
.rcg-on-dark .rcg-rule .fl-heading::before, .rcg-rule.rcg-light .fl-heading::before {
	background:
		linear-gradient(#fff, #fff) left center / 100% 2px no-repeat,
		linear-gradient(#fff, #fff) left center / 2px 100% no-repeat,
		linear-gradient(#fff, #fff) right center / 2px 100% no-repeat;
}

/* ---------- Buttons ---------- */
.rcg-site a.fl-button, .rcg-site a.fl-button:visited,
.rcg-site .fl-button-group a.fl-button {
	font-family: var(--rcg-sans);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .01em;
	line-height: 1.2;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rcg-site a.fl-button .fl-button-text { font-weight: 600; }
.rcg-btns .fl-button-group-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.rcg-btns .fl-button-group-button { margin: 0 !important; }
.rcg-textlink {
	display: inline-block;
	font-weight: 600;
	color: var(--rcg-burgundy);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}
.rcg-textlink:hover { color: var(--rcg-oxblood); }
.rcg-on-dark .rcg-textlink { color: #fff; }

/* ---------- Photos ---------- */
.rcg-photo img, .rcg-frame img { border-radius: var(--rcg-radius); width: 100%; height: auto; display: block; }
.rcg-photo.rcg-cover img { aspect-ratio: 4 / 3; object-fit: cover; }
.rcg-photo.rcg-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.rcg-photo.rcg-tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.rcg-photo.rcg-logo img { width: 112px; border-radius: 0; margin: 0; }
.rcg-photo.rcg-logo .fl-photo { text-align: left; }
.rcg-photo.rcg-logo-lg img { width: 150px; border-radius: 0; }

/* ---------- Hero ---------- */
.rcg-hero { position: relative; overflow: hidden; }
.rcg-hero::before {
	content: "";
	position: absolute;
	right: -40px; top: 0; bottom: 0;
	width: min(58%, 820px);
	background: var(--rcg-lineart) right bottom / contain no-repeat;
	opacity: .5;
	pointer-events: none;
}
.rcg-hero > .fl-row-content-wrap { position: relative; }
.rcg-hero-copy .fl-module-photo.rcg-seal img { width: 88px; border-radius: 0; }
.rcg-hero-copy .rcg-seal .fl-photo { text-align: left; }
.rcg-collage > .fl-col-content { position: relative; padding: 0 0 64px 56px; }
.rcg-collage .rcg-collage-main img { aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--rcg-shadow); }
.rcg-collage .rcg-collage-inset {
	position: absolute !important;
	left: 0; bottom: 0;
	width: 44%;
	margin: 0 !important;
	z-index: 2;
}
.rcg-collage .rcg-collage-inset img { aspect-ratio: 1 / 1; object-fit: cover; border: 8px solid #fff; border-radius: 4px; box-shadow: var(--rcg-shadow); }
.rcg-collage .rcg-collage-tag {
	position: absolute !important;
	right: 18px; top: 18px;
	margin: 0 !important;
	z-index: 2;
}
.rcg-tag {
	display: inline-block;
	background: #fff;
	color: var(--rcg-ink);
	font-size: 13px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 3px;
	box-shadow: 0 6px 18px -10px rgba(0,0,0,.4);
}
.rcg-tag::before { content: "\2605"; color: var(--rcg-burgundy); margin-right: 6px; }

/* Inner-page hero (shorter, with breadcrumb) */
.rcg-pagehero .rcg-crumbs { font-size: 14px; color: var(--rcg-muted); }
.rcg-crumbs a { color: var(--rcg-muted); text-decoration: none; }
.rcg-crumbs a:hover { color: var(--rcg-burgundy); text-decoration: underline; }
.rcg-crumbs span[aria-current] { color: var(--rcg-ink); font-weight: 600; }
.rcg-crumbs .sep { margin: 0 8px; color: var(--rcg-line); }
.rcg-pagehero-img img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--rcg-shadow); }

/* ---------- Cards ---------- */
.rcg-card > .fl-col-content {
	background: #fff;
	border: 1px solid var(--rcg-line);
	border-radius: 4px;
	padding: 34px 30px 32px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.rcg-card.rcg-card-top > .fl-col-content { border-top: 4px solid var(--rcg-burgundy); }
.rcg-card > .fl-col-content > .fl-module:last-child { margin-top: auto; padding-top: 22px; }
.rcg-card .fl-module-rich-text { color: var(--rcg-body); }
.rcg-company .rcg-photo.rcg-logo img { width: 96px; }

/* Tinted info tile used for short facts and steps */
.rcg-tile > .fl-col-content {
	background: var(--rcg-stone);
	border-radius: 4px;
	padding: 28px 26px;
	height: 100%;
}
.rcg-on-stone .rcg-tile > .fl-col-content { background: #fff; }

/* Icon chips for building-system cards */
.rcg-icon .fl-icon i, .rcg-icon .fl-icon i::before { color: var(--rcg-burgundy) !important; }
.rcg-icon .fl-icon {
	width: 58px; height: 58px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rcg-blush);
	border-radius: 50%;
}
.rcg-icon .fl-icon i { font-size: 24px !important; }
.rcg-icon .fl-icon-wrap { display: flex; align-items: center; gap: 14px; }
.rcg-icon .fl-icon-text { font-weight: 600; color: var(--rcg-ink); }

/* Star-bulleted list (the star is from the seals) */
.rcg-stars { list-style: none; margin: 0; padding: 0; }
.rcg-stars li { position: relative; padding-left: 28px; margin: 0 0 12px; }
.rcg-stars li::before { content: "\2605"; position: absolute; left: 0; top: 0; color: var(--rcg-burgundy); font-size: 15px; }
.rcg-stars li strong { color: var(--rcg-ink); }

/* Numbered process (only where the content is a real sequence) */
.rcg-steps { counter-reset: rcgstep; }
.rcg-step > .fl-col-content { position: relative; padding-top: 64px !important; }
.rcg-step > .fl-col-content::before {
	counter-increment: rcgstep;
	content: counter(rcgstep);
	position: absolute; top: 18px; left: 26px;
	font-family: var(--rcg-display);
	font-size: 34px; font-weight: 700; line-height: 1;
	color: var(--rcg-burgundy);
}

/* ---------- Image tiles (portfolio entry points) ---------- */
.rcg-tile-link > .fl-col-content { position: relative; border-radius: var(--rcg-radius); overflow: hidden; }
.rcg-tile-link .rcg-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.rcg-tile-link:hover .rcg-photo img { transform: scale(1.03); }
.rcg-tile-link .rcg-tile-cap { background: #fff; padding: 26px 28px 28px; margin: 0 !important; border: 1px solid var(--rcg-line); border-top: 0; border-radius: 0 0 var(--rcg-radius) var(--rcg-radius); }
.rcg-tile-cap h3 { margin: 0 0 8px; }
.rcg-tile-cap p { margin: 0 0 16px; }

/* ---------- People strip ---------- */
.rcg-people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rcg-person { margin: 0; text-align: left; }
.rcg-person img { width: 100% !important; height: auto !important; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 4px; display: block; background: #e9e6e4; }
.rcg-person figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--rcg-muted); }
.rcg-person figcaption strong { display: block; font-family: var(--rcg-display); font-size: 18px; font-weight: 600; color: var(--rcg-ink); }

/* Team profiles */
.rcg-profile img { width: 100%; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.rcg-role .fl-heading, .rcg-role { font-family: var(--rcg-sans) !important; font-size: 15px !important; font-weight: 600 !important; color: var(--rcg-burgundy) !important; line-height: 1.4 !important; }
.rcg-mail a { font-weight: 600; text-decoration: none; }
.rcg-ai-note > .fl-col-content { border: 1px dashed var(--rcg-burgundy); border-radius: 4px; padding: 26px 28px; background: #fff; }

/* ---------- Dark / burgundy bands ---------- */
.rcg-on-dark, .rcg-on-dark p, .rcg-on-dark li { color: rgba(255,255,255,.88); }
.rcg-on-dark h1, .rcg-on-dark h2, .rcg-on-dark h3, .rcg-on-dark .fl-heading, .rcg-on-dark .fl-heading a { color: #fff !important; }
.rcg-on-dark a:not(.fl-button) { color: #fff; }
.rcg-cta-contact { font-size: 1.05rem; }
.rcg-cta-contact a { font-weight: 600; }

/* ---------- Article cards ([rcg_posts]) ---------- */
.rcg-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rcg-post { background: #fff; border: 1px solid var(--rcg-line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.rcg-post__img img, .rcg-post__noimg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--rcg-stone); }
.rcg-post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.rcg-post__cat { font-size: 13px; font-weight: 600; color: var(--rcg-burgundy); margin-bottom: 8px; }
.rcg-post__title { font-size: 1.3rem !important; margin: 0 0 10px !important; line-height: 1.2 !important; }
.rcg-post__title a { color: var(--rcg-ink); text-decoration: none; }
.rcg-post__title a:hover { color: var(--rcg-burgundy); text-decoration: underline; }
.rcg-post__excerpt { font-size: 15px; margin: 0 0 14px; }
.rcg-post__meta { margin: auto 0 0; font-size: 13px; color: var(--rcg-muted); }
.rcg-post__meta span { margin: 0 6px; color: var(--rcg-line); }
.rcg-pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.rcg-pager a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rcg-line); border-radius: 3px; text-decoration: none; color: var(--rcg-ink); font-weight: 600; }
.rcg-pager a[aria-current] { background: var(--rcg-burgundy); border-color: var(--rcg-burgundy); color: #fff; }
.rcg-reading { list-style: none; margin: 0; padding: 0; }
.rcg-reading li { border-top: 1px solid var(--rcg-line); }
.rcg-reading li:last-child { border-bottom: 1px solid var(--rcg-line); }
.rcg-reading a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; color: var(--rcg-ink); font-weight: 600; text-decoration: none; }
.rcg-reading a::after { content: "\203A"; color: var(--rcg-burgundy); font-size: 22px; line-height: 1; }
.rcg-reading a:hover { color: var(--rcg-burgundy); }

/* ---------- Project references ---------- */
.rcg-ref { border-left: 3px solid var(--rcg-burgundy); padding: 2px 0 2px 18px; margin: 0 0 22px; }
.rcg-ref h3 { font-size: 1.3rem !important; margin: 0 0 4px !important; }
.rcg-ref p { margin: 0; font-size: 15.5px; }
.rcg-sector-label .fl-heading { font-size: clamp(1.6rem, 2.4vw, 2rem) !important; }
.rcg-caption { font-size: 14px; color: var(--rcg-muted); }
.rcg-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 3px; background: var(--rcg-blush); color: var(--rcg-oxblood); }

/* ---------- Offices ---------- */
.rcg-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcg-office { background: #fff; border: 1px solid var(--rcg-line); border-radius: 4px; padding: 24px 24px 22px; }
.rcg-office h3 { margin: 0 0 8px !important; font-size: 1.35rem !important; }
.rcg-office address { font-style: normal; line-height: 1.6; }
.rcg-office .rcg-office__state { display: block; font-size: 13px; font-weight: 600; color: var(--rcg-burgundy); margin-bottom: 4px; }

/* ---------- Contact ---------- */
.rcg-quick { display: grid; gap: 12px; }
.rcg-quick a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--rcg-line); border-radius: 4px; text-decoration: none; color: var(--rcg-ink); font-weight: 600; }
.rcg-quick a:hover { border-color: var(--rcg-burgundy); color: var(--rcg-burgundy); }
.rcg-quick svg { flex: 0 0 auto; color: var(--rcg-burgundy); }
.rcg-quick small { display: block; font-weight: 400; color: var(--rcg-muted); font-size: 13px; }
.rcg-formwrap > .fl-col-content { background: #fff; border-radius: 6px; padding: 38px 36px; box-shadow: var(--rcg-shadow); border: 1px solid var(--rcg-line); }
.rcg-form .gform_wrapper.gravity-theme .gfield_label, .rcg-form .gform_wrapper .gfield_label { font-weight: 600; color: var(--rcg-ink); font-size: 15px; }
.rcg-form .gform_wrapper input[type="text"], .rcg-form .gform_wrapper input[type="email"], .rcg-form .gform_wrapper input[type="tel"], .rcg-form .gform_wrapper input[type="url"], .rcg-form .gform_wrapper select, .rcg-form .gform_wrapper textarea {
	border: 1px solid #CFC7C6; border-radius: 3px; padding: 12px 14px !important; font-size: 16px; font-family: var(--rcg-sans); background: #fff;
}
.rcg-form .gform_wrapper input:focus, .rcg-form .gform_wrapper select:focus, .rcg-form .gform_wrapper textarea:focus { border-color: var(--rcg-burgundy); outline: 2px solid rgba(123,63,63,.25); }
.rcg-form .gform_wrapper .gform_button, .rcg-form .gform_wrapper input[type="submit"] {
	background: var(--rcg-burgundy) !important; color: #fff !important; border: 0 !important; border-radius: 3px !important;
	padding: 16px 30px !important; font-weight: 600 !important; font-size: 16px !important; font-family: var(--rcg-sans) !important; cursor: pointer;
}
.rcg-form .gform_wrapper .gform_button:hover { background: var(--rcg-oxblood) !important; }
.rcg-form .gchoice label { font-weight: 500; }
.rcg-form .gfield--type-radio .gfield_radio { display: flex; flex-wrap: wrap; gap: 10px; }
.rcg-form .gfield--type-radio .gchoice { border: 1px solid #CFC7C6; border-radius: 3px; padding: 10px 14px; }
.rcg-form .rcg-privacy { font-size: 13.5px; color: var(--rcg-muted); }
.rcg-lc-form iframe { width: 100%; min-height: 720px; border: 0; }

/* ---------- Accordion (FAQs) ---------- */
.rcg-accordion .fl-accordion-item { border: 0 !important; border-bottom: 1px solid var(--rcg-line) !important; background: transparent !important; }
.rcg-accordion .fl-accordion-item:first-child { border-top: 1px solid var(--rcg-line) !important; }
.rcg-accordion .fl-accordion-button { padding: 22px 4px !important; background: transparent !important; }
.rcg-accordion .fl-accordion-button-label { font-family: var(--rcg-display); font-size: 1.35rem !important; font-weight: 600; color: var(--rcg-ink); line-height: 1.25; }
.rcg-accordion .fl-accordion-button-icon { color: var(--rcg-burgundy); opacity: 1; }
.rcg-accordion .fl-accordion-content { padding: 0 4px 24px !important; max-width: 72ch; }

/* ---------- Policy ---------- */
.rcg-policy h2 { font-size: 1.6rem !important; margin: 2em 0 .5em; }
.rcg-policy p { max-width: 74ch; }

/* ---------- Header (Themer) ---------- */
.rcg-topbar { font-size: 13.5px; }
.rcg-topbar, .rcg-topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.rcg-topbar a:hover { color: #fff; text-decoration: underline; }
.rcg-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rcg-topbar__offices span + span::before { content: "/"; margin: 0 10px; color: rgba(255,255,255,.35); }
.rcg-topbar__contact { display: flex; gap: 22px; }
.rcg-header-main { box-shadow: 0 1px 0 var(--rcg-line); }
.fl-theme-builder-header-scrolled .rcg-header-main { box-shadow: 0 8px 24px -16px rgba(35,31,32,.35); }
.rcg-header-logo img { width: 74px !important; height: auto; transition: width .2s ease; }
.fl-theme-builder-header-scrolled .rcg-header-logo img { width: 60px !important; }
.rcg-menu .menu > li > a, .rcg-menu .menu > li > .fl-has-submenu-container > a {
	font-family: var(--rcg-sans); font-weight: 600; font-size: 15.5px; color: var(--rcg-ink) !important;
}
.rcg-menu .menu > li > a:hover, .rcg-menu .menu > li.current-menu-item > a, .rcg-menu .menu > li.current-menu-ancestor > .fl-has-submenu-container > a { color: var(--rcg-burgundy) !important; }
.rcg-menu .sub-menu { border-top: 3px solid var(--rcg-burgundy) !important; min-width: 270px; }
.rcg-menu .sub-menu a { font-size: 15px; font-weight: 500; color: var(--rcg-ink) !important; }
.rcg-menu .sub-menu a:hover { color: var(--rcg-burgundy) !important; background: var(--rcg-stone) !important; }

/* ---------- Footer (Themer) ---------- */
.rcg-footer, .rcg-footer p, .rcg-footer address { color: rgba(255,255,255,.78); font-size: 15px; }
.rcg-footer h4, .rcg-footer .fl-heading { font-family: var(--rcg-display); color: #fff !important; font-size: 1.25rem !important; margin: 0 0 14px; }
.rcg-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.rcg-footer a:hover { color: #fff; text-decoration: underline; }
.rcg-footer ul { list-style: none; margin: 0; padding: 0; }
.rcg-footer li { margin: 0 0 9px; }
.rcg-footer address { font-style: normal; margin-bottom: 14px; line-height: 1.55; }
.rcg-footer address strong { color: #fff; font-weight: 600; display: block; }
.rcg-footer-logo img { width: 104px !important; }
.rcg-social { display: flex; gap: 10px; margin-top: 18px; }
.rcg-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.rcg-social a:hover { background: var(--rcg-burgundy); border-color: var(--rcg-burgundy); text-decoration: none; }
.rcg-social svg { width: 17px; height: 17px; fill: #fff; }
.rcg-footer-bar, .rcg-footer-bar p { font-size: 13.5px; color: rgba(255,255,255,.6); }
.rcg-footer-bar__inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.rcg-footer-bar a { color: rgba(255,255,255,.75); }

/* ---------- Scroll to top ---------- */
.rcg-to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	z-index: 9999;
	width: 50px; height: 50px;
	border: 0; border-radius: 50%;
	background: var(--rcg-burgundy);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px -10px rgba(35,31,32,.55);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.rcg-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rcg-to-top:hover { background: var(--rcg-oxblood); }
.rcg-to-top:focus-visible { outline: 3px solid var(--rcg-ink); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rcg-people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
	.rcg-posts { grid-template-columns: repeat(2, 1fr); }
	.rcg-hero::before { width: 100%; opacity: .22; }
	.rcg-collage > .fl-col-content { padding-left: 32px; }
	.rcg-topbar__offices { display: none; }
}
@media (max-width: 768px) {
	body.rcg-site { font-size: 16px; }
	.rcg-posts, .rcg-offices { grid-template-columns: 1fr; }
	.rcg-people { grid-template-columns: repeat(2, 1fr); }
	.rcg-sec .fl-col-group + .fl-col-group { margin-top: 32px; }
	.rcg-sec .fl-col + .fl-col { margin-top: 22px; }
	.rcg-card > .fl-col-content { padding: 28px 22px; }
	.rcg-formwrap > .fl-col-content { padding: 26px 20px; }
	.rcg-collage > .fl-col-content { padding: 0 0 48px 24px; margin-top: 12px; }
	.rcg-collage .rcg-collage-inset { width: 44%; }
	.rcg-topbar__inner { justify-content: center; }
	.rcg-topbar__contact { gap: 16px; }
	.rcg-header-logo img { width: 58px !important; }
	.rcg-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
	.rcg-footer-bar__inner { justify-content: center; text-align: center; }
	.rcg-btns .fl-button-group-buttons { flex-direction: column; align-items: stretch; }
	.rcg-btns .fl-button-group-button, .rcg-btns a.fl-button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.rcg-site *, .rcg-to-top { transition: none !important; }
}

/* Small labelled image grid (sector previews) */
.rcg-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rcg-mini-grid figure { margin: 0; position: relative; }
.rcg-mini-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.rcg-mini-grid figcaption { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--rcg-ink); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 3px; }
.rcg-affil { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rcg-affil a { display: block; background: #fff; border: 1px solid var(--rcg-line); border-left: 3px solid var(--rcg-burgundy); padding: 14px 16px; border-radius: 3px; font-weight: 600; color: var(--rcg-ink); text-decoration: none; }
.rcg-affil a:hover { color: var(--rcg-burgundy); border-color: var(--rcg-burgundy); }
@media (max-width: 768px) {
	.rcg-affil { grid-template-columns: 1fr; }
	.rcg-stars[style*="columns"] { columns: 1 !important; }
}
/* Cards that open with a photo */
.rcg-card.rcg-card-photo > .fl-col-content { padding: 0 0 30px; overflow: hidden; }
.rcg-card.rcg-card-photo > .fl-col-content > .fl-module { padding-left: 28px; padding-right: 28px; }
.rcg-card.rcg-card-photo > .fl-col-content > .fl-module.rcg-card-img { padding: 0; }
.rcg-card-img img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important; }
.rcg-card.rcg-card-photo .fl-module + .fl-module { margin-top: 14px; }
.rcg-card.rcg-card-photo .rcg-card-img + .fl-module { margin-top: 24px; }
.rcg-card.rcg-card-photo > .fl-col-content > .fl-module:last-child { margin-top: 14px; padding-top: 0; }
@media (max-width: 768px) { .rcg-hide-mobile { display: none !important; } }
.rcg-person-name .fl-heading { font-size: 1.6rem !important; }
.rcg-person-card .rcg-profile img { aspect-ratio: 1 / 1; object-position: center 20%; }
.rcg-ai-img img { width: 84px !important; height: 84px; border-radius: 50% !important; object-fit: cover; }
.rcg-portfolio-logo { margin-top: -48px !important; position: relative; z-index: 2; }
.rcg-portfolio-logo img { width: 92px !important; background: #fff; border-radius: 50% !important; padding: 4px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.rcg-mini-grid--3 figure:first-child { grid-column: 1 / -1; }
.rcg-mini-grid--3 figure:first-child img { aspect-ratio: 16 / 8; }
.rcg-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.rcg-jump a { padding: 9px 16px; border: 1px solid var(--rcg-line); border-radius: 40px; text-decoration: none; color: var(--rcg-ink); font-weight: 600; font-size: 15px; }
.rcg-jump a:hover { border-color: var(--rcg-burgundy); color: var(--rcg-burgundy); }
.rcg-jumpbar { border-bottom: 1px solid var(--rcg-line); }
.rcg-frame-img img { box-shadow: var(--rcg-shadow); }
.rcg-side-box { background: var(--rcg-stone); border-radius: 4px; padding: 26px 24px; }
.rcg-side-box h3 { margin: 0 0 10px; }
.rcg-side-box .rcg-quick { margin: 18px 0 0; }
html { scroll-padding-top: 120px; }
.rcg-h-sm .fl-heading { font-size: clamp(1.5rem, 2.2vw, 1.85rem) !important; }
.rcg-enq-panel { border-left: 3px solid var(--rcg-burgundy); padding: 4px 0 4px 18px; margin-top: 10px; }
.rcg-enq-panel h3 { margin: 0 0 6px; font-size: 1.35rem !important; }
.rcg-enq-panel p { margin: 0; }
.rcg-social--dark a { border-color: var(--rcg-line); }
.rcg-social--dark svg { fill: var(--rcg-ink); }
.rcg-social--dark a:hover svg { fill: #fff; }
.rcg-policy h2 { padding-top: 8px; border-top: 1px solid var(--rcg-line); }
.rcg-policy h3 { font-size: 1.25rem !important; margin: 1.4em 0 .4em; }
.rcg-policy li { margin-bottom: 8px; }
.rcg-updated { color: var(--rcg-muted); font-size: 15px; }
/* Mobile flyout menu */
.rcg-menu .fl-menu-mobile-flyout .menu > li > a,
.rcg-menu .fl-menu-mobile-flyout .menu > li > .fl-has-submenu-container > a { text-align: left; font-size: 17px; }
.rcg-menu .fl-menu-mobile-flyout ul.menu { text-align: left; padding-top: 12px; }
