/**
 * BrokerBoost Flagship.
 *
 * Colours come from Broker Settings via custom properties set in functions.php;
 * nothing here hardcodes a brand colour. Fonts fall back to the system stack so
 * a site loads with no webfont request until one is deliberately chosen.
 */

:root {
	--bbt-font-head: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bbt-font-body: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--bbt-ink: #1c1c1c;
	--bbt-muted: #6b7280;
	--bbt-surface: #fff;
	--bbt-border: #e5e7eb;
	--bbt-sand: #f6f4f1;

	--bbt-gut: max(18px, 4vw);
	--bbt-max: 1400px;
	--bbt-read: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--bbt-font-body);
	color: var(--bbt-ink);
	background: var(--bbt-surface);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--bbt-font-head); line-height: 1.1; margin: 0 0 .5em; }

a { color: var(--bbt-primary); }

.bbt-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: var(--bbt-primary);
	color: var(--bbt-primary-fg);
}

.bbt-skip:focus { left: 0; }

/* ---------------------------------------------------------------- shell */

.bbt-main { display: block; }

.bbt-band__in,
.bbt-about__in,
.bbt-cta__in,
.bbt-foot__in,
.bbt-foot__legal-in,
.bbt-head__in {
	max-width: var(--bbt-max);
	margin: 0 auto;
	padding-inline: var(--bbt-gut);
}

/* --------------------------------------------------------------- header */

.bbt-head {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--bbt-primary);
	color: var(--bbt-primary-fg);
}

.bbt-head__in { display: flex; align-items: center; gap: 24px; min-height: 82px; }

.bbt-head__logo { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.bbt-head__logo img { max-height: 52px; width: auto; }

.bbt-head__nav { margin-left: auto; }

.bbt-menu {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 34px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbt-menu a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.02rem;
	white-space: nowrap;
}

.bbt-menu a:hover { opacity: .78; }

.bbt-head__end { display: flex; align-items: center; gap: 14px; }

.bbt-head__burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	background: none;
	border: 1px solid currentColor;
	border-radius: 4px;
	color: inherit;
	cursor: pointer;
}

.bbt-head__burger span,
.bbt-head__burger span::before,
.bbt-head__burger span::after {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
	position: relative;
}

.bbt-head__burger span::before { content: ""; position: absolute; top: -6px; }
.bbt-head__burger span::after  { content: ""; position: absolute; top: 6px; }

@media (max-width: 960px) {
	.bbt-head__burger { display: block; }
	.bbt-head__nav {
		position: absolute;
		inset: 82px 0 auto;
		background: var(--bbt-primary);
		padding: 12px var(--bbt-gut) 24px;
		display: none;
	}
	.bbt-head[data-open] .bbt-head__nav { display: block; }
	.bbt-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
	.bbt-menu a { display: block; padding: 12px 0; }
}

/* ----------------------------------------------------------------- hero

   Geometry taken from the live page's own settings, not estimated:
   82vh tall, content bottom-aligned 126px clear, a #ffffff wash at 14%, and a
   574px search bar. Each is a custom property set inline by the template so a
   site can change one without a stylesheet edit. */

.bbt-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--hero-h, 82vh);
	overflow: hidden;
}

.bbt-hero--plain { background: var(--bbt-primary); color: var(--bbt-primary-fg); }

.bbt-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The y-offset reframes the photograph inside the crop — it is how the
	   original keeps the horizon where it wants it rather than dead centre. */
	object-position: center calc(50% + var(--hero-y, -66px));
}

/* A wash, not a scrim. The original lifts the search bar off a busy photograph
   with 14% white; darkening it instead would change the whole mood of the
   image, which is the opposite of what this is for. */
.bbt-hero__tint {
	position: absolute;
	inset: 0;
	background: var(--hero-tint, #fff);
	opacity: var(--hero-tint-o, .14);
}

.bbt-hero__in {
	position: relative;
	width: 100%;
	max-width: var(--bbt-max);
	margin: 0 auto;
	padding: 0 var(--bbt-gut) var(--hero-gap, 126px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.bbt-hero__search { width: 100%; max-width: var(--hero-w, 574px); }

/* Copy is optional — the reference hero has none. When a site does add a
   headline it sits above the search bar and takes the light treatment, because
   the wash keeps the photograph bright underneath it. */
.bbt-hero__copy { margin-bottom: 26px; color: #fff; text-shadow: 0 1px 24px rgb(0 0 0 / 38%); }

.bbt-hero__eyebrow {
	margin: 0 0 12px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bbt-hero__title {
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 600;
	letter-spacing: -.02em;
}

.bbt-hero__sub { margin: 0; max-width: 46ch; font-size: clamp(1rem, 1.5vw, 1.2rem); }

.bbt-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

@media (max-width: 767px) {
	/* The original centres the image on mobile rather than carrying the desktop
	   offset, which would crop the subject out on a narrow screen. */
	.bbt-hero__bg { object-position: center center; }
	.bbt-hero__in { padding-bottom: calc(var(--hero-gap, 126px) * .55); }
	.bbt-hero__search { max-width: 100%; }
}

/* --------------------------------------------------------------- buttons

   Taken from the template's compiled CSS, not invented: square corners,
   uppercase Outfit at 700, 1.6px tracking, and a heavy 3px border. The rounded
   sentence-case button I had before is a different design language entirely and
   was most of why the page read as someone else's site. */

.bbt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 34px;
	background: var(--bbt-accent);
	color: var(--bbt-accent-fg);
	border: 3px solid var(--bbt-accent);
	border-radius: 0;
	font-family: var(--bbt-font-head);
	font-size: clamp(1rem, 1.3vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 1.6px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bbt-btn:hover { background: var(--bbt-accent-hi); border-color: var(--bbt-accent-hi); }

/* On a photograph: translucent fill, grey hairline, white type. */
.bbt-btn--ghost {
	background: rgb(0 0 0 / 15%);
	color: #fff;
	border-color: #404040;
}

.bbt-btn--ghost:hover { background: rgb(255 255 255 / 18%); border-color: #fff; }

.bbt-btn--outline {
	background: transparent;
	color: var(--bbt-primary);
	border-color: var(--bbt-primary);
}

.bbt-btn--outline:hover { background: var(--bbt-primary); color: var(--bbt-primary-fg); }

.bbt-btn--light { background: #fff; color: var(--bbt-primary); border-color: #fff; }
.bbt-btn--light:hover { background: transparent; color: #fff; border-color: #fff; }

/* ---------------------------------------------------------------- bands */

/* The template pads sections as a percentage of width, not a fixed size —
   which is why it breathes differently at every viewport. */
.bbt-band { padding: 4% 0; }
.bbt-band--sand { background: var(--bbt-sand); }

.bbt-band__head { margin-bottom: 3%; padding-bottom: 3%; border-bottom: 1px solid #d7d7d7; }

.bbt-band__title {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 700;
}

.bbt-band__sub { margin: 0; color: var(--bbt-muted); font-size: 1.05rem; }

/* ---------------------------------------------------------------- pages */

.bbt-page { max-width: var(--bbt-max); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--bbt-gut) 80px; }

.bbt-page__head { margin-bottom: 30px; }

.bbt-page__title { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); }

.bbt-page__meta { margin: 8px 0 0; color: var(--bbt-muted); }

.bbt-page__hero { margin-bottom: 30px; }
.bbt-page__hero img { width: 100%; border-radius: 6px; }

.bbt-page__body { max-width: var(--bbt-read); font-size: 1.06rem; line-height: 1.75; }
.bbt-page__body h2 { margin-top: 1.6em; font-size: 1.6rem; }
.bbt-page__body img { border-radius: 6px; margin: 1.4em 0; }

.bbt-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 34px;
}

.bbt-post__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.bbt-post__title { margin: 14px 0 6px; font-size: 1.25rem; }
.bbt-post__title a { color: var(--bbt-ink); text-decoration: none; }
.bbt-post__meta { margin: 0 0 8px; color: var(--bbt-muted); font-size: .88rem; }
.bbt-post__ex { margin: 0; color: var(--bbt-muted); }

/* --------------------------------------------------------------- footer */

.bbt-foot { background: var(--bbt-primary); color: var(--bbt-primary-fg); }

.bbt-foot__in {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(28px, 5vw, 80px);
	padding-block: clamp(48px, 7vw, 78px);
}

.bbt-foot__brand { flex: 1 1 320px; }
.bbt-foot__col { flex: 0 1 210px; }

.bbt-foot__shot { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }

.bbt-foot__name { margin: 0; font-size: 1.2rem; font-weight: 700; }
.bbt-foot__firm { margin: 2px 0 12px; opacity: .8; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.bbt-foot__blurb { margin: 0; max-width: 40ch; opacity: .88; font-size: .96rem; }

.bbt-foot__h {
	margin: 0 0 14px;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .72;
}

.bbt-foot__menu { list-style: none; margin: 0; padding: 0; }
.bbt-foot__menu a,
.bbt-foot__link {
	display: block;
	padding: 5px 0;
	color: inherit;
	text-decoration: none;
	opacity: .9;
	font-size: .96rem;
}

.bbt-foot__menu a:hover,
.bbt-foot__link:hover { opacity: 1; text-decoration: underline; }

.bbt-foot__addr { margin: 12px 0 0; opacity: .82; font-size: .92rem; }
.bbt-foot__social { margin: 14px 0 0; font-size: .92rem; }
.bbt-foot__social a { color: inherit; }

.bbt-foot__legal { border-top: 1px solid rgb(255 255 255 / 16%); }

.bbt-foot__legal-in { padding-block: 24px; font-size: .8rem; opacity: .78; line-height: 1.6; }
.bbt-foot__legal-in p { margin: 0 0 6px; }
.bbt-foot__legal-in a { color: inherit; }

.bbt-foot__eho { display: flex; align-items: center; gap: 8px; }

/* The Equal Housing mark, drawn rather than shipped as an image so it cannot
   go missing on a clone. */
.bbt-eho {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	background:
		linear-gradient(currentColor, currentColor) center 82% / 100% 12% no-repeat,
		conic-gradient(from 135deg at 50% 62%, currentColor 0 90deg, transparent 90deg) center / 100% 100% no-repeat;
	opacity: .9;
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ------------------------------------------------------- billboard hero

   Values taken from Peter Iyiegbu's home page before it was retired. The type
   sizes are his, including the 105.5px name — a size nobody would arrive at
   from a scale, which is exactly why it is worth carrying over rather than
   rounding to something tidier. */

.bbt-bill {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--hero-h, 100vh);
	overflow: hidden;
	color: #fff;
	text-align: center;
}

.bbt-bill__bg { position: absolute; inset: 0; }

.bbt-bill__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.4s ease;
	/* The slow drift is the whole character of the original. It runs on the
	   image rather than the container so the overlay stays still. */
	animation: bbt-kenburns 18s ease-out infinite alternate;
}

.bbt-bill__slide.is-on { opacity: 1; }

@keyframes bbt-kenburns {
	from { transform: scale(1); }
	to   { transform: scale(1.08); }
}

.bbt-bill__tint {
	position: absolute;
	inset: 0;
	background: var(--hero-tint, #000);
	opacity: var(--hero-tint-o, .73);
}

.bbt-bill__in {
	position: relative;
	width: min(705px, calc(100% - var(--bbt-gut) * 2));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 27px;
}

.bbt-bill__name {
	margin: 0;
	font-family: var(--bbt-font-head);
	font-size: 105.5px;
	line-height: 65px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.bbt-bill__where {
	margin: 0;
	font-family: var(--bbt-font-head);
	font-size: 36.5px;
	line-height: 46px;
	font-weight: 400;
}

.bbt-bill__where b { font-weight: 600; }

.bbt-bill__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; width: 96%; }

/* A hairline ghost button on glass — the border is genuinely 0.1px in the
   original, which renders as the thinnest line the display can draw. */
.bbt-bill__btn {
	flex: 1 1 0;
	padding: 28px;
	background: rgb(134 134 134 / 26%);
	border: .1px solid #bcbcbc;
	color: #fff;
	font-family: var(--bbt-font-head);
	font-size: 24.5px;
	line-height: 15px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 0 35px 16px rgb(255 255 255 / 25%);
	transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.bbt-bill__btn:hover {
	background: rgb(255 255 255 / 37%);
	border-color: #fff;
	color: #fff;
	transform: translateY(-9px) scale(1.06);
	box-shadow: 0 0 22px 10px rgb(255 255 255 / 35%);
}

.bbt-bill__search { width: 100%; margin-top: 6px; }

@media (max-width: 1024px) {
	.bbt-bill__name  { font-size: 61px; line-height: 1.05; }
	.bbt-bill__where { font-size: 26px; line-height: 1.3; }
	.bbt-bill__btn   { font-size: 19px; padding: 26px; }
	.bbt-bill__in    { gap: 22px; }
}

@media (max-width: 767px) {
	.bbt-bill { min-height: 92vh; }
	.bbt-bill__name  { font-size: 58px; line-height: 53px; }
	.bbt-bill__where { font-size: 27px; }
	.bbt-bill__actions { flex-wrap: wrap; gap: 13px; }
	.bbt-bill__btn { flex: 1 1 100%; font-size: 21px; padding: 23px; letter-spacing: 1.4px; }
	.bbt-bill__in { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.bbt-bill__slide { animation: none; transition: none; }
	.bbt-bill__btn:hover { transform: none; }
}

/* -------------------------------------------------------------- dropdowns */

.bbt-menu__item { position: relative; }

.bbt-menu__item > button {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.bbt-menu__sub {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 950;
	min-width: 232px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--bbt-surface);
	border-radius: 10px;
	box-shadow: 0 16px 44px rgb(0 0 0 / 22%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .16s ease, visibility .16s;
}

/* A gap between the trigger and the panel would close the menu as the pointer
   crossed it; this bridges it without being visible. */
.bbt-menu__item--has::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 16px;
}

.bbt-menu__item--has:hover .bbt-menu__sub,
.bbt-menu__item--has:focus-within .bbt-menu__sub {
	opacity: 1;
	visibility: visible;
}

.bbt-menu__sub a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--bbt-ink);
	font-size: .95rem;
	font-weight: 500;
	white-space: nowrap;
}

.bbt-menu__sub a:hover { background: var(--bbt-sand); }

@media (max-width: 960px) {
	.bbt-menu__sub {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		background: transparent;
		padding: 0 0 6px 14px;
		min-width: 0;
	}
	.bbt-menu__sub a { color: inherit; padding: 8px 0; }
	.bbt-menu__sub a:hover { background: none; text-decoration: underline; }
	.bbt-menu__item--has::after { display: none; }
}

/* ----------------------------------------------------------------- stats */

.bbt-stats { padding: 4% 0; background: #fff; }
.bbt-stats__in { max-width: var(--bbt-max); margin: 0 auto; padding-inline: var(--bbt-gut); }

.bbt-stats__head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

.bbt-stats__eyebrow {
	margin: 0 0 8px;
	color: var(--bbt-accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bbt-stats__title { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }

.bbt-stats__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: clamp(24px, 4vw, 48px);
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.bbt-stats__num {
	display: block;
	font-family: var(--bbt-font-head);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1;
	color: var(--bbt-primary);
	font-variant-numeric: tabular-nums;
}

.bbt-stats__label {
	display: block;
	margin-top: 10px;
	color: var(--bbt-muted);
	font-size: .95rem;
	letter-spacing: .02em;
}

/* ------------------------------------------------------------------ meet */

.bbt-meet { padding: 4% 0; background: var(--bbt-sand); }

.bbt-meet__in {
	max-width: var(--bbt-max);
	margin: 0 auto;
	padding-inline: var(--bbt-gut);
	display: flex;
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.bbt-meet__media { flex: 0 0 38%; }

.bbt-meet__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 10px;
}

.bbt-meet__copy { flex: 1 1 auto; min-width: 0; }

.bbt-meet__eyebrow {
	margin: 0 0 6px;
	color: var(--bbt-accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bbt-meet__name { margin: 0 0 4px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }

.bbt-meet__firm {
	margin: 0 0 20px;
	color: var(--bbt-muted);
	font-size: .9rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bbt-meet__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	list-style: none;
	margin: 0 0 22px;
	padding: 20px 0;
	border-block: 1px solid #d7d7d7;
}

.bbt-meet__stats strong {
	display: block;
	font-family: var(--bbt-font-head);
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1;
	color: var(--bbt-primary);
}

.bbt-meet__stats span { color: var(--bbt-muted); font-size: .84rem; }

.bbt-meet__text { margin: 0 0 26px; max-width: var(--bbt-read); font-size: 1.05rem; line-height: 1.7; }
.bbt-meet__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
	.bbt-meet__in { flex-direction: column; align-items: stretch; }
	.bbt-meet__media img { aspect-ratio: 3 / 2; }
}

/* ---------------------------------------------------------- testimonials */

.bbt-band__head--center { text-align: center; }

.bbt-band__eyebrow {
	margin: 0 0 8px;
	color: var(--bbt-accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bbt-revs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbt-rev {
	padding: 26px;
	background: var(--bbt-surface);
	border-radius: 12px;
	box-shadow: 0 2px 14px rgb(0 0 0 / 5%);
}

.bbt-rev__stars { color: var(--bbt-accent); font-size: 1rem; letter-spacing: .12em; }

.bbt-rev__body {
	margin: 12px 0 16px;
	padding: 0;
	border: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--bbt-ink);
}

.bbt-rev__who { color: var(--bbt-muted); font-size: .88rem; font-style: normal; font-weight: 600; }

.bbt-band__more { margin: 34px 0 0; text-align: center; }

.bbt-btn--outline {
	background: transparent;
	color: var(--bbt-primary);
	border-color: var(--bbt-primary);
}

.bbt-btn--outline:hover { background: var(--bbt-primary); color: var(--bbt-primary-fg); }

/* ----------------------------------------------------------- search card

   A band 314px tall with the heading at one end and the button at the other —
   not the centred column I had. Values from post-25864.css. */

.bbt-searchcard {
	min-height: 314px;
	display: flex;
	align-items: center;
	padding: 4% 6%;
	background: var(--bbt-primary);
	color: var(--bbt-primary-fg);
}

.bbt-searchcard__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: 100%;
	max-width: var(--bbt-max);
	margin: 0 auto;
	padding: 0;
}

.bbt-searchcard__title {
	margin: 0;
	max-width: 20ch;
	font-size: clamp(1.9rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: 1.05;
}

@media (max-width: 767px) {
	.bbt-searchcard { min-height: 0; padding: 10% 6%; }
	.bbt-searchcard__in { justify-content: center; text-align: center; }
}

/* ------------------------------------------------------------- resources */

.bbt-res { padding: 4% 0; }
.bbt-res__in { max-width: var(--bbt-max); margin: 0 auto; padding-inline: var(--bbt-gut); }

.bbt-res__head { text-align: center; margin-bottom: clamp(30px, 4vw, 48px); }
.bbt-res__title { margin: 0 0 10px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }
.bbt-res__sub { margin: 0 auto; max-width: 52ch; color: var(--bbt-muted); font-size: 1.05rem; }

.bbt-res__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.bbt-res__card {
	display: block;
	padding: 34px;
	background: var(--bbt-sand);
	border-radius: 12px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.bbt-res__card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(0 0 0 / 10%); }

.bbt-res__card-title {
	display: block;
	font-family: var(--bbt-font-head);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--bbt-ink);
}

.bbt-res__card-text { display: block; margin-top: 6px; color: var(--bbt-muted); font-size: 1rem; }
.bbt-res__card-go { display: block; margin-top: 18px; color: var(--bbt-accent); font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) { .bbt-res__card:hover { transform: none; } }
