/*
Theme Name: Repair Cost Tools
Theme URI: https://repaircosttools.com
Author: OpenAI
Description: Lightweight AdSense-ready utility theme for calculator sites.
Version: 1.9.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: repair-cost-tools
*/
:root{--hct-bg:#f7f4ef;--hct-ink:#171717;--hct-muted:#666;--hct-card:#fff;--hct-accent:#0f766e;--hct-line:#e7e1d7;--hct-soft:#ede8dd}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--hct-bg);color:var(--hct-ink);line-height:1.6}a{color:var(--hct-accent);text-decoration:none}a:hover{text-decoration:underline}.hct-wrap,.hct-container{width:min(1180px, calc(100% - 48px));max-width:1180px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.hct-header{position:sticky;top:0;background:rgba(247,244,239,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--hct-line);z-index:50}.hct-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0}.hct-brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;color:var(--hct-ink);font-size:1.15rem;letter-spacing:-.02em}.hct-brand img{display:block;width:auto;height:42px;max-width:260px}.hct-brand-text{display:inline-block}.hct-menu{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.hct-menu a{color:var(--hct-ink);font-weight:650;font-size:.94rem}.hct-hero{padding:58px 0 36px;overflow:hidden}.hct-hero p{max-width:760px;font-size:1.08rem;color:#3f3f3f}.hct-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}.hct-kicker,.hct-eyebrow{display:inline-flex;background:var(--hct-soft);border:1px solid var(--hct-line);padding:6px 10px;border-radius:999px;font-weight:800;font-size:.82rem}.hct-hero h1{font-size:clamp(2.25rem,4.8vw,4.15rem);line-height:1.02;margin:18px 0 18px;letter-spacing:-.055em;max-width:1050px}.hct-lead{font-size:1.14rem;color:#3f3f3f;max-width:700px}.hct-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hct-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:999px;font-weight:850;border:1px solid var(--hct-ink);background:var(--hct-ink);color:#fff}.hct-btn.secondary{background:#fff;color:var(--hct-ink)}.hct-card,.hct-content,.hct-sidebar-box{background:var(--hct-card);border:1px solid var(--hct-line);border-radius:22px;box-shadow:0 12px 35px rgba(21,21,21,.06)}.hct-hero-card{padding:24px}.hct-stat{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hct-stat div{background:var(--hct-bg);border:1px solid var(--hct-line);border-radius:18px;padding:16px}.hct-stat strong{display:block;font-size:1.6rem}.hct-section{padding:34px 0}.hct-section h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.06;letter-spacing:-.04em;margin:0 0 18px}.hct-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hct-tool-card{padding:22px}.hct-tool-card h3{margin:0 0 8px;font-size:1.2rem}.hct-tool-card p{color:var(--hct-muted);margin:0 0 16px}.hct-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding:34px 0}.hct-content{padding:30px}.hct-content h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.05em}.hct-sidebar{display:flex;flex-direction:column;gap:16px}.hct-sidebar-box{padding:20px}.hct-ad{min-height:90px;border:1px dashed #b9b0a4;background:#faf8f4;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#777;font-size:.9rem;margin:22px 0}.hct-footer{border-top:1px solid var(--hct-line);padding:35px 0;color:#555;margin-top:40px}.hct-footer-grid{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.hct-calculator{background:#fff;border:1px solid var(--hct-line);border-radius:22px;padding:22px;margin:22px 0}.hct-field{margin:0 0 14px}.hct-field label{display:block;font-weight:800;margin-bottom:6px}.hct-field input,.hct-field select{width:100%;padding:12px 13px;border:1px solid #d9d1c6;border-radius:14px;font:inherit;background:#fff}.hct-result{background:#eef8f6;border:1px solid #b8e2da;border-radius:18px;padding:18px;margin-top:18px}.hct-result strong{font-size:1.8rem;display:block}.wp-block-image img{border-radius:20px}@media(max-width:900px){.hct-hero-grid,.hct-layout{grid-template-columns:1fr}.hct-grid{grid-template-columns:1fr 1fr}.hct-menu{display:none}}@media(max-width:640px){.hct-wrap,.hct-container{width:min(100% - 28px,1180px)}.hct-grid{grid-template-columns:1fr}.hct-content{padding:22px}.hct-hero{padding-top:36px}.hct-hero h1{font-size:clamp(2rem,12vw,3rem)}}

.hct-main{padding-top:26px;padding-bottom:40px}.hct-band{margin-top:34px;background:#fff;border:1px solid var(--hct-line);border-radius:24px;padding:26px;box-shadow:0 12px 35px rgba(21,21,21,.05)}

.hct-logo-preview{max-width:340px;height:auto}.hct-trust-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.hct-trust-row div{background:#fff;border:1px solid var(--hct-line);border-radius:18px;padding:16px}.hct-trust-row strong{display:block;margin-bottom:4px}.hct-legal-note{font-size:.94rem;color:var(--hct-muted)}@media(max-width:760px){.hct-brand img{height:34px;max-width:210px}.hct-trust-row{grid-template-columns:1fr}}

.hct-directory-intro{margin-bottom:28px}.hct-directory-links{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 4px}.hct-directory-links a{display:inline-flex;padding:8px 12px;border:1px solid var(--hct-line);border-radius:999px;background:#fff;color:var(--hct-ink);font-weight:800;font-size:.9rem}.hct-tool-section{margin:34px 0}.hct-tool-section h2{font-size:clamp(1.45rem,2.4vw,2.1rem);letter-spacing:-.035em;margin:0 0 14px}.hct-content-note{border-top:1px solid var(--hct-line);margin-top:32px;padding-top:24px}.hct-guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 28px}.hct-guide-list a{display:block;background:#fff;border:1px solid var(--hct-line);border-radius:18px;padding:18px;color:var(--hct-ink)}.hct-guide-list strong{display:block;margin-bottom:6px}.hct-guide-list span{display:block;color:var(--hct-muted)}@media(max-width:900px){.hct-guide-list{grid-template-columns:1fr}}


/* v1.4.0 launch polish */
.hct-hero-launch{padding:62px 0 42px}.hct-hero-launch .hct-hero-card h2{font-size:clamp(1.55rem,2.2vw,2.2rem);line-height:1.08;letter-spacing:-.04em;margin:.5rem 0 1rem}.hct-checklist{margin:0;padding-left:1.2rem;color:#343434}.hct-checklist li{margin:.42rem 0}.hct-feature-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 0 24px}.hct-feature-strip div,.hct-topic-card{background:#fff;border:1px solid var(--hct-line);border-radius:20px;padding:20px;box-shadow:0 12px 35px rgba(21,21,21,.045)}.hct-feature-strip strong{display:block;font-size:1.2rem;letter-spacing:-.025em}.hct-feature-strip span{display:block;color:var(--hct-muted);margin-top:4px}.hct-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}.hct-section-head h2{margin:.4rem 0 0}.hct-section-head>a{font-weight:850}.hct-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start}.hct-two-col h2{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.05;letter-spacing:-.045em;margin:.5rem 0 1rem}.hct-mini-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hct-mini-steps div{background:var(--hct-bg);border:1px solid var(--hct-line);border-radius:18px;padding:16px}.hct-mini-steps strong{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:var(--hct-ink);color:#fff;margin-bottom:10px}.hct-mini-steps span{display:block;color:#444}.hct-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hct-topic-card h3{font-size:1.35rem;line-height:1.15;letter-spacing:-.03em;margin:.2rem 0 .6rem}.hct-topic-card p{color:var(--hct-muted)}.hct-home-guides{margin-bottom:0}.hct-callout-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.hct-callout-row div{background:#fff;border:1px solid var(--hct-line);border-radius:18px;padding:16px}.hct-callout-row strong{display:block;margin-bottom:4px}.hct-callout-row span{display:block;color:var(--hct-muted)}.hct-guide-section{margin:30px 0}.hct-guide-section h2{margin-bottom:14px}
@media(max-width:900px){.hct-feature-strip,.hct-two-col,.hct-topic-grid,.hct-callout-row{grid-template-columns:1fr}.hct-section-head{align-items:flex-start;flex-direction:column}.hct-mini-steps{grid-template-columns:1fr}}


/* v1.5.0 content growth components */
.hct-toc{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px 16px;margin:22px 0}.hct-toc strong{margin-right:4px}.hct-toc a{display:inline-flex;border:1px solid var(--hct-line);background:#fff;border-radius:999px;padding:7px 10px;color:var(--hct-ink);font-weight:750;font-size:.9rem}.hct-action-box,.hct-bid-check{background:#f8fafc;border:1px solid #dbe7ef;border-radius:22px;padding:22px;margin:26px 0}.hct-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hct-check-grid div{background:#fff;border:1px solid var(--hct-line);border-radius:16px;padding:14px}.hct-check-grid strong{display:block;margin-bottom:4px}.hct-check-grid span{display:block;color:var(--hct-muted);font-size:.95rem}.hct-faq{border-top:1px solid var(--hct-line);margin-top:12px}.hct-faq h3{font-size:1.05rem;margin:18px 0 6px}.hct-faq p{margin:0 0 12px}.hct-content section{scroll-margin-top:90px}@media(max-width:820px){.hct-check-grid{grid-template-columns:1fr}.hct-toc{align-items:flex-start}}


/* v1.5.3 legal/contact/email polish */
.hct-content h2{margin-top:1.35em}.hct-content ul{padding-left:1.25rem}.hct-content li{margin:.35rem 0}.hct-contact-panel,.hct-legal-panel{background:#fff;border:1px solid var(--hct-line);border-radius:20px;padding:20px;margin:20px 0}.hct-content .hct-callout-row{margin:20px 0 24px}.hct-content .hct-ad{background:#faf8f4}

.hct-footer-email{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:#555;font-size:.94rem}

.hct-menu-list{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.hct-menu-list li{margin:0;padding:0}.hct-menu-fallback{display:flex}


/* v1.6.0 search growth components */
.hct-updated{display:inline-flex;gap:6px;align-items:center;background:#fff;border:1px solid var(--hct-line);border-radius:999px;padding:7px 11px;color:#555;font-size:.9rem;margin:.25rem 0 1rem}.hct-cost-table{margin:26px 0}.hct-cost-table table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--hct-line);border-radius:18px;overflow:hidden}.hct-cost-table th,.hct-cost-table td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--hct-line);vertical-align:top}.hct-cost-table tr:last-child td{border-bottom:0}.hct-cost-table th{background:#f8fafc;font-size:.92rem;text-transform:uppercase;letter-spacing:.04em}.hct-footer-topics{width:100%;border-top:1px solid var(--hct-line);padding-top:18px;margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}.hct-footer-topics strong{width:100%;color:#333}.hct-footer-topics a{display:inline-flex;background:#fff;border:1px solid var(--hct-line);border-radius:999px;padding:7px 10px;color:var(--hct-ink);font-weight:750;font-size:.9rem}.hct-content .hct-cost-table+ .hct-ad{margin-top:18px;margin-bottom:26px}
@media(max-width:700px){.hct-cost-table{overflow-x:auto}.hct-cost-table table{min-width:560px}.hct-footer-topics a{font-size:.86rem}}


/* v1.6.1 guide hub search/filter UX */
.hct-guide-hub{margin-top:8px}.hct-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:stretch;background:#fff;border:1px solid var(--hct-line);border-radius:24px;padding:24px;margin:0 0 22px;box-shadow:0 12px 35px rgba(21,21,21,.045)}.hct-guide-hero h2{font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.05;letter-spacing:-.05em;margin:.6rem 0 .8rem}.hct-guide-searchbox{background:var(--hct-bg);border:1px solid var(--hct-line);border-radius:20px;padding:18px}.hct-guide-searchbox label{display:block;font-weight:850;margin-bottom:8px}.hct-guide-searchbox input{width:100%;border:1px solid #d9d1c6;border-radius:14px;padding:12px 13px;font:inherit;background:#fff}.hct-guide-searchbox p{margin:10px 0 0;color:var(--hct-muted);font-size:.94rem}.hct-guide-tabs{position:sticky;top:78px;z-index:9;display:flex;gap:9px;flex-wrap:wrap;background:rgba(247,244,239,.96);backdrop-filter:blur(8px);border:1px solid var(--hct-line);border-radius:18px;padding:10px;margin:0 0 24px}.hct-guide-tabs button{appearance:none;border:1px solid var(--hct-line);background:#fff;color:var(--hct-ink);border-radius:999px;padding:8px 12px;font:inherit;font-weight:800;cursor:pointer}.hct-guide-tabs button.active{background:var(--hct-ink);border-color:var(--hct-ink);color:#fff}.hct-guide-featured{margin:24px 0 28px}.hct-guide-featured h2{margin-bottom:12px}.hct-guide-list.featured{grid-template-columns:repeat(3,minmax(0,1fr))}.hct-guide-list.featured a{background:#f8fafc;border-color:#dbe7ef}.hct-guide-section-head{display:flex;justify-content:space-between;gap:16px;align-items:baseline;border-top:1px solid var(--hct-line);padding-top:22px;margin-bottom:14px}.hct-guide-section-head h2{margin:0}.hct-guide-section-head span{color:var(--hct-muted);font-weight:800;font-size:.9rem}.hct-guide-empty{background:#fff4e6;border:1px solid #f0d2a2;border-radius:18px;padding:16px;margin:18px 0;color:#5d420f;font-weight:750}.hct-guide-section[hidden],.hct-guide-list a[hidden],.hct-guide-featured[hidden],.hct-guide-empty[hidden]{display:none!important}
@media(max-width:980px){.hct-guide-hero{grid-template-columns:1fr}.hct-guide-list.featured{grid-template-columns:1fr 1fr}.hct-guide-tabs{position:static}}@media(max-width:640px){.hct-guide-hero{padding:18px}.hct-guide-list.featured{grid-template-columns:1fr}.hct-guide-tabs{gap:7px}.hct-guide-tabs button{font-size:.88rem;padding:7px 10px}}


/* v1.6.3 guide search previews */
.hct-guide-preview{margin-top:16px;border-top:1px solid var(--hct-line);padding-top:14px}.hct-guide-preview-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.hct-guide-preview-head strong{font-size:.98rem}.hct-guide-preview-head span{color:var(--hct-muted);font-size:.86rem;font-weight:800}.hct-guide-preview-list{display:grid;gap:9px;max-height:390px;overflow:auto;padding-right:3px}.hct-guide-preview-list a{display:block;background:#fff;border:1px solid var(--hct-line);border-radius:14px;padding:11px 12px;color:var(--hct-ink);text-decoration:none;transition:box-shadow .15s ease, transform .15s ease}.hct-guide-preview-list a:hover{box-shadow:0 8px 20px rgba(21,21,21,.08);transform:translateY(-1px);text-decoration:none}.hct-guide-preview-topic{display:inline-flex;font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#26357a;background:#eef2ff;border-radius:999px;padding:3px 7px;margin-bottom:6px}.hct-guide-preview-list strong{display:block;font-size:.95rem;line-height:1.2;margin-bottom:4px}.hct-guide-preview-list em{display:block;font-style:normal;color:var(--hct-muted);font-size:.84rem;line-height:1.35}.hct-guide-preview-empty{margin:8px 0 0;color:#7a5a11;font-size:.9rem}.hct-guide-preview-empty[hidden],.hct-guide-preview-list a[hidden]{display:none!important}@media(max-width:980px){.hct-guide-preview-list{max-height:none}}

/* v1.6.3 Tool Finder */
.hct-finder{
  background: #fff;
  border: 1px solid var(--hct-border, #e3dcd1);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(20,20,20,.06);
  margin: 2rem 0;
}
.hct-finder-head{max-width: 820px; margin-bottom: 1.75rem;}
.hct-finder-head h2{font-size: clamp(2rem, 4vw, 4rem); line-height: .98; margin: .35rem 0 .75rem; letter-spacing: -.05em;}
.hct-finder-head p{font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #3e3e3e; max-width: 760px;}
.hct-finder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px, .86fr);gap:24px;align-items:start;}
.hct-finder-panel,.hct-finder-results{border:1px solid var(--hct-border, #e3dcd1);border-radius:24px;background:#f7f3ec;padding:24px;}
.hct-finder-results{background:#101113;color:#fff;position:sticky;top:96px;box-shadow:0 18px 50px rgba(0,0,0,.12);}
.hct-finder-results .hct-chip{background:rgba(0,128,128,.15);color:#8ee4df;border-color:rgba(142,228,223,.25);}
.hct-finder-results h3{font-size:clamp(1.5rem,2.4vw,2.4rem);line-height:1.05;margin:1rem 0 .75rem;color:#fff;letter-spacing:-.04em;}
.hct-finder-results p{color:#e8e8e8;}
.hct-finder-step{margin-bottom:1.4rem;}
.hct-finder-step>strong{display:block;margin-bottom:.65rem;font-size:1.05rem;}
.hct-finder-options{display:flex;flex-wrap:wrap;gap:10px;}
.hct-finder-options button{border:1px solid #d7ccbe;background:#fff;color:#161616;border-radius:999px;padding:.72rem 1rem;font-weight:800;cursor:pointer;transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;}
.hct-finder-options button:hover{transform:translateY(-1px);border-color:#111;}
.hct-finder-options button.active{background:#111;color:#fff;border-color:#111;}
.hct-finder-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:1.25rem;}
.hct-finder-result-list{display:grid;gap:12px;margin-top:1.2rem;}
.hct-finder-result{display:block;text-decoration:none;color:inherit;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:15px;background:rgba(255,255,255,.055);transition:background .15s ease, transform .15s ease, border-color .15s ease;}
.hct-finder-result:hover{background:rgba(255,255,255,.10);transform:translateY(-1px);border-color:rgba(142,228,223,.45);}
.hct-finder-result span{display:block;color:#8ee4df;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:900;margin-bottom:.35rem;}
.hct-finder-result strong{display:block;color:#fff;font-size:1rem;line-height:1.2;margin-bottom:.35rem;}
.hct-finder-result em{display:block;color:#d8d8d8;font-style:normal;font-size:.93rem;line-height:1.4;}
.hct-home-finder{margin-top:0;}
@media (max-width: 900px){
  .hct-finder-grid{grid-template-columns:1fr;}
  .hct-finder-results{position:static;}
  .hct-finder{padding:22px;border-radius:22px;}
}
@media (max-width: 560px){
  .hct-finder-options{display:grid;grid-template-columns:1fr;}
  .hct-finder-options button{text-align:left;}
  .hct-finder-actions .hct-btn{width:100%;text-align:center;justify-content:center;}
}


/* v1.6.4 Cost Intelligence */
.hct-method-card{background:#f8fafc;border:1px solid #dbe7ef;border-radius:22px;padding:22px;margin:26px 0}
.hct-method-card h2{margin-top:.35rem}
.hct-method-card ul{margin-bottom:0}
.hct-method-card li{margin:.35rem 0}
.hct-cost-methodology-link{display:inline-flex;background:#fff;border:1px solid var(--hct-line);border-radius:999px;padding:7px 10px;color:var(--hct-ink);font-weight:750;font-size:.9rem}

/* v1.6.5 smarter calculator result panels */
.hct-result-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.hct-result-breakdown div{background:rgba(255,255,255,.72);border:1px solid rgba(15,118,110,.18);border-radius:14px;padding:12px}.hct-result-breakdown b{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#28534f;margin-bottom:4px}.hct-result-breakdown em{display:block;font-style:normal;color:#3f3f3f;font-size:.94rem}.hct-result-next{margin:12px 0 0;color:#28534f;font-weight:650}.hct-field select:focus,.hct-field input:focus{outline:3px solid rgba(15,118,110,.18);border-color:var(--hct-accent)}@media(max-width:640px){.hct-result-breakdown{grid-template-columns:1fr}}


/* v1.6.6 context-aware sidebar cleanup */
.hct-smart-sidebar .hct-chip{margin-bottom:10px}.hct-smart-sidebar h3{font-size:1.35rem;line-height:1.12;letter-spacing:-.03em;margin:.55rem 0 .6rem}.hct-smart-sidebar p{color:#4b4b4b;margin:0 0 14px}.hct-sidebar-links{display:grid;gap:9px;margin:14px 0 16px}.hct-sidebar-links a{display:block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:12px;color:var(--hct-ink);text-decoration:none;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}.hct-sidebar-links a:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(21,21,21,.07);border-color:#cbd5e1;text-decoration:none}.hct-sidebar-links span{display:inline-flex;font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#26357a;background:#eef2ff;border-radius:999px;padding:3px 7px;margin-bottom:6px}.hct-sidebar-links strong{display:block;font-size:.95rem;line-height:1.25}.hct-sidebar-cta{display:inline-flex;justify-content:center;width:100%;border:1px solid var(--hct-ink);background:var(--hct-ink);color:#fff;border-radius:999px;padding:11px 14px;font-weight:850;text-decoration:none}.hct-sidebar-cta:hover{color:#fff;text-decoration:none}.hct-layout:not(:has(.hct-sidebar)){grid-template-columns:1fr}.hct-layout:not(:has(.hct-sidebar)) .hct-content{max-width:920px;margin-left:auto;margin-right:auto}.hct-content>.hct-ad:first-of-type{margin-top:18px}
@media(max-width:900px){.hct-smart-sidebar{order:1}.hct-sidebar-links{grid-template-columns:1fr 1fr}.hct-sidebar .hct-ad{display:none}}@media(max-width:640px){.hct-sidebar-links{grid-template-columns:1fr}}


/* v1.6.7 Mobile navigation and compatibility audit */
.hct-menu-toggle{display:none;align-items:center;gap:9px;border:1px solid var(--hct-line);background:#fff;color:var(--hct-ink);border-radius:999px;padding:9px 12px;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 6px 18px rgba(21,21,21,.05)}
.hct-menu-toggle-bars{display:inline-grid;gap:4px;width:18px}.hct-menu-toggle-bars span{display:block;height:2px;background:var(--hct-ink);border-radius:99px;transition:transform .18s ease,opacity .18s ease}.hct-menu-toggle-text{line-height:1}
.hct-header.hct-menu-open .hct-menu-toggle-bars span:nth-child(1){transform:translateY(6px) rotate(45deg)}.hct-header.hct-menu-open .hct-menu-toggle-bars span:nth-child(2){opacity:0}.hct-header.hct-menu-open .hct-menu-toggle-bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.hct-menu a:focus-visible,.hct-menu-toggle:focus-visible,.hct-btn:focus-visible,.hct-sidebar-cta:focus-visible{outline:3px solid rgba(15,118,110,.25);outline-offset:3px}
@media(max-width:900px){
  body.hct-mobile-menu-open{overflow:hidden}
  .hct-nav{position:relative;padding:10px 0;gap:12px}
  .hct-brand{min-width:0}.hct-brand img{height:36px;max-width:190px}.hct-brand-text{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hct-menu-toggle{display:inline-flex;margin-left:auto;position:relative;z-index:80}
  .hct-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);background:#fff;border:1px solid var(--hct-line);border-radius:20px;padding:12px;box-shadow:0 18px 45px rgba(21,21,21,.14);z-index:70;max-height:calc(100vh - 92px);overflow:auto}
  .hct-header.hct-menu-open .hct-menu{display:block}
  .hct-menu-list{display:grid;grid-template-columns:1fr;gap:6px;width:100%}
  .hct-menu-list a{display:block;padding:13px 14px;border-radius:14px;background:#f8f6f1;font-size:1rem;font-weight:900;color:var(--hct-ink)}
  .hct-menu-list a:hover,.hct-menu-list a:focus{background:#eef7f5;text-decoration:none}
  .hct-wrap,.hct-container{width:min(100% - 32px,1180px)}
  .hct-layout{padding:22px 0}.hct-content{padding:22px;border-radius:18px}.hct-content h1{font-size:clamp(2rem,10vw,3rem)}
  .hct-ad{min-height:76px;margin:18px 0}.hct-sidebar{gap:12px}.hct-sidebar-box{padding:18px;border-radius:18px}
  .hct-finder,.hct-guide-hero,.hct-card,.hct-calculator{border-radius:20px}
}
@media(max-width:640px){
  .hct-brand img{height:32px;max-width:170px}.hct-menu-toggle{padding:8px 10px}.hct-menu-toggle-text{font-size:.92rem}
  .hct-actions{display:grid;grid-template-columns:1fr}.hct-actions .hct-btn{width:100%}
  .hct-hero{padding:28px 0 24px}.hct-hero h1{font-size:clamp(2.1rem,13vw,3.25rem)}.hct-lead,.hct-hero p{font-size:1rem}
  .hct-content{padding:18px}.hct-content h1{font-size:clamp(1.9rem,11vw,2.75rem)}
  .hct-calculator{padding:18px}.hct-result strong{font-size:1.45rem}.hct-result{overflow-wrap:anywhere}
  .hct-guide-searchbox input{font-size:16px}.hct-guide-preview-list{max-height:none}.hct-guide-section-head{display:block}.hct-guide-section-head span{display:block;margin-top:4px}
  .hct-footer-grid{display:grid;gap:10px}.hct-footer-grid>div:last-child{display:flex;flex-wrap:wrap;gap:6px 10px}
}
@media(max-width:380px){.hct-wrap,.hct-container{width:min(100% - 22px,1180px)}.hct-brand img{max-width:150px}.hct-menu-toggle-text{display:none}.hct-content{padding:16px}.hct-finder{padding:18px}}


/* v1.6.8 calculator mobile compatibility pass */
html,body{max-width:100%;overflow-x:hidden}
.hct-content,.hct-calculator,.hct-result,.hct-adbox,.hct-card,.hct-sidebar-box{min-width:0;max-width:100%}
.hct-calculator{width:100%;overflow:hidden}
.hct-calculator *{max-width:100%}
.hct-calc-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;width:100%}
.hct-calc-fields .hct-field{min-width:0}
.hct-field label{line-height:1.25}
.hct-field input,.hct-field select{max-width:100%;min-height:48px;font-size:16px;line-height:1.25;appearance:auto}
.hct-calc-run{margin-top:2px;min-height:48px;white-space:normal;text-align:center}
.hct-result-main{overflow-wrap:anywhere;word-break:normal;line-height:1.15}
.hct-result-note,.hct-result-factors,.hct-result-confidence,.hct-result-next{overflow-wrap:anywhere}
.hct-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;-webkit-overflow-scrolling:touch}
.hct-content th,.hct-content td{min-width:120px}
@media(max-width:820px){
  .hct-calc-fields{grid-template-columns:1fr}
  .hct-calc-run{width:100%;justify-content:center}
  .hct-result{padding:16px}
  .hct-result strong,.hct-result-main{font-size:clamp(1.35rem,7vw,1.75rem)}
}
@media(max-width:520px){
  .hct-adbox{padding:14px;margin:16px 0;border-radius:14px}
  .hct-calculator{padding:16px;margin:18px 0;border-radius:18px}
  .hct-field input,.hct-field select{padding:12px}
  .hct-result-breakdown div{padding:10px}
  .hct-result-breakdown b{font-size:.75rem}
}


/* v1.7.1 curated topic landing pages */
.hct-topic-directory{margin:28px 0}.hct-topic-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin-top:18px}.hct-topic-tile{display:block;text-decoration:none;color:var(--hct-ink);background:#fff;border:1px solid var(--hct-line);border-radius:22px;padding:18px;box-shadow:0 10px 26px rgba(21,21,21,.045);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.hct-topic-tile:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(21,21,21,.075);border-color:#cbd5e1;text-decoration:none}.hct-topic-tile span,.hct-topic-links span{display:inline-flex;font-size:.7rem;text-transform:uppercase;letter-spacing:.075em;font-weight:900;color:#0f766e;background:#ecfdf5;border-radius:999px;padding:4px 8px;margin-bottom:8px}.hct-topic-tile strong{display:block;font-size:1.25rem;line-height:1.12;margin-bottom:8px}.hct-topic-tile em{display:block;font-style:normal;color:#505050;line-height:1.45}.hct-topic-hub{margin:26px 0}.hct-topic-hero{background:linear-gradient(135deg,#fff,#f4f7f6);border:1px solid var(--hct-line);border-radius:30px;padding:clamp(24px,4vw,46px);margin-bottom:20px}.hct-topic-hero h2{font-size:clamp(2rem,4vw,4rem);line-height:.98;letter-spacing:-.055em;margin:.4rem 0 .8rem}.hct-topic-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.hct-topic-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.hct-topic-card{background:#fff;border:1px solid var(--hct-line);border-radius:24px;padding:22px}.hct-topic-primary{background:#fbf7ef}.hct-topic-card h3{font-size:1.55rem;line-height:1.12;margin:.1rem 0 .6rem;letter-spacing:-.03em}.hct-topic-links{display:grid;gap:12px;margin-top:14px}.hct-topic-links a{display:block;text-decoration:none;color:var(--hct-ink);border:1px solid #e2e8f0;background:#f8fafc;border-radius:18px;padding:14px;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.hct-topic-links a:hover{transform:translateY(-1px);border-color:#cbd5e1;box-shadow:0 10px 24px rgba(21,21,21,.055);text-decoration:none}.hct-topic-links strong{display:block;font-size:1rem;line-height:1.22;margin-bottom:5px}.hct-topic-links em{display:block;font-style:normal;color:#555;line-height:1.4;font-size:.94rem}.hct-topic-support{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.hct-topic-support>div{background:#101113;color:#fff;border-radius:24px;padding:22px}.hct-topic-support h3{color:#fff;margin-top:0}.hct-topic-support li{margin:.45rem 0;color:#f1f1f1}.hct-topic-support ol,.hct-topic-support ul{padding-left:1.2rem;margin-bottom:0}@media(max-width:900px){.hct-topic-grid,.hct-topic-support{grid-template-columns:1fr}.hct-topic-hero{border-radius:22px}.hct-topic-card{border-radius:20px}.hct-topic-actions .hct-btn{width:100%;justify-content:center}}

/* v1.7.2 contact form patch */
.hct-form-wrap { margin: 1rem 0 1.5rem; max-width: 760px; }
.hct-form-wrap .wpforms-container { margin: 0; }
.hct-form-wrap input, .hct-form-wrap textarea, .hct-form-wrap select { max-width: 100%; }
@media (max-width: 700px) { .hct-form-wrap { width: 100%; } }


/* v1.7.5 SEO/admin polish */
.hct-seo-link-strip{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.hct-seo-link-strip a{display:inline-flex;border:1px solid var(--hct-line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;color:var(--hct-ink)}

/* v1.7.5 mobile performance pass */
.hct-brand img{aspect-ratio:3/1;object-fit:contain;contain:layout paint;}
.hct-section,.hct-band,.hct-feature-strip,.hct-topic-directory,.hct-topic-hub{content-visibility:auto;contain-intrinsic-size:1px 720px;}
.hct-hero,.hct-hero-launch{content-visibility:visible;}
.hct-header,.hct-nav{overflow:visible;}
@media(max-width:900px){.hct-header{backdrop-filter:none;overflow:visible}.hct-nav{padding-top:8px;padding-bottom:8px;overflow:visible}.hct-brand img{height:34px;width:102px;max-width:160px}.hct-hero{padding-top:28px}.hct-hero-card{box-shadow:none}.hct-ad{min-height:64px}}
@media(max-width:640px){.hct-brand img{height:30px;width:90px}.hct-hero-card{display:none}.hct-seo-link-strip a{font-size:.82rem;padding:7px 9px}.hct-main{padding-top:10px}.hct-section{padding:22px 0}}

/* v1.7.5 PageSpeed/accessibility refinements */
.hct-brand img{display:block;width:180px;height:55px;object-fit:contain;max-width:100%;}
.hct-menu a,.hct-menu-list a,.hct-footer a,.hct-seo-link-strip a,.hct-actions a,.hct-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
.hct-seo-link-strip{gap:10px;}
.hct-seo-link-strip a{padding:10px 12px;line-height:1.2;}
.hct-guide-search input,.hct-calc input,.hct-calc select,.hct-calc button{min-height:46px;}
@media (max-width: 900px){
  .hct-header{overflow:visible;}
  .hct-nav{min-height:72px;overflow:visible;}
  .hct-brand{max-width:190px;}
  .hct-brand img{width:170px;height:52px;}
  .hct-menu-toggle{min-width:48px;min-height:48px;padding:10px;}
  .hct-menu a{min-height:48px;padding:12px 10px;}
}
@media (max-width: 520px){
  .hct-container{padding-left:18px;padding-right:18px;}
  .hct-hero-grid{gap:18px;}
  .hct-seo-link-strip a{width:100%;justify-content:flex-start;}
  .hct-brand img{width:158px;height:48px;}
}


/* v1.8.0 topical authority improvements */
.hct-authority-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:24px;align-items:start;background:#ffffff;border:1px solid var(--border);border-radius:24px;padding:26px;margin:28px 0;box-shadow:0 16px 40px rgba(15,15,15,.05)}
.hct-authority-block ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.hct-authority-block li a{display:block;padding:13px 14px;border:1px solid var(--border);border-radius:14px;background:#faf8f3;text-decoration:none;font-weight:800;color:var(--ink)}
.hct-authority-block li a:hover{border-color:#00897b;color:#00796b;background:#fff}
.hct-detail-table{margin-top:22px}
.hct-cost-table table{width:100%;border-collapse:collapse;overflow:hidden;border-radius:18px;background:#fff}
.hct-cost-table th,.hct-cost-table td{border-bottom:1px solid var(--border);padding:14px;text-align:left;vertical-align:top}
.hct-cost-table th{background:#f3efe7;font-size:.9rem;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:760px){.hct-authority-block{grid-template-columns:1fr;padding:18px}.hct-cost-table{overflow-x:auto}.hct-cost-table table{min-width:560px}.hct-cost-table th,.hct-cost-table td{padding:12px}}


/* v1.8.1 mobile hamburger hard fix */
.hct-header,.hct-nav{overflow:visible;}
@media (max-width: 900px){
  .hct-header{z-index:9999;overflow:visible;}
  .hct-menu-toggle{display:inline-flex !important;touch-action:manipulation;}
  .hct-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);width:100%;background:#fff;border:1px solid var(--hct-line);border-radius:20px;padding:12px;box-shadow:0 22px 60px rgba(21,21,21,.2);z-index:10000;max-height:calc(100vh - 96px);overflow-y:auto;}
  .hct-header.hct-menu-open .hct-menu,
  .hct-menu-toggle[aria-expanded="true"] + .hct-menu{display:block !important;}
  .hct-menu-list{display:grid !important;grid-template-columns:1fr;gap:8px;width:100%;}
  .hct-menu-list a{display:flex !important;align-items:center;justify-content:flex-start;min-height:48px;padding:13px 14px;}
}

/* v1.8.3 Quality Control + PageSpeed recovery */
.hct-section:not(.hct-hero-launch),.hct-band,.hct-feature-strip,.hct-topic-grid,.hct-callout-row,.hct-guide-section,.hct-tool-section{content-visibility:auto;contain-intrinsic-size:1px 420px}
.hct-card,.hct-tool-card,.hct-topic-card,.hct-guide-list a{overflow-wrap:anywhere}
.hct-brand img{aspect-ratio:180/55;object-fit:contain}
.hct-menu a,.hct-footer a,.hct-btn,.hct-tool-card a,.hct-topic-card a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px){
  .hct-hero-launch{padding-top:30px;padding-bottom:28px}.hct-hero-card{padding:18px}.hct-hero h1{font-size:clamp(2rem,10.5vw,3.15rem)}
  .hct-feature-strip,.hct-topic-grid,.hct-callout-row,.hct-guide-list,.hct-grid{gap:12px}
  .hct-section{padding:24px 0}.hct-band{padding:18px;border-radius:20px}
  .hct-menu a,.hct-footer a{padding:8px 2px}
}

/* v1.8.6 content-depth internal link blocks */
.hct-internal-links{background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;margin:28px 0;box-shadow:0 16px 40px rgba(15,15,15,.045)}
.hct-internal-links ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:16px 0 0;padding:0;list-style:none}
.hct-internal-links li a{display:block;border:1px solid var(--border);border-radius:14px;padding:12px 14px;background:#faf8f3;color:var(--ink);font-weight:800;text-decoration:none}
.hct-internal-links li a:hover{border-color:#00897b;color:#00796b;background:#fff}

/* v1.9.6 AdSense pre-approval cleanup */
.hct-ad:empty{display:none}
.hct-ad-live{border:0;background:transparent;min-height:auto;padding:0}
.hct-ad-placeholder span{opacity:.85}
