
/* ============================================
   ELSEDES.COM - DOCUMENTARY BLOG
   ============================================ */

/* Custom handwriting font */
@font-face {
    font-family: 'Els-regular';
    src: url('/fonts/Els-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #fdfdfd;
    --color-paper: #f8f6f0;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --color-accent: #0066cc;
    
    --font-handwriting: 'Els-regular', cursive;
    --font-headings: 'IBM Plex Mono', monospace;
    --font-body: 'Source Sans 3', sans-serif;
    
    --content-width: 700px;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Main container - 700px */
main {
    max-width: var(--content-width);
    padding: 40px 20px;
    width: 100%;
}

/* Typography */
h1 {
    font-family: var(--font-handwriting);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

h3 {
    font-size: 1.35rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.75em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Images - WebP with transparent bg on paper color */
img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: var(--color-paper);
    padding: 1rem;
    border-radius: 4px;
    margin: 40px 0 10px 0;
}

/* Image captions */
img + em {
    display: block;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: -5px;
    margin-bottom: 40px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    max-width: var(--content-width);
    width: 100%;
}

header h1 {
    margin-bottom: 0.5rem;
}

header p {
    opacity: 0.7;
}

/* Footer - with signature */
footer {
    text-align: center;
    padding: 40px 20px;
    max-width: var(--content-width);
    width: 100%;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Post metadata */
.post-metadata {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.film-details {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 1rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
}

.film-details dt {
    font-weight: 600;
}

.film-details dd {
    margin: 0;
}

.post-meta {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.post-meta time {
    display: block;
    margin-top: 0.25rem;
}

/* Homepage - Post cards */
.posts-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 40px;
}

.post-card {
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-card a {
    display: block;
    color: inherit;
}

.post-card a:hover {
    text-decoration: none;
}

.post-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background-color: var(--color-paper);
    padding: 0.5rem;
    margin: 0;
    border-radius: 0;
}

.post-content {
    padding: 1.5rem;
}

.post-card h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.post-card .meta {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.post-card time {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Back link */
.back-link {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    main { padding: 20px 15px; }
    
    .film-details {
        grid-template-columns: 1fr;
    }
    
    .film-details dt {
        margin-top: 0.75rem;
        font-weight: 700;
    }
}
/* Extra spacing in article body */
.post-content p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2em;
}
/* Logo boven header, gecentreerd */
.site-logo {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.site-logo img {
    width: 120px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: opacity 0.2s;
}

.site-logo img:hover {
    opacity: 0.7;
}
/* Footer updates */
.footer-nav {
    margin-bottom: 10px; /* Ruimte onder 'About this website' */
    font-family: var(--font-headings);
    font-size: 0.9rem;
}
<div>
/* Newsletter form in footer */
.newsletter {
  margin-bottom: 1.5rem;
}

.newsletter form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter button {
  padding: 0.5rem 1.5rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
}

.newsletter button:hover {
  background: #0052a3;
}
</div>
.footer-socials {
    margin-bottom: 40px; /* Ruimte tussen socials en copyright */
    font-family: var(--font-headings);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.footer-socials a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 5px;
}

.footer-socials span {
    opacity: 0.3;
}