/* 內容頁排版（固定頁／文章內文）。
   元件樣式（館別/正妹/CTA/FAQ/表格/區塊標題）沿用 home.css。 */

.gc-page { padding-top: 24px; padding-bottom: 8px; }

.gc-page .gc-page-title,
.gc-entry h1 {
	font-size: 30px; font-weight: 800; color: var(--gc-dark);
	line-height: 1.4; margin: 8px 0 20px;
}
.gc-entry h2 {
	font-size: 24px; font-weight: 800; color: var(--gc-dark);
	margin: 36px 0 16px; padding-left: 14px;
	border-left: 5px solid var(--gc-primary);
}
.gc-entry h3 { font-size: 19px; font-weight: 700; color: var(--gc-primary); margin: 24px 0 12px; }
.gc-entry h4 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.gc-entry p { margin: 0 0 16px; line-height: 1.9; color: var(--gc-text); }
.gc-entry a:not(.gc-btn) { color: var(--gc-primary); }
.gc-entry a:not(.gc-btn):hover { text-decoration: underline; }
.gc-entry img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.gc-entry ul, .gc-entry ol { margin: 0 0 16px; padding-left: 1.4em; line-height: 1.9; }
.gc-entry li { margin-bottom: 6px; }
.gc-entry blockquote {
	margin: 16px 0; padding: 12px 18px;
	border-left: 4px solid var(--gc-primary); background: #f7fafb; color: #444;
}
.gc-entry hr { border: 0; border-top: 1px solid var(--gc-line); margin: 28px 0; }
.gc-entry table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.gc-entry table th, .gc-entry table td { border: 1px solid var(--gc-line); padding: 10px 12px; line-height: 1.7; }
.gc-entry table th { background: #f2f6f7; }

/* 內文中的服務導覽清單（如禮服店頁的 6 服務項目，原為 <li><h2><a>） */
.gc-entry ul li h2 { border: 0; padding: 0; margin: 0; font-size: 18px; display: inline; }

/* 短碼區塊與內文間距 */
.gc-shortcode-block { margin: 28px 0 8px; }

/* 最新消息：分類導覽 / 日期 / 分頁 */
.gc-cat-nav { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 20px 0 28px; }
.gc-cat-nav a {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: #f2f6f7; color: var(--gc-dark); font-size: 14px; font-weight: 600;
}
.gc-cat-nav a:hover { background: var(--gc-primary); color: #fff; text-decoration: none; }
.gc-guide-date { margin: 12px 14px 0; color: var(--gc-muted); font-size: 13px; }
.gc-guide-date a { color: var(--gc-muted); }
.gc-news .gc-guide-title { margin-top: 6px; }
.gc-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 8px; }
.gc-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
	border: 1px solid var(--gc-line); color: var(--gc-dark); font-weight: 600;
}
.gc-pagination .page-numbers.current { background: var(--gc-primary); color: #fff; border-color: var(--gc-primary); }
.gc-pagination a.page-numbers:hover { background: #f2f6f7; text-decoration: none; }

@media (max-width: 880px) {
	.gc-page .gc-page-title, .gc-entry h1 { font-size: 24px; }
	.gc-entry h2 { font-size: 20px; }
}

/* ===== 麵包屑(導覽 + SEO) ===== */
.gc-breadcrumb, .rank-math-breadcrumb {
	font-size: 13px; color: var(--gc-muted); margin: 4px 0 14px; line-height: 1.8;
}
.gc-breadcrumb a, .rank-math-breadcrumb a { color: var(--gc-muted); }
.gc-breadcrumb a:hover, .rank-math-breadcrumb a:hover { color: var(--gc-primary); text-decoration: none; }
.gc-breadcrumb .gc-bc-sep { margin: 0 6px; color: #c4c4c4; }
.rank-math-breadcrumb p { margin: 0; }

/* ===== 單篇文章 + 右側欄 ===== */
.gc-single-layout { display: flex; gap: 40px; align-items: flex-start; }
.gc-single-main { flex: 1 1 auto; min-width: 0; max-width: 760px; }
.gc-single-aside { flex: 0 0 300px; }
.gc-single-header { margin-bottom: 18px; }
.gc-single .gc-entry-title { font-size: 28px; line-height: 1.45; margin: 6px 0 10px; }
.gc-single .gc-entry-meta { color: var(--gc-muted); font-size: 14px; }
.gc-single .gc-entry-meta .gc-meta-sep { margin: 0 6px; }
.gc-single .gc-entry-cats { display: inline; }
.gc-single .gc-entry-cats a { color: var(--gc-muted); }
.gc-single .gc-entry-cats a:hover { color: var(--gc-primary); }
.gc-entry-thumb { margin: 0 0 22px; }
.gc-entry-thumb img { width: 100%; height: auto; border-radius: 10px; display: block; }

/* 側欄 widget */
.gc-widget { background: #f7fafb; border-radius: 12px; padding: 18px 18px 14px; margin-bottom: 22px; }
.gc-widget-title { font-size: 17px; font-weight: 800; color: var(--gc-dark); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gc-primary); }
.gc-widget ul { list-style: none; margin: 0; padding: 0; }
.gc-widget-cats li { border-bottom: 1px solid var(--gc-line); }
.gc-widget-cats li:last-child { border-bottom: 0; }
.gc-widget-cats a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; color: var(--gc-text); font-size: 14px; }
.gc-widget-cats a:hover { color: var(--gc-primary); text-decoration: none; }
.gc-cat-count { color: var(--gc-muted); font-size: 12px; background: #fff; border-radius: 999px; padding: 1px 9px; }
.gc-related-item { margin-bottom: 14px; }
.gc-related-item:last-child { margin-bottom: 0; }
.gc-related-item a { display: flex; gap: 10px; align-items: center; color: var(--gc-text); }
.gc-related-item a:hover { text-decoration: none; }
.gc-related-item a:hover .gc-related-title { color: var(--gc-primary); }
.gc-related-thumb { flex: 0 0 60px; }
.gc-related-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; display: block; }
.gc-related-title { font-size: 13px; line-height: 1.5; }

/* ===== 經紀應徵 / 落地頁元件 ===== */
/* 頁內錨點導覽 */
.gc-anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 30px; }
.gc-anchor-nav a {
	display: inline-block; padding: 10px 22px; border-radius: 999px;
	background: #f2f6f7; color: var(--gc-dark); font-weight: 700; font-size: 15px;
}
.gc-anchor-nav a:hover { background: var(--gc-primary); color: #fff; text-decoration: none; }
/* 錨點跳轉時讓出標題上方空間 */
.gc-entry h2[id] { scroll-margin-top: 90px; }

/* 職缺圖文卡片 */
.gc-job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0 8px; }
.gc-job-card { background: #fff; border: 1px solid var(--gc-line); border-radius: 14px; overflow: hidden; }
.gc-job-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.gc-job-card h3 { margin: 14px 16px 6px; color: var(--gc-primary); }
.gc-job-card p { margin: 0 16px 16px; color: var(--gc-text); line-height: 1.8; }

/* 福利 icon 卡片 */
.gc-welfare-lead { text-align: center; font-weight: 600; }
.gc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 8px; }
.gc-feature-card { text-align: center; background: #f7fafb; border-radius: 14px; padding: 26px 18px; }
.gc-feature-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; display: block; border-radius: 0; }
.gc-feature-card h3 { margin: 0 0 8px; color: var(--gc-dark); border: 0; padding: 0; }
.gc-feature-card p { margin: 0; color: var(--gc-muted); line-height: 1.7; }

/* 常見問題手風琴 */
.gc-faq { margin: 20px 0 8px; border-top: 1px solid var(--gc-line); }
.gc-faq-item { border-bottom: 1px solid var(--gc-line); }
.gc-faq-item > summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 16px 42px 16px 4px; font-weight: 700; color: var(--gc-dark); line-height: 1.6;
}
.gc-faq-item > summary::-webkit-details-marker { display: none; }
.gc-faq-item > summary::after {
	content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	font-size: 24px; line-height: 1; color: var(--gc-primary); font-weight: 400;
}
.gc-faq-item[open] > summary::after { content: "\2212"; }
.gc-faq-item .gc-faq-a { padding: 0 4px 18px; color: var(--gc-text); line-height: 1.9; }
.gc-faq-item .gc-faq-a a { color: var(--gc-primary); }

/* 專人照顧橫幅 */
.gc-care-banner { text-align: center; }
.gc-care-banner img { display: inline-block; max-width: 100%; border-radius: 12px; margin: 8px 0; }

@media (max-width: 880px) {
	.gc-job-grid { grid-template-columns: 1fr; }
	.gc-feature-grid { grid-template-columns: 1fr; gap: 14px; }
	.gc-anchor-nav { gap: 8px; }
	.gc-anchor-nav a { padding: 8px 16px; font-size: 14px; }
}

/* ===== 娛樂服務 — 服務詳情頁 ===== */
/* 2026-07:原限 880px 與其他內頁(1140px)寬度不一致,統一回全站標準寬。 */

/* 子頁藥丸導覽（用 .gc-entry a 提高特異度，蓋過內文連結色） */
.gc-service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.gc-entry a.gc-service-pill {
	display: inline-block; padding: 9px 20px; border-radius: 999px;
	background: #f2f6f7; color: var(--gc-dark); font-weight: 700; font-size: 15px;
}
.gc-entry a.gc-service-pill:hover { background: #e6eff0; color: var(--gc-dark); text-decoration: none; }
.gc-entry a.gc-service-pill.is-active { background: var(--gc-primary); color: #fff; }

/* 上半部：桌機 左照片 30% + 右消費資訊 70% */
.gc-service-top { display: flex; gap: 26px; align-items: flex-start; margin: 18px 0 26px; }
.gc-service-photo { flex: 0 0 30%; margin: 0; }
.gc-service-photo img {
	width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%;
	border-radius: 16px; display: block; margin: 0;
}
.gc-service-info { flex: 1 1 auto; min-width: 0; }
.gc-service-info > h2:first-child { margin-top: 0; }
.gc-service-info .gc-info-card { margin-top: 14px; margin-bottom: 0; }

/* 消費資訊卡 */
.gc-info-card { background: #f7fafb; border: 1px solid var(--gc-line); border-radius: 16px; padding: 4px 22px; margin: 16px 0 26px; }
.gc-info-row { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--gc-line); }
.gc-info-row:last-child { border-bottom: 0; }
.gc-info-k { flex: 0 0 92px; font-weight: 800; color: var(--gc-dark); position: relative; padding-left: 14px; }
.gc-info-k::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--gc-primary); }
.gc-info-v { flex: 1 1 auto; min-width: 0; color: var(--gc-text); line-height: 1.8; }

/* 低消卡片 */
.gc-minspend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 26px; }
.gc-minspend-card { text-align: center; border: 1px solid var(--gc-line); border-radius: 14px; padding: 20px 12px; background: #fff; }
.gc-ms-t { display: block; font-size: 18px; font-weight: 800; color: var(--gc-dark); margin-bottom: 6px; }
.gc-ms-v { display: block; color: var(--gc-primary); font-weight: 700; }

/* 合作店家標籤 */
.gc-shop-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.gc-shop-tags span {
	display: inline-block; padding: 8px 16px; border-radius: 10px;
	background: #fff; border: 1px solid var(--gc-line); color: var(--gc-dark); font-weight: 600; font-size: 15px;
}

/* 父頁服務圖卡 */
.gc-enjoy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 8px; }
.gc-enjoy-card { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--gc-line); background: #fff; transition: box-shadow .15s; }
.gc-enjoy-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); text-decoration: none; }
.gc-enjoy-thumb { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #eef2f3; }
.gc-enjoy-name { display: block; text-align: center; padding: 12px; font-weight: 800; color: var(--gc-dark); }

@media (max-width: 880px) {
	.gc-service-top { flex-direction: column; gap: 0; margin-bottom: 22px; }
	.gc-service-photo { flex-basis: auto; width: 100%; margin-bottom: 18px; }
	.gc-service-photo img { aspect-ratio: 16 / 10; object-position: center 22%; }
	.gc-service-info .gc-info-card { margin-top: 0; }
	.gc-minspend-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.gc-minspend-card { padding: 14px 6px; }
	.gc-ms-t { font-size: 16px; }
	.gc-ms-v { font-size: 13px; }
	.gc-enjoy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.gc-info-k { flex-basis: 76px; }
}

/* ===== 封存頁(分類/標籤) ===== */
.gc-archive-header { margin: 0 0 24px; }
.gc-archive .gc-page-title { font-size: 28px; margin: 4px 0 8px; }
.gc-archive-desc { color: var(--gc-muted); line-height: 1.8; max-width: 820px; }
.gc-empty { color: var(--gc-muted); padding: 40px 0; text-align: center; }

/* 原生分頁(the_posts_pagination)— GeneratePress 僅輸出 .nav-links */
.gc-archive .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gc-archive .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 8px; }
.gc-archive .nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
	border: 1px solid var(--gc-line); color: var(--gc-dark); font-weight: 600;
}
.gc-archive .nav-links .page-numbers.current { background: var(--gc-primary); color: #fff; border-color: var(--gc-primary); }
.gc-archive .nav-links a.page-numbers:hover { background: #f2f6f7; text-decoration: none; }

/* ===== 搜尋 / 404 ===== */
.gc-404-lead { color: var(--gc-muted); line-height: 1.9; margin: 0 0 22px; }
.gc-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.gc-404 h2 { margin-top: 34px; }
.gc-search-again { margin: 14px 0 8px; max-width: 520px; }
.gc-search-again form { display: flex; gap: 8px; align-items: stretch; }
.gc-search-again label { flex: 1 1 auto; min-width: 0; margin: 0; display: block; }
.gc-search-again .search-field,
.gc-search-again input[type="search"] {
	width: 100%; padding: 11px 14px; border: 1px solid var(--gc-line);
	border-radius: 10px; font-size: 15px; box-sizing: border-box;
}
.gc-search-again .search-submit,
.gc-search-again input[type="submit"] {
	flex: 0 0 auto; padding: 11px 22px; border: 0; border-radius: 10px;
	background: var(--gc-primary); color: #fff; font-weight: 700; cursor: pointer;
}
.gc-search-again .search-submit:hover { filter: brightness(0.95); }

@media (max-width: 980px) {
	/* 手機/平板：側欄堆疊到內文下方 */
	.gc-single-layout { flex-direction: column; }
	.gc-single-main, .gc-single-aside { max-width: 100%; flex: 1 1 auto; width: 100%; }
}
@media (max-width: 880px) {
	.gc-single .gc-entry-title { font-size: 23px; }
}
