/* ==========================================================================
   TopBuyer — design system
   Luxury / modern / real-estate. Navy + gold on light backgrounds.
   ========================================================================== */

:root {
	--tb-navy: #0a2540;
	--tb-navy-700: #123356;
	--tb-navy-900: #061a30;
	--tb-gold: #c9a227;
	--tb-gold-soft: #e7c75a;
	--tb-ink: #1c2733;
	--tb-muted: #5b6b7b;
	--tb-line: #e6eaef;
	--tb-bg: #f6f8fb;
	--tb-white: #ffffff;
	--tb-radius: 16px;
	--tb-radius-sm: 10px;
	--tb-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
	--tb-shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);
	--tb-maxw: 1180px;
	--tb-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--tb-display: 'Plus Jakarta Sans', var(--tb-sans);
}

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

html { scroll-behavior: smooth; }

/* Full-width safeguard — overrides any inherited "boxed"/constrained layout
   so the site always spans the viewport, with width controlled by .tb-container. */
html, body { width: 100%; max-width: 100%; margin: 0; padding: 0; }

body {
	font-family: var(--tb-sans);
	color: var(--tb-ink);
	background: var(--tb-bg);
	line-height: 1.6;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

#tb-main { width: 100%; max-width: 100%; }
.tb-header, .tb-hero, .tb-section, .tb-footer { width: 100%; }

h1, h2, h3, h4 {
	font-family: var(--tb-display);
	color: var(--tb-navy);
	line-height: 1.2;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}

a { color: var(--tb-navy); text-decoration: none; }
a:hover { color: var(--tb-gold); }

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

.tb-container { max-width: var(--tb-maxw); margin: 0 auto; padding: 0 20px; }

.tb-section { padding: 72px 0; }
.tb-section--tight { padding: 48px 0; }

.tb-eyebrow {
	font-family: var(--tb-display);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: 12px;
	font-weight: 700;
	color: var(--tb-gold);
	margin-bottom: 10px;
}

.tb-section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.tb-section__head h2 { font-size: clamp(22px, 3vw, 30px); }
.tb-section__head p { color: var(--tb-muted); font-size: 15px; }

/* ----- Buttons ----- */
.tb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--tb-display);
	font-weight: 600;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	background: var(--tb-navy);
	color: #fff;
}
.tb-btn svg { width: 16px; height: 16px; flex: none; }
.tb-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--tb-shadow); }
.tb-btn--gold { background: linear-gradient(135deg, var(--tb-gold), var(--tb-gold-soft)); color: var(--tb-navy-900); }
.tb-btn--gold:hover { color: var(--tb-navy-900); }
.tb-btn--ghost { background: transparent; border-color: var(--tb-line); color: var(--tb-navy); }
.tb-btn--ghost:hover { background: #fff; }
.tb-btn--whatsapp { background: #25d366; }
.tb-btn--block { width: 100%; }
.tb-btn--sm { padding: 9px 16px; font-size: 14px; }

/* ----- Header ----- */
.tb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--tb-line);
}
.tb-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.tb-logo { font-family: var(--tb-display); font-weight: 800; font-size: 22px; color: var(--tb-navy); }
.tb-logo span { color: var(--tb-gold); }
.tb-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.tb-nav a { font-weight: 500; font-size: 15px; color: var(--tb-ink); }
.tb-nav a:hover { color: var(--tb-gold); }
.tb-header__cta { display: flex; align-items: center; gap: 14px; }
.tb-burger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--tb-navy); }

/* ----- Hero ----- */
.tb-hero {
	background: radial-gradient(120% 120% at 80% -10%, var(--tb-navy-700) 0%, var(--tb-navy) 45%, var(--tb-navy-900) 100%);
	color: #fff;
	padding: 96px 0 110px;
	position: relative;
	overflow: hidden;
}
.tb-hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -40% auto;
	width: 460px; height: 460px;
	background: radial-gradient(circle, rgba(201,162,39,.28), transparent 70%);
	filter: blur(10px);
}
.tb-hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 56px); max-width: 760px; }
.tb-hero p { color: #c9d4e2; font-size: 19px; max-width: 600px; margin: 0 auto 0; }
.tb-hero__inner { text-align: center; position: relative; z-index: 2; }
.tb-hero p { margin-left: auto; margin-right: auto; }

/* Hero search */
.tb-search {
	margin: 36px auto 0;
	max-width: 880px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: var(--tb-radius);
	padding: 14px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr auto;
	gap: 10px;
	backdrop-filter: blur(10px);
}
.tb-search input, .tb-search select {
	width: 100%;
	border: 0;
	border-radius: var(--tb-radius-sm);
	padding: 14px 14px;
	font-size: 15px;
	font-family: var(--tb-sans);
	background: #fff;
	color: var(--tb-ink);
}
.tb-hero__stats { display: flex; gap: 36px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.tb-hero__stat b { font-family: var(--tb-display); font-size: 28px; color: var(--tb-gold-soft); display: block; }
.tb-hero__stat span { color: #aebccd; font-size: 14px; }

/* ----- Cards / grid ----- */
.tb-grid { display: grid; gap: 24px; }
.tb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tb-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tb-grid--2 { grid-template-columns: repeat(2, 1fr); }

.tb-card {
	background: var(--tb-white);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	box-shadow: var(--tb-shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.tb-card:hover { transform: translateY(-4px); box-shadow: var(--tb-shadow-lg); }
.tb-card--premium { border-color: var(--tb-gold); box-shadow: 0 16px 40px rgba(201,162,39,.22); }

.tb-agent__media { position: relative; aspect-ratio: 1/1; background: #eef1f5; }
.tb-agent__media img { width: 100%; height: 100%; object-fit: cover; }
.tb-badge {
	position: absolute; top: 12px; left: 12px;
	background: linear-gradient(135deg, var(--tb-gold), var(--tb-gold-soft));
	color: var(--tb-navy-900);
	font-family: var(--tb-display); font-weight: 700; font-size: 12px;
	padding: 5px 12px; border-radius: 999px;
}
.tb-agent__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tb-agent__name { font-size: 19px; margin: 0; }
.tb-agent__agency { color: var(--tb-muted); font-size: 14px; }
.tb-agent__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tb-chip {
	background: #eef2f7; color: var(--tb-navy-700);
	font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.tb-stars { color: var(--tb-gold); letter-spacing: 1px; }
.tb-agent__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.tb-agent__actions .tb-btn { flex: 1; }

/* ----- Suburb / city tiles ----- */
.tb-tile {
	position: relative; border-radius: var(--tb-radius); overflow: hidden;
	min-height: 170px; display: flex; align-items: flex-end;
	background: linear-gradient(180deg, rgba(10,37,64,.15), rgba(10,37,64,.78));
	color: #fff; padding: 18px; box-shadow: var(--tb-shadow);
	transition: transform .2s ease;
}
.tb-tile:hover { transform: translateY(-3px); }
.tb-tile h3 { color: #fff; margin: 0; font-size: 19px; }
.tb-tile span { color: #d8e0ea; font-size: 13px; }

/* ----- Suburb report stats ----- */
.tb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tb-stat {
	background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm);
	padding: 18px; text-align: center;
}
.tb-stat b { display: block; font-family: var(--tb-display); font-size: 24px; color: var(--tb-navy); }
.tb-stat span { font-size: 13px; color: var(--tb-muted); }

/* ----- Glass CTA banner ----- */
.tb-cta {
	background: radial-gradient(120% 140% at 10% 0%, var(--tb-navy-700), var(--tb-navy-900));
	color: #fff; border-radius: 24px; padding: 56px; text-align: center;
	position: relative; overflow: hidden;
}
.tb-cta h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); }
.tb-cta p { color: #c9d4e2; max-width: 520px; margin: 0 auto 24px; }

/* ----- FAQ ----- */
.tb-faq { max-width: 800px; margin: 0 auto; }
.tb-faq details {
	background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm);
	padding: 18px 22px; margin-bottom: 12px;
}
.tb-faq summary { font-family: var(--tb-display); font-weight: 600; cursor: pointer; color: var(--tb-navy); list-style: none; }
.tb-faq summary::-webkit-details-marker { display: none; }
.tb-faq details[open] summary { color: var(--tb-gold); }

/* ----- Single agent profile ----- */
.tb-profile { display: grid; grid-template-columns: 1.6fr .9fr; gap: 32px; align-items: start; }
.tb-profile__hero {
	background: var(--tb-navy); color: #fff; border-radius: var(--tb-radius);
	padding: 32px; display: flex; gap: 24px; align-items: center; box-shadow: var(--tb-shadow);
}
.tb-profile__hero img { width: 128px; height: 128px; border-radius: 18px; object-fit: cover; border: 3px solid rgba(255,255,255,.2); }
.tb-profile__hero h1 { color: #fff; margin: 0 0 6px; }
.tb-profile__panel { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 24px; box-shadow: var(--tb-shadow); }
.tb-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

/* ----- Forms ----- */
.tb-form { display: grid; gap: 12px; }
.tb-form input, .tb-form textarea, .tb-form select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius-sm); font-family: var(--tb-sans); font-size: 15px; background: #fff;
}
.tb-form input:focus, .tb-form textarea:focus { outline: 2px solid var(--tb-gold-soft); border-color: var(--tb-gold); }
.tb-hp { position: absolute; left: -9999px; }
.tb-form__msg { font-size: 14px; padding: 10px 12px; border-radius: 8px; display: none; }
.tb-form__msg.is-ok { display: block; background: #e7f7ec; color: #1a7f43; }
.tb-form__msg.is-err { display: block; background: #fdeaea; color: #b3261e; }

/* ----- Footer ----- */
.tb-footer { background: var(--tb-navy-900); color: #c2cdd9; padding: 64px 0 28px; margin-top: 64px; }
.tb-footer a { color: #c2cdd9; }
.tb-footer a:hover { color: var(--tb-gold-soft); }
.tb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.tb-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.tb-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tb-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ----- Homepage: how it works ----- */
.tb-step {
	background: var(--tb-bg); border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius); padding: 28px 24px; text-align: center;
}
.tb-step__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px;
	background: linear-gradient(135deg, var(--tb-gold), var(--tb-gold-soft));
	color: var(--tb-navy-900); font-family: var(--tb-display); font-weight: 800; font-size: 20px;
}
.tb-step h3 { font-size: 19px; }

/* ----- Homepage: definitional + benefits ----- */
.tb-prose h2 { font-size: clamp(24px, 3.4vw, 32px); }
.tb-prose p { color: var(--tb-ink); margin: 0 0 1em; font-size: 16.5px; }
.tb-benefits {
	background: var(--tb-navy); color: #fff; border-radius: var(--tb-radius);
	padding: 32px; box-shadow: var(--tb-shadow);
}
.tb-benefits h3 { color: #fff; margin-top: 0; }
.tb-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tb-checklist li { position: relative; padding-left: 30px; color: #d8e0ea; }
.tb-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	color: var(--tb-navy-900); background: var(--tb-gold-soft);
	width: 20px; height: 20px; border-radius: 50%; font-size: 13px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}

/* ----- Homepage: state links ----- */
.tb-statelinks {
	margin-top: 28px; text-align: center; font-size: 14px; color: var(--tb-muted);
	display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center;
}
.tb-statelinks span { font-weight: 600; color: var(--tb-navy); }
.tb-statelinks a { font-weight: 500; }

/* ----- Homepage: feature grid ----- */
.tb-feature {
	background: var(--tb-bg); border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius); padding: 26px 24px;
}
.tb-feature h3 { font-size: 18px; margin: 0 0 8px; }
.tb-feature p { color: var(--tb-muted); margin: 0; font-size: 15px; }

/* ----- Single agent profile ----- */
.tb-aprofile__hero {
	background: radial-gradient(120% 130% at 85% -20%, var(--tb-navy-700), var(--tb-navy) 55%, var(--tb-navy-900));
	color: #fff; padding: 40px 0 60px;
}
.tb-aprofile__heroinner { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.tb-aprofile__photo { flex: none; }
.tb-aprofile__photo img {
	width: 130px; height: 130px; border-radius: 14px;
	object-fit: contain; background: #fff; padding: 4px;
	border: 0; box-shadow: var(--tb-shadow-lg);
}
.tb-aprofile__meta { flex: 1; min-width: 260px; }
.tb-aprofile__meta h1 { color: #fff; margin: 0 0 4px; font-size: clamp(20px, 2.2vw, 26px); }
.tb-profile__panel h2 { font-size: 18px; }
.tb-profile__panel h3 { font-size: 15px; }
.tb-aprofile__actions .tb-btn { padding: 9px 16px; font-size: 13.5px; }
.tb-fact b { font-size: 22px; }
.tb-aprofile__agency { margin: 0 0 10px; }
.tb-aprofile__agency a, .tb-aprofile__agency { color: var(--tb-gold-soft); }
.tb-aprofile__sub { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c9d4e2; font-size: 15px; align-items: center; }
.tb-aprofile__sub .tb-stars { color: var(--tb-gold-soft); }
.tb-aprofile__address { color: #aebccd; font-size: 14px; margin: 8px 0 0; }
.tb-aprofile__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tb-btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.tb-btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }

.tb-facts {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
	background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius);
	box-shadow: var(--tb-shadow); padding: 20px;
}
.tb-fact { text-align: center; }
.tb-fact b { display: block; font-family: var(--tb-display); font-size: 26px; color: var(--tb-navy); }
.tb-fact span { font-size: 13px; color: var(--tb-muted); }

.tb-aprofile__body { display: grid; gap: 20px; }

.tb-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tb-svc { background: var(--tb-bg); border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); padding: 18px; }
.tb-svc h3 { font-size: 16px; margin: 0 0 6px; }
.tb-svc p { margin: 0; color: var(--tb-muted); font-size: 14px; }

.tb-deflist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.tb-deflist li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; border-bottom: 1px solid var(--tb-line); padding-bottom: 10px; }
.tb-deflist li:last-child { border-bottom: 0; padding-bottom: 0; }
.tb-deflist span { color: var(--tb-muted); flex: none; }
.tb-deflist strong { text-align: right; }

@media (max-width: 680px) {
	.tb-facts { grid-template-columns: repeat(2, 1fr); }
	.tb-svc-grid { grid-template-columns: 1fr; }
	.tb-aprofile__photo img { width: 110px; height: 110px; }
}

/* ----- Social icons ----- */
.tb-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tb-social {
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--tb-bg); color: var(--tb-navy); border: 1px solid var(--tb-line);
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.tb-social:hover { transform: translateY(-2px); background: var(--tb-navy); color: #fff; }
.tb-social--facebook:hover { background: #1877f2; border-color: #1877f2; }
.tb-social--instagram:hover { background: #e1306c; border-color: #e1306c; }
.tb-social--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.tb-social--twitter:hover { background: #000; border-color: #000; }
.tb-social--youtube:hover { background: #ff0000; border-color: #ff0000; }
.tb-social--tiktok:hover { background: #000; border-color: #000; }
.tb-socials--light .tb-social { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.tb-socials--light .tb-social:hover { background: #fff; color: var(--tb-navy); }

/* ----- Agent dashboard ----- */
.tb-dash { max-width: 1140px; margin: 0 auto; }
.tb-dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.tb-dash__head h1 { margin: 0 0 4px; font-size: clamp(24px, 3.4vw, 32px); }
.tb-dash__head p { margin: 0; color: var(--tb-muted); }
.tb-dash__grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.tb-dash__main, .tb-dash__side { display: grid; gap: 20px; }

.tb-panel { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); padding: 22px 24px; }
.tb-panel__title { margin: 0 0 16px; font-size: 16px; }
.tb-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tb-panel__head .tb-panel__title { margin: 0; }

.tb-statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tb-stat-tile { background: var(--tb-bg); border-radius: var(--tb-radius-sm); padding: 16px 12px; text-align: center; }
.tb-stat-tile__ico { font-size: 18px; display: block; margin-bottom: 4px; }
.tb-stat-tile b { display: block; font-family: var(--tb-display); font-size: 26px; color: var(--tb-gold); }
.tb-stat-tile span { font-size: 12px; color: var(--tb-muted); }

.tb-preview { display: flex; gap: 16px; align-items: center; }
.tb-preview__img img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }

.tb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tb-tile-action {
	display: flex; gap: 14px; align-items: center; padding: 18px;
	border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm);
	background: var(--tb-bg); text-decoration: none; transition: transform .15s ease, box-shadow .2s ease;
}
.tb-tile-action:hover { transform: translateY(-2px); box-shadow: var(--tb-shadow); }
.tb-tile-action__icon {
	width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: var(--tb-gold);
	border: 1px solid var(--tb-line);
}
.tb-tile-action strong { display: block; color: var(--tb-navy); }
.tb-tile-action small { color: var(--tb-muted); }

.tb-account { display: flex; gap: 12px; align-items: center; }
.tb-account img { border-radius: 50%; }

.tb-prog__bar { height: 8px; border-radius: 99px; background: var(--tb-line); overflow: hidden; }
.tb-prog__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--tb-gold), var(--tb-gold-soft)); }
.tb-prog__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--tb-muted); margin-top: 8px; }
.tb-checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--tb-muted); }
.tb-checks li.is-done { color: var(--tb-navy); }

.tb-help { background: linear-gradient(135deg, var(--tb-navy-700), var(--tb-gold)); color: #fff; border: 0; }
.tb-help p { color: rgba(255,255,255,.9); font-size: 14px; }

.tb-premium { background: var(--tb-navy-900); color: #c2cdd9; border: 0; }
.tb-premium ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 14px; }

.tb-leads { display: grid; gap: 14px; }
.tb-lead { border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); padding: 16px; }
.tb-lead__head { display: flex; justify-content: space-between; font-size: 14px; }
.tb-lead__head span { color: var(--tb-muted); }
.tb-lead__contact { font-size: 14px; margin: 4px 0; }
.tb-lead p { margin: 8px 0 0; }

.tb-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.tb-gallery-item { display: block; }
.tb-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.tb-gallery-item span { font-size: 13px; color: var(--tb-muted); display: inline-flex; gap: 4px; margin-top: 4px; }

@media (max-width: 920px) {
	.tb-dash__grid { grid-template-columns: 1fr; }
	.tb-statgrid { grid-template-columns: repeat(2, 1fr); }
	.tb-tiles { grid-template-columns: 1fr; }
	.tb-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Long-form content ----- */
.tb-content { font-size: 15px; color: var(--tb-ink); }
.tb-content h2 { font-size: 21px; margin-top: 1.4em; }
.tb-content h3 { font-size: 18px; margin-top: 1.2em; }
.tb-content p { margin: 0 0 1.1em; }
.tb-content ul, .tb-content ol { margin: 0 0 1.1em 1.2em; }
.tb-content img { border-radius: var(--tb-radius-sm); margin: 1em 0; }
.tb-content blockquote {
	border-left: 4px solid var(--tb-gold); margin: 1.2em 0; padding: 4px 0 4px 18px;
	color: var(--tb-muted); font-style: italic;
}
.tb-content a { color: var(--tb-gold); text-decoration: underline; }

/* ----- Breadcrumbs ----- */
.tb-breadcrumb { font-size: 13px; color: var(--tb-muted); padding: 18px 0; }
.tb-breadcrumb a { color: var(--tb-muted); }
.tb-breadcrumb a:hover { color: var(--tb-gold); }

/* ----- Pagination ----- */
.tb-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.tb-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--tb-line); border-radius: 10px; background: #fff; }
.tb-pagination .current { background: var(--tb-navy); color: #fff; border-color: var(--tb-navy); }

/* ----- Responsive ----- */
@media (max-width: 980px) {
	.tb-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.tb-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.tb-profile { grid-template-columns: 1fr; }
	.tb-footer__grid { grid-template-columns: 1fr 1fr; }
	.tb-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.tb-nav { display: none; }
	.tb-nav.is-open {
		display: block; position: absolute; top: 72px; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--tb-line); padding: 16px 20px;
	}
	.tb-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 14px; }
	.tb-burger { display: block; }
	.tb-grid--4, .tb-grid--3, .tb-grid--2 { grid-template-columns: 1fr; }
	.tb-stats { grid-template-columns: repeat(2, 1fr); }
	.tb-footer__grid { grid-template-columns: 1fr; }
	.tb-search { grid-template-columns: 1fr; }
	.tb-profile__hero { flex-direction: column; text-align: center; }
	.tb-cta { padding: 36px 24px; }
}
