/* ============================================================
   News — archive (medium layout: thumb left, text right)
   and single post.
   ============================================================ */

.post-list { margin-top: 30px; }

.post-row {
  display: flex;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--grey-line);
}
.post-row:first-child { padding-top: 0; }

.post-row-thumb { flex: 0 0 320px; }
.post-row-thumb img { display: block; width: 100%; border-radius: 8px; }

.post-row-body { flex: 1 1 auto; min-width: 0; }
.post-row-title { font-size: 26px; margin: 0 0 6px; }
.post-row-title a { font-family: var(--font-heading); color: var(--dark-red); }
.post-row-title a:hover { color: var(--red); }

.post-row-meta {
  font-size: 13px;
  color: var(--grey-text);
  margin: 0 0 12px;
}

.post-row-excerpt { font-size: 16px; line-height: 1.6; margin-bottom: 12px; }

.read-more {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--dark-red);
}
.read-more:hover { color: var(--red); }

@media (max-width: 700px) {
  .post-row { flex-direction: column; gap: 18px; }
  .post-row-thumb { flex-basis: auto; }
}

/* single post */
.single-post .post-title { margin-bottom: 4px; }
.single-post .post-header { margin-bottom: 28px; }
.single-post .post-footer { margin-top: 40px; }
.post-content-body img { border-radius: 8px; }

/* gallery of the post images, above the text.
   One image reads as a lead image, several as a grid; both open the
   site-wide lightbox because each image is wrapped in a link. */
.post-gallery { margin-bottom: 32px; }
.post-gallery-item { display: block; }
.post-gallery-item img {
  display: block;
  width: 100%;
  border-radius: 8px;
  transition: transform .25s ease, opacity .25s ease;
}
.post-gallery-item:hover img { transform: scale(1.01); opacity: .93; }

.post-gallery.is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-gallery.is-grid .post-gallery-item img {
  height: 220px;
  object-fit: cover;
}
@media (max-width: 900px) { .post-gallery.is-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .post-gallery.is-grid { grid-template-columns: 1fr; }
  .post-gallery.is-grid .post-gallery-item img { height: auto; }
}
