/* 交通資訊頁：地圖優先，延續酒紅、金色與白底的網站視覺。 */
.location-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding: 120px 5vw 58px;
  color: #fffaf3;
  text-align: center;
  background:
    radial-gradient(circle at 18% 8%, rgba(198, 154, 98, .26), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(255, 255, 255, .08), transparent 30%),
    linear-gradient(135deg, #3a221e 0%, #72171b 58%, #aa1c1f 100%);
}
.location-hero::before,
.location-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(223, 199, 164, .28);
  transform: rotate(45deg);
}
.location-hero::before { top: -145px; left: 7vw; }
.location-hero::after { right: 8vw; bottom: -155px; }
.location-hero-copy { position: relative; z-index: 1; }
.location-hero-copy > p { margin: 0 0 8px; color: var(--gold-pale); font-size: 14px; letter-spacing: .25em; }
.location-hero h1 { margin: 0; font-size: clamp(32px, 3.2vw, 48px); font-weight: 500; letter-spacing: .14em; }
.location-hero address { margin-top: 15px; font-style: normal; font-size: 17px; letter-spacing: .06em; }

.location-section { padding: 72px 5vw 118px; background: #fff; }
.location-container { width: min(1320px, 100%); margin: 0 auto; }
.map-panel { overflow: hidden; border: 1px solid #eadfce; background: #fff; box-shadow: var(--shadow); }
.map-intro { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 32px 36px; }
.map-eyebrow { margin: 0 0 6px; color: #9b7849; font-size: 12px; letter-spacing: .22em; }
.map-intro h2 { margin: 0 0 8px; color: var(--wine); font-size: clamp(24px, 2vw, 30px); font-weight: 500; letter-spacing: .08em; }
.map-intro address { color: #514944; font-style: normal; font-size: 17px; line-height: 1.7; }
.location-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.location-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  font-size: 15px;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
button.location-action { cursor: pointer; }
.location-action:hover { background: #fff8ef; transform: translateY(-2px); }
.location-action.primary { border-color: var(--wine-bright); background: var(--wine-bright); color: #fff; }
.location-action.primary:hover { background: var(--wine); }
.copy-status { position: absolute; right: 36px; bottom: 7px; min-height: 18px; margin: 0; color: #73655c; font-size: 13px; }
.map-frame { position: relative; height: 560px; background: #eee7df; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.directions-section { padding-top: 76px; }
.directions-section .title-decoration h2 { margin: 0; color: var(--wine); font-size: clamp(26px, 1.7vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: .12em; }
.direction-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 25px; align-items: stretch; }
.direction-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 34px 30px 32px;
  border-top: 3px solid var(--wine);
  background: #f8f4ee;
}
.direction-number { position: absolute; top: 17px; right: 22px; color: rgba(114, 23, 27, .11); font-size: 62px; font-weight: 600; line-height: 1; }
.direction-card h3 { position: relative; margin: 0 0 24px; color: var(--wine); font-size: 24px; font-weight: 500; letter-spacing: .08em; }
.direction-card h3::after { content: ""; display: block; width: 42px; height: 1px; margin-top: 14px; background: var(--gold); }
.direction-card h4 { margin: 0 0 6px; color: #3f2c27; font-size: 17px; font-weight: 600; line-height: 1.6; }
.direction-card p { position: relative; margin: 0; color: #514944; font-size: 16px; line-height: 1.9; }
.route-block + .route-block { margin-top: 21px; padding-top: 20px; border-top: 1px solid #dfc7a4; }
.direction-card .route-numbers { margin: 15px 0; color: var(--wine); font-size: 18px; font-weight: 600; line-height: 1.8; letter-spacing: .04em; }
.transit-note { margin: 24px 0 0; color: #73655c; font-size: 14px; line-height: 1.7; text-align: right; }

@media (max-width: 1023px) {
  .map-intro { grid-template-columns: 1fr; }
  .location-actions { justify-content: flex-start; }
  .copy-status { position: static; grid-column: 1 / -1; }
  .map-frame { height: 500px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direction-card-wide { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .location-hero { min-height: 290px; padding: 108px 24px 44px; }
  .location-hero-copy > p { font-size: 12px; }
  .location-hero address { font-size: 15px; line-height: 1.7; }
  .location-section { padding: 42px 24px 72px; }
  .map-intro { padding: 26px 22px 22px; gap: 20px; }
  .map-intro address { font-size: 16px; }
  .location-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .location-action { min-width: 0; padding-right: 12px; padding-left: 12px; font-size: 14px; text-align: center; }
  .location-action.primary { grid-column: 1 / -1; }
  .map-frame { height: 420px; }
  .directions-section { padding-top: 55px; }
  .directions-section .section-heading { margin-bottom: 34px; }
  .direction-grid { grid-template-columns: 1fr; gap: 20px; }
  .direction-card-wide { grid-column: auto; }
  .direction-card { padding: 29px 24px 27px; }
  .direction-number { font-size: 52px; }
  .direction-card h3 { font-size: 22px; }
  .direction-card p { font-size: 15px; }
  .transit-note { text-align: left; }
}
