/* ===== page about-honors (compiled from Vue SCSS) ===== */
@charset "UTF-8";
.honors-page {
  min-height: 80vh;
  min-height: 80dvh;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.border-top {
  border-top: 1px solid #d9e5e0;
}

.overflow-hidden {
  overflow: hidden;
}

.h-full {
  height: 100%;
}

.object-contain {
  object-fit: contain;
} /* 资质证书需要保证完整展示不被裁剪*/
/* 页内 Tab 样式 */
.in-page-tabs .tab-btn {
  background: transparent;
  border: 1px solid #d9e5e0;
  padding: 8px 24px;
  border-radius: 20px;
  color: #66736e;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.in-page-tabs .tab-btn:hover {
  border-color: #0b6b5a;
  color: #0b6b5a;
}
.in-page-tabs .tab-btn.active {
  background-color: #0b6b5a;
  color: #ffffff;
  border-color: #0b6b5a;
}

/* 资质卡片 */
.honor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 资质卡片图片区 */
.honor-image-box {
  height: 200px;
  width: 100%;
  overflow: hidden;
}
.honor-image-box .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.honor-image-box:hover .overlay {
  opacity: 1;
}

/* 图片查看器 (支持原生双指缩放需要依赖浏览器对 img 标签在移动端的处理) */
.image-viewer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.image-viewer-overlay .close-viewer-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}
.image-viewer-overlay .close-viewer-btn:hover {
  color: #0b6b5a;
}
.image-viewer-overlay .viewer-content {
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-viewer-overlay .viewer-content .viewer-img {
  max-width: 100%;
  max-height: 75vh;
  max-height: 75dvh;
  object-fit: contain;
  /* 允许在移动端原生缩放*/
  touch-action: pan-x pan-y pinch-zoom;
}

/* Reverted from utilities.scss */
.py-8 {
  padding-top: 48px;
  padding-bottom: 80px;
}

.mb-8 {
  margin-bottom: 80px;
}

.mb-6 {
  margin-bottom: 48px;
}

.mb-4 {
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: #66736e;
}

.text-main {
  color: #1e2b27;
}

.text-sm {
  font-size: 14px;
}

.line-height-lg {
  line-height: 1.8;
}

.cursor-pointer {
  cursor: pointer;
}

.mb-10 {
  margin-bottom: 40px;
}

.mb-2 {
  margin-bottom: 12px;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.py-10 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.p-4 {
  padding: 24px;
}

.text-white {
  color: #ffffff;
}

.text-xs {
  font-size: 12px;
}

.font-weight-bold {
  font-weight: bold;
}

.max-w-800 {
  max-width: 800px;
}

.bg-light {
  background-color: #f7faf9;
}

.border {
  border: 1px solid #d9e5e0;
}

.position-relative {
  position: relative;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

.hover-up {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-up:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(11, 107, 90, 0.08);
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opacity-80 {
  opacity: 0.8;
}

.gap-4 {
  gap: 24px;
}

.gap-5 {
  gap: 32px;
}

.mb-1 {
  margin-bottom: 8px;
}

.mt-4 {
  margin-top: 24px;
}

.gap-2 {
  gap: 12px;
}

/* Reverted responsive */
@media (max-width: 1199px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .image-viewer-overlay .close-viewer-btn {
    top: 10px;
    right: 15px;
  }
}
