/* Shared mobile/tablet layout for all English international pages. */
@media (max-width: 760px) {
  .container { width: 100%; padding: 18px 18px 44px; }
  .site-header { min-height: 62px; padding: 10px 18px; gap: 12px; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
  .site-header nav a { padding: 7px 0; font-size: 14px; }
  .hero { padding: 27px 0 20px; }
  .hero.compact { padding: 14px 0; }
  .hero h1 { font-size: clamp(28px, 6vw, 38px); overflow-wrap: anywhere; }
  .panel { padding: 19px; margin-top: 16px; }
  .panel-heading { align-items: flex-start; flex-wrap: wrap; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
  .subnav { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .subnav a { flex: 0 0 auto; }
  .forecast-list { min-width: 0; }
  .forecast-row { min-width: 0; }
  .forecast-row > * { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  .container { padding: 14px 13px 36px; }
  .site-header { align-items: flex-start; padding: 12px 14px; }
  .brand { max-width: 100%; font-size: 19px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 4px 18px; }
  .site-header nav a { font-size: 13px; }
  .crumb { line-height: 1.7; overflow-wrap: anywhere; }
  .hero h1 { margin: 9px 0; font-size: clamp(26px, 8vw, 34px); }
  .hero > p:last-child { font-size: 14px; }
  .panel { padding: 15px 13px; border-radius: 13px; }
  .panel h2 { margin-bottom: 14px; font-size: 18px; }
  .panel-heading h2 { margin-bottom: 8px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .card { min-height: 66px; }
  .notice { padding: 15px; }
  .forecast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; padding: 12px 8px; font-size: 13px; }
  .forecast-row > strong:first-child { grid-column: 1 / -1; color: #28485c; }
  .forecast-head { display: none; }
  .data-note { font-size: 12px; }
  .site-footer { padding: 20px 14px; line-height: 1.65; }
}

@media (max-width: 360px) {
  .container { padding-right: 10px; padding-left: 10px; }
  .outlook-card-top { gap: 6px; }
  .outlook-weather { max-width: 48%; padding: 5px 7px; font-size: 11px; }
  .outlook-main { gap: 5px; }
  .outlook-temps strong { font-size: 41px; }
  .outlook-card-foot { gap: 5px; font-size: 11px; }
  .outlook-card-foot a { font-size: 11px; }
}

/* Gentle picture-book accents shared by the English weather pages. */
body.etianqi-site {
  background-color: #f5f8f6;
  background-image: radial-gradient(#e4eeea 1px, transparent 1px);
  background-size: 24px 24px;
}
.site-header { background: #fffefa; border-bottom-color: #e2ebe5; }
.brand { color: #247b83; }
.site-header nav a {
  padding: 8px 12px;
  border: 1px solid #e5eee8;
  border-radius: 999px;
  background: #f5faf5;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.site-header nav a:hover { border-color: #b9ddd1; background: #eaf6ef; transform: translateY(-1px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #dcece3;
  border-radius: 999px;
  background: #f0f8ef;
}
.panel, .today-outlook {
  border-color: #e2ebe5;
  border-radius: 20px;
  background-color: #fffefa;
  box-shadow: 0 4px 0 #edf2ec, 0 10px 28px #193c550b;
}
.panel h2 { color: #203b4b; }
.card {
  border-color: #e5ece5;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffefa, #fff 82%);
  box-shadow: 0 3px 0 #f0f2e9;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: #b7d9c8; background: #f4fbf5; box-shadow: 0 5px 0 #e5f0e7; transform: translateY(-2px); }
.button-link {
  border: 1px solid #0b7782;
  border-radius: 999px;
  box-shadow: 0 3px 0 #075e6a;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button-link:hover { box-shadow: 0 4px 0 #075e6a; transform: translateY(-1px); }
.subnav a { border-radius: 999px; }
.subnav a.active { box-shadow: 0 2px 0 #075e6a; }
.notice { border-style: dashed; border-radius: 16px; background: #fff9e9; }
.forecast-list { gap: 4px; }
.forecast-head { border: 1px solid #e1ece3; border-radius: 12px; background: #f0f7ed; }
.forecast-row:not(.forecast-head) {
  margin-bottom: 3px;
  border: 0;
  border-radius: 10px;
  background: #fffefa;
}
.forecast-row:not(.forecast-head):nth-child(odd) { background: #f7faf6; }
.outlook-card { border-radius: 17px; }
.outlook-weather { border: 1px solid #e8f0e9; }
.site-footer { border-top-color: #e2ebe5; }

@media (prefers-reduced-motion: reduce) {
  .site-header nav a, .card, .button-link { transition: none; }
}

@media (max-width: 560px) {
  .panel, .today-outlook { border-radius: 16px; }
}
