/* ==========================================================================
   RCS theme – Strategic Technology Partner
   Built on Bootstrap 5.3. Dark, premium, red accent.
   ========================================================================== */

:root {
	--rcs-bg: #0d0d0f;
	--rcs-bg-alt: #0b0b0d;
	--rcs-surface: #151518;
	--rcs-surface-2: #1c1c21;
	--rcs-border: #26262c;
	--rcs-border-2: #33333a;
	--rcs-text: #e6e6ea;
	--rcs-muted: #a9a9b1;
	--rcs-muted-2: #8c8c95;
	--rcs-white: #ffffff;
	--rcs-red: #e10b16;
	--rcs-red-strong: #c8101a;
	--rcs-red-text: #ff4d55;      /* red for small text on dark (AA) */
	--rcs-red-bright: #ff2a33;
	--rcs-wine: #2a070a;
	--rcs-wine-border: #5a0c12;
	--rcs-font-display: "Raleway", system-ui, sans-serif;
	--rcs-font-body: "DM Sans", system-ui, sans-serif;
	--rcs-radius: 16px;
	--rcs-section-y: clamp(72px, 9vw, 120px);

	/* Bootstrap overrides */
	--bs-body-bg: var(--rcs-bg);
	--bs-body-color: var(--rcs-text);
	--bs-body-font-family: var(--rcs-font-body);
	--bs-link-color: var(--rcs-red-text);
	--bs-link-hover-color: #ff7a80;
	--bs-border-color: var(--rcs-border);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--rcs-bg); color: var(--rcs-text); font-family: var(--rcs-font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--rcs-red-text); text-decoration: none; }
a:hover { color: #ff7a80; }
h1, h2, h3, h4, h5, h6 { font-family: var(--rcs-font-display); color: var(--rcs-white); }
::selection { background: var(--rcs-red); color: #fff; }
:focus-visible { outline: 2px solid var(--rcs-red-text); outline-offset: 3px; }

.rcs-container { padding-left: clamp(24px, 5.5vw, 80px); padding-right: clamp(24px, 5.5vw, 80px); }
body { overflow-x: clip; }
.rcs-red { color: var(--rcs-red-bright); }
.rcs-skip { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.rcs-btn { --bs-btn-padding-x: 30px; --bs-btn-padding-y: 16px; font-weight: 600; font-size: 16px; border-radius: 999px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.rcs-btn:hover { transform: translateY(-1px); }
.rcs-btn--sm { --bs-btn-padding-x: 22px; --bs-btn-padding-y: 11px; font-size: 15px; }
.rcs-btn--primary { background: var(--rcs-red-strong); color: #fff; }
.rcs-btn--primary:hover, .rcs-btn--primary:focus { background: #a50d15; color: #fff; }
.rcs-btn--outline { border-color: #3a3a42; color: #fff; }
.rcs-btn--outline:hover { border-color: #fff; color: #fff; }
.rcs-btn--light { background: #fff; color: #1a0203; font-weight: 700; }
.rcs-btn--light:hover { background: #f1e3e4; color: #1a0203; }
.rcs-btn--ghost-light { border-color: #8a3a40; color: #fff; }
.rcs-btn--ghost-light:hover { border-color: #fff; color: #fff; }
.rcs-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.rcs-link .rcs-icon { transition: transform .2s; }
.rcs-link:hover .rcs-icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.rcs-header { background: rgba(11, 11, 13, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid #1f1f24; z-index: 1030; }
.rcs-header .navbar { min-height: 84px; padding: 0; }
.rcs-logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.rcs-logo__img { height: 36px; width: auto; display: block; }
.rcs-logo__bar { width: 2px; height: 34px; background: var(--rcs-red); }
.rcs-logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.rcs-logo__name { font-family: var(--rcs-font-display); font-weight: 800; font-size: 16px; letter-spacing: 2px; color: var(--rcs-red-bright); }
.rcs-logo__sub { font-family: var(--rcs-font-display); font-weight: 600; font-size: 9.5px; letter-spacing: 3px; color: #c9c9cf; }
.rcs-header .nav-link { color: #d4d4da; font-weight: 500; font-size: 15px; padding: 10px 16px !important; }
.rcs-header .nav-link:hover, .rcs-header .current-menu-item > .nav-link { color: #fff; }
.rcs-toggler { border: 0; padding: 10px; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.rcs-toggler span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.rcs-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rcs-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rcs-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 991.98px) {
	.rcs-header .navbar-collapse { padding: 12px 0 24px; }
	.rcs-header .nav-link { padding: 12px 0 !important; border-bottom: 1px solid #1f1f24; }
}

/* ---------- Typography helpers ---------- */
.rcs-eyebrow { font-family: var(--rcs-font-display); font-weight: 700; font-size: 13px; letter-spacing: 5px; color: var(--rcs-red-text); text-transform: uppercase; margin: 0 0 16px; }
.rcs-eyebrow--sm { font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
.rcs-eyebrow--soft { color: #ff8a90; }
.rcs-h2 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0; max-width: 760px; }
.rcs-lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: #b9b9c1; margin: 20px 0 0; }

/* ---------- Hero ---------- */
.rcs-hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; align-items: center; padding: 120px 0; background: var(--rcs-bg); }
.rcs-hero__stripes, .rcs-page-hero .rcs-hero__stripes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rcs-hero__content { max-width: 780px; }
.rcs-hero__title { font-weight: 800; font-size: clamp(42px, 6vw, 76px); line-height: 1.03; letter-spacing: -1px; margin: 0 0 28px; }
.rcs-hero__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #b9b9c1; max-width: 640px; margin: 0 0 36px; }
@media (max-width: 767.98px) {
	.rcs-hero { padding: 88px 0; }
	.rcs-hero__stripes { opacity: .35; }
}

/* ---------- Stats ---------- */
.rcs-stats { background: var(--rcs-bg-alt); border-top: 1px solid #1f1f24; border-bottom: 1px solid #1f1f24; }
.rcs-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 12px; text-align: center; }
.rcs-stat + .rcs-stat { border-left: 1px solid var(--rcs-border); }
.rcs-stat__value { font-family: var(--rcs-font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: #fff; line-height: 1; }
.rcs-stat__label { font-family: var(--rcs-font-display); font-weight: 600; font-size: 12px; letter-spacing: 3px; color: #a3a3ab; text-transform: uppercase; }
@media (max-width: 767.98px) {
	.rcs-stat:nth-child(3) { border-left: 0; }
	.rcs-stat:nth-child(n+3) { border-top: 1px solid var(--rcs-border); }
}

/* ---------- Sections ---------- */
.rcs-section { padding: var(--rcs-section-y) 0; }
.rcs-section--alt { background: var(--rcs-bg-alt); border-top: 1px solid #1f1f24; border-bottom: 1px solid #1f1f24; }
.rcs-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }

/* ---------- Cards ---------- */
.rcs-card { position: relative; background: var(--rcs-surface); border: 1px solid var(--rcs-border); border-radius: var(--rcs-radius); padding: 36px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s; }
.rcs-card:hover { border-color: #3a3a42; transform: translateY(-2px); }
.rcs-card__icon { color: var(--rcs-red-text); }
.rcs-card__title { font-weight: 700; font-size: 22px; margin: 0; line-height: 1.3; }
.rcs-card__title a { color: #fff; }
.rcs-card__text { font-size: 15px; line-height: 1.6; color: var(--rcs-muted); margin: 0; }
.rcs-card--accent { background: var(--rcs-wine); border-color: var(--rcs-wine-border); }
.rcs-card--accent .rcs-card__text { color: #e0c4c6; }

/* ---------- Agentic AI ---------- */
.rcs-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rcs-checks li { display: flex; gap: 12px; align-items: center; color: #d4d4da; font-size: 16px; }
.rcs-checks .rcs-icon { color: var(--rcs-red-text); flex: none; stroke-width: 2; }
.rcs-flow { background: var(--rcs-surface); border: 1px solid var(--rcs-border); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.rcs-flow__title { font-family: var(--rcs-font-display); font-weight: 700; font-size: 12px; letter-spacing: 4px; color: var(--rcs-muted-2); margin: 0 0 16px; }
.rcs-flow__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rcs-flow__step { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: var(--rcs-surface-2); border: 1px solid #2c2c33; font-size: 16px; }
.rcs-flow__num { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #3a0508; color: #ff7a80; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Process ---------- */
.rcs-step { border-top: 3px solid var(--rcs-red); padding-top: 20px; }
.rcs-step__title { font-weight: 800; font-size: 18px; letter-spacing: 3px; margin: 0 0 10px; }
.rcs-step__text { font-size: 15px; line-height: 1.6; color: var(--rcs-muted); margin: 0; }

/* ---------- Case study cards ---------- */
.rcs-case { position: relative; border-radius: var(--rcs-radius); overflow: hidden; border: 1px solid var(--rcs-border); background: var(--rcs-surface); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.rcs-case:hover { border-color: #3a3a42; transform: translateY(-2px); }
.rcs-case__media { aspect-ratio: 16 / 10; background: #1f1f24; overflow: hidden; }
.rcs-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rcs-case:hover .rcs-case__media img { transform: scale(1.03); }
.rcs-case__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Industries ---------- */
.rcs-industries { padding: 64px 0; background: var(--rcs-bg-alt); border-bottom: 1px solid #1f1f24; }
.rcs-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.rcs-chip { display: inline-block; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--rcs-border-2); font-family: var(--rcs-font-display); font-weight: 600; letter-spacing: 2px; font-size: 14px; color: #dcdce0; text-transform: uppercase; }
a.rcs-chip:hover, .rcs-chip.is-active { border-color: var(--rcs-red); color: #fff; }

/* ---------- Founder ---------- */
.rcs-portrait { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #1f1f24; border: 1px solid #2c2c33; display: flex; align-items: center; justify-content: center; }
.rcs-portrait img { width: 100%; height: 100%; object-fit: cover; }
.rcs-portrait__placeholder { font-family: var(--rcs-font-display); font-weight: 700; color: #6d6d75; letter-spacing: 3px; text-transform: uppercase; }
.rcs-quote { margin: 0; }
.rcs-quote p { font-family: var(--rcs-font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; color: #fff; margin: 0; }
.rcs-founder__meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 28px; }
.rcs-founder__name { font-family: var(--rcs-font-display); font-weight: 700; font-size: 18px; color: #fff; }
.rcs-founder__title { font-size: 14px; letter-spacing: 2px; color: #a3a3ab; }

/* ---------- Posts ---------- */
.rcs-post { min-height: 240px; justify-content: space-between; }
.rcs-post__title { font-weight: 700; font-size: 22px; line-height: 1.35; margin: 0; }
.rcs-post__title a { color: #fff; }
.rcs-post__meta { font-size: 14px; color: var(--rcs-muted-2); margin: 0; }

/* ---------- CTA ---------- */
.rcs-cta { background: var(--rcs-wine); padding: clamp(80px, 9vw, 120px) 0; }
.rcs-cta__title { font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); margin: 0 0 20px; }
.rcs-cta__text { font-size: 19px; line-height: 1.6; color: #e0c4c6; max-width: 640px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.rcs-footer { background: #09090b; padding: 64px 0 32px; font-size: 14px; }
.rcs-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rcs-footer__brand .rcs-logo__img { height: 32px; }
.rcs-footer__tagline { font-family: var(--rcs-font-display); font-weight: 700; font-size: 12px; letter-spacing: 3px; color: #c9c9cf; }
.rcs-footer__address { color: var(--rcs-muted-2); line-height: 1.7; max-width: 380px; margin: 0; }
.rcs-footer__address strong { color: #c9c9cf; font-weight: 600; }
.rcs-footer__heading { font-weight: 700; font-size: 12px; letter-spacing: 3px; margin: 0 0 16px; text-transform: uppercase; }
.rcs-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rcs-footer__links a { color: #a3a3ab; }
.rcs-footer__links a:hover { color: #fff; }
.rcs-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #1f1f24; margin-top: 48px; padding-top: 24px; color: #6d6d75; }
.rcs-footer__bottom a { color: #8c8c95; }

/* ---------- Inner pages ---------- */
.rcs-page-hero { position: relative; overflow: hidden; padding: clamp(96px, 11vw, 150px) 0 clamp(64px, 7vw, 96px); border-bottom: 1px solid #1f1f24; }
.rcs-page-hero__title { font-weight: 800; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.1; letter-spacing: -.5px; margin: 0; max-width: 900px; }
.rcs-page-hero__text { max-width: 700px; }
.rcs-prose { max-width: 820px; font-size: 18px; line-height: 1.8; color: #cfcfd5; }
.rcs-prose h2 { font-size: 32px; font-weight: 800; margin: 48px 0 16px; }
.rcs-prose h3 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; }
.rcs-prose p, .rcs-prose ul, .rcs-prose ol { margin-bottom: 1.3em; }
.rcs-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.rcs-prose blockquote { border-left: 3px solid var(--rcs-red); padding-left: 20px; color: #fff; font-family: var(--rcs-font-display); font-size: 22px; }
.rcs-prose__media { margin: 0 0 40px; }
.rcs-prose .wp-block-button__link { background: var(--rcs-red-strong); border-radius: 999px; padding: 14px 28px; }
.rcs-facts { border: 1px solid var(--rcs-border); border-radius: var(--rcs-radius); padding: 28px; background: var(--rcs-surface); margin: 0; }
.rcs-facts dt { font-family: var(--rcs-font-display); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rcs-red-text); }
.rcs-facts dd { color: #fff; margin: 4px 0 20px; }
.rcs-facts dd:last-child { margin-bottom: 0; }
.rcs-post-nav { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rcs-border); margin-top: 48px; padding-top: 24px; font-weight: 600; }
.rcs-pagination { margin-top: 56px; }
.rcs-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.rcs-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rcs-border-2); border-radius: 999px; color: #d4d4da; padding: 0 14px; }
.rcs-pagination .page-numbers.current, .rcs-pagination a.page-numbers:hover { background: var(--rcs-red-strong); border-color: var(--rcs-red-strong); color: #fff; }
.rcs-admin-hint { border: 1px dashed #5a5a62; border-radius: 12px; padding: 16px 20px; color: #a9a9b1; margin: 0; }

/* ---------- Contact ---------- */
.rcs-panel { background: var(--rcs-surface); border: 1px solid var(--rcs-border); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.rcs-form .form-label { font-weight: 600; font-size: 14px; color: #d4d4da; }
.rcs-form .form-control, .rcs-form .form-select { background-color: var(--rcs-surface-2); border: 1px solid #2c2c33; color: #fff; border-radius: 10px; padding: 13px 16px; }
.rcs-form .form-control:focus, .rcs-form .form-select:focus { border-color: var(--rcs-red-text); box-shadow: 0 0 0 .2rem rgba(225, 11, 22, .25); background-color: var(--rcs-surface-2); color: #fff; }
.rcs-form .form-control::placeholder { color: #6d6d75; }
.rcs-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d4d4da' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.rcs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rcs-alert { border-radius: 12px; border: 1px solid; }
.rcs-alert--ok { background: #0f2a18; border-color: #1f5a33; color: #b8f0c9; }
.rcs-alert--err { background: #2a0a0c; border-color: #5a0c12; color: #ffc9cc; }
.rcs-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.rcs-contact-list li { display: flex; gap: 14px; align-items: flex-start; color: #d4d4da; font-size: 17px; }
.rcs-contact-list .rcs-icon { color: var(--rcs-red-text); flex: none; margin-top: 2px; }

/* ---------- Motion ---------- */
.rcs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rcs-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rcs-reveal { opacity: 1; transform: none; transition: none; }
	.rcs-card, .rcs-case, .rcs-btn, .rcs-case__media img { transition: none; }
}

/* WordPress core alignment helpers */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Inner pages: Services & About (v1.1) ---------- */
.rcs-header .nav-link.active { color: #fff; }
.rcs-subnav { position: sticky; top: 84px; z-index: 5; background: rgba(13, 13, 15, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rcs-border); }
.rcs-subnav ul { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.rcs-subnav ul::-webkit-scrollbar { display: none; }
.rcs-subnav a { display: inline-block; white-space: nowrap; padding: 8px 16px; border: 1px solid var(--rcs-border-2); border-radius: 999px; font-size: 14px; color: #d4d4da; transition: border-color .2s, color .2s; }
.rcs-subnav a:hover { border-color: var(--rcs-red-text); color: #fff; }
.rcs-service { padding: 56px 0; border-top: 1px solid var(--rcs-border); scroll-margin-top: 150px; }
.rcs-service:first-child { padding-top: 0; border-top: 0; }
.rcs-service__num { display: block; font-family: var(--rcs-font-display); font-weight: 800; font-size: 14px; letter-spacing: 3px; color: var(--rcs-muted-2); margin-bottom: 18px; }
.rcs-service__title { font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0; }
.rcs-service .rcs-checks { margin-top: 8px; }
.rcs-service__ideal { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--rcs-border); color: var(--rcs-muted); font-size: 15px; line-height: 1.6; }
.rcs-service__ideal strong { color: #fff; font-weight: 600; }
.rcs-prose--lead p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; color: #b9b9c1; }
body.admin-bar .rcs-subnav { top: 116px; }
@media (max-width: 782px) { body.admin-bar .rcs-subnav { top: 130px; } }

/* Logo sizing (v1.1) */
.rcs-logo__img { height: 60px; width: auto; display: block; }
.rcs-footer__brand .rcs-logo__img { height: 40px; }

/* Tables inside articles, case studies and pages */
.rcs-prose table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: 16px; line-height: 1.55; background: var(--rcs-surface); border: 1px solid var(--rcs-border); border-radius: 12px; overflow: hidden; }
.rcs-prose th, .rcs-prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rcs-border); color: #cfcfd5; }
.rcs-prose th, .rcs-prose thead td { font-family: var(--rcs-font-display); font-weight: 700; font-size: 14px; letter-spacing: .5px; color: #fff; background: var(--rcs-surface-2); }
.rcs-prose tr:last-child td { border-bottom: 0; }
.rcs-prose td + td, .rcs-prose th + th { border-left: 1px solid var(--rcs-border); }
.rcs-prose table p { margin: 0; }
@media (max-width: 767.98px) {
	.rcs-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
	.rcs-prose th, .rcs-prose td { white-space: normal; min-width: 160px; }
}

/* Hero headlines: each sentence on one line on desktop (v1.2) */
@media (min-width: 1200px) {
	.rcs-hero__content { max-width: none; }
	.rcs-hero__title { font-size: clamp(44px, 3.4vw, 58px); letter-spacing: -.5px; line-height: 1.1; }
	.rcs-hero__title, .rcs-hero__title .rcs-red,
	.rcs-page-hero__title--split, .rcs-page-hero__title--split .rcs-red { white-space: nowrap; }
	.rcs-page-hero__title--split { max-width: none; }
}

/* Author box (v1.2) */
.rcs-author { display: flex; gap: 24px; align-items: flex-start; margin: 56px 0 0; padding: 28px; background: var(--rcs-surface); border: 1px solid var(--rcs-border); border-radius: 16px; }
.rcs-author__photo { flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: #1f1f24; }
.rcs-author__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; margin: 0; }
.rcs-author__label { font-family: var(--rcs-font-display); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rcs-red-text); margin: 0 0 6px !important; }
.rcs-author__name { font-family: var(--rcs-font-display); font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 8px !important; }
.rcs-author__name span { display: block; font-family: var(--rcs-font-body); font-weight: 500; font-size: 14px; color: var(--rcs-muted-2); margin-top: 2px; }
.rcs-author__bio { font-size: 16px; line-height: 1.65; color: #b9b9c1; margin: 0 0 12px !important; }
.rcs-author__links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 !important; font-size: 15px; font-weight: 600; }
@media (max-width: 575.98px) { .rcs-author { flex-direction: column; } }

/* ---------- Articles (v1.3) ---------- */
.rcs-page-hero--post { padding: clamp(80px, 9vw, 120px) 0 clamp(48px, 5vw, 72px); }
.rcs-page-hero--post .rcs-eyebrow a { color: inherit; }
.rcs-post-title { font-size: clamp(30px, 3vw, 48px); line-height: 1.12; max-width: 900px; text-wrap: balance; }
.rcs-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 24px 0 0; font-size: 15px; color: var(--rcs-muted); }
.rcs-post-meta span + span::before { content: "·"; margin-right: 14px; color: var(--rcs-muted-2); }
.rcs-article-wrap { padding-top: clamp(48px, 6vw, 80px); }
.rcs-article { max-width: 740px; }
.rcs-article h2 { scroll-margin-top: 110px; }
.rcs-article-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
body.admin-bar .rcs-article-aside { top: 142px; }
.rcs-toc { padding: 24px 24px 20px; border: 1px solid var(--rcs-border); border-radius: 16px; background: var(--rcs-surface); }
.rcs-toc__title { font-family: var(--rcs-font-display); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rcs-red-text); margin: 0 0 14px; }
.rcs-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 10px; }
.rcs-toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.rcs-toc li::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--rcs-font-display); font-weight: 700; font-size: 12px; color: var(--rcs-muted-2); padding-top: 3px; }
.rcs-toc a { color: #cfcfd5; }
.rcs-toc a:hover { color: #fff; }
.rcs-aside-cta { padding: 28px 24px; border-radius: 16px; background: var(--rcs-wine); border: 1px solid var(--rcs-wine-border); }
.rcs-aside-cta__title { font-family: var(--rcs-font-display); font-weight: 800; font-size: 22px; line-height: 1.25; color: #fff; margin: 0 0 10px; }
.rcs-aside-cta__text { font-size: 15px; line-height: 1.6; color: #d8b9bb; margin: 0 0 20px; }
@media (max-width: 991.98px) {
	.rcs-article-aside { position: static; }
	.rcs-toc { display: none; }
}
/* Post cards with cover image */
.rcs-post--media { padding: 0; overflow: hidden; gap: 0; }
.rcs-post__media { aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid var(--rcs-border); }
.rcs-post__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .3s; }
.rcs-post--media:hover .rcs-post__media img { transform: scale(1.03); }
.rcs-post__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rcs-post--media .rcs-post__body { padding: 28px 28px 30px; }
.rcs-post__body .rcs-post__meta { margin-top: auto; }
