/*
Theme Name: Rehab Connection
Author: Rehab Connection
Description: A one-page marketing theme for Rehab Connection, connecting gyms, Pilates studios and trainers with physiotherapy, chiropractic and occupational therapy clinics. Includes Book a Demo and Partner Registration pages: submissions are saved under Sign-ups in wp-admin and emailed to the addresses set in Sign-ups → Settings.
Version: 1.3.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rehab-connection
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, business
*/

/* ---------- Tokens ---------- */
:root {
	--rc-red: #C50000;
	--rc-red-dark: #9A0000;
	--rc-red-tint: #FBECEC;
	--rc-ink: #1D1D1D;
	--rc-ink-2: #2B2B2B;
	--rc-muted: #595959;
	--rc-line: #E4E2DD;
	--rc-grey: #F5F4F1;
	--rc-white: #FFFFFF;
	--rc-radius: 16px;
	--rc-radius-lg: 28px;
	--rc-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rc-container: 1200px;
	--rc-shadow: 0 1px 2px rgba(29, 29, 29, .06), 0 8px 24px rgba(29, 29, 29, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--rc-white);
	color: var(--rc-ink-2);
	font-family: var(--rc-font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--rc-red); text-underline-offset: 3px; }
a:hover { color: var(--rc-red-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--rc-ink); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rc-red); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 16px; top: 16px; z-index: 1000; padding: 12px 20px;
	background: var(--rc-ink); color: var(--rc-white); border-radius: 8px; text-decoration: none;
}

.container { width: 100%; max-width: var(--rc-container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border: 2px solid transparent; border-radius: 999px;
	font: 600 16px/1 var(--rc-font); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .rc-icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--primary { background: var(--rc-red); color: var(--rc-white); }
.btn--primary:hover { background: var(--rc-red-dark); color: var(--rc-white); }
.btn--ghost { border-color: var(--rc-ink); color: var(--rc-ink); }
.btn--ghost:hover { background: var(--rc-ink); color: var(--rc-white); }
.btn--light { background: var(--rc-white); color: var(--rc-ink); }
.btn--light:hover { background: var(--rc-red); color: var(--rc-white); }

.eyebrow {
	display: inline-block; margin: 0 0 14px;
	color: var(--rc-red); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--rc-line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.site-logo, .custom-logo-link { display: inline-flex; align-items: center; }
.site-logo img, .custom-logo { display: block; width: auto; height: 40px; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav .menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a {
	display: inline-block; padding: 8px 0;
	color: var(--rc-ink); font-size: 15px; font-weight: 500; text-decoration: none;
	border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--rc-red); border-bottom-color: var(--rc-red); }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none; width: 48px; height: 48px; padding: 0;
	background: transparent; border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 24px; height: 2.5px; margin: 0 auto; background: var(--rc-ink); border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease; content: ""; position: relative;
}
.nav-toggle__bars::before { position: absolute; top: -8px; }
.nav-toggle__bars::after { position: absolute; top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; background: linear-gradient(180deg, var(--rc-white) 0%, var(--rc-grey) 100%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero__title { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero__lead { font-size: 19px; color: var(--rc-muted); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.bridge {
	position: relative;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
	padding: 40px 32px;
	background: var(--rc-ink); border-radius: var(--rc-radius-lg);
	box-shadow: 0 30px 60px -20px rgba(29, 29, 29, .45);
}
.bridge::before {
	content: ""; position: absolute; left: 32px; right: 32px; top: 50%;
	height: 2px; margin-top: 14px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 8px, transparent 8px 16px);
}
.bridge__side { position: relative; display: flex; flex-direction: column; gap: 12px; }
.bridge__label { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.chip {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 16px;
	background: #2C2C2C; border: 1px solid #3A3A3A; border-radius: 14px;
	color: var(--rc-white); font-size: 15px; font-weight: 500;
}
.chip .rc-icon { width: 22px; height: 22px; color: #FF8A8A; flex: none; }
.bridge__hub {
	position: relative; z-index: 1;
	display: grid; place-items: center;
	width: 132px; height: 132px; margin-top: 28px;
	background: var(--rc-red); border-radius: 50%;
	box-shadow: 0 0 0 10px rgba(197, 0, 0, .18), 0 0 0 22px rgba(197, 0, 0, .08);
}
.bridge__hub img { width: 76px; height: auto; }

/* ---------- Band ---------- */
.band { background: var(--rc-red); color: var(--rc-white); }
.band__inner { padding-top: 44px; padding-bottom: 44px; }
.band p { margin: 0 auto; max-width: 900px; text-align: center; font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--grey { background: var(--rc-grey); }
.section--red { background: var(--rc-red); color: var(--rc-white); }
.section--red .section__title { color: var(--rc-white); }
.section__header { max-width: 720px; margin-bottom: 56px; }
.section__title { font-size: clamp(30px, 3.6vw, 44px); }
.section__lead { font-size: 18px; color: var(--rc-muted); margin: 0; }

/* Who we help */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.audience__col { display: flex; flex-direction: column; gap: 16px; }
.audience__heading { margin: 0 0 8px; font-size: 14px; }
.audience__heading span {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: var(--rc-ink); color: var(--rc-white); letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.audience__col:last-child .audience__heading span { background: var(--rc-red); }
.card {
	display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
	padding: 28px; border: 1px solid var(--rc-line); border-radius: var(--rc-radius);
	background: var(--rc-white); transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #D0CDC6; box-shadow: var(--rc-shadow); }
.card p { margin: 0; color: var(--rc-muted); font-size: 16px; }
.card__icon {
	display: grid; place-items: center; width: 56px; height: 56px;
	border-radius: 14px; background: var(--rc-red-tint); color: var(--rc-red);
}
.card__icon .rc-icon { width: 28px; height: 28px; }
.card__title { font-size: 19px; margin-bottom: 6px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
	padding: 32px; border-radius: var(--rc-radius); background: var(--rc-white);
	box-shadow: var(--rc-shadow);
}
.service p { margin: 0; color: var(--rc-muted); font-size: 16px; }
.service__icon { color: var(--rc-red); margin-bottom: 20px; }
.service__icon .rc-icon { width: 36px; height: 36px; }
.service__title { font-size: 21px; margin-bottom: 10px; }
.service--feature {
	grid-row: span 2;
	display: flex; flex-direction: column; justify-content: flex-end;
	background: var(--rc-ink); color: var(--rc-white);
	min-height: 360px;
	background-image: radial-gradient(circle at 85% 15%, rgba(197, 0, 0, .55) 0, rgba(197, 0, 0, 0) 55%);
}
.service--feature .service__title { color: var(--rc-white); font-size: 28px; }
.service--feature p { color: rgba(255, 255, 255, .82); font-size: 17px; }
.service--feature .service__icon { color: #FF8A8A; margin-bottom: auto; padding-bottom: 32px; }
.service--feature .service__icon .rc-icon { width: 48px; height: 48px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { padding-top: 24px; border-top: 3px solid var(--rc-ink); }
.step:first-child { border-top-color: var(--rc-red); }
.step p { margin: 0; color: var(--rc-muted); font-size: 16px; }
.step__num { display: block; margin-bottom: 14px; color: var(--rc-red); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.step__title { font-size: 20px; margin-bottom: 8px; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.why .section__title { margin: 0; }
.checklist { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 18px; font-weight: 500; line-height: 1.5; }
.checklist .rc-icon {
	width: 32px; height: 32px; padding: 6px; border-radius: 50%;
	background: var(--rc-white); color: var(--rc-red); stroke-width: 2.6;
}

/* FAQ */
.faq { border-top: 1px solid var(--rc-line); }
.faq__item { border-bottom: 1px solid var(--rc-line); }
.faq__item summary {
	position: relative; padding: 24px 48px 24px 0;
	color: var(--rc-ink); font-size: 19px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: ""; position: absolute; right: 8px; top: 50%;
	width: 12px; height: 12px; margin-top: -9px;
	border-right: 2.5px solid var(--rc-red); border-bottom: 2.5px solid var(--rc-red);
	transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__item p { margin: 0 0 24px; color: var(--rc-muted); max-width: 680px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact__intro { position: sticky; top: 120px; }
.contact__intro .section__lead { margin-bottom: 32px; }
.contact__form { background: var(--rc-white); border-radius: var(--rc-radius-lg); padding: 40px; box-shadow: var(--rc-shadow); }

/* Enquiry form */
.rc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.rc-field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; min-width: 0; }
.rc-form__grid .rc-field { margin: 0; }
.rc-field label, .rc-field legend { color: var(--rc-ink); font-size: 15px; font-weight: 600; }
.rc-req { color: var(--rc-red); }
.rc-optional { color: var(--rc-muted); font-weight: 400; }
.rc-field input[type="text"], .rc-field input[type="email"], .rc-field input[type="tel"], .rc-field input[type="date"], .rc-field select, .rc-field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	border: 1.5px solid #CFCBC3; border-radius: 12px; background: var(--rc-white);
	color: var(--rc-ink); font: 400 16px/1.5 var(--rc-font);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.rc-field textarea { min-height: 140px; resize: vertical; }
.rc-field select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C50000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.rc-field input:hover, .rc-field select:hover, .rc-field textarea:hover { border-color: #A9A49A; }
.rc-field input:focus, .rc-field select:focus, .rc-field textarea:focus { outline: none; border-color: var(--rc-red); box-shadow: 0 0 0 3px rgba(197, 0, 0, .15); }
.rc-field [aria-invalid="true"] { border-color: var(--rc-red); background-color: #FFF8F8; }
.rc-field__error { margin: 0; color: #A30000; font-size: 14px; font-weight: 500; }
.rc-field--wide { grid-column: 1 / -1; }
.rc-field input[type="date"] { max-width: 280px; }
.rc-field textarea::placeholder { color: #9A958C; }
.rc-field__help { margin: -4px 0 2px; color: var(--rc-muted); font-size: 14px; line-height: 1.5; }
.rc-form__required-note { margin: 0 0 28px; color: var(--rc-muted); font-size: 14px; }
.rc-form__section { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.rc-form__section-title {
	display: block; width: 100%; margin: 0 0 22px; padding: 0 0 12px;
	border-bottom: 2px solid var(--rc-ink);
	color: var(--rc-ink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.rc-field--radios { margin: 0; padding: 0; border: 0; }
.rc-field--radios legend { margin-bottom: 10px; padding: 0; }
.rc-radios { display: flex; flex-wrap: wrap; gap: 12px; }
.rc-radio { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px 0 16px; border: 1.5px solid #CFCBC3; border-radius: 12px; background: var(--rc-white); cursor: pointer; font-size: 16px; font-weight: 500; color: var(--rc-ink); transition: border-color .15s ease, background-color .15s ease; }
.rc-radio:hover { border-color: #A9A49A; }
.rc-radio input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2px solid #A9A49A; border-radius: 50%; background: var(--rc-white); display: grid; place-items: center; cursor: pointer; }
.rc-radio input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rc-red); transform: scale(0); transition: transform .12s ease; }
.rc-radio input:checked { border-color: var(--rc-red); }
.rc-radio input:checked::before { transform: scale(1); }
.rc-radio:has(input:checked) { border-color: var(--rc-red); background: #FFF8F8; }
.rc-radio input:focus-visible { outline: 3px solid var(--rc-red); outline-offset: 2px; }
.rc-radio input[aria-invalid="true"] { border-color: var(--rc-red); }
.rc-form__clear { padding: 8px 4px; border: 0; background: none; color: var(--rc-ink); font: 600 15px var(--rc-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rc-form__clear:hover { color: var(--rc-red); }
.rc-form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 8px; }
.rc-form__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.rc-form__privacy { margin: 16px 0 0; color: var(--rc-muted); font-size: 14px; }
.rc-form__notice { margin: 0 0 24px; padding: 14px 18px; border-radius: 12px; background: #FFF0F0; color: #8A0000; font-weight: 500; font-size: 15px; }
.rc-form__notice:focus { outline: none; }
.rc-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-form__success { padding: 48px 24px; text-align: center; }
.rc-form__success:focus { outline: none; }
.rc-form__success h3 { font-size: 28px; margin: 20px 0 10px; }
.rc-form__success p { max-width: 460px; margin: 0 auto; color: var(--rc-muted); }
.rc-form__success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--rc-red); color: var(--rc-white); }
.rc-form__success-icon .rc-icon { width: 36px; height: 36px; stroke-width: 2.6; }
.entry-content .rc-form { margin-top: 32px; padding: 32px; border-radius: var(--rc-radius-lg); background: var(--rc-grey); }
[hidden] { display: none !important; }

.contact-list { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contact-list .rc-icon { width: 22px; height: 22px; margin-top: 2px; color: var(--rc-red); }
.contact-list a { color: inherit; }
.contact-list--dark { font-weight: 500; color: var(--rc-ink); }

/* Home: registration call-to-action card */
.register-card { padding: 40px; border-radius: var(--rc-radius-lg); background: var(--rc-white); box-shadow: var(--rc-shadow); }
.register-card__title { font-size: 26px; margin-bottom: 10px; }
.register-card > p { color: var(--rc-muted); }
.checklist--dark { margin: 8px 0 32px; gap: 14px; }
.checklist--dark li { font-size: 16px; color: var(--rc-ink); }
.checklist--dark .rc-icon { width: 26px; height: 26px; padding: 5px; background: var(--rc-red-tint); color: var(--rc-red); }

/* Home: two call-to-action cards */
.cta-cards { display: grid; gap: 20px; }
.register-card--dark { background: var(--rc-ink); color: rgba(255, 255, 255, .82); background-image: radial-gradient(circle at 90% 10%, rgba(197, 0, 0, .5) 0, rgba(197, 0, 0, 0) 55%); }
.register-card--dark .register-card__title { color: var(--rc-white); }
.register-card--dark > p:not(.eyebrow) { color: rgba(255, 255, 255, .82); margin-bottom: 24px; }
.register-card .eyebrow { margin-bottom: 8px; }
.register-card--dark > p.eyebrow { color: #FF8A8A; }

/* Demo page */
.demo-points { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.demo-points li { display: flex; align-items: center; gap: 12px; color: var(--rc-white); font-weight: 500; }
.demo-points .rc-icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #FF8A8A; }

/* Registration page */
.container--form { max-width: 880px; }
.page-hero.page-hero--register { padding: 72px 0 128px; }
.page-hero__intro { margin-top: 18px; max-width: 680px; color: rgba(255, 255, 255, .82); font-size: 18px; }
.page-hero__intro p { margin: 0 0 .5em; }
.page-hero__intro p:first-child { color: var(--rc-white); font-weight: 600; }
.register-section { padding-top: 0; display: flow-root; }
.register-form-card { margin-top: -72px; position: relative; padding: 48px; border-radius: var(--rc-radius-lg); background: var(--rc-white); box-shadow: 0 20px 50px -20px rgba(29, 29, 29, .25); }
.register-help { margin: 20px 0 0; text-align: center; color: var(--rc-muted); font-size: 15px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0; background: var(--rc-ink); color: var(--rc-white); }
.page-hero__title { margin: 0; color: var(--rc-white); font-size: clamp(34px, 4.4vw, 54px); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 32px; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--rc-radius); }
.entry-content blockquote { margin: 1.6em 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--rc-red); font-size: 20px; color: var(--rc-ink); }
.entry-content .wp-block-button__link { background: var(--rc-red); border-radius: 999px; font-weight: 600; }
.entry-image { display: block; margin-bottom: 32px; border-radius: var(--rc-radius); }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); background: var(--rc-white); }
.post-card__image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__meta { margin: 0 0 6px; color: var(--rc-red); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-card__title { font-size: 21px; }
.post-card__title a { color: var(--rc-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--rc-red); }
.post-card p { color: var(--rc-muted); font-size: 16px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rc-line); font-weight: 600; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rc-line); color: var(--rc-ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--rc-red); border-color: var(--rc-red); color: var(--rc-white); }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 0 16px; border: 1px solid var(--rc-line); border-radius: 999px; font: inherit; }
.search-form input[type="submit"] { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--rc-red); color: var(--rc-white); font: 600 15px var(--rc-font); cursor: pointer; }
.notfound { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rc-ink); color: rgba(255, 255, 255, .78); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__brand .site-logo img { height: 44px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 360px; }
.site-footer__heading { margin-bottom: 18px; color: var(--rc-white); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-footer .menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--rc-white); text-decoration: underline; }
.site-footer .btn--light { color: var(--rc-ink); text-decoration: none; }
.site-footer .btn--light:hover { color: var(--rc-white); }
.site-footer .contact-list .rc-icon { color: #FF8A8A; }
.site-footer__bottom { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.widget-title { color: var(--rc-white); font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service--feature { grid-row: auto; grid-column: span 2; min-height: 0; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 80px 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px 24px 28px;
		background: var(--rc-white); border-bottom: 1px solid var(--rc-line);
		box-shadow: 0 16px 32px rgba(29, 29, 29, .12);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.admin-bar .site-nav { top: 126px; }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rc-line); font-size: 17px; }
	.site-nav .menu a:hover { border-bottom-color: var(--rc-line); }
	.site-nav__cta { width: 100%; }

	.hero { padding: 56px 0 72px; }
	.hero__grid, .why, .contact, .audience { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.contact__intro { position: static; }
	.section { padding: 80px 0; }
	.section__header { margin-bottom: 40px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: span 2; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: 126px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.site-header__inner { min-height: 72px; }
	.site-nav { inset: 72px 0 auto 0; }
	.site-logo img, .custom-logo { height: 34px; }
	.hero__lead { font-size: 17px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.bridge { grid-template-columns: 1fr; padding: 28px 20px; gap: 16px; }
	.bridge::before { display: none; }
	.bridge__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.bridge__label { grid-column: 1 / -1; text-align: center; }
	.chip { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 6px; font-size: 13px; text-align: center; }
	.bridge__hub { justify-self: center; width: 88px; height: 88px; margin: 4px 0; }
	.bridge__hub img { width: 52px; }
	.section { padding: 64px 0; }
	.card { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
	.services, .steps, .post-grid { grid-template-columns: minmax(0, 1fr); }
	.service--feature { grid-column: auto; }
	.service { padding: 26px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.site-footer__brand { grid-column: auto; }
	.contact__form { padding: 24px 18px; border-radius: 20px; }
	.rc-form__grid { grid-template-columns: minmax(0, 1fr); }
	.register-form-card { padding: 28px 18px; margin-top: -56px; border-radius: 20px; }
	.register-card { padding: 28px 22px; }
	.page-hero.page-hero--register { padding: 48px 0 96px; }
	.rc-field input[type="date"] { max-width: none; }
	.rc-form__footer { flex-direction: column; align-items: stretch; }
	.rc-form__submit { width: 100%; }
	.entry-content .rc-form { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Comments ---------- */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rc-line); }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--rc-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--rc-line); border-radius: 12px; font: inherit;
}
.comment-form .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--rc-red); color: var(--rc-white); font: 600 15px var(--rc-font); cursor: pointer; }

