/* RevoliaHub shared category layout — Health reference */
.category-page{max-width:1180px;margin:0 auto;padding:36px 24px 80px;position:relative;isolation:isolate}
.category-page::before{content:"";position:absolute;z-index:-1;top:0;left:50%;transform:translateX(-50%);width:100vw;height:410px;background:#142747;pointer-events:none}
.category-page .breadcrumbs{color:#d9e1ec;font-size:14px;margin:0 0 10px}
.category-page .breadcrumbs a{color:inherit;text-decoration:none}
.category-page .breadcrumbs span{margin:0 12px}
.category-eyebrow{color:#d7bd8b;font-size:13px;font-weight:800;letter-spacing:3px;text-transform:uppercase}
.category-title{font-size:clamp(38px,5vw,70px);line-height:1.12;letter-spacing:-2px;margin:12px 0;color:#fff}
.category-description{font-size:clamp(17px,2vw,22px);color:#d9e1ec;line-height:1.7;margin:0 0 20px}
.category-page .search-box{display:flex;align-items:center;background:#fff;border:1px solid #dbe3e7;border-radius:16px;padding:12px 16px;max-width:900px;box-shadow:0 8px 28px rgba(30,50,60,.04);gap:12px}
.category-page .search-icon{font-size:27px;color:#319b82}
.category-page .search-box input{border:0;outline:0;background:transparent;flex:1;min-width:0;font:inherit;font-size:17px;padding:12px 0;color:#142747}
.category-page .search-box button{background:#dff4eb;border:0;border-radius:10px;color:#142747;font:inherit;font-weight:700;padding:13px 20px;cursor:pointer}
.category-page .search-box button:hover{filter:brightness(.96)}
.category-page .ad-space{margin:50px auto 70px;max-width:1000px;min-height:145px;border:1px dashed #d3dce3;background:#f0f2f4;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#929ba8;text-align:center;gap:8px}
.category-page .ad-space small{letter-spacing:3px}
.category-page .tools-heading{color:var(--navy,#202938);font-size:30px;margin:0 0 10px}
.category-page .tools-subtitle{color:var(--muted,#697587);margin:0 0 28px}
.category-page .tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.category-page .tool-card{display:block;background:#fff;border:1px solid var(--line,#dbe3e7);border-radius:17px;padding:25px;text-decoration:none;color:var(--navy,#202938);transition:transform .2s,box-shadow .2s}
.category-page .tool-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(20,50,50,.09)}
.category-page .tool-icon{width:48px;height:48px;border-radius:13px;background:var(--mint,#dff4eb);display:grid;place-items:center;font-size:24px;margin-bottom:19px}
.category-page .tool-card h3{font-size:19px;margin:0 0 10px}
.category-page .tool-card p{color:var(--muted,#697587);font-size:14px;line-height:1.6;margin:0 0 18px}
.category-page .tool-link{font-size:14px;font-weight:800;color:#26856e}
.category-page .tool-card.planned{opacity:.78}
.category-page .tool-card.planned .tool-link{color:#778192}
.category-page .no-results{text-align:center;color:#697587;padding:35px}
.category-page .health-note{margin-top:45px;color:var(--muted,#697587);font-size:14px;line-height:1.7}
.site-header{background:#142747!important;border-bottom:1px solid #263b5c}
.site-header .brand,.site-header nav,.site-header nav a{color:#fff}
.site-header .brand>span:last-child{color:#b79a65}
.site-header .brand-mark{background:#fff;color:#142747}
.site-header nav a:hover{color:#b79a65}
@media(max-width:850px){.category-page .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 .category-page{padding:0 18px 60px}
 .category-page::before{display:none}
 .category-page .breadcrumbs,.category-eyebrow,.category-title,.category-description{background:#142747;margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
 .category-page .breadcrumbs{margin-bottom:0;padding-top:8px;padding-bottom:8px}
 .category-eyebrow{padding-top:0}
 .category-title{font-size:32px;line-height:1.2;letter-spacing:-1px;margin-top:0;margin-bottom:0;padding-top:12px;padding-bottom:12px}
 .category-description{font-size:16px;margin-top:0;margin-bottom:0;padding-top:10px;padding-bottom:12px}
 .category-page .search-box{flex-wrap:wrap;margin-top:0}
 .category-page .search-box button{width:100%}
 .category-page .ad-space{margin:22px auto 30px}
 .category-page .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .category-page .tools-grid .tool-card{padding:14px;border-radius:16px}
 .category-page .tools-grid .tool-icon{margin-bottom:12px}
 .category-page .tools-grid .tool-card h3{font-size:15px;line-height:1.4}
 .category-page .tools-grid .tool-card p{font-size:13px;line-height:1.5}
 .category-page .tools-grid .tool-link{font-size:12px}
}

/* Unified category hero: same geometry for Finance, Health, Math, Conversions */
@media (min-width:561px) {
  .category-page { padding-top:68px; }
.category-page::before { top:30px; height:336px; }
.category-page .breadcrumbs { display:none; }
  .category-page .category-eyebrow { margin:0 0 12px; }
  .category-page .category-title { margin:0 0 20px; }
  .category-page .category-description {
    height:62px; min-height:0; margin:0 0 14px;
    overflow:visible;
  }
  .category-page .search-box { margin:0; }
}
/* Prevent horizontal overflow from full-bleed hero */
body { overflow-x:clip; }
/* Unified category alignment */
.category-page .category-eyebrow,
.category-page .category-title,
.category-page .category-description {
  text-align: center;
}

.category-page .search-box {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
