/*
Theme Name: City Grid Health
Theme URI: https://example.com/
Author: Ehyperlink
Description: Modern city-inspired health editorial theme with image categories, contextual internal linking and premium article layouts.
Version: 1.2.0
Text Domain: city-grid-health
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{
 --cgh-navy:#0b2145; --cgh-navy2:#0e315f; --cgh-blue:#0f70d7; --cgh-cyan:#18b8c9;
 --cgh-green:#1cae67; --cgh-purple:#6d48d7; --cgh-orange:#ff7e21; --cgh-bg:#f7fbff;
 --cgh-paper:#fff; --cgh-line:#dde8f1; --cgh-muted:#67798a; --cgh-red:#cb4256;
 --cgh-shadow:0 16px 38px rgba(11,33,69,.10); --cgh-radius:24px;
}
.cgh-site,.cgh-site *{box-sizing:border-box}
.cgh-site{background:var(--cgh-bg);color:var(--cgh-navy);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
.cgh-site a{text-decoration:none;color:inherit}.cgh-site img{max-width:100%;height:auto;display:block}
.cgh-wrap{width:min(1540px,calc(100% - 44px));margin:auto}

/* utility + header */
.cgh-topbar{background:linear-gradient(90deg,#0b2a55,#112e67 70%,#382a70);color:#fff;font-size:12px}
.cgh-topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:40px}
.cgh-toplinks{display:flex;gap:18px;flex-wrap:wrap}
.cgh-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--cgh-line)}
.admin-bar .cgh-header{top:32px}
.cgh-head{min-height:100px;display:grid;grid-template-columns:390px 1fr 390px;gap:24px;align-items:center}
.cgh-logo{display:flex;align-items:center;gap:15px}
.cgh-logo-mark{width:74px;height:60px;position:relative}
.cgh-logo-mark:before{content:"";position:absolute;left:4px;right:4px;bottom:7px;height:24px;border-radius:50% 50% 8px 8px;background:linear-gradient(90deg,#8ac626,#0d8b69)}
.cgh-logo-mark:after{content:"";position:absolute;left:12px;right:12px;top:4px;height:34px;background:
 linear-gradient(90deg,transparent 0 8%,#173b67 8% 18%,transparent 18% 30%,#173b67 30% 44%,transparent 44% 55%,#173b67 55% 66%,transparent 66% 79%,#173b67 79% 88%,transparent 88%);
 clip-path:polygon(0 100%,0 66%,14% 66%,14% 35%,27% 35%,27% 55%,42% 55%,42% 5%,56% 5%,56% 40%,72% 40%,72% 22%,86% 22%,86% 61%,100% 61%,100% 100%)}
.cgh-logo-text strong{display:block;font-size:27px;line-height:1}.cgh-logo-text strong em{font-style:normal;color:#16b9be}
.cgh-logo-text small{display:block;margin-top:7px;color:var(--cgh-muted);font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.cgh-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.cgh-nav a{display:block;padding:12px 13px;font-size:13px;font-weight:800}.cgh-nav a:hover{color:var(--cgh-blue)}
.cgh-search{display:grid;grid-template-columns:1fr 52px;border:1px solid var(--cgh-line);border-radius:999px;overflow:hidden;background:#fff}
.cgh-search input{border:0;outline:0;padding:0 18px;min-width:0}.cgh-search button{border:0;background:var(--cgh-blue);color:#fff;font-size:18px}

/* hero - deliberately larger than screenshot */
.cgh-hero{position:relative;background:#eef7ff;overflow:hidden}
.cgh-hero-bg{position:absolute;inset:0;opacity:.28}.cgh-hero-bg img{width:100%;height:100%;object-fit:cover}
.cgh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96) 0 43%,rgba(255,255,255,.68) 58%,rgba(255,255,255,.16) 100%)}
.cgh-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:34px;min-height:650px;padding:72px 0}
.cgh-eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.cgh-eyebrow:before{content:"";width:30px;height:4px;background:var(--cgh-purple)}
.cgh-hero h1{font-size:clamp(4rem,6vw,6.6rem);line-height:.92;letter-spacing:-.05em;margin:18px 0}
.cgh-hero p{font-size:18px;line-height:1.55;max-width:700px;color:#24405d}
.cgh-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.cgh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font-size:13px;font-weight:900}
.cgh-btn.primary{background:var(--cgh-blue);color:#fff}.cgh-btn.secondary{background:#fff;border:2px solid var(--cgh-blue);color:var(--cgh-blue)}
.cgh-trustbox{justify-self:end;width:min(430px,100%);background:rgba(255,255,255,.91);border:1px solid rgba(255,255,255,.9);border-radius:26px;padding:24px;box-shadow:var(--cgh-shadow)}
.cgh-trustrow{display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--cgh-line)}.cgh-trustrow:last-child{border-bottom:0}
.cgh-trusticon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:24px;background:#eaf3ff}.cgh-trustrow:nth-child(2) .cgh-trusticon{background:#fff0e6}.cgh-trustrow:nth-child(3) .cgh-trusticon{background:#eafaf8}
.cgh-trustrow strong{display:block;font-size:15px}.cgh-trustrow span{font-size:12px;color:var(--cgh-muted)}

/* category strip */
.cgh-categories{position:relative;z-index:4;margin-top:-28px}
.cgh-cat-shell{background:#fff;border:1px solid var(--cgh-line);border-radius:28px;padding:18px 20px;box-shadow:var(--cgh-shadow)}
.cgh-cat-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:12px}
.cgh-cat{text-align:center}.cgh-cat-img{height:94px;border-radius:20px;overflow:hidden;border:1px solid #edf3f7;background:#f4f8fc}
.cgh-cat-img img{width:100%;height:100%;object-fit:cover}.cgh-cat strong{display:block;margin-top:8px;font-size:10px;line-height:1.15}.cgh-cat:hover{transform:translateY(-4px)}

/* homepage editorial */
.cgh-section{padding:48px 0}
.cgh-home-grid{display:grid;grid-template-columns:1.32fr .84fr .78fr;gap:28px;align-items:start}
.cgh-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.cgh-title:before{content:"";width:28px;height:4px;background:var(--cgh-purple)}.cgh-title h2{font-size:1.6rem;margin:0}
.cgh-feature{display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border:1px solid var(--cgh-line);border-radius:24px;overflow:hidden;box-shadow:var(--cgh-shadow)}
.cgh-feature-img{min-height:430px}.cgh-feature-img img{width:100%;height:100%;object-fit:cover}
.cgh-feature-copy{padding:30px}.cgh-tag{display:inline-block;background:#e8f3ff;color:var(--cgh-blue);border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900}
.cgh-feature h3{font-size:2rem;line-height:1.05;margin:12px 0}.cgh-meta{font-size:11px;color:var(--cgh-muted)}.cgh-feature p{font-size:13px;line-height:1.6;color:#4a5e70}
.cgh-tabs{display:flex;gap:10px;border-bottom:1px solid var(--cgh-line);margin-bottom:8px}.cgh-tabs span{padding:10px 12px;font-size:11px}.cgh-tabs .active{border-bottom:3px solid var(--cgh-blue);font-weight:900}
.cgh-list{background:#fff;border-radius:20px;border:1px solid var(--cgh-line);overflow:hidden}
.cgh-list-item{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:12px;border-bottom:1px solid var(--cgh-line)}.cgh-list-item:last-child{border-bottom:0}
.cgh-list-item img{width:120px;height:82px;object-fit:cover;border-radius:12px}.cgh-list-item small{font-size:9px;color:var(--cgh-green);font-weight:900}.cgh-list-item h4{margin:5px 0;font-size:14px;line-height:1.18}
.cgh-side-card{background:#fff;border:1px solid var(--cgh-line);border-radius:22px;padding:20px;margin-bottom:18px;box-shadow:var(--cgh-shadow)}
.cgh-newsletter{background:linear-gradient(135deg,#effaff,#f8fbff)}.cgh-newsletter form{display:flex;gap:8px}.cgh-newsletter input{flex:1;min-width:0;border:1px solid var(--cgh-line);border-radius:999px;padding:0 14px}.cgh-newsletter button{border:0;background:var(--cgh-blue);color:#fff;border-radius:999px;padding:12px 18px;font-weight:800}
.cgh-pop-list{display:flex;flex-direction:column;gap:8px}.cgh-pop-row{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--cgh-line)}.cgh-pop-row:last-child{border-bottom:0}.cgh-pop-row img{width:72px;height:44px;object-fit:cover;border-radius:8px}.cgh-pop-row span{font-size:12px}

/* trust row */
.cgh-trustbar{padding:0 0 42px}.cgh-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cgh-trust-card{border-radius:22px;padding:22px;background:#fff;border:1px solid var(--cgh-line);display:flex;gap:14px;align-items:center}
.cgh-trust-card:nth-child(1){background:#eef7ff}.cgh-trust-card:nth-child(2){background:#f2efff}.cgh-trust-card:nth-child(3){background:#fff6eb}.cgh-trust-card:nth-child(4){background:#ecfbf8}
.cgh-trust-card span{width:52px;height:52px;border-radius:16px;background:#fff;display:grid;place-items:center;font-size:26px}.cgh-trust-card strong{font-size:13px}

/* archive */
.cgh-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cgh-post-card{background:#fff;border:1px solid var(--cgh-line);border-radius:20px;overflow:hidden}.cgh-post-card img{width:100%;height:230px;object-fit:cover}.cgh-post-card .copy{padding:18px}.cgh-post-card h3{font-size:1.15rem;line-height:1.15;margin:8px 0}.cgh-post-card p{font-size:12px;line-height:1.5;color:var(--cgh-muted)}

/* single post */
.cgh-post-hero{padding:48px 0 30px;background:linear-gradient(90deg,#eef6ff,#f8fbff);border-bottom:1px solid var(--cgh-line)}
.cgh-post-hero h1{max-width:1050px;font-size:clamp(2.6rem,4.6vw,4.7rem);line-height:.98;letter-spacing:-.035em;margin:12px 0}.cgh-post-meta{font-size:11px;color:var(--cgh-muted)}
.cgh-post-wrap{width:min(1060px,calc(100% - 32px));margin:auto;padding:40px 0 64px}
.cgh-article{background:#fff;border:1px solid var(--cgh-line);border-radius:24px;padding:42px;box-shadow:var(--cgh-shadow);overflow:hidden}
.cgh-featured img{width:100%;max-height:540px;object-fit:cover;border-radius:20px;margin-bottom:30px}
.cgh-entry{font:16px/1.8 Georgia,"Times New Roman",serif;color:#34495b}.cgh-entry>*{max-width:100%;box-sizing:border-box}
.cgh-entry img{border-radius:16px;margin:22px auto}.cgh-entry a{color:#1477b8;text-decoration:underline;text-underline-offset:3px}.cgh-entry a.cgh-external,.cgh-entry a[target="_blank"]{color:var(--cgh-red)!important}
.cgh-entry p,.cgh-entry li,.cgh-entry a,.cgh-entry span,.cgh-entry strong{overflow-wrap:anywhere;white-space:normal}
.cgh-context{margin:30px 0;padding:18px;border-radius:18px;background:#eef7ff;border-left:5px solid var(--cgh-purple);box-shadow:0 8px 20px rgba(11,33,69,.06)}
.cgh-context small{display:block;color:var(--cgh-purple);font-size:9px;font-weight:900;text-transform:uppercase;margin-bottom:7px}.cgh-context a{display:flex;justify-content:space-between;gap:14px;color:var(--cgh-navy)!important;text-decoration:none!important;font-weight:800}
.cgh-disclaimer{margin-top:28px;padding:18px;border:1px solid var(--cgh-line);border-radius:16px;background:#f8fbfd;color:var(--cgh-muted);font-size:11px;line-height:1.55}
.cgh-related{margin-top:38px}.cgh-related h2{margin-bottom:16px}.cgh-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cgh-related-card{background:#fff;border:1px solid var(--cgh-line);border-radius:18px;overflow:hidden}.cgh-related-card img{width:100%;height:180px;object-fit:cover}.cgh-related-card div{padding:13px}.cgh-related-card h3{font-size:1rem;line-height:1.15;margin:0}

/* modern footer */
.cgh-footer{position:relative;color:#e9f4ff;background:
 radial-gradient(circle at 85% 0%,rgba(109,72,215,.35),transparent 24%),
 linear-gradient(180deg,#102b5e,#0a2147 55%,#081b37)}
.cgh-footer-topshape{height:38px;background:
 radial-gradient(110px 32px at 8% 100%,#f7fbff 99%,transparent 100%),
 radial-gradient(160px 34px at 30% 100%,#f7fbff 99%,transparent 100%),
 radial-gradient(170px 34px at 55% 100%,#f7fbff 99%,transparent 100%),
 radial-gradient(150px 33px at 80% 100%,#f7fbff 99%,transparent 100%),
 radial-gradient(120px 32px at 96% 100%,#f7fbff 99%,transparent 100%)}
.cgh-footer-main{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:36px;padding:38px 0 30px}
.cgh-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}.cgh-footer-brand .cgh-logo-mark{width:56px;height:48px}.cgh-footer-brand strong{font-size:1.45rem;color:#fff}
.cgh-footer p{font-size:11px;line-height:1.65;color:#c7d8e9}.cgh-footer h3{font-size:1rem;margin:0 0 12px;color:#fff}.cgh-footer-col{display:flex;flex-direction:column;gap:8px}.cgh-footer-col a{font-size:11px;color:#d9e7f5}
.cgh-footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.14);padding:16px 0 24px;font-size:10px;color:#c1d3e6}

@media(max-width:1300px){
 .cgh-cat-grid{grid-template-columns:repeat(8,1fr)}
 .cgh-home-grid{grid-template-columns:1.25fr .85fr}.cgh-home-grid>.cgh-sidebar{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}
}
@media(max-width:980px){
 .admin-bar .cgh-header{top:46px}.cgh-header{position:relative}.cgh-head{grid-template-columns:1fr;gap:12px;padding:14px 0}.cgh-nav ul{justify-content:flex-start}
 .cgh-hero-grid{grid-template-columns:1fr;min-height:auto;padding:52px 0}.cgh-trustbox{justify-self:start}.cgh-cat-grid{grid-template-columns:repeat(5,1fr)}
 .cgh-home-grid{grid-template-columns:1fr}.cgh-home-grid>.cgh-sidebar{grid-column:auto;display:block}.cgh-feature{grid-template-columns:1fr}.cgh-trust-grid{grid-template-columns:repeat(2,1fr)}.cgh-post-grid{grid-template-columns:repeat(2,1fr)}.cgh-footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .cgh-topbar-inner{flex-direction:column;align-items:flex-start;padding:10px 0}.cgh-logo-text strong{font-size:21px}.cgh-hero h1{font-size:3.2rem}.cgh-cat-grid{grid-template-columns:repeat(3,1fr)}.cgh-trust-grid,.cgh-post-grid,.cgh-related-grid,.cgh-footer-main{grid-template-columns:1fr}.cgh-article{padding:22px 16px}
}


/* =========================================================
   v1.1 Layout Stability + Category Redesign
   ========================================================= */

/* safer global containment */
.cgh-site{min-width:0}
.cgh-site *{min-width:0}
.cgh-wrap{width:min(1380px,calc(100% - 36px))}

/* HEADER: keep all five menu items on one line on desktop */
.cgh-head{
  min-height:96px;
  grid-template-columns:minmax(265px,320px) minmax(430px,1fr) minmax(230px,310px);
  gap:18px;
}
.cgh-logo-mark{flex:0 0 64px;width:64px}
.cgh-logo-text strong{font-size:24px;white-space:nowrap}
.cgh-nav{min-width:0}
.cgh-nav ul{
  flex-wrap:nowrap;
  justify-content:center;
  gap:0;
}
.cgh-nav li{flex:0 0 auto}
.cgh-nav a{
  white-space:nowrap;
  padding:12px 11px;
  font-size:12px;
}
.cgh-search{min-width:0}

/* HERO spacing */
.cgh-hero-grid{
  min-height:600px;
  padding:62px 0 74px;
}
.cgh-hero h1{
  max-width:720px;
  font-size:clamp(3.6rem,5.6vw,5.8rem);
}
.cgh-trustbox{max-width:390px}

/* CATEGORY AREA: real image cards, no compressed 15-column rail */
.cgh-categories{
  margin-top:-38px;
  padding-bottom:8px;
}
.cgh-cat-shell{
  padding:28px;
  border-radius:28px;
}
.cgh-cat-heading{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-end;
  margin-bottom:20px;
  padding:0 2px;
}
.cgh-cat-heading span{
  display:block;
  color:var(--cgh-blue);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.cgh-cat-heading h2{
  margin:5px 0 0;
  font-size:1.65rem;
  line-height:1;
}
.cgh-cat-heading p{
  margin:0;
  max-width:420px;
  text-align:right;
  color:var(--cgh-muted);
  font-size:11px;
  line-height:1.5;
}
.cgh-cat-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
.cgh-cat{
  position:relative;
  min-height:170px;
  border-radius:20px;
  overflow:hidden;
  text-align:left;
  border:1px solid var(--cgh-line);
  background:#eef5fb;
  isolation:isolate;
  box-shadow:0 8px 22px rgba(11,33,69,.06);
  transition:transform .2s ease,box-shadow .2s ease;
}
.cgh-cat:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(11,33,69,.12);
}
.cgh-cat-img{
  display:block;
  position:absolute;
  inset:0;
  height:auto;
  border:0;
  border-radius:0;
}
.cgh-cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.01);
}
.cgh-cat-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(8,25,52,.03) 15%,rgba(8,25,52,.76) 100%);
  z-index:1;
}
.cgh-cat-copy{
  position:absolute;
  left:16px;
  right:16px;
  bottom:15px;
  z-index:2;
  color:#fff;
}
.cgh-cat-copy small{
  display:inline-block;
  margin-bottom:6px;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(4px);
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
.cgh-cat-copy strong{
  display:block;
  margin:0;
  color:#fff;
  font-size:14px;
  line-height:1.12;
  text-shadow:0 1px 8px rgba(0,0,0,.28);
}
.cgh-cat-copy b{
  display:block;
  margin-top:7px;
  font-size:9px;
  font-weight:800;
  color:#d9ecff;
}

/* HOME CONTENT: avoid sidebar/card stretching and awkward whitespace */
.cgh-section{padding:42px 0 46px}
.cgh-home-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);
  gap:24px;
  align-items:start;
}
.cgh-home-grid > div:first-child{grid-column:1}
.cgh-home-grid > div:nth-child(2){grid-column:2}
.cgh-sidebar{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
.cgh-side-card{
  height:auto;
  min-height:0;
  align-self:start;
  margin-bottom:0;
}
.cgh-newsletter form{max-width:640px}
.cgh-feature{grid-template-columns:minmax(280px,1.05fr) minmax(250px,.95fr)}
.cgh-feature-img{min-height:390px}
.cgh-list-item{grid-template-columns:105px 1fr}
.cgh-list-item img{width:105px}

/* TRUST ROW */
.cgh-trust-card{min-height:92px}

/* FOOTER: remove odd oversized scallops; cleaner skyline band */
.cgh-footer-topshape{
  height:28px;
  background:
    linear-gradient(165deg,transparent 0 42%,#f7fbff 43% 58%,transparent 59%) 0 0/180px 28px repeat-x;
  opacity:.98;
}
.cgh-footer-main{
  grid-template-columns:1.45fr 1fr 1.15fr 1.15fr;
  gap:30px;
  padding-top:32px;
}
.cgh-footer-col a{line-height:1.35}

/* Breakpoints */
@media(max-width:1180px){
  .cgh-head{
    grid-template-columns:280px 1fr;
    grid-template-areas:
      "logo nav"
      "search search";
    padding:12px 0 14px;
  }
  .cgh-logo{grid-area:logo}
  .cgh-nav{grid-area:nav}
  .cgh-search{grid-area:search;max-width:720px;justify-self:end;width:100%}
  .cgh-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cgh-home-grid{grid-template-columns:1fr}
  .cgh-home-grid > div:first-child,
  .cgh-home-grid > div:nth-child(2){grid-column:auto}
  .cgh-sidebar{grid-column:auto}
}
@media(max-width:820px){
  .cgh-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .cgh-logo{justify-content:flex-start}
  .cgh-nav ul{
    overflow-x:auto;
    justify-content:flex-start;
    padding-bottom:3px;
  }
  .cgh-search{max-width:none}
  .cgh-hero-grid{padding:44px 0 58px}
  .cgh-cat-heading{align-items:flex-start;flex-direction:column}
  .cgh-cat-heading p{text-align:left}
  .cgh-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cgh-feature{grid-template-columns:1fr}
  .cgh-sidebar{grid-template-columns:1fr}
  .cgh-footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .cgh-wrap{width:min(100% - 24px,1380px)}
  .cgh-logo-text strong{font-size:20px}
  .cgh-cat-shell{padding:18px}
  .cgh-cat-grid{grid-template-columns:1fr}
  .cgh-cat{min-height:185px}
  .cgh-footer-main{grid-template-columns:1fr}
}


/* =========================================================
   City Grid Health v1.2 — HARD LAYOUT LOCK
   Theme name unchanged. This block intentionally sits last.
   ========================================================= */
body .cgh-site .cgh-categories .cgh-cat-shell{
  display:block!important;
  width:100%!important;
  overflow:visible!important;
}
body .cgh-site .cgh-categories .cgh-cat-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  align-items:stretch!important;
}
body .cgh-site .cgh-categories .cgh-cat{
  display:block!important;
  position:relative!important;
  min-width:0!important;
  width:100%!important;
  min-height:190px!important;
  height:190px!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#eaf2f8!important;
  text-align:left!important;
}
body .cgh-site .cgh-categories .cgh-cat-img{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
body .cgh-site .cgh-categories .cgh-cat-img img{
  display:block!important;
  position:static!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  min-width:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
}
body .cgh-site .cgh-categories .cgh-cat-overlay{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  background:linear-gradient(180deg,rgba(5,25,52,.02) 25%,rgba(5,25,52,.82) 100%)!important;
}
body .cgh-site .cgh-categories .cgh-cat-copy{
  display:block!important;
  position:absolute!important;
  left:16px!important;
  right:16px!important;
  bottom:15px!important;
  z-index:3!important;
  color:#fff!important;
}
body .cgh-site .cgh-categories .cgh-cat-copy strong{
  color:#fff!important;
  font-size:15px!important;
  margin:0!important;
  line-height:1.15!important;
}
body .cgh-site .cgh-categories .cgh-cat-copy b{
  color:#dbeeff!important;
  font-size:9px!important;
}
body .cgh-site .cgh-categories .cgh-cat > strong{
  display:none!important;
}

/* Desktop header lock */
@media(min-width:1181px){
  body .cgh-site .cgh-head{
    display:grid!important;
    grid-template-columns:minmax(270px,320px) minmax(480px,1fr) minmax(250px,320px)!important;
    align-items:center!important;
  }
  body .cgh-site .cgh-nav ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  body .cgh-site .cgh-nav li,
  body .cgh-site .cgh-nav a{white-space:nowrap!important}
}

/* Tablet */
@media(max-width:1180px) and (min-width:821px){
  body .cgh-site .cgh-categories .cgh-cat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body .cgh-site .cgh-categories .cgh-cat{height:185px!important}
}

/* Mobile */
@media(max-width:820px) and (min-width:521px){
  body .cgh-site .cgh-categories .cgh-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:520px){
  body .cgh-site .cgh-categories .cgh-cat-grid{
    grid-template-columns:1fr!important;
  }
  body .cgh-site .cgh-categories .cgh-cat{
    height:205px!important;
    min-height:205px!important;
  }
}

/* Homepage cards must not stretch vertically */
body .cgh-site .cgh-sidebar{align-items:start!important}
body .cgh-site .cgh-side-card{height:auto!important;min-height:0!important}

/* Prevent odd old footer shape from cached/global rules */
body .cgh-site .cgh-footer-topshape{
  height:22px!important;
  background:linear-gradient(176deg,#f7fbff 0 48%,transparent 49%)!important;
}
