/* Medical Corner — design-matched to prototype */

/* ── Design token overrides (match prototype exactly) ──────── */
:root {
  --primary:        #0d57a7;
  --primary-dark:   #0b4a91;
  --primary-light:  #dbeafe;
  --primary-faint:  #f0f6ff;
  --teal:           #0891b2;
  --teal-light:     #cffafe;
  --success:        #059669;
  --success-light:  #d1fae5;
  --amber:          #d97706;
  --amber-light:    #fef3c7;
  --violet:         #7c3aed;
  --violet-light:   #ede9fe;
  --surface:        #ffffff;
  --bg:             #f7f9fc;
  --text:           #111827;
  --text-secondary: #374151;
  --muted:          #6b7280;
  --muted-light:    #9ca3af;
  --line:           #e5e7eb;
  --line-strong:    #d1d5db;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:      0 4px 16px rgba(13,87,167,.10);
  --shadow-lg:      0 8px 32px rgba(13,87,167,.14);
}

/* ── Google Fonts loaded in HTML — font applied here ──────── */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Remove .section padding on <main> so hero sits flush */
main.section {
  padding: 0;
}

/* ── Header overrides ─────────────────────────────────────── */
.site-header {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 62px;
  gap: 0.75rem;
}

.nav-spacer { flex: 1; }

.nav-icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  transition: color .15s, background .15s;
  flex-shrink: 0;
  background: transparent;
  border: none;
}

.nav-icon-btn:hover { color: var(--text); background: var(--bg); }

.nav-icon-btn .cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  font-size: 0.6rem;
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.desktop-nav a:hover { color: var(--text); background: var(--bg); }
.desktop-nav a.active { color: var(--primary); background: var(--primary-faint); font-weight: 600; }

/* ── Button overrides ─────────────────────────────────────── */
.btn--light {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn--light:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--students  { background: var(--primary-light); color: var(--primary); }
.badge--buying    { background: var(--success-light); color: var(--success); }
.badge--practical { background: var(--amber-light);   color: var(--amber); }
.badge--clinic    { background: var(--violet-light);  color: var(--violet); }
.badge--new       { background: #fee2e2; color: #b91c1c; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  min-height: 340px;
  padding: 4rem 0 3rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-faint);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero__eyebrow svg { width: 14px; height: 14px; }

.hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero__title em { font-style: normal; color: var(--primary); }

.hero__subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero__stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__visual-bg {
  width: 360px;
  height: 280px;
  background: var(--primary-faint);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__visual-bg::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: var(--primary-light);
  border-radius: 50%;
  top: -60px; right: -60px;
  opacity: .6;
}

.hero__visual-bg::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: var(--primary-light);
  border-radius: 50%;
  bottom: -30px; left: -30px;
  opacity: .4;
}

.hero__card-preview {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  width: 260px;
  position: relative;
  z-index: 1;
}

.hero__card-preview-img {
  height: 100px;
  background: linear-gradient(135deg, var(--primary-light), var(--teal-light));
  border-radius: var(--radius-md);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-preview-img svg { opacity: .4; }
.hero__card-preview-badge { margin-bottom: 0.5rem; }

.hero__card-preview-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.hero__card-preview-meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__card-preview-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted-light);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 2.5rem 0 2rem; }
  .hero__visual { display: none; }
  .hero__stats { gap: 1.5rem; }
}

/* ── Resources banner ─────────────────────────────────────── */
.resources-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1565c0 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: box-shadow .18s, transform .18s;
  margin: 2rem 0;
  text-decoration: none;
}

.resources-banner:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.resources-banner__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.resources-banner__body { flex: 1; }

.resources-banner__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 0.2rem;
}

.resources-banner__title { font-size: 1rem; font-weight: 700; color: #fff; }
.resources-banner__sub { font-size: 0.8rem; color: rgba(255,255,255,.75); margin-top: 0.15rem; }
.resources-banner__arrow { color: rgba(255,255,255,.8); flex-shrink: 0; }

@media (max-width: 540px) {
  .resources-banner { flex-wrap: wrap; }
  .resources-banner__arrow { display: none; }
}

/* ── Category cards ───────────────────────────────────────── */
.category-section { padding: 0 0 2rem; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  min-height: 80px;
}

@media (max-width: 700px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* .cat-card overrides .filter-chip since medical-corner.css loads after styles.css */
.cat-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.cat-card.active { border-color: currentColor; }
.cat-card.active.cat--students  { border-color: var(--primary);  background: var(--primary-faint); }
.cat-card.active.cat--buying    { border-color: var(--success);  background: var(--success-light); }
.cat-card.active.cat--practical { border-color: var(--amber);    background: var(--amber-light); }
.cat-card.active.cat--clinic    { border-color: var(--violet);   background: var(--violet-light); }

.cat-card__icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat--students  .cat-card__icon { background: var(--primary-light); color: var(--primary); }
.cat--buying    .cat-card__icon { background: var(--success-light); color: var(--success); }
.cat--practical .cat-card__icon { background: var(--amber-light);   color: var(--amber); }
.cat--clinic    .cat-card__icon { background: var(--violet-light);  color: var(--violet); }

.cat-card__name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.cat-card__count { font-size: 0.75rem; color: var(--muted); }

/* ── Search ───────────────────────────────────────────────── */
.search-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}

.search-wrap {
  flex: 1;
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,87,167,.08); }
.search-input::placeholder { color: var(--muted-light); }

@media (max-width: 480px) {
  .search-row { flex-direction: column; }
  .search-wrap { width: 100%; }
}

/* ── Active filter pill ───────────────────────────────────── */
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  margin-bottom: 1rem;
}

.active-filter button {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0 0.1rem;
  transition: color .1s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.active-filter button:hover { color: #fff; }

/* ── Section header ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}

/* ── Articles grid ────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .articles-grid { grid-template-columns: 1fr; } }

/* ── Article card ─────────────────────────────────────────── */
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, box-shadow .18s, transform .18s;
  display: flex;
  flex-direction: column;
  animation: fadeUp .25s ease both;
}

.article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.article-card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.article-card--featured .article-card__cover {
  width: 260px;
  flex-shrink: 0;
  border-radius: 0;
  height: auto;
  min-height: 220px;
}

.article-card--featured .article-card__body { padding: 1.75rem; }
.article-card--featured .article-card__title { font-size: 1.2rem; }

@media (max-width: 960px) {
  .article-card--featured { grid-column: span 1; flex-direction: column; }
  .article-card--featured .article-card__cover { width: 100%; height: 180px; min-height: unset; }
}

.article-card__cover {
  height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.article-card__cover-bg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.article-card:hover .article-card__cover-bg { transform: scale(1.03); }

.cover--students  { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.cover--buying    { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.cover--practical { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.cover--clinic    { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.cover--default   { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); }

.article-card__cover-icon { opacity: .35; }

.article-card__new-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.article-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.article-card__meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.article-card__title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

.article-card__excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

.author-name { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }
.author-role { font-size: 0.7rem; color: var(--muted); }

.article-card__read-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

/* Save button */
.save-article-btn {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, color .15s, background .15s;
  padding: 0;
  font-family: inherit;
}

.save-article-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-faint); }
.save-article-btn.active { border-color: #f59e0b; color: #f59e0b; }

/* RTL card support */
.article-card[dir="rtl"] .article-card__title,
.article-card[dir="rtl"] .article-card__excerpt {
  text-align: right;
}

.article-card[dir="rtl"] .article-card__read-time {
  margin-left: 0;
  margin-right: auto;
}

/* ── Empty / loading states ───────────────────────────────── */
.state-empty,
.state-loading {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.state-empty__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.state-empty__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.state-empty__sub { font-size: 0.875rem; color: var(--muted); }

.spinner {
  display: inline-block;
  width: 40px; height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 1rem;
}

.state-loading p { font-size: 0.875rem; color: var(--muted); font-weight: 500; margin: 0; }

/* ── Contribute ───────────────────────────────────────────── */
.contribute {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.contribute__icon {
  width: 56px; height: 56px;
  background: var(--primary-faint);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 1.25rem;
}

.contribute__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.contribute__sub { font-size: 0.9rem; color: var(--muted); max-width: 480px; margin: 0 auto 1.75rem; line-height: 1.6; }
.contribute__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Mobile nav overrides ─────────────────────────────────── */
.mobile-nav {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.625rem;
  text-decoration: none;
}

.mobile-nav a.active { color: var(--primary); }
.mobile-nav svg { width: 20px; height: 20px; }

/* bottom padding for mobile nav */
.main-content { padding-bottom: 5rem; }
@media (min-width: 641px) { .main-content { padding-bottom: 0; } }

/* ── Footer overrides ─────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3,
.site-footer h4 { color: #fff; }

.site-footer h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.site-footer h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.site-footer p { font-size: 0.82rem; line-height: 1.6; }

.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer ul li a { font-size: 0.82rem; color: rgba(255,255,255,.6); transition: color .15s; }
.site-footer ul li a:hover { color: #fff; }
.site-footer li[data-business-location] { font-size: 0.82rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  margin-top: 2rem;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   Article Detail Page styles (used by article-detail.html)
═══════════════════════════════════════════════════════════ */

.article-header {
  padding: 2rem 0 1rem;
  background: linear-gradient(135deg, #e8f3ff 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.article-header .container { max-width: 800px; }

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .2s;
}
.back-link:hover { color: var(--primary-dark); }

.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }

.article-category {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.article-reading-time { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.article-title { font-size: clamp(2rem, 5vw, 2.8rem); margin: 1rem 0 0.8rem; line-height: 1.2; color: var(--primary); }
.article-subtitle { font-size: 1.1rem; color: var(--muted); line-height: 1.6; margin: 0; }

.article-content { background: var(--surface); padding: 2rem 0 1rem; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-section { margin-bottom: 2.5rem; }
.article-section h2 { font-size: 1.8rem; margin: 1.5rem 0 1rem; color: var(--primary); line-height: 1.2; }
.article-section h3 { font-size: 1.3rem; margin: 1.2rem 0 0.7rem; color: var(--text); }
.article-section p { color: var(--muted); line-height: 1.8; margin: 0 0 1rem; font-size: 1rem; }

.article-list { margin: 1rem 0; padding-left: 1.5rem; color: var(--muted); line-height: 1.9; list-style-type: disc; }
.article-list li { margin-bottom: 0.8rem; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.comparison-table thead { background: #eaf2ff; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.comparison-table th { font-weight: 700; color: var(--primary); background: #eaf2ff; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: #f9fcff; }

.related-equipment { padding: 2rem 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related-equipment h2, .related-articles h2 { font-size: 1.8rem; margin: 0 0 0.5rem; color: var(--primary); }
.section-subtitle { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.related-articles { padding: 2rem 0; }
.related-articles h2 { margin-bottom: 1.5rem; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin: 0; }

@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; gap: 1rem; }
  .article-header { padding: 1.5rem 0 1rem; }
  .article-title { font-size: 1.5rem; }
  .article-subtitle { font-size: 1rem; }
  .article-section h2 { font-size: 1.4rem; }
  .comparison-table th, .comparison-table td { padding: 0.8rem 0.6rem; font-size: 0.9rem; }
  .back-link { margin-bottom: 1rem; }
  .article-meta { gap: 0.5rem; margin-bottom: 0.8rem; }
}
