/* 清关单据 — /service/tender/ */

.sth-page {
  padding: 0 0 72px;
  --sth-blue: #1d5198;
  --sth-border: rgba(29, 81, 152, 0.18);
  --sth-accent: #e8f0fb;
}

.sth-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  margin: 36px 0 28px;
  padding: 28px 30px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef3fa 100%);
}

.sth-hero > div:first-child {
  flex: 1 1 280px;
  min-width: 0;
}

.sth-hero__lead {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
}

.sth-hero__note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #6c757d;
}

.sth-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  font-size: 14px;
}

.sth-hero__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--sth-blue);
  text-decoration: none;
}

.sth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 12px;
  flex: 0 1 auto;
  min-width: min(100%, 320px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sth-stats li {
  padding: 16px 14px;
  border: 1px solid var(--sth-border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.sth-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1.1;
  color: #0f2744;
}

.sth-stats span {
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
}

.sth-section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  padding-left: 14px;
  border-left: 4px solid var(--sth-blue);
}

.sth-advanced-filters {
  margin-bottom: 22px;
}

.sth-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.sth-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sth-filter {
  padding: 8px 14px;
  border: 1px solid #c5d4ea;
  border-radius: 3px;
  background: #fff;
  color: #495057;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sth-filter:hover {
  background: var(--sth-accent);
  border-color: #a8c0e6;
}

.sth-filter.is-active {
  border-color: var(--sth-blue);
  background: var(--sth-blue);
  color: #fff;
}

.sth-filter-reset {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--sth-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  margin-left: auto;
}

.sth-filter-reset:hover {
  background: #ebf3ff;
}

.sth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sth-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.sth-card:hover {
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.1);
  transform: translateY(-2px);
}

.sth-card.is-hidden {
  display: none;
}

.sth-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3fa;
  text-decoration: none;
}

.sth-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s;
}

.sth-card:hover .sth-card__media img {
  transform: scale(1.03);
}

.sth-card__group {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 0 3px 3px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--sth-blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sth-card__group i {
  font-size: 14px;
}

.sth-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.sth-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.sth-card__desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #6c757d;
  flex: 1;
}

.sth-card__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--sth-blue);
  border-radius: 3px;
  background: var(--sth-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sth-card__btn:hover {
  background: #163d72;
  border-color: #163d72;
  color: #fff;
}

.sth-empty {
  margin: 24px 0 0;
  padding: 28px 20px;
  border: 1px dashed #c5d4ea;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: #6c757d;
  background: #f8fafc;
}

.sth-cta {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f2744 0%, #1d5198 100%);
  color: #fff;
}

.sth-cta h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.sth-cta p {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.sth-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 3px;
  background: #fff;
  color: var(--sth-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.sth-cta__btn .pp-eng-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sth-cta__btn:hover {
  background: #ebf3ff;
  color: #163d72;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

@media (max-width: 1280px) {
  .sth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sth-hero > div:first-child {
    flex-basis: 100%;
  }

  .sth-stats {
    width: 100%;
    min-width: 0;
  }

  .sth-filter-reset {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .sth-grid {
    grid-template-columns: 1fr;
  }

  .sth-stats {
    grid-template-columns: 1fr;
  }
}
