.guide-post-page .guide-main {
  --guide-card-pad: 24px;
  max-width: 1190px;
  padding: 24px 24px 64px;
}

.guide-post-page .breadcrumbs {
  gap: 8px;
  margin: 0 0 18px;
  font-size: .8rem;
}

.guide-thread {
  border: 1px solid #dce4dd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.guide-post-page .guide-main article.guide-post {
  padding: 24px 24px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.guide-post-page h1,
.guide-post-page h2,
.guide-post-page h3 {
  font-family: inherit;
}

.guide-post-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-reviewed-badge {
  border-radius: 20px;
  padding: 5px 9px;
  color: #356345;
  background: #e5eee2;
  font-size: .7rem;
  font-weight: 750;
}

.guide-post-page .guide-main h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.guide-post-page .guide-main :where(p, li) {
  font-size: .95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.guide-post-page .guide-direct-answer {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.guide-post-page .guide-direct-answer strong { font-weight: 500; }
.guide-post-page .guide-post-source {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f8f4;
  font-size: .8rem;
  line-height: 1.5;
}
.guide-post-source a { color: #286345; font-weight: 650; }
.guide-post-source span { display: block; margin-top: 4px; color: #53675b; font-size: .75rem; }
.guide-post-page .state-context { margin: 0 0 16px; padding: 12px 14px; font-size: .85rem; }
.guide-post-page .property-prompt { padding: 14px; margin: 16px 0; }
.guide-post-page .property-prompt h2 { margin: 0 0 8px; font-size: 1rem; }
.guide-post-page .property-prompt p { margin: 8px 0; font-size: .85rem; }

.rule-why {
  margin: 20px -24px 18px;
  padding: 24px;
  border-top: 1px solid #dce4dd;
  border-bottom: 1px solid #dce4dd;
  background: #f7f9f4;
}
.rule-why-heading { max-width: 720px; }
.guide-post-page .rule-why-heading .eyebrow { margin: 0 0 5px; font-size: .68rem; }
.guide-post-page .rule-why-heading h2 { margin: 0 0 8px; font-size: 1.35rem; }
.guide-post-page .rule-why-heading > p:last-child { margin: 0; color: #4f6458; font-size: .84rem; }
.why-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.why-fact { padding: 14px; border: 1px solid #d8e2d8; border-radius: 10px; background: #fff; }
.guide-post-page .why-fact h3 { margin: 0 0 6px; color: #274b3b; font-size: .78rem; }
.guide-post-page .why-fact p { margin: 0; font-size: .84rem; line-height: 1.55; }
.why-history-gap { border-color: #e4d8bd; background: #fffaf0; }
.why-source-markers { display: inline-flex; gap: 4px; margin-left: 2px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.why-source-markers a { color: #286345; }
.why-sources { margin-top: 14px; }
.why-sources > summary { color: #286345; cursor: pointer; font-size: .8rem; font-weight: 650; }
.why-sources ol { margin: 10px 0; padding-left: 24px; }
.why-sources li { margin: 8px 0; }
.why-sources li a { color: #286345; font-weight: 650; }
.why-sources li span { display: block; color: #53675b; font-size: .72rem; }
.guide-post-page .why-sources > p { margin: 8px 0 0; color: #53675b; font-size: .72rem; }

.guide-post-details > summary,
.guide-ideas > summary {
  cursor: pointer;
  padding: 10px 0;
  color: #286345;
  font-size: .84rem;
  font-weight: 650;
}
.guide-post-expanded {
  margin: 8px 0 16px;
  padding: 16px;
  border: 1px solid #dce4dd;
  border-radius: 10px;
}
.guide-post-page .guide-post-expanded h2 { font-size: 1rem; margin: 18px 0 10px; }
.guide-post-page .guide-post-expanded .guide-explanation h2 { margin-top: 0; }
.guide-post-page .guide-post-expanded .guide-notes,
.guide-post-page .guide-post-expanded .guide-source,
.guide-post-page .guide-post-expanded .guide-decisions,
.guide-post-page .guide-post-expanded .guide-faq { margin-top: 20px; }
.guide-post-page .guide-post-expanded .meta { font-size: .75rem; }
.guide-post-page .trust-disclaimer { color: #53675b; font-size: .75rem; margin: 8px 0 16px; }
.guide-post-page .guide-community {
  margin: 0;
  padding: 20px 24px 24px;
  background: #fff;
  scroll-margin-top: 16px;
}
.guide-community-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-post-page .guide-community-heading h2 { margin: 0; font-size: 1.05rem; }
.guide-community-heading > span { color: #61766a; font-size: .78rem; }
.guide-post-page .guide-main .guide-post-subtitle { margin: 0 0 16px; font-size: .77rem; color: #5b7063; line-height: 1.5; }
.guide-conversation-empty { padding: 16px 0; text-align: center; color: #5b7063; }
.guide-post-page .guide-conversation-empty h3 { font-size: .95rem; margin: 8px; }
.guide-post-page .guide-conversation-empty p { font-size: .86rem; line-height: 1.6; margin: 8px; }
.guide-post-page .guide-community-boundary {
  border: 0;
  padding: 0;
  margin: 8px 0 16px;
  font-size: .77rem;
  line-height: 1.5;
  color: #53675b;
}
.guide-post-page .guide-account { padding: 0; border: 0; margin: 0 0 16px; }
.guide-join-row { display: flex; gap: 10px; align-items: center; }
.guide-resident-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7efe3;
  color: #426248;
  font-size: .76rem;
  font-weight: 700;
}
.guide-post-page #open-signin {
  flex: 1;
  text-align: left;
  padding: 13px;
  border-radius: 22px;
  background: #f6f8f4;
  border-color: #dce4dd;
  color: #53675b;
  font-size: .88rem;
  font-weight: 400;
}
.guide-post-page .guide-signin-help { margin: 6px 0 0 44px; color: #53675b; font-size: .77rem; }
.guide-post-page #guide-discussion-list > p { color: #53675b; font-size: .86rem; text-align: center; padding: 16px 0; }
.guide-post-page .guide-main article.guide-comment-card,
.guide-post-page .guide-main article.guide-reply-card {
  border: 0;
  border-top: 1px solid #edf0eb;
  border-radius: 0;
  padding: 18px 0;
  box-shadow: none;
  background: #fff;
}
.guide-comment-heading { display: flex; align-items: center; gap: 10px; }
.guide-comment-heading > div { min-width: 0; }
.guide-comment-heading strong { font-size: .86rem; }
.guide-post-page .guide-comment-meta { margin: 2px 0; color: #53675b; font-size: .75rem; line-height: 1.4; }
.guide-post-page .guide-comment-body { margin: 8px 0 6px 44px; white-space: pre-wrap; font-size: .9rem; }
.guide-post-page .guide-comment-card > button { margin-left: 44px; font-size: .75rem; padding: 3px 0; border: 0; }
.guide-post-page .guide-replies { margin: 14px 0 0 17px; padding-left: 20px; border-left: 2px solid #e7ece3; }
.guide-post-page .guide-replies:empty { display: none; }
.guide-post-page .guide-main article.guide-reply-card { margin: 0; }
.guide-ideas { margin-top: 16px; padding-top: 8px; border-top: 1px solid #dce4dd; }
.guide-post-page .guide-ideas p { font-size: .85rem; }
.guide-post-page .guide-ideas h3 { font-size: 1rem; margin: 20px 0 10px; }
.guide-post-page .guide-community-actions a { padding: 9px 12px; font-size: .82rem; }
.guide-post-page .guide-back-bottom { font-size: .85rem; margin-top: 18px; }
.guide-post-page #google-signin { max-width: 100%; overflow-x: auto; }
.guide-post-page .permit-finder {
  margin-right: calc(var(--guide-card-pad) * -1);
  margin-left: calc(var(--guide-card-pad) * -1);
  padding: 24px var(--guide-card-pad);
}
.guide-post-page summary:focus-visible,
.guide-post-page a:focus-visible { outline: 3px solid #efac4e; outline-offset: 3px; }

.guide-post-page .guide-faq-item summary:focus-visible,
.guide-post-page .permit-project summary:focus-visible { outline-offset: -3px; }

@media (max-width: 550px) {
  .guide-post-page .guide-main { --guide-card-pad: 16px; width: 100%; padding: 16px 12px 40px; }
  .guide-post-page .guide-main article.guide-post { padding: 18px 16px 0; }
  .guide-post-page .guide-community { padding: 18px 16px; }
  .guide-post-heading { flex-wrap: wrap; }
  .guide-post-expanded { padding: 12px; }
  .rule-why { margin-right: -16px; margin-left: -16px; padding: 20px 16px; }
  .why-fact-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-post-page .guide-main > .breadcrumbs { margin: 0 4px 18px; font-size: .78rem; }
  .guide-post-page #guide-related-projects { grid-template-columns: 1fr; }
}

/* Keep the reading column familiar while making room for nearby guide links. */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.guide-thread { min-width: 0; }
.other-rules { min-width: 0; }
.guide-post-page .other-rules > p { font-size: .85rem; }
.other-rules-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0 0 18px; }
.other-rule-card { display: block; padding: 14px; border: 1px solid #e0e7de; border-radius: 14px; background: #fff; text-decoration: none; overflow-wrap: anywhere; }
.other-rule-card:hover { background: #edf3e8; border-color: #73957e; }
.other-rule-scope { display: block; color: #53675b; font-size: .72rem; line-height: 1.5; margin-bottom: 6px; }
.other-rule-card strong { display: block; color: #203b31; font-size: .9rem; line-height: 1.4; }
.other-rule-cta { display: block; margin-top: 10px; color: #286345; font-size: .77rem; font-weight: 650; }
.other-rules-all { color: #286345; font-size: .85rem; font-weight: 650; text-decoration: none; }
.other-rules-all:hover { text-decoration: underline; }
@media (max-width: 999px) {
  .guide-post-page .guide-main { max-width: 808px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .other-rules-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .other-rules-list { grid-template-columns: minmax(0, 1fr); }
}
