@import url('https://fonts.googleapis.com/css2?family=Limelight&family=Roboto:wght@300;400;500&display=swap');

/*
Theme Name: Docentiment
Theme URI: https://example.com/
Author: Docentiment
Description: Docentiment-thema met papierachtergrond, vaste logo-overlay en kaartjesweergave voor schrijfsels en dichtsels.
Version: 1.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: docentiment
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        line-height: 1.6;
        color: #222;
    line-height: 1.6;
    color: #222;
    background-color: #fdfbf4;
    /* Blauwe lijnen + zachte vlekken voor gekreukt papier-effect */
    background-image:
        repeating-linear-gradient(#b0c4de 0px, #b0c4de 1px, transparent 1px, transparent 28px),
        radial-gradient(circle at 0 0, rgba(255,255,255,0.9) 0, transparent 55%),
        radial-gradient(circle at 100% 0, rgba(255,255,255,0.8) 0, transparent 55%),
        radial-gradient(circle at 0 100%, rgba(255,255,255,0.8) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255,255,255,0.9) 0, transparent 55%);
    background-attachment: fixed;
}

/* Rode kantlijn als margelijn */
body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 64px;
    width: 2px;
    background: rgba(210, 60, 60, 0.7);
    pointer-events: none;
    z-index: -2;
}

/* Vast logo rechts onder, licht transparant */
.background-logo {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    width: 300px;
    height: 300px;
    opacity: 0.32;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 50;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eee0c9;
    padding: 1.1rem 0;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 10;
}

.site-header .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-branding img {
    max-height: 130px;
    height: auto;
    width: auto;
    display: block;
}

.site-title {
        font-family: 'Limelight', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-family: 'Limelight', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    font-size: 1.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-description {
    margin: 0.1rem 0 0;
    font-size: 0.95rem;
    color: #555;
}

.main-navigation {
    margin-left: auto;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.4rem;
    font-size: 0.98rem;
    justify-content: flex-end;
}

.main-menu li {
    position: relative;
}

.main-menu > li > a {
        font-family: 'Limelight', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-family: 'Limelight', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    color: #222;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
}

.main-menu > li > a:hover,
.main-menu > li > a:focus,
.main-menu > li.current_page_item > a {
    border-bottom-color: #b58840;
}

.site-main {
    max-width: 1100px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Kaarten / blokken container */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.6rem;
}

/* Individuele blokken */
.post-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.post-card .entry-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem; /* overal zelfde lettergrootte */
}

.post-card .entry-title a {
    text-decoration: none;
    color: #222;
}

.post-card .entry-title a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 0.82rem;
    color: #777;
    margin-bottom: 0.7rem;
}

.post-card .entry-content {
    font-size: 0.95rem;
}

/* Pseudo-"random" variatie in grootte/positie van de blokken */
.post-grid .post-card:nth-child(3n + 1) {
    transform: translateY(-4px);
    min-height: 180px;
}

.post-grid .post-card:nth-child(4n) {
    transform: translateY(6px);
    min-height: 220px;
}

.post-grid .post-card:nth-child(5n) {
    grid-row: span 2;
}

.site-footer {
    border-top: 1px solid #eee0c9;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    z-index: 5;
}

a {
    color: #b58840;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .background-logo {
        width: 260px;
        height: 260px;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}
