/* =============================================================================
   证书查询页（lists_single_search.htm）
   依赖：style.css :root 与 .container
   ============================================================================= */

.page-certificate-inquiry {
  color: var(--zg-text-secondary);
}

.page-certificate-inquiry .cq-main {
  padding-top: 0;
}

/* -----------------------------------------------------------------------------
   Hero：全幅 Banner + 底栏面包屑
   ----------------------------------------------------------------------------- */
.cq-hero {
  position: relative;
}

.cq-hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #0a1628;
}

.cq-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cq-breadcrumb {
  background: var(--zg-gray-100);
  border-bottom: 1px solid var(--zg-border);
}

.cq-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 0 13px;
  font-size: 13px;
  color: var(--zg-text-muted);
}

.cq-bc-link {
  color: var(--zg-text-secondary);
  transition: color 0.2s;
}

.cq-bc-link:hover {
  color: var(--zg-blue);
}

.cq-bc-sep {
  color: #b0b6bf;
}

.cq-bc-current {
  color: var(--zg-text);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   内容区
   ----------------------------------------------------------------------------- */
.cq-page-bg {
  background: linear-gradient(180deg, #e8ecf1 0%, #e2e7ee 40%, #dfe5ec 100%);
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 8vw, 88px);
}

.cq-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.5vw, 32px);
}

.cq-card {
  margin: 0;
  padding: clamp(22px, 3.2vw, 36px) clamp(20px, 3vw, 40px);
  background: var(--zg-white);
  border-radius: var(--zg-radius-lg);
  border: 1px solid var(--zg-border);
  box-shadow: var(--zg-shadow-card);
}

.cq-card-title {
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--zg-border);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--zg-text);
  line-height: 1.35;
}

.cq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cq-figure {
  margin: 0 0 20px;
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px solid var(--zg-border);
  background: var(--zg-gray-100);
}

.cq-figure-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.cq-figure-cap {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--zg-text-muted);
  background: var(--zg-gray-50);
  border-top: 1px solid var(--zg-border);
}

.cq-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--zg-text-secondary);
}

.cq-text strong {
  color: var(--zg-text);
  font-weight: 700;
}

.cq-text:last-child {
  margin-bottom: 0;
}

.cq-text--lead {
  margin-bottom: 18px;
}

.cq-subhead {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--zg-text);
}

.cq-callout {
  margin: clamp(18px, 2.5vw, 22px) 0 0;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--zg-text-secondary);
  background: var(--zg-blue-soft);
  border: 1px solid rgba(13, 110, 220, 0.18);
  border-left: 4px solid var(--zg-blue);
  border-radius: 0 var(--zg-radius-md) var(--zg-radius-md) 0;
}

.cq-callout strong {
  color: var(--zg-text);
  font-weight: 700;
}

.cq-phone-block {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--zg-text-secondary);
}

.cq-phone-label {
  font-weight: 700;
  color: var(--zg-text);
}

.cq-phone-link {
  color: var(--zg-blue);
  font-weight: 700;
  text-decoration: none;
}

.cq-phone-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cq-phone-sep {
  color: var(--zg-text-muted);
}

.cq-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cq-btn-row--single {
  margin-top: 4px;
}

.cq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--zg-radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.cq-btn:active {
  transform: scale(0.98);
}

.cq-btn--primary {
  background: var(--zg-blue);
  color: #fff;
  border-color: var(--zg-blue);
  box-shadow: 0 4px 14px rgba(13, 110, 220, 0.28);
}

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

.cq-btn--outline {
  background: var(--zg-white);
  color: var(--zg-text);
  border-color: var(--zg-border);
}

.cq-btn--outline:hover {
  border-color: var(--zg-blue);
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
}

/* -----------------------------------------------------------------------------
   移动端
   ----------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .cq-hero-banner {
    height: 500px;
  }

  .cq-breadcrumb-inner {
    font-size: 12px;
  }

  .cq-card {
    padding: 18px 14px;
  }

  .cq-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cq-btn {
    width: 100%;
    justify-content: center;
  }

  .cq-phone-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .cq-phone-sep {
    display: none;
  }
}
