/* Testimonials Feed —— 筛选栏 + Masonry 瀑布流（复刻 Jacada Testimonials） */

.ak-tf {
	--ak-tf-gold: #c1aa7f;
	--ak-tf-ink: #1a1a1a;
	--ak-tf-grey: #8a8a8a;
}

/* ---------- 筛选栏 ---------- */
.ak-tf__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 20px 32px;
	margin: 0 0 44px;
}
.ak-tf__field label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ak-tf-grey);
}
.ak-tf__select-wrap {
	position: relative;
	width: 290px;
	max-width: 100%;
}
.ak-tf__select-wrap select {
	width: 100%;
	padding: 10px 40px 10px 16px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--ak-tf-ink);
	background: #fff;
	border: 1px solid #d9d6cd;
	border-radius: 30px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}
.ak-tf__select-wrap select:focus {
	outline: none;
	border-color: var(--ak-tf-gold);
	box-shadow: 0 0 0 1px var(--ak-tf-gold);
}
.ak-tf__caret {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 10px;
	height: 6px;
	transform: translateY(-50%);
	color: var(--ak-tf-ink);
	pointer-events: none;
}

/* ---------- 瀑布流网格（CSS columns，高度随内容） ---------- */
.ak-tf__grid {
	columns: 1;
	column-gap: 30px;
}
@media (min-width: 768px) {
	.ak-tf__grid { columns: 2; }
}
@media (min-width: 1200px) {
	.ak-tf__grid { columns: 3; }
}
.ak-tf__card {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	display: inline-block;
	width: 100%;
	margin: 0 0 30px;
	padding: 30px;
	background: #fff;
}
.ak-tf__card.is-hidden { display: none; }

/* ---------- 卡片内部 ---------- */
.ak-tf__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ak-tf__stars i {
	display: inline-block;
	width: 17px;
	height: 17px;
	margin-right: 3px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 17px 17px;
}
.ak-tf__stars i.on {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c1aa7f' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
}
.ak-tf__stars i.off {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ddd9cf' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
}
.ak-tf__date {
	font-size: 15px;
	color: var(--ak-tf-grey);
	white-space: nowrap;
}
.ak-tf__verified {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 15px;
	color: var(--ak-tf-grey);
}
.ak-tf__verified svg {
	width: 12px;
	height: 12px;
}
.ak-tf__title {
	margin: 24px 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ak-tf-ink);
}
.ak-tf__body {
	font-size: 17px;
	line-height: 25px;
	color: var(--ak-tf-ink);
}
.ak-tf__body p {
	margin: 0 0 14px;
}
.ak-tf__body p:last-child {
	margin-bottom: 0;
}
.ak-tf__author {
	margin-top: 20px;
	font-size: 15px;
	color: var(--ak-tf-gold);
}
.ak-tf__empty {
	text-align: center;
	color: #666;
	margin: 30px 0;
}

/* ---------- 分页（与 Travel Guides 页 ak-tg__pagination 样式一致） ---------- */
.ak-tf__pagination {
	margin-top: 2.5rem;
}
.ak-tf__pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	flex-wrap: wrap;
}
.ak-tf__nav {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .875rem;
	font-size: 13px;
	letter-spacing: .125em;
	color: var(--ak-tf-ink);
	background: transparent;
	border: 1px solid var(--ak-tf-ink);
	border-radius: 2px;
	text-decoration: none;
	cursor: pointer;
	transition: color .25s ease-in-out, background-color .25s ease-in-out;
}
.ak-tf__nav:hover {
	background: var(--ak-tf-ink);
	color: #fff;
}
.ak-tf__nav.is-disabled {
	opacity: .25;
	pointer-events: none;
}
.ak-tf__num {
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--ak-tf-ink);
	background: transparent;
	border: 0;
	border-radius: 2px;
	text-decoration: none;
	transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.ak-tf__num:hover {
	background: #f2f0ea;
}
.ak-tf__num.is-current {
	background: var(--ak-tf-gold);
	color: #fff;
	cursor: default;
}
.ak-tf__dots {
	color: #888;
	padding: 0 .25rem;
}

/* ---------- 评分汇总（Hero 内，白字） ---------- */
.ak-tf-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #fff;
}
/* Hero 内的大号星级（ak_tf_stars_html 附加 --light 变体） */
.ak-tf__stars--light i {
	width: 24px;
	height: 24px;
	margin: 0 2px;
	background-size: 24px 24px;
}
.ak-tf__stars--light i.on {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c1aa7f' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
}
.ak-tf__stars--light i.off {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
	opacity: .35;
}
.ak-tf-rating__stars { display: inline-flex; }
.ak-tf-rating__stars i {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin: 0 2px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px 22px;
}
.ak-tf-rating__stars i.on {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c1aa7f' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
}
.ak-tf-rating__stars i.off {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2l2.9 6.2 6.8.9-5 4.7 1.3 6.7L12 17.3 6 20.5l1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E");
	opacity: .35;
}
.ak-tf-rating__score {
	font-size: 19px;
	color: #fff;
}
.ak-tf-rating__score b {
	font-weight: 500;
}
.ak-tf-rating__meta {
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
}

@media (max-width: 767px) {
	.ak-tf__filters { gap: 16px 20px; margin-bottom: 32px; }
	.ak-tf__select-wrap { width: 100%; }
	.ak-tf__card { padding: 22px; margin-bottom: 22px; }
	.ak-tf__title { font-size: 23px; margin: 18px 0; }
	.ak-tf__body { font-size: 16px; line-height: 24px; }
}

/* ------------------------------------------------------------------
 * Testimonials strip（A&K 风格，目的地页横滑评价条）
 * v1.0.8：
 *   - 眉题/大标题可拆到页面标题部件（短代码 head="0"）
 *   - 前/后圆钮移至轮播内容左右两侧、垂直居中于内容中线
 * ------------------------------------------------------------------ */
.ak-tstrip {
	--tst-ink: #1a1a1a;
	--tst-tan: #e6dbc1;
}
.ak-tstrip__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}

/* ---------- 头部（短代码 head="1" 时输出） ---------- */
.ak-tstrip__head {
	margin-bottom: 36px;
}
.ak-tstrip__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tst-ink);
}
.ak-tstrip__heading {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--tst-ink);
}

/* ---------- 轮播体：按钮绝对定位于左右两侧、垂直居中 ---------- */
.ak-tstrip__body {
	position: relative;
}
.ak-tstrip__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	color: var(--tst-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 10px rgba(19, 41, 75, .10);
	transition: opacity .2s, background .2s, box-shadow .2s;
}
.ak-tstrip__btn:hover:not(:disabled) {
	background: #f7f3e8;
	box-shadow: 0 4px 14px rgba(19, 41, 75, .16);
}
.ak-tstrip__btn:disabled {
	opacity: .35;
	cursor: default;
	box-shadow: none;
}
.ak-tstrip__btn svg {
	width: 18px;
	height: 18px;
}
.ak-tstrip__btn--prev {
	left: -23px;
}
.ak-tstrip__btn--next {
	right: -23px;
}

/* ---------- 横滑卡片 ---------- */
.ak-tstrip__scroller {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0 0 4px;
}
.ak-tstrip__scroller::-webkit-scrollbar {
	display: none;
}
.ak-tstrip__card {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}
.ak-tstrip__text {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 24px;
	color: var(--tst-ink);
}
.ak-tstrip__text p {
	margin: 0 0 10px;
}
.ak-tstrip__text p:last-child {
	margin-bottom: 0;
}
.ak-tstrip__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 14px;
}
.ak-tstrip__ava {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tst-tan);
	color: #13294b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
	flex: none;
}
.ak-tstrip__who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ak-tstrip__name {
	font-size: 14px;
	font-weight: 700;
	color: var(--tst-ink);
}
.ak-tstrip__trip {
	font-size: 13px;
	font-style: italic;
	color: #4a4a4a;
}

/* ---------- 页面标题部件（head="0" 时与轮播同宽对齐） ---------- */
body.single-destination .ak-tstrip-hw {
	width: 100% !important;
	max-width: 1440px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.ak-tstrip__card { flex-basis: calc((100% - 24px) / 2); }
	.ak-tstrip__heading { font-size: 30px; }
}
@media (max-width: 640px) {
	.ak-tstrip__card { flex-basis: 86%; padding: 22px; }
	.ak-tstrip__heading { font-size: 25px; }
	.ak-tstrip__inner { padding: 0 20px; }
	.ak-tstrip__btn { width: 34px; height: 34px; }
	.ak-tstrip__btn svg { width: 15px; height: 15px; }
	.ak-tstrip__btn--prev { left: -17px; }
	.ak-tstrip__btn--next { right: -17px; }
	body.single-destination .ak-tstrip-hw { padding-left: 20px !important; padding-right: 20px !important; }
}
