/*
Theme Name: Verhalen van Rossum (vertrouwde editor)
Description: Klassiek WordPress-thema met bewerkbare pagina-inhoud, Customizer-opties en gewone berichten.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: verhalen-van-rossum
*/
:root{--rossum-green:#20392f;--rossum-green-soft:#304e40;--rossum-cream:#f5f0e5;--rossum-paper:#fffdf7;--rossum-gold:#b08a45;--rossum-brown:#49372c;--rossum-ink:#292722;--rossum-line:#ded3bf;--rossum-width:1180px;--rossum-copy:760px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rossum-cream);color:var(--rossum-ink);font:17px/1.72 Arial,Helvetica,sans-serif}a{color:var(--rossum-green-soft);text-underline-offset:3px}a:hover{color:#836428}h1,h2,h3,h4{color:var(--rossum-brown);font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.13}h1{font-size:clamp(2.5rem,5vw,4.4rem)}h2{font-size:clamp(2rem,4vw,3rem)}h3{font-size:1.5rem}.site-header{position:relative;z-index:3;background:var(--rossum-green);color:var(--rossum-cream);border-bottom:4px solid var(--rossum-gold)}.header-inner{max-width:1260px;margin:auto;padding:15px 28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 28px}.brand{display:flex;align-items:center;gap:13px;flex:0 0 auto;min-width:0}.custom-logo-link{display:block;flex:0 0 auto}.custom-logo{display:block;width:var(--rossum-logo-size);height:var(--rossum-logo-size);max-width:100%;object-fit:contain}.logo-placeholder{display:block;width:var(--rossum-logo-size);height:var(--rossum-logo-size);max-width:100%;object-fit:contain}.brand-text{min-width:0}.site-title{margin:0;color:var(--rossum-paper);font:600 1.55rem/1.1 Georgia,'Times New Roman',serif;white-space:nowrap}.site-title a{color:inherit;text-decoration:none}.site-description{margin:5px 0 0;color:#e5dcc8;font-size:.67rem;letter-spacing:.11em;text-transform:uppercase}.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.45vw,22px);flex:1 1 540px;flex-wrap:wrap}.main-nav ul,.footer-nav ul{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.45vw,22px);flex-wrap:wrap;list-style:none;padding:0;margin:0}.main-nav a{color:var(--rossum-paper);text-decoration:none;font-size:.84rem;font-weight:700}.main-nav a:hover,.main-nav a:focus{color:#e4c77c}.menu-toggle{display:none}.content-wrap{width:min(var(--rossum-width),calc(100% - 56px));margin-left:auto;margin-right:auto}.hero{position:relative;isolation:isolate;min-height:var(--rossum-hero-height,640px);padding:88px 24px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--rossum-paper);background-color:var(--rossum-green);background-image:radial-gradient(ellipse at 70% 20%,#56715b,#20392f);border-bottom:6px solid var(--rossum-gold)}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,rgba(24,46,37,.78),rgba(48,78,64,.68));pointer-events:none}.hero-inner{position:relative;z-index:1;width:100%;max-width:1050px}.hero-kicker,.eyebrow{margin:0 0 14px;color:#98783c;font-size:.75rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.hero .hero-kicker{color:#e4c77c}.hero h1{max-width:none;width:max-content;max-width:100%;margin:0 auto 17px;color:#fffdf7;font-size:clamp(1.35rem,7vw,5.25rem);white-space:nowrap;text-shadow:0 3px 20px rgba(0,0,0,.35)}.hero-subtitle{margin:0 auto 26px;color:#fffdf7;font-size:clamp(1.05rem,2.4vw,1.45rem);font-weight:600}.button,.wp-block-button__link{display:inline-block;padding:12px 21px;border:1px solid var(--rossum-gold);border-radius:3px;background:var(--rossum-green);color:var(--rossum-paper);font-weight:800;text-decoration:none}.hero .button{background:var(--rossum-cream);color:var(--rossum-green)}.button:hover,.wp-block-button__link:hover{background:var(--rossum-green-soft);color:white}.hero .button:hover{background:#e8ddc6;color:var(--rossum-green)}.section{padding:72px 0}.welcome-copy{max-width:880px}.welcome-copy .lead{font:400 1.16rem/1.75 Arial,Helvetica,sans-serif;color:#40352d}.archive-section{background:#eae2d2;border-top:1px solid #d6c9b0;border-bottom:1px solid #d6c9b0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.section-heading h2{margin:0}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:24px}.story-card{height:100%;overflow:hidden;background:var(--rossum-paper);border:1px solid var(--rossum-line);border-radius:4px;box-shadow:0 12px 30px rgba(48,38,25,.1)}.story-card-image{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#d6c9b0}.story-card-body{padding:21px}.story-card .category-label{margin:0 0 8px;color:#92733a;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.story-card h3{margin:0 0 10px;font-size:1.5rem}.story-card h3 a{color:inherit;text-decoration:none}.story-card p{margin:0 0 12px}.story-placeholder{padding:28px;background:var(--rossum-paper);border-left:4px solid var(--rossum-gold)}.story-placeholder p{margin:0}.explore-section{background:var(--rossum-paper)}.section-kicker{margin:0 0 12px;color:#98783c;font-size:.75rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px;margin-top:30px}.explore-card{height:100%;padding:24px;background:#fff;border:1px solid var(--rossum-line);border-top:4px solid var(--rossum-gold);border-radius:3px;box-shadow:0 6px 20px rgba(48,38,25,.06)}.explore-card h3{margin:0 0 10px}.explore-card p{margin:0 0 12px}.explore-card a{font-weight:700}.contribute{padding:52px 24px;background:#e8dfcd;border-top:1px solid var(--rossum-line);text-align:center}.contribute h2{margin:0 0 10px}.contribute p{max-width:680px;margin:0 auto 18px}.site-footer{padding:52px 28px 20px;background:var(--rossum-green);color:#ede5d5;border-top:6px solid var(--rossum-gold)}.footer-grid{width:min(var(--rossum-width),100%);margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr;align-items:start;gap:35px}.footer-col{min-width:0;margin:0!important;align-self:start}.site-footer h2,.site-footer h3{margin:0 0 14px;color:var(--rossum-paper);font:500 1.35rem/1.2 Georgia,'Times New Roman',serif}.site-footer h2{white-space:nowrap}.site-footer p{margin:0 0 10px;color:#d9d0be;font-size:.94rem}.site-footer a{color:#f0d99c}.footer-nav ul{display:grid;justify-content:start;gap:6px}.footer-bottom{width:min(var(--rossum-width),100%);margin:28px auto 0;padding-top:16px;border-top:1px solid rgba(228,199,124,.35);color:#d9d0be;font-size:.82rem}.footer-bottom p{margin:0}.page-main,.archive-main{width:min(var(--rossum-width),calc(100% - 56px));margin:0 auto;padding:60px 0 86px}.article-main{width:min(var(--rossum-copy),calc(100% - 48px));margin:0 auto;padding:60px 0 86px}.page-main>h1,.archive-main>h1,.article-main>h1{margin-top:0;font-size:clamp(2.5rem,5vw,4.2rem)}.page-featured-image{margin:25px 0 38px}.page-featured-image img,.article-featured-image img{width:100%;height:auto;border:5px solid var(--rossum-paper);box-shadow:0 8px 28px rgba(48,38,25,.12)}.article-meta{margin:-12px 0 24px;color:#766b5d;font-size:.9rem}.article-featured-image{margin:26px 0 34px}.article-content{font-size:1.08rem}.article-content h2,.article-content h3{margin-top:2em}.category-label{color:#92733a;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.article-tags{margin-top:30px;padding-top:18px;border-top:1px solid var(--rossum-line)}.article-tags a{margin-right:8px}.pagination{display:flex;gap:8px;margin-top:30px;flex-wrap:wrap}.pagination a,.pagination span{padding:7px 12px;background:var(--rossum-paper);border:1px solid var(--rossum-line)}.alignwide{max-width:var(--rossum-width);margin-left:auto;margin-right:auto}.alignfull{max-width:none}.wp-block-gallery{gap:16px}.wp-block-image img{border-radius:3px}.wp-block-quote{border-left:4px solid var(--rossum-gold);padding-left:22px;color:var(--rossum-brown);font:italic 1.3rem/1.5 Georgia,serif}.wp-block-separator{border-color:var(--rossum-gold)}.search-form{display:flex;gap:8px;max-width:560px}.search-form input[type=search]{flex:1;min-width:0;padding:11px;border:1px solid var(--rossum-line);background:#fff}
@media(max-width:900px){.header-inner{align-items:flex-start;flex-direction:column}.main-nav{flex:0 1 auto;width:100%;justify-content:flex-start}.main-nav ul{justify-content:flex-start}.hero{min-height:var(--rossum-hero-height,640px)}.story-grid,.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){body{font-size:16px}.header-inner{padding:13px 18px}.custom-logo,.logo-placeholder{max-width:76px;max-height:76px;width:min(var(--rossum-logo-size),76px);height:min(var(--rossum-logo-size),76px)}.site-title{font-size:1.32rem}.main-nav ul{gap:9px 15px}.main-nav a{font-size:.79rem}.hero{min-height:var(--rossum-hero-height,640px);padding:62px 18px}.hero h1{font-size:clamp(1.35rem,7vw,2.5rem)}.section{padding:50px 0}.content-wrap,.page-main,.archive-main{width:calc(100% - 40px)}.story-grid,.explore-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:24px}.site-footer{padding:42px 20px 20px}.page-main,.archive-main,.article-main{padding:45px 0 62px}.contribute{padding:42px 20px}}

/* WordPress block content: layouts remain editable in the normal page editor. */
.entry-content>*:not(.alignfull):not(.alignwide){max-width:var(--rossum-copy);margin-left:auto;margin-right:auto}
.entry-content>.alignwide{width:min(var(--rossum-width),calc(100% - 48px));margin-left:auto!important;margin-right:auto!important}
.entry-content>.alignfull{width:100%;margin-left:0!important;margin-right:0!important}
.entry-content>.wp-block-group:not(.alignfull):not(.alignwide){width:min(var(--rossum-width),calc(100% - 48px));margin-left:auto!important;margin-right:auto!important}
.entry-content .wp-block-group.section{padding:72px 0}
.entry-content .wp-block-group.archive-section{background:#eae2d2;border-top:1px solid #d6c9b0;border-bottom:1px solid #d6c9b0}
.entry-content .wp-block-group.explore-section{background:var(--rossum-paper)}
.entry-content .wp-block-group.rossum-hero{position:relative;isolation:isolate;width:100%;max-width:none;min-height:var(--rossum-hero-height,640px);padding:88px 24px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--rossum-paper);background-color:var(--rossum-green);background-image:radial-gradient(ellipse at 70% 20%,#56715b,#20392f);border-bottom:6px solid var(--rossum-gold)}
.entry-content .wp-block-group.rossum-hero:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(145deg,rgba(24,46,37,.78),rgba(48,78,64,.68));pointer-events:none}
.entry-content .wp-block-group.rossum-hero>*{position:relative;z-index:1}
.entry-content .rossum-hero h1{width:max-content;max-width:100%;margin:0 auto 17px;color:#fffdf7;font-size:clamp(1.35rem,7vw,5.25rem);white-space:nowrap;text-shadow:0 3px 20px rgba(0,0,0,.35)}
.entry-content .rossum-hero .hero-kicker{color:#e4c77c}.entry-content .rossum-hero .hero-subtitle{color:#fffdf7;font-size:clamp(1.05rem,2.4vw,1.45rem);font-weight:600}
.entry-content .rossum-hero .wp-block-button__link{background:var(--rossum-cream);color:var(--rossum-green)}
.entry-content .wp-block-group.welcome-copy{max-width:880px}
.entry-content .welcome-copy .lead{font:400 1.16rem/1.75 Arial,Helvetica,sans-serif;color:#40352d}
.entry-content .wp-block-group.content-wrap{width:min(var(--rossum-width),calc(100% - 56px));max-width:var(--rossum-width)}
.entry-content .story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:24px;padding:0;margin:25px 0;list-style:none}
.entry-content .story-grid>li{min-width:0;margin:0!important}
.entry-content .story-grid .story-card{height:100%;overflow:hidden;background:var(--rossum-paper);border:1px solid var(--rossum-line);border-radius:4px;box-shadow:0 12px 30px rgba(48,38,25,.1)}
.entry-content .story-grid .wp-block-post-featured-image{margin:0;aspect-ratio:4/3;overflow:hidden;background:#d6c9b0}
.entry-content .story-grid .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.entry-content .story-grid .story-card-body{padding:21px}
.entry-content .story-grid .wp-block-post-title{margin:0 0 10px;font:500 1.5rem/1.2 Georgia,'Times New Roman',serif}
.entry-content .story-grid .wp-block-post-title a{color:inherit;text-decoration:none}
.entry-content .story-grid .wp-block-post-excerpt{margin:0 0 12px}
.entry-content .wp-block-group.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px;margin-top:30px}
.entry-content .explore-grid>.wp-block-group{margin-block-start:0!important;min-width:0}
.entry-content .wp-block-group.explore-card{height:100%;padding:24px;background:#fff;border:1px solid var(--rossum-line);border-top:4px solid var(--rossum-gold);border-radius:3px;box-shadow:0 6px 20px rgba(48,38,25,.06)}
.entry-content .explore-card h3{margin:0 0 10px}.entry-content .explore-card p{margin:0 0 12px}
.entry-content .wp-block-group.contribute{width:100%;max-width:none;padding:52px 24px;background:#e8dfcd;border-top:1px solid var(--rossum-line);text-align:center}
.entry-content .wp-block-group.contribute>*{max-width:680px;margin-left:auto;margin-right:auto}
@media(max-width:900px){.entry-content .story-grid,.entry-content .wp-block-group.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-content .wp-block-group.rossum-hero{min-height:var(--rossum-hero-height,640px)}}
@media(max-width:600px){.entry-content .story-grid,.entry-content .wp-block-group.explore-grid{grid-template-columns:1fr}.entry-content .wp-block-group.rossum-hero{min-height:var(--rossum-hero-height,640px);padding:62px 18px}.entry-content .wp-block-group.rossum-hero h1{font-size:clamp(1.35rem,7vw,2.5rem)}.entry-content .wp-block-group.section{padding:50px 0}.entry-content .wp-block-group.content-wrap{width:calc(100% - 40px)}}

/* Keep the editable homepage sections wide; only prose uses the reading measure. */
.entry-content>.wp-block-group.section{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.entry-content .wp-block-group.welcome-copy{width:min(980px,calc(100% - 56px));max-width:980px;margin-left:auto!important;margin-right:auto!important}
.entry-content .wp-block-group.content-wrap{width:min(var(--rossum-width),calc(100% - 56px))!important;max-width:var(--rossum-width)!important;margin-left:auto!important;margin-right:auto!important}
.entry-content .story-grid{display:grid!important;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:24px;padding:0!important;margin:25px 0;list-style:none!important}
.entry-content .story-grid>li{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
.entry-content .wp-block-group.explore-grid{display:grid!important;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px;margin-top:30px}
.entry-content .explore-grid>.wp-block-group{width:auto!important;max-width:none!important;margin-block-start:0!important;min-width:0}
@media(max-width:900px){.entry-content .story-grid,.entry-content .wp-block-group.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.entry-content .story-grid,.entry-content .wp-block-group.explore-grid{grid-template-columns:1fr}.entry-content .wp-block-group.welcome-copy,.entry-content .wp-block-group.content-wrap{width:calc(100% - 40px)!important}}

/* Compact section tiles, matching the earlier homepage card treatment. */
.entry-content .wp-block-group.explore-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;align-items:stretch}
.entry-content .explore-grid>.wp-block-group.explore-card{display:flex;flex-direction:column;align-self:stretch;height:auto!important;padding:17px 19px!important;gap:7px}
.entry-content .explore-grid>.wp-block-group.explore-card>*{width:100%;max-width:none;margin:0!important}
.entry-content .explore-grid>.wp-block-group.explore-card h3{margin:0 0 2px!important;font-size:1.28rem;line-height:1.22}
.entry-content .explore-grid>.wp-block-group.explore-card p{margin:0!important;font-size:.95rem;line-height:1.5}
.entry-content .explore-grid>.wp-block-group.explore-card p:last-child{margin-top:5px!important}
@media(max-width:900px){.entry-content .wp-block-group.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.entry-content .wp-block-group.explore-grid{grid-template-columns:1fr}.entry-content .explore-grid>.wp-block-group.explore-card{padding:16px!important}}

/* Explicit compact flex layout prevents block-editor group sizing from stretching tiles. */
.entry-content .wp-block-group.explore-grid{display:flex!important;flex-flow:row wrap!important;align-items:flex-start!important;align-content:flex-start!important;grid-template-columns:none!important;grid-auto-rows:auto!important;width:100%!important;max-width:none!important;margin:30px 0 0!important;gap:18px!important}
.entry-content .explore-grid>.wp-block-group.explore-card{box-sizing:border-box;display:flex!important;flex:0 1 calc((100% - 36px)/3)!important;flex-direction:column;justify-content:flex-start;align-self:flex-start!important;width:calc((100% - 36px)/3)!important;max-width:calc((100% - 36px)/3)!important;height:auto!important;max-height:none!important;margin:0!important;padding:17px 19px!important;gap:7px;overflow:visible}
.entry-content .explore-grid>.wp-block-group.explore-card>*{flex:0 0 auto;width:100%;max-width:none;margin:0!important}
.entry-content .explore-grid>.wp-block-group.explore-card h3{margin:0 0 2px!important;font-size:1.28rem;line-height:1.22}
.entry-content .explore-grid>.wp-block-group.explore-card p{margin:0!important;font-size:.95rem;line-height:1.5}
.entry-content .explore-grid>.wp-block-group.explore-card p:last-child{margin-top:5px!important}
@media(max-width:900px){.entry-content .explore-grid>.wp-block-group.explore-card{flex-basis:calc((100% - 18px)/2)!important;width:calc((100% - 18px)/2)!important;max-width:calc((100% - 18px)/2)!important}}
@media(max-width:600px){.entry-content .explore-grid>.wp-block-group.explore-card{flex-basis:100%!important;width:100%!important;max-width:100%!important;padding:16px!important}}

/* User-requested fixed three-column compact topic blocks. */
.entry-content .wp-block-group.explore-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-rows:min-content!important;align-items:start!important;align-content:start!important;justify-content:stretch!important;width:100%!important;max-width:none!important;margin:30px auto 16px!important;gap:14px!important}
.entry-content .explore-grid>.wp-block-group.explore-card{display:block!important;box-sizing:border-box!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:14px!important;align-self:start!important;justify-self:stretch!important;overflow-wrap:anywhere}
.entry-content .explore-grid>.wp-block-group.explore-card>*{width:auto!important;max-width:none!important;margin:0 0 7px!important}
.entry-content .explore-grid>.wp-block-group.explore-card h3{font-size:clamp(.9rem,1.3vw,1.2rem)!important;line-height:1.2!important}
.entry-content .explore-grid>.wp-block-group.explore-card p{font-size:clamp(.75rem,1vw,.92rem)!important;line-height:1.4!important}
.entry-content .explore-grid>.wp-block-group.explore-card p:last-child{margin-bottom:0!important}

/* Native core/columns block guarantees three editable topic columns. */
.entry-content .wp-block-columns.explore-columns{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:stretch!important;gap:14px!important;width:100%!important;max-width:none!important;margin:30px auto 0!important}
.entry-content .wp-block-columns.explore-columns>.wp-block-column{flex:1 1 0%!important;flex-basis:0!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important}
.entry-content .explore-columns .wp-block-group.explore-card{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:14px!important;align-self:stretch!important;overflow-wrap:anywhere;background:#fff;border:1px solid var(--rossum-line);border-top:4px solid var(--rossum-gold);border-radius:3px;box-shadow:0 6px 20px rgba(48,38,25,.06)}
.entry-content .explore-columns .explore-card>*{width:auto!important;max-width:none!important;margin:0 0 7px!important}
.entry-content .explore-columns .explore-card h3{font-size:clamp(.85rem,1.2vw,1.18rem)!important;line-height:1.2!important}
.entry-content .explore-columns .explore-card p{font-size:clamp(.72rem,.95vw,.9rem)!important;line-height:1.4!important}
.entry-content .explore-columns .explore-card p:last-child{margin-bottom:0!important}

.entry-content .wp-block-columns.explore-columns+.wp-block-columns.explore-columns{margin-top:14px!important}
