/* Project pages (portfolio) — clean white page, blog-style Photolog.
 *
 * Loaded on every public project page (project.html). Kept in its own file so
 * the shared theme (styles.css) stays untouched and browser caches don't serve
 * a stale merged bundle. */

/* Plain white page — replaces the old black footer stripe. */
body#page-top {
  background: #ffffff;
}

/* ---------------------------------------------------------------- Footer -- */
.project-footer {
  padding: 2.75rem 1.5rem;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #ececec;
  color: #9a9a9a;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.project-footer a { color: #6a6a6a; text-decoration: none; }
.project-footer a:hover { text-decoration: underline; }

/* -------------------------------------------- Photolog: photo-essay feed -- */
.project-photolog {
  padding: 2.5rem 0 0.5rem;
  background: #ffffff;
}

.photolog-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.photolog-post {
  margin: 0 0 4.5rem;
  text-align: center;
}
.photolog-post:last-child { margin-bottom: 1.5rem; }

/* Text blocks interleaved between photo posts */
.photolog-textblock {
  max-width: 40rem;
  margin: 0 auto 4.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}
.photolog-textblock > :first-child { margin-top: 0; }
.photolog-textblock > :last-child { margin-bottom: 0; }
.photolog-textblock p { margin: 0 0 1rem; }
.photolog-textblock a { color: #1c1c1c; text-decoration: underline; }
.photolog-textblock--2col { max-width: 1040px; text-align: left; }
@media (min-width: 768px) {
  .photolog-textblock--2col { column-count: 2; column-gap: 3rem; }
}

.photolog-post-title {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #1c1c1c;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}

.photolog-figure { margin: 0; }

/* Centered; never rendered larger than its original size (the inline
 * max-width caps at the source width, this caps at the column width) and
 * never wider than the page. Overrides the theme's global `img { width:100% }`. */
.photolog-image {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  padding: 0;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  cursor: zoom-in;
}

.photolog-caption {
  margin: 1.1rem auto 0;
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #555;
}

@media (max-width: 600px) {
  .project-photolog { padding-top: 1.5rem; }
  .photolog-post { margin-bottom: 3rem; }
  .photolog-post-title { font-size: 1.25rem; }
  .photolog-caption { font-size: 1rem; }
}
