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

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

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

.bg-dark {
  background-color: #121816;
}

.bg-white {
  background-color: #ffffff;
}

.border-white {
  border-color: rgba(255, 255, 255, 0.4);
}

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

.overflow-hidden {
  overflow: hidden;
}

.align-items-start {
  align-items: flex-start;
}

.h-full {
  height: 100%;
}

.object-cover {
  object-fit: cover;
}

a {
  text-decoration: none;
}

/* 核心网格布局 */
.contact-main-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
}

.hq-info-grid {
  display: flex;
  flex-direction: column;
}

.map-container {
  min-height: 400px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-card .desc-wrapper {
  height: 75.6px; /* 固定3行文字高度: text-sm(14px) * line-height-lg(1.8) * 3 */
  overflow: hidden;
}
.contact-card .desc-wrapper p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.contact-card .contact-methods {
  margin-top: auto; /* 将联系方式推到底部*/
  height: 80px; /* 固定高度，不受内容多少影响*/
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.p-10 {
  padding: 40px 60px;
}

.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;
}

.hover-primary {
  transition: color 0.3s;
}
.hover-primary:hover {
  color: #0b6b5a;
}

.p-6 {
  padding: 48px;
}

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

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

.text-primary {
  color: #0b6b5a;
}

.max-w-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

.d-flex {
  display: flex;
}

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

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

.p-4 {
  padding: 24px;
}

.mb-3 {
  margin-bottom: 16px;
}

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

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

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

.shadow-md {
  box-shadow: 0 4px 12px rgba(11, 107, 90, 0.08);
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.justify-between {
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.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);
}

.interactive-btn {
  transition: transform 0.2s ease;
}
.interactive-btn:hover, .interactive-btn:focus {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
}
.interactive-btn:active {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
  transform: scale(0.96) translateY(2px);
}

.no-hover-bg:hover, .no-hover-bg:focus {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
}

.mt-10 {
  margin-top: 40px;
}

.opacity-80 {
  opacity: 0.8;
}

.px-8 {
  padding-left: 80px;
  padding-right: 80px;
}

.mt-1 {
  margin-top: 8px;
}

.gap-6 {
  gap: 48px;
}

.mr-4 {
  margin-right: 24px;
}

.pt-4 {
  padding-top: 24px;
}

/* Reverted responsive */
@media (max-width: 1199px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .hq-info {
    padding: 24px !important;
  }
}
@media (max-width: 1199px) {
  .hq-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .hq-info-grid .info-item {
    margin-bottom: 0 !important;
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }
  .hq-info-grid .info-item .icon {
    margin-right: 0;
    margin-bottom: 16px;
  }
  .hq-info-grid .info-item .flex-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 767px) {
  .hq-info-grid {
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .map-container {
    min-height: 350px; /* 放大地图模块*/
  }
}
@media (max-width: 1199px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-10 {
    padding: 40px 20px;
  }
}
@media (max-width: 767px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .map-overlay {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
}