/* Nocturne — WordPress-specific additions (loaded after nocturne.css) */

/* Admin bar offset */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* Custom logo in the wordmark slot */
.wordmark .logo { height: 34px; width: auto; }
/* Brand logo (assets/img/logo*.svg, change add-brand-logo) */
.header .wordmark .logo-brand { height: 46px; width: auto; display: block; }
.footer .wordmark .logo-brand { height: 150px; width: auto; display: block; margin-left: -4px; }
@media (max-width: 1360px) {
  .header .wordmark .logo-brand { height: 40px; }
}
@media (max-width: 860px) {
  .footer .wordmark .logo-brand { height: 120px; }
}

/* Header nav when rendered by wp_nav_menu (bare <a>) — unchanged; footer lists */
.footer ul li { margin: 0; }

/* Sticky portrait on the About page */
.about-sticky { position: sticky; top: 120px; }
.bio p { font-size: 16.5px; line-height: 1.75; }
.bio h2, .bio h3 { margin: 40px 0 14px; }
.bio .facts { margin-top: 40px; }

/* Single post / generic page body */
.single-title { font-size: clamp(38px, 5vw, 72px); line-height: 1.05; max-width: 22ch; }
.entry { max-width: 760px; }
.entry p { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.entry h2, .entry h3, .entry h4 { margin: 44px 0 14px; }
.entry ul, .entry ol { color: var(--ink-2); padding-left: 22px; margin: 18px 0; }
.entry li { margin: 6px 0; }
.entry a:not(.btn) { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.entry blockquote { border-left: 1px solid var(--gold); padding-left: 22px; font-family: var(--serif); font-style: italic; font-size: 22px; margin: 32px 0; }
.entry figure { margin: 32px 0; }
.entry figcaption { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; margin-top: 8px; }
.entry img { border: 1px solid var(--line); }
.entry .alignwide { max-width: none; width: min(100%, 1240px); }
.entry .alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.entry .wp-block-gallery { gap: 14px; }
.entry hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.entry table { border-collapse: collapse; width: 100%; font-size: 14px; }
.entry td, .entry th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry .wp-block-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; }

/* Post navigation & pagination */
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 20px; }
.post-nav a:hover { color: var(--gold); }
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }

/* News list: thumbnail is a link */
.news-list a.thumb { display: block; }
.news-list h3 a:hover { color: var(--gold); }

/* Built-in forms: notices */
.form-note { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .08em; }
.form-note.ok { color: var(--gold); }
.form-note.err { color: #d98b8b; }
.search-form { max-width: 520px; }

/* Contact Form 7 inside the theme's form area */
.form-embed .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.form-embed .wpcf7-form p { margin: 0; }
.form-embed .wpcf7-form label { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form-embed .wpcf7-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .form-embed .wpcf7-form select, .form-embed .wpcf7-form textarea,
.newsletter-embed input[type=email], .newsletter-embed input[type=text] {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); padding: 10px 0; font: inherit; font-size: 15px; outline: 0; border-radius: 0;
}
.form-embed .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.form-embed .wpcf7-form input:focus, .form-embed .wpcf7-form textarea:focus, .form-embed .wpcf7-form select:focus { border-color: var(--gold); }
.form-embed .wpcf7-form input[type=submit], .newsletter-embed input[type=submit], .newsletter-embed button {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border: 1px solid var(--gold); background: var(--gold); color: #0a0a0c; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; cursor: pointer;
}
.form-embed .wpcf7-form .wpcf7-response-output { grid-column: 1 / -1; border: 1px solid var(--line-strong); padding: 12px 16px; font-size: 12px; margin: 0; }
.form-embed .wpcf7-spinner { display: none; }
@media (max-width: 860px) { .form-embed .wpcf7-form { grid-template-columns: 1fr; } }

/* The Events Calendar single/archive pages inherit the dark canvas */
.tribe-events, .tribe-common { color: var(--ink); }
.tribe-events a { color: var(--gold); }

/* Comments (rarely used) */
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-top: 1px solid var(--line); padding: 20px 0; }
.comment-form { margin-top: 30px; }
.comment-form label { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); padding: 10px 0; font: inherit; }

/* Screen reader text (WP core class) */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---------- Concerts (change update-events-source-tec) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 500 10.5px/1 var(--sans, Inter, sans-serif); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-strong); padding: 11px 16px; transition: border-color .3s, color .3s, background .3s; }
.chip em { font-style: normal; color: var(--gold); margin-left: 6px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--ink); background: rgba(201,168,106,.08); }
.dates .row[hidden], .month-label[hidden] { display: none !important; }
.dates .row h3 a:hover { color: var(--gold); }
.dates.past .row { padding-block: 20px; }
.dates.past .day strong { font-size: 30px; }
.seasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.season { border-bottom: 1px solid var(--line); }
.season summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 0; }
.season summary::-webkit-details-marker { display: none; }
.season-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 300; }
.season-count { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.season summary::after { content: "+"; font-family: var(--serif); font-size: 30px; color: var(--gold); margin-left: auto; padding-left: 20px; }
.season[open] summary::after { content: "–"; }
.season .dates { padding-bottom: 20px; }

.concert-single { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.concert-when { position: sticky; top: 120px; display: grid; gap: 6px; border-top: 1px solid var(--gold-dim); padding-top: 26px; }
.big-day { font-family: var(--serif); font-weight: 300; font-size: clamp(88px, 10vw, 150px); line-height: .85; color: var(--ink); margin: 0; }
.big-month { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); color: var(--gold-2, #e3c98f); margin: 14px 0 0; }
.big-time { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.concert-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }
.concert-body .eyebrow { margin-top: 28px; }
.concert-body .eyebrow:first-child { margin-top: 0; }
.concert-person { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); margin-top: 10px; }
.programme { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.programme li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); color: var(--ink); }
@media (max-width: 860px) {
	.concert-single { grid-template-columns: 1fr; }
	.concert-when { position: static; }
}
/* TEC wrapper neutralisation */
#tribe-events-pg-template, .tribe-events-pg-template { max-width: none !important; padding: 0 !important; margin: 0 !important; }

/* concerts row: orchestra · conductor on its own line above the programme */
.dates .prog b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.dates h3 { overflow-wrap: anywhere; }
