:root {
  --rank-navy: #283142;
  --rank-dark: #202635;
  --rank-red: #ff163d;
  --rank-green: #00c934;
  --rank-bg: #edf0f6;
  --rank-panel: #dce3ee;
  --rank-yellow: #ffde44;
}

body {
  background: var(--rank-bg);
  color: #151923;
  font-family: "PT Sans", Ubuntu, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
}

a { color: var(--rank-red); }
a:hover { color: var(--rank-dark); }

.site-head { background: var(--rank-bg); }
.brand-strip { display: flex; justify-content: space-between; align-items: center; min-height: 102px; gap: 24px; }
.brand-logo { color: var(--rank-navy); font-size: 24px; line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.brand-logo span { display: block; color: var(--rank-red); }
.top-products { display: flex; gap: 70px; color: var(--rank-navy); font-weight: 800; }
.rank-nav { background: var(--rank-dark); height: auto; line-height: 1.2; box-shadow: none; }
.rank-nav .nav-wrapper { min-height: 40px; }
.rank-nav ul { display: flex; flex-wrap: nowrap; width: 100%; overflow: hidden; }
.rank-nav li { flex: 1 1 0; min-width: 0; text-align: center; }
.rank-nav a { color: #fff; display: block; font-size: 13px; font-weight: 900; padding: 12px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-nav li:nth-child(odd) { background: var(--rank-navy); }
.rank-nav .nav-children { display: none; }
.rank-nav .nav-children a { font-size: 12px; padding: 3px 4px; }

.hero-rank { border-bottom: 5px solid var(--rank-red); padding: 44px 0 38px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 42px; align-items: center; }
.hero-rank h1 { margin: 0 0 24px; color: var(--rank-navy); font-size: 38px; line-height: 1.02; font-weight: 900; text-transform: uppercase; }
.hero-rank h1 span { display: block; color: var(--rank-red); font-weight: 400; }
.hero-product { background: #fff; border: 3px solid var(--rank-navy); text-align: center; }
.hero-product img { max-width: 180px; margin: 28px auto 18px; display: block; }
.green-cta { display: block; width: 100%; background: var(--rank-green); color: #fff; text-align: center; padding: 16px; text-transform: uppercase; font-weight: 900; }
.green-cta:hover { color: #fff; filter: brightness(.95); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding: 26px 0; }
.product-panel { background: var(--rank-panel); padding: 24px; }
.product-panel h1, .product-panel h2, .product-panel h3 { color: var(--rank-navy); font-weight: 900; letter-spacing: 0; }
.product-panel h1 { font-size: 34px; margin-top: 0; }
.eyebrow { color: var(--rank-red); font-weight: 900; text-transform: uppercase; }
.product-gallery figure { margin: 0 0 18px; }
.product-gallery img, .product-panel figure img { background: #fff; border: 1px solid #c9d0dc; padding: 8px; }
.product-panel table { background: #fff; }

.side-products { background: var(--rank-dark); color: #fff; padding: 18px; }
.side-products h2 { margin-top: 0; color: #fff; font-size: 20px; text-transform: uppercase; }
.side-products a { display: block; color: #fff; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.rank-footer { background: var(--rank-dark); padding-top: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: #fff; }
.archive-link-bank { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.crumbs { background: transparent; box-shadow: none; height: auto; line-height: 1.4; padding: 14px 0 0; }
.crumbs a { margin-right: 10px; }

.content-article, .content-category { max-width: 980px; margin: 26px auto; background: var(--rank-panel); padding: 24px; }
.listing-card { background: #fff; }

@media (max-width: 800px) {
  .brand-strip, .top-products { display: block; }
  .top-products { margin-top: 16px; }
  .top-products span { display: block; margin-bottom: 6px; }
  .hero-grid, .product-layout { grid-template-columns: 1fr; }
  .hero-rank h1 { font-size: 30px; }
}
