/* AncestorBank · About Us 页面专用样式
   配色：#14120E 墨 / #C9A227 金 / #F5EFE3 米 / #7A7263 灰 */

.ab-about {
	max-width: 1080px;
	margin: 0 auto;
	color: #33302A;
	font-size: 16.5px;
	line-height: 1.75;
}

.ab-about *,
.ab-about *::before,
.ab-about *::after {
	box-sizing: border-box;
}

.ab-about p {
	margin: 0 0 1.15em;
}

/* ---------- 顶部大图 ---------- */

.ab-hero {
	position: relative;
	margin: 0 0 44px;
	overflow: hidden;
	background: #14120E;
}

.ab-hero img {
	display: block;
	width: 100%;
	height: auto;
}

.ab-hero figcaption {
	display: flex;
	flex-direction: column;
	gap: 9px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 90px 34px 26px;
	background: linear-gradient(to top, rgba(20, 18, 14, .94) 25%, rgba(20, 18, 14, 0));
}

.ab-kicker {
	display: block;
	font-size: 11.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #C9A227;
	margin-bottom: 0;
}

.ab-hero figcaption strong {
	display: block;
	max-width: 700px;
	font-size: clamp(19px, 2.5vw, 30px);
	line-height: 1.26;
	font-weight: 600;
	color: #F5EFE3;
	letter-spacing: -.01em;
}

/* ---------- 开篇 ---------- */

.ab-lede {
	margin: 0 0 52px;
	padding-left: 22px;
	border-left: 3px solid #C9A227;
	font-size: 19px;
	line-height: 1.62;
	color: #2A2620;
}

/* ---------- 通用标题 ---------- */

.ab-about .ab-h2 {
	margin: 0 0 18px;
	font-size: clamp(23px, 2.5vw, 33px);
	line-height: 1.25;
	color: #14120E;
	letter-spacing: -.01em;
}

.ab-block {
	margin: 0 0 56px;
}

.ab-rule {
	border: 0;
	border-top: 1px solid #E7DFCF;
	margin: 0 0 56px;
}

/* ---------- 图文分栏 ---------- */

.ab-split {
	display: grid;
	grid-template-columns: 1.12fr .88fr;
	gap: 46px;
	align-items: start;
	margin: 0 0 56px;
}

.ab-split--rev {
	grid-template-columns: .82fr 1.18fr;
}

.ab-split__img {
	margin: 0;
}

.ab-split__img img,
.ab-gallery img {
	display: block;
	width: 100%;
	height: auto;
	background: #14120E;
}

.ab-split__img figcaption,
.ab-gallery figcaption {
	margin-top: 10px;
	font-size: 12.5px;
	line-height: 1.55;
	color: #7A7263;
}

/* ---------- 步骤 ---------- */

.ab-steps {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	counter-reset: abstep;
}

.ab-steps li {
	position: relative;
	margin: 0 0 0 15px;
	padding: 0 0 24px 40px;
	border-left: 1px solid #E0D7C6;
}

.ab-steps li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.ab-steps li::before {
	counter-increment: abstep;
	content: counter(abstep);
	position: absolute;
	left: -15px;
	top: -1px;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	background: #14120E;
	color: #C9A227;
	font-size: 13px;
	font-weight: 600;
	line-height: 29px;
	text-align: center;
}

/* ---------- 列表 ---------- */

.ab-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.ab-list li {
	position: relative;
	margin: 0 0 15px;
	padding-left: 21px;
}

.ab-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .68em;
	width: 9px;
	height: 1px;
	background: #C9A227;
}

/* ---------- 价格表 ---------- */

.ab-price {
	width: 100%;
	margin: 0 0 26px;
	border-collapse: collapse;
	font-size: 15px;
}

.ab-price thead th {
	padding: 12px 16px;
	background: #14120E;
	color: #F0E8D8;
	font-weight: 600;
	text-align: left;
}

.ab-price td {
	padding: 13px 16px;
	border-bottom: 1px solid #E7DFCF;
	vertical-align: top;
}

.ab-price td:nth-child(2) {
	white-space: nowrap;
	color: #8A6D10;
	font-weight: 600;
}

/* ---------- 三图画廊 ---------- */

.ab-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0 0 58px;
}

.ab-gallery figure {
	margin: 0;
}

/* 三张原图比例不同，统一裁成 3:4，底部对齐 */
.ab-gallery img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

/* ---------- 结尾 CTA ---------- */

.ab-about .ab-cta {
	margin: 0 0 10px;
	padding: 42px 38px 34px;
	background: #14120E;
}

.ab-about .ab-cta .ab-h2 {
	color: #F5EFE3;
	margin-bottom: 12px;
}

.ab-cta p {
	color: #C4BBA9;
	max-width: 640px;
}

.ab-cta__links {
	margin: 22px 0 0 !important;
}

.ab-about .ab-btn {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 14px 26px;
	background: #C9A227;
	color: #14120E !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	text-decoration: none;
	border: 1px solid #C9A227;
	transition: background .2s ease, color .2s ease;
}

.ab-about .ab-btn:hover {
	background: #DDB63A;
}

.ab-about .ab-btn--ghost {
	background: transparent;
	color: #C9A227 !important;
}

.ab-about .ab-btn--ghost:hover {
	background: rgba(201, 162, 39, .14);
}

/* ---------- 移动端 ---------- */

@media (max-width: 900px) {
	.ab-about {
		font-size: 16px;
	}

	.ab-split,
	.ab-split--rev {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.ab-split--rev .ab-split__img {
		order: -1;
	}

	.ab-gallery {
		grid-template-columns: 1fr;
	}

	.ab-hero img {
		max-height: 52vh;
		object-fit: cover;
	}

	.ab-hero figcaption {
		position: static;
		padding: 18px 20px 20px;
		background: #14120E;
	}

	.ab-lede {
		font-size: 17px;
		padding-left: 16px;
		margin-bottom: 40px;
	}

	.ab-about .ab-cta {
		padding: 30px 22px 24px;
	}

	.ab-price {
		font-size: 14px;
	}

	.ab-price thead th,
	.ab-price td {
		padding: 10px 10px;
	}
}

@media (max-width: 560px) {
	.ab-price,
	.ab-price thead,
	.ab-price tbody,
	.ab-price tr,
	.ab-price th,
	.ab-price td {
		display: block;
	}

	.ab-price thead {
		display: none;
	}

	.ab-price tr {
		margin-bottom: 14px;
		border: 1px solid #E7DFCF;
	}

	.ab-price td {
		border: 0;
		padding: 8px 14px;
	}

	.ab-price td:first-child {
		background: #FAF6EE;
		font-weight: 600;
		color: #14120E;
	}
}

/* ---------- 页面头部：hero 图自己承担顶部视觉，隐藏主题标题区 ---------- */

.page-id-208 .page-header,
.page-id-208 .page-title-bar,
.page-id-208 .page-header__title {
	display: none !important;
}

.page-id-208 .site-content,
.page-id-208 .content-area {
	padding-top: 0 !important;
}

/* 移动端按钮拉满宽度，避免两个按钮宽度不齐 */
@media (max-width: 900px) {
	.ab-about .ab-cta .ab-btn {
		display: block;
		width: 100%;
		margin: 0 0 12px;
		text-align: center;
	}

	.ab-about .ab-cta .ab-btn:last-child {
		margin-bottom: 0;
	}
}
