.gh-section {
  background:var(--cream);
  border-top:1px solid var(--ink);
  padding-block:clamp(47px,7vw,100px);
}
.gh-heading { max-width:780px; margin-bottom:clamp(26px,5vw,66px) }
.gh-heading h1,.gh-heading h2,.gh-article-heading h1 { text-wrap:balance }
.gh-heading > p:last-child { color:var(--muted); max-width:53ch; margin-bottom:0 }
.gh-subtitle { font-size:clamp(17px,2vw,24px); font-weight:650; line-height:1.4; max-width:49ch }
.gh-spread {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:clamp(24px,6.5vw,92px);
  align-items:start;
  border-top:1px solid var(--ink);
  padding-top:16px;
}
.gh-preview:nth-child(even) { margin-top:clamp(22px,5.5vw,80px) }
.gh-preview-image { display:block; overflow:hidden; background:var(--sand) }
.gh-preview-image img { width:100%; aspect-ratio:4/3; object-fit:cover }
.gh-preview:nth-child(even) .gh-preview-image img { aspect-ratio:5/4 }
.gh-preview-copy { margin-top:13px }
.gh-meta {
  color:var(--muted); font-size:13px; font-weight:750;
  letter-spacing:.06em; margin-bottom:8px; overflow-wrap:anywhere;
}
.gh-meta span { margin-inline:3px }
.gh-preview h3,.gh-archive .gh-preview h2 {
  font-family:var(--serif); font-size:clamp(26px,3.5vw,48px);
  font-weight:400; line-height:1.03; letter-spacing:-.037em; margin-bottom:9px;
}
.gh-preview h3 a { text-decoration:none }
.gh-preview h3 a:hover,.gh-preview h3 a:focus-visible { text-decoration:underline; text-decoration-color:var(--blue); text-decoration-thickness:1px }
.gh-preview-copy > p:not(.gh-meta) { color:var(--muted); max-width:55ch }
.gh-read { display:inline-block; font-weight:800; text-decoration-color:var(--blue); text-underline-offset:5px }
.gh-read:hover { text-decoration-thickness:2px }
.gh-more { margin-top:30px }
.gh-page .header .gh-language { display:flex; align-items:center; gap:7px; position:static; padding:0; border:0; box-shadow:none }
.gh-page .header .gh-language a { padding:7px 0; border:0 }
.gh-page main { padding-block:clamp(29px,5vw,70px) }
.gh-back { font-size:14px; font-weight:750; margin-bottom:clamp(22px,5vw,65px) }
.gh-article-heading { max-width:900px }
.gh-hero-photo,.gh-prose figure { margin:0 }
.gh-hero-photo { margin-block:clamp(23px,4vw,58px); background:var(--sand) }
.gh-hero-photo img { width:100%; max-height:75vh; object-fit:contain }
.gh-prose { max-width:68ch; margin-inline:auto; overflow-wrap:anywhere; font-size:clamp(16px,1.5vw,19px); line-height:1.75 }
.gh-prose p { margin-bottom:1.35em }
.gh-prose .gh-article-intro { font-size:1.18em; font-weight:650; line-height:1.5; margin-bottom:.85em }
.gh-prose h2,.gh-prose h3 {
  font-family:var(--serif); font-weight:400; letter-spacing:-.035em; font-size:clamp(26px,3.1vw,42px);
  line-height:1.08; margin:1.25em 0 .45em;
}
.gh-prose figure { margin-block:32px }
.gh-prose figure img { margin-inline:auto; max-height:75vh; object-fit:contain }
.gh-prose a { text-decoration-color:var(--blue) }
.gh-related { margin-top:clamp(45px,8vw,100px) }
.gh-related > h2 { font-size:clamp(32px,4vw,54px) }
.gh-related .gh-read { padding-top:.85em }
.gh-related .gh-preview-copy > div:first-child { line-height:1.25; margin-bottom:8px }
.gh-related .gh-preview-copy > div:first-child > span { margin-bottom:0 }
@media (min-width:681px) {
  .gh-related .gh-preview-copy > div:first-child { min-height:20px }
  .gh-related .gh-preview-copy > .gh-meta:first-child { margin-top:28px }
}

.gh-editor fieldset {
  min-width:0; border:1px solid var(--line); padding:14px;
  display:grid; gap:10px; margin:0;
}
.admin-section .gh-editor {
  grid-template-columns:minmax(0,1fr); align-items:start;
  max-width:900px;
}
.gh-editor legend { padding-inline:5px; font-weight:800 }
.gh-editor textarea { min-height:0 }
.gh-editor form p,.gh-editor fieldset p { margin:0 }
.gh-editor-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:4px }
.gh-editor-photos { display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) }
.gh-editor-photos img { max-height:125px; object-fit:contain }
#good-humans-admin select { margin-block:8px }
@media (max-width:680px) {
  .gh-spread { grid-template-columns:minmax(0,1fr); gap:34px }
  .gh-preview:nth-child(even) { margin-top:0; padding-left:clamp(15px,5vw,35px) }
  .gh-page .header .brand { margin-right:0 }
  .gh-page .header .header-inner { gap:8px }
  .gh-page .header .header-inner > a:not(.brand) { font-size:14px; line-height:1.3 }
}

.gh-demo-badge,.gh-demo-category { display:inline-block; margin:0 6px 8px 0; font-size:12px; font-weight:800 }
.gh-demo-badge { background:var(--orange); color:var(--ink); padding:1px 6px; letter-spacing:.055em }
.gh-demo-category { color:var(--muted) }
.gh-photo-credit { font-size:13px; padding:8px 12px; color:var(--muted) }

.gh-featured {
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  column-gap:clamp(20px,4vw,54px);
}
.gh-featured .gh-preview:nth-child(even) { margin-top:0; padding-left:0 }
.gh-featured .gh-preview .gh-preview-image img { aspect-ratio:4/3; object-fit:cover }
.gh-preview-link {
  display:grid;
  grid-template-rows:auto 1fr;
  height:100%;
  text-decoration:none;
}
.gh-preview-link .gh-preview-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.gh-preview-link .gh-read { margin-top:auto; text-decoration:underline; text-decoration-color:var(--blue) }
.gh-preview-link .gh-preview-image img { transition:transform .35s ease-out }
.gh-preview-link:focus-visible .gh-read { text-decoration-thickness:2px }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .gh-preview-link:hover .gh-preview-image img { transform:scale(1.035) }
}
@media (max-width:680px) {
  .gh-featured { grid-template-columns:minmax(0,1fr); row-gap:34px }
}

.gh-featured [data-home-crop] img {
  object-position:var(--crop-x,50%) var(--crop-y,50%);
  transform-origin:var(--crop-x,50%) var(--crop-y,50%);
  scale:var(--crop-zoom,1);
}
.gh-crop-dialog { width:min(690px,calc(100% - 24px)); padding:clamp(14px,3vw,26px); }
.gh-crop-dialog h2 { margin-bottom:8px; }
.gh-crop-dialog p { margin-bottom:10px; }
.gh-crop-frame {
  width:min(100%,69.33dvh); aspect-ratio:4/3; display:block; height:auto; margin-inline:auto;
  object-fit:contain; background:#e8e3d9; cursor:grab; touch-action:none;
}
.gh-crop-frame:active { cursor:grabbing; }
.gh-crop-range { display:grid; gap:4px; margin-block:12px; font-weight:750; }
.gh-crop-range input { width:100%; min-height:30px; padding:0; accent-color:#202020; }
.gh-crop-actions { display:flex; flex-wrap:wrap; gap:8px; }

.gh-prose figcaption { margin-top:8px; font-size:14px; line-height:1.45; color:var(--muted); }
.gh-editor-photos canvas { display:block; max-width:100%; max-height:125px; object-fit:contain; }
.gh-editor-preview { --serif:Georgia,"Times New Roman",serif; }
.gh-editor-preview .gh-prose { width:100%; }
.gh-editor-preview canvas { display:block; max-width:100%; height:auto; margin-inline:auto; }
.gh-editor-preview .gh-editor-tools [aria-pressed="true"] { background:var(--ink); color:var(--cream); }
.gh-editor-warnings { color:#8b2e16; font-weight:700; }
.gh-editor-warnings:empty { display:none; }

.gh-article-crop { aspect-ratio:16/9; overflow:hidden; }
.gh-article-crop img,.gh-editor-preview .gh-article-crop :is(img,canvas) {
  width:100%; height:100%; max-height:none; object-fit:cover;
  object-position:var(--crop-x,50%) var(--crop-y,50%);
  transform-origin:var(--crop-x,50%) var(--crop-y,50%);
  scale:var(--crop-zoom,1);
}
.gh-article-crop[data-image-format="landscape"] { aspect-ratio:4/3; }
.gh-article-crop[data-image-format="square"] { aspect-ratio:1; }
.gh-article-crop[data-image-format="portrait"] { aspect-ratio:3/4; }
.gh-crop-frame.is-featured-crop { aspect-ratio:auto; }
.gh-crop-frame.is-original { cursor:default; touch-action:auto; }

.gh-pagination {
  display:flex; flex-wrap:wrap; align-items:center; gap:6px;
  margin-top:clamp(32px,5vw,60px); padding-top:16px; border-top:1px solid var(--line);
  font-size:14px; font-weight:750;
}
.gh-pagination :is(a,span) {
  display:inline-grid; min-width:40px; min-height:40px; place-items:center;
  padding-inline:8px; text-decoration:none;
}
.gh-pagination a:hover { text-decoration:underline; text-decoration-color:var(--blue); }
.gh-pagination [aria-current="page"] { border:1px solid currentColor; }
