/* 景點介紹公版 — 主色沿用 my_custom_post 的蜂蜜色 #c59d5f */
.spot-wrap {
	--spot-accent: #c59d5f;
	--spot-accent-dark: #a67f42;
	--spot-ink: #2b2b2b;
	--spot-text: #555;
	--spot-mute: #888;
	--spot-line: #eee;
	--spot-bg-soft: #faf6ee;
	width: 100%; /* Astra 的 .ast-container 是 flex column，不設寬度會縮成內容寬 */
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px 60px;
	color: var(--spot-text);
	font-size: 16px;
	line-height: 1.85;
}
.spot-wrap *, .spot-wrap *::before, .spot-wrap *::after { box-sizing: border-box; }

/* ---------- 主圖 + 標題 ---------- */
.spot-hero {
	position: relative;
	min-height: 440px;
	margin: 30px 0 40px;
	border-radius: 16px;
	overflow: hidden;
	background: #8a7a5c center / cover no-repeat;
	display: flex;
	align-items: flex-end;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.spot-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 100%);
}
.spot-hero__body { position: relative; padding: 32px 36px; color: #fff; width: 100%; }
.spot-hero__tag {
	display: inline-block;
	padding: 3px 12px;
	margin-bottom: 12px;
	background: var(--spot-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	border-radius: 4px;
}
.spot-hero__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 40px;
	line-height: 1.25;
	font-weight: 700;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.spot-hero__meta { font-size: 13px; letter-spacing: 1px; opacity: .85; }

/* ---------- 資訊卡 ---------- */
.spot-info {
	margin: 0 0 44px;
	padding: 28px 32px;
	background: var(--spot-bg-soft);
	border-left: 5px solid var(--spot-accent);
	border-radius: 0 12px 12px 0;
}
.spot-info__title {
	margin: 0 0 18px;
	font-size: 20px;
	color: var(--spot-ink);
	letter-spacing: 2px;
}
.spot-info__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.spot-info__item { display: flex; gap: 12px; margin: 0; }
.spot-info__item--wide { grid-column: 1 / -1; }
.spot-info__label {
	flex: 0 0 auto;
	min-width: 4.5em;
	padding-top: 2px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.85;
	color: var(--spot-accent-dark);
	letter-spacing: 1px;
}
.spot-info__value { color: var(--spot-ink); line-height: 1.7; word-break: break-word; }
.spot-info__value a { color: var(--spot-accent-dark); }

/* ---------- 內文 ---------- */
.spot-content h2 { margin: 44px 0 18px; font-size: 26px; color: #222; }
.spot-content h3 { margin: 32px 0 14px; font-size: 21px; color: #333; }
.spot-content p { margin: 0 0 20px; }
.spot-content img { max-width: 100%; height: auto; margin: 16px 0; border-radius: 10px; }
.spot-content blockquote {
	margin: 30px 0;
	padding: 16px 22px;
	border-left: 4px solid var(--spot-accent);
	background: #fdfdfd;
	color: #666;
	font-style: italic;
}

/* 文章開頭的一句副標 */
.spot-content .spot-lead {
	margin: 0 0 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--spot-line);
	font-size: 20px;
	line-height: 1.7;
	color: var(--spot-accent-dark);
	letter-spacing: 1px;
}
.spot-content ul { margin: 0 0 20px; padding-left: 1.4em; }
.spot-content li { margin-bottom: 6px; }
.spot-content li::marker { color: var(--spot-accent); }
/* 編輯器裡替群組區塊加上「額外 CSS class」spot-callout 即可套用 */
.spot-content .spot-callout {
	margin: 30px 0;
	padding: 20px 24px;
	background: var(--spot-bg-soft);
	border-radius: 12px;
}
.spot-content .spot-callout > :last-child { margin-bottom: 0; }
.spot-content .spot-callout__title { margin: 0 0 10px; font-weight: 700; color: var(--spot-accent-dark); letter-spacing: 1px; }

/* ---------- 地圖 ---------- */
.spot-map { margin: 48px 0 0; }
.spot-section-title {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--spot-line);
	font-size: 22px;
	color: var(--spot-ink);
	letter-spacing: 2px;
}
.spot-map__frame {
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	background: #e9e4d8;
}
.spot-map__frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.spot-map__btn {
	display: inline-block;
	margin-top: 16px;
	padding: 10px 24px;
	background: var(--spot-accent);
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	border-radius: 999px;
	text-decoration: none;
	transition: background .2s;
}
.spot-map__btn:hover { background: var(--spot-accent-dark); color: #fff; }

/* ---------- 相關景點 ---------- */
.spot-related { margin: 56px 0 0; }
.spot-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.spot-card {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.spot-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.spot-card__img { height: 160px; background: #cbbf9f center / cover no-repeat; }
.spot-card__title { margin: 0; padding: 14px 16px 16px; font-size: 16px; line-height: 1.5; color: var(--spot-ink); font-weight: 700; }

/* ---------- 景點總覽 [spot_list] ---------- */
.spot-list {
	--spot-accent: #c59d5f;
	--spot-accent-dark: #a67f42;
	--spot-ink: #2b2b2b;
	--spot-text: #555;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
	margin: 24px 0;
}
.spot-list *, .spot-list *::before, .spot-list *::after { box-sizing: border-box; }
.spot-list__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
	color: var(--spot-text);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.spot-list__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .13); color: var(--spot-text); }
.spot-list__img {
	height: 180px;
	background: linear-gradient(135deg, #b89a62 0%, #6f7d52 100%) center / cover no-repeat;
}
.spot-list__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.spot-list__title { margin: 0 0 8px; font-size: 20px; line-height: 1.4; color: var(--spot-ink); font-weight: 700; text-wrap: balance; }
.spot-list__lead {
	margin: 0 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	line-height: 1.7;
	color: var(--spot-accent-dark);
	text-wrap: balance;
}
.spot-list__meta { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.spot-list__meta dt { float: left; clear: left; width: 3em; font-weight: 700; color: var(--spot-ink); }
.spot-list__meta dd { margin: 0 0 6px 3em; word-break: break-word; }
.spot-list__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--spot-accent-dark); letter-spacing: 1px; }

/* Astra 會替頁面／文章內容裡的連結加底線（.ast-single-post .entry-content a），卡片與按鈕不需要 */
.spot-list a.spot-list__card,
.spot-list a.spot-list__card:hover,
.spot-wrap a.spot-card,
.spot-wrap a.spot-card:hover,
.spot-wrap a.spot-map__btn,
.spot-wrap a.spot-map__btn:hover {
	text-decoration: none !important;
}

/* ---------- 手機 ---------- */
@media (max-width: 921px) {
	.spot-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.spot-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.spot-wrap { padding: 0 16px 48px; }
	.spot-hero { min-height: 280px; margin: 16px 0 28px; border-radius: 12px; }
	.spot-hero__body { padding: 20px; }
	.spot-hero__title { font-size: 26px; }
	.spot-info { padding: 22px 20px; }
	.spot-info__list { grid-template-columns: 1fr; }
	.spot-map__frame iframe { height: 300px; }
	.spot-related__grid { grid-template-columns: 1fr; }
	.spot-card { display: flex; }
	.spot-card__img { flex: 0 0 110px; height: auto; min-height: 90px; }
	.spot-card__title { align-self: center; }
}
