.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 230px;
  height: 52px;
  object-fit: contain;
}

.contact-card .cc-val,
.contact-card .cc-sub,
.footer-contact .val {
  overflow-wrap: anywhere;
}

.cc-sub {
  display: block;
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cc-lbl-gap {
  margin-top: 16px;
}

.product-figure {
  margin: 28px 0;
  text-align: center;
}

.product-figure img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-figure figcaption {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.product-gallery .product-figure {
  margin: 0;
}

.product-gallery .product-figure img {
  max-width: 100%;
}

@media (max-width: 560px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }
}

.map-embed {
  width: 100%;
  height: 360px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card {
  margin-top: 18px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loc-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.loc-addr {
  font-size: 1.05rem;
  line-height: 1.6;
}

.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.loc-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.loc-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* 页脚去掉联系方式列后，桌面端由 4 列改为 3 列（避免右侧空档） */
@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  /* 产品中心 4 个产品改为 2×2 排布 */
  .product-grid.wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 没有正文的新闻（无链接）不可点击；有正文的可点开看全文 */
a.news-row:not([href]) {
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1024px) {
  .brand-logo {
    width: 200px;
    height: 46px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 164px;
    height: 38px;
  }

  .map-embed {
    height: 300px;
  }
}
