/* ============================================
   PROPERTY SNAPSHOT SECTION
   ============================================ */

.gh-snapshot-form {
  max-width: 44rem;
  margin: 0 auto;
}

.gh-snapshot-fields {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr auto;
  gap: 0.75rem;
}

.gh-snapshot-fields input {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.gh-snapshot-fields input:focus {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.gh-snapshot-error {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: #b3372f;
}

.gh-snapshot-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

.gh-snapshot-result {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.gh-snapshot-result h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.gh-snapshot-result .gh-snap-overview {
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.gh-snap-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 1.5rem 0 0.6rem;
}

.gh-snap-factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gh-snap-factor {
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gh-snap-factor strong {
  display: block;
  margin-bottom: 0.25rem;
}

.gh-snap-option {
  padding: 0.85rem 1rem;
  border-left: 3px solid currentColor;
  background: rgba(0, 0, 0, 0.03);
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gh-snap-option strong {
  display: block;
  margin-bottom: 0.25rem;
}

.gh-snap-emailed {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 1.25rem 0 1rem;
}

@media (max-width: 720px) {
  .gh-snapshot-fields {
    grid-template-columns: 1fr;
  }
  .gh-snap-factors {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG: archive cards + article
   ============================================ */

.gh-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.gh-post-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gh-post-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0;
}

.gh-post-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0;
}

.gh-post-title a {
  color: inherit;
  text-decoration: none;
}

.gh-post-title a:hover {
  text-decoration: underline;
}

.gh-post-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
  flex: 1;
}

.gh-post-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
}

.gh-post-pagination {
  text-align: center;
  margin-top: 2.5rem;
}

.gh-article-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin: 0.5rem 0 1.5rem;
}

.gh-article-body h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.75rem;
}

.gh-article-body h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.gh-article-body p,
.gh-article-body li {
  line-height: 1.7;
}

.gh-article-body ul,
.gh-article-body ol {
  padding-left: 1.4rem;
  margin: 0.75rem 0 1.25rem;
}

.gh-article-body li {
  margin-bottom: 0.4rem;
}

.gh-situation-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
}

/* ============================================
   ARTICLE SIDEBAR
   ============================================ */

.gh-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  max-width: 70rem;
  margin: 0 auto;
}

.gh-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gh-sidebar-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
}

.gh-sidebar-heading {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 0.75rem;
}

.gh-sidebar-note {
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.7;
  margin: 0 0 0.85rem;
}

.gh-resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gh-resource-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gh-resource-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gh-resource-list a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.gh-resource-list a:hover {
  text-decoration: underline;
}

.gh-resource-note {
  display: block;
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .gh-article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   SIDEBAR TINT: faint light blue on article sidebar boxes
   ============================================ */

.gh-sidebar-box {
  background: #eef5fa;
  border-color: rgba(46, 142, 158, 0.18);
}

/* Sticky sidebar on article pages (desktop only) */
.gh-article-sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}

@media (max-width: 900px) {
  .gh-article-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* Sidebar readability: larger type, more contrast, more breathing room */
.gh-sidebar-heading {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.gh-sidebar-note {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.gh-resource-list li {
  font-size: 1rem;
  line-height: 1.55;
  padding: 0.65rem 0;
}

.gh-resource-note {
  font-size: 0.88rem;
  opacity: 0.78;
  margin-top: 0.2rem;
}

.gh-sidebar-box .gh-btn {
  font-size: 0.95rem;
}

/* ============================================
   MOBILE FIXES
   ============================================ */

/* Hero: let the single column shrink below the quadrant's intrinsic width
   (min-width:auto grid trap caused ~46px horizontal clipping at 390px). */
@media (max-width: 600px) {
  .gh-hero-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .gh-hq-cell {
    padding: 2rem 1rem;
  }
}
/* Bot trap: hidden from people and assistive technology, validated server-side. */
.gh-snapshot-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
