:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #1a2233;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420;
    --surface: #171d2b;
    --text: #e6e9f0;
    --text-muted: #93a0b4;
    --border: #262e40;
    --primary: #4f8cff;
    --primary-dark: #6ea0ff;
    --accent: #34d399;
    --danger: #f87171;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.top-nav {
  margin: 0 0 12px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.top-nav::-webkit-scrollbar {
  display: none;
}
.top-nav a {
  flex-shrink: 0;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span.mark {
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.logo-mark {
  flex-shrink: 0;
  border-radius: 9px;
}
.logo-text {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-text b {
  font-weight: 800;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 14px;
  font-weight: 600;
}
nav.site-nav a:hover { color: var(--primary); }

.hero {
  padding: 48px 0 28px;
  text-align: center;
}
.hero h1 {
  font-size: 32px;
  margin: 0 0 10px;
}
.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.hero-compact {
  padding: 22px 0 4px;
}
.hero-compact h1 {
  font-size: 22px;
  margin: 0;
}

.disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 18px auto 0;
}
.disclaimer-bottom {
  margin: 24px auto 8px;
}

.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.field select,
.field input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.result-count {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 14px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

/* New card style (offer-card2) */
.offer-card2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.offer-card2:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.oc-banner {
  position: relative;
  padding: 10px 34px 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  min-height: 34px;
  display: flex;
  align-items: center;
}
.color-blue .oc-banner { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.color-green .oc-banner { background: linear-gradient(135deg, #16a34a, #15803d); }
.color-orange .oc-banner { background: linear-gradient(135deg, #f59e0b, #d97706); }
.color-purple .oc-banner { background: linear-gradient(135deg, #9333ea, #7e22ce); }

.oc-online {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
}

.oc-body {
  padding: 18px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oc-logo {
  min-width: 64px;
  width: auto;
  max-width: 108px;
  height: 64px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 10px;
  padding: 3px 4px;
}
.oc-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.oc-name {
  margin: 0 0 4px;
  font-size: 17px;
}

.oc-rating {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.oc-pill {
  font-size: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  max-width: 100%;
}

.oc-rows {
  width: 100%;
  text-align: left;
  margin-bottom: 12px;
}
.oc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
}
.oc-row-label {
  color: var(--text-muted);
  flex: 1;
}
.oc-row-value {
  font-weight: 700;
}

.oc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.oc-tag {
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 999px;
}

.oc-license {
  font-size: 10.5px;
  color: var(--text-muted);
  opacity: 0.75;
  margin-bottom: 12px;
}

.oc-cta {
  width: 100%;
  text-align: center;
}

.oc-name-link {
  color: var(--text);
  text-decoration: none;
}
.oc-name-link:hover { color: var(--primary); }

/* New minimal card style (offer-card3) */
.offer-card3 {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.offer-card3:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.offer-card3.is-top {
  border: 2px solid var(--primary);
}

.oc3-top-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
}

.oc3-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.oc3-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.oc3-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.oc3-logo {
  min-width: 60px;
  width: auto;
  max-width: 100px;
  height: 60px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 3px 4px;
}
.oc3-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.oc3-head-text { min-width: 0; }

.oc3-name {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.oc3-name:hover { color: var(--primary); }

.oc3-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oc3-amount {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.oc3-rate {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.oc3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.oc3-cell {
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.oc3-cell-label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 2px;
}
.oc3-cell b {
  font-size: 14.5px;
}

.oc3-approval-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.oc3-approval-row b {
  color: var(--text);
  font-weight: 700;
}

.oc3-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 18px;
}
.oc3-progress-fill {
  height: 100%;
  border-radius: 999px;
}
.oc3-progress-fill.approval-high { background: var(--accent); }
.oc3-progress-fill.approval-mid { background: #f59e0b; }
.oc3-progress-fill.approval-low { background: var(--danger); }

.oc3-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oc3-cta {
  background: #111827;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14.5px;
  width: 100%;
  text-align: center;
}
.oc3-cta:hover { background: #000; }

@media (prefers-color-scheme: dark) {
  .oc3-cta { background: var(--primary); }
  .oc3-cta:hover { background: var(--primary-dark); }
}

.oc3-review {
  display: block;
  text-align: center;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.oc3-review:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.back-link {
  display: inline-block;
  margin: 20px 0 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.back-link:hover { color: var(--primary); }

.detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s;
}
.detail-back-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 18px 0 48px;
}

.detail-banner {
  padding: 14px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.color-blue .detail-banner { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.color-green .detail-banner { background: linear-gradient(135deg, #16a34a, #15803d); }
.color-orange .detail-banner { background: linear-gradient(135deg, #f59e0b, #d97706); }
.color-purple .detail-banner { background: linear-gradient(135deg, #9333ea, #7e22ce); }

.detail-body {
  padding: 28px 30px 32px;
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.detail-logo {
  min-width: 76px;
  width: auto;
  max-width: 130px;
  height: 76px;
  font-size: 36px;
  flex-shrink: 0;
  padding: 10px 12px;
}
.detail-head h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.detail-description {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.detail-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.detail-stat span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.detail-stat b {
  font-size: 15px;
}

.detail-body h2 {
  font-size: 16px;
  margin: 24px 0 10px;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail-tags {
  justify-content: flex-start;
}

.detail-license {
  margin: 18px 0 0;
}

a.detail-cta {
  display: block !important;
  width: fit-content;
  margin: 22px auto 0 !important;
}

a.detail-cta-top {
  display: block !important;
  width: fit-content;
  margin: 4px auto 18px !important;
}

.detail-about-p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.pc-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.pc-col h3 {
  margin: 0 0 10px;
  font-size: 14px;
}
.pc-pros h3 { color: var(--accent); }
.pc-cons h3 { color: var(--danger); }
.pc-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.steps-list {
  margin: 0;
  padding-left: 20px;
  counter-reset: step;
}
.steps-list li {
  margin-bottom: 14px;
  padding-left: 4px;
}
.steps-list li b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.steps-list li span {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+ ";
  color: var(--primary);
  font-weight: 800;
}
.faq-item[open] summary::before {
  content: "− ";
}
.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  transition: box-shadow 0.15s, transform 0.15s;
}
.offer-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.offer-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.offer-main .offer-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-main h3 {
  margin: 0;
  font-size: 18px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
}
.badge.type-bank {
  background: rgba(22, 163, 74, 0.12);
  color: var(--accent);
}

.offer-description {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 6px 0 10px;
  line-height: 1.5;
}

.offer-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}
.tag {
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}

.offer-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
.offer-stats .stat b {
  display: block;
  font-size: 14.5px;
  color: var(--text);
}
.offer-stats .stat span {
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.offer-cta {
  text-align: center;
  flex-shrink: 0;
}

.btn-apply {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-apply:hover { background: var(--primary-dark); }

.approval-rate {
  font-size: 11.5px;
  color: var(--accent);
  margin-top: 8px;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.page-btn:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page-btn:disabled,
.page-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.page-dots {
  color: var(--text-muted);
  padding: 0 4px;
  font-weight: 600;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
}
footer.site-footer a {
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--primary); }

.quick-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px 0 0;
}
.quick-categories a {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
.quick-categories a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0 48px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-cover {
  font-size: 34px;
  margin-bottom: 10px;
}
.blog-cover-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin: -22px -22px 12px;
  width: calc(100% + 44px);
}
.blog-date {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.blog-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.blog-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}
.blog-readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px;
  margin: 18px 0 24px;
}
.article-cover {
  font-size: 40px;
  margin-bottom: 8px;
}
.article-cover-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 6px;
  display: block;
}
.article-credit {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 14px;
}
.article-card h2 {
  font-size: 19px;
  margin: 26px 0 10px;
}
.article-card a {
  color: var(--primary);
  text-decoration: none;
}
.article-card p a:hover { text-decoration: underline; }
.article-card .btn-apply {
  color: #fff !important;
  text-decoration: none;
}

.article-reco {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-reco-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.article-reco-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  flex-wrap: wrap;
}
.article-reco-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  font-size: 26px;
}
.article-reco-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}
.article-reco-text {
  flex: 1;
  min-width: 160px;
}
.article-reco-name {
  display: block;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none !important;
}
.article-reco-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 2px 0;
}
.article-reco-amount {
  font-size: 12.5px;
  font-weight: 700;
}
.article-reco-btn {
  white-space: nowrap;
}

.related-articles {
  margin: 0 0 40px;
}
.related-articles h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.15s;
}
.related-card:hover { border-color: var(--primary); }
.related-cover { font-size: 22px; }
.article-date {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-card h1 {
  margin: 0 0 18px;
  font-size: 26px;
}
.article-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.article-cta {
  display: inline-block;
  margin-bottom: 48px;
}

/* Static pages: about, contacts, privacy, terms */
.static-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px;
  margin: 18px 0 48px;
}
.static-page h1 {
  margin: 0 0 6px;
  font-size: 26px;
}
.static-updated {
  color: var(--text-muted);
  font-size: 12.5px;
  margin: 0 0 22px;
}
.static-page h2 {
  font-size: 16.5px;
  margin: 26px 0 8px;
}
.static-page p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.contact-ico {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
}
.contact-card p {
  margin: 0;
  font-size: 13px;
}
.contact-note {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
}

@media (max-width: 640px) {
  .offer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .offer-logo { margin: 0 auto; }
  .offer-stats { justify-content: center; }
}

/* Stats page */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.stats-table th, .stats-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.stats-table th {
  background: var(--bg);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stats-actions {
  margin: 18px 0;
  display: flex;
  gap: 10px;
}
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.summary-card b {
  font-size: 24px;
  display: block;
}
.summary-card span {
  color: var(--text-muted);
  font-size: 12.5px;
}

/* Thematic SEO text below the catalog grid on category pages */
.category-seo-text {
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.category-seo-text h2 {
  font-size: 19px;
  margin: 0 0 14px;
}
.category-seo-text p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.category-seo-text p:last-child {
  margin-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .detail-body,
  .article-card,
  .static-page {
    padding: 20px 16px 24px;
  }

  .detail-head {
    gap: 12px;
  }
  .detail-logo {
    min-width: 56px;
    width: auto;
    max-width: 96px;
    height: 56px;
    font-size: 26px;
  }
  .detail-head h1 {
    font-size: 20px;
  }

  .article-card h1 {
    font-size: 21px;
  }
  .article-card .article-cover-img {
    max-height: 200px;
  }

  .static-page h1 {
    font-size: 21px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-reco-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .article-reco-logo {
    margin: 0 auto;
  }
  .article-reco-btn {
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .blog-cover-img {
    height: 110px;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}
