/* gardenmarketorbit.com blog: index and single post. Uses the tokens from home.css. */

/* Intro band */
.gb-intro { background: var(--sage); padding: 48px 0 32px; }
.gb-intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; max-width: 14em; margin-bottom: .3em; }
.gb-dek { font-size: 1.125rem; max-width: 46rem; margin: 0; color: var(--ink); }
.gb-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 15, 34, .3);
}
.gb-filter a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.gb-filter a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gb-filter a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  font-weight: 600;
}

/* Article grid */
.gb-list { padding: 48px 0 72px; }
.gb-grid { display: grid; gap: 40px 24px; }
.gb-card { min-width: 0; }
.gb-card-link { display: grid; gap: 14px; color: var(--ink); text-decoration: none; }
.gb-card-fig {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel);
}
.gb-card-fig img { width: 100%; height: 100%; object-fit: cover; }
.gb-card-body { display: grid; gap: 6px; align-content: start; }
.gb-label { font-size: .875rem; font-weight: 600; color: var(--steel); }
.gb-card-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.22;
  color: var(--plum);
}
.gb-card-link:hover .gb-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gb-card-ex { color: var(--muted); font-size: .975rem; }
.gb-card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; color: var(--muted); }

.gb-card--lead { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.gb-card--lead .gb-card-title { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.12; }
.gb-card--lead .gb-card-ex { font-size: 1.0625rem; max-width: 46ch; }

@media (min-width: 640px) {
  .gb-grid { grid-template-columns: 1fr 1fr; }
  .gb-card--lead { grid-column: 1 / -1; }
}
@media (min-width: 860px) {
  .gb-card--lead .gb-card-link { grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
}
@media (min-width: 1000px) {
  .gb-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
}

/* Pagination and empty state */
.gb-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.gb-pages a,
.gb-pages span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.gb-pages .current { background: var(--plum); border-color: var(--plum); color: #fff; }
.gb-pages .dots { border: 0; }
.gb-empty { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }

/* Single post: title block beside the photo */
.gb-head { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.gb-head > * { min-width: 0; }
.gb-crumbs { font-size: .925rem; color: var(--muted); margin-bottom: 18px; }
.gb-crumbs a { color: var(--ink); }
.gb-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.07; margin-bottom: .35em; }
.gb-head .gb-dek { color: var(--muted); margin-bottom: 18px; }
.gb-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .925rem; color: var(--muted); margin: 0; }
.gb-hero { margin: 0; border-radius: 4px; overflow: hidden; background: var(--panel); aspect-ratio: 3 / 2; }
.gb-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .gb-head { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
  .gb-head--solo { grid-template-columns: minmax(0, 52rem); }
  .gb-hero { aspect-ratio: 4 / 5; max-height: 560px; }
}

/* Single post: reading column */
.gb-body {
  max-width: 44rem;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  font-size: 1.0938rem;
  line-height: 1.7;
}
.gb-body > *:first-child { margin-top: 0; }
.gb-body > p:first-child { font-size: 1.1875rem; line-height: 1.6; color: var(--plum); }
.gb-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 1.8em 0 .5em; scroll-margin-top: 24px; }
.gb-body h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.gb-body p,
.gb-body li { color: var(--ink); }
.gb-body ul,
.gb-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.gb-body li { margin-bottom: .5em; }
.gb-body li::marker { color: var(--tomato); }
.gb-body ol li::marker { font-weight: 600; }
.gb-body a { color: var(--plum); text-decoration-thickness: 1px; }
.gb-body a:hover { text-decoration-thickness: 2px; }
.gb-body img { height: auto; border-radius: 4px; }

/* Single post: offer panel */
.gb-offer {
  max-width: 44rem;
  display: grid;
  gap: 18px;
  margin: 48px 0 0;
  padding: 28px 24px;
  background: var(--sage);
  border-radius: 4px;
}
.gb-offer h2 { font-size: 1.5rem; margin-bottom: .35em; }
.gb-offer-copy p { margin: 0; }
.gb-offer .btn { width: 100%; }
.gb-offer .cta-note { color: var(--ink); }
@media (min-width: 640px) {
  .gb-offer { padding: 32px; }
  .gb-offer .btn { width: auto; }
}

/* Single post: more articles */
.gb-more { padding: 80px 0 88px; }
.gb-more-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 2px solid var(--plum);
  padding-top: 24px;
  margin-bottom: 28px;
}
.gb-more-head h2 { margin: 0; }
