/* Blog posts (_layouts/article.html, kind post): header band, playful body details, "Lees ook" + demo card.
   Loaded after base.css via posts/posts.json; the Tippi page uses its own layout. */
.post-head {
  background: radial-gradient(110% 120% at 90% 10%, #dff5e8 0%, #eef8f2 45%, #f8fbf9 100%);
  border-bottom: 1px solid #e3efe8;
  padding: 56px 0 60px;
}
.post-head-grid { display: grid; gap: 48px; align-items: center; max-width: 1000px; }
.post-head--image .post-head-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.post-head:not(.post-head--image) .post-head-grid { text-align: center; max-width: 860px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 15px var(--font-ui); color: #5c6a85; }
.post-head:not(.post-head--image) .post-meta { justify-content: center; }
.post-pill { padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.post-pill:hover { filter: brightness(.95); }
.post-title { font: 700 2.6rem/1.18 var(--font-heading); color: var(--navy); margin: 0; }
.post-head-visual { margin: 0; }
.post-head-visual img { display: block; width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; background: #fff;
  box-shadow: 0 2px 4px rgba(42, 56, 84, .06), 0 22px 44px -18px rgba(42, 56, 84, .35); transform: rotate(1.5deg); }

.post-main { padding-top: 56px; }

/* Body details */
.entry-content--post > p:first-child { font-size: 1.15rem; color: #555; }
.entry-content--post > :is(h2, h3)::after,
.entry-content--post .ka-col > :is(h2, h3):first-child::after {
  content: ""; display: block; width: 44px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--green);
}
.entry-content--post :is(h2, h3, h4) { color: var(--navy); }
.entry-content--post ul:not([class]) { list-style: none; padding-left: 0; }
.entry-content--post ul:not([class]) > li { position: relative; padding-left: 30px; margin: 0 0 6px; }
.entry-content--post ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.entry-content--post blockquote { position: relative; border-left: 0; border-radius: 18px; padding: 28px 30px 24px 64px; background: #eef8f2; }
.entry-content--post blockquote::before { content: "“"; position: absolute; left: 20px; top: 6px; font: 700 64px/1 var(--font-heading); color: var(--green); }

/* Text next to photo: alternate a soft card behind every second row with an image, tilt photos a little. */
.entry-content--post > .ka-row:has(img):nth-of-type(even) { padding: 32px; border-radius: 24px; background: var(--bg-soft); }
.entry-content--post .ka-row img { box-shadow: 0 16px 32px -18px rgba(42, 56, 84, .45); transition: transform .3s; }
.entry-content--post > .ka-row:has(img):nth-of-type(odd) .ka-col img { transform: rotate(-1.2deg); }
.entry-content--post > .ka-row:has(img):nth-of-type(even) .ka-col img { transform: rotate(1.2deg); }
.entry-content--post .ka-row .ka-col img:hover { transform: none; }
.entry-content--post .ka-row .ka-gallery img,
.entry-content--post .ka-row .ka-gallery img:hover { transform: none; box-shadow: none; }

/* Lees ook + demo card */
.post-more { background: var(--bg-soft); margin-top: 70px; padding: 64px 0 72px; }
.post-more h2 { font: 700 2rem var(--font-heading); color: var(--navy); text-align: center; margin: 0 0 32px; }
.post-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-cta { display: flex; align-items: center; gap: 32px; margin: 40px 0 0; overflow: hidden; background: #fff; }
.post-cta img { flex: none; width: 200px; height: 200px; object-fit: cover; }
.post-cta > div { padding: 24px 24px 24px 0; }
.post-cta-kicker { margin: 0; font: 700 20px var(--font-ui); color: var(--green); }
.post-cta h2 { font: 700 1.5rem/1.3 var(--font-heading); text-align: left; margin: 4px 0 18px; }
.post-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 0; }
.post-cta-link { font: 600 15px var(--font-ui); color: var(--green); text-decoration: none; }
.post-cta-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .post-head { padding: 32px 0 40px; }
  .post-head--image .post-head-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-title { font-size: 1.9rem; }
  .post-head-visual img { transform: none; max-height: 260px; }
  .post-main { padding-top: 36px; }
  .entry-content--post > .ka-row:has(img):nth-of-type(even) { padding: 20px; }
  .post-more-grid { grid-template-columns: 1fr; }
  .post-cta { flex-direction: column; align-items: stretch; gap: 0; }
  .post-cta img { width: 100%; height: 180px; }
  .post-cta > div { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-content--post .ka-row img { transition: none; }
}
