/*
Theme Name: BuyWog Reviews
Theme URI: https://buywog.com
Author: BuyWog
Author URI: https://buywog.com
Description: A professional, store-style affiliate review theme. Product categories on the homepage, in-depth review landing pages with "Check Price on Official Site" buttons that redirect through your affiliate links (ClickBank, Digistore24, JVZoo, WarriorPlus), a blog, and auto-created legal pages. Pairs with the BuyWog CRM plugin for email campaigns.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buywog
*/

/* ---------- Tokens ---------- */
:root {
	--bw-ink: #14171f;
	--bw-body: #3d4350;
	--bw-muted: #6b7280;
	--bw-line: #e5e7eb;
	--bw-soft: #f6f5f2;
	--bw-white: #ffffff;
	--bw-navy: #0f2a44;
	--bw-navy-2: #16395c;
	--bw-accent: #c2410c;
	--bw-accent-dark: #9a3412;
	--bw-good: #15803d;
	--bw-bad: #b91c1c;
	--bw-star: #d97706;
	--bw-radius: 10px;
	--bw-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
	--bw-wrap: 1200px;
	--bw-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--bw-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--bw-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--bw-body);
	background: var(--bw-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bw-navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bw-accent); }
h1, h2, h3, h4 { font-family: var(--bw-serif); color: var(--bw-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; background: #fff; padding: 10px 16px; left: 10px; top: 10px; }
.bw-wrap { max-width: var(--bw-wrap); margin: 0 auto; padding: 0 24px; }
.bw-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.bw-section { padding: 72px 0; }
.bw-section--soft { background: var(--bw-soft); }
.bw-eyebrow { font-family: var(--bw-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bw-accent); margin-bottom: .6em; display: block; }
.bw-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.bw-section-head h2 { margin: 0; }
.bw-section-head p { margin: 6px 0 0; color: var(--bw-muted); }
.bw-link-more { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }

/* ---------- Buttons ---------- */
.bw-btn {
	display: inline-block; font-family: var(--bw-sans); font-weight: 600; font-size: .98rem;
	padding: 13px 26px; border-radius: 8px; text-decoration: none; border: 1px solid transparent;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1.3; text-align: center;
}
.bw-btn--primary { background: var(--bw-accent); color: #fff; }
.bw-btn--primary:hover { background: var(--bw-accent-dark); color: #fff; }
.bw-btn--dark { background: var(--bw-navy); color: #fff; }
.bw-btn--dark:hover { background: var(--bw-navy-2); color: #fff; }
.bw-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.bw-btn--ghost:hover { background: #fff; color: var(--bw-ink); }
.bw-btn--outline { background: #fff; color: var(--bw-ink); border-color: var(--bw-line); }
.bw-btn--outline:hover { border-color: var(--bw-ink); color: var(--bw-ink); }
.bw-btn--block { display: block; width: 100%; }
.bw-btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Top bar + header ---------- */
.bw-topbar { background: var(--bw-navy); color: rgba(255,255,255,.82); font-size: .82rem; }
.bw-topbar .bw-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.bw-topbar a { color: #fff; text-decoration: none; }
.bw-header { background: #fff; border-bottom: 1px solid var(--bw-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .bw-header { top: 32px; }
.bw-header .bw-wrap { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.bw-logo { font-family: var(--bw-serif); font-weight: 700; font-size: 1.6rem; color: var(--bw-ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.bw-logo span { color: var(--bw-accent); }
.bw-logo img { max-height: 48px; width: auto; }
.bw-nav { margin-left: auto; }
.bw-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.bw-nav li { position: relative; }
.bw-nav a { color: var(--bw-ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 26px 0; display: block; }
.bw-nav a:hover, .bw-nav .current-menu-item > a { color: var(--bw-accent); }
.bw-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; background: #fff; border: 1px solid var(--bw-line); border-radius: var(--bw-radius); box-shadow: var(--bw-shadow); padding: 8px 0; min-width: 240px; flex-direction: column; gap: 0; }
.bw-nav li:hover > .sub-menu, .bw-nav li:focus-within > .sub-menu { display: flex; }
.bw-nav .sub-menu a { padding: 8px 18px; }
.bw-search { display: flex; border: 1px solid var(--bw-line); border-radius: 8px; overflow: hidden; }
.bw-search input { border: 0; padding: 10px 14px; font: inherit; font-size: .92rem; width: 200px; outline: none; }
.bw-search button { border: 0; background: var(--bw-ink); color: #fff; padding: 0 16px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.bw-menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--bw-line); border-radius: 8px; padding: 9px 14px; font: inherit; font-weight: 600; color: var(--bw-ink); cursor: pointer; }

/* ---------- Hero ---------- */
.bw-hero { position: relative; color: #fff; overflow: hidden; background: var(--bw-navy); }
.bw-slide { display: none; min-height: 560px; background-size: cover; background-position: center; align-items: center; }
.bw-slide.is-active { display: flex; animation: bwFade .7s ease; }
@keyframes bwFade { from { opacity: .3; } to { opacity: 1; } }
.bw-slide .bw-wrap { width: 100%; }
.bw-slide__inner { max-width: 640px; padding: 80px 0; }
.bw-slide h1, .bw-slide h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .4em; }
.bw-slide p { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 1.8em; }
.bw-slide .bw-eyebrow { color: #fdba74; }
.bw-hero__dots { position: absolute; bottom: 28px; left: 0; right: 0; }
.bw-hero__dots .bw-wrap { display: flex; gap: 10px; }
.bw-hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; border-radius: 2px; }
.bw-hero__dots button.is-active { background: #fff; }
.bw-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.bw-trust { border-bottom: 1px solid var(--bw-line); background: #fff; }
.bw-trust .bw-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.bw-trust div { padding: 22px 20px; border-right: 1px solid var(--bw-line); }
.bw-trust div:last-child { border-right: 0; }
.bw-trust strong { display: block; color: var(--bw-ink); font-size: .98rem; }
.bw-trust span { font-size: .88rem; color: var(--bw-muted); }

/* ---------- Category grid ---------- */
.bw-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Balanced layouts for any number of category tiles (desktop) */
.bw-cats--4, .bw-cats--8 { grid-template-columns: repeat(4, 1fr); }
.bw-cats--7 { grid-template-columns: repeat(4, 1fr); }
.bw-cats--7 .bw-cat:first-child { grid-column: span 2; }
.bw-cats--5, .bw-cats--10 { grid-template-columns: repeat(6, 1fr); }
.bw-cats--5 .bw-cat, .bw-cats--10 .bw-cat { grid-column: span 2; }
.bw-cats--5 .bw-cat:nth-child(-n+2), .bw-cats--10 .bw-cat:nth-child(-n+2) { grid-column: span 3; }
.bw-cats--2 { grid-template-columns: repeat(2, 1fr); }
.bw-cats--13 { grid-template-columns: repeat(4, 1fr); }
.bw-cats--13 .bw-cat:nth-child(-n+3) { grid-column: span 2; }
.bw-cats--14 { grid-template-columns: repeat(4, 1fr); }
.bw-cats--14 .bw-cat:nth-child(-n+2) { grid-column: span 2; }
.bw-cat { position: relative; display: block; border-radius: var(--bw-radius); overflow: hidden; min-height: 220px; background: var(--bw-navy-2) center/cover no-repeat; text-decoration: none; color: #fff; }
.bw-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.05) 30%, rgba(15,23,42,.82) 100%); transition: background .2s; }
.bw-cat:hover::after { background: linear-gradient(180deg, rgba(15,23,42,.2) 0%, rgba(15,23,42,.9) 100%); }
.bw-cat__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.bw-cat h3 { color: #fff; margin: 0 0 2px; font-size: 1.3rem; }
.bw-cat span { font-size: .88rem; color: rgba(255,255,255,.85); }
.bw-cat:hover { color: #fff; }

/* ---------- Product / review cards ---------- */
.bw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bw-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Auto-fitting review grid: as many columns as the screen allows (4 on desktop, 2-3 on tablet, 1 on phone) */
.bw-grid--auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bw-more-row { text-align: center; margin: 36px 0 0; }
.bw-card { background: #fff; border: 1px solid var(--bw-line); border-radius: var(--bw-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.bw-card:hover { box-shadow: var(--bw-shadow); transform: translateY(-2px); }
.bw-card__media { aspect-ratio: 4 / 3; background: var(--bw-soft); display: block; overflow: hidden; }
.bw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bw-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--bw-serif); font-size: 1.1rem; color: var(--bw-muted); padding: 20px; text-align: center; }
.bw-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bw-card__cat { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bw-muted); margin-bottom: 6px; }
.bw-card__title { font-size: 1.08rem; margin: 0 0 8px; line-height: 1.35; }
.bw-card__title a { color: var(--bw-ink); text-decoration: none; }
.bw-card__title a:hover { color: var(--bw-accent); }
.bw-card__excerpt { font-size: .92rem; color: var(--bw-muted); line-height: 1.55; margin-bottom: 14px; }
.bw-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bw-line); gap: 8px; }
.bw-price { font-weight: 700; color: var(--bw-ink); font-size: 1.02rem; }
.bw-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.bw-card__actions .bw-btn { padding: 10px 8px; font-size: .86rem; }
.bw-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bw-ink); color: #fff; padding: 3px 9px; border-radius: 4px; }

/* Stars (pure CSS, no icon font) */
.bw-stars { --pct: 80%; position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; color: #d1d5db; }
.bw-stars::before { content: "★★★★★"; }
.bw-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--bw-star); white-space: nowrap; }
.bw-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--bw-muted); }
.bw-rating b { color: var(--bw-ink); }

/* ---------- How it works / about band ---------- */
.bw-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.bw-split__img { border-radius: var(--bw-radius); min-height: 420px; background: var(--bw-navy-2) center/cover no-repeat; }
.bw-steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 32px; }
.bw-steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 22px; }
.bw-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--bw-serif); font-weight: 700; font-size: 1.3rem; color: var(--bw-accent); }
.bw-steps strong { color: var(--bw-ink); display: block; }

/* ---------- Newsletter band ---------- */
.bw-news { background: var(--bw-navy) center/cover no-repeat; color: #fff; position: relative; }
.bw-news::before { content: ""; position: absolute; inset: 0; background: rgba(15,42,68,.88); }
.bw-news .bw-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bw-news h2 { color: #fff; }
.bw-news p { color: rgba(255,255,255,.85); }

/* ---------- Post cards ---------- */
.bw-post__date { font-size: .82rem; color: var(--bw-muted); }

/* ---------- Page header ---------- */
.bw-pagehead { background: var(--bw-soft); border-bottom: 1px solid var(--bw-line); padding: 48px 0 40px; }
.bw-pagehead h1 { margin-bottom: .2em; }
.bw-pagehead p { color: var(--bw-muted); margin: 0; max-width: 720px; }
.bw-crumbs { font-size: .85rem; color: var(--bw-muted); margin-bottom: 14px; }
.bw-crumbs a { color: var(--bw-muted); text-decoration: none; }
.bw-crumbs a:hover { color: var(--bw-accent); }

/* ---------- Review landing page ---------- */
.bw-disclosure { background: #fff8ef; border: 1px solid #fde3c4; border-radius: 8px; padding: 12px 16px; font-size: .86rem; color: #7c4a14; margin: 0 0 28px; line-height: 1.55; }
.bw-disclosure a { color: #7c4a14; }
.bw-review-hero { padding: 40px 0 56px; border-bottom: 1px solid var(--bw-line); }
.bw-review-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.bw-review-hero__media { border-radius: var(--bw-radius); overflow: hidden; border: 1px solid var(--bw-line); background: var(--bw-soft); aspect-ratio: 4/3; }
.bw-review-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bw-review-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.bw-review-hero .bw-lead { font-size: 1.08rem; }
.bw-facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--bw-line); border-radius: 8px; margin: 22px 0; overflow: hidden; }
.bw-facts div { padding: 12px 16px; border-bottom: 1px solid var(--bw-line); font-size: .92rem; }
.bw-facts div:nth-child(odd) { border-right: 1px solid var(--bw-line); }
.bw-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.bw-facts span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bw-muted); font-weight: 600; }
.bw-facts b { color: var(--bw-ink); }
.bw-cta-note { font-size: .82rem; color: var(--bw-muted); margin-top: 10px; text-align: center; }

.bw-review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 56px 0 72px; }
.bw-review-side { position: sticky; top: 110px; align-self: start; }
.bw-box { border: 1px solid var(--bw-line); border-radius: var(--bw-radius); padding: 24px; background: #fff; margin-bottom: 24px; }
.bw-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.bw-score { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.bw-score b { font-family: var(--bw-serif); font-size: 2.6rem; color: var(--bw-ink); line-height: 1; }
.bw-toc ol { margin: 0; padding-left: 20px; font-size: .93rem; }
.bw-toc li { margin-bottom: 6px; }
.bw-toc a { text-decoration: none; color: var(--bw-body); }
.bw-toc a:hover { color: var(--bw-accent); }

.bw-verdict { background: var(--bw-soft); border-left: 4px solid var(--bw-navy); border-radius: 0 var(--bw-radius) var(--bw-radius) 0; padding: 24px 28px; margin: 0 0 40px; }
.bw-verdict h2 { font-size: 1.35rem; margin-bottom: .4em; }
.bw-verdict p:last-child { margin: 0; }

.bw-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 40px; }
.bw-proscons > div { border: 1px solid var(--bw-line); border-radius: var(--bw-radius); padding: 22px 24px; }
.bw-proscons h3 { font-size: 1.1rem; padding-bottom: 10px; border-bottom: 2px solid currentColor; display: inline-block; }
.bw-pros h3 { color: var(--bw-good); }
.bw-cons h3 { color: var(--bw-bad); }
.bw-proscons ul { list-style: none; padding: 0; margin: 8px 0 0; }
.bw-proscons li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: .95rem; line-height: 1.5; }
.bw-pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 700; color: var(--bw-good); }
.bw-cons li::before { content: "–"; position: absolute; left: 2px; font-weight: 700; color: var(--bw-bad); }

.bw-content { font-size: 1.04rem; }
.bw-content h2 { margin-top: 1.8em; scroll-margin-top: 110px; }
.bw-content h3 { margin-top: 1.5em; scroll-margin-top: 110px; }
.bw-content img { border-radius: 8px; margin: 1.5em 0; }
.bw-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--bw-accent); font-family: var(--bw-serif); font-size: 1.15rem; color: var(--bw-ink); }
.bw-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.bw-content th, .bw-content td { border: 1px solid var(--bw-line); padding: 10px 14px; text-align: left; }
.bw-content th { background: var(--bw-soft); color: var(--bw-ink); }
.bw-content ul, .bw-content ol { padding-left: 1.3em; margin-bottom: 1.3em; }
.bw-content li { margin-bottom: .4em; }

.bw-bottom-cta { border: 1px solid var(--bw-line); border-radius: var(--bw-radius); padding: 32px; margin: 48px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: #fff; box-shadow: var(--bw-shadow); }
.bw-bottom-cta h2 { font-size: 1.4rem; margin-bottom: .3em; }
.bw-bottom-cta p { margin: 0; color: var(--bw-muted); }

.bw-faq details { border-bottom: 1px solid var(--bw-line); padding: 16px 0; }
.bw-faq summary { cursor: pointer; font-weight: 600; color: var(--bw-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bw-faq summary::-webkit-details-marker { display: none; }
.bw-faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--bw-muted); }
.bw-faq details[open] summary::after { content: "–"; }
.bw-faq details p { margin: 10px 0 0; }

.bw-mobile-cta { display: none; }

/* ---------- Archive / blog layout ---------- */
.bw-archive { padding: 48px 0 72px; }
.bw-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.bw-filters a { padding: 7px 16px; border: 1px solid var(--bw-line); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--bw-body); }
.bw-filters a.is-active, .bw-filters a:hover { background: var(--bw-ink); border-color: var(--bw-ink); color: #fff; }
.bw-pagination { margin-top: 48px; display: flex; gap: 6px; justify-content: center; }
.bw-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--bw-line); border-radius: 6px; text-decoration: none; color: var(--bw-ink); font-size: .92rem; }
.bw-pagination .current { background: var(--bw-ink); color: #fff; border-color: var(--bw-ink); }
.bw-empty { text-align: center; padding: 60px 20px; color: var(--bw-muted); border: 1px dashed var(--bw-line); border-radius: var(--bw-radius); }

/* ---------- Single post / page ---------- */
.bw-article { padding: 48px 0 72px; }
.bw-article__img { border-radius: var(--bw-radius); overflow: hidden; margin-bottom: 36px; }
.bw-meta { color: var(--bw-muted); font-size: .9rem; margin-bottom: 24px; }
.bw-legal { padding: 48px 0 80px; }
.bw-legal .bw-content h2 { font-size: 1.4rem; }
.bw-legal .bw-updated { font-size: .9rem; color: var(--bw-muted); }

/* ---------- Forms ---------- */
.bw-form { display: grid; gap: 16px; }
.bw-form label { font-weight: 600; font-size: .9rem; color: var(--bw-ink); display: block; margin-bottom: 6px; }
.bw-form input[type=text], .bw-form input[type=email], .bw-form textarea, .bw-form select {
	width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; font-size: .97rem; background: #fff; color: var(--bw-ink);
}
.bw-form input:focus, .bw-form textarea:focus { outline: 2px solid var(--bw-navy-2); outline-offset: 1px; border-color: transparent; }
.bw-form .bw-hp { position: absolute; left: -9999px; }
.bw-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: .95rem; }
.bw-notice--ok { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.bw-notice--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.bw-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }

/* ---------- Footer ---------- */
.bw-footer { background: #0c1522; color: rgba(255,255,255,.7); font-size: .93rem; }
.bw-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.bw-footer a:hover { color: #fff; }
.bw-footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; }
.bw-footer h4 { font-family: var(--bw-sans); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.bw-footer ul { list-style: none; padding: 0; margin: 0; }
.bw-footer li { margin-bottom: 9px; }
.bw-footer .bw-logo { color: #fff; display: inline-block; margin-bottom: 14px; }
.bw-footer__disclosure { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.55); }
.bw-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Cookie notice */
.bw-cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: #fff; border: 1px solid var(--bw-line); box-shadow: var(--bw-shadow); border-radius: var(--bw-radius); padding: 18px 20px; font-size: .88rem; z-index: 90; display: none; }
.bw-cookie.is-visible { display: block; }
.bw-cookie p { margin: 0 0 12px; }
.bw-cookie .bw-btn { padding: 8px 18px; font-size: .86rem; }

/* WP core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--bw-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.bw-grid { grid-template-columns: repeat(3, 1fr); }
	.bw-search input { width: 150px; }
	.bw-nav ul { gap: 20px; }
}
@media (max-width: 900px) {
	.bw-menu-toggle { display: block; }
	.bw-header .bw-search { display: none; }
	.bw-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--bw-line); box-shadow: var(--bw-shadow); }
	.bw-nav.is-open { display: block; }
	.bw-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
	.bw-nav a { padding: 12px 0; border-bottom: 1px solid var(--bw-line); }
	.bw-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.bw-cats, .bw-cats[class*="bw-cats--"], .bw-grid:not(.bw-grid--auto), .bw-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.bw-grid--auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
	.bw-cats .bw-cat, .bw-cats .bw-cat:first-child { grid-column: auto !important; }
	.bw-cats--3 .bw-cat:first-child, .bw-cats--5 .bw-cat:first-child, .bw-cats--7 .bw-cat:first-child, .bw-cats--9 .bw-cat:first-child, .bw-cats--11 .bw-cat:first-child, .bw-cats--13 .bw-cat:first-child { grid-column: span 2 !important; }
	.bw-trust .bw-wrap { grid-template-columns: 1fr 1fr; }
	.bw-trust div:nth-child(2) { border-right: 0; }
	.bw-trust div:nth-child(-n+2) { border-bottom: 1px solid var(--bw-line); }
	.bw-split, .bw-news .bw-wrap, .bw-review-hero__grid, .bw-review-layout, .bw-contact-grid { grid-template-columns: 1fr; gap: 36px; }
	.bw-split__img { min-height: 280px; }
	.bw-review-side { position: static; }
	.bw-footer__main { grid-template-columns: 1fr 1fr; }
	.bw-mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--bw-line); padding: 10px 16px; z-index: 80; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
	.single-bw_review { padding-bottom: 72px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.bw-section { padding: 52px 0; }
	.bw-cats, .bw-cats[class*="bw-cats--"], .bw-grid, .bw-grid--auto, .bw-grid--3, .bw-proscons, .bw-facts { grid-template-columns: 1fr; }
	.bw-cats .bw-cat, .bw-cats .bw-cat:first-child { grid-column: auto !important; }
	.bw-facts div { border-right: 0 !important; border-bottom: 1px solid var(--bw-line) !important; }
	.bw-facts div:last-child { border-bottom: 0 !important; }
	.bw-slide { min-height: 480px; }
	.bw-section-head { flex-direction: column; align-items: start; }
	.bw-topbar .bw-wrap > span:first-child { display: none; }
	.bw-bottom-cta { grid-template-columns: 1fr; }
	.bw-footer__main { grid-template-columns: 1fr; }
	.admin-bar .bw-header { top: 0; }
}
