/* =========================================
   Region Hub Layout – Final System
   适用：Northeast / Florida / New England
========================================= */

/* 顶部可能有单独电话时的小行；不用可整段删 */
.northeast-page .region-phone,
.florida-region-page .region-phone,
.new-england-page .region-phone {
  display: block;
  margin: 8px 0;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: #3b6ca9ed;
  text-align: center;
  text-decoration: none;
}

/* ===== 1. 外层白色区域 ===== */
/* 注意：section 本身是 .greater-nyc-hub-section northeast-page 这种结构 */
.greater-nyc-hub-section.northeast-page,
.greater-nyc-hub-section.florida-region-page,
.greater-nyc-hub-section.new-england-page {
  padding: clamp(18px, 4vw, 32px);
}

/* 中间大白卡片容器 */
.northeast-page .greater-nyc-hub-container,
.florida-region-page .greater-nyc-hub-container,
.new-england-page .greater-nyc-hub-container {
  max-width: 1320px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(18px, 4vw, 32px);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.10),
    0 0 1px rgba(255,255,255,0.7);
}

/* ===== 2. 标题区域 ===== */
.northeast-page .greater-nyc-hub-header,
.florida-region-page .greater-nyc-hub-header,
.new-england-page .greater-nyc-hub-header {
  text-align: center;
  margin-bottom: 26px;
}

.northeast-page .greater-nyc-hub-title,
.florida-region-page .greater-nyc-hub-title,
.new-england-page .greater-nyc-hub-title {
  margin: 0 auto;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #222;
  text-align: center;
}

.northeast-page .greater-nyc-hub-intro,
.florida-region-page .greater-nyc-hub-intro,
.new-england-page .greater-nyc-hub-intro {
  max-width: 760px;
  margin: 12px auto 0;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.5;
  color: #B90404;
  text-align: center;
  font-weight: 600;
}

/* ===== 3. 城市网格基础 ===== */
.northeast-page .greater-nyc-grid,
.florida-region-page .greater-nyc-grid,
.new-england-page .greater-nyc-grid {
  display: grid;
  gap: 24px;
}

/* ===== 4. 单个城市卡片（浅灰卡 + 图 + CTA）===== */
.northeast-page .region-card,
.florida-region-page .region-card,
.new-england-page .region-card {
  background: #f3f4f6; /* 和外层白拉开一点 */
  border-radius: 22px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 图片区域 */
.northeast-page .region-card-media,
.florida-region-page .region-card-media,
.new-england-page .region-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2; /* 比 16:9 矮一点，更像卡片 */
  border-radius: 18px;
  overflow: hidden;
}

/* 图片铺满 */
.northeast-page .region-card-media img,
.florida-region-page .region-card-media img,
.new-england-page .region-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 城市名压在图片中间 */
.northeast-page .region-card-title,
.florida-region-page .region-card-title,
.new-england-page .region-card-title {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 4.6vw, 24px);
  white-space: nowrap;
  max-width: 90%;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow:
    0 2px 6px rgba(0,0,0,.45),
    0 1px 2px rgba(0,0,0,.35);
  pointer-events: none;
}

/* 图片黑幕渐变 */
.northeast-page .region-card-media::before,
.florida-region-page .region-card-media::before,
.new-england-page .region-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.20) 45%,
    rgba(0, 0, 0, 0.06) 75%,
    rgba(0, 0, 0, 0.00) 100%
  );
  z-index: 1;
}

/* meta 区域（按钮 + 菜单小链接） */
.northeast-page .region-card-meta,
.florida-region-page .region-card-meta,
.new-england-page .region-card-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 260px;
  margin: 14px auto 0;
}

/* ===== 5. 菜单总入口 + SEO 段 + 联系电话 ===== */
.northeast-page .region-menu-logic,
.northeast-page .region-seo-summary,
.northeast-page .region-contact,
.florida-region-page .region-menu-logic,
.florida-region-page .region-seo-summary,
.florida-region-page .region-contact,
.new-england-page .region-menu-logic,
.new-england-page .region-seo-summary,
.new-england-page .region-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.northeast-page .region-menu-logic,
.florida-region-page .region-menu-logic,
.new-england-page .region-menu-logic {
  margin-top: 25px;
}

.northeast-page .region-menu-title,
.florida-region-page .region-menu-title,
.new-england-page .region-menu-title {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.northeast-page .region-menu-text,
.florida-region-page .region-menu-text,
.new-england-page .region-menu-text {
  max-width: 960px;
  margin: 0 auto 16px;
  font-size: clamp(14px, 2.4vw, 15px);
  line-height: 1.7;
  color: #4b5563;
}

/* SEO 汇总段 */
.northeast-page .region-seo-summary,
.florida-region-page .region-seo-summary,
.new-england-page .region-seo-summary {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.northeast-page .region-seo-summary p,
.florida-region-page .region-seo-summary p,
.new-england-page .region-seo-summary p {
  max-width: 1020px;
  margin: 0 auto 12px;
  font-size: clamp(14px, 2.4vw, 15px);
  line-height: 1.7;
  color: #4b5563;
}

/* 底部联系电话 */
.northeast-page .region-contact,
.florida-region-page .region-contact,
.new-england-page .region-contact {
  margin-top: 18px;
}

.northeast-page .region-contact-text,
.florida-region-page .region-contact-text,
.new-england-page .region-contact-text {
  font-size: 14px;
  color: var(--hw-orange-body);
  margin: 0 auto;
}

.northeast-page .region-contact-text a,
.florida-region-page .region-contact-text a,
.new-england-page .region-contact-text a {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.northeast-page .region-contact-text a:hover,
.florida-region-page .region-contact-text a:hover,
.new-england-page .region-contact-text a:hover {
  text-decoration: underline;
}

/* =========================
   城市卡片下的菜单链接 – 可点击增强版
========================= */
.northeast-page .region-menu-link,
.florida-region-page .region-menu-link,
.new-england-page .region-menu-link {
  font-size: 13.5px;  /* 原本 ~12px，略提升 */
  line-height: 1.6;
  padding: 6px 10px;  /* 扩大点击热区 */
  margin-top: 2px;
  display: inline-block;
  color: #2563eb;
  text-decoration: none;
  border-radius: 6px;
}

.northeast-page .region-menu-link:hover,
.florida-region-page .region-menu-link:hover,
.new-england-page .region-menu-link:hover {
  background: rgba(37, 99, 235, 0.08);
  text-decoration: underline;
}

/* =========================================
   6. 响应式排版系统
   Desktop: 3 列
   Tablet:  2 列
   Mobile:  1 列
========================================= */

/* Desktop ≥ 1024px → 3 列 */
@media (min-width: 1024px) {
  .northeast-page .greater-nyc-grid,
  .florida-region-page .greater-nyc-grid,
  .new-england-page .greater-nyc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet 768–1023.98px → 2 列 */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .northeast-page .greater-nyc-grid,
  .florida-region-page .greater-nyc-grid,
  .new-england-page .greater-nyc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile ≤ 767.98px → 1 列 + 卡片缩放优化 */
@media (max-width: 767.98px) {
  .northeast-page .greater-nyc-grid,
  .florida-region-page .greater-nyc-grid,
  .new-england-page .greater-nyc-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
    gap: 18px;
  }

  .northeast-page .region-card,
  .florida-region-page .region-card,
  .new-england-page .region-card {
    padding: 16px 16px 48px; /* 比桌面多一点底部空间 */
    border-radius: 20px;
  }

  .northeast-page .region-card-media,
  .florida-region-page .region-card-media,
  .new-england-page .region-card-media {
    aspect-ratio: 4 / 3;
  }

  .northeast-page .region-card-meta,
  .florida-region-page .region-card-meta,
  .new-england-page .region-card-meta {
    margin-top: 10px;
    max-width: 230px;
  }

  .northeast-page .region-card-title,
  .florida-region-page .region-card-title,
  .new-england-page .region-card-title {
    font-size: clamp(24px, 7vw, 30px);
  }

  /* Mobile CTA – 强化点击 */
  .northeast-page .hw-btn--ghost,
  .florida-region-page .hw-btn--ghost,
  .new-england-page .hw-btn--ghost {
    min-width: 260px;
    padding: 14px 34px;
    font-size: 16px;
    border-width: 2px;
    margin: 16px 0 2px;
  }
}
/* Header → Section 安全距离 */
.northeast-page .greater-nyc-hub-section,
.new-england-page .greater-nyc-hub-section,
.florida-region-page .greater-nyc-hub-section {
  margin-top: clamp(20px, 4vw, 36px);
}

/* 标题 → Grid */
.northeast-page .greater-nyc-hub-header {
  margin-bottom: clamp(20px, 4vw, 32px);
}

/* 卡片之间 */
.northeast-page .greater-nyc-grid,
.new-england-page .greater-nyc-grid,
.florida-region-page .greater-nyc-grid {
  gap: clamp(24px, 3.2vw, 36px);
}

