.page-gjhz {
  background: #fff;
  overflow-x: hidden;
}

.page-gjhz #sec-projects,
.page-gjhz #sec-contact {
  scroll-margin-top: 7.25rem;
}

.gjhz-banner {
  position: relative;
  height: 100vh;
  min-height: 460px;
  max-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--theme-hero-visual-bg);
}

.gjhz-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 39, 0.62) 0%,
    rgba(8, 24, 39, 0.34) 44%,
    rgba(8, 24, 39, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.gjhz-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.gjhz-main {
  background: #fff;
}

.gjhz-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.gjhz-project-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 35, 56, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gjhz-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--theme-primary-rgb), 0.35);
  box-shadow: 0 10px 28px rgba(var(--theme-primary-rgb), 0.15);
}

.gjhz-project-card__img {
  display: block;
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  height: 220px;
  overflow: hidden;
  background: var(--theme-section-muted-bg);
}

.gjhz-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gjhz-project-card:hover .gjhz-project-card__img img {
  transform: scale(1.05);
}

.gjhz-project-card__body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gjhz-project-card__body h3 {
  margin: 0;
  color: var(--theme-heading);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
}

.gjhz-project-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.gjhz-project-card__body h3 a:hover {
  color: var(--theme-primary);
}

.gjhz-project-card__body p {
  margin: 0;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.gjhz-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--theme-text-muted);
  font-size: 0.8125rem;
}

.gjhz-project-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gjhz-project-card__meta i {
  color: var(--theme-primary);
  font-size: 0.875rem;
}

.gjhz-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.gjhz-contact--single {
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
}

.gjhz-contact-card {
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(16, 35, 56, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gjhz-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--theme-primary-rgb), 0.35);
  box-shadow: 0 10px 28px rgba(var(--theme-primary-rgb), 0.15);
}

.gjhz-contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gjhz-contact-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gjhz-contact-card:hover .gjhz-contact-card__icon {
  transform: scale(1.08);
  background: var(--theme-primary);
  color: #fff;
}

.gjhz-contact-card h3 {
  margin: 0 0 0.75rem;
  color: var(--theme-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.gjhz-contact-card p {
  margin: 0.25rem 0;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.gjhz-contact-card__subtitle {
  font-weight: 600;
  color: var(--theme-heading);
}

.gjhz-contact-card__content {
  white-space: pre-line;
}

.gjhz-empty {
  padding: 1.4rem 1.25rem;
  border: 1px dashed rgba(var(--theme-primary-rgb), 0.24);
  border-radius: 0.5rem;
  background: rgba(var(--theme-primary-rgb), 0.04);
  color: var(--theme-text-muted);
  text-align: center;
}

@media (max-width: 991.98px) {
  .page-gjhz #sec-projects,
  .page-gjhz #sec-contact {
    scroll-margin-top: 6.7rem;
  }

  .gjhz-banner {
    height: min(78dvh, 620px);
  }

  .gjhz-projects {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gjhz-project-card__img {
    height: 200px;
  }

  .gjhz-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .gjhz-banner {
    min-height: 320px;
    height: min(62dvh, 460px);
  }

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

  .gjhz-project-card__img {
    height: 180px;
  }

  .gjhz-contact-card {
    padding: 1.5rem 1.25rem;
  }
}
