/* regions 六地一排。首屏地球已經講了「在哪」，這裡只留地名、當地時間和在當地做過什麼。只選中 #regions 內的元素。 */
#regions .rg-head { max-width: 46rem; }
#regions .rg-head .hl-h2 { letter-spacing: -0.02em; font-weight: 680; }
#regions .rg-head .hl-lead { font-size: 17px; line-height: 1.7; }

/* 六列，列與列之間一根 1px 豎線（用 gap 露出底色畫線），上下各一根橫線，左右兩端不封口 */
#regions .rg-list {
  list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
#regions .rg-list li { position: relative; background: var(--bg); min-width: 0; }

#regions .rg-cell {
  display: flex; flex-direction: column; height: 100%; min-height: 200px;
  padding: 28px clamp(16px, 1.6vw, 24px) 26px;
  transition: background-color .6s var(--ease);
}
#regions .rg-cell:focus-visible { outline-offset: -2px; border-radius: 0; }
#regions .rg-name { font-size: clamp(22px, 1.9vw, 28px); font-weight: 650; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink-1); }
#regions .rg-time { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
#regions .rg-time i { width: 6px; height: 6px; margin-right: -14px; border-radius: 50%; background: var(--amber); opacity: 0; transform: scale(.4);
  transition: opacity .6s var(--ease), transform .6s var(--ease), margin .6s var(--ease); }
#regions .rg-what { margin-top: auto; padding-top: 36px; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: balance; transition: color .6s var(--ease); }
#regions .rg-what.is-quiet { color: var(--ink-4); }
#regions .rg-nw { white-space: nowrap; }
#regions .rg-cell { position: relative; }
/* 可點的列：右上角一枚小箭頭 */
#regions .rg-go { position: absolute; top: 34px; right: clamp(16px, 1.6vw, 24px); font-size: 16px; line-height: 1; color: var(--ink-4); transition: transform .6s var(--ease), color .6s var(--ease); }

/* 有案例的三列可點 */
#regions a.rg-cell:hover { background-color: rgba(255, 255, 255, .025); }
#regions a.rg-cell:hover .rg-what { color: var(--ink-1); }
#regions a.rg-cell:hover .rg-go { transform: translateX(4px); color: var(--ink-1); }

/* 首屏地球點到這一地時：頂上一道琥珀細線從左劃過，時間前亮一顆點 */
#regions .rg-list li::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; z-index: 1; pointer-events: none;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
#regions .rg-list li.is-on::before { transform: scaleX(1); }
#regions .rg-list li.is-on .rg-cell { background-color: rgba(255, 255, 255, .03); }
#regions .rg-list li.is-on .rg-time { color: var(--ink-2); }
#regions .rg-list li.is-on .rg-time i { opacity: 1; transform: none; margin-right: 0; }

@media (max-width: 1080px) {
  #regions .rg-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #regions .rg-head .hl-lead { font-size: 15px; }
  #regions .rg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  #regions .rg-cell { min-height: 156px; padding: 22px 16px 20px; }
  #regions .rg-name { font-size: 21px; }
  #regions .rg-time { font-size: 13px; }
  #regions .rg-what { padding-top: 24px; font-size: 14px; }
  #regions .rg-go { top: 26px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #regions .rg-cell, #regions .rg-what, #regions .rg-go, #regions .rg-time i, #regions .rg-list li::before { transition: none; }
}
