/* ==========================================================================
   Hayes Hunter PC – Practice Sub-Page template (template-practice-sub.php)
   Builds on the theme's page-hero / block-row / services-info classes.
   Tokens live in hh-site.css (:root).
   ========================================================================== */

/* ---------- Hero ---------- */
body .hh-sub .hh-sub-hero {
	height: auto;
	min-height: 560px;
	padding: 220px 0 72px;
	display: flex;
	align-items: flex-end;
	background:
		linear-gradient(90deg, rgba(12,50,39,.96) 0%, rgba(12,50,39,.86) 50%, rgba(12,50,39,.62) 100%),
		url(../img/home-partners/partner-4.jpg) center / cover no-repeat;
}
.hh-sub .hh-sub-hero .water-mark { opacity: .06; }
.hh-sub .hh-sub-hero .services-header-box {
	position: relative;
	bottom: auto;
	left: auto;
	width: min(1220px, 100% - 48px);
	margin: 0 auto;
	z-index: 2;
}
.hh-sub .services-header-box h1 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.08;
	padding: 0 0 18px;
	max-width: 900px;
	text-wrap: balance;
}
.hh-sub .services-header-box p { max-width: 760px; font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 0 28px; }

.hh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hh-crumbs a { color: var(--hh-gold); font-weight: 600; }
.hh-crumbs a:hover { color: #fff; }
.hh-crumbs span { color: rgba(255,255,255,.6); }

.hh-sub-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hh-sub-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px; border-radius: 4px;
	font-family: "DM Sans", sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	border: 2px solid transparent; transition: background .18s ease, color .18s ease, transform .18s ease;
}
.hh-sub-btn:hover { transform: translateY(-1px); }
.hh-sub-btn-gold { background: var(--hh-gold); color: var(--hh-forest) !important; }
.hh-sub-btn-gold:hover { background: #ebcd7f; }
.hh-sub-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff !important; }
.hh-sub-btn-ghost:hover { background: #fff; color: var(--hh-forest) !important; }

/* ---------- Intro block-row ---------- */
.hh-sub-intro { align-items: stretch; }
.hh-img-placeholder {
	min-height: 460px;
	background: linear-gradient(135deg, #dcd6c8 0%, #ece8df 55%, #e3ddd0 100%);
	display: flex; align-items: center; justify-content: center;
	position: relative;
}
.hh-img-placeholder img { width: 38%; max-width: 220px; opacity: .55; filter: brightness(.85); }
.hh-sub-intro .stacked-box h2 { color: var(--hh-forest); font-weight: 400; }
.hh-sub-intro .stacked-box p { font-size: 1.08rem; line-height: 1.7; color: #3c4a43; }

/* ---------- Body ---------- */
.hh-sub-body .inner-wrapper { max-width: 1220px; }
.hh-answer {
	max-width: 900px; margin: 0 auto 56px; padding: 28px 32px;
	background: #fff; border-left: 4px solid var(--hh-gold); border-radius: 4px;
	box-shadow: 0 12px 30px rgba(12,50,39,.06);
}
.hh-answer-label { font-size: .74rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-gold-ink) !important; margin: 0 0 8px !important; }
.hh-answer p { font-size: 1.12rem; line-height: 1.7; color: var(--hh-ink); margin: 0; text-align: left; }

.hh-sub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; text-align: left; }

/* Article typography */
.hh-article { background: #fff; border-radius: 6px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--hh-line); }
.hh-article > *:first-child { margin-top: 0; padding-top: 0; }
.hh-article h2 {
	font-family: "Playfair Display", serif; font-weight: 400; color: var(--hh-forest);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; padding: 0; margin: 48px 0 16px; text-align: left;
}
.hh-article h3 { font-family: "Playfair Display", serif; font-weight: 400; color: var(--hh-forest); font-size: 1.35rem; line-height: 1.3; padding: 0; margin: 30px 0 10px; }
.hh-article p { font-size: 1.05rem; line-height: 1.75; color: #34413a; margin: 0 0 18px; text-align: left; }
.hh-article ul, .hh-article ol { margin: 0 0 22px; padding-left: 1.3em; }
.hh-article li { font-size: 1.04rem; line-height: 1.65; color: #34413a; padding: 4px 0; }
.hh-article li::marker { color: var(--hh-sage); }
.hh-article a { color: var(--hh-sage); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hh-article a:hover { color: var(--hh-forest); }
.hh-article strong { color: var(--hh-ink); }

.hh-article .hh-keypoints { background: var(--hh-cream); border-radius: 6px; padding: 24px 28px 10px; margin: 0 0 32px; }
.hh-article .hh-keypoints p:first-child { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-gold-ink); margin-bottom: 8px; }

.hh-article .hh-callout {
	background: var(--hh-forest); color: #fff; border-radius: 6px; padding: 28px 30px; margin: 36px 0;
	position: relative; overflow: hidden;
}
.hh-article .hh-callout p { color: rgba(255,255,255,.88); margin-bottom: 14px; }
.hh-article .hh-callout p:first-child { font-family: "Playfair Display", serif; font-size: 1.35rem; color: #fff; line-height: 1.35; }
.hh-article .hh-callout a { color: var(--hh-gold); }
.hh-article .hh-callout a:hover { color: #fff; }

.hh-article .hh-table-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--hh-line); border-radius: 6px; }
.hh-article table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
.hh-article th { background: var(--hh-forest); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.hh-article td { padding: 12px 16px; border-top: 1px solid var(--hh-line); vertical-align: top; color: #34413a; line-height: 1.55; }
.hh-article tr:nth-child(even) td { background: #faf8f3; }

/* Sidebar */
.hh-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.hh-side-card { background: #fff; border-radius: 6px; padding: 26px 26px 20px; border: 1px solid var(--hh-line); }
.hh-side-title { font-size: .74rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-gold-ink) !important; margin: 0 0 12px !important; text-align: left; }
.hh-side-card ul { list-style: none; margin: 0; padding: 0; }
.hh-side-card li { padding: 0; font-size: 1rem; }
.hh-side-card li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--hh-line); color: var(--hh-forest); font-size: .96rem; line-height: 1.4; }
.hh-side-card li:last-child a { border-bottom: 0; }
.hh-side-card li a:hover { color: var(--hh-sage); }
.hh-side-cta { background: var(--hh-forest); border-color: var(--hh-forest); }
.hh-side-cta .hh-side-title { color: var(--hh-gold) !important; }
.hh-side-cta p { color: rgba(255,255,255,.85); font-size: .98rem; line-height: 1.6; text-align: left; margin: 0 0 18px; }
.hh-side-cta .hh-sub-btn { width: 100%; }
.hh-side-phone { display: block; text-align: center; margin: 16px 0 10px; font-family: "Playfair Display", serif; font-size: 1.5rem; color: var(--hh-gold) !important; }
.hh-side-cta .hh-side-small { font-size: .82rem; color: rgba(255,255,255,.6); text-align: center; margin: 0; }

/* ---------- FAQ ---------- */
.hh-sub-faq { background: #fff; padding: 96px 0; }
.hh-sub-faq h2 { font-family: "Playfair Display", serif; font-weight: 400; color: var(--hh-forest); font-size: clamp(2rem, 3.4vw, 2.8rem); padding-top: 0; }
.hh-sub-faq-list { max-width: 900px; margin: 30px auto 0; text-align: left; }
.hh-sub-faq-list details { border-bottom: 1px solid var(--hh-line); }
.hh-sub-faq-list details:first-child { border-top: 1px solid var(--hh-line); }
.hh-sub-faq-list summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative; }
.hh-sub-faq-list summary::-webkit-details-marker { display: none; }
.hh-sub-faq-list summary::after {
	content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hh-line);
	display: grid; place-items: center; font-size: 1.2rem; color: var(--hh-sage);
}
.hh-sub-faq-list details[open] summary::after { content: "–"; background: var(--hh-sage); border-color: var(--hh-sage); color: #fff; }
.hh-sub-faq-list summary h3 { display: inline; font-family: "Playfair Display", serif; font-weight: 400; font-size: 1.25rem; line-height: 1.35; color: var(--hh-forest); padding: 0; }
.hh-sub-faq-a { padding: 0 52px 22px 0; }
.hh-sub-faq-a p { font-size: 1.04rem; line-height: 1.75; color: #45524b; text-align: left; margin: 0 0 12px; }
.hh-sub-faq-a a { color: var(--hh-sage); font-weight: 600; }
.hh-sub-disclaimer { max-width: 900px; margin: 26px auto 0; font-size: .85rem !important; font-style: italic; color: #6b766f !important; text-align: left; }

/* ---------- Related ---------- */
.hh-sub-related { background: var(--hh-cream); padding: 96px 0; }
.hh-sub-related h2 { font-family: "Playfair Display", serif; font-weight: 400; color: var(--hh-forest); font-size: clamp(2rem, 3.4vw, 2.8rem); padding-top: 0; }
.hh-sub-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 30px; text-align: left; }
.hh-sub-rel-card { background: #fff; border-radius: 6px; border: 1px solid var(--hh-line); padding: 26px; }
.hh-sub-rel-card ul { list-style: none; margin: 0; padding: 0; }
.hh-sub-rel-card li { padding: 0; }
.hh-sub-rel-card a { display: block; padding: 9px 0; border-bottom: 1px solid var(--hh-line); color: var(--hh-forest); font-size: .96rem; }
.hh-sub-rel-card li:last-child a { border-bottom: 0; }
.hh-sub-rel-card a:hover { color: var(--hh-sage); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.hh-sub-layout { grid-template-columns: 1fr; }
	.hh-sidebar { position: static; }
}
@media (max-width: 800px) {
	body .hh-sub .hh-sub-hero { padding: 170px 0 56px; min-height: 0; }
	.hh-sub .services-header-box p { max-width: 100%; }
	.hh-img-placeholder { min-height: 260px; width: 100% !important; }
	.hh-sub-faq, .hh-sub-related { padding: 64px 0; }
}
@media (max-width: 640px) {
	.hh-sub .hh-sub-hero .services-header-box { width: calc(100% - 32px); }
	.hh-sub-btn { width: 100%; }
	.hh-answer { padding: 22px; }
	.hh-article { padding: 24px 20px; max-width: 100vw; }
	.hh-sub-faq-list summary, .hh-sub-faq-a { padding-right: 44px; }
	.hh-sub-faq-a { padding-right: 0; }
}

/* ---------- Pillar services grid ---------- */
.hh-pillar-services { background: #fff; padding: 96px 0 72px; }
.hh-pillar-services h2 { font-family: "Playfair Display", serif; font-weight: 400; color: var(--hh-forest); font-size: clamp(2rem, 3.4vw, 2.8rem); padding-top: 0; }
.hh-svc-group-title { font-size: .76rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hh-gold-ink) !important; margin: 36px 0 14px !important; text-align: left; }
.hh-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; text-align: left; }
.hh-svc-card {
	display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 6px;
	border: 1px solid var(--hh-line); background: #fff; color: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hh-svc-card:hover { border-color: var(--hh-sage); box-shadow: 0 16px 40px rgba(12,50,39,.08); transform: translateY(-3px); }
.hh-svc-card h3 { font-family: "Playfair Display", serif; font-weight: 400; font-size: 1.35rem; line-height: 1.3; color: var(--hh-forest); padding: 0; margin: 0 0 10px; }
.hh-svc-card p { font-size: .96rem; line-height: 1.6; color: #55625b; text-align: left; margin: 0 0 16px; }
.hh-svc-more { margin-top: auto; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hh-sage); }
.hh-svc-more::after { content: " →"; }
@media (max-width: 800px) { .hh-pillar-services { padding: 64px 0 48px; } }
.hh-svc-pillar-head { text-align: left; margin: 56px 0 4px; padding-top: 32px; border-top: 1px solid var(--hh-line); }
.hh-svc-pillar-head:first-of-type { border-top: 0; padding-top: 0; margin-top: 24px; }
.hh-svc-pillar-head h3 { font-family: "Playfair Display", serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--hh-forest); padding: 0; margin: 0 0 6px; }
.hh-svc-pillar-head h3 a { color: inherit; }
.hh-svc-pillar-head h3 a:hover { color: var(--hh-sage); }
.hh-svc-pillar-head p { color: #55625b; margin: 0; text-align: left; }

/* Intro button: let the theme's fixed-height .button grow to fit longer labels */
.hh-sub-intro .stacked-box .button {
	height: auto; min-height: 50px; line-height: 1.3;
	padding: 15px 56px 15px 28px; display: inline-block;
	width: auto; max-width: 100%; min-width: 0;
}
