/* Home Comfort Math – brand layer for GeneratePress */
:root{--hcm-ink:#1F2630;--hcm-text:#2A313C;--hcm-muted:#4A5462;--hcm-blue:#1D63D1;--hcm-blue-dark:#174FA8;--hcm-coral:#FF5A36;--hcm-coral-deep:#D63F1B;--hcm-green:#0B6E4F;--hcm-frost:#EEF4FB;--hcm-warm:#FFF1EC;--hcm-line:#D5DCE5;--hcm-soft:#F6F8FB;--hcm-head:'Space Grotesk',Inter,system-ui,sans-serif;--hcm-body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
body,button,input,select,textarea{font-family:var(--hcm-body)}
body{font-family:var(--hcm-body);font-size:18px;line-height:1.7;color:var(--hcm-text);background:#fff}
h1,h2,h3,h4,.entry-title,.site-title,.widget-title{font-family:var(--hcm-head);color:var(--hcm-ink);letter-spacing:-.01em}
h1,.entry-title{font-size:44px;line-height:1.12;font-weight:700;letter-spacing:-.02em}
h2{font-size:30px;line-height:1.25;font-weight:700;margin-top:1.6em}
h3{font-size:22px;line-height:1.3;font-weight:700}
@media(max-width:768px){h1,.entry-title{font-size:32px}h2{font-size:25px}h3{font-size:20px}body{font-size:17px}}
a{color:var(--hcm-blue)}a:hover,a:focus{color:var(--hcm-blue-dark)}
.entry-content a{text-decoration:underline;text-underline-offset:2px}
/* containers: all white */
.separate-containers .inside-article,.separate-containers .comments-area,.separate-containers .page-header,.separate-containers .paging-navigation,.one-container .site-content,.inside-page-header,.sidebar .widget,.site-main>*{background-color:#fff}
body.separate-containers{background:#fff}
.separate-containers .inside-article{padding:24px 0}
/* buttons */
.wp-block-button__link,.entry-content button,.widget button,.search-form button,input[type=submit],a.button{background:var(--hcm-coral-deep);color:#fff;border-radius:12px;font-weight:700;padding:14px 24px}
.wp-block-button__link:hover,.entry-content button:hover,.widget button:hover,.search-form button:hover,input[type=submit]:hover,a.button:hover{background:#B8350F;color:#fff}
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--hcm-blue);border:2px solid var(--hcm-blue)}
/* meta & archives */
.entry-meta,.entry-meta a{color:var(--hcm-muted);font-size:15px}
.page-header .page-title{font-size:40px}
.taxonomy-description{color:var(--hcm-muted);font-size:17px}
.archive .inside-article,.blog .inside-article{border:1px solid var(--hcm-line);border-radius:16px;padding:24px;margin-bottom:20px}
.post-image img,.featured-image img{border-radius:16px}
/* tables */
.entry-content table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.45;border:0}
.entry-content th{text-align:left;border-bottom:2px solid var(--hcm-ink);padding:9px 8px;background:transparent}
.entry-content td{border:0;border-bottom:1px solid var(--hcm-line);padding:9px 8px}
.wp-block-table{overflow-x:auto}
/* content components */
.hcm-quick{background:var(--hcm-frost);border-radius:16px;padding:22px 24px;margin:28px 0}
.hcm-quick h2,.hcm-quick h3{margin-top:0;font-size:22px}
.hcm-quick td{border-bottom-color:#C9D6E8}
.hcm-source{font-size:14px;color:var(--hcm-muted);line-height:1.5}
.hcm-math{background:var(--hcm-soft);border:1px solid var(--hcm-line);border-radius:14px;padding:18px 20px;font-size:16px;line-height:1.8;margin:20px 0}
.hcm-math p{margin:0}
.hcm-verdict{background:var(--hcm-warm);border-radius:18px;padding:24px;margin:32px 0}
.hcm-verdict h2,.hcm-verdict h3{margin-top:0}
.hcm-verdict .wp-block-columns{gap:16px;margin-bottom:0}
.hcm-verdict .wp-block-column{background:#fff;border-radius:14px;padding:18px;font-size:16px}
.hcm-yes{color:var(--hcm-green);font-weight:700}
.hcm-no{color:#A8320F;font-weight:700}
.hcm-answer{font-size:20px;line-height:1.6}
.hcm-howwe{background:var(--hcm-soft);border-radius:14px;padding:18px 22px;font-size:15px;line-height:1.6;margin-top:32px}
.hcm-calc{border:2px solid var(--hcm-blue);border-radius:18px;padding:24px;margin:28px 0;background:#fff}
.hcm-faq details{border-bottom:1px solid var(--hcm-line);padding:14px 0}
.hcm-faq summary{cursor:pointer;font-weight:700}
.wp-block-details{border-bottom:1px solid var(--hcm-line);padding:14px 0}
.wp-block-details summary{cursor:pointer;font-weight:700}
/* sidebar */
.sidebar .widget{border:1px solid var(--hcm-line);border-radius:16px;padding:20px}
/* pages: no sidebar, readable width */
.page #right-sidebar,.page #left-sidebar{display:none}
.page .content-area,.page #primary{width:100%;float:none}
.page:not(.hcm-front) .entry-header,.page:not(.hcm-front) .entry-content{max-width:780px;margin-left:auto;margin-right:auto}

/* ================= v1.1 brand header (matches the approved design) ================= */
.hcm-hdr,.hcm-ftr,.hcm-home{font-family:Inter,system-ui,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:auto}
.hcm-hdr *,.hcm-ftr *,.hcm-home *{box-sizing:content-box}
.hcm-hdr button,.hcm-home button,.hcm-home select{box-sizing:border-box}
.hcm-hdr{position:relative;z-index:100;border-bottom:1px solid #D5DCE5;background:#FFFFFF;color:#1F2630}
.hcm-hdr-in{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.hcm-hdr .hcm-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#1F2630}
.hcm-hdr .hcm-logo:hover{text-decoration:none}
.hcm-logo-icon{width:54px;height:54px;flex:0 0 54px;display:block}
.hcm-logo-text{display:flex;flex-direction:column;line-height:1}
.hcm-logo-name{font-family:'Space Grotesk',Inter,sans-serif;font-size:27px;font-weight:600;letter-spacing:-.6px;color:#1F2630;line-height:1.05;white-space:nowrap}
.hcm-logo-name span{color:#1D63D1;font-weight:700}
.hcm-logo-tag{margin-top:5px;font-size:14px;font-weight:500;color:#4A5462;line-height:1.2;white-space:nowrap}
@media (max-width:480px){.hcm-logo-icon{width:44px;height:44px;flex-basis:44px}.hcm-logo-name{font-size:22px}.hcm-logo-tag{font-size:12.5px}.hcm-hdr .hcm-logo{gap:10px}}
.hcm-hdr a{text-decoration:none}
.hcm-hdr button{font:inherit;color:#1F2630;background:none;border:0;border-radius:0;padding:0;margin:0;cursor:pointer;text-transform:none;letter-spacing:normal;line-height:inherit;min-height:0}
.hcm-hdr button:hover,.hcm-hdr button:focus{background:none;color:#1F2630}
.hcm-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px;font-size:15px;font-weight:600}
.hcm-nav-link,.hcm-hdr .hcm-nav-link{color:#1F2630;font-size:15px;font-weight:600}
.hcm-hdr .hcm-nav-link{transition:color .15s ease}
.hcm-hdr a.hcm-nav-link:hover,.hcm-hdr a.hcm-nav-link:focus-visible,.hcm-hdr .hcm-dd:hover>.hcm-dd-btn,.hcm-hdr .hcm-dd.is-open>.hcm-dd-btn,.hcm-hdr .hcm-dd-btn:focus-visible,.hcm-hdr .hcm-nav-link.is-current,.hcm-hdr button.hcm-nav-link.is-current:hover{color:#1D63D1;text-decoration:none}
.hcm-hdr .hcm-dd-btn:hover,.hcm-hdr .hcm-dd-btn:focus{color:#1D63D1}
.hcm-dd-menu a.is-current{color:#1D63D1;background:#EEF4FB}
.hcm-hdr .hcm-dd-btn{display:flex;align-items:center;gap:4px}
.hcm-dd{position:relative}
.hcm-dd-menu{display:none;position:absolute;top:100%;left:-14px;padding-top:12px;z-index:200}
.hcm-dd-menu::before{content:"";position:absolute;inset:12px 0 0 0;background:#FFFFFF;border:1px solid #D5DCE5;border-radius:12px;box-shadow:0 12px 28px rgba(31,38,48,.12);z-index:-1}
.hcm-dd-menu a{display:block;white-space:nowrap;color:#1F2630;font-weight:600;font-size:15px;padding:10px 16px;margin:0 6px;border-radius:8px}
.hcm-dd-menu a:first-child{margin-top:6px}.hcm-dd-menu a:last-child{margin-bottom:6px}
.hcm-dd-menu a:hover,.hcm-dd-menu a:focus{background:#EEF4FB;color:#1D63D1;text-decoration:none}
.hcm-dd:hover .hcm-dd-menu,.hcm-dd:focus-within .hcm-dd-menu,.hcm-dd.is-open .hcm-dd-menu{display:block}
.hcm-hdr .hcm-icon-btn{width:44px;height:44px;border:1px solid #D5DCE5;border-radius:10px;background:#FFFFFF;color:#1F2630;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hcm-hdr .hcm-icon-btn:hover,.hcm-hdr .hcm-icon-btn:focus{background:#EEF4FB;color:#1F2630}
.hcm-hdr .hcm-menu-btn{display:none}
.hcm-search{border-top:1px solid #D5DCE5;background:#FFFFFF}
.hcm-search[hidden]{display:none}
.hcm-search form{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;gap:10px}
.hcm-search input[type=search]{flex:1 1 auto;min-width:0;height:46px;border:1px solid #B9C4D2;border-radius:10px;padding:0 14px;font:16px Inter,system-ui,sans-serif;background:#FFFFFF;color:#1F2630;box-sizing:border-box}
.hcm-hdr .hcm-search button{height:46px;padding:0 22px;border-radius:10px;background:#D63F1B;color:#FFFFFF;font-weight:700;font-size:15px}
.hcm-hdr .hcm-search button:hover{background:#B8350F;color:#FFFFFF}
@media (max-width:960px){
.hcm-hdr .hcm-menu-btn{display:flex}
.hcm-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 4px;border-top:1px solid #D5DCE5}
.hcm-nav.is-open{display:flex}
.hcm-nav>.hcm-nav-link,.hcm-hdr .hcm-dd-btn{padding:12px 0;font-size:16px;width:100%;justify-content:space-between;text-align:left}
.hcm-dd-menu,.hcm-dd:hover .hcm-dd-menu,.hcm-dd:focus-within .hcm-dd-menu{display:none;position:static;padding:0 0 6px}
.hcm-dd.is-open .hcm-dd-menu{display:block}
.hcm-dd-menu::before{display:none}
.hcm-dd-menu a{margin:0;padding:10px 14px}
.hcm-dd-menu a:first-child,.hcm-dd-menu a:last-child{margin:0}
.hcm-hdr .hcm-search-btn{margin-top:8px}
}

/* ================= v1.1 brand footer ================= */
.site-footer{background:#1F2630;padding:0}
.hcm-ftr{background:#1F2630;color:#C6CFDA}
.hcm-ftr-in{max-width:1200px;margin:0 auto;padding:48px 24px 32px}
.hcm-ftr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px}
.hcm-ftr-brand{display:flex;flex-direction:column;gap:12px}
.hcm-ftr-logo{display:flex;align-items:center;gap:10px}
.hcm-ftr-logo img{width:36px;height:36px;display:block}
.hcm-ftr-name{font-family:'Space Grotesk',Inter,sans-serif;font-weight:700;font-size:20px;color:#FFFFFF}
.hcm-ftr-name span{color:#9EC2FF}
.hcm-ftr-tag{font-size:15px}
.hcm-ftr-col{display:flex;flex-direction:column;gap:8px;font-size:15px}
.hcm-ftr-h{font-weight:700;color:#FFFFFF}
.hcm-ftr a,.hcm-ftr a:visited{color:#C6CFDA;text-decoration:none}
.hcm-ftr a:hover,.hcm-ftr a:focus{color:#C6CFDA;text-decoration:underline}
.hcm-ftr-note{margin:36px 0 0;padding-top:20px;border-top:1px solid #3A4452;font-size:13px}

/* ================= v1.1 homepage (full width, same styles as the design) ================= */
.hcm-front #page,.hcm-front .site.grid-container{max-width:none;width:auto;margin:0;padding:0}
.hcm-front .site-content{display:block;padding:0}
.hcm-home{color:#1F2630;background:#FFFFFF}
.hcm-home h1,.hcm-home h2,.hcm-home h3{font-family:inherit;font-weight:700;letter-spacing:normal;line-height:inherit;color:inherit;text-transform:none;margin:0}
.hcm-home p{margin:1em 0}
.hcm-home a{color:#1D63D1;text-decoration:none}
.hcm-home a:hover,.hcm-home a:focus{color:#174FA8;text-decoration:underline}
.hcm-home img{max-width:100%}
.hcm-home label{font-weight:inherit}
.hcm-home input,.hcm-home select{background-color:#FFFFFF;color:#1F2630;line-height:normal;margin:0;max-width:none;box-shadow:none;vertical-align:baseline}
.hcm-home input:focus,.hcm-home select:focus{background-color:#FFFFFF;color:#1F2630;border-color:#1D63D1;outline:2px solid #1D63D1;outline-offset:1px}
@media (max-width:700px){
.hcm-home h1{font-size:40px !important;letter-spacing:-1px !important}
.hcm-home h2{font-size:28px !important}
.hcm-home section>div[style*="padding: 72px"]{padding:48px 20px 44px !important}
.hcm-home [style*="grid-template-columns: repeat(auto-fit"]{grid-template-columns:1fr !important}
.hcm-home div[style*="background: #1F2630"]{padding:32px 22px !important}
}

/* ================= v1.3.1 empty category page ================= */
.hcm-cat-empty-page #page,.hcm-cat-empty-page .site.grid-container{max-width:none;width:auto;margin:0;padding:0}
.hcm-cat-empty-page .site-content{display:block;padding:0}
.hcm-cat-empty{max-width:1200px;margin:0 auto;padding:56px 24px 72px;box-sizing:content-box;font-family:Inter,system-ui,sans-serif;color:#1F2630}
.hcm-cat-head{max-width:780px}
.hcm-cat-eyebrow{margin:0 0 10px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1D63D1}
.hcm-cat-title{margin:0 0 18px;font-family:'Space Grotesk',Inter,sans-serif;font-size:clamp(34px,5vw,48px);line-height:1.1;letter-spacing:-1px;font-weight:700;color:#1F2630}
.hcm-cat-desc{font-size:18px;line-height:1.7;color:#3D4654}
.hcm-cat-desc p{margin:0 0 16px}
.hcm-cat-desc ul{margin:0 0 16px 1.2em;padding:0}
.hcm-cat-desc li{margin:0 0 6px}
.hcm-cat-desc strong{color:#1F2630}
.hcm-cat-soon{margin-top:36px;background:#EEF4FB;border-radius:20px;padding:32px}
.hcm-cat-soon h2{margin:0 0 8px;font-family:'Space Grotesk',Inter,sans-serif;font-size:26px;line-height:1.25;color:#1F2630}
.hcm-cat-soon p{margin:0 0 18px;font-size:16px;color:#3D4654}
.hcm-cat-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.hcm-cat-chips a{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;background:#FFFFFF;border:1px solid #D5DCE5;color:#1F2630;font-weight:600;font-size:15px;text-decoration:none;transition:color .15s,border-color .15s}
.hcm-cat-chips a:hover,.hcm-cat-chips a:focus{color:#1D63D1;border-color:#1D63D1;text-decoration:none}
.hcm-cat-soon .hcm-cat-back{margin:0}
.hcm-cat-back a{color:#1D63D1;font-weight:700;font-size:15px;text-decoration:none}
.hcm-cat-back a:hover{text-decoration:underline}
@media (max-width:600px){.hcm-cat-empty{padding:36px 20px 56px}.hcm-cat-soon{padding:24px 20px}.hcm-cat-desc{font-size:17px}}
