html {
  background: #f5f7f8;
}

body {
  background:
    linear-gradient(180deg, #f8fafc 0, #eef2f5 420px, #f7f7f4 100%);
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans TC", "PingFang SC", "PingFang TC", sans-serif;
  line-height: 1.72;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-top: 4px solid #b4232a;
  box-shadow: 0 1px 12px rgba(31, 41, 51, 0.08);
}

.lal-site-header {
  backdrop-filter: blur(14px);
}

.site-title,
.site-title:visited {
  color: #111827;
  font-weight: 750;
  letter-spacing: 0;
}

.lal-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 70px;
}

.lal-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  line-height: 1.1;
  min-width: 250px;
  text-decoration: none;
  white-space: nowrap;
}

.lal-brand-mark {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.lal-brand-copy {
  display: grid;
  gap: 3px;
}

.lal-brand-title {
  color: #111827;
  font-size: 1.14rem;
  font-weight: 850;
}

.lal-brand-subtitle {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
}

.lal-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  line-height: 1.3;
}

.site-nav .page-link {
  border-radius: 8px;
  color: #374151;
  font-size: 0.94rem;
  font-weight: 760;
  margin-left: 0;
  padding: 7px 10px;
  text-decoration: none;
}

.site-nav .page-link:hover {
  background: #eef2f5;
  color: #111827;
}

.lal-language-switch {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d8dee6;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.1);
  display: flex;
  gap: 2px;
  padding: 4px;
  position: fixed;
  right: 18px;
  top: 78px;
  z-index: 20;
}

.lal-language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #4b5563;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  min-height: 32px;
  min-width: 38px;
  padding: 0 10px;
}

.lal-language-switch button[aria-pressed="true"] {
  background: #111827;
  color: #ffffff;
}

.wrapper {
  max-width: 1080px;
}

.page-content {
  padding: 34px 0 52px;
}

.post,
.home {
  max-width: 100%;
}

.post {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(31, 41, 51, 0.07);
  padding: 28px 34px;
}

.post-title,
.page-heading {
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
}

.post-content h2,
.post-content h3 {
  color: #111827;
  font-weight: 780;
  letter-spacing: 0;
  margin-top: 2rem;
}

.post-content h2 {
  border-bottom: 1px solid #d8dee6;
  padding-bottom: 0.35rem;
}

.post-content h2:first-of-type {
  border-bottom: 0;
  color: #b4232a;
  font-size: 1.45rem;
  margin-top: 0;
}

.post-content h2:nth-of-type(2) {
  margin-top: 2.2rem;
}

.post-content strong {
  color: #152238;
}

.post-content a {
  color: #0f766e;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post-content ul,
.post-content ol {
  margin-left: 1.3rem;
}

.lal-hero {
  align-items: center;
  background:
    radial-gradient(circle at 10% 0%, rgba(180, 35, 42, 0.26), transparent 34%),
    linear-gradient(135deg, #111827 0%, #182339 52%, #243b53 100%);
  border-radius: 8px;
  color: #f8fafc;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  margin: 0 0 30px;
  overflow: hidden;
  padding: 34px;
}

.lal-kicker {
  color: #fbbf24;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.lal-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
}

.lal-hero p {
  color: #dbe7f3;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.lal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lal-button {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: #111827;
  display: inline-flex;
  font-weight: 750;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

.lal-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.lal-video {
  background: #0b111f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.lal-video iframe,
.video-case iframe {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  width: 100%;
}

.lal-video-caption {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
  padding: 12px 14px 14px;
}

.lal-section {
  margin: 30px 0;
}

.lal-section h2 {
  color: #111827;
  font-size: 1.55rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.lal-lede {
  color: #4b5563;
  max-width: 850px;
}

.variant-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.variant-grid.compact {
  margin-bottom: 28px;
}

.variant-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.06);
  color: inherit;
  display: block;
  min-height: 156px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.post-content .variant-card {
  color: inherit;
  text-decoration: none;
}

.variant-card:hover {
  border-color: #b9c6d3;
  box-shadow: 0 14px 32px rgba(31, 41, 51, 0.1);
  transform: translateY(-1px);
}

.variant-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.variant-tag {
  color: #b4232a;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.catalog-heading {
  color: #111827;
  font-size: 1.14rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 28px 0 0;
}

.variant-card p {
  color: #4b5563;
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.variant-link {
  color: #0f766e;
  display: inline-block;
  font-weight: 750;
  margin-top: 2px;
}

.variant-video {
  color: #6b7280;
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  margin: 10px 0 0;
}

.compare-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.compare-card,
.mechanic-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.06);
  padding: 18px;
}

.compare-card h3,
.mechanic-panel h3 {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.compare-card p,
.mechanic-panel p {
  color: #4b5563;
  margin: 0 0 14px;
}

.compare-actions,
.endcap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.compare-actions a,
.endcap-actions a,
.mechanic-panel a {
  background: #eef7f5;
  border: 1px solid #b9ded7;
  border-radius: 8px;
  color: #0f766e;
  display: inline-flex;
  font-weight: 800;
  min-height: 38px;
  padding: 6px 12px;
  text-decoration: none;
}

.mechanic-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mechanic-panel {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1.35fr) auto;
}

.mechanic-panel p {
  margin-bottom: 0;
}

.geo-strip {
  background: #ffffff;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.05);
  padding: 18px 20px;
}

.geo-strip p {
  margin: 0;
}

.page-endcap {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(180, 35, 42, 0.06)),
    #ffffff;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.07);
  margin-bottom: 0;
  padding: 22px;
}

.page-endcap p + p {
  margin-top: 8px;
}

.directory-hero {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.07);
  padding: 28px;
}

.directory-hero h1 {
  color: #111827;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 12px;
}

.directory-card {
  min-height: 214px;
}

.variant-answer {
  background: #f8fafc;
  border: 1px solid #d8dee6;
  border-left: 4px solid #b4232a;
  border-radius: 8px;
  margin: 0 0 24px;
  padding: 18px 20px;
}

.variant-answer .answer-label {
  color: #b4232a;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.variant-answer h2 {
  border: 0;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 8px;
  padding: 0;
}

.variant-answer dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 0;
}

.variant-answer dl div {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  padding: 12px 14px;
}

.variant-answer dt {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.variant-answer dd {
  color: #1f2933;
  font-weight: 650;
  margin: 0;
}

.variant-related {
  border-top: 1px solid #d8dee6;
  margin-top: 30px;
  padding-top: 24px;
}

.variant-faq {
  border-top: 1px solid #d8dee6;
  margin-top: 30px;
  padding-top: 24px;
}

.variant-faq h2,
.variant-related h2 {
  color: #111827;
  font-size: 1.35rem;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.variant-faq details {
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  margin: 10px 0;
  padding: 12px 14px;
}

.variant-faq summary {
  color: #111827;
  cursor: pointer;
  font-weight: 780;
}

.variant-faq p {
  color: #4b5563;
  margin: 10px 0 0;
}

.variant-faq ol {
  color: #4b5563;
  margin: 10px 0 0;
  padding-left: 1.3rem;
}

.variant-faq li + li {
  margin-top: 0.4rem;
}

.video-case {
  background: #0b111f;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.14);
  margin: 0.4rem 0 1rem;
  max-width: 100%;
  overflow: hidden;
}

.post-content .video-case + ul {
  background: #f8fafc;
  border: 1px solid #dde4ec;
  border-radius: 8px;
  margin-left: 0;
  padding: 14px 18px 14px 34px;
}

.post-content > p:first-of-type {
  color: #4b5563;
  font-size: 1.03rem;
}

.lal-footer {
  background:
    linear-gradient(135deg, #111827 0%, #162033 52%, #0f2925 100%);
  border-top: 0;
  color: #d1d5db;
  margin-top: 22px;
  padding: 34px 0 24px;
}

.lal-footer-grid {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(320px, 1.5fr) repeat(2, minmax(190px, 0.75fr));
}

.lal-footer h2,
.lal-footer h3 {
  color: #ffffff;
  letter-spacing: 0;
  margin-top: 0;
}

.lal-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.lal-footer p {
  margin-bottom: 0;
}

.lal-footer-brand {
  max-width: 520px;
}

.lal-footer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.lal-footer-metrics li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e5e7eb;
  font-size: 0.88rem;
  font-weight: 750;
  margin: 0;
  padding: 5px 10px;
}

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

.lal-footer li {
  margin: 0 0 9px;
}

.lal-footer a,
.lal-footer a:visited {
  color: #a7f3d0;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lal-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin-top: 26px;
  padding-top: 16px;
}

@media (max-width: 820px) {
  .lal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .site-nav.lal-site-nav {
    background: transparent;
    border: 0;
    display: flex;
    float: none;
    position: static;
    text-align: left;
  }

  .lal-language-switch {
    right: 12px;
    top: 14px;
  }

  .lal-brand {
    min-width: 0;
    padding-right: 88px;
  }

  .lal-site-nav {
    justify-content: flex-start;
    padding-right: 0;
  }

  .site-nav .page-link {
    background: #f8fafc;
    border: 1px solid #dde4ec;
    font-size: 0.88rem;
    padding: 6px 9px;
  }

  .lal-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .variant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mechanic-panel {
    grid-template-columns: 1fr;
  }

  .post {
    padding: 22px;
  }

  .variant-answer dl {
    grid-template-columns: 1fr;
  }

  .lal-footer-grid {
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .lal-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .page-content {
    padding-top: 22px;
  }

  .lal-hero {
    margin-left: -8px;
    margin-right: -8px;
    padding: 20px;
  }

  .lal-hero h1 {
    font-size: 2rem;
  }

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

  .lal-footer-grid {
    grid-template-columns: 1fr;
  }

  .post {
    margin-left: -8px;
    margin-right: -8px;
    padding: 18px;
  }
}
