/* Resource browsing and enquiry pages follow the existing Hivara palette. */
.hv-resource-tabs{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hv-resource-tabs a{padding:12px 20px;border:1px solid #fff;color:#fff;font-weight:700}
.hv-resource-tabs a[aria-current="page"]{background:#fff;color:var(--navy)}
.hv-library-hero{min-height:440px!important}
.hv-library-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:end;margin-bottom:30px}
.hv-library-intro h2{font-size:clamp(30px,4vw,48px);line-height:1.15;margin:0}
.hv-library-intro>p{color:var(--muted);line-height:1.7}
.hv-topic-filters{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 12px}
.hv-topic-filters[hidden],.insights-blog-grid article[hidden]{display:none!important}
.hv-topic-filters button{padding:12px 18px;border:1px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:700;cursor:pointer;border-radius:4px}
.hv-topic-filters button[aria-pressed="true"]{background:var(--navy);color:#fff}
.hv-filter-status{font-size:14px;min-height:24px;color:var(--muted)}
.hv-insights .insights-blog-library{padding-top:55px}
.hv-enquiry-page .contact-form-hero{min-height:0}
.hv-enquiry-page .contact-hero-layout{align-items:start}
.hv-enquiry-form textarea{box-sizing:border-box;width:100%;padding:12px;background:#fff;border:1px solid #bdc9ca;border-radius:3px;color:#17202a;font:inherit;resize:vertical}
.hv-enquiry-form input,.hv-enquiry-form select{box-sizing:border-box}
.hv-enquiry-form small{display:block;line-height:1.6;margin-top:15px}
.hv-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.hv-enquiry-form .form-status.error{padding:15px;color:#7a1717;background:#fff0ef;border-left:4px solid #9b2020}
.hv-confirmation{padding:80px max(5vw,calc((100vw - 1180px)/2));background:#f4f7f6}
.hv-confirmation h1{max-width:900px;font-size:clamp(36px,5vw,64px);line-height:1.15}
.hv-confirmation>.lead{font-size:20px;line-height:1.6;max-width:800px}
.hv-next-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:35px 0}
.hv-next-steps article{background:#fff;padding:28px;border-top:4px solid var(--orange)}
.hv-next-steps article>span{color:var(--blue);font-weight:700}
.hv-next-steps h2{font-size:24px;line-height:1.25}
.hv-next-steps p,.hv-audit-scope p,.hv-audit-scope li{line-height:1.7;color:var(--muted)}
.hv-resource-actions{display:flex;flex-wrap:wrap;gap:15px;margin:24px 0}
.hv-direct-email a{text-decoration:underline}
.hv-audit-scope{padding:65px max(5vw,calc((100vw - 1180px)/2));display:grid;grid-template-columns:1fr 1fr;gap:50px}
.hv-audit-scope h2{font-size:clamp(30px,4vw,46px)}
.hv-audit-scope ul{padding-left:22px}.hv-audit-scope li{margin:15px 0}
.hv-article-toc{background:#edf3f1;border-left:4px solid var(--orange);padding:25px;margin:30px 0}
.hv-article-toc h2{font-size:23px;margin-top:0}.hv-article-toc ol{padding-left:24px}.hv-article-toc li{margin:8px 0}.hv-article-toc a{color:var(--navy);text-decoration:underline}
.insight-article section[id]{scroll-margin-top:110px}
.insight-article table{border-collapse:collapse;width:100%;font-size:15px;margin:20px 0}
.insight-article th,.insight-article td{padding:12px;border:1px solid #bdc9ca;text-align:left;vertical-align:top}
.insight-article th{background:#edf3f1}
.hv-table-wrap{overflow-x:auto}
.hv-case-index{padding:32px max(5vw,calc((100vw - 1180px)/2));background:#edf3f1}
.hv-case-index ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 30px;padding-left:20px}
.hv-case-index a{text-decoration:underline;color:var(--navy);line-height:1.5}
.case-list article[id]{scroll-margin-top:110px}
:where(.hv-topic-filters button,.hv-resource-tabs a,.hv-enquiry-form input,.hv-enquiry-form select,.hv-enquiry-form textarea,.hv-enquiry-form button,.hv-case-index a):focus-visible{outline:3px solid #1168a1;outline-offset:4px}
@media(max-width:900px){.hv-next-steps{grid-template-columns:1fr}.hv-library-intro,.hv-audit-scope{grid-template-columns:1fr;gap:24px}}
@media(max-width:620px){.hv-confirmation,.hv-audit-scope{padding:50px 20px}.hv-enquiry-page .contact-hero-layout{gap:30px}.hv-resource-tabs a{padding:10px 15px}.hv-topic-filters button{padding:10px 12px}.hv-case-index{padding:25px 20px}.hv-case-index ul{grid-template-columns:1fr}}
