/* ==========================================================================
   Angee Homes — Blog styles
   Scoped to .post-body / .post-card so nothing leaks into the hand-authored
   homepage. Uses the tokens defined in /styles.css.
   ========================================================================== */

/* Blog index cards */
.post-card {
  display: block;
  background: var(--navy-50);
  border-radius: 20px;
  padding: 28px 32px;
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 39, 66, .10);
}

/* Article typography */
.post-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2A3B4F;
}

.post-body > * + * { margin-top: 1.5rem; }

.post-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-top: 2.25rem;
  margin-bottom: .75rem;
}

.post-body h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.post-body a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--amber);
}
.post-body a:hover { color: var(--navy); }

.post-body strong { font-weight: 700; color: var(--navy); }

.post-body ul, .post-body ol { padding-left: 1.5rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-top: .5rem; }
.post-body li::marker { color: var(--amber-600); font-weight: 700; }

.post-body blockquote {
  background: var(--amber-50);
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 500;
}
.post-body blockquote > :first-child { margin-top: 0; }

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: var(--navy-50);
  padding: .15em .4em;
  border-radius: .375rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--navy-100);
}

.post-body figure { margin-left: 0; margin-right: 0; }
.post-body figcaption {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .5rem;
  text-align: center;
}

.post-body hr {
  border: 0;
  border-top: 1px solid var(--navy-100);
  margin: 2.5rem 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  display: block;
  overflow-x: auto;
}
.post-body th, .post-body td {
  border: 1px solid var(--navy-100);
  padding: .625rem .875rem;
  text-align: left;
}
.post-body th { background: var(--navy-50); font-weight: 700; color: var(--navy); }

/* Side-by-side images inside a post (stacks on phones) */
.post-body .post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  align-items: start;
}
.post-body .post-gallery figure { margin: 0; }
.post-body .post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
