/* Travel Guide Tags —— 前台标签胶囊 + 标签归档页 */

/* ---------- 1. 文章内 Tagged with 胶囊 ---------- */
.ak-gt__title {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	color: #13294b;
}
.ak-gt__pills {
	margin: 0;
	padding: 0;
}
a.ak-gt__pill {
	display: inline-block;
	background: #007c80;
	color: #fff;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1.4;
	margin: 0 8px 8px 0;
	text-decoration: none;
	transition: background .2s ease;
}
a.ak-gt__pill:hover,
a.ak-gt__pill:focus {
	background: #00595c;
	color: #fff;
}

/* ---------- 2. 标签归档页 ---------- */
/* Astra 的 .ast-container 为 flex 布局，保证内容区占满主栏 */
body.tax-guide_tag #primary {
	width: 100% !important;
	max-width: 100% !important;
	float: none;
}
.ak-gt-archive {
	width: 100%;
	--ak-gt-gold: #c1aa7f;
	--ak-gt-ink: #1a1a1a;
	padding: 56px 20px 80px;
}
.ak-gt-archive__inner {
	max-width: 1220px;
	margin: 0 auto;
}
.ak-gt-archive__back {
	display: inline-block;
	margin: 0 0 18px;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #007c80;
	text-decoration: none;
}
.ak-gt-archive__back:hover { text-decoration: underline; }
.ak-gt-archive__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #8a8a8a;
}
.ak-gt-archive__title {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1.15;
	color: #13294b;
}
.ak-gt-archive__count {
	margin: 0 0 34px;
	font-size: 15px;
	color: #4a4a4a;
}
.ak-gt-archive__divider {
	height: 1px;
	background: #e5e2da;
	margin: 0 0 40px;
}

/* 网格与卡片（与 Travel Guides Feed 视觉一致） */
.ak-gt-archive .ak-tg__grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1.5rem;
}
@media (min-width: 544px) {
	.ak-gt-archive .ak-tg__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
	.ak-gt-archive .ak-tg__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
	.ak-gt-archive .ak-tg__grid { gap: 2.625rem; grid-template-columns: repeat(4, 1fr); }
}
.ak-gt-archive .ak-tg__card { display: flex; flex-direction: column; height: 100%; }
.ak-gt-archive .ak-tg__link {
	position: relative;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	padding-top: 100%;
	overflow: hidden;
	background: #ccc;
	text-decoration: none;
	transition: transform .2s ease-in-out;
}
.ak-gt-archive .ak-tg__link:hover { transform: scale(1.01); }
.ak-gt-archive .ak-tg__link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26,26,26,0), rgba(26,26,26,.85));
	opacity: .9;
	z-index: 1;
}
.ak-gt-archive .ak-tg__pic { position: absolute; inset: 0; overflow: hidden; }
.ak-gt-archive .ak-tg__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ak-gt-archive .ak-tg__body { position: absolute; bottom: 55px; left: 0; width: 100%; z-index: 2; }
.ak-gt-archive .ak-tg__title {
	color: #fff;
	margin: 0;
	padding: 0 25px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.35;
	word-wrap: break-word;
}
.ak-gt-archive .ak-tg__label {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: inline-block;
	color: var(--ak-gt-gold);
	font-size: 13px;
	letter-spacing: .06em;
	padding: 16px 25px 25px;
	white-space: nowrap;
}
.ak-gt-archive .ak-tg__empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #666;
	margin: 2rem 0;
}

/* 分页 */
.ak-gt-archive .ak-tg__pagination { margin-top: 2.5rem; }
.ak-gt-archive .ak-tg__pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	flex-wrap: wrap;
}
.ak-gt-archive .ak-tg__nav,
.ak-gt-archive .ak-tg__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ak-gt-ink);
	background: transparent;
	border: 1px solid var(--ak-gt-ink);
	border-radius: 2px;
	text-decoration: none;
	transition: color .25s ease, background-color .25s ease;
}
.ak-gt-archive .ak-tg__nav { padding: .5rem .875rem; font-size: 13px; letter-spacing: .125em; }
.ak-gt-archive .ak-tg__num { min-width: 34px; height: 34px; font-size: 14px; border: 0; }
.ak-gt-archive .ak-tg__nav:hover,
.ak-gt-archive .ak-tg__num:hover { background: var(--ak-gt-ink); color: #fff; }
.ak-gt-archive .ak-tg__num.is-current {
	background: var(--ak-gt-gold);
	border-color: var(--ak-gt-gold);
	color: #fff;
}
.ak-gt-archive .ak-tg__dots { color: #888; padding: 0 .25rem; }

@media (max-width: 767px) {
	.ak-gt-archive { padding: 36px 18px 60px; }
	.ak-gt-archive__title { font-size: 30px; }
	.ak-gt-archive .ak-tg__body { bottom: 48px; }
	.ak-gt-archive .ak-tg__title { font-size: 1.0625rem; padding: 0 18px; }
	.ak-gt-archive .ak-tg__label { font-size: 12px; padding: 12px 18px 18px; }
}
