/* ==========================================================================
   BootsGuru child theme for GeneratePress
   Leather brown brand, orange only for buy buttons, Barlow type.
   ========================================================================== */

/* Fonts (self-hosted, latin subset) -------------------------------------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

/* Tokens ----------------------------------------------------------------- */
:root {
	--bg-ink: #13201A;
	--bg-body2: #3B4A42;
	--bg-muted: #5E6B63;
	--bg-line: #E4EAE6;
	--bg-line-strong: #D5DDD7;
	--bg-surface: #F6F5F2;
	--bg-white: #FFFFFF;
	--bg-brand: #7A4A24;
	--bg-tint: #F5ECE2;
	--bg-buy: #FF9A4D;
	--bg-buy-hover: #F58A36;
	--bg-good: #1E6B43;
	--bg-good-bg: #DDF0E4;
	--bg-bad: #A12A1E;
	--bg-bad-bg: #F6E1DE;
	--bg-radius: 16px;
	--bg-radius-lg: 20px;
	--bg-font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bg-measure: 720px;
}

/* Base ------------------------------------------------------------------- */
body,
button,
input,
select,
textarea {
	font-family: var(--bg-font);
}
body {
	background: var(--bg-white);
	color: var(--bg-ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--bg-brand);
}
a:hover,
a:focus {
	color: var(--bg-ink);
}
h1, h2, h3, h4, h5, h6 {
	color: var(--bg-ink);
	font-family: var(--bg-font);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
h1 { font-size: clamp(30px, 2vw + 16px, 44px); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(24px, 1vw + 16px, 30px); }
h3 { font-size: clamp(19px, .5vw + 15px, 22px); line-height: 1.3; }
img { height: auto; }
::selection { background: var(--bg-tint); color: var(--bg-ink); }

/* Visible keyboard focus everywhere. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--bg-brand);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Layout: GP one container ---------------------------------------------- */
.one-container.right-sidebar .site-main,
.one-container.no-sidebar .site-main {
	margin: 0;
	padding: 0;
}
.site-content,
.one-container .site-content {
	padding: 24px 24px 0;
}
.one-container .container,
.separate-containers .inside-article,
.separate-containers .site-main > * {
	background: transparent;
}
.separate-containers .inside-article { padding: 0; }
.right-sidebar .content-area { width: calc(100% - 340px); }
.right-sidebar .is-right-sidebar { width: 340px; }
.is-right-sidebar { padding-left: 40px; }
.inside-right-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.inside-right-sidebar .widget,
.bg-side {
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	padding: 18px 20px;
	margin: 0;
	background: var(--bg-white);
	font-size: 16px;
}
.inside-right-sidebar .widget-title,
.bg-side__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bg-muted);
	margin: 0 0 10px;
}

/* Sidebar: In this article */
.bg-side-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
	line-height: 1.35;
}
.bg-side-toc li { margin: 0; }
.bg-side-toc a {
	display: block;
	padding: 7px 10px;
	border-radius: 10px;
	color: var(--bg-body2);
	text-decoration: none;
}
.bg-side-toc a:hover { background: var(--bg-surface); color: var(--bg-ink); }
.bg-side-toc a[aria-current] { background: var(--bg-tint); color: var(--bg-brand); font-weight: 600; }
/* Desktop: the sidebar list replaces Fixed TOC's in-post box and floating button.
   Phones keep Fixed TOC's box, because the sidebar sits below the article there. */
@media (min-width: 769px) {
	#ftwp-container-outer,
	#ftwp-container { display: none !important; }
}

/* Sidebar: buy card */
.bg-side-buy { display: flex; flex-direction: column; gap: 8px; }
.bg-side-buy p { margin: 0; }
.bg-side-buy__name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.bg-side-buy__note { color: var(--bg-muted); font-size: 14px; }
.bg-side-buy .bg-buy { width: 100%; }
.bg-side-buy__small { color: var(--bg-muted); font-size: 12px; text-align: center; }

/* Top bar ---------------------------------------------------------------- */
.bg-topbar {
	background: var(--bg-ink);
	color: #E9EEEA;
	font-size: 13px;
	line-height: 1.4;
}
.bg-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
}
.bg-topbar a { color: #FFFFFF; text-decoration: underline; }
.bg-topbar a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }

/* Header ----------------------------------------------------------------- */
.site-header {
	background: var(--bg-white);
	border-bottom: 1px solid var(--bg-line);
}
.inside-header {
	padding: 14px 24px;
	max-width: 1200px;
}
.bg-brand .main-title,
.bg-brand { margin: 0; }
.bg-brand a,
a.bg-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bg-ink);
	text-decoration: none;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
}
.bg-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--bg-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.bg-brand__name span { color: var(--bg-brand); }
.bg-logo-img { display: block; height: 60px; width: auto; }
.bg-brand--small .bg-logo-img { height: 40px; }
.bg-brand--small { font-size: 20px !important; }
.bg-brand--small .bg-brand__mark { width: 30px; height: 30px; border-radius: 8px; }

/* Primary navigation */
.main-navigation,
.main-navigation ul ul {
	background: var(--bg-white);
}
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	color: #2B3A32;
	font-weight: 500;
	font-size: 16px;
	line-height: 44px;
	padding-left: 12px;
	padding-right: 12px;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus-within > a {
	color: var(--bg-brand);
	background: transparent;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--bg-brand);
	font-weight: 600;
	box-shadow: inset 0 -3px 0 var(--bg-brand);
	background: transparent;
}
/* Dropdowns as cards */
.main-navigation ul ul {
	border: 1px solid var(--bg-line);
	border-radius: 0 0 var(--bg-radius) var(--bg-radius);
	box-shadow: 0 16px 40px rgba(19, 32, 26, .12);
	padding: 8px;
	width: 240px;
}
.main-navigation .main-nav ul ul li a {
	line-height: 1.4;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 15px;
}
.main-navigation .main-nav ul ul li:hover > a {
	background: var(--bg-surface);
}
/* Search icon in the menu */
.main-navigation .menu-bar-item > a {
	width: 44px;
	height: 44px;
	padding: 0;
	margin-left: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bg-line-strong);
	border-radius: 22px;
}
.navigation-search input[type="search"] {
	background: var(--bg-white);
	color: var(--bg-ink);
	border: 2px solid var(--bg-brand);
	border-radius: 28px;
	padding: 0 20px;
}

/* Mobile menu */
.menu-toggle {
	min-width: 44px;
	min-height: 44px;
}
@media (max-width: 768px) {
	.bg-topbar__long { display: none; }
	.inside-header { padding: 8px 8px 8px 16px; }
	.bg-brand a { font-size: 21px; }
	.bg-brand__mark { width: 32px; height: 32px; }
	.bg-logo-img { height: 48px; }
	.bg-brand--small .bg-logo-img { height: 40px; }
	.main-navigation.toggled .main-nav > ul {
		border-top: 1px solid var(--bg-line);
		padding: 8px 8px 16px;
	}
	.main-navigation.toggled .main-nav ul li a {
		line-height: 1.3;
		padding: 14px 12px;
		font-size: 18px;
		font-weight: 600;
	}
	.main-navigation.toggled .main-nav ul ul {
		background: var(--bg-surface);
		border: 0;
		box-shadow: none;
		border-radius: 14px;
		width: auto;
	}
}

/* Breadcrumbs and entry header ------------------------------------------ */
.bg-crumbs,
#seopress-breadcrumbs,
.breadcrumb {
	font-size: 14px;
	color: var(--bg-muted);
	line-height: 1.4;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 16px;
}
.bg-crumbs a { color: var(--bg-muted); text-decoration: none; }
.bg-crumbs a:hover { color: var(--bg-ink); text-decoration: underline; }
.bg-crumbs [aria-current] { color: var(--bg-ink); }
.bg-crumbs span[aria-hidden] { color: #9AA49E; }

.bg-pill {
	display: inline-block;
	background: var(--bg-tint);
	color: var(--bg-brand);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	padding: 3px 12px;
	border-radius: 12px;
	text-decoration: none;
}
a.bg-pill:hover { color: var(--bg-ink); }
.bg-entry-pill { margin-bottom: 12px; }
.entry-header { margin-bottom: 18px; }
.single .entry-title { margin-bottom: 0; }

.bg-single-image { margin: 0 0 28px; }
.bg-single-image img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: var(--bg-radius);
}
.bg-single-image figcaption { font-size: 14px; color: var(--bg-muted); margin-top: 8px; }

/* Article body: readable measure, underlined links ----------------------- */
.single .entry-content,
.page .entry-content {
	font-size: 18px;
	line-height: 1.65;
	max-width: var(--bg-measure);
}
.entry-content > * + h2 { margin-top: 2.4em; }
.entry-content > * + h3 { margin-top: 1.8em; }
.entry-content h2 { margin-bottom: .5em; }
.entry-content h3 { margin-bottom: .4em; }
.entry-content p a,
.entry-content li a,
.entry-content td a {
	color: var(--bg-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.entry-content p a:hover,
.entry-content li a:hover,
.entry-content td a:hover {
	color: var(--bg-ink);
	text-decoration-thickness: 2px;
}
.entry-content img { border-radius: 12px; }
.entry-content figure figcaption,
.entry-content .wp-caption-text { font-size: 14px; color: var(--bg-muted); margin-top: 6px; }
.entry-content blockquote {
	border: 0;
	background: var(--bg-surface);
	border-radius: var(--bg-radius);
	padding: 20px 24px;
	font-style: normal;
	font-size: 18px;
}
.entry-content ul,
.entry-content ol { margin-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }

/* Tables (your existing comparison tables) */
.bg-table-wrap {
	overflow-x: auto;
	margin: 0 0 1.5em;
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	-webkit-overflow-scrolling: touch;
}
.bg-table-wrap table {
	margin: 0;
	border: 0;
	min-width: 560px;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.4;
}
.entry-content th,
.entry-content td {
	border: 0;
	border-top: 1px solid var(--bg-line);
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}
.entry-content thead th {
	background: var(--bg-surface);
	border-top: 0;
	font-weight: 600;
}
.entry-content tbody tr:first-child td { border-top: 0; }
.entry-content thead + tbody tr:first-child td { border-top: 1px solid var(--bg-line); }

/* FAQ <details> */
.entry-content details {
	border-bottom: 1px solid var(--bg-line);
	padding: 0 4px;
	margin: 0;
}
.entry-content details:first-of-type { border-top: 1px solid var(--bg-line); }
.entry-content summary {
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	min-height: 44px;
	padding: 16px 32px 16px 0;
	position: relative;
}
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s;
}
.entry-content details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.entry-content details > *:not(summary) { color: var(--bg-body2); font-size: 17px; }

/* Buttons ---------------------------------------------------------------- */
.bg-buy,
.entry-content a.bg-buy,
.aawp-button,
.entry-content a.aawp-button,
a.aawp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	box-sizing: border-box;
	padding: 13px 26px;
	border: 0;
	border-radius: 28px;
	background: var(--bg-buy);
	color: var(--bg-ink);
	font-family: var(--bg-font);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	transition: background-color .15s;
}
.bg-buy:hover,
.bg-buy:focus,
.entry-content a.bg-buy:hover,
.aawp-button:hover,
a.aawp-button:hover {
	background: var(--bg-buy-hover);
	color: var(--bg-ink);
	text-decoration: none;
}
.bg-buy--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.bg-buy--lg { min-height: 52px; padding: 15px 30px; font-size: 18px; }
.aawp-button::before { display: none; }

.bg-btn-outline,
button.bg-btn-outline {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid var(--bg-ink);
	border-radius: 28px;
	color: var(--bg-ink);
	background: transparent;
	font-weight: 600;
	text-decoration: none;
}
.bg-btn-outline:hover { background: var(--bg-ink); color: var(--bg-white); }

/* GP / WP default buttons */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link {
	background: var(--bg-ink);
	color: var(--bg-white);
	border-radius: 28px;
	font-weight: 600;
}
button:hover,
input[type="submit"]:hover,
a.button:hover {
	background: var(--bg-brand);
	color: var(--bg-white);
}

/* Shortcode components --------------------------------------------------- */
.bg-eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bg-brand);
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Verdict */
.bg-verdict {
	background: var(--bg-tint);
	border-radius: var(--bg-radius-lg);
	padding: 28px;
	margin: 0 0 24px;
	display: grid;
	gap: 24px;
}
.bg-verdict.has-image { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.bg-verdict__img img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--bg-white);
	border-radius: 14px;
}
.bg-verdict__text { font-size: 19px; line-height: 1.55; }
.bg-verdict__text p { margin: 0 0 10px; }
.bg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 600;
}
.bg-chips span { background: var(--bg-white); border-radius: 14px; padding: 4px 12px; }
.bg-verdict__buy {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--bg-muted);
}

/* How we tested */
.bg-tested {
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius-lg);
	padding: 22px 24px;
	margin: 0 0 24px;
}
.entry-content .bg-tested__title { font-size: 20px; margin: 0 0 14px; }
.bg-tested__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 16px 24px;
	margin: 0;
}
.bg-tested__grid > div {
	display: grid;
	grid-template-columns: 22px 1fr;
	column-gap: 12px;
	align-items: start;
}
.bg-tested__grid .bg-icon { grid-row: span 2; color: var(--bg-brand); margin-top: 2px; }
.bg-tested__grid dt {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bg-muted);
}
.bg-tested__grid dd { margin: 2px 0 0; font-size: 16px; line-height: 1.4; }
.bg-tested__note { margin-top: 14px; font-size: 15px; color: var(--bg-muted); }
.bg-tested__note p { margin: 0; }

/* Pros and cons */
.bg-proscons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 16px;
	margin: 0 0 24px;
}
.bg-pc {
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	padding: 20px 22px;
}
.entry-content .bg-pc h3 { font-size: 18px; margin: 0 0 12px; }
.entry-content .bg-pc ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.entry-content .bg-pc li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.bg-pc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 14px;
}
.bg-pc--pros li::before {
	background-color: var(--bg-good-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B43' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.bg-pc--cons li::before {
	background-color: var(--bg-bad-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A12A1E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

/* Buy it if / skip it if */
.bg-buyskip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 16px;
	margin: 0 0 24px;
}
.bg-buyskip > div { background: var(--bg-surface); border-radius: var(--bg-radius); padding: 20px 22px; }
.entry-content .bg-buyskip h3 { font-size: 18px; margin: 0 0 8px; }
.bg-buyskip p { margin: 0; font-size: 16px; }

/* Product strip */
.bg-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	padding: 16px 20px;
	margin: 0 0 24px;
}
.bg-strip__img img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; }
.bg-strip__text { flex: 1 1 240px; min-width: 0; line-height: 1.35; }
.bg-strip__name { margin: 0; font-size: 19px; font-weight: 700; }
.bg-strip__note { margin: 2px 0 0; font-size: 15px; color: var(--bg-muted); }
.bg-buy-wrap { margin: 0 0 24px; }
.bg-buy-wrap--center { text-align: center; }

/* Quick answer */
.bg-quick {
	background: var(--bg-tint);
	border-radius: var(--bg-radius-lg);
	padding: 24px 28px;
	margin: 0 0 24px;
}
.bg-quick__text { font-size: 19px; line-height: 1.55; }
.bg-quick__text p { margin: 0 0 8px; }
.bg-quick__text p:last-child { margin: 0; }

/* Your E-E-A-T byline plugin, restyled to match ------------------------- */
.bgeb-byline {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0 0 24px;
	font-size: 15px;
}
.bgeb-author-name { color: var(--bg-ink); }
.bgeb-byline-bottom { color: var(--bg-muted); font-size: 14px; }
.bgeb-process-link { color: var(--bg-brand); text-decoration: underline; text-underline-offset: 3px; }
/* Its footer disclosure repeats our footer copyright line. */
.bgeb-disclosure { display: none; }

/* Author box */
.bg-author {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	background: var(--bg-surface);
	border-radius: var(--bg-radius);
	padding: 22px 26px;
	margin: 48px 0 0;
	max-width: var(--bg-measure);
}
.bg-author__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.bg-author p { margin: 0; }
.bg-author__name { font-size: 20px; font-weight: 700; line-height: 1.25; }
.bg-author__title { color: var(--bg-muted); font-size: 15px; margin-top: 2px !important; }
.bg-author__links { margin-top: 6px !important; font-size: 15px; font-weight: 600; }

/* Related guide card in the middle of an article */
.bg-midguide { margin: 32px 0; max-width: var(--bg-measure); }
.bg-midguide__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bg-muted);
	margin: 0 0 8px !important;
}
.entry-content .bg-midguide .bg-card { text-decoration: none; }
.bg-midguide .bg-card__title { font-size: 17px; }

/* Popular in [category]: phones only, the sidebar covers desktop */
.bg-catpop { margin: 40px 0 0; max-width: var(--bg-measure); }
.bg-catpop__title { font-size: 24px; margin: 0 0 8px; }
@media (min-width: 769px) { .bg-catpop { display: none; } }

/* Sidebar: popular guides (desktop only, phones get .bg-catpop) */
.bg-side-popular ol {
	margin: 0;
	padding: 0 0 0 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	line-height: 1.35;
}
.bg-side-popular li { margin: 0; padding-left: 4px; }
.bg-side-popular li::marker { color: var(--bg-muted); font-weight: 700; }
.bg-side-popular a { color: var(--bg-body2); text-decoration: none; }
.bg-side-popular a:hover { color: var(--bg-brand); }
@media (max-width: 768px) { .bg-side-popular { display: none; } }

/* Keep reading cards */
.bg-related { margin: 40px 0 0; max-width: var(--bg-measure); }
.bg-related__title { font-size: 24px; margin: 0 0 16px; }
.bg-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bg-card--mini .bg-card__body { gap: 8px; padding: 12px 14px 16px; }
.bg-card--mini .bg-card__title { font-size: 16px; line-height: 1.3; }
@media (max-width: 480px) {
	.bg-related__grid { gap: 10px; }
	.bg-card--mini .bg-card__body { padding: 10px 10px 12px; }
	.bg-card--mini .bg-card__title { font-size: 14px; }
	.bg-card--mini .bg-pill { font-size: 11px; }
}

/* Mobile buy bar */
.bg-buybar { display: none; }
@media (max-width: 768px) {
	.bg-buybar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--bg-white);
		border-top: 1px solid var(--bg-line);
		box-shadow: 0 -4px 16px rgba(19, 32, 26, .08);
	}
	.bg-buybar__text { min-width: 0; line-height: 1.25; display: flex; flex-direction: column; }
	.bg-buybar__text strong { font-size: 15px; }
	.bg-buybar__text span { font-size: 13px; color: var(--bg-muted); }
	body.single { padding-bottom: 72px; }
}

/* AAWP boxes (prices and ratings come from the Amazon API) -------------- */
.aawp .aawp-product,
.aawp-product {
	border: 1px solid var(--bg-line) !important;
	border-radius: var(--bg-radius) !important;
	box-shadow: none !important;
	background: var(--bg-white) !important;
}
.aawp-product__title { color: var(--bg-ink) !important; font-weight: 700 !important; }
.aawp-product__ribbon { border-radius: 0 0 10px 10px; }

/* Archive cards (category, tag, blog) ------------------------------------ */
.page-header {
	background: var(--bg-surface);
	border-radius: var(--bg-radius-lg);
	padding: 32px 36px;
	margin-bottom: 32px;
}
.page-header .page-title { font-size: clamp(32px, 2.5vw + 12px, 48px); margin: 0; }
.taxonomy-description { color: var(--bg-muted); font-size: 19px; max-width: 720px; margin-top: 10px; }
.taxonomy-description p:last-child { margin: 0; }

.bg-card-grid .site-main {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 24px;
}
.bg-card-grid .site-main > .page-header,
.bg-card-grid .site-main > .paging-navigation,
.bg-card-grid .site-main > nav,
.bg-card-grid .site-main > .no-results,
.bg-card-grid .site-main > .bg-archive-more { grid-column: 1 / -1; }
.bg-card-grid .site-main > article { margin: 0; }
.bg-card-grid .inside-article {
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	overflow: hidden;
	padding: 0 !important;
	background: var(--bg-white);
}
.bg-card-grid .post-image { order: -1; margin: 0 !important; }
.bg-card-grid .post-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.bg-card-grid .entry-header { padding: 16px 18px 0; margin: 0; }
.bg-card-grid .entry-title { font-size: 19px; line-height: 1.3; margin: 10px 0 0; }
.bg-card-grid .entry-title a { color: var(--bg-ink); text-decoration: none; }
.bg-card-grid .entry-title a:hover { color: var(--bg-brand); }
.bg-card-grid .entry-summary { padding: 6px 18px 20px; margin: 0; color: var(--bg-muted); font-size: 15px; line-height: 1.5; }
.bg-card-grid .entry-summary p { margin: 0; }

/* Category guide below the post list */
.bg-archive-more {
	background: var(--bg-surface);
	border-radius: var(--bg-radius-lg);
	padding: 32px 36px;
	margin-top: 48px;
}
.bg-archive-more h2 { font-size: 26px; line-height: 1.25; margin: 40px 0 16px; }
.bg-archive-more > h2:first-child { margin-top: 0; }
.bg-archive-more > p { max-width: var(--bg-measure); color: var(--bg-body2); margin: 0; }
.bg-guides {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 16px;
}
.bg-guides__group {
	background: var(--bg-white);
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	padding: 20px 22px;
}
.bg-guides__group--wide { grid-column: 1 / -1; }
.bg-guides__group--wide ul { columns: 3 240px; column-gap: 32px; }
.bg-guides h3 { font-size: 17px; margin: 0 0 8px; }
.bg-guides ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.35; }
.bg-guides li { margin: 0; padding: 7px 0; break-inside: avoid; color: var(--bg-muted); }
.bg-guides li + li { border-top: 1px solid var(--bg-line); }
.bg-guides__group--wide li + li { border-top: 0; }
.bg-guides a { color: var(--bg-ink); font-weight: 600; text-decoration: none; }
.bg-guides a:hover { color: var(--bg-brand); text-decoration: underline; }

/* Search results list */
.search-results .site-main > article { border-top: 1px solid var(--bg-line); padding: 22px 0; margin: 0; }
.search-results .entry-title { font-size: 21px; margin: 8px 0 0; }
.search-results .entry-title a { color: var(--bg-ink); text-decoration: none; }
.search-results .entry-summary { color: var(--bg-muted); font-size: 16px; }

/* Pagination */
.paging-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.paging-navigation .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bg-line-strong);
	border-radius: 22px;
	color: var(--bg-ink);
	font-weight: 600;
	text-decoration: none;
}
.paging-navigation .page-numbers.current { background: var(--bg-ink); border-color: var(--bg-ink); color: var(--bg-white); }
.paging-navigation .page-numbers.dots { border: 0; }

/* Search forms ----------------------------------------------------------- */
.bg-search {
	position: relative;
	display: flex;
	gap: 8px;
	border: 1px solid var(--bg-line-strong);
	border-radius: 34px;
	padding: 6px;
	background: var(--bg-white);
	box-shadow: 0 2px 10px rgba(19, 32, 26, .06);
	max-width: 640px;
}
.bg-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	color: var(--bg-ink);
	font-size: 17px;
	outline: none;
}
.bg-search button {
	height: 48px;
	padding: 0 24px;
	border-radius: 28px;
	background: var(--bg-buy);
	color: var(--bg-ink);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.bg-search button:hover { background: var(--bg-buy-hover); color: var(--bg-ink); }
.bg-search:focus-within { border-color: var(--bg-brand); }
@media (max-width: 480px) { .bg-search button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Live suggestions */
/* GP's menu search bar must stay absolutely positioned. */
.has-suggest:not(.navigation-search) { position: relative; }
.bg-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 60;
	background: var(--bg-white);
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius-lg);
	box-shadow: 0 16px 40px rgba(19, 32, 26, .12);
	padding: 8px;
	text-align: left;
}
.bg-suggest ul { list-style: none; margin: 0; padding: 0; }
.bg-suggest li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 12px;
	border-radius: 12px;
	color: var(--bg-ink);
	text-decoration: none;
	font-size: 16px;
	line-height: 1.35;
}
.bg-suggest li.is-active a,
.bg-suggest li a:hover { background: var(--bg-surface); }
.bg-suggest__all { border-top: 1px solid var(--bg-line); margin-top: 6px; padding-top: 6px; }
.bg-suggest__all a { color: var(--bg-brand) !important; font-weight: 700; }
.bg-suggest__empty { padding: 10px 12px; color: var(--bg-muted); font-size: 15px; }

/* Homepage --------------------------------------------------------------- */
.bg-front .site-main { max-width: 1200px; margin: 0 auto; }
.bg-section { margin-top: 80px; }
.bg-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 24px;
}
.bg-section__head h2 { margin: 0; }
.bg-section__head a,
.bg-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	color: var(--bg-brand);
	text-decoration: none;
}
.bg-section__head a:hover,
.bg-more:hover { text-decoration: underline; color: var(--bg-ink); }

.bg-hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
	gap: 40px;
	align-items: center;
	padding-top: 24px;
}
.bg-hero h1 {
	font-size: clamp(36px, 3.4vw + 12px, 56px);
	line-height: 1.05;
	margin: 0 0 18px;
	text-wrap: balance;
}
.bg-hero__lead { font-size: 19px; color: var(--bg-muted); max-width: 520px; margin: 0 0 24px; }
.bg-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.bg-hero__chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--bg-line-strong);
	border-radius: 20px;
	color: var(--bg-ink);
	font-size: 15px;
	text-decoration: none;
}
.bg-hero__chips a:hover { border-color: var(--bg-brand); color: var(--bg-brand); }
.bg-hero__media { margin: 0; position: relative; }
.bg-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; }
.bg-hero__media figcaption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	background: var(--bg-white);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.35;
	box-shadow: 0 4px 16px rgba(19, 32, 26, .12);
	max-width: 80%;
}

.bg-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 20px;
}
.bg-tile { display: flex; flex-direction: column; gap: 12px; text-align: center; color: var(--bg-ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.bg-tile__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	overflow: hidden;
	background: var(--bg-surface);
	color: var(--bg-brand);
}
.bg-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.bg-tile:hover .bg-tile__img img { transform: scale(1.04); }
.bg-tile:hover { color: var(--bg-brand); }

.bg-grid { display: grid; gap: 24px; }
.bg-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.bg-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }

.bg-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--bg-line);
	border-radius: var(--bg-radius);
	overflow: hidden;
	background: var(--bg-white);
	color: var(--bg-ink);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}
.bg-card:hover { border-color: var(--bg-line-strong); box-shadow: 0 6px 20px rgba(19, 32, 26, .08); color: var(--bg-ink); }
.bg-card:hover .bg-card__title { color: var(--bg-brand); }
.bg-card__media { display: block; background: var(--bg-surface); }
.bg-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Tile for posts without a featured image */
.bg-fallback-img {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--bg-tint);
	color: var(--bg-brand);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.bg-fallback-img__mark {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--bg-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bg-card-grid .post-image a { display: block; text-decoration: none; }
.bg-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 20px; }
.bg-card__title { font-weight: 600; font-size: 18px; line-height: 1.3; }
.bg-card__excerpt { color: var(--bg-muted); font-size: 16px; line-height: 1.5; }

.bg-card--row { flex-direction: row; align-items: center; gap: 14px; padding: 10px; }
.bg-card--row .bg-card__media { flex: 0 0 120px; border-radius: 10px; overflow: hidden; }
.bg-card--row .bg-card__img { aspect-ratio: 4 / 3; }
.bg-card--row .bg-card__body { padding: 0; gap: 6px; }
.bg-card--row .bg-card__title { font-size: 16px; }

.bg-card--feature .bg-card__img { aspect-ratio: 16 / 9; }
.bg-card--feature .bg-card__title { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.bg-card--feature .bg-card__body { padding: 20px 24px 24px; }

.bg-tested-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
	gap: 24px;
}
.bg-tested-grid__rows { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.bg-tested-grid__rows .bg-card--row .bg-card__media { flex-basis: 132px; }

.bg-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
	gap: 48px;
	align-items: start;
}
.bg-linklist { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--bg-line); }
.bg-linklist li { margin: 0; border-top: 1px solid var(--bg-line); }
.bg-linklist a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 4px;
	color: var(--bg-ink);
	text-decoration: none;
	font-weight: 500;
}
.bg-linklist a .bg-icon { color: var(--bg-muted); flex: 0 0 auto; }
.bg-linklist a:hover { color: var(--bg-brand); }

.bg-trust { background: var(--bg-surface); border-radius: var(--bg-radius-lg); padding: 32px; }
.bg-trust h2 { font-size: 24px; margin: 0 0 20px; }
.bg-trust ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.bg-trust li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.bg-trust li > .bg-icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	padding: 12px;
	box-sizing: border-box;
	border-radius: 14px;
	background: var(--bg-tint);
	color: var(--bg-brand);
}
.bg-trust strong { display: block; font-size: 18px; }
.bg-trust span { color: var(--bg-muted); font-size: 15px; }

/* 404 -------------------------------------------------------------------- */
.bg-404 .site-main { max-width: 960px; margin: 0 auto; }
.bg-404__intro {
	max-width: 620px;
	margin: 48px auto 48px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.bg-404__intro h1 { font-size: clamp(34px, 2.8vw + 12px, 52px); margin: 0; }
.bg-404__intro p { margin: 0; color: var(--bg-muted); font-size: 19px; }
.bg-404__intro .bg-search { width: 100%; margin-top: 12px; }
.bg-404__icon {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: var(--bg-tint);
	color: var(--bg-brand);
	display: flex;
	align-items: center;
	justify-content: center;
}
.bg-tiles--4 { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.bg-404__home { text-align: center; margin-top: 40px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--bg-line); margin-top: 96px; }
.bg-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 32px;
}
.bg-footer__about p { margin: 14px 0 0; font-size: 15px; color: var(--bg-muted); max-width: 300px; }
.bg-footer h2 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bg-muted);
}
.bg-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.bg-footer li { margin: 0; }
.bg-footer li a { display: inline-block; padding: 6px 0; color: var(--bg-ink); text-decoration: none; }
.bg-footer li a:hover { color: var(--bg-brand); text-decoration: underline; }
.site-info {
	background: transparent;
	border-top: 1px solid var(--bg-line);
	color: var(--bg-muted);
	font-size: 13px;
	line-height: 1.5;
}
.inside-site-info { max-width: 1200px; padding: 18px 24px; justify-content: flex-start; }
.site-info a { color: var(--bg-muted); }

/* Phones ----------------------------------------------------------------- */
@media (max-width: 768px) {
	.site-content,
	.one-container .site-content { padding: 16px 16px 0; flex-direction: column; }
	.right-sidebar .content-area,
	.right-sidebar .is-right-sidebar { width: 100%; }
	.is-right-sidebar { padding-left: 0; margin-top: 40px; }
	.inside-right-sidebar { position: static; max-height: none; overflow: visible; }
	/* Fixed TOC's in-post box covers contents on phones. */
	.bg-side-toc { display: none; }
	.single .entry-content { font-size: 17px; }
	.bg-verdict { padding: 20px; }
	.bg-verdict.has-image { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
	.bg-verdict.has-image .bg-verdict__body { grid-column: 1 / -1; }
	.bg-verdict__text { font-size: 17px; }
	.bg-verdict__buy .bg-buy { width: 100%; }
	.bg-section { margin-top: 56px; }
	.bg-hero { gap: 24px; }
	.bg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.bg-tile { font-size: 15px; gap: 6px; }
	.bg-tile__img { border-radius: 14px; }
	.bg-trust { padding: 22px; }
	.page-header { padding: 24px; }
	.bg-archive-more { padding: 24px 20px; }
	.bg-card--row .bg-card__media { flex-basis: 96px; }
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; }
}
