/*
Theme Name: Sjtank Op!
Description: WordPress-thema voor de benefietavond van Stichting Vieren.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: sjtank-op
*/
:root { color-scheme: light; --red: #bd0020; --ink: #171313; --paper: #fff; --soft: #f6f1f1 }
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif }
a { color: var(--red); text-underline-offset: .2em }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px }
img { max-width: 100%; height: auto }
.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto }
.narrow { width: min(48rem, calc(100% - 2.5rem)); margin-inline: auto }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 3 }
.skip:focus { top: 1rem; background: white; padding: .5rem }
.site-header { background: var(--ink); color: white; border-bottom: .3rem solid #e50019 }
.header-inner { min-height: 5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; padding-block: .65rem }
.brand { display: flex; align-items: center }
.brand img, .hero-logo { background: #fff url('assets/sjtank-op-stralen.png') center / cover no-repeat }
.brand img { width: 10rem; display: block }
nav ul { display: flex; flex-wrap: wrap; gap: .15rem 1.25rem; padding: 0; margin: 0; list-style: none }
nav a { display: block; padding-block: .45rem; color: white; font-weight: 700; text-decoration: none }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline }
.hero { background: var(--paper); padding: clamp(2.5rem, 9vw, 8rem) 1.25rem; text-align: center }
.hero-logo { display: block; width: min(100%, 56rem); margin: .75rem auto }
.edition { display: inline-block; background: var(--ink); color: white; padding: .45rem .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em }
.hero h1 { margin: 0 }
.hero-copy { display: inline-block; background: var(--ink); color: white; padding: .45rem .8rem; font-weight: 750 }
.event { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2rem; padding-block: 2rem }
.event h2, .event p { margin: 0 }
.button { display: inline-block; background: var(--red); color: white; text-decoration: none; font-weight: 750; padding: .75rem 1.15rem; text-align: center }
.button:hover { background: #900019 }
.page-body { padding-block: clamp(2rem, 6vw, 5rem); overflow-wrap: anywhere }
h1,h2,h3 { line-height: 1.12 }
.page-body h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); margin: 0 0 1.5rem }
.page-body h1::after { display: block; content: ''; width: 3rem; height: .3rem; background: #e50019; margin-top: 1rem }
.site-footer { background: var(--ink); color: white; padding-block: 1.25rem }
.site-footer p { margin: 0 }
@media (max-width: 540px) {
  .event { grid-template-columns: 1fr }
  .event .button { justify-self: start }
}
