/*
Theme Name: Vox Laude
Theme URI: https://voxlaude.nl/
Author: Vox Laude
Description: Elegant WordPress theme for the Christian mixed choir Vox Laude from Genemuiden.
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: voxlaude
*/

/* Brand colors, layout and readable typography. */
:root {
    --burgundy: #50182C;
    --burgundy-dark: #32101E;
    --gold: #D99B2B;
    --gold-pale: #F5DCA7;
    --gold-ink: #825519;
    --ivory: #FAF8F3;
    --ivory-deep: #F4EEE7;
    --blush: #F7F1EE;
    --ink: #1B303C;
    --muted: #5D676A;
    --line: #E9DED8;
    --white: #FFFFFF;
    --shadow-soft: 0 12px 34px rgba(50, 16, 30, .065);
    --shadow: 0 24px 58px rgba(50, 16, 30, .11);
    --radius: 18px;
    --content-width: 1180px;
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.74 var(--font-body); -webkit-font-smoothing: antialiased; }
main { overflow: clip; }
img { max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--gold-pale); color: var(--burgundy-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--white); color: var(--burgundy); border-radius: 10px; padding: 10px 16px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

/* Navigation and built-in official brand artwork. */
.site-topbar { background: var(--burgundy-dark); color: #F1D8D8; min-height: 35px; }
.topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .1em; }
.topbar-inner > span { display: inline-flex; align-items: center; }
.topbar-dot { display: inline-block; flex: none; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-right: 10px; }
.topbar-secondary { color: #D8BAC3; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(250,248,243,.975); border-bottom: 1px solid var(--line); box-shadow: 0 10px 32px rgba(45,20,25,.035); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.nav-wrap { min-height: 104px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo-image { display: block; width: auto; height: 94px; max-width: 180px; object-fit: contain; }
.brand-caption { padding-left: 17px; border-left: 1px solid #DBCCC3; color: var(--burgundy); font-size: 11px; font-weight: 750; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.brand-caption span { color: var(--muted); font-weight: 450; letter-spacing: .08em; }
.primary-navigation { margin-left: auto; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px,1.65vw,23px); padding: 0; margin: 0 0 0 auto; list-style: none; }
.nav-links li { position: relative; list-style: none; }
.nav-links a { position: relative; display: inline-block; padding: 13px 0; color: var(--burgundy-dark); font-size: 13px; font-weight: 650; line-height: 1.3; white-space: nowrap; transition: color .2s ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; bottom: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover, .nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--burgundy); }
.nav-links a:hover::after, .nav-links .current-menu-item > a::after, .nav-links .current_page_item > a::after, .nav-links .current_page_ancestor > a::after { transform: scaleX(1); }
.nav-links .sub-menu { position: absolute; top: 100%; left: -18px; z-index: 90; min-width: 185px; padding: 10px 18px; margin: 0; list-style: none; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: none; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { padding: 12px 0; }
.menu-toggle { display: none; align-items: center; gap: 12px; background: transparent; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; color: var(--burgundy); font-size: 13px; font-weight: 700; }
.menu-lines { display: grid; gap: 4px; }
.menu-lines i { width: 20px; height: 2px; background: currentColor; display: block; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open .menu-lines i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-lines i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-lines i:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Shared headings, buttons, spacing. */
.section { padding: clamp(72px,7.2vw,110px) 0; }
.section-light { background: var(--ivory-deep); }
.eyebrow { display: inline-block; color: var(--burgundy); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-gold { color: var(--gold-pale); }
.section-title { color: var(--burgundy-dark); font: 400 clamp(38px,4.5vw,61px)/1.12 var(--font-serif); letter-spacing: -.035em; margin: 16px 0 22px; }
.section-title em { color: var(--burgundy); font-weight: 400; }
.lead { color: var(--muted); font-size: clamp(17px,1.55vw,19px); line-height: 1.7; max-width: 680px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 33px; }
.section-heading .section-title { margin-bottom: 0; }
.section-heading.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 0; margin-bottom: 48px; }
.section-heading.center .lead { margin-bottom: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 49px; padding: 12px 24px; border: 1px solid transparent; border-radius: 100px; font-size: 13px; font-weight: 750; letter-spacing: .015em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(50, 16, 30, .11); text-decoration: none; }
.btn-gold { color: var(--burgundy-dark); background: var(--gold); }
.btn-gold:hover { background: #E7AC43; }
.btn-primary { color: #fff; background: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-dark); }
.btn-outline { color: var(--burgundy); background: transparent; border-color: #BB9DA8; }
.btn-outline:hover { border-color: var(--burgundy); }
.btn-ghost { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.045); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-light { color: var(--burgundy); background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--burgundy); font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--gold); padding-bottom: 5px; text-decoration: none; transition: gap .2s ease; }
.text-link:hover { gap: 20px; text-decoration: none; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); gap: clamp(34px,6.1vw,84px); align-items: center; }
.two-col > *, .page-intro-grid > *, .media-home-grid > * { min-width: 0; }

/* Editorial homepage with the supplied choir photograph. */
.hero { position: relative; color: #fff; background: linear-gradient(90deg, rgba(50,16,30,.95) 0%, rgba(50,16,30,.87) 29%, rgba(50,16,30,.47) 66%, rgba(50,16,30,.17) 100%), url('assets/photos/koor-zonsondergang.jpg') center 54%/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 61%, rgba(28,10,18,.48) 100%); pointer-events: none; }
.hero-inner { min-height: 620px; padding: 95px 0 84px; position: relative; display: grid; align-items: center; grid-template-columns: minmax(0,730px) minmax(0,1fr); gap: 46px; }
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #F5DCA7; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-line { display: block; width: 33px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 730px; font: 400 clamp(57px,6.6vw,91px)/1.015 var(--font-serif); letter-spacing: -.048em; margin: 23px 0 24px; text-wrap: balance; }
.hero-copy > p { max-width: 550px; color: #F9EDE7; font-size: clamp(17px,1.6vw,19px); line-height: 1.7; margin-bottom: 31px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-note { align-self: end; margin-bottom: 18px; justify-self: end; width: min(100%, 258px); padding: 24px 23px; color: #FFF; background: rgba(49,15,30,.63); border: 1px solid rgba(255,231,185,.38); backdrop-filter: blur(8px); box-shadow: 0 20px 52px rgba(0,0,0,.15); }
.hero-note-small { display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #F4DEC6; }
.hero-note-rule { display: block; width: 40px; height: 1px; margin: 17px 0 19px; background: var(--gold); }
.hero-note strong { display: block; font: italic 400 31px/1.18 var(--font-serif); margin-bottom: 16px; }
.hero-note > span:last-child { color: #EDD9CF; font-size: 12px; }
.hero-bottom-bar { position: relative; z-index: 1; background: rgba(37,9,23,.86); border-top: 1px solid rgba(255,255,255,.12); }
.hero-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 0; font-size: 11px; letter-spacing: .105em; text-transform: uppercase; color: #EEDCD3; }
.hero-bottom-inner span:first-child { color: #F1C77B; font-weight: 800; }

/* Koor introduction and understated statistics. */
.welcome-section { background: var(--ivory); }
.welcome-layout p:not(.lead) { color: var(--muted); }
.welcome-layout .text-link { margin-top: 18px; }
.intro-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 39px; padding-top: 25px; border-top: 1px solid var(--line); }
.intro-facts > div { display: grid; gap: 4px; }
.intro-facts strong { color: var(--burgundy); font: 400 22px var(--font-serif); }
.intro-facts span { color: var(--muted); font-size: 12px; }
.home-photo { background: #eee8e1; border-radius: 4px 52px 4px 4px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.home-photo::before { content: ''; position: absolute; z-index: 2; width: 120px; height: 120px; border-right: 2px solid var(--gold); border-top: 2px solid var(--gold); border-radius: 0 52px 0 0; top: 0; right: 0; pointer-events: none; }
.home-photo img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 50% 45%; }
.home-photo figcaption { color: var(--burgundy); background: #fff; padding: 11px 17px; font-size: 12px; }

/* Three core values. */
.values-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.value-card { padding: 37px 35px; background: #fff; border: 1px solid #E6D9D2; border-top: 3px solid var(--gold); border-radius: 5px; box-shadow: var(--shadow-soft); transition: transform .22s ease, box-shadow .22s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-number { color: #B88A4D; font: 400 16px var(--font-serif); }
.value-card h3 { color: var(--burgundy); font: 400 31px var(--font-serif); margin: 19px 0 13px; }
.value-card p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* Upcoming concerts and a warm music gallery. */
.vl-concert-grid { display: grid; gap: 14px; margin: 28px 0 0; }
.vl-concert-card { min-width: 0; display: grid; grid-template-columns: 97px minmax(0,1fr); align-items: center; gap: 28px; padding: 21px 27px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); transition: border-color .2s ease; }
.vl-concert-card:hover { border-color: #CBA8AA; }
.vl-concert-date { align-self: stretch; min-height: 107px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; background: var(--burgundy); border-radius: 7px; color: var(--gold-pale); text-align: center; }
.vl-concert-date strong { display: block; font: 400 45px/1.02 var(--font-serif); color: #fff; }
.vl-concert-date span { margin-top: 7px; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.vl-concert-detail h3 { color: var(--burgundy-dark); font: 400 29px/1.2 var(--font-serif); margin: 0 0 8px; }
.vl-concert-detail p { color: var(--muted); font-size: 14px; margin: 4px 0; }
.vl-concert-detail .text-link { margin-top: 14px; }
.vl-concert-description { color: var(--muted); font-size: 14px; }
.vl-concert-description p { margin: 10px 0 0; }
.media-home-section { background: var(--blush); }
.media-home-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(35px,5vw,70px); align-items: center; }
.media-home-grid .lead { margin-bottom: 26px; }
.recording-teasers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.recording-teaser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.recording-teaser > a { display: block; height: 100%; }
.recording-teaser-image, .recording-teaser-art { width: 100%; height: 170px; object-fit: cover; display: block; }
.recording-teaser-art { display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #9F6777 0%, var(--burgundy) 43%, var(--burgundy-dark) 100%); }
.play-shape { display: block; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; position: relative; }
.play-shape::before { content: ''; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.recording-teaser-info { padding: 18px 21px 22px; }
.recording-teaser-info h3 { color: var(--burgundy-dark); font: 400 23px/1.23 var(--font-serif); margin: 10px 0 16px; }
.recording-teaser-info .text-link { font-size: 12px; }
.sponsors-home-section { background: var(--ivory); }
.sponsor-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.slider-actions { display: flex; gap: 7px; }
.slider-arrow { background: #fff; color: var(--burgundy); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s; }
.slider-arrow:hover { background: var(--burgundy); color: #fff; }
.vl-sponsors-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(188px,1fr)); gap: 16px; margin: 23px 0 20px; }
.vl-sponsors-grid.vl-sponsors-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 225px; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; padding-bottom: 12px; }
.vl-sponsor-card { min-width: 0; min-height: 152px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: 12px; scroll-snap-align: start; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.vl-sponsor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vl-sponsor-card a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 96px; }
.vl-sponsor-card strong { color: var(--burgundy); font-size: 17px; }
.vl-sponsor-image { display: block; max-height: 95px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Final call to action uses the music motif without a stock image. */
.join-section { position: relative; overflow: hidden; background: var(--burgundy); color: #fff; padding: clamp(72px,8.5vw,120px) 0; }
.join-section::before { content: ''; position: absolute; top: 14%; right: -7%; width: 470px; height: 470px; border-radius: 50%; border: 1px solid rgba(245,220,167,.28); box-shadow: 0 0 0 55px rgba(245,220,167,.045), 0 0 0 110px rgba(245,220,167,.04), 0 0 0 165px rgba(245,220,167,.03); pointer-events: none; }
.join-inner { position: relative; z-index: 1; }
.join-inner h2 { max-width: 800px; color: #fff; font: 400 clamp(45px,6.2vw,76px)/1.1 var(--font-serif); letter-spacing: -.035em; margin: 18px 0; }
.join-inner h2 em { font-weight: 400; color: var(--gold-pale); }
.join-inner p { max-width: 500px; color: #F2DDE1; font-size: 18px; margin-bottom: 28px; }

/* Individual WordPress pages and native Gutenberg content. */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--burgundy-dark), var(--burgundy) 74%); color: #fff; padding: clamp(67px,6vw,87px) 0; }
.page-hero::after { content: ''; position: absolute; top: -150px; right: 11%; width: 450px; height: 450px; border: 1px solid rgba(241,195,115,.22); border-radius: 50%; box-shadow: 0 0 0 55px rgba(241,195,115,.035), 0 0 0 115px rgba(241,195,115,.03); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.page-hero h1 { font: 400 clamp(46px,6vw,76px)/1.07 var(--font-serif); letter-spacing: -.035em; margin: 14px 0 0; }
.page-hero p { max-width: 630px; color: #F0DDE3; margin: 17px 0 0; }
.page-content { min-height: 350px; }
.entry-content { color: var(--ink); }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .page-content h2 { color: var(--burgundy-dark); font: 400 36px/1.24 var(--font-serif); }
.entry-content h3, .page-content h3 { font-family: var(--font-serif); }
.entry-content p, .entry-content li { font-size: 16px; line-height: 1.8; }
.entry-content a, .page-content a:not(.btn):not(.text-link) { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content img { border-radius: 7px; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.narrow-content { max-width: 760px; }
.page-intro-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(265px,.85fr); gap: clamp(30px,5vw,64px); align-items: start; }
.info-panel { background: var(--ivory-deep); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: clamp(25px,3vw,37px); border-radius: 5px 16px 16px 5px; }
.info-panel h2 { color: var(--burgundy); font: 400 31px/1.23 var(--font-serif); margin: 13px 0 25px; }
.info-panel dl { margin: 0; }
.info-panel dt { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.info-panel dd { margin: 0 0 21px; color: var(--burgundy-dark); font-size: 16px; font-weight: 650; }
.info-panel dd:last-child { margin-bottom: 0; }
.info-panel p { margin-bottom: 21px; color: var(--muted); }
.info-panel p strong { color: var(--burgundy); }
.info-panel p:last-child { margin-bottom: 0; }
.choir-gallery { margin-top: 80px; }
.choir-gallery-grid { display: grid; grid-template-columns: 1.2fr .83fr; grid-template-rows: 245px 245px; gap: 17px; }
.choir-gallery-grid figure { margin: 0; overflow: hidden; border-radius: 11px; background: #EDE5DE; }
.choir-gallery-grid .gallery-portrait { grid-column: 2; grid-row: 1 / span 2; }
.choir-gallery-grid .gallery-landscape:last-child { grid-column: 1; grid-row: 2; }
.choir-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.choir-gallery-grid figure:hover img { transform: scale(1.025); }
.photo-credit { color: var(--muted); font-size: 12px; margin-top: 10px; }
.directory-section { margin-top: 48px; }
.directory-title { margin: 0 0 24px; }
.compact-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 42px; padding: 22px 0; border-top: 1px solid var(--line); }
.compact-cta p { color: var(--burgundy-dark); font: 400 22px var(--font-serif); margin: 0; }

/* Board profile cards: no made-up names or photos. */
.vl-board-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(235px,1fr)); gap: 20px; margin-top: 26px; }
.vl-board-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }
.vl-board-image, .vl-board-avatar { width: 100%; height: 290px; display: block; object-fit: cover; }
.vl-board-avatar { display: grid; place-items: center; background: linear-gradient(140deg, #704153, var(--burgundy-dark)); font: italic 400 105px var(--font-serif); color: var(--gold-pale); }
.vl-board-body { padding: 25px; }
.vl-board-body h3 { color: var(--burgundy-dark); font: 400 28px/1.2 var(--font-serif); margin: 9px 0; }
.vl-board-body p { margin: 0; color: var(--muted); font-size: 14px; }

/* Music and video players: native WordPress blocks, fully fluid. */
.recordings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 22px; margin-top: 27px; }
.recording-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); }
.recording-content { padding: 26px; }
.recording-label { display: inline-block; color: var(--burgundy); background: var(--ivory-deep); border-radius: 30px; padding: 5px 11px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.recording-content h3 { color: var(--burgundy-dark); font: 400 28px/1.22 var(--font-serif); margin: 12px 0; }
.recording-summary { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.recording-player { max-width: 100%; overflow-wrap: anywhere; }
.recording-player iframe, .recording-player video, .single-entry iframe { width: 100%; max-width: 100%; }
.recording-player iframe, .single-entry iframe { display: block; height: auto; aspect-ratio: 16/9; border: 0; }
.recording-player audio { width: 100%; max-width: 100%; }
.recording-player .wp-block-embed, .recording-player .wp-block-video, .recording-player .wp-block-audio { margin: 10px 0 0; }
.recording-player .wp-block-embed__wrapper { position: relative; }
.recording-player figcaption { color: var(--muted); font-size: 13px; }
.recording-pagination ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 32px 0 0; }
.recording-pagination a, .recording-pagination span { display: inline-block; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.recording-pagination .current { color: #fff; background: var(--burgundy); border-color: var(--burgundy); }
.media-empty-state { background: #fff; border: 1px dashed #D8C4BE; border-radius: 13px; padding: 38px 42px; color: var(--muted); }
.media-empty-state strong { display: block; color: var(--burgundy-dark); font: 400 26px var(--font-serif); }
.media-empty-state p { font-size: 15px; margin: 6px 0 0; }
.media-empty-inline { background: rgba(255,255,255,.74); }
.single-featured-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 12px; margin-bottom: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.panel { padding: 31px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
.panel h2 { font: 400 28px var(--font-serif); margin: 0 0 10px; }

/* Contact page with accessible form labels. */
.contact-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.83fr); align-items: start; gap: 32px; margin-top: 35px; }
.contact-form-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-soft); }
.contact-form-card h2 { margin: 0 0 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-field { margin-bottom: 19px; }
.form-field label { display: block; font-size: 13px; font-weight: 750; color: var(--burgundy-dark); margin-bottom: 6px; }
.form-field input, .form-field textarea { display: block; width: 100%; padding: 11px 14px; color: var(--ink); background: #FFFEFC; border: 1px solid #DCCAC6; border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(80,24,44,.08); }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-disclaimer { color: var(--muted); font-size: 12px; margin: 4px 0 21px; }
.notice { background: #E6F3EA; color: #21543B; border-radius: 9px; padding: 15px 18px; margin-bottom: 20px; }
.notice.error { background: #FFF0EA; color: #8C2B2B; }

/* Footer and the original transparent logo. */
.site-footer { background: var(--burgundy-dark); color: #FFF5EF; padding-top: 70px; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(150px,.72fr) minmax(220px,.85fr); gap: clamp(28px,6vw,92px); padding-bottom: 65px; }
.footer-about p { max-width: 345px; color: #DFC9CF; font-size: 14px; }
.footer-logo-card { display: inline-flex; align-items: center; justify-content: center; width: 215px; padding: 8px 12px; background: var(--ivory); border-radius: 8px; margin-bottom: 12px; }
.footer-logo-card img { display: block; width: 190px; height: auto; }
.site-footer h2 { color: var(--gold-pale); font: 400 23px var(--font-serif); margin: 10px 0 18px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.site-footer p, .site-footer a { font-size: 14px; }
.site-footer a, .footer-links a { color: #F0DEE4; transition: color .2s; }
.site-footer a:hover { color: var(--gold-pale); }
.site-footer p { color: #DFC9CF; }
.footer-email { overflow-wrap: anywhere; }
.footer-contact { display: inline-flex; gap: 8px; margin-top: 9px; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-top: 1px solid rgba(255,255,255,.13); padding: 20px 0 26px; color: #CAB4BB; font-size: 12px; }

/* Motion enhancement is optional: no JavaScript means visible content. */
.reveal.motion-active { opacity: 1; transform: translateY(12px); transition: transform .58s ease; }
.reveal.motion-active.is-visible { opacity: 1; transform: none; }

@media (max-width: 1140px) {
    .brand-caption { display: none; }
    .nav-wrap { gap: 12px; }
}
@media (max-width: 1020px) {
    .nav-wrap { justify-content: space-between; min-height: 87px; }
    .brand-logo-image { height: 79px; max-width: 148px; }
    .menu-toggle { display: inline-flex; }
    .nav-links { display: none; position: absolute; z-index: 90; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 92px); overflow-y: auto; flex-direction: column; gap: 0; align-items: stretch; padding: 10px max(24px,calc((100vw - var(--content-width))/2)) 18px; background: rgba(250,248,243,.99); border-top: 1px solid var(--line); border-bottom: 2px solid var(--gold); box-shadow: 0 22px 36px rgba(50,16,30,.15); }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 13px 0; font-size: 15px; }
    .nav-links .sub-menu { display: block; position: static; padding: 0 0 5px 15px; margin: 0; box-shadow: none; border: 0; background: transparent; }
    .hero-inner { grid-template-columns: 1fr; min-height: 610px; }
    .hero-note { display: none; }
    .hero h1 { max-width: 700px; }
    .two-col, .media-home-grid { gap: 37px; }
}
@media (max-width: 800px) {
    .section { padding: 70px 0; }
    .two-col, .media-home-grid, .page-intro-grid, .contact-layout { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .value-card { padding: 29px; }
    .home-photo img { height: 430px; }
    .recording-teasers { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-about { grid-column: 1 / -1; }
    .choir-gallery-grid { grid-template-rows: 215px 215px; }
}
@media (max-width: 600px) {
    .container { width: min(var(--content-width), calc(100% - 34px)); }
    .topbar-inner { min-height: 31px; font-size: 10px; letter-spacing: .02em; }
    .topbar-secondary { display: none !important; }
    .admin-bar .site-header { top: 46px; }
    .nav-wrap { min-height: 77px; }
    .brand-logo-image { height: 70px; max-width: 128px; }
    .nav-links { padding-left: 17px; padding-right: 17px; }
    .hero { background: linear-gradient(90deg, rgba(50,16,30,.92), rgba(50,16,30,.5)), url('assets/photos/koor-zonsondergang.jpg') 53% center/cover no-repeat; }
    .hero-inner { min-height: 570px; padding: 66px 0; }
    .hero h1 { font-size: clamp(48px,10.7vw,66px); }
    .hero-copy > p { max-width: 420px; font-size: 16px; }
    .hero-eyebrow { font-size: 10px; letter-spacing: .12em; }
    .hero-actions { gap: 10px; }
    .btn { min-height: 46px; padding: 11px 18px; }
    .hero-bottom-inner { justify-content: space-between; font-size: 10px; }
    .hero-bottom-inner span:nth-child(2) { display: none; }
    .section-heading { flex-direction: column; align-items: start; gap: 14px; }
    .section-heading.center { align-items: center; }
    .section-title { font-size: clamp(36px,9vw,49px); }
    .intro-facts { gap: 20px; }
    .home-photo img { height: 315px; }
    .recording-teasers, .recordings-grid, .form-grid, .news-grid { grid-template-columns: 1fr; }
    .recording-teaser-image, .recording-teaser-art { height: 205px; }
    .vl-sponsors-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
    .vl-sponsor-card { min-height: 130px; padding: 15px; }
    .vl-sponsors-grid.vl-sponsors-rail { grid-template-columns: none; grid-auto-columns: 180px; }
    .join-section::before { right: -66%; }
    .join-inner h2 { font-size: clamp(42px,10vw,57px); }
    .page-hero { padding: 62px 0; }
    .page-hero h1 { font-size: 48px; }
    .choir-gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
    .choir-gallery-grid figure, .choir-gallery-grid .gallery-portrait, .choir-gallery-grid .gallery-landscape:last-child { grid-column: auto; grid-row: auto; }
    .choir-gallery-grid img { height: auto; max-height: 580px; object-fit: contain; }
    .vl-concert-card { grid-template-columns: 75px 1fr; gap: 15px; padding: 15px; }
    .vl-concert-date { min-height: 94px; }
    .vl-concert-date strong { font-size: 35px; }
    .vl-concert-detail h3 { font-size: 23px; }
    .vl-board-grid { grid-template-columns: 1fr; }
    .vl-board-image, .vl-board-avatar { height: 330px; }
    .contact-form-card, .info-panel { padding: 25px; }
    .media-empty-state { padding: 28px 24px; }
    .footer-main { grid-template-columns: 1fr; gap: 25px; padding-bottom: 43px; }
    .footer-about { grid-column: auto; }
    .footer-bottom { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal.motion-active { opacity: 1; transform: none; }
}

/* Version 1.6: give the full choir wordmark enough space to remain legible. */
.nav-wrap { min-height: 154px; gap: 20px; }
.brand-caption { display: none; }
.brand { max-width: min(var(--logo-width, 305px), 29vw); }
.brand-logo-image {
    width: min(var(--logo-width, 305px), 29vw);
    height: auto;
    max-height: 166px;
    max-width: none;
    object-fit: contain;
}
.footer-logo-card { width: 280px; padding: 11px 15px; }
.footer-logo-card img { width: 250px; }
.vl-concert-undated .vl-concert-date { background: var(--burgundy-dark); }
.vl-concert-undated .vl-concert-date strong { font-size: 50px; }
.vl-concert-archive { margin-top: 60px; }
.vl-concert-archive .vl-concert-card { background: var(--ivory-deep); }
.vl-concert-archive .vl-concert-date { background: #78505D; }
@media (max-width: 1020px) {
    .nav-wrap { min-height: 122px; }
    .brand { max-width: min(245px, 52vw); }
    .brand-logo-image { width: min(245px, 52vw); max-height: 138px; }
}
@media (max-width: 600px) {
    .nav-wrap { min-height: 111px; gap: 9px; }
    .brand { max-width: min(228px, 54vw); }
    .brand-logo-image { width: min(228px, 54vw); max-height: 125px; }
}
@media (max-width: 360px) {
    .brand, .brand-logo-image { width: min(190px, 52vw); }
    .menu-toggle { padding: 8px 9px; }
}


/* Version 1.7 — in-page YouTube players and polished media cards. */
.recording-player-youtube { background: var(--burgundy-dark); }
.voxlaude-youtube-embed {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1c0b13;
}
.recording-player .voxlaude-youtube-embed iframe,
.recording-single-player .voxlaude-youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    aspect-ratio: auto;
}
.recording-card { transition: transform .22s ease, box-shadow .22s ease; }
.recording-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.recording-content { padding: 25px 28px 29px; }
.recording-content h3 { margin: 14px 0 10px; }
.recording-content h3 a:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: .15em; }
.recording-summary { margin-bottom: 15px; }
.recording-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--burgundy);
    text-decoration: none;
    letter-spacing: .01em;
}
.recording-detail-link:hover { color: var(--burgundy-dark); text-decoration: underline; }
.recording-player-legacy { padding: 18px 20px; background: var(--ivory); }
.recording-player-legacy > :first-child { margin-top: 0; }
.recording-player-legacy > :last-child { margin-bottom: 0; }
.recording-player-legacy .wp-block-embed,
.recording-player-legacy .wp-block-video,
.recording-player-legacy .wp-block-audio { margin: 0; }
.recording-card-photo, .recording-card-art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.recording-card-art { display: grid; place-items: center; background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark)); }
.recording-single-player { overflow: hidden; border-radius: 13px; margin-bottom: 30px; box-shadow: var(--shadow); }
.recording-teaser-video { position: relative; overflow: hidden; }
.recording-teaser-video .recording-teaser-image { object-fit: cover; }
.recording-teaser-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 58px; height: 58px;
    background: rgba(80,24,44,.88);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(0,0,0,.22);
}
.recording-teaser-play::after {
    content: '';
    position: absolute;
    top: 18px; left: 23px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
}
@media (max-width: 600px) {
    .recording-content { padding: 22px; }
    .recording-content h3 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .recording-card { transition: none; } }

.recording-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.recording-youtube-link { font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.recording-youtube-link:hover { color: var(--burgundy); }
.recording-single-external { margin: -13px 0 26px; font-size: 13px; }
