/*
 * rwdcore.css
 * Shared responsive rules (site-wide primitives)
 * desktop-first breakpoints: 1200 → 768
 */

/* =========================
   ≤ 1200px
========================= */
@media (max-width: 1200px) {
  .guidance-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   ≤ 768px
========================= */
@media (max-width: 768px) {
  /* ===== Typography ===== */
  .hengzhen-title {
    font-size: 3.2rem;
    text-shadow:
      2px 2px 0 rgba(198, 40, 40, 0.15),
      4px 4px 0 rgba(212, 175, 55, 0.1);
  }

  .hengzhen-subtitle { font-size: 1.1rem; }
  .core-belief { font-size: 1.8rem; }
  .site-title { font-size: 1.2rem; }
  .page-title { font-size: 2rem; }

  /* ===== Mobile nav (drawer) ===== */
  .hamburger { display: flex; }
  .nav-brand { font-size: 1.5rem !important; }
  .nav-bar { flex-direction: column; text-align: center; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,.1);
    transition: right .3s ease;
    z-index: 1000;
    justify-content: center;
    gap: 0;
  }

  .nav-links.active { right: 0; }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: left;
    border-radius: 0;
  }

  .nav-link::after { display: none; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
  }

  .nav-overlay.active { display: block; }

  /* ===== Shared blocks ===== */
  .announcement-box { padding: 1.2rem 1.5rem; margin-bottom: 3rem; }
  .announcement-text { font-size: 1.1rem; }
  .truth-highlight { font-size: 1.2rem; padding: .4rem .8rem; }

  .section-card { padding: 2rem 1.5rem; }

  /* ===== Shared grids ===== */
  .guidance-grid,
  .info-grid { grid-template-columns: 1fr; }

  .guidance-grid { gap: 1.5rem; }

  /* ===== Buttons ===== */
  .main-buttons { flex-direction: column; gap: 1rem; }

  .main-btn {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    min-width: auto;
  }

  .action-button { width: 100%; padding: 1rem 1.5rem; min-width: auto; }

  /* ===== Decorative layers off on mobile ===== */
  .hz-imgwrap::after { display: none; }
  .hz-card::after { display: none; }
}
