/* Mobile adaptations for the Daoyi pages. Loaded last on both the homepage and the
   news article, after the package stylesheets (which stay untouched). */

/* --------------------------------------------------------------------------
   Cookie notice — UNUSED: banner markup and JS are commented out (the site
   sets no cookies); styles kept for easy restoration.
   Compact on phones, clear of the iPhone home indicator
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 18px 18px 20px;
  }
  .cookie-banner h4 { font-size: 18px; }
  .cookie-banner p { margin-top: 8px; font-size: 14px; line-height: 1.5; }
  .cookie-actions { margin-top: 14px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cookie-actions button { height: 44px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Small phones (<=360px): keep the article headings breathable
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .article-content { font-size: 15px; }
  .article-heading { padding-top: 52px; }
}
