/* HoSports.cn - 体育用品网 主样式表 (100% 本地化, 375px 移动端适配) */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #edf2f8;
  --navy: #0e2440;
  --navy-soft: #17365e;
  --blue: #0f62b5;
  --blue-dark: #0a4a8a;
  --blue-tint: #eaf3fd;
  --orange: #ea6a0a;
  --orange-dark: #c95805;
  --orange-tint: #fff3e8;
  --teal: #0d9488;
  --teal-tint: #e6f7f5;
  --green: #15803d;
  --green-tint: #e8f7ed;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #64748b;
  --border: #dfe6ef;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(14, 36, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 36, 64, 0.08);
  --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: var(--blue-tint);
}

.nav-link-accent {
  color: var(--orange-dark);
}

.nav-link-accent:hover,
.nav-link-accent.is-active {
  color: #fff;
  background: var(--orange);
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 4px 3px 14px;
  max-width: 240px;
  flex-shrink: 0;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--ink);
  width: 150px;
  min-width: 0;
  font-family: inherit;
}

.header-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.header-search button:hover {
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-nav {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}

.mobile-search button {
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-links a {
  display: block;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.mobile-links a.is-active {
  background: var(--blue-tint);
  color: var(--blue);
}

/* Announcement Bar */
.announce-bar {
  background: var(--navy);
  color: #e2ecf8;
  font-size: 13.5px;
  border-bottom: 2px solid var(--orange);
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}

.announce-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announce-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.announce-text {
  font-weight: 600;
  color: #ffffff;
}

.announce-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announce-links a {
  color: #a9ccf5;
  font-size: 13px;
}

.announce-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-block {
  width: 100%;
}

.cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.badge-blue { background: var(--blue-tint); color: var(--blue-dark); }
.badge-teal { background: var(--teal-tint); color: #0f766e; }
.badge-orange { background: var(--orange-tint); color: var(--orange-dark); }
.badge-green { background: var(--green-tint); color: var(--green); }

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #eef5fd 60%, #fef4eb 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 36, 64, 0.1);
}

.metric-item strong {
  display: block;
  font-size: 19px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.metric-item span {
  font-size: 12.5px;
  color: var(--muted);
}

.hero-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.matrix-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.matrix-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.matrix-icon {
  width: 48px;
  height: 48px;
}

.matrix-body h2 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--navy);
}

.matrix-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 44px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 4px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  color: var(--navy);
}

.section-more {
  font-size: 14px;
  font-weight: 600;
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
}

.lead-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.lead-visual {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lead-visual img {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  border-radius: 14px;
}

.lead-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lead-body h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.lead-body h3 a {
  color: var(--navy);
}

.lead-body h3 a:hover {
  color: var(--blue);
}

.lead-body p {
  margin: 0 0 16px;
  color: var(--ink-2);
}

.spec-pill {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #f3f7fc;
  border-left: 3px solid var(--blue);
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
}

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.read-link {
  font-weight: 600;
  color: var(--blue);
}

.side-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.mini-date {
  font-size: 12.5px;
  color: var(--muted);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.4;
}

.mini-card h3 a {
  color: var(--navy);
}

.mini-card h3 a:hover {
  color: var(--blue);
}

.mini-card p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-spec {
  font-size: 12.5px;
  color: var(--blue-dark);
  font-weight: 600;
}

/* Tool Strip */
.tool-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tool-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tool-code {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--navy);
}

.tool-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.tool-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-dark);
}

/* 4 Channels Showcase */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.channel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.channel-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-title-wrap h3 {
  margin: 0 0 2px;
  font-size: 18px;
}

.channel-title-wrap h3 a {
  color: var(--navy);
}

.channel-title-wrap p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.channel-more {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.channel-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.channel-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.channel-item-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.channel-item-title:hover {
  color: var(--blue);
}

.channel-item-spec {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  display: inline-block;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.tag-pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tag-pill-sm {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.tag-pill-sm:hover,
.tag-pill-sm.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* FAQs */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-group {
  margin-bottom: 28px;
}

.faq-group-title {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--navy);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-cat {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 12px;
  margin-top: 2px;
}

.faq-a {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--ink-2);
  font-size: 14px;
}

/* Inner Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0e2440 0%, #143a69 100%);
  color: #e8f1fb;
  padding: 32px 0 34px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a9c4e4;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #cfe3fb;
}

.breadcrumb a:hover {
  color: #fff;
}

.banner-flex {
  display: flex;
  align-items: center;
  gap: 18px;
}

.banner-icon {
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  border-radius: 14px;
  flex-shrink: 0;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.3;
  color: #ffffff;
}

.page-banner p {
  margin: 0;
  max-width: 820px;
  color: #d2e2f5;
  font-size: 15px;
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.banner-tags .tag-pill-sm {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.banner-tags .tag-pill-sm:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* Content + Sidebar Layout */
.content-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: start;
}

.main-col,
.sidebar-col {
  min-width: 0;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.article-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.meta-text {
  font-size: 13px;
  color: var(--muted);
}

.article-row h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.article-row h2 a {
  color: var(--navy);
}

.article-row h2 a:hover {
  color: var(--blue);
}

.article-row p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

/* Article Detail */
.article-head .cat-badge {
  margin-bottom: 12px;
}

.article-summary {
  margin: 10px 0 16px !important;
  font-size: 15.5px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #b7d0ee;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.callout-box {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 14.5px;
}

.prose h2 {
  margin: 28px 0 12px;
  font-size: 21px;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--surface-alt);
  scroll-margin-top: 86px;
}

.prose h3 {
  margin: 20px 0 10px;
  font-size: 17px;
  color: var(--navy-soft);
}

.prose p {
  margin: 0 0 14px;
  color: var(--ink-2);
}

.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.spec-table,
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.prose table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}

.spec-table td,
.prose table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--ink-2);
}

.spec-table tbody tr:nth-child(even),
.prose table tbody tr:nth-child(even) {
  background: #f8fafd;
}

.article-tags-bar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tags-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.article-disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
}

/* Sidebar Widgets */
.side-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.side-widget h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--navy);
}

.side-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.toc-widget {
  position: sticky;
  top: 86px;
}

.toc-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--ink-2);
}

.toc-list a:hover {
  color: var(--blue);
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.side-links li:last-child {
  border-bottom: 0;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.related-list li:last-child {
  border-bottom: 0;
}

.related-list a {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 3px;
}

.related-list a:hover {
  color: var(--blue);
}

.related-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.side-faq-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
}

.side-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.side-faq-item p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 13px;
}

.side-search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-search-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}

/* Calculators / Tools */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 86px;
}

.calc-head h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  color: var(--navy);
}

.calc-head p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.field select,
.field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
}

.calc-result {
  background: #f6f9fe;
  border: 1px solid #d4e3f6;
  border-radius: var(--radius);
  padding: 20px;
}

.res-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.kpi-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.kpi strong {
  display: block;
  font-size: 17px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.res-note {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-2);
}

/* Search Hero */
.search-hero-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  max-width: 680px;
}

.search-hero-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
}

.empty-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}

.empty-box h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.page-btn,
.page-num {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}

.page-num.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d6ea;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 20px 36px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.footer-intro {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #b4c8e0;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 13.5px;
}

.footer-col a {
  color: #b4c8e0;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 13px;
  color: #9cb4cf;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom a {
  color: #d6e6fa;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Breakpoints (verified down to 375px with zero horizontal overflow) */
@media (max-width: 1080px) {
  .main-nav,
  .header-search {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid,
  .featured-grid,
  .content-sidebar-grid,
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toc-widget {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }
  .brand-logo {
    height: 36px;
  }
  .hero-section {
    padding: 26px 0 30px;
  }
  .hero-copy h1 {
    font-size: 24px;
  }
  .hero-matrix,
  .tool-strip,
  .channels-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .metric-item strong {
    font-size: 16px;
  }
  .section {
    padding: 30px 0;
  }
  .section-head h2 {
    font-size: 20px;
  }
  .page-banner {
    padding: 24px 0;
  }
  .page-banner h1 {
    font-size: 22px;
  }
  .banner-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .article-card {
    padding: 20px 16px;
  }
  .article-row {
    padding: 18px 16px;
  }
  .calc-card {
    padding: 18px 16px;
  }
  .res-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-hero-form {
    flex-direction: column;
  }
  .announce-links {
    display: none;
  }
}
