/*
Theme Name: Electricity Meter Hub
Theme URI: https://example.com/
Author: OpenAI
Description: A fully editable WordPress theme focused exclusively on UK electricity meters.
Version: 8.1.0
Text Domain: electricity-meter-hub
*/
:root{--ink:#102a43;--navy:#0b3153;--muted:#52647d;--line:#dce6f0;--soft:#f4f8fc;--white:#fff;--orange:#ff9f1c;--blue:#1261c9;--site-width:1180px;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.7}a{color:inherit;text-decoration:none}.container{width:min(var(--site-width),calc(100% - 44px));margin-inline:auto}
.site-header{position:fixed;top:0;left:0;right:0;z-index:9999;background:var(--header-bg);border-bottom:1px solid var(--line);box-shadow:0 2px 12px rgba(16,42,67,.05)}.header-scroll-line{position:absolute;left:0;bottom:-2px;width:100%;height:3px;background:#e6edf4;overflow:hidden;z-index:10002;pointer-events:none}.header-scroll-line span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--blue),#ff1a1a);transition:width .08s linear;box-shadow:0 0 8px rgba(18,97,201,.28)}.header-inner{min-height:76px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;margin-right:auto}.brand .custom-logo{width:auto;height:52px;max-width:240px}.brand-mark,.footer-mark{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#eaf4ff;color:var(--blue);font-size:22px}.brand-text{font-size:22px;font-weight:800;color:var(--navy)}.main-nav ul{display:flex;gap:23px;list-style:none;margin:0;padding:0}.main-nav a{font-size:13px;font-weight:700;color:#17324d}.main-nav a:hover{color:var(--blue)}.header-cta{display:inline-flex;gap:12px;align-items:center;background:#fff;border:1px solid #d3e0ed;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:800;color:#10478d}.header-cta span{font-size:18px}.header-search-toggle{border:0;background:none;font-size:25px;cursor:pointer;color:var(--navy)}.mobile-menu-button{display:none;border:0;background:none;font-weight:800;color:var(--navy)}.header-search{display:none;border-top:1px solid var(--line);background:#fff;padding:12px 0}.search-open .header-search{display:block}.header-search form{max-width:680px;margin:auto;display:flex}.header-search input{flex:1;padding:12px;border:1px solid #cdd9e6;border-radius:8px 0 0 8px}.header-search button{border:0;background:var(--blue);color:#fff;padding:0 20px;border-radius:0 8px 8px 0;font-weight:800}
body{padding-top:76px}.admin-bar .site-header{top:32px}.admin-bar{padding-top:76px}
.hero-home{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--hero-bg-1),var(--hero-bg-2));min-height:420px}.hero-glow{position:absolute;width:520px;height:520px;border-radius:50%;right:-130px;top:-230px;background:rgba(18,97,201,.08)}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;min-height:420px}.hero-copy{padding:55px 0}.eyebrow{font-size:12px;letter-spacing:1.2px;color:var(--blue);font-weight:900}.hero-copy h1{font-size:43px;line-height:1.08;letter-spacing:-1.5px;max-width:650px;margin:12px 0 16px;color:var(--navy)}.hero-copy p{max-width:620px;color:#40556d;margin:0 0 25px}.hero-button{display:inline-flex;align-items:center;gap:16px;background:var(--navy);color:#fff;padding:13px 20px;border-radius:8px;font-weight:800;box-shadow:0 7px 18px rgba(11,49,83,.16)}.hero-button span{font-size:20px;transition:transform .2s ease}.hero-button:hover{background:#0a3152;transform:translateY(-2px);box-shadow:0 10px 22px rgba(11,49,83,.22)}.hero-button:hover span{transform:translateX(4px)}.hero-button:focus-visible{outline:3px solid rgba(18,97,201,.28);outline-offset:3px}.hero-art{display:flex;justify-content:center;align-items:center;min-height:360px}.hero-art img{max-width:100%;width:620px;max-height:390px;object-fit:contain}.hero-meter-image{filter:drop-shadow(0 22px 24px rgba(11,49,83,.14))}.meter-illustration{position:relative;width:310px;height:245px;border:8px solid #d2dbe4;border-radius:22px;background:linear-gradient(145deg,#f8fafc,#dbe4ec);box-shadow:0 24px 45px rgba(11,49,83,.18);padding:32px}.meter-screen{height:88px;border:4px solid #ff1a1a;border-radius:9px;background:#fff8f6;padding:12px 15px;color:#7f1d1d;display:flex;flex-direction:column;box-shadow:inset 0 0 0 1px rgba(255,26,26,.08)}.meter-screen span{font-size:11px}.meter-screen strong{font-size:26px;letter-spacing:2px;color:#8f1717}.meter-label{font-size:11px;font-weight:900;letter-spacing:1px;margin-top:17px;color:#536474}.meter-led{position:absolute;right:28px;bottom:28px;width:10px;height:10px;border-radius:50%;background:#d8a51e}
.topics-section{padding:48px 0 52px}.section-intro{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:22px}.section-intro h2{font-size:29px;line-height:1.15;margin:7px 0 0;color:var(--navy)}.section-intro p{max-width:470px;color:var(--muted);margin:0}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.topic-card{min-height:112px;border:1px solid #dbe5ef;border-radius:var(--radius);background:#fff;padding:17px;display:flex;align-items:center;gap:14px;box-shadow:0 4px 16px rgba(16,42,67,.04);transition:.18s ease}.topic-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(16,42,67,.09);border-color:#c9d8e7}.topic-icon{width:48px;height:48px;flex:0 0 48px;border-radius:13px;background:#edf6ff;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900}.topic-copy{min-width:0;display:flex;flex-direction:column}.topic-copy strong{font-size:14px;color:#132b45}.topic-copy small{font-size:11px;color:var(--muted);margin-top:3px}.arrow{margin-left:auto;color:#51718f;font-size:19px}.latest-section{background:#f6f9fc;border-top:1px solid #e2eaf2;padding:44px 0 55px}.latest-grid{display:grid;grid-template-columns:2.1fr 1fr;gap:20px}.latest-panel,.topics-panel{background:#fff;border:1px solid #dfe7ef;border-radius:var(--radius);padding:19px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.panel-heading h2,.topics-panel h2{font-size:18px;margin:0;color:var(--navy)}.panel-heading a{background:#edf4fc;border-radius:7px;padding:7px 10px;color:#164b8d;font-size:11px;font-weight:800}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.article-thumb{height:125px;display:block;overflow:hidden;border-radius:8px;background:#eaf2fa}.article-thumb img{width:100%;height:100%;object-fit:cover}.thumb-placeholder{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;color:#18518f;font-weight:900;line-height:1.3}.article-meta{margin-top:9px;font-size:9px;color:var(--blue);font-weight:900;text-transform:uppercase}.article-card h3{font-size:14px;line-height:1.35;margin:4px 0}.article-card p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.empty-article{grid-column:1/-1;background:var(--soft);border-radius:8px;padding:28px}.empty-article h3{margin-top:0}.topic-list a{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7edf3;padding:11px 0;font-size:12px;font-weight:700}.topic-list a:last-child{border-bottom:0}.topic-list b{font-size:18px;color:#57738e}
.site-footer{background:var(--footer-bg);color:#dbe7f0;padding:38px 0 18px}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:28px}.footer-logo{display:flex;align-items:center;gap:10px}.footer-brand .custom-logo{height:48px;width:auto;max-width:220px;filter:brightness(0) invert(1)}.footer-name{font-size:21px;font-weight:900;color:#fff}.footer-brand p{font-size:12px;line-height:1.75;max-width:300px;margin:13px 0 0}.footer-col{border-left:1px solid rgba(255,255,255,.14);padding-left:20px}.footer-col h3{font-size:14px;color:#fff;margin:0 0 11px}.footer-col ul{list-style:none;padding:0;margin:0}.footer-col li{font-size:12px;margin:6px 0}.footer-col a{color:#e9f2f8}.footer-col a:hover{color:#fff}.footer-hint{font-size:11px;color:#a9bfce}.footer-note-small{font-size:10px;line-height:1.6;color:#a9bfce;margin-top:14px}.footer-page-links{margin-top:2px!important}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:30px;padding-top:14px;display:flex;justify-content:space-between;gap:25px;font-size:10px;color:#a9bfce}.content{padding:50px 0}.content-area{max-width:860px}.content-area h1{font-size:40px;color:var(--navy);line-height:1.12}.content-area img{max-width:100%;height:auto}.post{border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:18px}.post h2{margin:0 0 8px}.post-meta{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.main-nav ul{gap:13px}.header-cta{display:none}.topic-grid{grid-template-columns:repeat(2,1fr)}.latest-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.hero-copy h1{font-size:37px}}
@media(max-width:760px){.header-inner{min-height:68px}.mobile-menu-button{display:block;order:2}.header-search-toggle{order:3}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 22px rgba(0,0,0,.08)}.menu-open .main-nav{display:block}.main-nav ul{display:block;padding:8px 22px}.main-nav li{border-bottom:1px solid #edf1f5}.main-nav a{display:block;padding:11px 0}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:45px 0 10px}.hero-art{min-height:280px}.section-intro{display:block}.section-intro p{margin-top:12px}.topic-grid{grid-template-columns:1fr 1fr}.article-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.container{width:min(var(--site-width),calc(100% - 30px))}.brand-text{font-size:18px}.brand-mark{width:34px;height:34px}.hero-copy h1{font-size:32px}.topic-grid,.article-grid,.footer-grid{grid-template-columns:1fr}.footer-col{border-left:0;border-top:1px solid rgba(255,255,255,.14);padding:18px 0 0}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:8px}}

/* Guides archive + single article system */
.guides-page{background:#f7fafd;padding:54px 0 70px;min-height:70vh}.guides-hero{display:grid;grid-template-columns:1.4fr .8fr;gap:30px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px;margin-bottom:20px}.guides-hero.compact{grid-template-columns:1.4fr .8fr}.guides-hero h1{font-size:38px;line-height:1.12;color:var(--navy);margin:9px 0 12px;letter-spacing:-.8px}.guides-hero p{color:var(--muted);max-width:720px;margin:0}.guides-search{display:flex;align-items:stretch}.guides-search input[type=search]{min-width:0;flex:1;border:1px solid #ccd9e6;border-right:0;border-radius:9px 0 0 9px;padding:13px 14px;font-size:13px;outline:0}.guides-search button{border:0;background:var(--blue);color:#fff;border-radius:0 9px 9px 0;padding:0 18px;font-weight:800;cursor:pointer}.guide-filters{display:flex;gap:8px;overflow:auto;padding:2px 0 20px}.guide-filters a{white-space:nowrap;background:#fff;border:1px solid #dbe5ef;border-radius:999px;padding:8px 13px;font-size:11px;font-weight:800;color:#31516f}.guide-filters a:hover,.guide-filters a.active{background:#eaf4ff;border-color:#b9d4ef;color:#14539a}.guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.guide-card{background:#fff;border:1px solid #dce6ef;border-radius:var(--radius);overflow:hidden;box-shadow:0 5px 18px rgba(16,42,67,.045);display:flex;flex-direction:column}.guide-card-image{height:190px;background:#eaf3fb;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--blue);font-size:34px}.guide-card-image img{width:100%;height:100%;object-fit:cover}.guide-card-body{padding:19px;display:flex;flex-direction:column;flex:1}.guide-card-meta{font-size:10px;text-transform:uppercase;letter-spacing:.35px;font-weight:900;color:var(--blue)}.guide-card h2{font-size:19px;line-height:1.3;margin:7px 0}.guide-card h2 a:hover{color:var(--blue)}.guide-card p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 14px}.read-guide{font-size:12px;font-weight:900;color:#14539a;margin-top:auto}.guides-pagination{margin-top:28px;text-align:center}.guides-pagination .page-numbers{display:inline-flex;gap:7px;list-style:none;padding:0;margin:0}.guides-pagination .page-numbers a,.guides-pagination .page-numbers span{border:1px solid #d5e1ec;background:#fff;padding:8px 11px;border-radius:7px;font-size:12px}.guides-pagination .page-numbers .current{background:var(--navy);color:#fff}.guides-empty{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:38px;text-align:center;grid-column:1/-1}.guides-empty h2{color:var(--navy)}
.single-guide-wrap{background:#f7fafd;padding:34px 0 70px}.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#6b7e91;font-size:11px;margin-bottom:20px}.breadcrumbs a:hover{color:var(--blue)}.guide-article{background:#fff;border:1px solid #dce6ef;border-radius:var(--radius);overflow:visible;box-shadow:0 6px 22px rgba(16,42,67,.045)}.guide-header{max-width:900px;margin:0 auto;padding:42px 52px 30px}.guide-category{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:900;color:var(--blue);margin-bottom:10px}.guide-header h1{font-size:45px;line-height:1.1;letter-spacing:-1.1px;color:var(--navy);margin:0 0 14px}.guide-excerpt{font-size:17px;color:#52677e;line-height:1.55;margin:0 0 18px}.guide-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#718397;font-size:11px;line-height:1.5;margin-top:2px}.guide-meta-separator{color:#b1bdc9}.guide-layout{display:grid;grid-template-columns:260px minmax(0,760px);justify-content:center;gap:45px;padding:38px 52px 52px}.guide-toc-wrap{position:relative}.guide-toc-card{position:sticky;top:92px;max-height:calc(100vh - 112px);overflow:auto;border:1px solid #dce6ef;background:#f8fbfe;border-radius:12px;padding:17px}.toc-title{font-size:13px;font-weight:900;color:var(--navy);margin-bottom:10px}.guide-toc-card a{display:block;padding:7px 5px;color:#42617c;font-size:11px;line-height:1.4;border-bottom:1px solid #e8eef4}.guide-toc-card a:hover{color:var(--blue)}.guide-toc-card a.is-active{color:var(--blue);font-weight:900;background:#eaf4ff;border-left:3px solid var(--blue);padding-left:8px;border-radius:5px}.guide-toc-card a.toc-h3.is-active{padding-left:19px}.guide-toc-card a.toc-h3{padding-left:16px;font-size:10.5px}.guide-content{min-width:0;color:#273d53;font-size:16px;line-height:1.8}.guide-content h2{font-size:28px;line-height:1.25;color:var(--navy);margin:36px 0 12px;scroll-margin-top:25px}.guide-content h3{font-size:21px;line-height:1.3;color:var(--navy);margin:28px 0 9px;scroll-margin-top:25px}.guide-content p{margin:0 0 17px}.guide-content ul,.guide-content ol{margin:0 0 20px;padding-left:23px}.guide-content li{margin:6px 0}.guide-content a{color:var(--blue);text-decoration:underline}.guide-content blockquote{margin:22px 0;padding:16px 20px;border-left:4px solid var(--blue);background:#f5f9fd}.guide-content table{width:100%;border-collapse:collapse;margin:22px 0;font-size:13px}.guide-content th,.guide-content td{border:1px solid #dbe5ef;padding:9px;text-align:left}.guide-content img{border-radius:9px}.guide-footer{border-top:1px solid #e2eaf1;padding:34px 52px 48px}.guide-help-box{background:#eef6ff;border:1px solid #cfe2f5;border-radius:12px;padding:23px;margin-bottom:34px}.guide-help-box strong{font-size:18px;color:var(--navy)}.guide-help-box p{font-size:12px;color:#52677e;margin:5px 0 13px}.guide-button{display:inline-block;background:var(--navy);color:#fff!important;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:800}.related-heading h2{font-size:21px;color:var(--navy);margin:0 0 15px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.related-card{border:1px solid #dce6ef;border-radius:10px;padding:10px;background:#fff;display:block}.related-thumb{height:110px;background:#edf5fc;border-radius:7px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--blue);font-size:25px}.related-thumb img{width:100%;height:100%;object-fit:cover}.related-cat{display:block;color:var(--blue);font-size:9px;text-transform:uppercase;font-weight:900;margin-top:9px}.related-card strong{display:block;font-size:13px;line-height:1.35;margin-top:3px;color:var(--navy)}
@media(max-width:900px){.guides-hero,.guides-hero.compact{grid-template-columns:1fr}.guides-grid{grid-template-columns:repeat(2,1fr)}.guide-layout{grid-template-columns:1fr;gap:22px}.guide-toc-card{position:static}.guide-header{padding:34px 30px 25px}.guide-layout{padding:28px 30px 42px}.guide-footer{padding:28px 30px 40px}}
@media(max-width:600px){.guides-page{padding:35px 0 50px}.guides-hero{padding:25px}.guides-hero h1{font-size:30px}.guides-grid,.related-grid{grid-template-columns:1fr}.guide-card-image{height:175px}.guide-header h1{font-size:33px}.guide-header{padding:28px 20px 22px}.guide-layout{padding:20px 20px 35px}.guide-footer{padding:22px 20px 32px}.guide-content{font-size:15px}.guide-content h2{font-size:24px}}


/* Readability + page scroll progress */
.topic-copy strong{font-size:16px}
.topic-copy small{font-size:13px}
.section-intro p{font-size:16px}
.article-meta{font-size:10px}
.article-card h3{font-size:16px}
.article-card p{font-size:13px;line-height:1.6}
.topic-list a{font-size:14px}
.footer-brand p{font-size:13px}
.footer-col li{font-size:13px}
.footer-hint{font-size:12px}
.footer-note-small{font-size:11px}
.footer-bottom{font-size:11px}
.guides-hero p{font-size:17px}
.guide-card-meta{font-size:11px}
.guide-card h2{font-size:21px}
.guide-card p{font-size:14px;line-height:1.65}
.read-guide{font-size:13px}
.breadcrumbs{font-size:12px}
.guide-toc-card a{font-size:13px}
.guide-toc-card a.toc-h3{font-size:12px}
.toc-title{font-size:14px}
.guide-content{font-size:18px;line-height:1.85}
.guide-content table{font-size:14px}
.guide-help-box p{font-size:14px}
.guide-button{font-size:13px}
.related-cat{font-size:10px}
.related-card strong{font-size:14px}

.scroll-progress{position:fixed;right:24px;bottom:24px;width:62px;height:62px;border-radius:50%;background:conic-gradient(var(--blue) 0deg,var(--blue) var(--scroll-progress,0deg),#d9e1e8 var(--scroll-progress,0deg),#d9e1e8 360deg);display:grid;place-items:center;z-index:9999;box-shadow:0 5px 16px rgba(16,42,67,.18);opacity:0;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.scroll-progress.is-visible{opacity:1;transform:translateY(0)}
.scroll-progress::before{content:"";position:absolute;width:48px;height:48px;border-radius:50%;background:#fff}
.scroll-progress span{position:relative;z-index:1;color:var(--navy);font-size:13px;font-weight:900;line-height:1}
@media(max-width:520px){.scroll-progress{right:14px;bottom:14px;width:54px;height:54px}.scroll-progress::before{width:42px;height:42px}.scroll-progress span{font-size:11px}}

/* Footer text size increase */
.site-footer .footer-brand p{font-size:15px;line-height:1.75}
.site-footer .footer-col h3{font-size:16px}
.site-footer .footer-col li{font-size:15px;margin:8px 0}
.site-footer .footer-col a{font-size:15px}
.site-footer .footer-note-small{font-size:12px;line-height:1.65}
.site-footer .footer-bottom{font-size:12px}

/* Contact Us page */
.contact-page{background:#f7fafd;padding:55px 0 75px;min-height:70vh}
.contact-hero{display:grid;grid-template-columns:1.4fr .6fr;gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px 40px;margin-bottom:22px}
.contact-eyebrow{font-size:12px;letter-spacing:1.1px;font-weight:900;color:var(--blue)}
.contact-hero h1{font-size:42px;line-height:1.1;color:var(--navy);margin:8px 0 12px;letter-spacing:-.8px}
.contact-hero p{font-size:17px;line-height:1.65;color:var(--muted);max-width:720px;margin:0}
.contact-email-card{background:#eef6ff;border:1px solid #cfe2f5;border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:6px}
.contact-email-icon{font-size:25px;color:var(--blue);margin-bottom:3px}
.contact-email-card strong{font-size:16px;color:var(--navy)}
.contact-email-card a{font-size:14px;color:var(--blue);font-weight:700;overflow-wrap:anywhere}
.contact-alert{border-radius:10px;padding:14px 17px;margin:0 0 22px;font-size:14px;font-weight:700}
.contact-success{background:#eef9f1;border:1px solid #b9dfc1;color:#246238}
.contact-error{background:#fff3f3;border:1px solid #efc1c1;color:#8a2929}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;align-items:start}
.contact-form-card,.contact-info-card{background:#fff;border:1px solid #dce6ef;border-radius:var(--radius);padding:30px;box-shadow:0 6px 22px rgba(16,42,67,.045)}
.contact-form-card h2,.contact-info-card h2{font-size:24px;color:var(--navy);margin:0 0 7px}
.contact-form-intro{font-size:14px;color:var(--muted);margin:0 0 22px}.contact-form-intro span,.contact-field label span{color:#c0392b}
.contact-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-field{margin-bottom:18px}.contact-field label{display:block;font-size:13px;font-weight:800;color:var(--navy);margin-bottom:7px}
.contact-field input,.contact-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #cfdce8;border-radius:9px;background:#fff;color:#273d53;font:inherit;font-size:14px;padding:12px 13px;outline:none;transition:border-color .15s,box-shadow .15s}
.contact-field textarea{resize:vertical;min-height:170px;line-height:1.6}.contact-field input:focus,.contact-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(18,97,201,.1)}
.contact-submit{border:0;background:var(--navy);color:#fff;border-radius:9px;padding:13px 19px;font-size:14px;font-weight:900;cursor:pointer}.contact-submit:hover{background:var(--blue)}.contact-submit span{margin-left:6px}
.contact-info-card p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 20px}
.contact-info-row{border-top:1px solid #e4ebf2;padding:15px 0}.contact-info-row strong{display:block;font-size:13px;color:var(--navy);margin-bottom:3px}.contact-info-row span,.contact-info-row a{font-size:13px;line-height:1.5;color:#52677e}.contact-info-row a{color:var(--blue);font-weight:700}
.contact-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:800px){.contact-hero,.contact-layout{grid-template-columns:1fr}.contact-hero{padding:30px}.contact-side{order:2}}
@media(max-width:520px){.contact-page{padding:35px 0 55px}.contact-hero,.contact-form-card,.contact-info-card{padding:23px}.contact-hero h1{font-size:33px}.contact-hero p{font-size:15px}.contact-field-grid{grid-template-columns:1fr;gap:0}.contact-form-card h2,.contact-info-card h2{font-size:21px}}


/* Latest guides: wide featured layout */
.latest-grid{display:block}
.latest-panel-wide{width:100%;padding:28px 30px}
.latest-panel-wide .panel-heading{margin-bottom:26px}
.latest-panel-wide .panel-heading h2{font-size:25px}
.latest-panel-wide .panel-heading a{font-size:13px;padding:10px 14px}
.latest-panel-wide .article-grid{grid-template-columns:1fr;gap:24px}
.latest-panel-wide .article-card{display:grid;grid-template-columns:minmax(340px,48%) 1fr;gap:32px;align-items:center;padding:0 0 24px;border-bottom:1px solid #e4ebf2}
.latest-panel-wide .article-card:last-child{border-bottom:0;padding-bottom:0}
.latest-panel-wide .article-thumb{height:260px;border-radius:12px}
.latest-panel-wide .article-meta{font-size:11px;margin-top:0;letter-spacing:.03em}
.latest-panel-wide .article-card h3{font-size:24px;line-height:1.28;margin:8px 0 10px}
.latest-panel-wide .article-card p{font-size:16px;line-height:1.65;margin:0;max-width:650px}
.article-read-more{display:inline-block;margin-top:18px;background:#edf4fc;border-radius:8px;padding:10px 15px;color:#164b8d;font-size:14px;font-weight:800}
@media(max-width:760px){.latest-panel-wide{padding:22px}.latest-panel-wide .article-card{grid-template-columns:1fr;gap:18px}.latest-panel-wide .article-thumb{height:230px}.latest-panel-wide .article-card h3{font-size:21px}.latest-panel-wide .article-card p{font-size:15px}}
@media(max-width:520px){.latest-panel-wide{padding:18px}.latest-panel-wide .article-thumb{height:200px}.latest-panel-wide .panel-heading h2{font-size:21px}}

/* Blog category archive - consistent professional cards */
.category-guides-page{padding-top:48px}
.category-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#fff;border:1px solid #dce6ef;border-radius:var(--radius);padding:32px 36px;margin-bottom:18px;box-shadow:0 5px 18px rgba(16,42,67,.035)}
.category-hero h1{font-size:38px;line-height:1.15;color:var(--navy);margin:8px 0 10px}
.category-hero p{font-size:16px;line-height:1.65;color:var(--muted);max-width:760px;margin:0}
.category-count{flex:0 0 105px;width:105px;height:105px;border-radius:50%;background:#edf5fd;border:1px solid #d5e5f4;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--navy);font-size:28px;font-weight:900}
.category-count span{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-top:2px}
.category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:4px 2px}
.category-toolbar strong{font-size:18px;color:var(--navy)}
.category-search{max-width:360px;width:100%;height:40px}
.category-search input[type=search]{padding:9px 12px;font-size:13px}
.category-search button{font-size:12px;padding:0 16px}
.category-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.category-post-card{background:#fff;border:1px solid #dce6ef;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(16,42,67,.045);display:flex;flex-direction:column;min-width:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.category-post-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,42,67,.09);border-color:#c8d9e8}
.category-post-body{padding:24px 23px 25px;display:flex;flex-direction:column;flex:1;min-height:235px}
.category-post-meta{font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.45px;font-weight:900;color:var(--blue);min-height:16px}
.category-post-meta span{color:#9aabba;padding:0 4px}
.category-post-card h2{font-size:22px;line-height:1.32;color:var(--navy);margin:7px 0 10px;min-height:53px}
.category-post-card h2 a{color:inherit}
.category-post-card h2 a:hover{color:var(--blue)}
.category-post-card p{font-size:16px;line-height:1.62;color:var(--muted);margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:68px}
.category-read-more{display:inline-flex;align-items:center;gap:7px;margin-top:auto;width:max-content;background:#edf4fc;border-radius:8px;padding:9px 12px;color:#164b8d;font-size:12px;font-weight:900}
.category-read-more span{font-size:16px;line-height:1}
.category-read-more:hover{background:#e3effb;color:var(--navy)}
@media(max-width:900px){.category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-hero{padding:28px}.category-count{flex-basis:90px;width:90px;height:90px;font-size:24px}}
@media(max-width:600px){.category-guides-page{padding-top:35px}.category-hero{align-items:flex-start;padding:24px;gap:18px}.category-hero h1{font-size:30px}.category-hero p{font-size:15px}.category-count{display:none}.category-toolbar{align-items:stretch;flex-direction:column}.category-search{max-width:none}.category-post-grid{grid-template-columns:1fr}.category-post-body{min-height:0}.category-post-card h2{min-height:0;font-size:21px}.category-post-card p{min-height:0}}


/* Scroll controls: back-to-top button */
.back-to-top{position:fixed;right:24px;bottom:96px;width:54px;height:54px;border:1px solid #cdd9e5;border-radius:9px;background:#fff;color:var(--navy);font-size:25px;line-height:1;display:grid;place-items:center;z-index:10001;cursor:pointer;box-shadow:0 7px 20px rgba(16,42,67,.16);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease}.back-to-top:hover{background:#f4f8fc;border-color:#b8cada;color:var(--blue)}.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:760px){.back-to-top{right:14px;bottom:82px;width:50px;height:50px;font-size:23px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}html{scroll-behavior:auto}}

/* Blog category design - clean editorial layout inspired by modern UK utility blogs */
.blog-category-page{background:linear-gradient(180deg,#f5f9fd 0,#fff 520px);padding:30px 0 80px;min-height:70vh}
.blog-breadcrumbs{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#70839a;margin:5px 0 18px}.blog-breadcrumbs a{color:#35699d}.blog-breadcrumbs strong{color:#233f5d;font-weight:800}
.blog-category-hero{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:34px 38px;background:#fff;border:1px solid #dce6ef;border-radius:18px;box-shadow:0 8px 28px rgba(16,42,67,.055);margin-bottom:22px}.blog-category-hero-copy{max-width:800px}.blog-category-hero .eyebrow,.blog-content-heading .eyebrow,.blog-side-card .eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:900;color:var(--blue)}.blog-category-hero h1{font-size:43px;line-height:1.1;color:var(--navy);margin:8px 0 10px;letter-spacing:-.8px}.blog-category-hero p{font-size:16px;line-height:1.7;color:var(--muted);margin:0;max-width:760px}.blog-category-hero-badge{width:100px;height:100px;flex:0 0 100px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#edf5fd;border:1px solid #d4e5f5;color:var(--navy)}.blog-category-hero-badge strong{font-size:27px;line-height:1}.blog-category-hero-badge span{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#6b7f94;font-weight:800;margin-top:5px}
.blog-featured-card{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);background:#fff;border:1px solid #dce6ef;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(16,42,67,.06);margin-bottom:38px}.blog-featured-media{min-height:360px;background:#eef5fb}.blog-featured-media img{width:100%;height:100%;display:block;object-fit:cover}.blog-featured-content{padding:40px 42px;display:flex;flex-direction:column;justify-content:center}.blog-pill{display:inline-flex;width:max-content;background:#eaf3fc;color:#185a99;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;margin-bottom:13px}.blog-card-meta{font-size:11px;color:#73869a;text-transform:uppercase;letter-spacing:.35px;font-weight:800}.blog-card-meta span{padding:0 5px;color:#b1bdc9}.blog-featured-content h2{font-size:31px;line-height:1.2;color:var(--navy);margin:9px 0 12px;letter-spacing:-.35px}.blog-featured-content h2 a:hover,.blog-post-card h3 a:hover{color:var(--blue)}.blog-featured-content p{font-size:16px;line-height:1.7;color:var(--muted);margin:0 0 20px}.blog-primary-link{width:max-content;background:var(--navy);color:#fff;border-radius:8px;padding:11px 15px;font-size:13px;font-weight:900}.blog-primary-link:hover{background:var(--blue)}.blog-primary-link span,.blog-read-link span{margin-left:6px}
.blog-content-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:0 0 18px}.blog-content-heading h2{font-size:27px;line-height:1.2;color:var(--navy);margin:5px 0 0}.blog-search{height:40px;display:flex;width:min(360px,100%)}.blog-search input{min-width:0;flex:1;border:1px solid #cfdae5;border-right:0;border-radius:8px 0 0 8px;padding:9px 12px;font:inherit;font-size:13px;outline:none;background:#fff}.blog-search input:focus{border-color:#8db4d8}.blog-search button{border:0;border-radius:0 8px 8px 0;background:var(--navy);color:#fff;padding:0 15px;font-size:12px;font-weight:900;cursor:pointer}.blog-search button:hover{background:var(--blue)}
.blog-category-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.blog-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.blog-post-card{background:#fff;border:1px solid #dce6ef;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(16,42,67,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.blog-post-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,42,67,.09);border-color:#c6d8e8}.blog-post-image{display:block;height:190px;background:#eef5fb;overflow:hidden}.blog-post-image img{width:100%;height:100%;display:block;object-fit:cover}.blog-post-body{padding:21px 21px 22px}.blog-post-card h3{font-size:21px;line-height:1.3;color:var(--navy);margin:7px 0 9px}.blog-post-card p{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 15px}.blog-read-link{display:inline-block;background:#edf4fc;color:#164b8d;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:900}.blog-read-link:hover{background:#e1eefb;color:var(--navy)}
.blog-sidebar{display:flex;flex-direction:column;gap:18px}.blog-side-card,.blog-help-card{background:#fff;border:1px solid #dce6ef;border-radius:14px;padding:23px;box-shadow:0 5px 18px rgba(16,42,67,.045)}.blog-side-card h3{font-size:21px;color:var(--navy);margin:6px 0 15px}.blog-side-cat{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e7edf3;padding:11px 0;font-size:13px;color:#48617b;font-weight:700}.blog-side-cat b{font-size:11px;color:#8495a7;background:#f0f5f9;border-radius:999px;padding:3px 7px}.blog-side-cat:hover,.blog-side-cat.is-active{color:var(--blue)}.blog-side-cat.is-active b{background:#eaf3fc;color:var(--blue)}.blog-help-card{background:#0b3153;color:#fff;border-color:#0b3153}.blog-help-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#fff;color:#0b3153;font-size:20px;margin-bottom:13px}.blog-help-card h3{font-size:20px;line-height:1.25;margin:0 0 7px}.blog-help-card p{font-size:13px;line-height:1.65;color:#d9e7f4;margin:0 0 16px}.blog-help-card a{display:inline-block;color:#fff;background:#1261c9;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:900}.blog-help-card a:hover{background:#2376df}.blog-empty{grid-column:1/-1;background:#fff;border:1px solid #dce6ef;border-radius:14px;padding:35px}.blog-empty h2{margin:0 0 6px;color:var(--navy)}.blog-empty p{margin:0;color:var(--muted)}.blog-pagination{margin-top:28px;text-align:center}.blog-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;margin:0 3px;border:1px solid #d4e0eb;border-radius:7px;background:#fff;color:#315675;font-size:12px;font-weight:800}.blog-pagination .page-numbers.current,.blog-pagination .page-numbers:hover{background:var(--navy);border-color:var(--navy);color:#fff}
@media(max-width:900px){.blog-category-layout{grid-template-columns:1fr}.blog-sidebar{display:grid;grid-template-columns:1fr 1fr}.blog-featured-card{grid-template-columns:1fr}.blog-featured-media{min-height:300px}.blog-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.blog-category-page{padding:22px 0 60px}.blog-category-hero{padding:25px;align-items:flex-start}.blog-category-hero h1{font-size:34px}.blog-category-hero-badge{display:none}.blog-featured-media{min-height:230px}.blog-featured-content{padding:27px}.blog-featured-content h2{font-size:25px}.blog-content-heading{align-items:stretch;flex-direction:column}.blog-content-heading h2{font-size:24px}.blog-search{width:100%}.blog-post-grid,.blog-sidebar{grid-template-columns:1fr}.blog-post-image{height:205px}}

/* Home page blog cards - three-column editorial layout */
.home-blog-section{background:#fff;border-top:1px solid #e7edf3;padding:52px 0 68px}
.home-blog-panel{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.home-blog-panel .panel-heading{margin-bottom:22px}
.home-blog-panel .panel-heading h2{font-size:29px;line-height:1.2}
.home-blog-panel .panel-heading a{background:#edf4fc;border:1px solid #dbe6f0;border-radius:7px;padding:9px 13px;font-size:12px}
.home-blog-panel .article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-blog-panel .article-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dbe5ef;border-radius:0 0 4px 4px;overflow:hidden;box-shadow:0 4px 14px rgba(16,42,67,.045);padding:0;border-bottom:1px solid #dbe5ef}
.home-blog-panel .article-card:last-child{border-bottom:1px solid #dbe5ef}
.home-blog-panel .article-thumb{height:188px;border-radius:0;background:#eaf2fa;flex:0 0 188px}
.home-blog-panel .thumb-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#ffad2f;font-size:40px;font-family:Arial,sans-serif}
.home-blog-panel .article-content{padding:21px 19px 24px;display:flex;flex-direction:column;flex:1}
.home-blog-panel .article-meta{margin:0 0 8px;font-size:10px;line-height:1.35;letter-spacing:.35px;color:#1554a0}
.home-blog-panel .article-card h3{font-size:24px;line-height:1.3;margin:0 0 10px;color:var(--navy);letter-spacing:-.15px}
.home-blog-panel .article-card p{font-size:15px;line-height:1.65;color:#31516f;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-blog-panel .article-read-more{margin-top:17px;width:max-content;background:#edf4fc;border:1px solid #dce7f1;border-radius:7px;padding:8px 11px;color:#164b8d;font-size:11px;font-weight:900}
@media(max-width:900px){.home-blog-panel .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-blog-section{padding:40px 0 55px}.home-blog-panel .article-grid{grid-template-columns:1fr}.home-blog-panel .article-thumb{height:205px;flex-basis:205px}.home-blog-panel .article-card h3{font-size:21px}}


/* Pagination — clean numbered pager inspired by the reference layout */
.blog-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:42px auto 12px;padding:0;min-height:64px}
.blog-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;margin:0;padding:0 10px;border:1px solid #d8e2eb;border-radius:8px;background:#fff;color:#1554a0;text-decoration:none;font-size:13px;font-weight:800;line-height:1;transition:all .18s ease}
.blog-pagination .page-numbers.dots{border-color:transparent;background:transparent;min-width:20px;padding:0;color:#718397}
.blog-pagination .page-numbers.current{background:#1454e8;border-color:#1454e8;color:#fff;box-shadow:0 5px 12px rgba(20,84,232,.16)}
.blog-pagination .page-numbers:not(.current):not(.dots):hover{background:#edf4fc;border-color:#b9cfe3;color:#0b3153;transform:translateY(-1px)}
.blog-pagination .page-numbers.prev,.blog-pagination .page-numbers.next{font-size:20px;font-weight:500;color:#526b82}
.blog-pagination .page-numbers.prev:hover,.blog-pagination .page-numbers.next:hover{background:#edf4fc;color:#1454e8}
@media(max-width:520px){.blog-pagination{gap:5px;margin-top:32px;min-height:56px}.blog-pagination .page-numbers{min-width:38px;height:38px;padding:0 8px;font-size:12px}.blog-pagination .page-numbers.prev,.blog-pagination .page-numbers.next{font-size:18px}}

