/* ============================================================
   Best Reviews Post Template — converted from the inline styles
   of the "Best Reviews Post Template.dc.html" design

   Colors below are scoped to .brt-page as local custom properties.
   They map directly onto the San Diego Bumper & Collision Center
   theme palette (navy / red / orange) defined in the theme's
   style.css :root block, with hard-coded fallbacks so this file
   still works if the theme stylesheet isn't loaded for some reason.
   ============================================================ */

.brt-page {
	--brt-bg: var(--sdbc-off-white, #F5F7FA);
	--brt-bg-muted: var(--sdbc-grey-100, #EEF1F5);
	--brt-highlight: #FDF3E2;
	--brt-border: var(--sdbc-grey-300, #CFD6E0);
	--brt-border-soft: var(--sdbc-grey-300, #CFD6E0);

	--brt-dark: var(--sdbc-navy, #0B2340);        /* headings + dark panels (rank badge, CTA, verdict) */
	--brt-ink: var(--sdbc-grey-900, #1B222C);     /* body copy */
	--brt-muted-1: var(--sdbc-grey-600, #5B6675); /* lightest meta/labels */
	--brt-muted-2: var(--sdbc-grey-600, #5B6675); /* medium body-adjacent muted text */
	--brt-muted-3: var(--sdbc-grey-600, #5B6675); /* subtitle / bio text */

	--brt-accent: var(--sdbc-red, #D62828);            /* links, top-pick highlights, buttons */
	--brt-accent-dark: var(--sdbc-red-dark, #A81F1F);   /* hover state */
	--brt-gold: var(--sdbc-orange, #F4A300);            /* star rating */
	--brt-gold-soft: var(--sdbc-orange, #F4A300);       /* verdict kicker on dark bg */
	--brt-stars-off: var(--sdbc-grey-300, #CFD6E0);

	--brt-pros-bg: #EAF6EC;
	--brt-pros-border: #CFE9D4;
	--brt-pros-text: #1A7431;
	--brt-cons-bg: #FDEAEA;
	--brt-cons-border: #F3CACA;
	--brt-cons-text: var(--sdbc-red-dark, #A81F1F);

	--brt-on-dark-muted-1: var(--sdbc-grey-300, #CFD6E0); /* verdict body text on dark bg */
	--brt-on-dark-muted-2: var(--sdbc-grey-300, #CFD6E0); /* cta note on dark bg */

	background: var(--brt-bg);
	color: var(--brt-ink);
	font-family: var(--sdbc-font-body, 'Inter', sans-serif);
	-webkit-font-smoothing: antialiased;
	padding-bottom: 72px;
}
.brt-page a { color: var(--brt-accent); text-decoration: none; }
.brt-page a:hover { color: var(--brt-accent-dark); text-decoration: underline; }

.brt-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.brt-narrow { max-width: 760px; margin: 0 auto; }
.brt-wide { max-width: 940px; margin-left: auto; margin-right: auto; }

.brt-img-placeholder {
	background: var(--brt-bg-muted);
	border: 1px dashed var(--brt-border-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brt-muted-1);
	font-size: 13px;
}

/* ---------- Article header ---------- */
.brt-article-header { padding-top: 48px; }

.brt-breadcrumb {
	display: flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.brt-breadcrumb-sep { color: var(--brt-border-soft); }
.brt-breadcrumb-sub { color: var(--brt-muted-1); }

.brt-title {
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif);
	font-weight: 700; font-size: 48px; line-height: 1.1; letter-spacing: 0;
	margin: 18px 0 20px; text-wrap: pretty; color: var(--brt-dark);
}

.brt-subtitle {
	font-size: 19px; line-height: 1.6; color: var(--brt-muted-3); margin: 0 0 28px;
	font-family: var(--sdbc-font-body, 'Inter', sans-serif); font-style: italic;
}

.brt-byline {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 0; border-top: 1px solid var(--brt-border); border-bottom: 1px solid var(--brt-border);
}
.brt-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.brt-byline-info { display: flex; flex-direction: column; gap: 2px; }
.brt-byline-name { font-size: 14px; font-weight: 700; }
.brt-byline-meta { font-size: 13px; color: var(--brt-muted-1); }
.brt-fact-checked {
	margin-left: auto; display: flex; align-items: center; gap: 6px;
	background: var(--brt-bg-muted); border-radius: 999px; padding: 8px 14px;
	font-size: 12px; font-weight: 700; color: var(--brt-muted-3); white-space: nowrap;
}

.brt-disclosure {
	margin: 20px 0 0; padding: 14px 18px;
	background: var(--brt-bg-muted); border: 1px solid var(--brt-border); border-radius: 10px;
	font-size: 13px; line-height: 1.55; color: var(--brt-muted-2);
}
.brt-disclosure strong { color: var(--brt-dark); }

/* ---------- Hero ---------- */
.brt-hero { margin-top: 36px; }
.brt-hero-img, .brt-hero .brt-img-placeholder {
	width: 100%; height: 480px; border-radius: 16px; object-fit: cover;
}
.brt-hero-caption { font-size: 12px; color: var(--brt-muted-1); margin-top: 8px; text-align: right; }

/* ---------- Intro ---------- */
.brt-intro { padding-top: 36px; font-size: 17px; line-height: 1.75; color: var(--brt-ink); }
.brt-intro p { margin: 0 0 18px; }
.brt-intro p:last-child { margin-bottom: 0; }

/* ---------- Headings & sections ---------- */
.brt-section { margin-top: 44px; }
.brt-section-lg { margin-top: 64px; }
.brt-h2 {
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 700;
	font-size: 30px; letter-spacing: 0; margin: 0 0 20px; color: var(--brt-dark);
}
.brt-h2--sm { font-size: 26px; margin-bottom: 14px; }

/* ---------- Top picks ---------- */
.brt-picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brt-pick {
	display: flex; flex-direction: column; gap: 12px;
	background: #FFFFFF; border: 1px solid var(--brt-border); border-radius: 14px;
	padding: 18px; position: relative;
}
.brt-pick--featured { border: 2px solid var(--brt-accent); }
.brt-pick-badge {
	position: absolute; top: -12px; left: 16px;
	background: var(--brt-dark); color: #FFF;
	font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
	padding: 5px 12px; border-radius: 999px;
}
.brt-pick--featured .brt-pick-badge { background: var(--brt-accent); }
.brt-pick-img, .brt-pick .brt-img-placeholder {
	width: 100%; height: 140px; border-radius: 10px; margin-top: 8px;
	background: var(--brt-bg-muted);
}
.brt-pick-img { object-fit: contain; padding: 8px; box-sizing: border-box; }
.brt-pick-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.brt-pick-price { font-size: 13px; color: var(--brt-muted-1); margin-top: auto; }
.brt-pick-btn {
	text-align: center; background: var(--brt-dark); color: #FFF !important;
	font-weight: 700; font-size: 13px; padding: 10px 0; border-radius: 8px;
}
.brt-pick-btn--featured { background: var(--brt-accent); }
.brt-pick-btn:hover { text-decoration: none; opacity: 0.92; }

/* ---------- TOC ---------- */
.brt-toc { margin-top: 44px; background: var(--brt-bg-muted); border-radius: 14px; padding: 24px 28px; }
.brt-toc-label {
	font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
	text-transform: uppercase; color: var(--brt-muted-1); margin-bottom: 14px;
}
.brt-toc ol {
	margin: 0; padding: 0 0 0 20px;
	display: flex; flex-direction: column; gap: 9px;
	font-size: 15px; font-weight: 600; line-height: 1.4;
}

/* ---------- Comparison table ---------- */
.brt-compare { margin-top: 56px; }
.brt-table-scroll { overflow-x: auto; }
.brt-table {
	background: #FFF; border: 1px solid var(--brt-border); border-radius: 14px;
	overflow: hidden; min-width: 720px;
}
.brt-table-head, .brt-table-row {
	display: grid;
	grid-template-columns: 56px 1.6fr 1fr 0.9fr 0.7fr 130px;
	align-items: center; padding: 14px 20px;
}
.brt-table-head {
	font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
	color: var(--brt-muted-1); border-bottom: 1px solid var(--brt-border); background: var(--brt-bg-muted);
}
.brt-table-row { border-bottom: 1px solid var(--brt-border); font-size: 14px; }
.brt-table-row:last-child { border-bottom: none; }
.brt-table-row--top { background: var(--brt-highlight); }
.brt-table-rank { font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 800; font-size: 18px; color: var(--brt-muted-1); }
.brt-table-rank--top { color: var(--brt-accent); }
.brt-table-name { font-weight: 700; }
.brt-table-name a { color: var(--brt-dark); }
.brt-table-muted { color: var(--brt-muted-2); }
.brt-table-score { font-weight: 800; }
.brt-table-score--top { color: var(--brt-accent); }
.brt-ta-right { text-align: right; }
.brt-btn-solid {
	display: inline-block; background: var(--brt-accent); color: #FFF !important;
	font-weight: 700; font-size: 12px; padding: 8px 14px; border-radius: 8px; white-space: nowrap;
}
.brt-btn-outline {
	display: inline-block; background: #FFF; border: 1.5px solid var(--brt-accent); color: var(--brt-accent) !important;
	font-weight: 700; font-size: 12px; padding: 7px 14px; border-radius: 8px; white-space: nowrap;
}
.brt-btn-solid:hover, .brt-btn-outline:hover { text-decoration: none; opacity: 0.92; }
.brt-note { font-size: 12px; color: var(--brt-muted-1); margin-top: 10px; }

/* ---------- Review sections ---------- */
.brt-review { margin-top: 64px; }
.brt-review-head { display: flex; align-items: center; gap: 12px; }
.brt-review-rank {
	width: 44px; height: 44px; border-radius: 50%; background: var(--brt-dark); color: #FFF;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 800; font-size: 20px; flex: none;
}
.brt-review-rank--top { background: var(--brt-accent); }
.brt-review-badge {
	font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
	text-transform: uppercase; color: var(--brt-muted-1);
}
.brt-review-badge--top { color: var(--brt-accent); }
.brt-review-title {
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 700; font-size: 34px;
	letter-spacing: 0; margin: 14px 0 10px; color: var(--brt-dark);
}
.brt-review-rating { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.brt-stars { color: var(--brt-gold); font-size: 18px; letter-spacing: 2px; }
.brt-stars-off { color: var(--brt-stars-off); }
.brt-review-score { font-weight: 800; font-size: 15px; }
.brt-review-score span { color: var(--brt-muted-1); font-weight: 600; }
.brt-review-award { font-size: 13px; color: var(--brt-muted-1); }
.brt-review-photo, .brt-review > .brt-img-placeholder {
	width: 100%; height: 420px; border-radius: 14px;
	background: var(--brt-bg-muted);
}
.brt-review-photo { object-fit: contain; padding: 16px; box-sizing: border-box; }

.brt-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.brt-spec {
	background: var(--brt-bg-muted); border-radius: 10px; padding: 14px;
	display: flex; flex-direction: column; gap: 4px;
}
.brt-spec-label {
	font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
	text-transform: uppercase; color: var(--brt-muted-1);
}
.brt-spec-value { font-weight: 700; font-size: 14px; }

.brt-review-body { font-size: 17px; line-height: 1.75; color: var(--brt-ink); margin-top: 22px; }
.brt-review-body p { margin: 0 0 18px; }
.brt-review-body p:last-child { margin-bottom: 0; }

/* Pros / Cons */
.brt-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.brt-pros, .brt-cons { border-radius: 12px; padding: 18px 20px; }
.brt-pros { background: var(--brt-pros-bg); border: 1px solid var(--brt-pros-border); }
.brt-cons { background: var(--brt-cons-bg); border: 1px solid var(--brt-cons-border); }
.brt-proscons-label {
	font-size: 12px; font-weight: 800; letter-spacing: 1px;
	text-transform: uppercase; margin-bottom: 12px;
}
.brt-pros .brt-proscons-label { color: var(--brt-pros-text); }
.brt-cons .brt-proscons-label { color: var(--brt-cons-text); }
.brt-proscons ul {
	margin: 0; padding: 0 0 0 18px;
	display: flex; flex-direction: column; gap: 8px;
	font-size: 14px; line-height: 1.5;
}

/* Testimonials */
.brt-testimonials { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.brt-block-label {
	font-size: 12px; font-weight: 800; letter-spacing: 1px;
	text-transform: uppercase; color: var(--brt-muted-1); margin-bottom: 2px;
}
.brt-testimonial {
	background: #FFF; border: 1px solid var(--brt-border); border-radius: 12px;
	padding: 16px 20px; display: flex; flex-direction: column; gap: 8px;
}
.brt-testimonial-head { display: flex; align-items: center; gap: 10px; }
.brt-testimonial-head .brt-stars { font-size: 14px; }
.brt-testimonial-title { font-weight: 700; font-size: 13px; }
.brt-testimonial-quote { font-size: 14px; line-height: 1.6; color: var(--brt-muted-3); }
.brt-testimonial-meta { font-size: 12px; color: var(--brt-muted-1); }

/* CTA box */
.brt-cta {
	background: var(--brt-dark); border-radius: 14px; padding: 22px 24px; margin-top: 24px;
	display: flex; align-items: center; gap: 20px;
}
.brt-cta-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brt-cta-name { color: #FFF; font-weight: 700; font-size: 15px; }
.brt-cta-note { color: var(--brt-on-dark-muted-2); font-size: 13px; }
.brt-cta-action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.brt-cta-btn {
	display: inline-block; background: var(--brt-accent); color: #FFF !important;
	font-weight: 800; font-size: 15px; padding: 13px 26px; border-radius: 10px; white-space: nowrap;
}
.brt-cta-btn:hover { background: var(--brt-accent-dark); text-decoration: none; }
.brt-cta-price { color: var(--brt-muted-1); font-size: 11px; }

/* ---------- Buying guide ---------- */
.brt-guide-intro { font-size: 16px; line-height: 1.7; color: var(--brt-muted-3); margin: -12px 0 24px; }
.brt-guide-list { display: flex; flex-direction: column; gap: 20px; }
.brt-guide-item { display: flex; gap: 18px; }
.brt-guide-num {
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 800; font-size: 22px;
	color: var(--brt-accent); flex: none; width: 32px;
}
.brt-guide-item-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.brt-guide-item-text { font-size: 15px; line-height: 1.7; color: var(--brt-muted-3); }

/* ---------- Methodology ---------- */
.brt-method {
	margin-top: 56px; background: #FFFFFF; border: 1px solid var(--brt-border);
	border-radius: 16px; padding: 28px 32px;
}
.brt-method-intro { font-size: 15px; line-height: 1.7; color: var(--brt-muted-3); margin: 0 0 18px; }
.brt-weights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.brt-weight {
	background: var(--brt-bg-muted); border-radius: 10px; padding: 12px; text-align: center;
	display: flex; flex-direction: column; gap: 4px;
}
.brt-weight-percent { font-weight: 800; font-size: 18px; color: var(--brt-accent); }
.brt-weight-label { font-size: 12px; font-weight: 600; color: var(--brt-muted-2); }

/* ---------- FAQ ---------- */
.brt-section-lg#faq { margin-top: 56px; }
.brt-faq-list { display: flex; flex-direction: column; gap: 12px; }
.brt-faq { background: #FFF; border: 1px solid var(--brt-border); border-radius: 12px; padding: 18px 22px; }
.brt-faq summary { font-weight: 700; font-size: 16px; cursor: pointer; }
.brt-faq p { font-size: 15px; line-height: 1.7; color: var(--brt-muted-3); margin: 12px 0 0; }

/* ---------- Verdict ---------- */
.brt-verdict { margin-top: 56px; background: var(--brt-dark); border-radius: 18px; padding: 36px 40px; }
.brt-verdict-kicker {
	font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
	text-transform: uppercase; color: var(--brt-gold-soft); margin-bottom: 12px;
}
.brt-verdict h2 {
	font-family: var(--sdbc-font-head, 'Oswald', sans-serif); font-weight: 700; font-size: 28px;
	letter-spacing: 0; margin: 0 0 14px; color: #FFF;
}
.brt-verdict-text { font-size: 16px; line-height: 1.75; color: var(--brt-on-dark-muted-1); margin: 0 0 24px; }
.brt-verdict-text strong { color: #FFF; }

/* ---------- Author bio ---------- */
.brt-bio {
	margin-top: 48px; display: flex; gap: 20px;
	background: #FFF; border: 1px solid var(--brt-border); border-radius: 16px; padding: 26px 28px;
}
.brt-bio-photo, .brt-bio .brt-img-placeholder {
	width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none;
}
.brt-bio-content { display: flex; flex-direction: column; gap: 8px; }
.brt-bio-name { font-weight: 800; font-size: 17px; }
.brt-bio-text { font-size: 14px; line-height: 1.65; color: var(--brt-muted-3); }
.brt-bio-links { display: flex; gap: 14px; font-size: 13px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.brt-title { font-size: 38px; }
	.brt-hero-img, .brt-hero .brt-img-placeholder { height: 320px; }
	.brt-review-photo, .brt-review > .brt-img-placeholder { height: 300px; }
	.brt-specs { grid-template-columns: repeat(2, 1fr); }
	.brt-weights { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
	.brt-container { padding: 0 18px; }
	.brt-title { font-size: 32px; }
	.brt-picks-grid { grid-template-columns: 1fr; }
	.brt-pick { margin-top: 10px; }
	.brt-proscons { grid-template-columns: 1fr; }
	.brt-cta { flex-direction: column; align-items: flex-start; }
	.brt-cta-action { align-items: flex-start; }
	.brt-weights { grid-template-columns: repeat(2, 1fr); }
	.brt-bio { flex-direction: column; }
	.brt-byline { flex-wrap: wrap; }
	.brt-fact-checked { margin-left: 0; }
}
