/*
Theme Name: BusCompare NI
Theme URI: https://buscompareni.co.uk
Author: BusCompare NI
Description: A departure-board themed WordPress theme for BusCompare NI — a coach & minibus hire comparison service for Northern Ireland. Built to pair with the BusCompare NI plugin: ink-black and signal-amber, wide industrial type, and a live coach-station departures board as its signature. Classic theme with a custom homepage, nav, and footer.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buscompare-ni-theme
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
	--ink:      #0c0e12;
	--ink-2:    #14171d;
	--ink-3:    #1c2027;
	--amber:    #ffb300;
	--amber-2:  #ffc738;
	--amber-soft: rgba(255,179,0,.14);
	--text:     #e7e9ee;
	--muted:    #9aa0a6;
	--dim:      #5b616b;
	--line:     rgba(255,255,255,.10);
	--line-2:   rgba(255,255,255,.06);
	--green:    #22c55e;
	--maxw:     1140px;
	--radius:   16px;
	--display:  'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono:     'Spline Sans Mono', ui-monospace, Menlo, Consolas, monospace;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--display);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-2); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 800; line-height: 1.05; letter-spacing: -0.5px; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.bc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.bc-wrap--wide { max-width: 1320px; }
.bc-eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--mono);
	font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
	color: var(--amber);
}
.bc-dot {
	width: 9px; height: 9px; border-radius: 50%; background: var(--amber);
	box-shadow: 0 0 0 0 rgba(255,179,0,.7); animation: bc-pulse 2s infinite;
}
.bc-icon-dot {
	display: inline-block;
	width: 12px; height: 12px; border-radius: 50%; background: var(--amber);
	flex-shrink: 0;
}
@keyframes bc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255,179,0,.6); }
	70% { box-shadow: 0 0 0 11px rgba(255,179,0,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,179,0,0); }
}

/* Buttons */
.bc-btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--display); font-weight: 800; font-size: 15px;
	letter-spacing: .4px; text-transform: uppercase;
	padding: 14px 22px; border-radius: 11px; border: 1px solid transparent;
	cursor: pointer; transition: transform .08s, filter .15s, background .15s, color .15s;
}
.bc-btn--amber {
	background: var(--amber);
	color: var(--ink);
	box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 16px rgba(0,0,0,.28);
	transition: transform .12s ease, box-shadow .2s ease, background .15s ease, color .15s ease;
}
.bc-btn--amber:hover {
	background: var(--amber-2);
	color: var(--ink);
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0,0,0,.45), 0 12px 24px rgba(0,0,0,.34);
}
/* Fix: .bc-nav a was winning on specificity and forcing the light nav text
   colour onto the amber CTA button, making "Get a quote" unreadable in the
   header. Re-assert dark text specifically for the button inside the nav. */
.bc-nav a.bc-btn--amber,
.bc-nav a.bc-btn--amber:hover,
.bc-nav a.bc-btn--amber:visited {
	color: var(--ink);
}
/* Nav CTA — directional arrow that nudges on hover (no glow). */
.bc-nav a.bc-btn--amber::after {
	content: "\2192";
	font-weight: 800;
	transform: translateX(0);
	transition: transform .18s ease;
}
.bc-nav a.bc-btn--amber:hover::after { transform: translateX(4px); }
.bc-btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.bc-btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.bc-btn:active { transform: translateY(0); }
/* Crisp keyboard focus ring for all buttons. */
.bc-btn:focus-visible {
	outline: 2px solid var(--amber-2);
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.bc-btn--amber, .bc-btn--amber:hover { transform: none; }
	.bc-nav a.bc-btn--amber:hover::after { transform: none; }
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(12,14,18,.86);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 18px; }
.site-brand:hover { color: #fff; }
.site-brand__mark { color: var(--amber); font-size: 20px; }
.site-brand img { max-height: 40px; width: auto; }

.site-header .custom-logo-link {
	display: flex;
	align-items: center;
	max-width: 220px;
}
.site-header .custom-logo {
	max-height: 55px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

/* Hardcoded logos — fixed size, no CMS interference */
.bc-header-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.bc-header-logo { width: 215px; height: auto; display: block; }

.bc-footer-logo-link { display: block; margin-bottom: 18px; }
.bc-footer-logo { width: 320px; height: auto; display: block; margin-left: -16px; }

.bc-nav { display: flex; align-items: center; gap: 28px; }
.bc-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.bc-nav a { color: var(--text); font-weight: 600; font-size: 15px; }
.bc-nav a:hover { color: var(--amber); }
.bc-nav .current-menu-item > a { color: var(--amber); }

.bc-nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 44px; height: 40px; cursor: pointer; }
.bc-nav-toggle span, .bc-nav-toggle span::before, .bc-nav-toggle span::after {
	content: ''; display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; transition: .2s;
}
.bc-nav-toggle span::before { position: absolute; top: -6px; }
.bc-nav-toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   Hero + departures board (signature)
   ============================================================ */
.bc-hero { position: relative; padding: 74px 0 64px; overflow: hidden; }
.bc-hero::before {
	content: ''; position: absolute; inset: 0;
	background:
		radial-gradient(900px 380px at 78% -8%, rgba(255,179,0,.10), transparent 60%),
		repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 64px);
	pointer-events: none; z-index: 0;
}
.bc-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.bc-hero h1 {
	font-size: clamp(40px, 6.4vw, 76px);
	text-transform: uppercase; color: #fff; margin: 18px 0 18px;
}
.bc-hero h1 span { color: var(--amber); }
.bc-hero__sub { color: var(--muted); font-size: 19px; max-width: 46ch; margin-bottom: 28px; }
.bc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.bc-hero__stats { display: flex; gap: 34px; margin-top: 34px; }
.bc-hero__stat .n { font-family: var(--mono); font-size: 26px; font-weight: 600; color: #fff; }
.bc-hero__stat .l { font-size: 13px; color: var(--muted); letter-spacing: .4px; }

/* ============================================================
   Live savings ticker
   ============================================================ */
.bc-ticker-wrap {
	display: flex; align-items: center;
	background: #06070a;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	height: 44px;
}
.bc-ticker__label {
	display: flex; align-items: center; gap: 8px;
	flex-shrink: 0;
	padding: 0 16px 0 20px;
	font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
	text-transform: uppercase; color: var(--amber);
	border-right: 1px solid var(--line);
	height: 100%; white-space: nowrap;
	background: #06070a;
	position: relative; z-index: 2;
}
.bc-ticker__track-outer {
	flex: 1; overflow: hidden; position: relative;
}
.bc-ticker__track-outer::before,
.bc-ticker__track-outer::after {
	content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none;
}
.bc-ticker__track-outer::before { left: 0; background: linear-gradient(90deg, #06070a, transparent); }
.bc-ticker__track-outer::after  { right: 0; background: linear-gradient(270deg, #06070a, transparent); }
.bc-ticker__track {
	display: flex; align-items: center;
	width: max-content;
	white-space: nowrap;
	animation: bc-ticker-scroll 35s linear infinite;
	will-change: transform;
}
.bc-ticker__set { display: flex; align-items: center; flex-shrink: 0; }
.bc-ticker__track:hover { animation-play-state: paused; }
/* Top-of-page variant: sits above the sticky header */
.bc-ticker-wrap--top { border-top: none; }
@media (prefers-reduced-motion: reduce) {
	.bc-ticker__track { animation: none; }
}
@keyframes bc-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.bc-ticker__item {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 0 22px;
	font-size: 13px; font-weight: 600; color: var(--text);
	border-right: 1px solid var(--line);
}
.bc-ticker__sep {
	color: var(--dim); font-size: 11px; padding: 0 4px;
}
.bc-ticker__route { color: var(--text); letter-spacing: .2px; }
.bc-ticker__route span { color: var(--muted); font-weight: 400; }
.bc-ticker__saving {
	font-family: var(--mono); font-size: 12px; font-weight: 700;
	padding: 2px 8px; border-radius: 20px; flex-shrink: 0;
}
.bc-ticker__saving--low  { color: var(--amber); background: var(--amber-soft); border: 1px solid rgba(255,179,0,.25); }
.bc-ticker__saving--high { color: #4ade80; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); }

/* Animated amber orb */
.bc-hero__orb {
	position: absolute; z-index: 0; pointer-events: none;
	width: 600px; height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,179,0,.08) 0%, rgba(255,179,0,.03) 40%, transparent 70%);
	top: -200px; left: -150px;
	animation: bc-orb-drift 12s ease-in-out infinite alternate;
}
@keyframes bc-orb-drift {
	0%   { transform: translate(0, 0) scale(1); }
	33%  { transform: translate(60px, 30px) scale(1.05); }
	66%  { transform: translate(20px, 60px) scale(.97); }
	100% { transform: translate(80px, 20px) scale(1.08); }
}

/* Logo road sweep removed */
.bc-hero::after { content: none; }

/* Enhanced stats */
.bc-hero__stat .n {
	font-family: var(--mono); font-size: 32px; font-weight: 700;
	color: var(--amber); line-height: 1;
}
.bc-hero__stat .l { font-size: 12px; color: var(--muted); letter-spacing: .5px; margin-top: 4px; }

/* Trust strip */
.bc-hero__trust {
	display: flex; flex-wrap: wrap; gap: 18px;
	margin: 20px 0 8px;
}
.bc-trust__item {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; color: var(--muted); font-weight: 500;
}
.bc-trust__icon { color: var(--amber); font-size: 12px; }

/* Form card glow */
.bc-hero__form .bcni,
.bc-hero__form > * {
	box-shadow: 0 0 0 1px rgba(255,179,0,.15), 0 20px 60px rgba(0,0,0,.4), 0 0 80px rgba(255,179,0,.06) !important;
	border-radius: var(--radius) !important;
}

/* Hero with the embedded quote form */
.bc-hero__grid--form { grid-template-columns: 1fr 1.05fr; align-items: start; }
.bc-hero__copy { padding-top: 4px; }
.bc-hero__track {
	margin-top: 26px; font-size: 15px;
	display: inline-flex; align-items: center; gap: 10px;
	background: rgba(255,179,0,.07);
	border: 1px solid rgba(255,179,0,.18);
	border-radius: 8px;
	padding: 10px 16px;
	color: rgba(255,255,255,.75);
	letter-spacing: .1px;
}
.bc-hero__track a {
	font-weight: 800; color: var(--amber);
	font-size: 15px; letter-spacing: .2px;
	text-decoration: none;
	border-bottom: 2px solid rgba(255,179,0,.45);
	padding-bottom: 1px;
	transition: color .15s, border-color .15s, text-shadow .15s;
	white-space: nowrap;
}
.bc-hero__track a:hover {
	color: var(--amber-2);
	border-color: var(--amber-2);
	text-shadow: 0 0 10px rgba(255,179,0,.45);
}
.bc-hero__form { width: 100%; }
.bc-hero__form .bcni { max-width: 100%; margin: 0; }
.bc-formfallback { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.bc-formfallback h2 { color: #fff; text-transform: uppercase; font-size: 24px; }
.bc-formfallback p { color: var(--muted); }


/* ============================================================
   Section scaffolding
   ============================================================ */
.bc-section { padding: 76px 0; border-top: 1px solid var(--line); }
.bc-section--alt { background: var(--ink-2); }
.bc-section__head { max-width: 620px; margin-bottom: 44px; }
.bc-section__head h2 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; color: #fff; margin-top: 12px; }
.bc-section__head p { color: var(--muted); font-size: 18px; }

/* Steps */
.bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bc-step { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.bc-section--alt .bc-step { background: var(--ink); }
.bc-step__num { font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--amber); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; margin-bottom: 16px; }
.bc-step h3 { font-size: 20px; color: #fff; text-transform: uppercase; }
.bc-step p { color: var(--muted); margin: 0; font-size: 15px; }

/* Feature grid */
.bc-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bc-feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--ink-2); }
.bc-section--alt .bc-feature { background: var(--ink); }
.bc-feature__icon { color: var(--amber); font-size: 22px; margin-bottom: 12px; }
.bc-feature h3 { font-size: 16px; color: #fff; text-transform: uppercase; letter-spacing: .3px; }
.bc-feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Use cases strip */
.bc-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-tag { font-family: var(--mono); font-size: 13px; letter-spacing: .5px; color: var(--text); border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; }
.bc-tag span { color: var(--amber); }

/* CTA band */
.bc-cta {
	background: linear-gradient(120deg, var(--amber), var(--amber-2));
	color: var(--ink); border-radius: 22px; padding: 52px 44px;
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.bc-cta h2 { color: var(--ink); font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; margin: 0; }
.bc-cta p { color: rgba(12,14,18,.75); margin: 8px 0 0; font-weight: 600; }
.bc-cta .bc-btn { background: var(--ink); color: var(--amber); }
.bc-cta .bc-btn:hover { background: #000; color: var(--amber-2); }

/* ============================================================
   Generic page / post content
   ============================================================ */
.bc-page { padding: 56px 0 80px; }
.bc-page__header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 34px; }
.bc-page__header h1 { font-size: clamp(30px, 4.4vw, 52px); text-transform: uppercase; color: #fff; }
.bc-content { max-width: 760px; }
.bc-content h2, .bc-content h3 { color: #fff; margin-top: 1.6em; }
.bc-content a { text-decoration: underline; }
.bc-content ul, .bc-content ol { padding-left: 1.3em; }
.bc-content blockquote { border-left: 3px solid var(--amber); margin: 1.4em 0; padding: 4px 0 4px 20px; color: var(--muted); }
.bc-content img { border-radius: 12px; }
.bc-content code { font-family: var(--mono); background: var(--ink-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }

/* When the BusCompare plugin shortcodes render inside a page, give them room */
.bc-page .bcni { margin: 8px auto; }

/* Centred form wrapper for shortcode pages */
.bc-form-wrap { max-width: 780px; margin: 0 auto; }
.bc-page--form .bc-page__header { text-align: center; border-bottom: none; padding-bottom: 0; margin-bottom: 8px; }

/* Quote page: SEO copy sits in a wider, readable section below the form */
.bc-content--wide { max-width: 920px; margin-left: auto; margin-right: auto; }
.bc-quote-info { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.bc-quote-intro { margin-bottom: 36px; }

/* Force plugin child elements to fill the wrapper cleanly */
.bc-form-wrap > *,
.bc-form-wrap .bcni,
.bc-form-wrap .bcni > * { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }

/* Wide portal wrapper — "Track my quote" / customer area / operator portal.
   Full homepage container width and centred; the plugin's panel
   (.bcni-opgate / .bcni-portal) sets its own max-width and centres
   itself within this, so it sits in the middle of the page. */
.bc-portal-wrap { width: 100%; margin: 0 auto; }
/* Portal pages — suppress the redundant page-title h1 (the panel has its own
   heading) and remove the top gap it leaves behind */
.bc-page--portal .bc-page__header { display: none; }
.bc-page--portal { padding-top: 28px; }
/* Let the bcni-opgate panel fill the full theme container width */
.bc-portal-wrap .bcni.bcni-opgate { max-width: 100%; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #06070a; border-top: 1px solid var(--line); padding: 60px 0 30px !important; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 45px !important; padding-bottom: 36px; border-bottom: 1px solid var(--line); align-items: flex-start !important; }
.site-footer h4 { font-family: var(--mono); font-size: 18px !important; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 0 0 15px !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 15px !important; }
.site-footer a { color: var(--text); font-size: 15px !important; }
.site-footer span { font-size: 15px !important; }
.site-footer a:hover { color: var(--amber); }
.site-footer__brand { max-width: 430px; }
.site-footer__brand .site-brand {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	font-size: 36px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	margin-bottom: 14px;
}
.site-footer__brand .site-brand__mark { font-size: 48px !important; font-weight: 900 !important; color: #ffb300 !important; }
.site-footer__brand .site-brand__name { font-size: 34px !important; font-weight: 900 !important; }
.site-footer__brand p { color: var(--muted); font-size: 16px !important; max-width: 430px !important; line-height: 1.6 !important; margin-top: 12px; }
.site-footer .footer-logo-link { display: block; margin-bottom: 20px; }
.site-footer .footer-custom-logo { max-width: 330px !important; width: 100% !important; height: auto !important; display: block; margin-bottom: 22px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: var(--dim); font-size: 13px; }
.site-footer__bottom a { color: var(--dim); }

/* ============================================================
   Breadcrumb
   ============================================================ */
.bc-breadcrumb { padding: 20px 0 0; }
.bc-breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bc-breadcrumb li { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: .3px; }
.bc-breadcrumb a { color: var(--muted); }
.bc-breadcrumb a:hover { color: var(--amber); }
.bc-breadcrumb__sep { color: var(--dim); }

/* ============================================================
   Archive — card grid
   ============================================================ */
.bc-archive { padding: 0 0 80px; }
.bc-archive__header { padding: 36px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.bc-archive__header h1 { font-size: clamp(30px, 4.4vw, 52px); text-transform: uppercase; color: #fff; margin: 12px 0 10px; }
.bc-archive__desc { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }
.bc-archive__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.bc-archive__count { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .5px; }
.bc-archive__empty { padding: 60px 0; }

.bc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Featured (first) guide — large horizontal card spanning the full grid */
.bc-card--featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.bc-card--featured .bc-card__thumb { aspect-ratio: auto; width: 46%; min-height: 340px; flex-shrink: 0; }
.bc-card--featured .bc-card__thumb img { height: 100%; }
.bc-card--featured .bc-card__body { padding: 40px 44px; justify-content: center; }
.bc-card--featured .bc-card__title { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 14px; }
.bc-card--featured .bc-card__excerpt { font-size: 16px; max-width: 62ch; margin-bottom: 22px; }

.bc-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s, transform .18s; }
.bc-card:hover { border-color: var(--amber); transform: translateY(-3px); }

.bc-card__thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.bc-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bc-card:hover .bc-card__thumb img { transform: scale(1.04); }

.bc-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.bc-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bc-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 3px 9px; border-radius: 5px; font-weight: 600; }
.bc-card__cat:hover { background: var(--amber-2); color: var(--ink); }
.bc-card__time { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-left: auto; }

.bc-card__title { font-size: 18px; color: #fff; text-transform: uppercase; line-height: 1.15; margin: 0 0 10px; }
.bc-card__title a { color: #fff; }
.bc-card__title a:hover { color: var(--amber); }

.bc-card__excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; margin: 0 0 18px; }

.bc-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-2); margin-top: auto; }
.bc-card__date { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.bc-card__read { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--amber); letter-spacing: .3px; }
.bc-card__read:hover { color: var(--amber-2); }

/* Pagination */
.bc-pagination { margin-top: 52px; }
.bc-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.bc-pagination .page-numbers li a,
.bc-pagination .page-numbers li span { font-family: var(--mono); font-size: 14px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); color: var(--text); display: block; transition: border-color .15s, color .15s; }
.bc-pagination .page-numbers li a:hover { border-color: var(--amber); color: var(--amber); }
.bc-pagination .page-numbers li .current { background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 700; }

/* ============================================================
   Single post
   ============================================================ */
.bc-single__header { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; }
.bc-single__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bc-single__header h1 { font-size: clamp(28px, 4.4vw, 52px); text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.bc-single__byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); font-family: var(--mono); }
.bc-single__byline strong { color: var(--text); }

.bc-single__body { display: grid; grid-template-columns: 1fr; max-width: 760px; }
.bc-single__hero-img { margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; }
.bc-single__img { width: 100%; height: auto; display: block; }
.bc-single__content { margin-bottom: 40px; }
.bc-single__content h2 { font-size: clamp(20px, 2.8vw, 30px); }
.bc-single__content h3 { font-size: clamp(17px, 2vw, 22px); }
.bc-single__content p { font-size: 17px; line-height: 1.75; color: var(--text); }
.bc-single__content ul li,
.bc-single__content ol li { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 6px; }

/* In-article CTA */
.bc-inline-cta { background: var(--amber-soft); border: 1px solid var(--amber); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 40px; }
.bc-inline-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bc-inline-cta strong { color: #fff; font-size: 17px; display: block; margin-bottom: 4px; }
.bc-inline-cta p { color: var(--muted); font-size: 14px; margin: 0; }

/* Post nav */
.bc-single__nav { display: flex; justify-content: space-between; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; }
.bc-single__nav a { color: var(--muted); font-weight: 600; }
.bc-single__nav a:hover { color: var(--amber); }
.bc-single__nav-next { text-align: right; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
	.bc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.bc-steps { grid-template-columns: 1fr; }
	.bc-features { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.bc-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.bc-nav { position: fixed; inset: 72px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 10px 0; transform: translateY(-130%); transition: transform .25s ease; }
	.bc-nav.is-open { transform: translateY(0); }
	.bc-nav ul { flex-direction: column; gap: 0; }
	.bc-nav li { padding: 0 24px; }
	.bc-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
	.bc-nav .bc-btn { margin: 12px 24px; justify-content: center; }
	.bc-nav-toggle { display: block; }
	.bc-features { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.bc-cta { padding: 36px 26px; }
	.bc-cards { grid-template-columns: 1fr; }
	.bc-card--featured { flex-direction: column; }
	.bc-card--featured .bc-card__thumb { width: 100%; min-height: 0; aspect-ratio: 16/9; }
	.bc-card--featured .bc-card__body { padding: 22px 22px 20px; }
	.bc-inline-cta__inner { flex-direction: column; align-items: flex-start; }
	.bc-single__nav { flex-direction: column; }
	.bc-single__nav-next { text-align: left; }
	/* Shrink header logo on mobile */
	.bc-header-logo { width: 140px; }
	/* Shrink footer logo on mobile */
	.bc-footer-logo { width: 220px; margin-left: 0; }
	/* Ticker mobile — hide label, tighter items */
	.bc-ticker-wrap { height: 38px; }
	.bc-ticker__label { display: none; }
	.bc-ticker__item { padding: 0 14px; font-size: 12px; gap: 6px; }
	.bc-ticker__saving { font-size: 11px; padding: 2px 6px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bc-dot { animation: none; }
	.bc-flap.is-flipping { animation: none; }
}
