/* ==========================================================================
   PAST TO PROGRESS — GHOST THEME STYLESHEET
   Zwart/wit/rood, Courier New (koppen) + Arial (body), viewfinder-motief.
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #ff0000;
  --lightgray: #bfbfbf;
  --darkgray: #595959;
  --bodytext: #1a1a1a;
  --rowgray: #f6f6f6;
  --mono: "Courier New", Courier, monospace;
  --sans: Arial, Helvetica, sans-serif;
  --maxwidth: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--bodytext);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--black); transition: color 0.15s ease; }
a:hover { color: var(--red); }

/* ---------- SITE HEADER ---------- */
.site-header {
  background: var(--black);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo-text {
  font-family: var(--mono);
  font-weight: bold;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1px;
}

.site-nav { display: flex; }

.site-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--lightgray);
  text-decoration: none;
  margin-left: 24px;
}
.site-nav a:hover { color: var(--white); }

/* ---------- SITE FOOTER ---------- */
.site-footer {
  border-top: 1px solid #ececec;
  padding: 22px 24px;
  text-align: center;
}
.site-footer p {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--lightgray);
  letter-spacing: 0.5px;
  margin: 0;
}

/* ---------- HOMEPAGE / ARCHIVE ---------- */
.archive-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 70px;
}

.archive-intro {
  margin-bottom: 40px;
}
.archive-intro .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.archive-intro .eyebrow .dot {
  width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block;
}
.archive-intro h1 {
  font-family: var(--mono);
  font-size: 30px;
  color: var(--black);
  margin: 0 0 8px;
}
.archive-intro p {
  font-family: var(--sans);
  font-style: italic;
  color: var(--darkgray);
  margin: 0;
  font-size: 15px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.post-card {
  border: 1px solid var(--lightgray);
  text-decoration: none;
  color: var(--bodytext);
  display: block;
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: var(--black); }

.post-card-media {
  height: 160px;
  background: #f2f2f2 center/cover no-repeat;
  border-bottom: 1px solid var(--lightgray);
}

.post-card-body { padding: 16px; }

.post-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.post-card h2 {
  font-family: var(--mono);
  font-size: 17px;
  color: var(--black);
  margin: 0 0 8px;
  line-height: 1.35;
}

.post-card p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--darkgray);
  margin: 0;
  line-height: 1.5;
}

.pagination {
  margin-top: 46px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
}
.pagination a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--black);
  text-decoration: none;
  color: var(--black);
  margin: 0 4px;
}
.pagination a:hover { background: var(--black); color: var(--white); }

/* ---------- ARTICLE HERO ---------- */
.article-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.article-hero .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.article-hero .eyebrow .dot {
  width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block;
}

.article-hero h1 {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: bold;
  color: var(--black);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.article-hero .subhead {
  font-family: var(--sans);
  font-style: italic;
  font-size: 17px;
  color: var(--darkgray);
  margin: 0 0 32px;
}

.hero-grid {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-media {
  flex: 1 1 380px;
  min-height: 320px;
  background: #f6f6f6 center/cover no-repeat;
  border: 1.5px solid var(--lightgray);
  position: relative;
}

/* ---------- INFOBOX (pasted per article via HTML card) ---------- */
.ptp-infobox {
  flex: 1 1 340px;
  align-self: flex-start;
  border: 1px solid var(--lightgray);
  font-family: var(--sans);
}
.ptp-infobox-head {
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 12px 16px;
}
.ptp-infobox-row {
  display: flex;
  padding: 11px 16px;
  border-bottom: 1px solid #ececec;
  gap: 14px;
  font-size: 13.5px;
}
.ptp-infobox-row:last-child { border-bottom: none; }
.ptp-infobox-label {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 11.5px;
  color: var(--black);
  flex: 0 0 130px;
}
.ptp-infobox-value { flex: 1; line-height: 1.5; }

/* ---------- ARTICLE BODY (Ghost editor content) ---------- */
.gh-content, .post-full-content {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 24px 30px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--bodytext);
}

.gh-content h2 {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 22px;
  color: var(--black);
  margin: 46px 0 18px;
  padding-left: 20px;
  position: relative;
}
.gh-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
}

.gh-content h3 {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 17px;
  color: var(--black);
  margin: 32px 0 12px;
}

.gh-content p { margin: 0 0 20px; }

.gh-content blockquote {
  margin: 32px 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--red);
}
.gh-content blockquote p {
  font-family: var(--sans);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

.gh-content a { text-decoration: underline; }
.gh-content img { max-width: 100%; height: auto; }

.gh-content .kg-width-wide {
  max-width: 1040px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -520px;
  margin-right: -520px;
}
.gh-content .kg-width-full {
  max-width: 100vw;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (max-width: 1040px) {
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full {
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---------- MOTTO (auto-injected by theme, not authored per post) ---------- */
.ptp-motto {
  max-width: var(--maxwidth);
  margin: 20px auto 0;
  padding: 32px 24px 8px;
  text-align: center;
  border-top: 1px solid #ececec;
}
.ptp-motto .dot {
  width: 8px; height: 8px; background: var(--red); border-radius: 50%;
  display: inline-block; margin-bottom: 14px;
}
.ptp-motto p {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--black);
  text-transform: uppercase;
  margin: 0;
}

/* ---------- NEWSLETTER SIGNUP (auto-injected) ---------- */
.ptp-subscribe {
  max-width: var(--maxwidth);
  margin: 36px auto;
  padding: 26px 24px;
  border: 1px solid var(--lightgray);
  background: var(--rowgray);
  text-align: center;
}
.ptp-subscribe h3 {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.ptp-subscribe p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--darkgray);
  margin: 0 0 16px;
}
.ptp-subscribe form {
  display: flex;
  gap: 8px;
  max-width: 380px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.ptp-subscribe input[type="email"] {
  flex: 1 1 220px;
  padding: 10px 12px;
  border: 1px solid var(--darkgray);
  font-family: var(--sans);
  font-size: 13.5px;
}
.ptp-subscribe button {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.5px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
}
.ptp-subscribe button:hover { background: #1a1a1a; }

/* ---------- SOURCES (authored per article, styled generically) ---------- */
.gh-content h3:has(+ ol),
.gh-content h3:has(+ ul) {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--darkgray);
}
.gh-content ol, .gh-content ul { padding-left: 20px; }
.gh-content ol li, .gh-content ul li {
  font-size: 12.5px;
  color: var(--darkgray);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ---------- READ ALSO ---------- */
.read-also {
  max-width: var(--maxwidth);
  margin: 10px auto 50px;
  padding: 0 24px;
}
.read-also h3 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--darkgray);
  margin-bottom: 14px;
}
.read-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.read-also a {
  text-decoration: none;
  color: var(--black);
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid var(--lightgray);
  padding: 12px;
  display: block;
}
.read-also a:hover { border-color: var(--black); }

/* ---------- HOMEPAGE (mission page) ---------- */
.home-hero {
  background: var(--black);
  padding: 100px 24px 90px;
  text-align: center;
}
.home-hero-inner { max-width: 760px; margin: 0 auto; }
.home-hero .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  justify-content: center;
  margin-bottom: 22px;
}
.home-hero h1 {
  font-family: var(--mono);
  font-weight: bold;
  font-size: 42px;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 26px;
  letter-spacing: 0.5px;
}
.home-hero-sub {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--lightgray);
  margin: 0 0 38px;
}
.home-cta {
  display: inline-block;
  font-family: var(--mono);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1px;
  background: var(--red);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.home-cta:hover { background: var(--white); color: var(--black); }

.home-section { padding: 72px 24px; }
.home-section-inner { max-width: 760px; margin: 0 auto; }
.home-section-dark { background: var(--black); }
.home-section-dark p { color: var(--lightgray); }

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.section-label .sq { width: 9px; height: 9px; background: var(--red); display: inline-block; flex: none; }

.home-lede {
  font-family: var(--sans);
  font-size: 21px;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
  margin: 0 0 20px;
}
.home-section p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--bodytext);
  margin: 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.how-card { border: 1px solid #2b2b2b; padding: 30px 24px; }
.how-num { font-family: var(--mono); font-weight: bold; font-size: 24px; color: var(--red); margin-bottom: 16px; }
.how-card h3 { font-family: var(--mono); font-weight: bold; font-size: 16px; color: var(--white); margin: 0 0 10px; }
.how-card p { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--lightgray); margin: 0; }

.home-section-split { display: flex; gap: 50px; flex-wrap: wrap; }
.home-section-split > div { flex: 1 1 280px; }

.home-final-cta { text-align: center; padding: 76px 24px 96px; border-top: 1px solid #ececec; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  font-family: var(--sans);
  font-style: italic;
  color: var(--darkgray);
}

@media (max-width: 700px) {
  .how-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 30px; }
  .home-hero { padding: 70px 24px 60px; }
}

@media (max-width: 600px) {
  .article-hero h1 { font-size: 28px; }
  .gh-content h2 { font-size: 19px; }
  .gh-content blockquote p { font-size: 18px; }
  .ptp-infobox-row { flex-direction: column; gap: 3px; }
  .ptp-infobox-label { flex: none; }
}
