/* =============================================
   ABRASIVE STANDARDS HUB — Global Stylesheet
   ============================================= */

:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2440;
  --primary-light: #254e7a;
  --accent:        #e85d04;
  --accent-hover:  #c94f03;
  --accent2:       #f4a261;
  --steel:         #4a6fa5;
  --steel-light:   #6b90c4;
  --bg:            #f5f6f8;
  --bg-dark:       #e8eaee;
  --text:          #1c2333;
  --text-muted:    #5a6478;
  --white:         #ffffff;
  --border:        #d0d5e0;
  --success:       #166534;
  --warning-bg:    #fffbeb;
  --warning-text:  #78350f;
  --info-bg:       #eff6ff;
  --info-text:     #1e3a8a;
  --card-shadow:   0 2px 14px rgba(26,58,92,0.10);
  --radius:        8px;
  --font:          'Segoe UI', Arial, sans-serif;
  --font-mono:     'Courier New', Courier, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--steel); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 { line-height: 1.2; color: var(--primary); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--primary-dark);
  color: #8daec8;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 2px solid var(--accent);
}
.topbar .wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.topbar a { color: #8daec8; }
.topbar a:hover { color: var(--accent2); }

/* ===================== HEADER ===================== */
header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.header-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 66px;
}
.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #fff;
  letter-spacing: -1px;
}
.logo-name { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0.3px; }
.logo-sub  { color: #7aa4c8; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; display: block; }

/* NAV */
nav.main-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
nav.main-nav a {
  color: #cde0f5; padding: 8px 12px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* DROPDOWN */
.nav-group { position: relative; }
.nav-group > a::after { content: ' ▾'; font-size: 10px; }
.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--primary-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 300;
}
.nav-group:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 18px !important;
  font-size: 13px !important; color: #afc4dc !important;
  border-radius: 0 !important;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.08); color: #fff !important; }

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 9px 24px;
  font-size: 12px; color: var(--text-muted);
}
.breadcrumb .wrap { max-width: 1280px; margin: 0 auto; }
.breadcrumb a { color: var(--steel); }
.breadcrumb span { margin: 0 6px; }

/* ===================== NOTICE BAR ===================== */
.notice-bar {
  background: #fffbeb; border-bottom: 1px solid #fde68a;
  padding: 9px 24px; font-size: 13px; color: var(--warning-text); text-align: center;
}
.notice-bar strong { color: #92400e; }
.notice-bar a { color: #92400e; font-weight: 700; text-decoration: underline; }

/* ===================== SECTION COMMONS ===================== */
.section { padding: 64px 24px; }
.section-sm { padding: 48px 24px; }
.wrap { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 8px;
}
.section-title {
  font-size: 30px; font-weight: 900; color: var(--primary);
  margin-bottom: 10px;
}
.section-sub { color: var(--text-muted); font-size: 16px; max-width: 640px; }
.section-header { margin-bottom: 38px; }
.section-header-flex {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 38px; gap: 16px; flex-wrap: wrap;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block; border-radius: 5px;
  font-weight: 700; font-size: 14.5px;
  padding: 11px 24px; cursor: pointer; transition: all 0.15s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ===================== CARDS ===================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.card:hover { box-shadow: var(--card-shadow); border-color: var(--steel); transform: translateY(-2px); }

/* ===================== TAGS ===================== */
.tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.8px; padding: 2px 9px; border-radius: 3px;
}
.tag-iso  { background: #dbeafe; color: #1e40af; }
.tag-astm { background: #dcfce7; color: #166534; }
.tag-sae  { background: #fef3c7; color: #92400e; }
.tag-ampp { background: #fce7f3; color: #9d174d; }
.tag-nace { background: #ede9fe; color: #5b21b6; }
.tag-sspc { background: #e0f2fe; color: #075985; }
.tag-fepa { background: #fff7ed; color: #9a3412; }
.tag-cat  { background: #f1f5f9; color: var(--text-muted); }

/* ===================== TABLES ===================== */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.tbl {
  width: 100%; border-collapse: collapse;
  font-size: 13px; background: var(--white);
}
.tbl thead { background: var(--primary-dark); color: #fff; }
.tbl thead th { padding: 13px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.tbl tbody tr:nth-child(even) { background: #f8f9fb; }
.tbl tbody tr:hover { background: #e8f0fa; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid #e5e8ef; vertical-align: middle; }
.tbl td:first-child { font-weight: 700; font-family: var(--font-mono); font-size: 12.5px; color: var(--primary); }
.status-active     { color: var(--success); font-weight: 700; font-size: 11px; }
.status-superseded { color: #b45309; font-weight: 700; font-size: 11px; }

/* ===================== INFO / WARNING BOXES ===================== */
.info-box {
  background: var(--info-bg); border-left: 4px solid var(--steel);
  padding: 13px 16px; border-radius: 0 6px 6px 0;
  font-size: 13.5px; color: var(--info-text); margin: 16px 0;
}
.warn-box {
  background: var(--warning-bg); border-left: 4px solid #f59e0b;
  padding: 13px 16px; border-radius: 0 6px 6px 0;
  font-size: 13.5px; color: var(--warning-text); margin: 16px 0;
}

/* ===================== GRIDS ===================== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto-280 { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 22px; }
.grid-auto-220 { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; }

/* ===================== HERO (homepage) ===================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1d4580 55%, #2a5fa8 100%);
  color: #fff;
  padding: 72px 24px 60px;
  overflow: hidden; position: relative;
}
.hero::before {
  content:''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,93,4,0.22); border: 1px solid rgba(232,93,4,0.55);
  color: var(--accent2); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 42px; font-weight: 900; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.5px; color: #fff;
}
.hero h1 span { color: var(--accent2); }
.hero-desc { font-size: 17px; color: #b8d0ea; margin-bottom: 28px; max-width: 560px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--accent2); }
.hero-stat span  { font-size: 11.5px; color: #7aa4c8; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero search panel */
.hero-search {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px; padding: 26px;
}
.hero-search h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.search-row {
  display: flex; background: #fff; border-radius: 5px; overflow: hidden; margin-bottom: 14px;
}
.search-row input {
  flex: 1; border: none; padding: 11px 14px; font-size: 14px;
  outline: none; color: var(--text);
}
.search-row button {
  background: var(--accent); color: #fff; border: none;
  padding: 11px 18px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.quick-links { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-links a {
  background: rgba(255,255,255,0.1); color: #c0d8f0;
  font-size: 12px; padding: 4px 10px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
}
.quick-links a:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: var(--primary); padding: 16px 24px;
  border-bottom: 3px solid var(--accent);
}
.stats-bar .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.stat-item { display: flex; align-items: center; gap: 10px; color: #fff; }
.stat-item .ico { font-size: 22px; color: var(--accent2); }
.stat-item strong { display: block; font-size: 18px; font-weight: 900; }
.stat-item span  { font-size: 11.5px; color: #8daec8; }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 52px 24px 44px; color: #fff; position: relative;
  border-bottom: 3px solid var(--accent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: 34px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-hero p  { color: #afc8e4; font-size: 16px; max-width: 640px; }

/* ===================== STANDARD CARDS ===================== */
.std-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.std-card:hover { box-shadow: var(--card-shadow); border-color: var(--steel); transform: translateY(-2px); }
.std-card h3 { font-size: 17px; font-weight: 800; color: var(--primary); margin: 8px 0 4px; }
.std-card .std-title { font-size: 12.5px; color: var(--text-muted); font-style: italic; margin-bottom: 10px; }
.std-card p { font-size: 13.5px; color: var(--text); line-height: 1.55; }
.std-card-footer {
  margin-top: 14px; padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted);
}
.std-card-footer a { color: var(--accent); font-weight: 700; }

/* ===================== ARTICLE CARDS ===================== */
.art-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex; flex-direction: column;
}
.art-card:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.art-card-stripe {
  height: 7px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--steel) 60%, var(--accent) 100%);
}
.art-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.art-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.art-cat {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); background: #fff3ee; padding: 2px 8px; border-radius: 3px;
}
.art-date { font-size: 12px; color: var(--text-muted); }
.art-card h3 { font-size: 15.5px; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.35; }
.art-card p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.read-more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ===================== CATEGORY CARDS ===================== */
.cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--steel-light); border-radius: 6px;
  padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px;
  transition: box-shadow 0.15s, border-left-color 0.15s; cursor: pointer;
}
.cat-card:hover { box-shadow: var(--card-shadow); border-left-color: var(--accent); }
.cat-card .ico { font-size: 24px; flex-shrink: 0; }
.cat-card h4 { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cat-card span { font-size: 12px; color: var(--text-muted); }

/* ===================== RESOURCE CARDS ===================== */
.res-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
  transition: background 0.15s, border-color 0.15s; cursor: pointer;
}
.res-card:hover { background: rgba(255,255,255,0.13); border-color: var(--accent2); }
.res-card .ico { font-size: 32px; margin-bottom: 12px; }
.res-card h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.res-card p  { color: #7a9bbf; font-size: 13px; line-height: 1.5; }
.res-dl {
  display: inline-block; margin-top: 14px;
  font-size: 12px; font-weight: 700; color: var(--accent2);
  border: 1px solid rgba(244,162,97,0.4);
  padding: 6px 14px; border-radius: 4px;
  transition: background 0.15s;
}
.res-dl:hover { background: rgba(244,162,97,0.15); color: var(--accent2); }

/* ===================== PROCEDURE STEPS ===================== */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.step:hover { border-color: var(--steel); box-shadow: var(--card-shadow); }
.step-num {
  counter-increment: step;
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px;
}
.step-body h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.step-body p  { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.equip-note {
  background: #fffbeb; border-left: 3px solid #f59e0b;
  padding: 7px 12px; border-radius: 0 4px 4px 0;
  font-size: 12.5px; color: var(--warning-text);
}

/* ===================== GLOSSARY ===================== */
.gloss-item {
  border: 1px solid var(--border); border-radius: 6px; padding: 16px;
  border-left: 4px solid var(--steel-light); background: var(--white);
}
.gloss-item dt { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.gloss-item dd { font-size: 13px; color: var(--text-muted); }
.std-ref {
  display: inline-block; margin-top: 6px;
  font-size: 11px; font-weight: 700; color: var(--steel);
  background: #eff6ff; padding: 2px 8px; border-radius: 3px;
}

/* ===================== FAQ ===================== */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 15px 20px; font-weight: 700; font-size: 14.5px; color: var(--primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-q .arrow { font-size: 18px; color: var(--accent); transition: transform 0.2s; }
.faq-q.open .arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.faq-a.open { display: block; }

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: linear-gradient(135deg, var(--steel) 0%, var(--primary) 100%);
  padding: 56px 24px; text-align: center; color: #fff;
}
.newsletter h2 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.newsletter p  { color: #afc8e0; font-size: 16px; margin-bottom: 28px; }
.nl-form { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 12px 16px; border-radius: 5px; border: none;
  font-size: 15px; outline: none;
}
.nl-form button {
  background: var(--accent); color: #fff; border: none;
  padding: 12px 22px; border-radius: 5px; font-weight: 700;
  font-size: 15px; cursor: pointer; white-space: nowrap;
}
.nl-form button:hover { background: var(--accent-hover); }
.nl-note { margin-top: 12px; font-size: 12px; color: #6e99be; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--primary-dark); color: #8daec8;
  padding: 56px 24px 24px;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { font-size: 18px; color: #fff; }
.footer-brand p { font-size: 13px; margin-top: 12px; line-height: 1.6; color: #6b8caa; }
.f-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.f-badge {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: #6b8caa; font-size: 11px; padding: 3px 9px; border-radius: 4px;
}
.footer-col h5 {
  color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: #6b8caa; }
.footer-col a:hover { color: var(--accent2); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #3d5870; flex-wrap: wrap; gap: 8px;
}

/* ===================== ARTICLE CONTENT ===================== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-body { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.article-body h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; color: var(--primary); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--primary); }
.article-body p  { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 12px 0 16px 24px; }
.article-body li { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
.article-body thead { background: var(--primary); color: #fff; }
.article-body th { padding: 11px 14px; text-align: left; }
.article-body td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-body tr:nth-child(even) td { background: var(--bg); }
.article-meta-bar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 14px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 28px;
  font-size: 13px; color: var(--text-muted);
}
.article-meta-bar strong { color: var(--text); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.sidebar-box h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 10px; }
.sidebar-box li a { font-size: 13px; color: var(--text); line-height: 1.4; }
.sidebar-box li a:hover { color: var(--accent); }
.sidebar-box li span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===================== FORM ===================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 5px;
  font-size: 14.5px; font-family: var(--font); color: var(--text);
  background: var(--white); outline: none; transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--steel); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===================== COMPARISON TABLE ===================== */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; box-shadow: var(--card-shadow); border-radius: 8px; overflow: hidden; }
.cmp-table thead { background: var(--primary); color: #fff; }
.cmp-table thead th { padding: 14px 14px; text-align: left; font-weight: 700; font-size: 12.5px; }
.cmp-table tbody tr:nth-child(even) { background: #f8f9fb; }
.cmp-table tbody tr:hover { background: #e8f0fa; }
.cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp-table td:first-child { font-weight: 700; color: var(--primary); }
.equiv-badge { background: #dbeafe; color: #1e3a8a; font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 700; }

/* ===================== MOBILE ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-search { display: none; }
  .hero h1 { font-size: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 24px; }
  .hero h1 { font-size: 26px; }
}
