/*
Theme Name: CBS Modern
Description: Modern homepage design for Canada Business Services. Child theme of Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.0.0
Text Domain: cbs-modern
*/

:root {
	--cbs-red: #C60000;
	--cbs-red-dark: #9A0000;
	--cbs-black: #0D0D0D;
	--cbs-char: #161616;
	--cbs-char-2: #1F1F1F;
	--cbs-grey: #DADADA;
	--cbs-light: #F3F3F1;
	--cbs-ink: #161616;
	--cbs-muted: #5E5E5E;
	--cbs-radius: 10px;
	--cbs-gutter: clamp(20px, 4vw, 40px);
}

body {
	background: #fff;
	color: var(--cbs-ink);
	-webkit-font-smoothing: antialiased;
}

.cbs-home > *,
.cbs-header > *,
.cbs-site-footer > * { margin-block-start: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }

.cbs-red-text { color: var(--cbs-red); }
.cbs-sep { color: var(--cbs-red); margin: 0 .45em; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: background .2s, color .2s, border-color .2s, transform .2s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
	padding: calc(.9rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--cbs-black); border-color: #fff; }
.wp-block-button.is-style-cbs-black .wp-block-button__link { background: var(--cbs-black); color: #fff; }
.wp-block-button.is-style-cbs-black .wp-block-button__link:hover { background: #000; }

/* ---------- Header ---------- */
.cbs-topbar {
	background: var(--cbs-black);
	color: #bdbdbd;
	font-size: .82rem;
	padding: .55rem var(--cbs-gutter);
}
.cbs-topbar p { margin: 0; }
.cbs-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.cbs-topbar a:hover { color: var(--cbs-red); }

.cbs-mainbar {
	background: #fff;
	padding: 14px var(--cbs-gutter);
	border-bottom: 4px solid var(--cbs-red);
	box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.cbs-mainbar-inner { gap: 24px; }
.cbs-mainbar-right { gap: 28px; }
.cbs-logo { margin: 0; }
.cbs-logo img { display: block; height: auto; }

.cbs-nav { font-weight: 800; font-size: .95rem; gap: 0; }
.cbs-nav .wp-block-navigation__container { gap: 4px 26px; }
.cbs-nav .wp-block-navigation-item__content { color: var(--cbs-ink); padding: 6px 0; text-decoration: none; }
.cbs-nav .wp-block-navigation-item__content:hover { color: var(--cbs-red); }
.cbs-nav .wp-block-navigation__submenu-container {
	background: var(--cbs-black) !important;
	border: 0 !important;
	border-top: 3px solid var(--cbs-red) !important;
	border-radius: 0 0 8px 8px;
	padding: 8px 0 !important;
	min-width: 260px !important;
	box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.cbs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #e6e6e6 !important;
	font-weight: 700;
	padding: 9px 20px !important;
}
.cbs-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: #fff !important; background: var(--cbs-red); }
.cbs-header-cta .wp-block-button__link { padding: .7rem 1.2rem; font-size: .92rem; white-space: nowrap; }

/* ---------- Section basics ---------- */
.cbs-section { padding: clamp(64px, 9vw, 112px) var(--cbs-gutter); }
.cbs-section h2 {
	font-size: clamp(2rem, 3.6vw, 3rem);
	line-height: 1.08;
	margin: 0 0 1rem;
}
.cbs-section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.cbs-section-head > * { max-width: 760px; }
.cbs-section-head.is-centered { text-align: center; }
.cbs-section-head.is-centered > * { margin-left: auto; margin-right: auto; }
.cbs-kicker {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	color: var(--cbs-red);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin: 0 0 .9rem;
}
.cbs-kicker::before { content: ""; width: 26px; height: 3px; background: var(--cbs-red); transform: skewX(-20deg); }
.cbs-muted { color: var(--cbs-muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.cbs-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--cbs-black);
	color: #fff;
	padding: clamp(80px, 11vw, 150px) var(--cbs-gutter) clamp(100px, 12vw, 160px);
}
.cbs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url("https://www.cbservices.com/wp-content/uploads/2026/11/cbs-cbsoutside1-scaled-2560x1440-1.webp") 70% center / cover no-repeat;
	filter: grayscale(.35) contrast(1.05);
}
.cbs-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(105deg, transparent 0 74%, var(--cbs-red) 74% 75.5%, transparent 75.5% 77%, rgba(198,0,0,.55) 77% 77.6%, transparent 77.6%),
		linear-gradient(90deg, var(--cbs-black) 0%, rgba(13,13,13,.94) 42%, rgba(13,13,13,.62) 100%);
}
.cbs-hero-content { max-width: 720px; }
.cbs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #e9e9e9;
	margin: 0 0 1.4rem;
}
.cbs-eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--cbs-red); transform: skewX(-20deg); }
.cbs-hero h1 {
	font-size: clamp(2.5rem, 5.6vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -.03em;
	margin: 0 0 1.4rem;
	color: #fff;
}
.cbs-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: #cfcfcf; max-width: 58ch; margin: 0 0 2.2rem; }
.cbs-hero-buttons { gap: 14px; margin-bottom: 2.6rem; }
.cbs-hero-trust {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	font-size: .92rem;
	color: #bdbdbd;
}
.cbs-hero-trust li { display: flex; align-items: center; gap: .55rem; }
.cbs-hero-trust li::before {
	content: "";
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--cbs-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
	flex: none;
}

/* ---------- Quick actions ---------- */
.cbs-quick {
	padding: 0 var(--cbs-gutter);
	background: linear-gradient(var(--cbs-black) 0 50%, var(--cbs-light) 50% 100%);
}
.cbs-quick-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-radius: var(--cbs-radius);
	overflow: hidden;
	box-shadow: 0 24px 50px rgba(0,0,0,.28);
	transform: translateY(-40px);
	margin-bottom: -40px;
}
.cbs-quick-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 24px;
	background: var(--cbs-char);
	color: #fff;
	text-decoration: none;
	border-left: 1px solid rgba(255,255,255,.07);
	transition: background .2s;
}
.cbs-quick-card:first-child { border-left: 0; }
.cbs-quick-card.is-featured { background: var(--cbs-red); }
.cbs-quick-card:hover { background: var(--cbs-red-dark); }
.cbs-quick-card:not(.is-featured):hover { background: #262626; }
.cbs-quick-icon {
	width: 46px; height: 46px; flex: none;
	display: grid; place-items: center;
	border-radius: 8px;
	background: rgba(255,255,255,.08);
}
.cbs-quick-card.is-featured .cbs-quick-icon { background: rgba(0,0,0,.2); }
.cbs-quick-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbs-quick-text { display: flex; flex-direction: column; line-height: 1.25; }
.cbs-quick-text strong { font-size: 1.02rem; }
.cbs-quick-text small { font-size: .82rem; color: rgba(255,255,255,.65); }
.cbs-arrow { margin-left: auto; font-size: 1.2rem; opacity: .6; transition: transform .2s, opacity .2s; }
.cbs-quick-card:hover .cbs-arrow { transform: translateX(4px); opacity: 1; }

/* ---------- Services ---------- */
.cbs-services { background: var(--cbs-light); padding-top: clamp(88px, 11vw, 136px); }
.cbs-card-grid { gap: 22px; }
.cbs-card {
	position: relative;
	background: #fff;
	border-radius: var(--cbs-radius);
	padding: 32px 30px 28px;
	border: 1px solid #E6E6E3;
	transition: transform .25s, box-shadow .25s, border-color .25s;
	overflow: hidden;
}
.cbs-card::after {
	content: "";
	position: absolute; left: 0; top: 0;
	height: 4px; width: 0;
	background: var(--cbs-red);
	transition: width .3s;
}
.cbs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.09); border-color: transparent; }
.cbs-card:hover::after { width: 100%; }
.cbs-card-icon {
	display: grid; place-items: center;
	width: 54px; height: 54px;
	border-radius: 10px;
	background: var(--cbs-black);
	margin-bottom: 22px;
	box-shadow: 5px 5px 0 var(--cbs-red);
}
.cbs-card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbs-card h3 { font-size: 1.28rem; margin: 0 0 .55rem; letter-spacing: -.01em; }
.cbs-card p { color: var(--cbs-muted); margin: 0 0 1rem; line-height: 1.6; }
.cbs-card .cbs-card-link { margin: 0; }
.cbs-card .cbs-card-link a { color: var(--cbs-ink); font-weight: 700; text-decoration: none; font-size: .95rem; }
.cbs-card:hover .cbs-card-link a { color: var(--cbs-red); }

/* ---------- Tech (dark) ---------- */
.cbs-tech { background: var(--cbs-black); color: #fff; position: relative; overflow: hidden; }
.cbs-tech::before {
	content: "";
	position: absolute; right: -6%; top: 0; bottom: 0; width: 34%;
	background: var(--cbs-char);
	transform: skewX(-12deg);
	pointer-events: none;
}
.cbs-tech > * { position: relative; }
.cbs-tech-cols { gap: clamp(40px, 6vw, 80px); }
.cbs-tech .cbs-muted { color: #b5b5b5; }
.cbs-checklist {
	list-style: none;
	padding: 0;
	margin: 1.8rem 0 2.2rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
}
.cbs-checklist li { display: flex; gap: .7rem; align-items: center; font-weight: 600; color: #ededed; }
.cbs-checklist li::before {
	content: "";
	flex: none;
	width: 22px; height: 22px;
	border-radius: 5px;
	background: var(--cbs-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.cbs-framed { margin: 0; }
.cbs-framed img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--cbs-radius);
	box-shadow: 18px 18px 0 var(--cbs-red);
}

/* ---------- Why ---------- */
.cbs-why { background: #fff; }
.cbs-why-cols { gap: clamp(40px, 6vw, 80px); align-items: center !important; }
.cbs-why p { line-height: 1.7; color: #3a3a3a; }
.cbs-stats { gap: 18px; }
.cbs-stat {
	border-radius: var(--cbs-radius);
	padding: 30px 26px;
	background: var(--cbs-light);
	border-left: 4px solid var(--cbs-red);
}
.cbs-stat.is-dark { background: var(--cbs-black); color: #fff; }
.cbs-stat.is-dark p { color: #cfcfcf; }
.cbs-stat p { margin: 0; font-size: .98rem; line-height: 1.5; }
.cbs-stat .cbs-stat-num {
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
	color: var(--cbs-red);
	margin-bottom: .7rem;
}
.cbs-stat.is-dark .cbs-stat-num { color: #fff; }

/* ---------- Products ---------- */
.cbs-products { background: var(--cbs-light); border-top: 1px solid #E6E6E3; }
.cbs-pills {
	list-style: none;
	padding: 0;
	margin: 0 auto !important;
	max-width: 1000px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.cbs-pills li {
	background: #fff;
	border: 1px solid #DCDCD8;
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
	font-size: .95rem;
	transition: background .2s, color .2s, border-color .2s;
}
.cbs-pills li:hover { background: var(--cbs-black); color: #fff; border-color: var(--cbs-black); }
.cbs-pills li:last-child { background: var(--cbs-red); color: #fff; border-color: var(--cbs-red); }

/* ---------- CTA ---------- */
.cbs-cta {
	background: linear-gradient(105deg, var(--cbs-red) 0 64%, var(--cbs-black) 64% 100%);
	color: #fff;
	padding: clamp(56px, 7vw, 84px) var(--cbs-gutter);
}
.cbs-cta-inner { gap: 28px; }
.cbs-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; margin: 0 0 .5rem; color: #fff; }
.cbs-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.cbs-cta-text { max-width: 640px; }
.cbs-cta-buttons { gap: 14px; }
.cbs-cta .is-style-cbs-black .wp-block-button__link { background: #fff; color: var(--cbs-black); }
.cbs-cta .is-style-cbs-black .wp-block-button__link:hover { background: var(--cbs-red); color: #fff; }

/* ---------- Footer ---------- */
.cbs-footer {
	background: var(--cbs-black);
	color: #a9a9a9;
	padding: clamp(56px, 7vw, 80px) var(--cbs-gutter) 0;
	font-size: .95rem;
}
.cbs-footer-cols { gap: clamp(28px, 4vw, 56px); margin-bottom: 48px; }
.cbs-footer h4 {
	color: #fff;
	font-size: .82rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin: 0 0 1.2rem;
	padding-bottom: .8rem;
	border-bottom: 2px solid var(--cbs-red);
	display: inline-block;
}
.cbs-footer p { line-height: 1.7; margin: 0 0 1rem; }
.cbs-footer a { color: #fff; text-decoration: none; }
.cbs-footer a:hover { color: var(--cbs-red); }
.cbs-footer-logo { margin: 0 0 1.2rem; }
.cbs-footer-logo img { display: block; height: auto; background: #fff; padding: 10px 14px; border-radius: 8px; }
.cbs-footer-badge {
	display: inline-block;
	font-size: .8rem;
	font-weight: 700;
	color: #fff;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	padding: 6px 14px;
}
.cbs-footer-links, .cbs-hours { list-style: none; padding: 0; margin: 0; }
.cbs-footer-links li { margin-bottom: .6rem; }
.cbs-hours li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: .55rem 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.cbs-hours li span:first-child { color: #fff; font-weight: 600; }
.cbs-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 22px 0;
	font-size: .85rem;
	gap: 10px;
}
.cbs-footer-bottom p { margin: 0; }

/* ---------- Inner pages (page, post, archive, search, 404) ---------- */
.cbs-page > * { margin-block-start: 0 !important; }
.cbs-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--cbs-black);
	color: #fff;
	padding: clamp(56px, 7vw, 96px) var(--cbs-gutter);
}
.cbs-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 0 82%, var(--cbs-red) 82% 83.5%, transparent 83.5% 85%, rgba(198,0,0,.55) 85% 85.6%, transparent 85.6%);
}
.cbs-page-hero .cbs-kicker { color: #fff; opacity: .85; }
.cbs-page-hero h1 {
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.05;
	letter-spacing: -.03em;
	color: #fff;
	margin: 0;
}
.cbs-page-hero .cbs-page-meta { color: #bdbdbd; margin-top: .8rem; font-size: .95rem; }
.cbs-page-body {
	padding: clamp(48px, 6vw, 88px) var(--cbs-gutter) clamp(64px, 8vw, 112px);
	font-size: 1.08rem;
	line-height: 1.75;
}
.cbs-page-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 2.2rem 0 .8rem; }
.cbs-page-body h3 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
.cbs-page-body a:not(.wp-element-button) { color: var(--cbs-red); text-underline-offset: 3px; }
.cbs-page-body ul:not(.cbs-pills):not(.cbs-checklist) li::marker { color: var(--cbs-red); }
.cbs-page-body .wp-block-buttons { margin-top: 1.5rem; }
.cbs-featured img { border-radius: var(--cbs-radius); margin-bottom: 2rem; }
.cbs-query .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.cbs-post-item { padding: 28px 0; border-bottom: 1px solid #E6E6E3; }
.cbs-post-item .wp-block-post-date { color: var(--cbs-red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.cbs-post-item .wp-block-post-title { font-size: 1.6rem; margin: .4rem 0 .6rem; }
.cbs-post-item .wp-block-post-title a { color: var(--cbs-ink); text-decoration: none; }
.cbs-post-item .wp-block-post-title a:hover { color: var(--cbs-red); }
.cbs-post-item .wp-block-post-excerpt { color: var(--cbs-muted); }

/* ---------- Full-width section pages (About Us, etc.) ---------- */
.cbs-page-full > * { margin-block-start: 0 !important; }
.cbs-hero-about { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.cbs-hero-about::before {
	background-image: url("https://www.cbservices.com/wp-content/uploads/2026/11/cbs-photo-1721333089073-215a56fd710c-scaled.webp");
	background-position: center;
	filter: grayscale(.2) contrast(1.05);
}

.cbs-story { background: #fff; }
.cbs-story p { line-height: 1.75; color: #3a3a3a; font-size: 1.05rem; }
.cbs-checklist.is-light { grid-template-columns: 1fr; margin-bottom: 0; }
.cbs-checklist.is-light li { color: var(--cbs-ink); align-items: flex-start; font-size: 1.05rem; line-height: 1.5; }
.cbs-checklist.is-light li::before { margin-top: 3px; }
.cbs-photo-col { position: relative; }
.cbs-photo-badge {
	position: absolute;
	left: -18px;
	bottom: -22px;
	margin: 0 !important;
	background: var(--cbs-black);
	color: #e6e6e6;
	padding: 18px 22px;
	border-radius: var(--cbs-radius);
	border-left: 4px solid var(--cbs-red);
	font-size: .85rem;
	line-height: 1.3;
	display: flex;
	flex-direction: column-reverse;
	box-shadow: 0 18px 36px rgba(0,0,0,.25);
}
.cbs-photo-badge strong { color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }

.cbs-stats-band {
	background: var(--cbs-red);
	color: #fff;
	padding: clamp(40px, 5vw, 56px) var(--cbs-gutter);
}
.cbs-stats-band-grid { gap: 24px; }
.cbs-band-stat { border-left: 2px solid rgba(255,255,255,.3); padding-left: 20px; }
.cbs-band-stat p { margin: 0; color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.4; }
.cbs-band-stat .cbs-band-num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: .45rem; }

.cbs-pills.is-links li { padding: 0; }
.cbs-pills.is-links a { display: block; padding: 10px 20px; color: inherit; text-decoration: none; }

.cbs-framed.is-left img { box-shadow: -18px 18px 0 var(--cbs-red); }

.cbs-partners { background: #fff; }
.cbs-partner-grid { gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1180px) { .cbs-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .cbs-partner-grid { grid-template-columns: 1fr !important; } }
.cbs-partner-wordmark {
	height: 92px;
	display: flex;
	align-items: center;
	padding-bottom: 20px;
	margin-bottom: 20px !important;
	border-bottom: 1px solid #ECECEA;
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
}
.cbs-partner-wordmark.is-brother { color: #0D2C8C; font-family: Arial, Helvetica, sans-serif; font-weight: 700; letter-spacing: -.01em; }
.cbs-partner-wordmark.is-freepbx { color: var(--cbs-ink); }
.cbs-partner {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #E6E6E3;
	border-radius: var(--cbs-radius);
	padding: 28px 28px 24px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cbs-partner > * { margin-block: 0 !important; }
.cbs-partner:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.09); border-color: transparent; }
.cbs-partner-logo {
	height: 92px;
	display: flex !important;
	align-items: center;
	padding-bottom: 20px;
	margin-bottom: 20px !important;
	border-bottom: 1px solid #ECECEA;
}
.cbs-partner-logo img { max-height: 64px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.cbs-partner-logo.is-padded img { max-height: none; max-width: none; height: 104px; width: auto; margin: -16px 0 -16px -26px; }
.cbs-partner-logo.is-square img { width: 170px; height: 64px; max-width: 170px; object-fit: cover; object-position: center; border-radius: 8px; }
.cbs-partner-badge {
	align-self: flex-start;
	background: var(--cbs-black);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 4px;
	margin-bottom: 14px !important;
}
.cbs-partner h3 { font-size: 1.22rem; margin-bottom: .5rem !important; }
.cbs-partner p:not(.cbs-partner-badge):not(.cbs-partner-wordmark) { color: var(--cbs-muted); line-height: 1.6; font-size: 1rem; }
.cbs-partner .cbs-card-link { font-size: .95rem !important; }
.cbs-partner p a { color: var(--cbs-red); font-weight: 600; text-decoration: none; }
.cbs-partner .cbs-card-link { margin-top: auto !important; padding-top: 16px; }
.cbs-partner .cbs-card-link a { color: var(--cbs-ink); font-weight: 700; }
.cbs-partner:hover .cbs-card-link a { color: var(--cbs-red); }

@media (max-width: 781px) {
	.cbs-photo-badge { left: 12px; bottom: -18px; }
	.cbs-framed.is-left img { box-shadow: -10px 10px 0 var(--cbs-red); }
	.cbs-band-stat { border-left: 0; padding-left: 0; border-top: 2px solid rgba(255,255,255,.3); padding-top: 14px; }
}

/* ---------- Company History ---------- */
.cbs-hero-history { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.cbs-hero-history::before {
	background-image: url("https://www.cbservices.com/wp-content/uploads/2026/11/cbs-photo-1771245850676-7829eb7eb862.webp");
	background-position: center;
	filter: grayscale(.15) contrast(1.05);
}

.cbs-timeline-section { background: var(--cbs-black); color: #fff; }
.cbs-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	padding-top: 34px;
}
.cbs-timeline::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 9px;
	height: 2px;
	background: linear-gradient(90deg, var(--cbs-red), rgba(198,0,0,.25));
}
.cbs-timeline > * { margin-block-start: 0 !important; }
.cbs-tl-item {
	position: relative;
	background: var(--cbs-char);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: var(--cbs-radius);
	padding: 26px 24px;
}
.cbs-tl-item::before {
	content: "";
	position: absolute;
	top: -34px; left: 24px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--cbs-black);
	border: 4px solid var(--cbs-red);
	box-sizing: border-box;
}
.cbs-tl-item.is-now { background: var(--cbs-red); border-color: var(--cbs-red); }
.cbs-tl-item.is-now::before { background: var(--cbs-red); border-color: #fff; }
.cbs-tl-item > * { margin-block: 0 !important; }
.cbs-tl-item .cbs-tl-year { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--cbs-red); margin-bottom: .8rem !important; }
.cbs-tl-item.is-now .cbs-tl-year { color: #fff; }
.cbs-tl-item h3 { font-size: 1.2rem; line-height: 1.25; color: #fff; margin-bottom: .6rem !important; }
.cbs-tl-item p:not(.cbs-tl-year) { color: #bdbdbd; font-size: 1rem; line-height: 1.6; }
.cbs-tl-item.is-now p:not(.cbs-tl-year) { color: rgba(255,255,255,.9); }

.cbs-quote-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--cbs-red);
	color: #fff;
	text-align: center;
	padding: clamp(64px, 8vw, 104px) var(--cbs-gutter);
}
.cbs-quote-band::after {
	content: "\201C";
	position: absolute;
	z-index: -1;
	left: 4%; top: 50%;
	transform: translateY(-38%);
	font-size: clamp(14rem, 26vw, 24rem);
	line-height: 1;
	font-weight: 800;
	color: rgba(0,0,0,.14);
}
.cbs-quote-band p { margin: 0 auto !important; }
.cbs-quote-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cbs-quote-text {
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
	margin: 1.2rem auto !important;
	max-width: 18ch;
}
.cbs-quote-cite { font-weight: 600; color: rgba(255,255,255,.85); }
.cbs-quote-cite::before { content: ""; display: inline-block; width: 26px; height: 2px; background: #fff; vertical-align: middle; margin-right: 10px; }

.cbs-showroom { background: var(--cbs-light); }
.cbs-showroom p { color: #3a3a3a; line-height: 1.7; font-size: 1.05rem; }
.cbs-pills.is-left { justify-content: flex-start; margin: 1.2rem 0 1.6rem !important; gap: 10px; }
.cbs-pills.is-left li { font-size: .9rem; padding: 8px 16px; }
.cbs-pills.is-left li:last-child { background: var(--cbs-black); border-color: var(--cbs-black); }
.cbs-checklist.is-inline { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 .6rem; }
.cbs-small-note { font-size: .92rem !important; color: var(--cbs-muted) !important; margin: 0; }

@media (max-width: 1080px) {
	.cbs-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.cbs-timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; }
	.cbs-timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--cbs-red), rgba(198,0,0,.25)); }
	.cbs-tl-item::before { top: 28px; left: -34px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.cbs-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.cbs-quick-card:nth-child(3) { border-left: 0; }
	.cbs-quick-card:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
	.cbs-header-cta { display: none !important; }
}
@media (max-width: 781px) {
	.cbs-topbar-inner p:first-child { display: none; }
	.cbs-topbar-inner { justify-content: center !important; }
	.cbs-logo img { width: 176px !important; }
	.cbs-hero::after { background: linear-gradient(180deg, rgba(13,13,13,.85), rgba(13,13,13,.95)); }
	.cbs-hero-buttons .wp-block-button { width: 100%; }
	.cbs-hero-buttons .wp-block-button__link { width: 100%; }
	.cbs-tech::before { display: none; }
	.cbs-framed img { box-shadow: 10px 10px 0 var(--cbs-red); }
	.cbs-cta { background: var(--cbs-red); }
	.cbs-cta-buttons { width: 100%; }
}
@media (max-width: 560px) {
	.cbs-quick-grid { grid-template-columns: 1fr; }
	.cbs-quick-card { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.07); }
	.cbs-quick-card:first-child { border-top: 0; }
	.cbs-checklist { grid-template-columns: 1fr; }
}
