/* 洄流潛點頁：地區航標 × 可展開潛點卡。2026-08-09 換檔名避開正式站 immutable cache。 */

.spot-regions {
  display: grid;
  gap: clamp(46px, 7vw, 74px);
  margin-top: 42px;
}

.spot-region-head {
  display: grid;
  grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--white-14);
}

.spot-region-head p {
  color: var(--current-readable);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.spot-region-head h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: 22px;
  align-items: start;
}

.spot-card {
  border: 1px solid var(--surface-ink-line);
  border-radius: 2px;
  background: linear-gradient(145deg, var(--surface-ink), var(--surface-ink-strong));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
  overflow: clip;
}

.spot-card[open] {
  border-color: color-mix(in srgb, var(--coral-highlight) 72%, transparent);
  background: linear-gradient(145deg, var(--surface-ink-raised), var(--surface-ink-raised-strong));
}

.spot-summary {
  display: block;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}

.spot-summary::-webkit-details-marker { display: none; }

.spot-summary:focus-visible {
  outline: 2px solid var(--current);
  outline-offset: -4px;
}

.spot-card img {
  width: 100%;
  height: min(52vw, 400px);
  object-fit: cover;
}

.spot-card h4 {
  margin: 16px 18px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.spot-card .spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 18px 0;
}

.spot-card .spot-tags span {
  border: 1px solid color-mix(in srgb, var(--current) 42%, transparent);
  border-radius: 999px;
  padding: 2px 9px;
  color: var(--surface-label);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.spot-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin: 10px 18px 12px;
  border-top: 1px dashed var(--white-14);
  padding-top: 8px;
  color: var(--foam);
  font-size: 12px;
  font-weight: 700;
}

.spot-more i {
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.spot-card .when-open { display: none; }
.spot-card[open] .when-closed { display: none; }
.spot-card[open] .when-open { display: inline; }
.spot-card[open] .spot-more { color: var(--coral-highlight); }
.spot-card[open] .spot-more i { transform: rotate(225deg); }

.spot-details {
  border-top: 1px solid var(--white-14);
  padding: 8px 18px 20px;
}

.spot-card p {
  margin-top: 10px;
  color: var(--white-76);
  font-size: 13.5px;
  line-height: 1.9;
}

.spot-card .spot-credit {
  margin-top: 9px;
  color: var(--deep-muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
}

@media (prefers-reduced-motion: reduce) {
  .spot-more i { transition: none; }
}

@media (max-width: 640px) {
  .spot-grid { grid-template-columns: 1fr; }
  .spot-region-head { grid-template-columns: 1fr; gap: 5px; }
  .spot-card img { height: min(92vw, 420px); }
}
