:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --blue: #1769aa;
  --blue-dark: #0f4f84;
  --blue-soft: #eaf4fb;
  --cyan: #86d7fb;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 999;
  background: white; color: var(--ink); padding: 10px 14px;
  border-radius: 8px; box-shadow: var(--shadow);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,24,40,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: white; text-decoration: none; font-weight: 800;
  letter-spacing: -.02em; font-size: 1.28rem; white-space: nowrap;
}
.brand-mark {
  width: 35px; height: 35px; border-radius: 9px;
  border: 2px solid #69c6ef; position: relative;
  box-shadow: inset 0 0 0 5px rgba(105,198,239,.08);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #69c6ef; }
.brand-mark::before { width: 18px; height: 2px; left: 7px; top: 15px; }
.brand-mark::after { width: 2px; height: 18px; left: 15px; top: 7px; }
.brand span { color: #69c6ef; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent;
  border: 1px solid rgba(255,255,255,.2); color: white;
  border-radius: 9px; padding: 9px 12px; font: inherit; cursor: pointer;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #e7edf5; text-decoration: none; font-weight: 600; font-size: .94rem; }
.site-nav a:hover, .site-nav a:focus { color: white; }
.site-nav .nav-cta {
  color: white; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 13px;
}

/* Hero */
.hero {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(85,184,232,.20), transparent 30%),
    linear-gradient(135deg, #0d1523 0%, #132c48 56%, #1769aa 100%);
  overflow: hidden;
}
.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 56px;
  align-items: center;
  padding: 74px 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #bfe8fb; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 800;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #69c6ef; }
.hero h1 {
  margin: 14px 0 20px; max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: .98; letter-spacing: -.05em;
}
.hero-copy {
  max-width: 680px; color: #dbe7f3;
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 800;
  border-radius: 10px; padding: 12px 18px;
}
.button-primary { background: white; color: var(--blue-dark); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); }



.blueprint {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    rgba(6, 38, 65, .32);
  background-size: 28px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  overflow: hidden;
  padding: 26px;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  pointer-events: none;
}
.hero-figure {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.hero-figure img {
  width: 90%;
  max-width: 90%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  background: #eef2f6;
}
.bp-caption {
  position: absolute;
  left: 28px;
  top: 16px;
  z-index: 2;
  color: rgba(210,240,255,.88);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Sections */
.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: white; background: #111827; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 {
  margin: 0 0 12px; font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08; letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-heading p { color: #cbd5e1; }

.cards-4, .cards-3, .cards-2 { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 3px 10px rgba(16,24,40,.03);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 900; margin-bottom: 18px;
}
.card h3 { margin: 0 0 9px; font-size: 1.22rem; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card a { font-weight: 800; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.feature {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: 46px; align-items: center;
}
.feature-panel {
  border-radius: 20px; min-height: 360px; padding: 28px;
  background: linear-gradient(135deg, rgba(23,105,170,.08), rgba(85,184,232,.14));
  border: 1px solid #d6e8f5; position: relative; overflow: hidden;
}
.feature-panel::before {
  content: ""; position: absolute; inset: 24px;
  border: 1px dashed #8fc8e8; border-radius: 16px;
}
.feature-diagram { position: absolute; inset: 70px 55px; }
.feature-diagram .bar {
  height: 18px; margin: 18px 0;
  background: linear-gradient(90deg, #1769aa, #55b8e8); border-radius: 999px;
}
.feature-diagram .bar:nth-child(1) { width: 84%; }
.feature-diagram .bar:nth-child(2) { width: 62%; }
.feature-diagram .bar:nth-child(3) { width: 72%; }
.feature-diagram .bar:nth-child(4) { width: 48%; }
.feature-diagram .dot-row { display: flex; gap: 12px; margin-top: 32px; }
.feature-diagram .dot { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--blue); }
.feature-copy h2 {
  margin: 0 0 14px; font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.035em;
}
.feature-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding-left: 28px; margin: 10px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.cta-strip {
  border-radius: 20px; padding: 34px;
  background: linear-gradient(135deg, #0f4f84, #1769aa);
  color: white; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.cta-strip h2 { margin: 0 0 6px; }
.cta-strip p { margin: 0; color: #dcecf7; }

/* Internal pages */
.page-hero { background: linear-gradient(135deg, #111827, #173e62); color: white; padding: 68px 0 58px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1; letter-spacing: -.045em; margin: 10px 0 16px;
}
.page-hero p { max-width: 760px; color: #dce7f2; font-size: 1.1rem; }
.breadcrumb { font-size: .88rem; color: #b9c8d7; }
.breadcrumb a { color: #dff4ff; }
.content-wrap { width: min(calc(100% - 32px), 900px); margin-inline: auto; }
.content-wrap h2 { margin-top: 38px; }
.content-wrap p, .content-wrap li { color: #475467; }
.note { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 18px 20px; border-radius: 8px; }

/* Footer */
.site-footer { background: #0b1220; color: #b8c1cf; padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.footer-brand { color: white; font-weight: 800; font-size: 1.18rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #dbe4ef; text-decoration: none; font-size: .92rem; }
.footer-small { margin-top: 12px; font-size: .88rem; color: #98a2b3; }

@media (max-width: 980px) {
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .blueprint {
    width: min(100%, 720px);
    margin-inline: auto;
  }
  .hero-figure img {
    width: 92%;
    max-width: 92%;
    max-height: 88%;
  }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { position: static; }
  .header-inner { min-height: 68px; position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 66px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px;
    background: #111827; border: 1px solid #263448; border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .site-nav .nav-cta { border-radius: 8px; }
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-grid { min-height: auto; padding: 60px 0; }
  .blueprint {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 20px;
  }
  .hero-figure {
    min-height: 0;
  }
  .hero-figure img {
    width: 94%;
    max-width: 94%;
    height: auto;
    max-height: 86%;
  }
  .cta-strip { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* Version 9: subcategory and article layouts */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.subnav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #cfe5f4;
  border-radius: 999px;
  padding: 8px 12px;
}
.subnav a:hover { background: #dfeff9; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 3px 10px rgba(16,24,40,.03);
}
.category-card h3 { margin-top: 0; }
.category-card p { color: var(--muted); }
.category-card ul { margin: 16px 0 0; padding-left: 20px; }
.category-card li { margin: 6px 0; color: #475467; }
.category-card a { font-weight: 800; text-decoration: none; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 46px;
  align-items: start;
}
.article {
  max-width: 820px;
}
.article h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
}
.article h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.article p,
.article li {
  color: #475467;
}
.article ul,
.article ol {
  padding-left: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: .92rem;
}
.article-intro {
  font-size: 1.13rem;
  color: #344054 !important;
}
.article-summary {
  border: 1px solid #cfe5f4;
  background: #f6fbff;
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
}
.article-summary h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.article-summary ul { margin-bottom: 0; }

.article-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--soft);
  margin-bottom: 18px;
}
.sidebar-box h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-box li { margin: 8px 0; }
.sidebar-box a { text-decoration: none; font-weight: 700; }

.callout {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  padding: 18px 20px;
  border-radius: 8px;
  margin: 26px 0;
}
.callout strong { color: var(--ink); }

.comparison-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  background: white;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table th {
  background: #f8fafc;
  color: var(--ink);
  font-size: .9rem;
}
.comparison-table tr:last-child td { border-bottom: 0; }

.article-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: white;
  box-shadow: 0 4px 14px rgba(16,24,40,.04);
}
.article-card h3 { margin-top: 0; }
.article-card p { color: var(--muted); }
.article-card a { font-weight: 800; text-decoration: none; }

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.placeholder-product {
  border: 1px dashed #98a2b3;
  border-radius: 14px;
  padding: 22px;
  background: #fcfcfd;
  margin: 24px 0;
}
.placeholder-product h3 { margin-top: 0; }

@media (max-width: 980px) {
  .category-grid,
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 680px) {
  .category-grid,
  .article-list { grid-template-columns: 1fr; }
}


/* Version 10: product comparison article */
.pick-grid {
  display: grid;
  gap: 22px;
  margin: 28px 0;
}
.pick-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.pick-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.pick-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-dark);
  color: white;
  font-weight: 900;
}
.pick-title {
  flex: 1;
}
.pick-title h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.pick-title p {
  margin: 0;
  color: var(--muted);
}
.pick-label {
  display: inline-flex;
  margin: 16px 0 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 900;
}
.pick-details {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 18px 0;
}
.pick-detail {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 12px;
}
.pick-detail strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 4px;
}
.pick-detail span {
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
}
.pick-card ul {
  margin-bottom: 0;
}
.affiliate-slot {
  margin-top: 18px;
  border: 1px dashed #98a2b3;
  background: #fcfcfd;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: .9rem;
  color: #475467;
}
.editorial-note {
  border: 1px solid #d0d5dd;
  background: #f9fafb;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.editorial-note p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .pick-head { flex-direction: column; }
  .pick-details { grid-template-columns: 1fr; }
}

/* Version 11: affiliate link UI */
.affiliate-disclosure-banner{border:1px solid #f1d6a8;background:#fff9ed;color:#594315;border-radius:12px;padding:16px 18px;margin:24px 0;font-size:.94rem}.affiliate-disclosure-banner strong{color:#3f2f0e}.amazon-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}.amazon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:9px;text-decoration:none;font-weight:800;color:#111827;background:#f6c453;border:1px solid #d6a431}.amazon-button:hover,.amazon-button:focus{background:#ffd36b;color:#111827}.paid-link-label{display:inline-block;color:#667085;font-size:.82rem;font-weight:700}.site-associate-statement{margin-top:10px;font-size:.84rem;color:#98a2b3}

/* v22: article discovery and responsive guide navigation */
.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0 26px}.discovery-grid .article-card{height:100%}.discovery-grid h3 a{color:inherit;text-decoration:none}.discovery-grid h3 a:hover,.discovery-grid h3 a:focus{text-decoration:underline}.discovery-more{margin-top:18px}.topic-links{display:flex;flex-wrap:wrap;gap:12px}.topic-links a{display:inline-block;padding:12px 17px;border:1px solid var(--line);background:white;border-radius:10px;text-decoration:none;font-weight:700}.topic-links a:hover,.topic-links a:focus{border-color:var(--blue-dark);text-decoration:underline}.guide-jump{margin-bottom:30px}.guide-category{margin:28px 0 42px;scroll-margin-top:100px}.guide-category h2{margin-bottom:14px}.related-guides{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.related-guides ul{margin:8px 0 0;padding-left:20px}.related-guides li{margin:5px 0}.article-breadcrumb{max-width:1100px;margin:18px auto;padding:0 20px}.related-reading{max-width:960px;margin:40px auto 20px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.related-reading ul{padding-left:22px}.related-reading li{margin:8px 0}@media(max-width:900px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.discovery-grid{grid-template-columns:1fr}.topic-links a{flex:1 1 42%;text-align:center}.guide-jump{display:flex;flex-wrap:wrap;gap:8px}}

/* v23: homepage visual refresh; other pages retain their original styling */
.home-v23 .site-header{background:#fff;border-bottom:1px solid #e4e7ec;box-shadow:0 2px 12px rgba(16,24,40,.04)}
.home-v23 .brand{color:#10203c}.home-v23 .brand span{color:#1260c8}
.home-v23 .site-nav a{color:#14223c}.home-v23 .site-nav a:hover,.home-v23 .site-nav a:focus{color:#0758cb}
.home-v23 .site-nav .nav-cta{color:#0758cb;border-color:#b9d0f3}
.home-v23 .nav-toggle{color:#10203c;border-color:#cdd6e1}
.home-hero{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);min-height:480px;background:#edf5fb}
.home-hero-copy{display:flex;align-items:center;position:relative;z-index:1;background:linear-gradient(90deg,#f1f8fd 84%,rgba(241,248,253,.94))}
.home-hero-content{padding:55px 28px 55px max(26px,calc((100vw - 1180px)/2));max-width:650px}
.home-kicker{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1769aa}
.home-hero h1{font-size:clamp(2.3rem,3.7vw,4.1rem);letter-spacing:-.045em;line-height:1.08;color:#0b2246;margin:15px 0 18px}
.home-hero-content>p:not(.home-kicker){font-size:clamp(1rem,1.35vw,1.19rem);line-height:1.55;color:#283f5a}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.home-btn{padding:12px 18px;border-radius:8px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px}
.home-btn-primary{background:#075bd8;color:#fff}.home-btn-primary:hover{background:#084bad;color:#fff}
.home-btn-outline{border:1px solid #075bd8;color:#075bd8;background:#fff}.home-btn-outline:hover{background:#e7f0ff}
.home-hero-media{min-height:480px;overflow:hidden}
.home-hero-media img{height:100%;width:100%;object-fit:cover;object-position:center center}
.home-categories{padding:28px 0 35px;background:#fff}
.home-categories .cards-4{gap:14px}
.home-categories .card{padding:22px;border:0;box-shadow:none;border-radius:9px;background:#eaf4fe}
.home-categories .card:nth-child(2){background:#ecf7ee}
.home-categories .card:nth-child(3){background:#fbf0e8}
.home-categories .card:nth-child(4){background:#f0edfb}
.home-categories .card-icon{width:auto;height:auto;display:block;background:none;color:#1260c8;font-size:2rem;margin-bottom:5px}
.home-categories .card:nth-child(2) .card-icon{color:#228447}
.home-categories .card:nth-child(3) .card-icon{color:#aa5b20}
.home-categories .card:nth-child(4) .card-icon{color:#5545c2}
.home-categories .card h3{font-size:1.12rem}
.home-v23 #latest-articles{padding:40px 0 55px;background:#fff}
.home-v23 #latest-articles .section-heading h2{font-size:2.2rem}
.home-v23 #latest-articles .article-card{background:#fff}
@media(max-width:980px){
.home-hero{grid-template-columns:1fr 1fr}
.home-hero-content{padding:42px 28px}
.home-hero-media{min-height:410px}
.home-categories .cards-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
.home-hero{display:flex;flex-direction:column}
.home-hero-copy{order:1}
.home-hero-media{order:0;min-height:0;height:260px}
.home-hero-media img{object-position:center 42%}
.home-hero-content{padding:30px 20px 38px}
.home-hero h1{font-size:clamp(2rem,8vw,2.8rem)}
.home-hero-actions{gap:9px}
.home-btn{flex:1 1 170px}
.home-categories .cards-4{grid-template-columns:1fr}
.home-categories .card{padding:18px}
}

/* v23.1 desktop-only hero height correction */
@media (min-width:981px){
 .home-v23 .home-hero{height:430px;min-height:0;grid-template-columns:minmax(0,44%) minmax(0,56%)}
 .home-v23 .home-hero-copy{min-height:0}
 .home-v23 .home-hero-content{padding-top:26px;padding-bottom:26px}
 .home-v23 .home-hero h1{font-size:clamp(2.25rem,3.2vw,3.45rem)}
 .home-v23 .home-hero-media{position:relative;min-height:0;height:430px}
 .home-v23 .home-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%}
}

/* v23.2: force a fresh stylesheet and enforce compact desktop hero */
@media (min-width:981px) {
  body.home-v23 .home-hero {display:grid !important;grid-template-columns:minmax(0,45%) minmax(0,55%) !important;height:360px !important;min-height:0 !important;max-height:360px !important;overflow:hidden}
  body.home-v23 .home-hero-copy {min-width:0;min-height:0;align-items:center}
  body.home-v23 .home-hero-content {padding-top:16px;padding-bottom:16px}
  body.home-v23 .home-hero-media {position:relative;min-width:0;min-height:0;height:360px !important;max-height:360px;overflow:hidden}
  body.home-v23 .home-hero-media img {position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:cover;object-position:center 43%}
}

/* v23.3 responsive art direction: widescreen desktop, original 4:3 mobile */
.home-hero-media picture {display:block;width:100%;height:100%}
.home-hero-media picture img {display:block;width:100%;height:100%;object-fit:cover}
@media (min-width:981px) {
  body.home-v23 .home-hero-media picture {position:absolute;inset:0}
  body.home-v23 .home-hero-media picture img {position:static;width:100%;height:100%;object-fit:cover;object-position:center center}
}

/* v23.4: content-safe desktop hero; no clipping at browser zoom or text scaling */
@media (min-width:981px) {
 body.home-v23 .home-hero {display:grid !important;grid-template-columns:minmax(0,43%) minmax(0,57%) !important;height:auto !important;min-height:360px !important;max-height:none !important;overflow:visible !important;align-items:stretch}
 body.home-v23 .home-hero-copy {align-items:center;min-width:0;min-height:0}
 body.home-v23 .home-hero-content {box-sizing:border-box;padding-top:30px;padding-bottom:30px;max-width:none}
 body.home-v23 .home-hero-media {position:relative;min-width:0;min-height:0;height:auto !important;max-height:none !important;overflow:hidden}
 body.home-v23 .home-hero-media picture {position:absolute;inset:0;width:100%;height:100%}
 body.home-v23 .home-hero-media picture img {position:static;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center center}
}

/* v23.5 article thumbnails — desktop only; no mobile visual clutter */
.home-v23 #latest-articles .discovery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-v23 #latest-articles .article-card{min-width:0;overflow:hidden;padding:0 0 17px;border-radius:12px}
.home-v23 #latest-articles .article-thumbnail{display:block;aspect-ratio:16/9;overflow:hidden;margin-bottom:15px;border-bottom:1px solid #e5eaf0}
.home-v23 #latest-articles .article-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}
.home-v23 #latest-articles .article-card>:not(.article-thumbnail){margin-left:16px;margin-right:16px}
.home-v23 #latest-articles .article-card h3{font-size:1.05rem;line-height:1.35}
@media(max-width:1080px){.home-v23 #latest-articles .discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.home-v23 #latest-articles .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .home-v23 #latest-articles .discovery-grid{grid-template-columns:1fr;gap:0}
 .home-v23 #latest-articles .article-thumbnail{display:none}
 .home-v23 #latest-articles .article-card{border:0;border-bottom:1px solid #e1e7ee;border-radius:0;box-shadow:none;padding:14px 0;background:transparent}
 .home-v23 #latest-articles .article-card>:not(.article-thumbnail){margin-left:0;margin-right:0}
 .home-v23 #latest-articles .article-card h3{margin-top:7px}
}

/* v24 visual update: generic CAD hardware banner */
.hardware-workspace-figure{max-width:850px;margin:22px 0 30px;overflow:hidden;border-radius:14px;border:1px solid #e5eaf0}
.hardware-workspace-figure img{width:100%;height:auto;display:block}
