/* Greful case system 1.3.5 — isolated from site's other pages. */
.gc-wrap,.gc-wrap *,.gc-lightbox,.gc-lightbox *{box-sizing:border-box}
.gc-wrap{width:min(calc(100% - 44px),1120px);max-width:1120px;margin:0 auto;padding:42px 0 135px;font-family:inherit;font-size:15px;line-height:1.85;color:#303b39;min-width:0}
.gc-wrap :where(p,h1,h2,h3,h4,figure){max-width:100%;overflow-wrap:anywhere}
.gc-wrap img{max-width:100%;height:auto}
.gc-wrap a{color:inherit}
.gc-eyebrow,.gc-section-kicker{font-size:11px!important;letter-spacing:.19em!important;color:#6b8a81!important;font-weight:600!important;line-height:1.5!important;margin:0 0 14px!important}
.gc-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:baseline;font-size:11px!important;line-height:1.65!important;color:#8b928d;margin:0 0 42px!important}
.gc-breadcrumb a{color:#687e74!important;text-decoration:none!important}
.gc-single-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:max-content!important;align-content:start!important;row-gap:0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;clear:both!important;margin:0 0 28px!important;padding:0 0 19px!important;border-bottom:1px solid #dcded8;position:relative!important;float:none!important;box-sizing:border-box!important}
.gc-single-head::after{position:absolute;content:"";width:75px;height:3px;bottom:-2px;left:0;background:#9bb7a9}
html body main.gc-wrap.gc-single{display:block!important;position:relative!important;clear:both!important;width:min(calc(100% - 44px),1040px)!important;max-width:1040px!important;min-width:0!important;margin:0 auto!important;padding:42px 0 145px!important;overflow:visible!important}
html body main.gc-wrap.gc-single :where(section,header,nav,figure,div,article){min-width:0;max-width:100%}
html body main.gc-wrap.gc-single :where(h1,h2,h3,p){position:static!important;float:none!important;clear:none!important;transform:none!important;text-indent:0!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important;height:auto!important;min-height:0!important}
html body main.gc-wrap.gc-single .gc-single-head h1{display:block!important;font-size:clamp(27px,2.9vw,37px)!important;line-height:1.32!important;letter-spacing:.015em!important;font-family:inherit!important;font-weight:600!important;color:#293a34!important;text-align:left!important;margin:0 0 14px!important;padding:0!important;white-space:normal!important;position:static!important}
.gc-head-meta{display:flex;gap:11px;flex-wrap:wrap;font-size:12px;line-height:1.7;color:#87938e}
.gc-case-top{display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-areas:'main overview';grid-template-rows:auto!important;grid-auto-rows:min-content!important;gap:0 34px;align-items:start;align-content:start!important;height:auto!important;min-height:0!important;margin:0!important}
.gc-case-top.gc-no-extras{grid-template-areas:'main overview'}
.gc-case-top.gc-no-images{grid-template-areas:'overview';grid-template-columns:1fr}
.gc-gallery-main{grid-area:main;width:100%;min-width:0;overflow:hidden;border-radius:8px;background:transparent!important}
.gc-gallery-main a,.gc-gallery-extra a{display:block;width:100%;text-decoration:none!important;cursor:zoom-in;min-width:0}
.gc-gallery-main img{display:block!important;width:100%!important;height:auto!important;max-height:640px;object-fit:contain!important;margin:0 auto!important;float:none!important;border-radius:8px}
.gc-overview{grid-area:overview;padding:3px 0 0!important;min-width:0}
.gc-overview .gc-meta{margin:0 0 14px}
html body main.gc-wrap.gc-single .gc-overview h2{font-size:21px!important;line-height:1.5!important;font-weight:600!important;margin:12px 0 20px!important;padding:0!important;border:0!important}
html body main.gc-wrap.gc-single .gc-overview-copy,html body main.gc-wrap.gc-single .gc-overview-copy p{font-size:15px!important;line-height:1.9!important;letter-spacing:.015em!important;white-space:normal!important;margin:0 0 16px!important}
html body main.gc-wrap.gc-single .gc-overview-copy p:last-child{margin-bottom:0!important}
.gc-gallery-extra{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;width:100%;height:auto!important;min-height:0!important;align-content:start!important;margin:24px 0 0!important;padding:0!important;background:transparent!important}
.gc-gallery-extra a{height:auto!important;aspect-ratio:auto!important;background:transparent!important;overflow:hidden;border-radius:7px}
.gc-gallery-extra img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0!important;float:none!important;aspect-ratio:auto!important;border-radius:7px}
.gc-article{font-size:15px;line-height:1.95;max-width:900px;margin:40px 0 45px!important}
html body main.gc-wrap.gc-single .gc-article p{font-size:15px!important;line-height:1.95!important;margin:0 0 19px!important}
html body main.gc-wrap.gc-single .gc-article h2{font-size:22px!important;line-height:1.5!important;margin:34px 0 18px!important;padding:0 0 10px!important;border-bottom:1px solid #e8e9e5!important}
html body main.gc-wrap.gc-single .gc-article h3{font-size:18px!important;line-height:1.55!important;margin:26px 0 12px!important}
.gc-case-details{margin:52px 0 32px!important}
html body main.gc-wrap.gc-single .gc-section-title{font-size:22px!important;line-height:1.5!important;margin:0 0 22px!important;padding:0 0 12px!important;border-bottom:1px solid #d9dfda!important;font-weight:600!important}
.gc-info-table{display:table!important;width:100%!important;max-width:100%!important;border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed!important;margin:0!important;background:#fff!important}
.gc-info-table th,.gc-info-table td{border:1px solid #bac5be!important;text-align:left!important;vertical-align:top!important;padding:17px 18px!important;font-size:14px!important;line-height:1.85!important;letter-spacing:.008em!important;overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important}
.gc-info-table th{width:27%;font-weight:650!important;color:#38564b!important;background:#f5f6f2!important}
.gc-info-table td{color:#303b39!important;background:#fff!important}
.gc-taxonomies{margin:34px 0 28px}
html body main.gc-wrap.gc-single .gc-taxonomies h2{font-size:14px!important;line-height:1.6!important;margin:0 0 12px!important;font-weight:600!important}
.gc-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gc-meta a,.gc-meta span{display:inline-block;background:#edf2ed;color:#3e6858!important;font-size:12px!important;line-height:1.5!important;padding:6px 10px;border-radius:6px;text-decoration:none!important}
.gc-menu-link{margin:30px 0!important}
.gc-menu-link a,.gc-back a{display:inline-flex;align-items:center;gap:18px;text-decoration:none!important;padding:13px 23px;border-radius:6px;font-size:14px!important;font-weight:600;background:#78978c;color:#fff!important}
.gc-disclaimer{font-size:12px!important;line-height:1.75!important;color:#74837b;margin:31px 0!important;background:#f5f7f4;padding:16px 18px;border-radius:5px}
.gc-related{margin-top:84px!important}
.gc-related-en{font-size:clamp(54px,8vw,86px)!important;line-height:1.05!important;font-family:Georgia,serif!important;color:#b4b8af!important;letter-spacing:.02em!important;margin:0 0 4px!important}
html body main.gc-wrap.gc-single .gc-related>h2{font-size:22px!important;font-weight:600!important;line-height:1.5!important;margin:0 0 28px!important}
.gc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;width:100%}
.gc-card{min-width:0;background:transparent;border:0;border-radius:5px;overflow:hidden}
.gc-card-link{display:block;height:auto;text-decoration:none!important;color:inherit!important}
.gc-thumb{aspect-ratio:4/5;overflow:hidden;border-radius:7px;background:#e8ece8;display:flex;justify-content:center;align-items:center;color:#7b9286}
.gc-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.gc-card-body{padding:14px 1px 11px}
.gc-card .gc-meta{margin:0 0 9px}
.gc-card .gc-meta span{font-size:10px!important;padding:3px 7px}
.gc-card h2{font-size:17px!important;line-height:1.48!important;margin:0 0 11px!important;font-weight:600!important}
.gc-card p{font-size:12px!important;line-height:1.7!important;color:#68736d;margin:0 0 10px!important}
.gc-more{display:block;font-size:12px;font-weight:600;color:#54756a;border-bottom:1px solid #c8d2cd;padding-bottom:9px}
.gc-card-details{font-size:12px;padding:0 1px;margin:0 0 8px!important}
.gc-card-details summary{cursor:pointer;list-style:none;padding:8px 0 11px;color:#546961;font-size:12px;line-height:1.5;display:flex;gap:8px;align-items:center}
.gc-card-details summary::-webkit-details-marker{display:none}
.gc-card-details summary::after{content:'+';display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:17px;height:17px;background:#bac8c0;color:#fff;font-size:16px;line-height:1;flex-shrink:0}
.gc-card-details[open] summary::after{content:'−'}
.gc-card-details dl{margin:0 0 14px;padding:8px 10px;background:#f7f8f5;border-radius:5px}
.gc-card-details dl div{display:grid;grid-template-columns:70px 1fr;gap:8px;padding:5px 0;border-bottom:1px solid #e2e6e0}
.gc-card-details dl div:last-child{border-bottom:0}
.gc-card-details dt,.gc-card-details dd{margin:0;line-height:1.65;overflow-wrap:anywhere}
.gc-card-details dt{font-weight:600;color:#475d53}
.gc-back{margin:42px 0 0!important}
.gc-pages{text-align:center;margin:36px auto 0}
.gc-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px}
.gc-filter a{font-size:13px;color:#36534e;text-decoration:none!important;border:1px solid #d6e1de;border-radius:30px;padding:7px 16px}
.gc-filter a.active,.gc-filter a:hover{background:#245b55;color:#fff!important}
.gc-hero{text-align:center;padding:48px 22px;background:#f4f7f5;border-radius:10px;margin-bottom:30px}
.gc-hero h1{font-size:clamp(28px,3.8vw,40px)!important;line-height:1.4!important;margin:0 0 15px!important}
.gc-hero>p:last-child{max-width:660px;margin:0 auto}
.gc-empty{text-align:center;padding:42px 10px}
.gc-lightbox{border:0;border-radius:8px;padding:36px 14px 14px;background:#1d2625;max-width:94vw;max-height:92vh;position:fixed;margin:auto;box-shadow:0 22px 70px rgba(0,0,0,.35)}
.gc-lightbox::backdrop{background:rgba(0,0,0,.76)}
.gc-lightbox img{display:block;max-width:88vw;max-height:80vh;width:auto;height:auto;object-fit:contain;margin:auto}
.gc-lightbox-close{position:absolute;right:8px;top:4px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer;line-height:1.2;padding:0 7px}
@media(max-width:850px){
 .gc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .gc-case-top{gap:24px}
 .gc-gallery-extra{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px), (max-device-width:850px){
 html body main.gc-wrap.gc-single{width:calc(100% - 32px)!important;max-width:100%!important;padding:32px 0 150px!important;margin:0 auto!important}
 .gc-breadcrumb{font-size:10px!important;line-height:1.6!important;margin:0 0 24px!important}
 .gc-single-head{display:grid!important;height:auto!important;min-height:0!important;margin:0 0 26px!important;padding:0 0 15px!important}
 html body main.gc-wrap.gc-single .gc-single-head h1{font-size:clamp(23px,6.05vw,28px)!important;line-height:1.20!important;letter-spacing:0!important;margin:0 0 14px!important;padding:0!important}
 .gc-head-meta{font-size:11px}
 html body main.gc-wrap.gc-single .gc-case-top{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'main' 'overview'!important;grid-template-rows:auto auto!important;gap:22px 0!important;margin:0!important;align-items:start!important}
 html body main.gc-wrap.gc-single .gc-case-top.gc-no-extras{grid-template-areas:'main' 'overview'!important}
 html body main.gc-wrap.gc-single .gc-case-top.gc-no-images{grid-template-areas:'overview'!important}
 .gc-gallery-main{margin:0!important;padding:0!important;background:transparent!important}
 .gc-gallery-main img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
 .gc-gallery-extra{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:26px 0 0!important;padding:0!important;width:100%!important;align-items:start!important}
 .gc-gallery-extra a:only-child{grid-column:1 / -1}
 .gc-gallery-extra a,.gc-gallery-extra img{height:auto!important;aspect-ratio:auto!important;max-height:none!important;background:transparent!important}
 .gc-overview{padding:8px 0 0!important;margin:0!important}
 html body main.gc-wrap.gc-single .gc-overview h2{font-size:20px!important;line-height:1.45!important;margin:12px 0 18px!important}
 html body main.gc-wrap.gc-single .gc-overview-copy,html body main.gc-wrap.gc-single .gc-overview-copy p{font-size:15px!important;line-height:1.85!important;margin:0 0 14px!important}
 .gc-article{margin:30px 0 36px!important}
 html body main.gc-wrap.gc-single .gc-article p{font-size:15px!important;line-height:1.85!important}
 .gc-case-details{margin:42px 0 30px!important}
 html body main.gc-wrap.gc-single .gc-section-title{font-size:20px!important;margin:0 0 16px!important}
 .gc-info-table th,.gc-info-table td{font-size:13px!important;line-height:1.75!important;padding:14px 11px!important}
 .gc-info-table th{width:35%}
 .gc-related{margin-top:70px!important}
 .gc-related-en{font-size:65px!important}
 html body main.gc-wrap.gc-single .gc-related>h2{font-size:20px!important;margin:0 0 24px!important}
 .gc-related .gc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .gc-related .gc-card h2{font-size:14px!important;line-height:1.48!important}
 .gc-related .gc-card-body{padding:10px 0}
 .gc-related .gc-card p{display:none}
 .gc-related .gc-card-details dl div{grid-template-columns:1fr;gap:0}
 .gc-meta a,.gc-meta span{font-size:11px!important}
 .gc-hero{padding:30px 14px}
 .gc-hero h1{font-size:28px!important}
 .gc-grid{grid-template-columns:1fr}
}

/* v1.3.2: stable title height and spacing, scoped to case pages only. */
html body main.gc-wrap.gc-single > .gc-single-head{
 display:grid!important;grid-auto-flow:row!important;grid-auto-rows:max-content!important;
 align-items:start!important;justify-items:stretch!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 position:relative!important;overflow:visible!important;float:none!important;
}
html body main.gc-wrap.gc-single > .gc-single-head > *{
 display:block!important;position:static!important;inset:auto!important;float:none!important;
 width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
 transform:none!important;clear:both!important;
}
html body main.gc-wrap.gc-single > .gc-case-top{position:relative!important;clear:both!important}
@media screen and (max-width:850px){
 html body main.gc-wrap.gc-single > .gc-single-head{margin-bottom:30px!important}
 html body main.gc-wrap.gc-single > .gc-case-top{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"main" "overview"!important;row-gap:26px!important;
 }
 html body main.gc-wrap.gc-single > .gc-case-top.gc-no-extras{grid-template-areas:"main" "overview"!important}
 html body main.gc-wrap.gc-single > .gc-case-top.gc-no-images{grid-template-areas:"overview"!important}
 html body main.gc-wrap.gc-single > .gc-case-top > .gc-overview{grid-area:overview!important;padding-top:0!important}
 html body main.gc-wrap.gc-single > .gc-gallery-extra{margin:26px 0 0!important}
}


/* v1.3.4 — PC-only no-grid layout. WordPress theme-independent spacing.
   Intentional: no change to mobile (<851px) or archive styling. */
@media screen and (min-width:851px) {
  html body main.gc-wrap.gc-single > .gc-case-top {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
    justify-content:flex-start!important;
    gap:34px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    overflow:visible!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-top::before,
  html body main.gc-wrap.gc-single > .gc-case-top::after,
  html body main.gc-wrap.gc-single > .gc-gallery-extra::before,
  html body main.gc-wrap.gc-single > .gc-gallery-extra::after {
    display:none!important;
    content:none!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-top > .gc-gallery-main {
    display:block!important;
    flex:0 0 calc(46% - 17px)!important;
    width:calc(46% - 17px)!important;
    max-width:calc(46% - 17px)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    float:none!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-top > .gc-overview {
    display:block!important;
    flex:1 1 0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:3px 0 0!important;
    position:static!important;
    float:none!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-top.gc-no-images > .gc-overview {
    flex:1 1 100%!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-top > .gc-gallery-main > a,
  html body main.gc-wrap.gc-single > .gc-case-top > .gc-gallery-main img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    float:none!important;
    object-fit:contain!important;
  }
  html body main.gc-wrap.gc-single > .gc-gallery-extra {
    display:flex!important;
    flex-flow:row wrap!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    align-content:flex-start!important;
    column-gap:20px!important;
    row-gap:20px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:24px 0 0!important;
    padding:0!important;
    border:0!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    overflow:visible!important;
  }
  html body main.gc-wrap.gc-single > .gc-gallery-extra > a {
    display:block!important;
    flex:0 0 calc((100% - 60px) / 4)!important;
    width:calc((100% - 60px) / 4)!important;
    max-width:calc((100% - 60px) / 4)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    position:static!important;
    float:none!important;
    overflow:hidden!important;
  }
  html body main.gc-wrap.gc-single > .gc-gallery-extra > a > img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
  }
  html body main.gc-wrap.gc-single > .gc-case-details {
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:36px 0 32px!important;
    padding:0!important;
    position:static!important;
    float:none!important;
    clear:both!important;
  }
  html body main.gc-wrap.gc-single > .gc-article {
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:36px 0!important;
    position:static!important;
    float:none!important;
    clear:both!important;
  }
}

/* v1.3.5 - Desktop photo thumbnails should never demand a 1500px-tall row.
   The JS safety check corrects exceptional theme-induced heights if necessary. */
@media screen and (min-width:851px) {
 html body main.gc-wrap.gc-single > .gc-gallery-extra > a > img {
   max-height:340px!important;
   object-fit:contain!important;
 }
}

/* -------------------------------------------------------------------
   v1.3.6: case archive only. Avoid generic theme/header rules.
   No changes to single-case pages or to the WP theme.
   ------------------------------------------------------------------- */
html body main.gc-wrap.gc-archive{
  display:block!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
html body main.gc-wrap.gc-archive > .gc-archive-hero{
  display:block!important;
  position:relative!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 0 26px!important;
  padding:42px 24px!important;
  background:#f4f7f5!important;
  border-radius:10px!important;
  text-align:center!important;
  overflow:visible!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html body main.gc-wrap.gc-archive > .gc-archive-hero > *{
  position:static!important;
  display:block!important;
  float:none!important;
  clear:none!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  overflow-wrap:anywhere!important;
  box-sizing:border-box!important;
}
html body main.gc-wrap.gc-archive .gc-archive-eyebrow{
  font-size:11px!important;
  line-height:1.5!important;
  letter-spacing:.18em!important;
  color:#6b8a81!important;
  font-weight:600!important;
  margin:0 0 14px!important;
}
html body main.gc-wrap.gc-archive .gc-archive-hero > h1{
  font-size:clamp(28px,3.8vw,40px)!important;
  font-weight:700!important;
  line-height:1.35!important;
  letter-spacing:.015em!important;
  color:#303b39!important;
  padding:0!important;
  margin:0 0 15px!important;
}
html body main.gc-wrap.gc-archive .gc-archive-hero > .gc-archive-lead{
  max-width:660px!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.9!important;
  letter-spacing:.02em!important;
  color:#606d69!important;
  margin:0 auto!important;
  padding:0!important;
}
html body main.gc-wrap.gc-archive > .gc-filter,
html body main.gc-wrap.gc-archive > .gc-archive-grid{
  position:relative!important;
  float:none!important;
  clear:both!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-top:0!important;
  transform:none!important;
}
html body main.gc-wrap.gc-archive .gc-archive-grid > .gc-card{
  position:relative!important;
  float:none!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
}
html body main.gc-wrap.gc-archive .gc-archive-grid .gc-thumb{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/5!important;
  overflow:hidden!important;
}
html body main.gc-wrap.gc-archive .gc-archive-grid .gc-card-body{
  position:relative!important;
  float:none!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  transform:none!important;
}
@media screen and (max-width:850px){
 html body main.gc-wrap.gc-archive{
  width:calc(100% - 32px)!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:26px 0 140px!important;
 }
 html body main.gc-wrap.gc-archive > .gc-archive-hero{
  padding:28px 18px!important;
  margin:0 0 24px!important;
 }
 html body main.gc-wrap.gc-archive .gc-archive-hero > h1{
  font-size:28px!important;
  line-height:1.35!important;
  margin:0 0 12px!important;
 }
 html body main.gc-wrap.gc-archive .gc-archive-hero > .gc-archive-lead{
  font-size:13px!important;
  line-height:1.85!important;
 }
 html body main.gc-wrap.gc-archive .gc-archive-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:28px!important;
 }
}


/* =============================================================
   v1.3.7: CASE ARCHIVE ONLY — compact spacing / no sideways drift
   Do not alter individual case posts or other pages.
   ============================================================= */
/* Avoid blanket `nav` styling from the active theme by rendering the
   category choices in a dedicated DIV, never a NAV tag. */
html body main#greful-case-archive.gc-archive {
  display:block!important;
  width:min(1120px,calc(100% - 32px))!important;
  max-width:calc(100% - 32px)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:24px 0 125px!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  overflow-x:clip!important;
}
html body main#greful-case-archive.gc-archive,
html body main#greful-case-archive.gc-archive * {
  box-sizing:border-box!important;
}
html body main#greful-case-archive.gc-archive > .gc-archive-hero {
  width:100%!important;
  max-width:100%!important;
  margin:0 0 18px!important;
  padding:32px 20px!important;
}
html body main#greful-case-archive.gc-archive > .gc-case-categories {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 18px!important;
  padding:0!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  border:0!important;
  box-shadow:none!important;
}
html body main#greful-case-archive.gc-archive > .gc-case-categories a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  max-width:100%!important;
  width:auto!important;
  height:auto!important;
  padding:7px 15px!important;
  margin:0!important;
  border:1px solid #d6e1de!important;
  border-radius:22px!important;
  background:transparent!important;
  color:#36534e!important;
  font-size:13px!important;
  line-height:1.5!important;
  text-decoration:none!important;
  position:static!important;
  transform:none!important;
}
html body main#greful-case-archive.gc-archive > .gc-case-categories a.active,
html body main#greful-case-archive.gc-archive > .gc-case-categories a:hover {
  background:#245b55!important;
  color:white!important;
}
html body main#greful-case-archive.gc-archive > .gc-archive-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  align-content:start!important;
  justify-content:stretch!important;
}
html body main#greful-case-archive.gc-archive > .gc-archive-grid > .gc-card {
  display:block!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  overflow:hidden!important;
}
html body main#greful-case-archive.gc-archive .gc-card-link,
html body main#greful-case-archive.gc-archive .gc-thumb,
html body main#greful-case-archive.gc-archive .gc-card-body {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
html body main#greful-case-archive.gc-archive .gc-thumb img {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
/* Clip horizontal overscroll only while viewing the case archive.
   :has() works in current Safari/iOS; fallback WP body classes below. */
html:has(#greful-case-archive),
body:has(#greful-case-archive),
body.post-type-archive-case,
body.tax-case_category,
body.tax-case_menu,
body.tax-case_tag {
  max-width:100%;
  overflow-x:clip!important;
}
@media(max-width:850px) {
  html body main#greful-case-archive.gc-archive {
    width:calc(100% - 32px)!important;
    max-width:calc(100% - 32px)!important;
    padding:16px 0 140px!important;
  }
  html body main#greful-case-archive.gc-archive > .gc-archive-hero {
    padding:24px 16px!important;
    margin:0 0 14px!important;
  }
  html body main#greful-case-archive.gc-archive > .gc-case-categories {
    margin:0 0 16px!important;
  }
  html body main#greful-case-archive.gc-archive > .gc-archive-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:24px!important;
  }
}


/* v1.3.8 - Archive ONLY. Restore the start of the archive underneath
   fixed/sticky site headers without changing the global header or single case. */
@media screen and (max-width:850px) {
  html body main#greful-case-archive.gc-archive {
    padding-top:calc(16px + var(--gc-archive-header-clearance, 0px))!important;
    scroll-margin-top:100px!important;
  }
  html body main#greful-case-archive.gc-archive > .gc-archive-hero {
    scroll-margin-top:100px!important;
  }
}
