/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #fdf7f5; /* Zachte beige achtergrond */
    color: #333;
}

/* Header */
header {
    background-color: #a80000; /* Socialistisch rood */
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
}

header h1 {
    font-size: 2.5rem;
}

.tagline {
    font-style: italic;
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #ffdddd; /* lichtere roodtint voor subtiel contrast */
}

/* Navigatie */
nav {
    background-color: #7a0000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0.8rem;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #a80000;
    border-radius: 4px;
    color: #ffccaa; /* warme oranje tint bij hover */
}

/* Layout */
.container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

/* Hoofdcontent */
main {
    flex: 3;
}

.post {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border-top: 4px solid #a80000;
    transition: transform 0.2s;
}

.post:hover {
    transform: translateY(-3px);
}

.post img {
    width: 100%;
    display: block;
}

.post h2 {
    padding: 1rem;
    background-color: #fff;
    color: #a80000;
}

.post h2 a {
    text-decoration: none;
    color: inherit;
}

.post p {
    padding: 0 1rem 1rem;
}

/* Zijbalk */
aside {
    flex: 1;
}

.sidebar-block {
    background: white;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.sidebar-block h3 {
    color: #a80000;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #ffefef;
    padding-bottom: 0.3rem;
}

.sidebar-block ul {
    list-style: none;
}

.sidebar-block li {
    margin-bottom: 0.5rem;
}

.sidebar-block a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.sidebar-block a:hover {
    color: #e85c00;
}

/* Speciale blokken */
.highlight {
    background-color: #ffefef;
    padding: 0.8rem;
    border-left: 4px solid #a80000;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #a80000;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 800px) {
    .container {
        flex-direction: column;
    }

    aside {
        order: -1;
    }
}
.thumbnail {
  width: 480px;       /* vaste breedte */
  height: 320px;       /* hoogte automatisch in verhouding */
  display: block;     /* voorkomt rare whitespace */
  margin-bottom: 10px; /* ruimte onder de afbeelding */
}

blockquote {
  margin: 1.5em 2em;   /* extra ruimte aan de zijkanten */
  padding: 0.5em 1em;  /* binnenruimte */
  border-left: 4px solid #900;  /* rode lijn links */
  font-style: italic;  /* schuingedrukt, optioneel */
  color: #333;         /* tekstkleur */
  background: #f9f9f9; /* lichte achtergrond */
}

h2 {
    color: #8B0000; /* zelfde diep-rood als de blockquote */
    font-size: 2em;
    margin-bottom: 20px;
}

.article-container {
    max-width: 800px;   /* zodat de regels niet te breed zijn */
    margin: 0 auto;     /* centreert de hele container op de pagina */
    padding: 0 20px;    /* zorgt voor wat lucht aan de zijkanten */
    text-align: left;   /* tekst zelf blijft netjes links uitgelijnd */
}
