/*
Theme Name: Scottish Small Business Directory 2026
Theme URI: https://martinlucas.co.uk/
Author: Crowstep Digital
Description: Independent Scottish business directory with red tartan accents and editorial guides.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: ssbd2026
*/
:root{--ink:#171717;--red:#b60919;--paper:#fff;--muted:#5b5b5b}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;background:#fafafa}a{color:#a00817}a:hover{text-decoration:underline}img{max-width:100%;height:auto}header{background:#fff;border-bottom:1px solid #ddd}.wrap{max-width:1180px;margin:auto;padding:0 22px}.mast{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:20px;padding-bottom:20px}.brand{font:700 26px/1.08 Georgia,serif;color:#151515;text-decoration:none}.brand em{color:var(--red);font-style:normal}.strap{font-size:13px;color:#555}.tartan{height:12px;background:repeating-linear-gradient(90deg,transparent 0 11px,#111 11px 13px,transparent 13px 23px,#fff 23px 25px,transparent 25px 39px),repeating-linear-gradient(0deg,#b60919 0 4px,#121212 4px 6px,#d6353e 6px 9px,#161616 9px 12px);background-blend-mode:multiply}nav{display:flex;gap:18px;flex-wrap:wrap}nav a{text-decoration:none;color:#171717;font-weight:650;font-size:14px}.hero{background:linear-gradient(110deg,#111 0%,#292929 62%,#6b0b14 100%);color:white;padding:65px 0}.hero h1{font:700 clamp(34px,5vw,58px)/1.07 Georgia,serif;max-width:800px;margin:0 0 18px}.hero p{max-width:730px;font-size:19px}.search{display:flex;max-width:650px;gap:8px}.search input{flex:1;min-width:0;padding:15px;border:1px solid #ddd;border-radius:5px}.btn,.search button{background:var(--red);color:#fff;border:0;border-radius:5px;padding:13px 19px;cursor:pointer;font-weight:700;text-decoration:none}.section{padding:46px 0}.section h2{font:700 32px Georgia,serif;margin:0 0 16px}.section>p{margin-top:0}.catgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.catcard{background:#fff;border:1px solid #e4e4e4;border-radius:8px;padding:20px;display:flex;gap:12px;text-decoration:none;color:#171717;box-shadow:0 3px 12px #00000008}.catcard strong{display:block;font:700 19px Georgia,serif}.catcard small{display:block;color:#666;font-size:13px;line-height:1.4;margin-top:5px}.catcard .symbol{width:42px;height:42px;border-radius:50%;background:#fbe9eb;color:var(--red);display:grid;place-items:center;font-size:24px;flex-shrink:0}.postgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.postcard{background:white;border:1px solid #ddd;border-radius:8px;overflow:hidden}.postcard img{width:100%;height:190px;object-fit:cover}.postcard .inner{padding:17px}.postcard h3{font:700 21px/1.25 Georgia,serif;margin:5px 0}.postcard h3 a{text-decoration:none;color:#171717}.postcard p{font-size:14px;color:#555}.chip{font-size:12px;background:#b60919;color:#fff;padding:4px 8px;border-radius:3px}.content{background:white;border:1px solid #e5e5e5;padding:34px;margin:40px auto;max-width:930px;border-radius:8px}.content h1{font:700 40px/1.15 Georgia,serif}.content h2{font:700 26px Georgia,serif;margin-top:32px}.content p{margin:0 0 18px}.content img.feature{width:100%;max-height:440px;object-fit:cover;margin-bottom:20px;border-radius:7px}footer{background:#181818;color:white;padding:35px 0}footer a{color:#fff}.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px}.field{display:block;margin:12px 0}.field input,.field textarea{display:block;width:100%;padding:12px;border:1px solid #aaa;border-radius:4px}.notice{padding:14px;background:#f3f3f3;border-left:4px solid var(--red)}.cookie{position:fixed;bottom:0;left:0;right:0;z-index:100;background:#b60919;color:#fff;padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;box-shadow:0 -2px 15px #0003}.cookie button{background:#fff;color:#151515;border:0;border-radius:4px;padding:8px 13px;cursor:pointer}.cookie a{color:#fff}.cookie[hidden]{display:none!important}@media(max-width:850px){.catgrid{grid-template-columns:repeat(2,1fr)}.postgrid{grid-template-columns:1fr 1fr}.mast{align-items:flex-start;flex-direction:column}.hero{padding:40px 0}}@media(max-width:560px){.catgrid,.postgrid{grid-template-columns:1fr}.content{padding:20px;margin:15px auto}.search{flex-direction:column}.brand{font-size:23px}.hero h1{font-size:36px}}
