/* Houston pages (template-parts/houston/city-page.php). Loaded after specialists.css and article.css. */

/* Hero */
.hou-hero { padding-top: 48px; padding-bottom: 64px; }
.hou-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.apx .hou-h1 { margin: 0 0 16px; font-family: inherit; font-size: clamp(38px, 4.4vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -1.6px; color: var(--apx-navy); text-transform: none; }
.apx .hou-intro { margin: 6px 0 0; }
.apx .hou-intro p { margin: 0 0 14px; font-size: 18px; line-height: 1.7; }
.apx .hou-intro p.hou-lead { font-size: 20px; line-height: 1.65; color: var(--apx-ink); }
.apx .hou-intro p strong { color: var(--apx-navy); }
.apx .hou-points { margin: 10px 0 4px; }
.apx .hou-points li { font-size: 17px; line-height: 26px; }
.apx .hou-points .apx-ico { width: 14px; height: 14px; margin-top: 6px; }
.apx .hou-points li span { min-width: 0; }
.apx.hou .alp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 4px; }
.hou-hero-img { margin: 0; overflow: hidden; border: 1px solid var(--apx-line); border-radius: 24px; background: linear-gradient(160deg, #dfeaf7, #d4efec); box-shadow: var(--apx-shadow-xl); }
.hou-hero-img img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.hou-hero-img:hover img { transform: scale(1.03); }

/* Byline (same look as blog posts) */
.apx .apx-post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--apx-line); border-radius: 12px; background: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.5; color: var(--apx-muted); }
.apx .apx-post-byline strong { font-weight: 600; color: var(--apx-navy); }
.apx-post-reviewed { display: inline; }
.apx-post-reviewed svg { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.apx-post-reviewed svg circle { fill: #0E9F6E; }
.apx-post-reviewed svg path { fill: #fff; }
.apx-post-sep { color: var(--apx-line-2); }
.apx-post-nowrap { white-space: nowrap; }

/* Doctor finder */
.hou-finder-sec { position: relative; z-index: 2; margin-top: -24px; padding-bottom: 8px; }
.hou-finder { display: flex; flex-direction: column; gap: 22px; padding: 28px; border: 1px solid var(--apx-line); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .3); }
.hou-finder::before { content: ""; display: block; height: 4px; margin: -28px -28px 6px; border-radius: 22px 22px 0 0; background: var(--apx-grad); }
.hou-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.hou-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apx .hou-field label { font-size: 14px; font-weight: 600; color: var(--apx-navy); }
.apx .hou-field input, .apx .hou-field select { width: 100%; min-height: 56px; margin: 0; padding: 12px 16px; border: 1px solid var(--apx-line-2); border-radius: 10px; background: #FBFDFF; font-family: inherit; font-size: 17px; color: var(--apx-navy); box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.apx .hou-field input:focus, .apx .hou-field select:focus { outline: none; border-color: var(--apx-blue); background: #fff; box-shadow: 0 0 0 3px var(--apx-blue-20); }
.hou-search .apx-btn { min-height: 56px; }
.hou-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.apx .hou-tiles a { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-blue); display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--apx-line); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 600; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.apx .hou-tiles a:hover { border-color: var(--apx-blue-20); box-shadow: 0 8px 18px -10px rgba(46, 102, 255, .5); transform: translateY(-2px); }
.hou-tiles img { width: 40px; height: 40px; border-radius: 50%; background: var(--apx-blue-5); }

/* Live doctor cards */
.hou-grid-wrap { display: flex; flex-direction: column; gap: 16px; }
.hou-grid-wrap[hidden] { display: none; }
.hou-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.apx .hou-doc { gap: 14px; padding: 22px; border-radius: 16px; }
.hou-doc-top { display: flex; align-items: center; gap: 14px; }
.hou-av { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--apx-blue-20); }
.hou-av-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--apx-grad); font-size: 22px; font-weight: 700; color: #fff; }
.apx .hou-doc-name { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--apx-navy); }
.apx .hou-doc-spec { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--apx-blue); }
.apx .hou-doc-meta { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--apx-line); list-style: none; }
.apx .hou-doc-meta li { font-size: 15px; line-height: 1.45; color: var(--apx-ink); }
.apx .hou-doc-meta span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-muted); }
.apx .hou-doc-cta { margin-top: auto; width: 100%; min-height: 46px; }
.apx .hou-see-all { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 16px; font-weight: 600; text-decoration: none; }
.hou-see-all .apx-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hou-see-all:hover .apx-arrow { transform: translateX(4px); }

/* Article */
.hou-article { padding-top: 64px; }
.hou-col { max-width: 860px; }
.apx .hou-section { padding: 0 0 8px; }
.apx .hou-section + .hou-section { margin-top: 44px; }
.apx .hou-section > h2 { margin-top: 0; }
.apx .hou-section > h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--apx-grad); }

/* FAQ */
.apx .hou-faq .apx-faq-body.apx-prose p { margin: 0; font-size: 17px; }

/* Closing call to action */
.hou-closing-sec { padding-top: 8px; }
.apx .hou-closing { position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto; padding: 48px 52px; border: 1px solid var(--apx-blue-20); border-radius: 24px; background: linear-gradient(135deg, rgba(204, 245, 255, .55), rgba(46, 102, 255, .08)); text-align: center; }
.apx .hou-closing::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 102, 255, .16), rgba(46, 102, 255, 0) 70%); pointer-events: none; animation: apxDriftB 16s ease-in-out infinite alternate; }
.apx .hou-closing > * { position: relative; z-index: 1; }
.apx .hou-closing > h2 { margin-top: 0; font-size: 36px; }
.apx .hou-closing p:not(.blog-cta *) { max-width: 720px; margin-left: auto; margin-right: auto; }
.apx .hou-closing .apptly-cta:not(.blog-cta *) { justify-content: center; margin-left: auto; margin-right: auto; }
.apx .hou-closing + .hou-closing { margin-top: 20px; }

/* Phone button */
.apx .hou-sticky { display: none; }

/* Link colours (the specialist pages set link colours with --apx-a / --apx-a-hover) */
.hou-intro { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); }

@media (max-width: 1100px) {
	.hou-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.hou-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hou-hero-img { max-width: 720px; }
}
@media (max-width: 767px) {
	.hou-hero { padding-top: 32px; padding-bottom: 44px; }
	.apx .hou-h1 { font-size: 36px; letter-spacing: -.8px; }
	.apx .hou-intro p.hou-lead { font-size: 18px; }
	.apx .apx-post-byline { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; }
	.apx .apx-post-byline .apx-post-sep { display: none; }
	.hou-finder-sec { margin-top: -16px; }
	.hou-finder { padding: 20px 18px; }
	.hou-finder::before { margin: -20px -18px 4px; }
	.hou-search { grid-template-columns: minmax(0, 1fr); }
	.hou-search .apx-btn { width: 100%; }
	.apx.hou .alp-actions .apx-btn { width: 100%; min-height: 52px; height: auto; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.3; }
	.apx .hou-tiles a { font-size: 15px; }
	.hou-grid { grid-template-columns: minmax(0, 1fr); }
	.hou-article { padding-top: 44px; }
	.apx .hou-section + .hou-section { margin-top: 32px; }
	.apx .hou-closing { padding: 32px 20px; }
	.apx .hou-closing > h2 { font-size: 27px; }
	.hou-body .apx .hou-sticky { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; min-height: 52px; border-radius: 999px; box-shadow: 0 10px 24px -6px rgba(46, 102, 255, .55); }
	.hou-body-houortho, .hou-body-houselfpay { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
	.apx .hou-closing::after { animation: none !important; }
}
