/* ============================================================
   SwissArmyKnifeLab — Victorinox-inspired theme
   Primary: Victorinox Red #DA291C
   Accent:  Gold #F5A623
   Steel:   #6B7280 / #E5E7EB
   Ink:     #1F2937 / #111827
   ============================================================ */

:root {
  --red:        #DA291C;
  --red-dark:   #B71C1C;
  --gold:       #F5A623;
  --steel:      #6B7280;
  --light-steel:#E5E7EB;
  --ink:        #1F2937;
  --ink-dark:   #111827;
  --white:      #FFFFFF;
  --mist:       #F8F9FA;
  --tint-red:   #FDF2F0;
  --radius:     4px;
  --shadow:     0 1px 3px rgba(17,24,39,.08), 0 4px 14px rgba(17,24,39,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-steel);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 40px; width: auto; }
.brand-text .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.brand-text .brand-name .lab { color: var(--red-dark); letter-spacing: 3px; }
.brand-text .brand-tag {
  font-size: .72rem;
  color: var(--steel);
  letter-spacing: .5px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--red); background: var(--mist); }
.main-nav a.active { color: var(--red); }

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 56px 24px 64px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  line-height: 1.15;
  letter-spacing: -1px;
}
.hero p { font-size: 1.1rem; margin: 0 auto 24px; max-width: 620px; opacity: .95; }
.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--red-dark);
  font-weight: 700;
  font-size: .8rem;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .5px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--ink-dark); }
.btn-gold:hover { background: #E09100; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Sections ---------- */
.section-title {
  font-size: 1.6rem;
  margin: 48px 0 8px;
  color: var(--ink-dark);
  letter-spacing: -0.5px;
}
.section-sub { color: var(--steel); margin: 0 0 24px; max-width: 640px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--light-steel);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(17,24,39,.12); }
.card .cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.3; }
.card h3 a { color: var(--ink-dark); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card p { color: var(--steel); font-size: .95rem; flex: 1; margin: 0 0 16px; }
.card .meta { font-size: .8rem; color: var(--steel); }
.read-more { color: var(--red); font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--light-steel);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  background: var(--white);
  transition: all .15s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Category page header ---------- */
.cat-header {
  border-bottom: 2px solid var(--red);
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.cat-header .breadcrumb { font-size: .85rem; color: var(--steel); margin: 0 0 8px; }
.cat-header .breadcrumb a { color: var(--steel); text-decoration: none; }
.cat-header .breadcrumb a:hover { color: var(--red); }
.cat-header h1 { margin: 0; font-size: 2rem; color: var(--ink-dark); letter-spacing: -0.5px; }
.cat-header p { color: var(--steel); margin: 8px 0 0; max-width: 640px; }

/* ---------- Article / post ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article .breadcrumb { font-size: .85rem; color: var(--steel); margin: 0 0 16px; }
.article .breadcrumb a { color: var(--steel); text-decoration: none; }
.article .breadcrumb a:hover { color: var(--red); }
.article-header {
  border-bottom: 2px solid var(--red);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.article-header .cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}
.article-header h1 {
  margin: 8px 0 12px;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink-dark);
  letter-spacing: -0.5px;
}
.article-header .meta { color: var(--steel); font-size: .85rem; }

.disclosure {
  background: var(--mist);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}

.article h2 {
  font-size: 1.5rem;
  color: var(--ink-dark);
  margin: 40px 0 12px;
  letter-spacing: -0.4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--light-steel);
}
.article h3 {
  font-size: 1.15rem;
  color: var(--ink-dark);
  margin: 28px 0 10px;
}
.article p { margin: 0 0 16px; }
.article a { color: var(--red); text-decoration: underline; }
.article a:hover { text-decoration: none; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 24px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink-dark); }

/* Pros / Cons / lab note boxes */
.pros, .cons, .tested-note, .verdict {
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--mist);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.cons { border-left-color: var(--red-dark); }
.verdict { background: var(--tint-red); border-left-color: var(--red); }
.tested-note { border-left-color: var(--gold); }
.pros h3, .cons h3, .tested-note h3, .verdict h3 { margin-top: 0; }

/* affiliate CTA */
.cta {
  background: var(--tint-red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  text-align: center;
}
.cta .btn { margin-top: 6px; }

/* tables (shortlist / specs) */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: .95rem;
}
.article th {
  background: var(--red);
  color: var(--white);
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
}
.article td {
  border: 1px solid var(--light-steel);
  padding: 10px 12px;
}
.article tr:nth-child(even) td { background: var(--mist); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-dark);
  color: var(--light-steel);
  padding: 40px 24px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 28px;
}
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--light-steel); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: .82rem;
  color: var(--steel);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .article-header h1 { font-size: 1.6rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-wrap: wrap; }
}
