/* WordPress main column inside the historical HP2026 shell.
   Scoped to #hbd-wp-main so header/footer IDs/fonts stay untouched.
   Tokens from prototype css_masterPage (--color_18/19/20 greens, raleway). */
#hbd-wp-main {
  --hbd-green: rgb(72, 169, 72);
  --hbd-green-dark: rgb(48, 113, 48);
  --hbd-green-ink: rgb(24, 56, 24);
  --hbd-muted: rgb(114, 114, 114);
  --hbd-line: rgb(183, 226, 183);
  box-sizing: border-box;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  color: rgb(47, 46, 46);
  font-family: raleway, Madefor, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background: rgb(255, 255, 255);
}

#hbd-wp-main *,
#hbd-wp-main *::before,
#hbd-wp-main *::after {
  box-sizing: border-box;
}

#hbd-wp-main .hbd-entry-title,
#hbd-wp-main .hbd-archive-title {
  margin: 0 0 12px;
  color: var(--hbd-green-ink);
  font-family: raleway, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
}

#hbd-wp-main .hbd-byline {
  margin: 0 0 24px;
  color: var(--hbd-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}

#hbd-wp-main .hbd-thumb {
  margin: 0 0 28px;
}

#hbd-wp-main .hbd-thumb img,
#hbd-wp-main .hbd-archive-thumb img,
#hbd-wp-main .hbd-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#hbd-wp-main .hbd-content h2,
#hbd-wp-main .hbd-content h3 {
  color: var(--hbd-green-dark);
  font-family: raleway, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}

#hbd-wp-main .hbd-content h2 { font-size: 26px; }
#hbd-wp-main .hbd-content h3 { font-size: 20px; }

#hbd-wp-main .hbd-content p,
#hbd-wp-main .hbd-content li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#hbd-wp-main a {
  color: var(--hbd-green);
}

#hbd-wp-main a:hover {
  color: var(--hbd-green-dark);
}

#hbd-wp-main .hbd-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#hbd-wp-main .hbd-archive-item {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hbd-line);
}

#hbd-wp-main .hbd-archive-item-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

#hbd-wp-main .hbd-archive-item-title a {
  color: var(--hbd-green-ink);
  text-decoration: none;
}

#hbd-wp-main .hbd-excerpt {
  margin: 0;
  color: rgb(64, 64, 64);
}

#hbd-wp-main .hbd-pagination,
#hbd-wp-main nav.hbd-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
}

#hbd-wp-main .hbd-pagination a,
#hbd-wp-main .hbd-pagination span,
#hbd-wp-main .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--hbd-green);
  color: var(--hbd-green-dark);
  text-decoration: none;
}

#hbd-wp-main .page-numbers.current,
#hbd-wp-main .hbd-pagination .current {
  background: var(--hbd-green);
  color: #fff;
}

body.hbd-historical-shell .hbd-blog-bridge,
.hbd-blog-bridge {
  display: block;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 16px 16px 28px;
  text-align: center;
  background: rgb(24, 56, 24);
}
body.hbd-historical-shell .hbd-blog-bridge a,
.hbd-blog-bridge a {
  color: rgb(183, 226, 183);
  font-family: raleway, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

@media (max-width: 980px) {
  #hbd-wp-main {
    max-width: 100%;
    padding: 24px 16px 56px;
    font-size: 16px;
  }
  #hbd-wp-main .hbd-entry-title,
  #hbd-wp-main .hbd-archive-title {
    font-size: 26px;
  }
  #hbd-wp-main .hbd-archive-item {
    grid-template-columns: minmax(0, 1fr);
  }
}
