/*
Theme Name: Rotary Club of Buziga
Theme URI: https://www.rcbuziga.org/
Description: Custom theme for the Rotary Club of Buziga. Pages are built in Elementor with the club's own widgets; projects, events and leaders are managed as simple content types.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: rcbuziga
*/

/* ---------- Tokens ---------- */
:root {
	--rcb-blue: #17458F;          /* Rotary Royal Blue */
	--rcb-blue-700: #123A7A;
	--rcb-navy: #0B2348;
	--rcb-navy-900: #071A37;
	--rcb-azure: #0067C8;
	--rcb-sky: #00A2E0;
	--rcb-gold: #F7A81B;          /* Rotary Gold */
	--rcb-gold-700: #C98100;
	--rcb-cranberry: #D41367;
	--rcb-ink: #1B2333;
	--rcb-muted: #5A6478;
	--rcb-line: #E2E7F0;
	--rcb-tint: #F3F6FB;
	--rcb-cream: #FFF7E8;
	--rcb-white: #FFFFFF;

	--rcb-font: "Open Sans", "Frutiger", "Segoe UI", Arial, sans-serif;
	--rcb-serif: Georgia, "Times New Roman", serif;

	--rcb-radius: 14px;
	--rcb-radius-lg: 22px;
	--rcb-shadow: 0 1px 2px rgba(11, 35, 72, .06), 0 8px 24px rgba(11, 35, 72, .08);
	--rcb-shadow-lg: 0 2px 4px rgba(11, 35, 72, .06), 0 20px 48px rgba(11, 35, 72, .16);
	--rcb-ease: cubic-bezier(.2, .7, .2, 1);
	--rcb-header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--rcb-header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--rcb-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--rcb-ink);
	background: var(--rcb-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--rcb-azure); text-underline-offset: 3px; }
a:hover { color: var(--rcb-blue); }
h1, h2, h3, h4 { font-family: var(--rcb-font); color: var(--rcb-navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rcb-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rcb-gold); color: var(--rcb-navy); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.rcb-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--rcb-gold); color: var(--rcb-navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.rcb-skip:focus { top: 12px; }

.rcb-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.rcb-wrap--narrow { max-width: 820px; }
.rcb-section { padding-block: clamp(56px, 8vw, 96px); }
.rcb-section--tint { background: var(--rcb-tint); }
.rcb-icon { width: 20px; height: 20px; flex: none; }

/* Elementor: let our widgets control their own spacing */
.elementor-widget-container > .rcb-hero,
.elementor-widget-container > .rcb-page-header { margin: 0; }
.rcb-elementor-page .rcb-main { overflow-x: clip; }

/* ---------- Eyebrow, buttons ---------- */
.rcb-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--rcb-gold-700); margin: 0 0 14px;
}
.rcb-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--rcb-gold); }
.rcb-tone--dark .rcb-eyebrow, .rcb-hero .rcb-eyebrow, .rcb-page-header .rcb-eyebrow, .rcb-cta .rcb-eyebrow { color: var(--rcb-gold); }

.rcb-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rcb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
	font: 700 16px/1.2 var(--rcb-font); text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--rcb-ease), color .2s var(--rcb-ease), border-color .2s var(--rcb-ease), transform .2s var(--rcb-ease), box-shadow .2s var(--rcb-ease);
}
.rcb-btn__icon { width: 18px; height: 18px; transition: transform .2s var(--rcb-ease); }
.rcb-btn:hover .rcb-btn__icon { transform: translateX(3px); }
.rcb-btn:active { transform: translateY(1px); }
.rcb-btn--primary { background: var(--rcb-gold); color: var(--rcb-navy); }
.rcb-btn--primary:hover { background: #FFB935; color: var(--rcb-navy); box-shadow: 0 6px 18px rgba(247, 168, 27, .35); }
.rcb-btn--secondary { background: var(--rcb-blue); color: #fff; }
.rcb-btn--secondary:hover { background: var(--rcb-blue-700); color: #fff; }
.rcb-btn--dark { background: var(--rcb-navy); color: #fff; }
.rcb-btn--dark:hover { background: var(--rcb-navy-900); color: #fff; }
.rcb-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.rcb-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.rcb-btn--link { min-height: 0; padding: 0; color: var(--rcb-blue); background: none; border: 0; }
.rcb-btn--link:hover { color: var(--rcb-azure); }
.rcb-btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.rcb-btn--sm .rcb-btn__icon { display: none; }

/* ---------- Top bar & header ---------- */
.rcb-topbar { background: var(--rcb-navy); color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.rcb-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.rcb-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.rcb-topbar .rcb-icon { width: 16px; height: 16px; color: var(--rcb-gold); }
.rcb-topbar strong { color: #fff; font-weight: 600; }

.rcb-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s var(--rcb-ease), border-color .25s; }
.admin-bar .rcb-header { top: 32px; }
.rcb-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 35, 72, .08); border-color: var(--rcb-line); }
.rcb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--rcb-header-h); }
.rcb-brand { display: block; flex: none; }
.rcb-brand__logo { height: 54px; width: auto; }

.rcb-nav { display: flex; align-items: center; gap: 20px; }
.rcb-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.rcb-menu a { display: block; padding: 10px 11px; font-size: 15px; font-weight: 600; color: var(--rcb-ink); text-decoration: none; border-radius: 8px; position: relative; white-space: nowrap; }
.rcb-menu a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; background: var(--rcb-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--rcb-ease); }
.rcb-menu a:hover { color: var(--rcb-blue); }
.rcb-menu a:hover::after, .rcb-menu .current-menu-item > a::after, .rcb-menu .current_page_item > a::after { transform: scaleX(1); }
.rcb-menu .current-menu-item > a, .rcb-menu .current_page_item > a { color: var(--rcb-blue); }
.rcb-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: var(--rcb-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--rcb-ease); }
.rcb-menu li { position: relative; }
.rcb-menu li:hover > .sub-menu, .rcb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.rcb-nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--rcb-line); background: #fff; color: var(--rcb-navy); align-items: center; justify-content: center; cursor: pointer; }
.rcb-nav-toggle__close { display: none; }
.rcb-nav-toggle[aria-expanded="true"] .rcb-nav-toggle__open { display: none; }
.rcb-nav-toggle[aria-expanded="true"] .rcb-nav-toggle__close { display: inline-flex; }

@media (max-width: 1140px) {
	.rcb-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.rcb-nav-toggle { display: inline-flex; }
	.rcb-nav {
		position: fixed; inset: calc(var(--rcb-header-h) + 40px) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 32px;
		background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--rcb-ease);
	}
	.rcb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.rcb-menu { flex-direction: column; align-items: stretch; }
	.rcb-menu a { font-size: 19px; padding: 14px 4px; border-bottom: 1px solid var(--rcb-line); border-radius: 0; }
	.rcb-menu a::after { display: none; }
	.rcb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.rcb-nav__cta { width: 100%; }
	body.rcb-nav-open { overflow: hidden; }
	.rcb-header.is-scrolled ~ * .rcb-nav { top: var(--rcb-header-h); }
}
@media (max-width: 1024px) {
	.rcb-topbar .rcb-topbar__district { display: none; }
	.rcb-topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 720px) {
	.rcb-topbar { font-size: 12.5px; }
	.rcb-topbar .rcb-icon { display: none; }
	:root { --rcb-header-h: 72px; }
	.rcb-brand__logo { height: 46px; }
}
@media (max-width: 782px) { .admin-bar .rcb-header { top: 46px; } }

/* ---------- Hero ---------- */
.rcb-hero { position: relative; isolation: isolate; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--rcb-navy); }
.rcb-hero--tall { min-height: min(760px, 86vh); }
.rcb-hero--medium { min-height: 520px; }
.rcb-hero__bg, .rcb-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rcb-hero__bg img { animation: rcb-hero-zoom 18s ease-out both; }
@keyframes rcb-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.rcb-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 55, .94) 0%, rgba(11, 35, 72, .78) 42%, rgba(11, 35, 72, .18) 100%), linear-gradient(0deg, rgba(7, 26, 55, .55) 0%, rgba(7, 26, 55, 0) 40%); }
.rcb-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 48px; padding-block: 120px 72px; }
.rcb-hero__content { max-width: 660px; }
.rcb-hero__title { color: #fff; font-size: clamp(36px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.rcb-hero__text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0; }
.rcb-hero__meeting { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--rcb-radius-lg); padding: 24px 24px 20px; }
.rcb-hero__meeting-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rcb-gold); margin-bottom: 14px; }
.rcb-hero__meeting ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rcb-hero__meeting li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.rcb-hero__meeting .rcb-icon { color: var(--rcb-gold); margin-top: 1px; }
.rcb-hero__meeting-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: rgba(255, 255, 255, .75); }
@media (max-width: 960px) {
	.rcb-hero__inner { grid-template-columns: 1fr; padding-block: 96px 48px; gap: 32px; }
	.rcb-hero__overlay { background: linear-gradient(0deg, rgba(7, 26, 55, .96) 0%, rgba(11, 35, 72, .72) 55%, rgba(11, 35, 72, .35) 100%); }
	.rcb-hero__meeting { max-width: 420px; }
}

/* ---------- Page header ---------- */
.rcb-page-header { position: relative; isolation: isolate; overflow: hidden; background: var(--rcb-blue); color: #fff; padding-block: clamp(64px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.rcb-page-header::after { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; border: 70px solid rgba(247, 168, 27, .14); z-index: -1; }
.rcb-page-header--image { background: var(--rcb-navy); }
.rcb-page-header--image::after { display: none; }
.rcb-page-header__bg, .rcb-page-header__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rcb-page-header--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 55, .92), rgba(11, 35, 72, .6)); }
.rcb-page-header__inner { max-width: 1200px; }
.rcb-page-header__title { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.03em; max-width: 820px; margin-bottom: 16px; }
.rcb-page-header__text { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .86); max-width: 680px; margin: 0; }
.rcb-page-header--article .rcb-page-header__title { font-size: clamp(32px, 4.2vw, 52px); }
.rcb-back { display: inline-block; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.rcb-back:hover { color: #fff; }

/* ---------- Section heading ---------- */
.rcb-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.rcb-heading__main { max-width: 720px; }
.rcb-heading--center { justify-content: center; text-align: center; }
.rcb-heading--center .rcb-heading__main { margin-inline: auto; }
.rcb-heading--center .rcb-eyebrow { justify-content: center; }
.rcb-heading__title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 14px; }
.rcb-heading__text { font-size: 18px; color: var(--rcb-muted); margin: 0; }
.rcb-heading .rcb-btn--link { margin-bottom: 6px; }

/* Tones */
.rcb-tone--dark, .rcb-tone--dark h2, .rcb-tone--dark h3, .rcb-tone--dark .rcb-heading__title { color: #fff; }
.rcb-tone--dark .rcb-heading__text, .rcb-tone--dark p { color: rgba(255, 255, 255, .82); }
.rcb-tone--dark .rcb-btn--link { color: var(--rcb-gold); }

/* ---------- Grid & cards ---------- */
.rcb-grid { display: grid; gap: 28px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.rcb-grid--2 { --cols: 2; }
.rcb-grid--3 { --cols: 3; }
.rcb-grid--4 { --cols: 4; }
@media (max-width: 1024px) { .rcb-grid--4 { --cols: 2; } .rcb-grid--3 { --cols: 2; } }
@media (max-width: 640px) { .rcb-grid--2, .rcb-grid--3, .rcb-grid--4 { --cols: 1; } }

.rcb-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--rcb-radius); overflow: hidden; box-shadow: var(--rcb-shadow); border: 1px solid var(--rcb-line); position: relative; transition: transform .3s var(--rcb-ease), box-shadow .3s var(--rcb-ease); }
.rcb-card:hover { transform: translateY(-4px); box-shadow: var(--rcb-shadow-lg); }
.rcb-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--rcb-tint); overflow: hidden; }
.rcb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rcb-ease); }
.rcb-card:hover .rcb-card__media img { transform: scale(1.04); }
.rcb-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 70% 30%, rgba(247, 168, 27, .35), transparent 55%), linear-gradient(145deg, var(--rcb-blue), var(--rcb-navy)); color: var(--rcb-gold); }
.rcb-card__placeholder .rcb-icon { width: 72px; height: 72px; stroke-width: 1.2; }
.rcb-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.rcb-card__meta { font-size: 13.5px; font-weight: 600; color: var(--rcb-muted); margin-bottom: 8px; }
.rcb-card__title { font-size: 21px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.015em; }
.rcb-card__title a { color: inherit; text-decoration: none; }
.rcb-card__title a::after { content: ""; position: absolute; inset: 0; }
.rcb-card__text { color: var(--rcb-muted); font-size: 15.5px; margin-bottom: 16px; }
.rcb-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--rcb-blue); }
.rcb-card__more .rcb-icon { width: 18px; height: 18px; transition: transform .2s var(--rcb-ease); }
.rcb-card:hover .rcb-card__more .rcb-icon { transform: translateX(4px); }

.rcb-badge { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; background: #fff; color: var(--rcb-navy); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.rcb-badge--completed { background: var(--rcb-blue); color: #fff; }
.rcb-badge--ongoing { background: var(--rcb-gold); color: var(--rcb-navy); }
.rcb-badge--planned { background: #fff; color: var(--rcb-blue); }

.rcb-empty { padding: 28px; border: 1px dashed var(--rcb-line); border-radius: var(--rcb-radius); color: var(--rcb-muted); text-align: center; background: #fff; margin: 0; }

/* ---------- Stats ---------- */
.rcb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 0; }
.rcb-stat { display: flex; flex-direction: column-reverse; padding: 8px 24px; border-left: 2px solid rgba(247, 168, 27, .65); }
.rcb-stat__number { margin: 0; font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--rcb-blue); }
.rcb-stat__label { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--rcb-muted); }
.rcb-stats.rcb-tone--dark .rcb-stat__number { color: var(--rcb-gold); }
.rcb-stats.rcb-tone--dark .rcb-stat__label { color: rgba(255, 255, 255, .8); }

/* ---------- Icon cards ---------- */
.rcb-icon-card { padding: 30px 28px; border-radius: var(--rcb-radius); }
.rcb-icon-cards--card .rcb-icon-card { background: #fff; border: 1px solid var(--rcb-line); box-shadow: var(--rcb-shadow); }
.rcb-icon-cards--plain .rcb-icon-card { padding: 0; }
.rcb-icon-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--rcb-cream); color: var(--rcb-gold-700); margin-bottom: 20px; }
.rcb-icon-card__icon .rcb-icon { width: 26px; height: 26px; }
.rcb-icon-card__title { font-size: 20px; margin-bottom: 8px; }
.rcb-icon-card__title a { color: inherit; text-decoration: none; }
.rcb-icon-card__text { color: var(--rcb-muted); font-size: 15.5px; margin: 0; }
.rcb-tone--dark .rcb-icon-card__icon { background: rgba(247, 168, 27, .16); color: var(--rcb-gold); }
.rcb-tone--dark.rcb-icon-cards--card .rcb-icon-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }

/* ---------- Photo + text ---------- */
.rcb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rcb-split--reverse .rcb-split__media { order: 2; }
.rcb-split__media { position: relative; }
.rcb-split__img { border-radius: var(--rcb-radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--rcb-shadow-lg); }
.rcb-split__img img { width: 100%; height: 100%; object-fit: cover; }
.rcb-split--stack .rcb-split__media { padding: 0 12% 12% 0; }
.rcb-split--stack.rcb-split--reverse .rcb-split__media { padding: 0 0 12% 12%; }
.rcb-split__img2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--rcb-radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--rcb-shadow-lg); }
.rcb-split--reverse .rcb-split__img2 { right: auto; left: 0; }
.rcb-split__img2 img { width: 100%; height: 100%; object-fit: cover; }
.rcb-split__badge { position: absolute; left: 20px; top: 20px; background: var(--rcb-gold); color: var(--rcb-navy); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 10px; box-shadow: var(--rcb-shadow); }
.rcb-split__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 18px; }
.rcb-split__text { color: var(--rcb-muted); font-size: 17.5px; }
.rcb-split .rcb-btn { margin-top: 12px; }
@media (max-width: 900px) {
	.rcb-split { grid-template-columns: 1fr; }
	.rcb-split--reverse .rcb-split__media { order: 0; }
}

.rcb-checklist { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 12px; }
.rcb-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--rcb-ink); }
.rcb-checklist .rcb-icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--rcb-cream); color: var(--rcb-gold-700); }
.rcb-tone--dark .rcb-checklist li { color: #fff; }

/* ---------- Prose ---------- */
.rcb-prose > *:last-child { margin-bottom: 0; }
.rcb-prose h2 { font-size: 30px; margin-top: 1.6em; }
.rcb-prose h3 { font-size: 23px; margin-top: 1.4em; }
.rcb-prose ul, .rcb-prose ol { padding-left: 1.3em; }
.rcb-prose li { margin-bottom: .4em; }
.rcb-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--rcb-gold); font-family: var(--rcb-serif); font-size: 22px; font-style: italic; color: var(--rcb-navy); }
.rcb-prose img { border-radius: var(--rcb-radius); }
.rcb-prose figure { margin: 1.6em 0; }
.rcb-prose figcaption { font-size: 14px; color: var(--rcb-muted); margin-top: 8px; }
.rcb-entry { padding-block: 64px; }

/* ---------- Events ---------- */
.rcb-events { display: grid; gap: 16px; }
.rcb-event { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--rcb-line); border-radius: var(--rcb-radius); padding: 20px 24px 20px 20px; position: relative; transition: box-shadow .25s var(--rcb-ease), border-color .25s; }
.rcb-event:hover { box-shadow: var(--rcb-shadow); border-color: #d3dbe8; }
.rcb-event__date { width: 88px; height: 88px; border-radius: 14px; background: var(--rcb-blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rcb-event__day { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.rcb-event__month { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--rcb-gold); margin-top: 6px; }
.rcb-event__icon .rcb-icon { width: 30px; height: 30px; color: #fff; }
.rcb-event--weekly { background: var(--rcb-cream); border-color: #F5DDB0; }
.rcb-event--weekly .rcb-event__date { background: var(--rcb-gold); }
.rcb-event--weekly .rcb-event__icon .rcb-icon { color: var(--rcb-navy); }
.rcb-event--weekly .rcb-event__month { color: var(--rcb-navy); }
.rcb-event__title { font-size: 21px; margin-bottom: 8px; }
.rcb-event__title a { color: inherit; text-decoration: none; }
.rcb-event__title a::after { content: ""; position: absolute; inset: 0; }
.rcb-event__text { margin: 8px 0 0; color: var(--rcb-muted); font-size: 15.5px; }
.rcb-event .rcb-btn { position: relative; z-index: 1; }
.rcb-events--past .rcb-event__date { background: var(--rcb-tint); color: var(--rcb-navy); }
.rcb-events--past .rcb-event__month { color: var(--rcb-muted); }
.rcb-meta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--rcb-muted); }
.rcb-meta-list li { display: flex; align-items: center; gap: 7px; }
.rcb-meta-list .rcb-icon { width: 17px; height: 17px; color: var(--rcb-azure); }
@media (max-width: 640px) {
	.rcb-event { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px; }
	.rcb-event__date { width: 64px; height: 64px; border-radius: 12px; }
	.rcb-event__day { font-size: 26px; }
	.rcb-event .rcb-btn { grid-column: 1 / -1; }
}

/* ---------- Leaders ---------- */
.rcb-leader { display: flex; flex-direction: column; }
.rcb-leader__photo { aspect-ratio: 5 / 6; border-radius: var(--rcb-radius); overflow: hidden; background: linear-gradient(145deg, var(--rcb-blue), var(--rcb-navy)); position: relative; margin-bottom: 18px; }
.rcb-leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--rcb-ease); }
.rcb-leader:hover .rcb-leader__photo img { transform: scale(1.03); }
.rcb-leader__initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 800; letter-spacing: -0.02em; color: var(--rcb-gold); }
.rcb-leader__initials::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .07); }
.rcb-leader__role { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--rcb-gold-700); margin-bottom: 6px; }
.rcb-leader__name { font-size: 21px; margin-bottom: 8px; }
.rcb-leader__bio { font-size: 15px; color: var(--rcb-muted); }
.rcb-leader__bio p { margin-bottom: .6em; }

/* ---------- Meeting info ---------- */
.rcb-meeting { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--rcb-navy); color: #fff; border-radius: var(--rcb-radius-lg); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.rcb-meeting::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(247, 168, 27, .12); z-index: -1; }
.rcb-meeting__title { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.rcb-meeting__text { color: rgba(255, 255, 255, .82); font-size: 17.5px; margin-bottom: 24px; }
.rcb-meeting__list, .rcb-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.rcb-meeting__list li, .rcb-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.rcb-meeting__list strong, .rcb-contact__list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--rcb-gold); margin-bottom: 2px; }
.rcb-meeting__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--rcb-gold); flex: none; }
@media (max-width: 860px) { .rcb-meeting { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.rcb-cta { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rcb-radius-lg); padding: clamp(36px, 6vw, 72px); color: #fff; background: var(--rcb-blue); }
.rcb-cta--navy { background: var(--rcb-navy); }
.rcb-cta--gold { background: var(--rcb-gold); color: var(--rcb-navy); }
.rcb-cta::after { content: ""; position: absolute; right: -60px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); z-index: -1; }
.rcb-cta__bg, .rcb-cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rcb-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 58, 122, .96), rgba(18, 58, 122, .7)); }
.rcb-cta--navy .rcb-cta__bg::after { background: linear-gradient(90deg, rgba(7, 26, 55, .95), rgba(7, 26, 55, .65)); }
.rcb-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.rcb-cta__inner > div:first-child { max-width: 640px; }
.rcb-cta__title { color: inherit; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.rcb-cta__text { color: rgba(255, 255, 255, .86); font-size: 18px; margin: 0; }
.rcb-cta--gold .rcb-cta__text { color: rgba(11, 35, 72, .8); }
.rcb-cta--gold .rcb-eyebrow { color: var(--rcb-navy); }
.rcb-cta--gold .rcb-eyebrow::before { background: var(--rcb-navy); }
.rcb-cta--gold .rcb-btn--ghost { color: var(--rcb-navy); border-color: rgba(11, 35, 72, .4); }
.rcb-cta .rcb-btn-row { margin-top: 0; }

/* ---------- Steps ---------- */
.rcb-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.rcb-step { padding: 26px 24px; border-radius: var(--rcb-radius); background: #fff; border: 1px solid var(--rcb-line); position: relative; }
.rcb-step__num { display: block; font-size: 15px; font-weight: 800; color: var(--rcb-gold-700); letter-spacing: .08em; margin-bottom: 16px; }
.rcb-step__num::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--rcb-gold); margin-top: 10px; }
.rcb-step__title { font-size: 19px; margin-bottom: 6px; }
.rcb-step__text { font-size: 15px; color: var(--rcb-muted); margin: 0; }
.rcb-tone--dark .rcb-step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.rcb-tone--dark .rcb-step__num { color: var(--rcb-gold); }

/* ---------- FAQ ---------- */
.rcb-faq { display: grid; gap: 12px; }
.rcb-faq__item { background: #fff; border: 1px solid var(--rcb-line); border-radius: var(--rcb-radius); transition: box-shadow .25s var(--rcb-ease), border-color .25s; }
.rcb-faq__item[open] { box-shadow: var(--rcb-shadow); border-color: #d3dbe8; }
.rcb-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; font-size: 18px; font-weight: 700; color: var(--rcb-navy); }
.rcb-faq__q::-webkit-details-marker { display: none; }
.rcb-faq__toggle { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--rcb-tint); transition: background .2s, transform .3s var(--rcb-ease); }
.rcb-faq__toggle::before, .rcb-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--rcb-blue); transform: translate(-50%, -50%); border-radius: 2px; }
.rcb-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--rcb-ease); }
.rcb-faq__item[open] .rcb-faq__toggle { background: var(--rcb-gold); }
.rcb-faq__item[open] .rcb-faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.rcb-faq__a { padding: 0 24px 22px; color: var(--rcb-muted); }

/* ---------- Album ---------- */
.rcb-album + .rcb-album { margin-top: 56px; }
.rcb-album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rcb-album__title { font-size: 26px; margin: 0; }
.rcb-album__meta { color: var(--rcb-muted); margin: 0; font-weight: 600; font-size: 15px; }
.rcb-album__grid { gap: 12px; }
.rcb-album__item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--rcb-tint); position: relative; }
.rcb-album__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rcb-ease), filter .3s; }
.rcb-album__item:hover img { transform: scale(1.05); }
.rcb-album__item::after { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 72, 0); transition: background .3s; }
.rcb-album__item:hover::after { background: rgba(11, 35, 72, .15); }
@media (min-width: 641px) {
	.rcb-album__grid--feature .rcb-album__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

.rcb-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 15, 32, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; opacity: 0; visibility: hidden; transition: .25s var(--rcb-ease); }
.rcb-lightbox.is-open { opacity: 1; visibility: visible; }
.rcb-lightbox img { max-height: 100%; max-width: 100%; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.rcb-lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .85); font-size: 15px; margin: 0; }
.rcb-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rcb-lightbox button:hover { background: rgba(255, 255, 255, .24); }
.rcb-lightbox__close { top: 16px; right: 16px; }
.rcb-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.rcb-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .rcb-lightbox { padding: 64px 12px; } .rcb-lightbox__prev, .rcb-lightbox__next { top: auto; bottom: 12px; } }

/* ---------- Contact ---------- */
.rcb-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rcb-contact h2 { font-size: 28px; margin-bottom: 20px; }
.rcb-form { background: #fff; border: 1px solid var(--rcb-line); border-radius: var(--rcb-radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--rcb-shadow); }
.rcb-form p { margin-bottom: 18px; }
.rcb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.rcb-form label { display: block; font-size: 14.5px; font-weight: 700; color: var(--rcb-navy); margin-bottom: 6px; }
.rcb-form label span { color: var(--rcb-cranberry); }
.rcb-form input, .rcb-form select, .rcb-form textarea, .rcb-newsletter input {
	width: 100%; font: 400 16px/1.4 var(--rcb-font); color: var(--rcb-ink); background: #fff;
	border: 1.5px solid #CDD5E3; border-radius: 10px; padding: 12px 14px; min-height: 50px;
	transition: border-color .2s, box-shadow .2s;
}
.rcb-form textarea { resize: vertical; min-height: 150px; }
.rcb-form input:focus, .rcb-form select:focus, .rcb-form textarea:focus, .rcb-newsletter input:focus { outline: none; border-color: var(--rcb-azure); box-shadow: 0 0 0 4px rgba(0, 103, 200, .14); }
.rcb-form .rcb-btn { width: 100%; }
.rcb-contact__details { background: var(--rcb-navy); color: #fff; border-radius: var(--rcb-radius-lg); padding: clamp(24px, 4vw, 40px); }
.rcb-contact__details h2 { color: #fff; }
.rcb-contact__list a { color: #fff; }
.rcb-map { margin-top: 28px; border-radius: var(--rcb-radius); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .06); }
.rcb-map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .rcb-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rcb-form__row { grid-template-columns: 1fr; } }

.rcb-notice { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; margin: 0 0 18px; }
.rcb-notice--ok { background: #E7F6EC; color: #145A2C; }
.rcb-notice--error { background: #FDE8EF; color: #8A0C3F; }
.rcb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rcb-socials { display: flex; gap: 10px; margin-top: 24px; }
.rcb-socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.rcb-socials a:hover { background: var(--rcb-gold); color: var(--rcb-navy); }

/* ---------- Quote ---------- */
.rcb-quote { margin: 0; max-width: 880px; }
.rcb-quote__mark .rcb-icon { width: 44px; height: 44px; color: var(--rcb-gold); fill: var(--rcb-gold); stroke: none; margin-bottom: 16px; }
.rcb-quote__text { margin: 0 0 24px; }
.rcb-quote__text p { font-family: var(--rcb-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; font-style: italic; color: var(--rcb-navy); margin: 0; }
.rcb-tone--dark .rcb-quote__text p { color: #fff; }
.rcb-quote__cite { display: flex; align-items: center; gap: 14px; }
.rcb-quote__cite strong { display: block; color: var(--rcb-navy); font-size: 17px; }
.rcb-quote__cite span span { display: block; color: var(--rcb-muted); font-size: 15px; }
.rcb-tone--dark .rcb-quote__cite strong { color: #fff; }
.rcb-tone--dark .rcb-quote__cite span span { color: rgba(255, 255, 255, .7); }
.rcb-quote__img img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------- Timeline ---------- */
.rcb-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.rcb-timeline::before { content: ""; position: absolute; left: 47px; top: 8px; bottom: 8px; width: 2px; background: var(--rcb-line); }
.rcb-timeline__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding-bottom: 28px; position: relative; }
.rcb-timeline__item:last-child { padding-bottom: 0; }
.rcb-timeline__year { position: relative; z-index: 1; justify-self: center; align-self: start; background: var(--rcb-blue); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.rcb-timeline__item:last-child .rcb-timeline__year { background: var(--rcb-gold); color: var(--rcb-navy); }
.rcb-timeline__title { font-size: 19px; margin-bottom: 4px; }
.rcb-timeline__text { color: var(--rcb-muted); font-size: 15.5px; margin: 0; }
.rcb-tone--dark.rcb-timeline::before { background: rgba(255, 255, 255, .15); }

/* ---------- Newsletter ---------- */
.rcb-signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--rcb-cream); border: 1px solid #F5DDB0; border-radius: var(--rcb-radius-lg); padding: clamp(28px, 5vw, 56px); }
.rcb-signup__title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.rcb-signup__text { color: var(--rcb-muted); margin: 0; }
@media (max-width: 860px) { .rcb-signup { grid-template-columns: 1fr; } }
.rcb-newsletter { position: relative; }
.rcb-newsletter__row { display: flex; gap: 8px; }
.rcb-newsletter__row input { flex: 1; min-width: 0; }
.rcb-newsletter .rcb-btn { flex: none; }
.rcb-newsletter .rcb-notice { margin: 12px 0 0; }
.rcb-newsletter--dark input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.rcb-newsletter--dark input::placeholder { color: rgba(255, 255, 255, .6); }
@media (max-width: 420px) { .rcb-newsletter__row { flex-direction: column; } }

/* ---------- Article ---------- */
.rcb-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.rcb-article__image { margin: 0 0 32px; border-radius: var(--rcb-radius-lg); overflow: hidden; }
.rcb-article__image img { width: 100%; }
.rcb-article__main .rcb-prose { font-size: 18px; }
.rcb-article__aside { position: sticky; top: calc(var(--rcb-header-h) + 24px); }
.rcb-facts { background: var(--rcb-tint); border-radius: var(--rcb-radius-lg); padding: 28px; }
.rcb-facts h2 { font-size: 20px; margin-bottom: 16px; }
.rcb-facts dl { margin: 0 0 24px; display: grid; gap: 14px; }
.rcb-facts dt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--rcb-muted); }
.rcb-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--rcb-navy); }
.rcb-facts .rcb-btn { width: 100%; }
.rcb-facts--join { background: var(--rcb-navy); color: rgba(255, 255, 255, .85); }
.rcb-facts--join h2 { color: #fff; }
.rcb-related__title { font-size: 32px; margin-bottom: 28px; }
@media (max-width: 960px) { .rcb-article { grid-template-columns: 1fr; } .rcb-article__aside { position: static; } }

.rcb-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rcb-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rcb-line); text-decoration: none; font-weight: 600; color: var(--rcb-navy); }
.rcb-pagination .current { background: var(--rcb-blue); border-color: var(--rcb-blue); color: #fff; }

/* ---------- Footer ---------- */
.rcb-footer { background: var(--rcb-navy-900); color: rgba(255, 255, 255, .74); font-size: 15.5px; }
.rcb-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.rcb-footer a:hover { color: var(--rcb-gold); }
.rcb-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 48px; padding-block: 72px 56px; }
.rcb-footer__logo { height: 58px; width: auto; margin-bottom: 20px; }
.rcb-footer__motto { font-family: var(--rcb-serif); font-style: italic; color: var(--rcb-gold); font-size: 18px; }
.rcb-footer__heading { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; font-weight: 700; }
.rcb-footer__links, .rcb-footer .rcb-menu, .rcb-footer__meet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rcb-footer .rcb-menu { display: grid; }
.rcb-footer .rcb-menu a { padding: 0; color: rgba(255, 255, 255, .86); font-weight: 400; font-size: 15.5px; }
.rcb-footer .rcb-menu a::after { display: none; }
.rcb-footer__meet li { display: flex; gap: 10px; align-items: flex-start; }
.rcb-footer__meet .rcb-icon { width: 18px; height: 18px; color: var(--rcb-gold); margin-top: 3px; }
.rcb-footer__news p { margin-bottom: 14px; }
.rcb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.rcb-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.rcb-footer__bottom p { margin: 0; }
@media (max-width: 1024px) { .rcb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rcb-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; } }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
	.rcb-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--rcb-ease), transform .7s var(--rcb-ease); }
	.rcb-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- WordPress defaults ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text { font-size: 14px; color: var(--rcb-muted); }

/* ---------- Elementor overrides ----------
   Elementor sets `.elementor img { height: auto }`; photos that fill a frame need full height. */
body .rcb-hero__bg img, body .rcb-page-header__bg img, body .rcb-cta__bg img,
body .rcb-card__media img, body .rcb-split__img img, body .rcb-split__img2 img,
body .rcb-leader__photo img, body .rcb-album__item img, body .rcb-quote__img img { height: 100%; max-width: none; width: 100%; }
body .rcb-quote__img img { width: 56px; height: 56px; }
body .rcb-brand__logo, body .rcb-footer__logo { width: auto; }

/* =========================================================
   Visual polish (round 2)
   ========================================================= */
:root {
	--rcb-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23F7A81B'%3E%3Ccircle cx='50' cy='50' r='37' stroke-width='5'/%3E%3Ccircle cx='50' cy='50' r='43.5' stroke-width='8' stroke-dasharray='6 5.39'/%3E%3Ccircle cx='50' cy='50' r='8' stroke-width='4'/%3E%3Cpath d='M50 14v28M50 58v28M14 50h28M58 50h28M24.5 24.5l20 20M55.5 55.5l20 20M75.5 24.5l-20 20M44.5 55.5l-20 20' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Gold highlight in titles: *words* */
.rcb-accent { color: var(--rcb-gold); position: relative; }
.rcb-heading__title .rcb-accent, .rcb-split__title .rcb-accent, .rcb-signup__title .rcb-accent { color: var(--rcb-blue); }
.rcb-heading__title .rcb-accent::after, .rcb-split__title .rcb-accent::after {
	content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .32em; z-index: -1;
	background: rgba(247, 168, 27, .45); border-radius: 3px; transform: skewX(-8deg);
}
.rcb-heading__title, .rcb-split__title { position: relative; z-index: 0; }
.rcb-tone--dark .rcb-heading__title .rcb-accent { color: var(--rcb-gold); }
.rcb-tone--dark .rcb-heading__title .rcb-accent::after { display: none; }

/* Decorative Rotary-style gear watermark */
.rcb-page-header::after, .rcb-cta::after, .rcb-meeting::after {
	border: 0; border-radius: 0; background: var(--rcb-gear) center / contain no-repeat; opacity: .14;
	animation: rcb-spin 120s linear infinite;
}
.rcb-page-header::after { width: 560px; height: 560px; right: -140px; }
.rcb-cta::after { width: 420px; height: 420px; right: -110px; top: -150px; opacity: .12; }
.rcb-cta--gold::after { filter: brightness(0) invert(1); opacity: .3; }
.rcb-meeting::after { width: 340px; height: 340px; right: -100px; bottom: -110px; opacity: .12; }
@keyframes rcb-spin { to { transform: rotate(360deg); } }
.rcb-page-header::after { animation-name: rcb-spin-centered; }
@keyframes rcb-spin-centered { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }

/* Page header: richer background and a gold base line */
.rcb-page-header:not(.rcb-page-header--image) {
	background:
		radial-gradient(circle at 12% 120%, rgba(0, 162, 224, .35), transparent 45%),
		radial-gradient(circle at 85% -20%, rgba(247, 168, 27, .18), transparent 40%),
		linear-gradient(135deg, var(--rcb-blue) 0%, var(--rcb-blue-700) 55%, var(--rcb-navy) 100%);
}
.rcb-page-header { box-shadow: inset 0 -4px 0 var(--rcb-gold); }
.rcb-page-header--image::before { background: linear-gradient(90deg, rgba(7, 26, 55, .94) 0%, rgba(11, 35, 72, .72) 55%, rgba(23, 69, 143, .35) 100%); }

/* Article pages: back link sits above the eyebrow */
.rcb-back {
	display: flex; width: fit-content; align-items: center; gap: 8px;
	padding: 7px 14px 7px 12px; margin-bottom: 26px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	font-size: 14px; line-height: 1.2; transition: background .2s;
}
.rcb-back:hover { background: rgba(255, 255, 255, .18); }
.rcb-page-header .rcb-eyebrow { display: flex; width: fit-content; }

/* Hero: gold rule under the content and a softer meeting card */
.rcb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--rcb-gold), var(--rcb-gold) 40%, var(--rcb-sky) 100%); }
.rcb-hero__meeting { box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }

/* Stats: icon cards on navy */
.rcb-stats { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rcb-stat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0;
	padding: 26px 24px; border: 1px solid rgba(255, 255, 255, .1); border-left: 0; border-radius: 18px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	position: relative; overflow: hidden; transition: transform .3s var(--rcb-ease), border-color .3s;
}
.rcb-stat:hover { transform: translateY(-3px); border-color: rgba(247, 168, 27, .45); }
.rcb-stat__icon { order: 0; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; background: rgba(247, 168, 27, .15); color: var(--rcb-gold); }
.rcb-stat__icon .rcb-icon { width: 26px; height: 26px; }
.rcb-stat__number { order: 1; }
.rcb-stat__label { order: 2; }
.rcb-stats:not(.rcb-tone--dark) .rcb-stat { background: #fff; border-color: var(--rcb-line); box-shadow: var(--rcb-shadow); }
.rcb-stats:not(.rcb-tone--dark) .rcb-stat__icon { background: var(--rcb-cream); color: var(--rcb-gold-700); }
@media (max-width: 560px) { .rcb-stats { grid-template-columns: 1fr 1fr; gap: 12px; } .rcb-stat { padding: 18px 16px; } .rcb-stat__icon { width: 42px; height: 42px; margin-bottom: 12px; } }

/* Quote: large portrait beside the quote */
.rcb-quote--portrait { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rcb-quote__portrait { position: relative; border-radius: 24px; aspect-ratio: 4 / 5; max-height: 560px; }
.rcb-quote__portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--rcb-gold); border-radius: 24px; z-index: 0; }
.rcb-quote__portrait img { position: relative; z-index: 1; border-radius: 24px; object-fit: cover; object-position: center top; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
body .rcb-quote__portrait img { width: 100%; height: 100%; max-width: none; }
.rcb-quote--portrait .rcb-quote__text p { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; }
.rcb-quote--portrait .rcb-quote__mark .rcb-icon { width: 60px; height: 60px; }
.rcb-quote--portrait .rcb-quote__cite { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.rcb-quote--portrait:not(.rcb-tone--dark) .rcb-quote__cite { border-color: var(--rcb-line); }
.rcb-quote--portrait .rcb-quote__cite strong { font-size: 19px; }
@media (max-width: 860px) {
	.rcb-quote--portrait { grid-template-columns: 1fr; }
	.rcb-quote__portrait { max-width: 360px; width: calc(100% - 18px); }
}

/* Section headings: a touch more presence */
.rcb-heading__title { font-size: clamp(32px, 3.8vw, 50px); }

/* Cards: gold line on hover */
.rcb-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rcb-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--rcb-ease); z-index: 2; }
.rcb-card:hover::before { transform: scaleX(1); }
.rcb-icon-cards--card .rcb-icon-card { transition: transform .3s var(--rcb-ease), box-shadow .3s var(--rcb-ease); position: relative; overflow: hidden; }
.rcb-icon-cards--card .rcb-icon-card:hover { transform: translateY(-4px); box-shadow: var(--rcb-shadow-lg); }
.rcb-icon-card__icon { background: linear-gradient(145deg, #FFF3D6, #FFE2A6); }
.rcb-tone--dark .rcb-icon-card__icon { background: rgba(247, 168, 27, .16); }

/* Event date tiles */
.rcb-event__date { background: linear-gradient(160deg, var(--rcb-azure), var(--rcb-blue) 60%, var(--rcb-navy)); box-shadow: 0 8px 18px rgba(23, 69, 143, .25); }
.rcb-event--weekly .rcb-event__date { background: linear-gradient(160deg, #FFC24D, var(--rcb-gold)); box-shadow: 0 8px 18px rgba(247, 168, 27, .3); }

/* Leaders: name and role only, with a hover lift */
.rcb-leader { text-align: center; }
.rcb-leader__photo { margin-bottom: 16px; box-shadow: var(--rcb-shadow); transition: transform .35s var(--rcb-ease), box-shadow .35s var(--rcb-ease); }
.rcb-leader:hover .rcb-leader__photo { transform: translateY(-4px); box-shadow: var(--rcb-shadow-lg); }
.rcb-leader__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rcb-gold); }
.rcb-leader__name { font-size: 20px; margin-bottom: 4px; }
.rcb-leader__role { order: 2; margin: 0; }
.rcb-leader__body { display: flex; flex-direction: column; }
.rcb-leader__name { order: 1; }
.rcb-leader__bio { order: 3; margin-top: 8px; text-align: left; }

/* Split photos: a gold accent block behind the main photo */
.rcb-split__media::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; left: -18px; bottom: -18px; border-radius: 22px; background: var(--rcb-gear) center / 78% no-repeat, var(--rcb-cream); z-index: -1; }
.rcb-split--reverse .rcb-split__media::before { left: auto; right: -18px; }
.rcb-split__media { z-index: 0; }
.rcb-split--stack .rcb-split__media::before { bottom: auto; top: -18px; }

/* Footer: three balanced columns */
.rcb-footer { position: relative; overflow: hidden; isolation: isolate; border-top: 4px solid var(--rcb-gold); }
.rcb-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; background: var(--rcb-gear) center / contain no-repeat; opacity: .06; z-index: -1; }
.rcb-footer__grid { grid-template-columns: 1.25fr 1.1fr 1fr; gap: 56px; padding-block: 72px 60px; align-items: start; }
.rcb-footer .rcb-menu, .rcb-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.rcb-footer .rcb-menu a { display: inline-flex; align-items: center; gap: 8px; }
.rcb-footer .rcb-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rcb-gold); opacity: .7; }
.rcb-footer__visit { margin: 20px 0 16px; font-size: 14.5px; }
.rcb-footer__about p:first-of-type { max-width: 360px; }
@media (max-width: 1024px) { .rcb-footer__grid { grid-template-columns: 1fr 1fr; } .rcb-footer__about { grid-column: 1 / -1; } }
@media (max-width: 600px) { .rcb-footer__grid { grid-template-columns: 1fr; } }

/* Sections in soft tint get a faint pattern via Elementor's container */
.e-con[style*="--background-color"] { position: relative; }

/* Highlight that wraps cleanly across lines */
.rcb-heading__title .rcb-accent::after, .rcb-split__title .rcb-accent::after { display: none; }
.rcb-heading__title .rcb-accent, .rcb-split__title .rcb-accent {
	background: linear-gradient(transparent 60%, rgba(247, 168, 27, .45) 60%, rgba(247, 168, 27, .45) 92%, transparent 92%);
	-webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px;
}
.rcb-tone--dark .rcb-heading__title .rcb-accent { background: none; padding: 0; }

/* Stats: back to the simple divider style, with the icon beside the number (compact) */
.rcb-stats { gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rcb-stat {
	display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon number" "icon label";
	column-gap: 16px; row-gap: 4px; align-items: center;
	padding: 6px 28px; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .16); border-radius: 0; box-shadow: none;
}
.rcb-stat:first-child { border-left: 0; padding-left: 0; }
.rcb-stat:hover { transform: none; border-color: rgba(255, 255, 255, .16); }
.rcb-stat__icon { grid-area: icon; align-self: center; width: 48px; height: 48px; margin: 0; border-radius: 50%; background: rgba(247, 168, 27, .14); }
.rcb-stat__icon .rcb-icon { width: 24px; height: 24px; }
.rcb-stat__number { grid-area: number; font-size: clamp(32px, 3.2vw, 42px); align-self: end; }
.rcb-stat__label { grid-area: label; margin: 0; font-size: 14.5px; line-height: 1.35; align-self: start; }
.rcb-stats:not(.rcb-tone--dark) .rcb-stat { background: none; box-shadow: none; border-left-color: var(--rcb-line); }
@media (max-width: 900px) {
	.rcb-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.rcb-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
	.rcb-stat { padding: 4px 12px; column-gap: 12px; }
	.rcb-stat__icon { width: 40px; height: 40px; }
	.rcb-stat__icon .rcb-icon { width: 20px; height: 20px; }
}

/* Quote: portrait matches the height of the quote */
.rcb-quote--portrait { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: stretch; gap: clamp(32px, 5vw, 72px); }
.rcb-quote__portrait { aspect-ratio: auto; max-height: none; min-height: 300px; height: 100%; }
.rcb-quote__portrait::before { inset: 12px -12px -12px 12px; }
.rcb-quote--portrait .rcb-quote__body { align-self: center; padding-block: 8px; }
.rcb-quote--portrait .rcb-quote__mark .rcb-icon { width: 44px; height: 44px; margin-bottom: 10px; }
.rcb-quote--portrait .rcb-quote__text { margin-bottom: 20px; }
.rcb-quote--portrait .rcb-quote__text p { font-size: clamp(22px, 2.2vw, 30px); }
@media (max-width: 860px) {
	.rcb-quote__portrait { height: auto; aspect-ratio: 4 / 5; min-height: 0; max-width: 300px; }
}
@media (min-width: 861px) {
	body .rcb-quote__portrait img { position: absolute; inset: 0; }
}

/* ---------- Mobile refinements (round 3) ---------- */
.rcb-quote__img--mobile { display: none; }
@media (max-width: 860px) {
	/* Quote: no tall photo; a round portrait beside the name instead */
	.rcb-quote--portrait { display: block; }
	.rcb-quote--portrait .rcb-quote__portrait { display: none; }
	.rcb-quote__img--mobile { display: block; flex: none; }
	body .rcb-quote__img--mobile img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 0 0 3px var(--rcb-gold); }
	.rcb-quote--portrait .rcb-quote__cite { gap: 16px; }
	.rcb-quote--portrait .rcb-quote__text p { font-size: 23px; line-height: 1.45; }
	.rcb-quote--portrait .rcb-quote__mark .rcb-icon { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
	/* Events: date as a compact badge above the title, text uses the full width */
	.rcb-event { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 20px; }
	.rcb-event__date {
		width: auto; height: auto; align-self: flex-start; flex-direction: row; align-items: baseline; gap: 6px;
		padding: 7px 14px; border-radius: 999px; box-shadow: none;
	}
	.rcb-event__day { font-size: 18px; }
	.rcb-event__month { margin-top: 0; font-size: 12px; }
	.rcb-event--weekly .rcb-event__date { align-items: center; }
	.rcb-event__icon .rcb-icon { width: 16px; height: 16px; }
	.rcb-event__title { font-size: 20px; margin-bottom: 6px; }
	.rcb-meta-list { flex-direction: column; gap: 6px; font-size: 14.5px; }
	.rcb-meta-list li { align-items: flex-start; }
	.rcb-meta-list .rcb-icon { margin-top: 3px; }
	.rcb-event__text { font-size: 15px; }
	.rcb-event .rcb-btn { align-self: flex-start; min-height: 40px; }
}

/* Remove decorative gold edge lines */
.rcb-leader__photo::after { display: none; }
.rcb-page-header { box-shadow: none; }
.rcb-hero::after { display: none; }
.rcb-footer { border-top: 0; }
.rcb-card::before { display: none; }

/* ---------- Round 4 ---------- */
/* Official Rotary wheel for the turning watermarks */
:root { --rcb-gear: url("assets/img/rotary-wheel.png"); }

/* Leadership: whole face inside the frame; avatar for members without a photo */
.rcb-leader__photo { aspect-ratio: 4 / 5; background: #E9EFF8; }
body .rcb-leader__photo img { object-fit: cover; object-position: center center; }
.rcb-leader__avatar { display: block; }

/* Quote: cut-out portrait with its own background */
.rcb-quote--cutout .rcb-quote__portrait { border-radius: 0; }
.rcb-quote--cutout .rcb-quote__portrait::before { display: none; }
body .rcb-quote--cutout .rcb-quote__portrait img { object-fit: contain; object-position: center bottom; border-radius: 0; box-shadow: none; }
.rcb-quote--cutout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (min-width: 861px) { .rcb-quote--cutout .rcb-quote__portrait { min-height: 380px; } }

/* Contact: form and details columns share the same height; the map fills the rest */
.rcb-contact { align-items: stretch; }
.rcb-contact__details { display: flex; flex-direction: column; }
.rcb-contact__details .rcb-map { flex: 1 1 auto; aspect-ratio: auto; min-height: 240px; }
@media (max-width: 900px) { .rcb-contact__details .rcb-map { aspect-ratio: 4 / 3; flex: none; } }
