/* consistentlistings.com home page: Pinpoint-style order and compaction on top of Ryan's theme.
   Every AEO block (nav, body copy, FAQ, related pages, footer) stays in the DOM untouched; this
   only reorders the top-level sections, hides the retired inline booking form, and restyles the
   long-form copy into cards. Loaded from a Custom HTML block on page 1000. */

/* 1. Section order: hero, proof bars, interviews, reviews, the written system, then the CTAs. */
body.page-id-1000 #main{display:flex;flex-direction:column}
body.page-id-1000 #main>.hero{order:1}
body.page-id-1000 #main>.exclusivity-bar{order:2}
body.page-id-1000 #main>.stats-bar{order:3}
body.page-id-1000 #main>.sec.proof{order:4}
body.page-id-1000 #main>.sec.reviews{order:5}
body.page-id-1000 #main>.sec:not(.proof):not(.reviews):not(.booking){order:6}
body.page-id-1000 #main>.area-band{order:7}
body.page-id-1000 #main>.narrow{order:8}
body.page-id-1000 #main>.cta-band{order:9}
body.page-id-1000 #main>.sec.booking{display:none!important}

/* 2. Hero: tighter, one clear ask. */
body.page-id-1000 .hero-home{padding:3.6rem 0 2.6rem}
body.page-id-1000 .hero-home h1{font-size:clamp(2.4rem,6vw,4.6rem);margin-bottom:1.1rem}
body.page-id-1000 .hero-sub{margin-bottom:.8rem}
body.page-id-1000 .hero-qualifier{margin-bottom:1.6rem}
body.page-id-1000 .exclusivity-bar{font-size:.92rem;padding:.8rem 1rem}
body.page-id-1000 .stats-bar .stats{padding:1.4rem 1.25rem}

/* 3. Client interviews: the six strongest, the rest one click away on /results. */
body.page-id-1000 .sec.proof{padding:3.25rem 0 2.5rem}
body.page-id-1000 .sec.proof h2{margin-bottom:.5rem}
body.page-id-1000 .sec.proof .section-body{margin-bottom:1.5rem}
body.page-id-1000 .iv-grid>article:nth-child(n+7){display:none}
body.page-id-1000 .sec.proof .cta-row{margin-top:1.5rem}
body.page-id-1000 .sec.reviews{padding:2.5rem 0 3rem;border-top:1px solid var(--line)}

/* 4. The written system: wider column, sections as cards, less air between them. */
body.page-id-1000 #main>.sec:not(.proof):not(.reviews):not(.booking){padding:3.5rem 0 1rem;border-top:1px solid var(--line)}
body.page-id-1000 .entry-content{max-width:960px}
/* The answer-first lede stays in the markup for AEO but is not shown (Harry 17-09: "get rid of that"). */
body.page-id-1000 .entry-content>.answer{display:none}
body.page-id-1000 .entry-content>h2{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.15;margin:5rem 0 .8rem;letter-spacing:-.02em;text-align:center;max-width:22ch;margin-left:auto;margin-right:auto}
body.page-id-1000 .entry-content>h2:first-of-type{margin-top:0}
body.page-id-1000 .entry-content>p{color:var(--muted);font-weight:300;font-size:1rem;line-height:1.75;max-width:640px;margin:0 auto 1.4rem;text-align:center}
body.page-id-1000 .entry-content>ul.wp-block-list{list-style:none;padding:0;margin:0 auto 1rem;max-width:760px;display:grid;gap:10px}
body.page-id-1000 .entry-content>ul.wp-block-list>li{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.9rem 1.1rem .9rem 2.6rem;position:relative;color:var(--muted);font-weight:300;font-size:.95rem;line-height:1.65}
body.page-id-1000 .entry-content>ul.wp-block-list>li::before{content:"";position:absolute;left:1.05rem;top:1.15rem;width:.55rem;height:.55rem;border-radius:2px;background:var(--gold);transform:rotate(45deg)}
body.page-id-1000 .entry-content>ul.wp-block-list>li strong{color:var(--cream);font-weight:500}
body.page-id-1000 .entry-content>.wp-block-table{margin:1.2rem auto 1rem;max-width:760px;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
body.page-id-1000 .entry-content table{width:100%;border-collapse:collapse;margin:0}
body.page-id-1000 .entry-content th{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:.85rem 1.1rem;text-align:left;border-bottom:1px solid var(--gold-border)}
body.page-id-1000 .entry-content th:last-child,body.page-id-1000 .entry-content td:last-child{text-align:right}
body.page-id-1000 .entry-content th:last-child{color:var(--gold)}
body.page-id-1000 .entry-content td{font-size:.92rem;padding:.85rem 1.1rem}

/* Cards the script builds from each run of h3 + paragraph pairs. */
body.page-id-1000 .cl-cards{display:grid;gap:16px;margin:1.2rem 0 1.5rem}
body.page-id-1000 .cl-cards-4{grid-template-columns:repeat(2,1fr)}
body.page-id-1000 .cl-cards-3{grid-template-columns:repeat(3,1fr)}
body.page-id-1000 .cl-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.25rem 1.3rem 1.2rem;transition:border-color .2s}
body.page-id-1000 .cl-card:hover{border-color:var(--gold-border)}
body.page-id-1000 .cl-card h3{margin:0 0 .5rem;padding:0;font-size:1.02rem;line-height:1.3;color:var(--cream);position:static}
body.page-id-1000 .cl-card h3::before{content:none}
body.page-id-1000 .cl-card h3 .n{display:block;font-size:1.8rem;font-weight:700;color:var(--gold);letter-spacing:-.02em;line-height:1;margin-bottom:.55rem}
body.page-id-1000 .cl-card p{margin:0;color:var(--muted);font-weight:300;font-size:.92rem;line-height:1.7;text-align:left;max-width:none}
body.page-id-1000 .cl-card p+p{margin-top:.6rem}

/* FAQ and related pages: same content, tidier. */
body.page-id-1000 .entry-content .faq{padding:2.5rem 0 0;border-top:1px solid var(--line);margin-top:2.5rem}
body.page-id-1000 .entry-content .faq h2{text-align:center;font-size:clamp(1.55rem,3vw,2.15rem);margin:0 0 1.2rem}
body.page-id-1000 .entry-content .faq-item summary{position:relative;padding-right:3rem;font-size:.95rem}
body.page-id-1000 .entry-content .faq-item summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:var(--gold-dim);border:1px solid var(--gold-border);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:1rem;line-height:1}
body.page-id-1000 .entry-content .faq-item[open] summary::after{content:"\2212"}
body.page-id-1000 .entry-content .faq-item summary::-webkit-details-marker{display:none}
body.page-id-1000 .entry-content .related{padding:2rem 0 0;margin-top:2rem;border-top:1px solid var(--line)}
body.page-id-1000 .entry-content .related h2{font-size:1.15rem;margin:0 0 .75rem;text-align:left;max-width:none}
body.page-id-1000 .entry-content .related-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.35rem 1.5rem}
body.page-id-1000 .entry-content .related-list li{padding:.5rem 0;border-bottom:1px solid var(--line);font-size:.9rem}
body.page-id-1000 .entry-content .related-list a{color:var(--text);text-decoration:none}
body.page-id-1000 .entry-content .related-list a:hover{color:var(--gold-2)}
body.page-id-1000 .entry-content .related-list .desc{display:block;color:var(--subtle);font-size:.78rem;font-weight:300}
/* The theme already closes the page with its own CTA band; the copy of it inside the content would repeat it. */
body.page-id-1000 .entry-content>.cta-band{display:none}

/* Closing run: area band, guarantee, FAQ nudge, final CTA. */
body.page-id-1000 .area-band{padding:3rem 0}
body.page-id-1000 #main>.narrow .guarantee{margin:2rem auto 0}
body.page-id-1000 #main>.narrow .faq-cta{margin:1.25rem 0 0;padding-top:1rem}
body.page-id-1000 .cta-band{padding:4rem 0}

@media(max-width:900px){
  body.page-id-1000 .cl-cards-3{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  body.page-id-1000 .cl-cards-4,body.page-id-1000 .cl-cards-3{grid-template-columns:1fr}
  body.page-id-1000 .entry-content .related-list{grid-template-columns:1fr}
  body.page-id-1000 .iv-grid>article:nth-child(n+5){display:none}
  body.page-id-1000 .hero-home{padding:2.6rem 0 2rem}
  body.page-id-1000 #main>.sec:not(.proof):not(.reviews):not(.booking){padding:2.5rem 0 .5rem}
}

/* 17-09 pass two (Harry): drop the platform and guarantee sections, the guarantee aside, the FAQ
   nudge and the area band; related pages become a small link block under the FAQ, footer style.
   Everything stays in the HTML for the crawlers; only the display changes. */
body.page-id-1000 #the-only-platform-built-for-motivated-sellers,
body.page-id-1000 #the-only-platform-built-for-motivated-sellers+p,
body.page-id-1000 #the-only-platform-built-for-motivated-sellers+p+.cl-cards,
body.page-id-1000 #two-to-three-listings-is-what-we-expect-one-is-what-we-guarantee,
body.page-id-1000 #two-to-three-listings-is-what-we-expect-one-is-what-we-guarantee+p,
body.page-id-1000 #two-to-three-listings-is-what-we-expect-one-is-what-we-guarantee+p+p,
body.page-id-1000 #two-to-three-listings-is-what-we-expect-one-is-what-we-guarantee+p+p+.cl-cards,
body.page-id-1000 #main>.narrow,
body.page-id-1000 #main>.area-band{display:none}
body.page-id-1000 .entry-content .faq{margin-top:4rem;padding-top:3.5rem}
body.page-id-1000 .entry-content .faq h2{margin-bottom:1.6rem}
body.page-id-1000 .entry-content .related{margin-top:3.5rem;padding:2rem 0 0;border-top:1px solid var(--line)}
body.page-id-1000 .entry-content .related h2{font-size:.67rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0 0 .9rem}
body.page-id-1000 .entry-content .related-list{grid-template-columns:repeat(3,1fr);gap:.2rem 1.5rem}
body.page-id-1000 .entry-content .related-list li{padding:.3rem 0;border:0;font-size:.82rem}
body.page-id-1000 .entry-content .related-list a{color:var(--muted);font-weight:300}
body.page-id-1000 .entry-content .related-list a:hover{color:var(--cream)}
body.page-id-1000 .entry-content .related-list .desc{display:none}
body.page-id-1000 .cta-band{padding:5rem 0;border-top:1px solid var(--line)}
@media(max-width:600px){
  body.page-id-1000 .entry-content>h2{margin-top:3.5rem}
  body.page-id-1000 .entry-content .related-list{grid-template-columns:1fr}
}
