/*
Theme Name: Henderson's Stirling Directory
Theme URI: https://hendersonsstirling.co.uk/
Author: Henderson's Stirling
Description: Stirling-inspired business directory with moderated front-end submissions and protected contact form.
Version: 1.4.0
Requires PHP: 7.4
Text Domain: hendersons
*/
:root{--navy:#102f4c;--gold:#b79a65;--cream:#f8f5ef;--ink:#203244}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:#fff}a{color:var(--navy)}h1,h2,h3{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(2.3rem,5vw,4rem)}h2{font-size:2rem}img{max-width:100%;height:auto}.wrap{max-width:1180px;margin:auto;padding:0 22px}.site-header{background:#fff;border-bottom:1px solid #eee}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:94px}.brand img{width:230px;display:block}.nav-links{display:flex;gap:22px;align-items:center}.nav-links a{text-decoration:none;font-weight:600}.button,button,input[type=submit]{background:var(--navy);color:white;border:0;padding:12px 20px;border-radius:5px;display:inline-block;text-decoration:none;font:inherit;cursor:pointer}.button.gold{background:var(--gold);color:#142b40}.menu-toggle{display:none}.hero{background:linear-gradient(90deg,rgba(10,32,51,.88),rgba(10,32,51,.35)),url('assets/stirling-hero.svg') center/cover;min-height:460px;display:flex;align-items:center;color:white}.hero p{font-size:1.2rem;max-width:620px}.hero h1{max-width:750px;margin:0}.searchbar{display:flex;gap:8px;background:white;padding:8px;border-radius:7px;max-width:830px}.searchbar input{flex:1;min-width:0;border:0;padding:12px;font-size:1rem}.searchbar button{min-width:125px}.section{padding:56px 0}.section.soft{background:var(--cream)}.section-title{text-align:center;margin-top:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{border:1px solid #e1e4e7;border-radius:9px;padding:22px;background:white;box-shadow:0 5px 18px rgba(0,0,0,.035)}.card h3{margin:8px 0}.card a{text-decoration:none}.category-icon{font-size:2rem}.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.muted{color:#596a78}.intro{max-width:790px;margin:auto;text-align:center}.page-main{padding:50px 0;min-height:50vh}.field{margin-bottom:16px}.field label{display:block;font-weight:650;margin-bottom:5px}.field input,.field textarea,.field select{width:100%;padding:12px;border:1px solid #aab6bd;border-radius:4px;font:inherit}.field textarea{min-height:130px}.form-box{max-width:720px;background:var(--cream);padding:26px;border-radius:8px}.notice{padding:14px;border-left:4px solid var(--gold);background:#f8f5ef;margin-bottom:20px}.site-footer{background:var(--navy);color:#fff;padding:44px 0}.site-footer a{color:#fff}.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;color:var(--ink);box-shadow:0 -4px 25px #0003;z-index:9999;padding:18px}.cookie-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:20px;justify-content:space-between}.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}.cookie-actions button{font-size:.9rem}.cookie-actions .secondary{background:#fff;color:var(--navy);border:1px solid var(--navy)}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;z-index:99999;padding:10px}.pagination{margin-top:25px}.privacy-note{font-size:.85rem}.honeypot{position:absolute;left:-9999px}@media(max-width:850px){.cards{grid-template-columns:repeat(2,1fr)}.listing-grid{grid-template-columns:repeat(2,1fr)}.menu-toggle{display:block}.nav-links{display:none;position:absolute;top:94px;left:0;right:0;background:#fff;padding:20px;z-index:10;box-shadow:0 8px 16px #0002;flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.header-inner{min-height:94px}.cookie-inner{display:block}.cookie-actions{margin-top:12px}}@media(max-width:550px){.cards,.listing-grid,.footer-cols{grid-template-columns:1fr}.searchbar{flex-direction:column}.hero{min-height:440px}.brand img{width:185px}}

/* Category editorial content */
.category-intro{max-width:880px;margin:24px 0 48px}.category-intro h2{font-size:1.6rem;margin:28px 0 10px}.category-intro p{line-height:1.85;margin:0 0 18px}.category-results{border-top:1px solid #e1e4e7;padding-top:24px}.category-results .button{margin-top:22px}.breadcrumbs{font-size:.9rem;color:#596a78;margin-bottom:24px}

.hs-articles{background:#f8f5ef}.hs-articles-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.hs-articles-head h2{margin:0}.hs-articles-head p{margin:8px 0}.hs-article-card{display:flex;flex-direction:column}.hs-article-card h3{font-size:1.4rem}.hs-post-date{font-size:.85rem;color:#667887}.hs-readmore{font-weight:700;margin-top:auto}.hs-single-post{max-width:900px}.hs-single-post .entry-content{font-size:1.08rem;line-height:1.85}@media(max-width:650px){.hs-articles-head{align-items:flex-start;flex-direction:column}}

/* Directory landing page v1.4 */
.hs-directory{padding-bottom:3rem}.hs-directory-lead{font-size:1.16rem;line-height:1.75;max-width:850px}.hs-directory section{margin:2.5rem 0}.hs-directory-search,.hs-directory-cta{padding:1.5rem;background:#f5f1e8;border-radius:12px}.hs-directory-category p{line-height:1.6}.hs-directory-category a:last-child{font-weight:600}.hs-directory .breadcrumbs{margin-bottom:1rem}.hs-directory-results .listing-grid{margin-top:1rem}
