/*------------------------------------------------------------------
Theme: twentytwentyfive-child
Heat Pump Radar UK — Combined Styles (v2025-07-05)
-------------------------------------------------------------------*/

/* 0. Reset & base ---------------------------------------------------------*/
*{margin:0;padding:0;box-sizing:border-box;}

body{
  /* from the original child theme */
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
  line-height:1.6;
  color:#0f172a;              /* slate-900 */
  /* from the header styles */
  padding-top:70px;           /* space for fixed header (60 px on mobile via media query) */
}

/* Links ------------------------------------------------------------------*/
a{color:#0ea5e9;text-decoration-thickness:1px;}  /* sky-500 */
a:hover{color:#0369a1;}

/* =========================================================================
   HEADER STYLES  (exact copy of your “Heat Pump Radar UK – Custom Header Styles”)
   ========================================================================= */

/* Site Header */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(102,126,234,0.1);
  transition:all .3s ease;
  box-shadow:0 2px 20px rgba(0,0,0,0.1);
}
.site-header.scrolled{
  background:rgba(255,255,255,0.98);
  box-shadow:0 4px 30px rgba(0,0,0,0.15);
}

/* Navigation Container */
.nav-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 2rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}

/* Site Brand */
.site-brand{display:flex;align-items:center;}
.brand-link{
  display:flex;align-items:center;gap:12px;
  text-decoration:none;color:#2c3e50;
  transition:all .3s ease;
}
.brand-link:hover{color:#667eea;transform:translateY(-1px);}

/* Site Icon – Circular Progress Chart */
.site-icon{width:40px;height:40px;position:relative;flex-shrink:0;}
.icon-circular-chart{
  width:100%;height:100%;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#00c851 100%);
  border-radius:50%;
  position:relative;display:flex;align-items:center;justify-content:center;
  transition:all .3s ease;
  box-shadow:0 4px 15px rgba(102,126,234,0.3);
}
.brand-link:hover .icon-circular-chart{
  transform:scale(1.05);
  box-shadow:0 6px 20px rgba(102,126,234,0.4);
}
.chart-ring{
  position:absolute;top:50%;left:50%;
  width:70%;height:70%;
  transform:translate(-50%,-50%);
  border:3px solid rgba(255,255,255,0.3);
  border-radius:50%;
  border-top-color:#00c851;border-right-color:#00c851;
  animation:chart-pulse 3s ease-in-out infinite;
}
.chart-center{
  position:absolute;top:50%;left:50%;width:40%;height:40%;
  transform:translate(-50%,-50%);
  background:rgba(255,255,255,0.9);border-radius:50%;
}
.chart-center::after{
  content:'';position:absolute;top:50%;left:50%;width:50%;height:50%;
  transform:translate(-50%,-50%);
  background:#2c3e50;border-radius:50%;
}
@keyframes chart-pulse{
  0%,100%{transform:translate(-50%,-50%) scale(1);opacity:1;}
  50%{transform:translate(-50%,-50%) scale(1.1);opacity:0.8;}
}

/* Site Title */
.site-title{
  font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
  font-size:1.4rem;font-weight:700;color:inherit;white-space:nowrap;
}

/* Navigation Menu */
.nav-menu{display:flex;align-items:center;}
.nav-links{display:flex;list-style:none;gap:2rem;margin:0;padding:0;}

.nav-link{
  display:flex;align-items:center;gap:8px;
  padding:12px 20px;border-radius:25px;
  text-decoration:none;color:#2c3e50;
  font-weight:600;font-size:.95rem;
  transition:all .3s ease;
  background:rgba(102,126,234,0.05);
  border:2px solid transparent;position:relative;overflow:hidden;
}
.nav-link::before{
  content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
  transition:left .5s ease;
}
.nav-link:hover::before{left:100%;}
.nav-link:hover{
  color:#fff;background:linear-gradient(135deg,#667eea,#00c851);
  border-color:rgba(255,255,255,0.2);
  transform:translateY(-2px);
  box-shadow:0 8px 25px rgba(102,126,234,0.3);
}
.nav-link:active{transform:translateY(0);}
.nav-icon{font-size:1.1rem;opacity:.8;}
.nav-text{white-space:nowrap;}

/* Mobile Menu Toggle */
.mobile-menu-toggle{
  display:none;flex-direction:column;justify-content:space-around;
  width:30px;height:30px;background:transparent;border:none;
  cursor:pointer;padding:0;z-index:1003;
}
.hamburger-line{
  width:100%;height:3px;
  background:linear-gradient(135deg,#667eea,#00c851);
  border-radius:2px;transition:all .3s ease;transform-origin:center;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1){
  transform:rotate(45deg) translate(8px,8px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2){
  opacity:0;transform:scale(0);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3){
  transform:rotate(-45deg) translate(8px,-8px);
}

/* Mobile Menu Overlay - Simple & Foolproof */
.mobile-menu-overlay{
  position:fixed;
  top:70px;
  left:0;right:0;
  background:#2c3e50;
  z-index:1002;
  opacity:0;
  visibility:hidden;
  transition:all .3s ease;
  padding:20px;
}
.mobile-menu-overlay.active{opacity:1;visibility:visible;}
.mobile-menu-content{
  text-align:center;
}
.mobile-nav-links{
  list-style:none;
  margin:0;
  padding:0;
}
.mobile-nav-links li{
  margin-bottom:15px;
}
.mobile-nav-link{
  display:block;
  padding:15px 20px;
  background:#667eea;
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:all .3s ease;
}
.mobile-nav-link:hover{
  background:#00c851;
  transform:translateY(-2px);
}
.mobile-nav-link .nav-icon{
  margin-right:8px;
}

/* Body tweaks when mobile menu open */
body.mobile-menu-open{overflow:hidden;}

/* Responsive header tweaks */
@media (max-width:768px){
  .nav-container{padding:0 1rem;height:60px;}
  body{padding-top:60px;}
  .site-icon{width:35px;height:35px;}
  .site-title{font-size:1.2rem;}
  .nav-menu{display:none;}
  .mobile-menu-toggle{display:flex;}
}
@media (max-width:480px){
  .nav-container{padding:0 1rem;}
  .site-title{font-size:1.1rem;}
  .brand-link{gap:8px;}
  .mobile-nav-link{min-width:200px;font-size:1.1rem;padding:12px 25px;}
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion:no-preference){
  .site-header{transition:all .3s cubic-bezier(.4,0,.2,1);}
}

/* High contrast mode */
@media (prefers-contrast:high){
  .site-header{background:#fff;border-bottom:2px solid #000;}
  .nav-link{border:2px solid #000;}
}

/* Print */
@media print{
  .site-header{display:none;}
  body{padding-top:0;}
}

/* =========================================================================
   ORIGINAL CHILD-THEME STYLES (unchanged)
   ========================================================================= */

/* 2. Sector intro paragraph ----------------------------------------------*/
.sector-intro{
  font-size:1.125rem;        /* text-lg */
  margin:0 0 1.75rem;
}

/* 3. Stat list grid -------------------------------------------------------*/
.sector-stats{
  list-style:none;margin:0 0 2rem;padding:0;
  display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.sector-stats li{
  background:#f8fafc;        /* slate-50 */
  border:1px solid #e2e8f0;   /* slate-200 */
  border-radius:0.75rem;      /* rounded-xl */
  padding:1rem 1.25rem;font-size:1rem;
}
.sector-stats strong{display:block;font-weight:600;margin-bottom:.25rem;}
.spr-compare{font-size:.875rem;color:#64748b;}

/* 4. CTA lead box ---------------------------------------------------------*/
.cta-lead{
  background:#f0fdf4;        /* green-50 */
  border:1px solid #bbf7d0;   /* green-200 */
  border-radius:0.75rem;
  padding:1.75rem 1.25rem;text-align:center;margin:2rem 0;
}
.cta-lead h2{font-size:1.5rem;font-weight:600;margin:0 0 1rem;}
.cta-lead .cta-note{font-size:.875rem;color:#64748b;}

/* 5. Hero calculator card -------------------------------------------------*/
#hero-calculator{
  background:#fff;border:1px solid #e2e8f0;border-radius:1rem;
  padding:2rem 1.5rem;margin:0 0 2.25rem;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
}
.calc-h2{font-size:1.5rem;font-weight:600;margin:0 0 1rem;}
.calc-savings{font-size:1.25rem;margin:0 0 1rem;}
.calc-savings strong{font-size:2rem;font-weight:700;color:#10b981;} /* emerald-500 */
.calc-slider,.calc-cost{display:block;margin:0 0 1.25rem;font-size:1rem;}
.calc-slider input[type=range]{width:100%;margin-top:.5rem;}
.calc-cost input[type=number]{
  width:8rem;padding:.35rem .5rem;font-size:1rem;
  border:1px solid #cbd5e1;border-radius:.375rem;
}
.calc-cta{
  display:inline-block;background:#0ea5e9;color:#fff;font-weight:600;
  padding:.75rem 1.25rem;border-radius:.5rem;text-decoration:none;
  transition:background .15s ease-in-out,box-shadow .15s ease-in-out;
}
.calc-cta:hover{background:#0284c7;box-shadow:0 2px 6px rgba(0,0,0,.08);}

/* 6. Responsive tweaks ----------------------------------------------------*/
@media (min-width:640px){ /* sm */
  .calc-h2{font-size:1.75rem;}
  .calc-savings{font-size:1.5rem;}
  .calc-savings strong{font-size:2.5rem;}
}


/* =========================================================================
   FOOTER STYLES — Heat Pump Radar UK
   (added 2025-07-05)
   ========================================================================= */

.site-footer{
  background:linear-gradient(135deg,#2c3e50 0%,#34495e 50%,#2c3e50 100%);
  color:#fff;position:relative;overflow:hidden;margin-top:auto;
}
.site-footer::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><defs><radialGradient id='g' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='rgba(102,126,234,0.1)'/><stop offset='100%' stop-color='rgba(102,126,234,0)'/></radialGradient></defs><circle cx='200' cy='300' r='120' fill='url(%23g)'/><circle cx='800' cy='200' r='150' fill='url(%23g)'/><circle cx='600' cy='700' r='100' fill='url(%23g)'/></svg>") no-repeat center/cover;
  animation:footer-float 30s ease-in-out infinite;opacity:.3;
}
@keyframes footer-float{
  0%,100%{transform:translate(0,0) rotate(0);}
  33%{transform:translate(30px,-20px) rotate(1deg);}
  66%{transform:translate(-20px,10px) rotate(-1deg);}
}

/* Layout */
.footer-container{max-width:1200px;margin:0 auto;position:relative;z-index:2;}
.footer-main{display:grid;grid-template-columns:1fr 2fr;gap:4rem;padding:4rem 2rem 2rem;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}

/* Brand */
.footer-brand{display:flex;flex-direction:column;gap:1.5rem;opacity:0;transform:translateY(30px);transition:all .8s ease;}
.footer-brand.footer-animate-in{opacity:1;transform:translateY(0);}
.footer-logo{display:flex;align-items:center;gap:12px;margin-bottom:1rem;}
.footer-brand .site-icon{width:45px;height:45px;position:relative;flex-shrink:0;}
.footer-brand .icon-circular-chart{width:100%;height:100%;background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#00c851 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(102,126,234,.4);}
.footer-brand .chart-ring{position:absolute;top:50%;left:50%;width:70%;height:70%;transform:translate(-50%,-50%);border:3px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#00c851;border-right-color:#00c851;animation:footer-chart-spin 8s linear infinite;}
.footer-brand .chart-center{position:absolute;top:50%;left:50%;width:40%;height:40%;transform:translate(-50%,-50%);background:rgba(255,255,255,.9);border-radius:50%;}
.footer-brand .chart-center::after{content:'';position:absolute;top:50%;left:50%;width:50%;height:50%;transform:translate(-50%,-50%);background:#2c3e50;border-radius:50%;}
@keyframes footer-chart-spin{to{transform:translate(-50%,-50%) rotate(360deg);}}
.footer-site-title{font-size:1.5rem;font-weight:700;color:#fff;}
.footer-tagline{color:rgba(255,255,255,.8);line-height:1.6;font-size:1rem;margin:0;}
.footer-data-sources{padding:1rem;background:rgba(102,126,234,.1);border-radius:10px;border-left:4px solid #00c851;}
.data-badge{font-weight:600;color:#00c851;font-size:.9rem;display:block;margin-bottom:.5rem;}
.data-list{color:rgba(255,255,255,.7);font-size:.9rem;}

/* Columns */
.footer-column{opacity:0;transform:translateY(20px);transition:all .6s ease;}
.footer-column.footer-animate-in{opacity:1;transform:translateY(0);}
.footer-column:nth-child(1){transition-delay:.1s;}
.footer-column:nth-child(2){transition-delay:.2s;}
.footer-column:nth-child(3){transition-delay:.3s;}
.footer-column-title{font-size:1.1rem;font-weight:600;color:#00c851;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:2px solid rgba(0,200,81,.3);}

/* Links */
.footer-links{list-style:none;margin:0;padding:0;}
.footer-links li{margin-bottom:1rem;}
.footer-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:rgba(255,255,255,.8);transition:.3s;padding:8px 12px;border-radius:8px;font-size:.95rem;position:relative;overflow:hidden;}
.footer-link::before{content:'';position:absolute;inset:0;left:-100%;background:linear-gradient(90deg,transparent,rgba(102,126,234,.2),transparent);transition:left .5s;}
.footer-link:hover::before{left:100%;}
.footer-link:hover{color:#fff;background:rgba(102,126,234,.2);transform:translateX(5px);}
.footer-link-icon{font-size:1rem;opacity:.7;transition:opacity .3s;}
.footer-link:hover .footer-link-icon{opacity:1;}
.footer-link-text{font-weight:500;}

/* Bottom bar */
.footer-bottom{padding:2rem;background:rgba(0,0,0,.2);border-top:1px solid rgba(255,255,255,.1);}
.footer-bottom-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
.footer-copyright p{margin:0;color:rgba(255,255,255,.7);font-size:.9rem;}
.footer-independence{font-size:.8rem;color:#00c851;font-weight:500;margin-top:.25rem;}
.footer-meta{display:flex;align-items:center;gap:2rem;flex-wrap:wrap;font-size:.85rem;}
.footer-update{display:flex;align-items:center;gap:.5rem;}
.update-label{color:rgba(255,255,255,.6);}
.update-date{color:#00c851;font-weight:600;}
.footer-tech{color:rgba(255,255,255,.6);}

/* Back-to-top */
.back-to-top{position:fixed;bottom:2rem;right:2rem;width:50px;height:50px;background:linear-gradient(135deg,#667eea,#00c851);color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:bold;box-shadow:0 4px 15px rgba(102,126,234,.4);transition:.3s;z-index:1000;}
.back-to-top:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 6px 20px rgba(102,126,234,.6);}
.back-to-top:active{transform:translateY(-1px) scale(1.02);}
.back-to-top-icon{transition:transform .3s;}
.back-to-top:hover .back-to-top-icon{transform:translateY(-2px);}

/* Animations */
@media (prefers-reduced-motion:reduce){
  .footer-brand .chart-ring,.footer-link::before,.site-footer::before{animation:none;}
  .footer-column,.footer-brand{transition:none;}
}

/* Responsive tweaks */
@media (max-width:968px){
  .footer-main{grid-template-columns:1fr;gap:3rem;padding:4rem 2rem 2rem;}
  .footer-nav{grid-template-columns:repeat(2,1fr);gap:2rem;}
  .footer-nav .footer-column:nth-child(3){grid-column:1/-1;}
}
@media (max-width:768px){
  .footer-main{padding:3rem 1.5rem 2rem;gap:2.5rem;}
  .footer-nav{grid-template-columns:1fr;gap:2rem;}
  .footer-main .footer-column:nth-child(3){grid-column:auto;}
  .footer-bottom{padding:1.5rem;}
  .footer-bottom-content{flex-direction:column;text-align:center;gap:1rem;}
  .footer-meta{flex-direction:column;gap:.5rem;}
  .back-to-top{bottom:1rem;right:1rem;width:45px;height:45px;}
}
@media (max-width:480px){
  .footer-main{padding:2rem 1rem;}
  .footer-brand .site-icon{width:40px;height:40px;}
  .footer-site-title{font-size:1.3rem;}
  .footer-tagline{font-size:.95rem;}
  .footer-bottom{padding:1rem;}
  .footer-copyright p{font-size:.8rem;}
  .footer-meta{font-size:.8rem;}
}
/* Remove Title */
body.page .wp-block-post-title{display:none;}

/* Stop WP’s inline styles from putting bullets in the header menu */
.nav-links li{list-style:none!important;}
.nav-links li::marker{content:''!important;}

/* Styling for installation cost table */
.cost-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0 2rem;
	font-size: 0.95rem;
}
.cost-table thead th {
	background: #f5f7fa;
	font-weight: 600;
	text-align: left;
	padding: 0.5rem 0.75rem;
}
.cost-table td {
	padding: 0.4rem 0.75rem;
	border-top: 1px solid #e3e7eb;
}
.cost-table td strong {
	font-weight: 700;
}
@media (max-width: 600px) {
	.cost-table thead {
		display: none;
	}
	.cost-table tr {
		display: block;
		margin-bottom: 1rem;
	}
	.cost-table td {
		display: flex;
		justify-content: space-between;
		padding: 0.25rem 0;
		border: none;
	}
	.cost-table td::before {
		content: attr(data-label);
		font-weight: 600;
	}
}

/* Claude styling */
/*------------------------------------------------------------------
Enhanced Sector Page Styles - Heat Pump Radar UK
Comprehensive visual overhaul for postcode sector pages
-------------------------------------------------------------------*/

/* =========================================================================
   COMPLETE WIDTH FIX - Target All WordPress Containers
   ========================================================================= */

/* Target the main WordPress containers that TwentyTwentyFive uses */
body.single-sector .site,
body.single-sector .site-content,
body.single-sector .wp-site-blocks,
body.single-sector main,
body.single-sector .main,
body.single-sector .site-main,
body.single-sector .entry-content,
body.single-sector .wp-block-group {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure the article container also respects width */
body.single-sector article,
body.page article {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Override any WordPress full-width classes */
body.single-sector .alignfull,
body.single-sector .alignwide,
body.page .alignfull,
body.page .alignwide {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Responsive width adjustments */
@media (max-width: 1240px) {
  body.single-sector .site,
  body.single-sector .site-content,
  body.single-sector .wp-site-blocks,
  body.single-sector main,
  body.single-sector .main,
  body.single-sector .site-main,
  body.single-sector article,
  body.page .site,
  body.page .site-content,
  body.page .wp-site-blocks,
  body.page main,
  body.page .main,
  body.page .site-main,
  body.page article {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 768px) {
  body.single-sector .site,
  body.single-sector .site-content,
  body.single-sector .wp-site-blocks,
  body.single-sector main,
  body.single-sector .main,
  body.single-sector .site-main,
  body.single-sector article,
  body.page .site,
  body.page .site-content,
  body.page .wp-site-blocks,
  body.page main,
  body.page .main,
  body.page .site-main,
  body.page article {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* =========================================================================
   SECTOR PAGE FIXES - High Specificity to Override WordPress
   ========================================================================= */

/* Fix 1: Page wrapper - force max-width and proper spacing */
body.single-sector .site-main,
body.page .site-main {
  max-width: 1200px !important;
  margin: 2rem auto 0 auto !important;
  padding: 0 2rem !important;
}

/* Fix 2: Entry header - reduce crowding and clear fixed header */
body.single-sector .entry-header {
  text-align: center !important;
  margin-bottom: 2rem !important;
  margin-top: 2rem !important; /* Extra space to clear fixed header */
  padding: 1.5rem 1rem !important;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 200, 81, 0.05) 100%) !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
}

body.single-sector .entry-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #667eea, #00c851) !important;
}

/* Fix 3: Entry title - proper sizing and readability */
body.single-sector .entry-title,
body.single-sector h1.entry-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
}

/* Fix 4: Hero calculator styling */
body.single-sector #hero-calculator {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  margin: 0 0 2rem 0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Fix 5: Calculator headings */
body.single-sector .calc-h2 {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 0 1.5rem 0 !important;
  text-align: center !important;
}

/* Fix 6: Calculator savings display */
body.single-sector .calc-savings {
  text-align: center !important;
  font-size: 1.2rem !important;
  margin: 0 0 0.5rem 0 !important;
  color: #64748b !important;
}

body.single-sector .calc-savings strong {
  display: block !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: #00c851 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1 !important;
}

/* Fix 7: Form controls - BOLD LABELS */
body.single-sector .calc-slider label,
body.single-sector .calc-cost label {
  display: block !important;
  font-weight: 700 !important; /* BOLD */
  color: #2c3e50 !important;
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
}

/* Fix 8: Form containers */
body.single-sector .calc-slider,
body.single-sector .calc-cost {
  background: white !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  margin: 0 0 1.25rem 0 !important;
  transition: border-color 0.3s ease !important;
}

/* Fix 9: Range slider - PROPER WIDTH */
body.single-sector .calc-slider input[type="range"] {
  width: 100% !important;
  max-width: 500px !important; /* Reasonable width, not too narrow */
  height: 8px !important;
  border-radius: 4px !important;
  background: #e2e8f0 !important;
  outline: none !important;
  margin-top: 1rem !important;
  -webkit-appearance: none !important;
  display: block !important;
}

/* Fix 10: Number input */
body.single-sector .calc-cost input[type="number"] {
  width: 100% !important;
  max-width: 200px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #f8f9fa !important;
  color: #2c3e50 !important;
  margin-top: 0.5rem !important;
}

/* Fix 11: COST TABLE HEADERS - VISIBLE */
body.single-sector .cost-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 1.5rem 0 !important;
  background: white !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e2e8f0 !important;
}

body.single-sector .cost-table thead {
  background: #2c3e50 !important; /* DARK BACKGROUND */
  color: white !important;
}

body.single-sector .cost-table thead th {
  padding: 1rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-align: left !important;
  border: none !important;
  color: white !important; /* WHITE TEXT */
  background: #2c3e50 !important;
}

body.single-sector .cost-table tbody tr:hover {
  background: rgba(102, 126, 234, 0.05) !important;
}

body.single-sector .cost-table td {
  padding: 1rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 0.95rem !important;
  color: #475569 !important;
}

body.single-sector .cost-table td strong {
  color: #00c851 !important;
  font-weight: 700 !important;
}

/* Fix 12: LEGEND TABLE STYLING */
body.single-sector .cost-table + table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 1.5rem 0 2rem 0 !important;
  background: white !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e2e8f0 !important;
}

body.single-sector .cost-table + table th {
  background: #f1f5f9 !important;
  color: #2c3e50 !important;
  padding: 1rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  border-bottom: 1px solid #e2e8f0 !important;
  width: 25% !important;
  vertical-align: top !important;
}

body.single-sector .cost-table + table td {
  padding: 1rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #475569 !important;
  vertical-align: top !important;
}

body.single-sector .cost-table + table td ul {
  margin: 0 !important;
  padding-left: 1.2rem !important;
  list-style-type: disc !important;
}

body.single-sector .cost-table + table td li {
  margin-bottom: 0.5rem !important;
  color: #475569 !important;
  line-height: 1.5 !important;
}

/* Fix 13: Content sections */
body.single-sector .sector-intro {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  color: #2c3e50 !important;
  background: white !important;
  padding: 2rem !important;
  border-radius: 20px !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
  margin: 0 0 3rem 0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

/* Fix 14: Stats cards */
body.single-sector .sector-stats {
  list-style: none !important;
  margin: 3rem 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
}

body.single-sector .sector-stats li {
  background: white !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
  border-radius: 20px !important;
  padding: 2rem 1.5rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

body.single-sector .sector-stats li strong {
  display: block !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #2c3e50 !important;
  margin-bottom: 0.5rem !important;
}

/* Fix 15: Responsive design */
@media (max-width: 768px) {
  body.single-sector .site-main,
  body.page .site-main {
    padding: 0 1rem !important;
    margin-top: 1rem !important;
  }

  body.single-sector .entry-header {
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 1rem !important;
  }

  body.single-sector .entry-title,
  body.single-sector h1.entry-title {
    font-size: 1.4rem !important;
    line-height: 1.4 !important;
  }

  body.single-sector #hero-calculator {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  body.single-sector .calc-slider input[type="range"] {
    max-width: 100% !important;
  }
}

/* =========================================================================
   CLEAN LEGEND TABLE DESIGN - Light & Airy
   ========================================================================= */

/* Target the legend table with a much cleaner design */
body.single-sector .legend-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 2rem 0 !important;
  background: white !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #e2e8f0 !important;
}

/* Legend table headers - LIGHT BACKGROUND */
body.single-sector .legend-table th {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: #2c3e50 !important;
  padding: 1rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  border: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  font-size: 1rem !important;
  width: 25% !important;
  vertical-align: top !important;
}

/* Legend table cells */
body.single-sector .legend-table td {
  padding: 1rem !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #475569 !important;
  vertical-align: top !important;
  background: white !important;
}

/* Legend table lists - TIGHTER SPACING */
body.single-sector .legend-table td ul {
  margin: 0 !important;
  padding-left: 1.2rem !important;
  list-style-type: disc !important;
}

/* Legend table list items - REMOVE EXTRA SPACING */
body.single-sector .legend-table td li {
  margin-bottom: 0.4rem !important; /* Reduced from 0.75rem */
  color: #475569 !important;
  line-height: 1.5 !important;
  font-size: 0.95rem !important;
}

/* Remove extra margin from last list item in each cell */
body.single-sector .legend-table td li:last-child {
  margin-bottom: 0 !important;
}

/* Remove border from last row */
body.single-sector .legend-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Add subtle hover effect */
body.single-sector .legend-table tbody tr:hover {
  background: rgba(102, 126, 234, 0.02) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  body.single-sector .legend-table {
    border-radius: 8px !important;
    margin: 1.5rem 0 !important;
  }

  body.single-sector .legend-table th {
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
  }

  body.single-sector .legend-table td {
    padding: 0.75rem !important;
  }

  body.single-sector .legend-table td li {
    font-size: 0.9rem !important;
    margin-bottom: 0.3rem !important;
  }
}



/* =========================================================================
   HERO CALCULATOR REDESIGN
   ========================================================================= */

#hero-calculator {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid rgba(102, 126, 234, 0.1);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  margin: 0 0 3rem;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  position: relative;
  overflow: hidden;
}

#hero-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #667eea, #764ba2, #00c851);
  border-radius: 24px 24px 0 0;
}

.calc-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 1.5rem;
  text-align: center;
}

.calc-savings {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem;
  color: #64748b;
}

.calc-savings strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.calc-co2 {
  text-align: center;
  font-size: 1rem;
  color: #667eea;
  font-weight: 600;
  margin: 0 0 2rem;
  padding: 0.75rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  display: inline-block;
}

/* Calculator controls styling */
.calc-slider, .calc-cost {
  background: white;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 0 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.calc-slider:hover, .calc-cost:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.calc-slider label, .calc-cost label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

#spr-area {
  color: #00c851;
  font-weight: 700;
}

/* Range slider styling */
.calc-slider input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  margin-top: 1rem;
  -webkit-appearance: none;
}

.calc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #00c851);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: transform 0.2s ease;
}

.calc-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calc-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #00c851);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Number input styling */
.calc-cost input[type="number"] {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8f9fa;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.calc-cost input[type="number"]:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* CTA button enhancement */
.calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #00c851 100%);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  border: none;
  cursor: pointer;
  margin: 1rem auto 0;
  display: block;
  text-align: center;
  max-width: 300px;
}

.calc-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
  text-decoration: none;
  color: white;
}

.calc-cta:active {
  transform: translateY(-1px);
}

/* Calculator disclaimer */
.calc-note {
  font-size: 0.85rem;
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  line-height: 1.5;
  border-left: 4px solid #667eea;
}

/* =========================================================================
   CONTENT SECTIONS REDESIGN
   ========================================================================= */

/* Narrative paragraph enhancement */
.sector-intro {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #2c3e50 !important;
  background: white !important;
  padding: 1.5rem !important;
  border-radius: 16px !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
  margin: 0 0 2rem 0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
}
.sector-intro::before {
  content: '📍' !important;
  position: absolute !important;
  top: -8px !important;
  left: 1.5rem !important;
  background: white !important;
  padding: 0 6px !important;
  font-size: 1.2rem !important;
}

/* Installation cost section enhancement */
.cost-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border-left: 4px solid #667eea;
}

.install-note {
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 1.5rem;
  background: white;
  border: 2px solid rgba(0, 200, 81, 0.2);
  border-radius: 16px;
  margin: 0 0 2rem;
  box-shadow: 0 4px 15px rgba(0, 200, 81, 0.1);
}

/* =========================================================================
   COST TABLE COMPLETE REDESIGN
   ========================================================================= */

.cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.1);
}

.cost-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cost-table thead th {
  padding: 1.5rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  border: none;
  position: relative;
}

.cost-table thead th:first-child {
  border-radius: 20px 0 0 0;
}

.cost-table thead th:last-child {
  border-radius: 0 20px 0 0;
}

.cost-table tbody tr {
  transition: all 0.3s ease;
}

.cost-table tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
  transform: scale(1.01);
}

.cost-table tbody tr:nth-child(even) {
  background: rgba(248, 249, 250, 0.5);
}

.cost-table tbody tr:nth-child(even):hover {
  background: rgba(102, 126, 234, 0.05);
}

.cost-table td {
  padding: 1.25rem 1rem;
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  font-size: 0.95rem;
  color: #475569;
  vertical-align: middle;
}

.cost-table td:first-child {
  font-weight: 600;
  color: #2c3e50;
}

.cost-table td strong {
  color: #00c851;
  font-weight: 700;
  font-size: 1.05rem;
}

.cost-table tbody tr:last-child td {
  border-bottom: none;
}

.cost-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 20px;
}

.cost-table tbody tr:last-child td:last-child {
  border-radius: 0 0 20px 0;
}

/* Bracket legend table styling */
.cost-table + table {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  margin: 1.5rem 0 3rem;
}

.cost-table + table th {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 1rem;
  font-weight: 600;
  border: none;
}

.cost-table + table td {
  padding: 1rem;
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.cost-table + table td ul {
  margin: 0;
  padding-left: 1.2rem;
}

.cost-table + table td li {
  margin-bottom: 0.5rem;
  color: #475569;
  line-height: 1.5;
}

/* =========================================================================
   STATS SECTION REDESIGN
   ========================================================================= */

.sector-stats {
  list-style: none;
  margin: 3rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sector-stats li {
  background: white;
  border: 2px solid rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.sector-stats li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #00c851);
}

.sector-stats li:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.sector-stats li strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #2c3e50 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sector-stats .spr-compare {
  display: block;
  font-size: 0.9rem;
  color: #00c851;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 200, 81, 0.1);
  border-radius: 8px;
  text-align: center;
}

/* =========================================================================
   COMPARISON SECTORS SECTION
   ========================================================================= */

.compare-sectors {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 200, 81, 0.05) 100%);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid rgba(102, 126, 234, 0.1);
  margin: 3rem 0;
  text-align: center;
}

.compare-sectors p {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0;
  line-height: 1.6;
}

.compare-sectors a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.compare-sectors a:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */

@media (max-width: 768px) {
  .single-sector .site-main {
    padding: 0 1rem;
  }

  .single-sector .entry-header {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

  #hero-calculator {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .calc-h2 {
    margin-bottom: 1rem;
  }

  .calc-slider, .calc-cost {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .sector-intro {
    padding: 1.5rem;
    font-size: 1.1rem;
  }

  .cost-intro, .install-note {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Mobile table redesign */
  .cost-table {
    border-radius: 16px;
    font-size: 0.9rem;
  }

  .cost-table thead {
    display: none;
  }

  .cost-table tbody tr {
    display: block;
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .cost-table tbody tr:hover {
    transform: none;
  }

  .cost-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
  }

  .cost-table td:last-child {
    border-bottom: none;
  }

  .cost-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
  }

  .cost-table td:first-child::before { content: "Category"; }
  .cost-table td:nth-child(2)::before { content: "National cost range"; }
  .cost-table td:nth-child(3)::before { content: "Adjusted for area"; }
  .cost-table td:nth-child(4)::before { content: "Net after grant"; }

  .sector-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .sector-stats li {
    padding: 1.5rem 1rem;
  }

  .sector-stats li strong {
    font-size: 1.75rem;
  }

  .compare-sectors {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .compare-sectors p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .single-sector .entry-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  #hero-calculator {
    padding: 1.5rem 1rem;
  }

  .calc-savings strong {
    font-size: 2.5rem;
  }

  .sector-intro {
    padding: 1rem;
    font-size: 1rem;
  }

  .sector-stats li {
    padding: 1rem;
  }

  .sector-stats li strong {
    font-size: 1.5rem;
  }

  .cost-table tbody tr {
    padding: 0.75rem;
  }

  .cost-table td {
    padding: 0.5rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .cost-table td::before {
    font-size: 0.85rem;
    opacity: 0.8;
  }
}

/* =========================================================================
   ACCESSIBILITY & ANIMATIONS
   ========================================================================= */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sector-stats li,
  .calc-cta,
  .cost-table tbody tr,
  .compare-sectors a {
    transition: none;
  }

  .calc-cta:hover {
    transform: none;
  }

  .sector-stats li:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .cost-table {
    border: 3px solid #000;
  }

  .sector-stats li {
    border: 2px solid #000;
  }

  #hero-calculator {
    border: 2px solid #000;
  }
}

/* Focus styles for accessibility */
.calc-cta:focus,
.compare-sectors a:focus,
.calc-cost input:focus,
.calc-slider input:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  #hero-calculator {
    box-shadow: none;
    border: 2px solid #ccc;
  }

  .sector-stats li {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .cost-table {
    box-shadow: none;
    border: 1px solid #ccc;
  }

/* Area hub list */
.hpr-area-list{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px,1fr));
  gap:.75rem 1rem;
  margin:0;
  padding:0;
  list-style:none;
}
.hpr-area-list li{margin:0}
.hpr-area-list a{
  display:block;
  padding:.55rem .7rem;
  border:1px solid #e6e6e6;
  border-radius:8px;
  text-decoration:none;
  line-height:1.25;
}
.hpr-area-list a:hover{background:#f7f7f7}
@media (max-width:640px){
  .hpr-area-list{grid-template-columns:1fr}
}
