/* 首页：新闻资讯 + 联系我们 移动端增强（仅 index.html 引用） */

/* —— 新闻资讯 —— */
.home-news-section .home-news-head {
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-news-section .home-news-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.home-news-card {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .home-news-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
}

.home-news-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 12rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .home-news-card__thumb {
    width: 8rem;
    height: 8rem;
    max-height: none;
    aspect-ratio: 1 / 1;
  }
}

.home-news-card__meta {
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.home-news-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

@media (min-width: 640px) {
  .home-news-card__title {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

/* —— 联系我们 —— */
.home-contact-section .home-contact-grid {
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .home-contact-section .home-contact-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.home-contact-section .home-contact-info h2 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .home-contact-section .home-contact-info h2 {
    margin-bottom: 2rem;
  }
}

.home-contact-section .home-contact-line {
  gap: 0.75rem;
}

.home-contact-section .home-contact-line .material-symbols-outlined {
  font-size: 2rem !important;
}

@media (min-width: 768px) {
  .home-contact-section .home-contact-line .material-symbols-outlined {
    font-size: 2.5rem !important;
  }
}

.home-contact-section .home-contact-address {
  font-size: 0.9375rem;
  line-height: 1.55;
  word-break: break-word;
}

@media (min-width: 768px) {
  .home-contact-section .home-contact-address {
    font-size: 1rem;
  }
}

.home-contact-section .home-contact-qr-card {
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .home-contact-section .home-contact-qr-card {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.home-contact-section .home-contact-qr-wrap {
  width: min(12rem, 70vw);
  height: min(12rem, 70vw);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .home-contact-section .home-contact-qr-wrap {
    width: 12rem;
    height: 12rem;
  }
}
