/* ==========================================================================
   Svenska Kammarkören – theme styles
   Colours and fonts come from theme.json; this file is layout and components.
   ========================================================================== */

:root {
	--ink: var(--wp--preset--color--ink, #111010);
	--paper: var(--wp--preset--color--paper, #F4F2EE);
	--accent: var(--wp--preset--color--accent, #73A7B4);
	--white: #FFFFFF;
	--muted: var(--wp--preset--color--muted, #5C5752);
	--soft: var(--wp--preset--color--soft, #B5ADA5);
	--quiet: #8A847E;
	--line: var(--wp--preset--color--line, #D4CEC6);
	--line-dark: #3A3633;
	--sand: var(--wp--preset--color--sand, #E9E5DF);
	--stone: var(--wp--preset--color--stone, #DDD8D0);
	--on-dark: #D9D3CC;
	--outline-dark: #6B645E;
	--display: var(--wp--preset--font-family--display, Archivo, sans-serif);
	--body: var(--wp--preset--font-family--body, Inter, system-ui, sans-serif);
	--gutter: clamp(20px, 3.4vw, 48px);
	--section: clamp(64px, 8vw, 112px);
	--radius: 4px;
}

/* ---------- Base ---------- */

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > *, .svkk-main > * { margin-block: 0; }
.svkk-main.is-layout-flow > * + * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.svkk-newsletter :focus-visible { outline-color: var(--ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

.svkk-wrap {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: border-box;
	width: 100%;
}

.svkk-band { width: 100%; }
.svkk-dark { background: var(--ink); color: var(--paper); }
.svkk-dark a:not(.svkk-btn) { color: var(--paper); }

/* ---------- Type helpers ---------- */

.svkk-eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
}
.svkk-eyebrow--wide { font-size: 13px; letter-spacing: 0.12em; }
.svkk-eyebrow--accent { color: var(--accent); font-size: 13px; letter-spacing: 0.14em; }
.svkk-empty { color: var(--muted); }

/* ---------- Buttons ---------- */

.svkk-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.svkk-btn-row--small { gap: 10px; }

.svkk-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: filter .15s ease, background-color .15s ease;
}
.svkk-btn--large { min-height: 56px; padding: 0 28px; font-size: 17px; }
.svkk-btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.svkk-btn--primary { background: var(--accent); color: var(--ink) !important; }
.svkk-btn--primary:hover { filter: brightness(1.08); }
.svkk-btn--outline { border-color: var(--outline-dark); color: var(--paper) !important; font-weight: 500; }
.svkk-btn--outline:hover { border-color: var(--paper); }
.svkk-btn--outline-dark { border: 2px solid var(--ink); color: var(--ink) !important; background: transparent; }
.svkk-btn--outline-dark:hover { background: var(--ink); color: var(--paper) !important; }
.svkk-btn--dark { background: var(--ink); color: var(--paper) !important; border: 0; }
.svkk-btn .svkk-icon { flex: none; }

/* Core button, outline style (used in patterns). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid var(--ink);
	background: transparent;
	color: var(--ink);
	padding: 0 22px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }

.svkk-pill {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	box-sizing: border-box;
}
.svkk-pill--dashed { border: 1px dashed currentColor; }
.svkk-pill--muted { border: 1px solid var(--quiet); color: var(--muted); }
.svkk-dark .svkk-pill--muted { color: var(--soft); }

.svkk-tag {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	background: var(--accent);
	color: var(--ink);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ---------- Header ---------- */

.svkk-header { background: var(--ink); color: var(--paper); position: relative; z-index: 20; }
.svkk-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 20px;
}
.svkk-logo { display: block; line-height: 0; color: var(--paper); text-decoration: none; }
.svkk-logo__img { height: 40px; width: auto; }
.svkk-logo__text { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.svkk-logo--footer .svkk-logo__img { height: 56px; }

.svkk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.svkk-nav__list { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; }
.svkk-nav__list a {
	color: var(--paper);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	padding-block: 10px;
}
.svkk-nav__list a:hover,
.svkk-nav__list .current-menu-item > a,
.svkk-nav__list .current-menu-ancestor > a,
.svkk-nav__list .current_page_parent > a,
.svkk-nav__list a[aria-current] { color: var(--accent); }

.svkk-lang { display: flex; margin: 0; padding: 0; list-style: none; }
.svkk-lang a { color: var(--paper); text-decoration: none; font-size: 13px; font-weight: 600; }
.svkk-lang--pill { gap: 2px; border: 1px solid #4A4541; border-radius: 999px; padding: 3px; }
.svkk-lang--pill a { display: block; padding: 6px 12px; border-radius: 999px; }
.svkk-lang--pill a[aria-current] { background: var(--paper); color: var(--ink); }
.svkk-lang--text a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

.svkk-header__mobile { display: none; align-items: center; gap: 4px; }
.svkk-menu-toggle {
	width: 44px; height: 44px; border: 0; background: transparent; color: var(--paper);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.svkk-menu-toggle__close { display: none; }
.svkk-menu-toggle[aria-expanded="true"] .svkk-menu-toggle__open { display: none; }
.svkk-menu-toggle[aria-expanded="true"] .svkk-menu-toggle__close { display: inline-flex; }

@media (max-width: 899px) {
	.svkk-header__inner { padding-block: 14px; }
	.svkk-logo__img { height: 30px; }
	.svkk-header.is-js .svkk-header__mobile { display: flex; }
	.svkk-header.is-js .svkk-nav { display: none; }
	.svkk-header.is-js.is-open .svkk-nav { display: flex; }
	.svkk-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 16px; }
	.svkk-nav__list { flex-direction: column; gap: 0; width: 100%; }
	.svkk-nav__list a { display: block; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line-dark); }
	.svkk-header.is-js .svkk-nav .svkk-lang--pill { display: none; }
}

/* ---------- Sections ---------- */

.svkk-section { padding-top: var(--section); }
.svkk-section:last-child, .svkk-section--tight { padding-bottom: var(--section); }
.svkk-section--tight { padding-top: 0; }

.svkk-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	border-top: 2px solid var(--ink);
	padding-top: 20px;
	margin-bottom: 40px;
}
.svkk-section-head__text { display: flex; flex-direction: column; gap: 10px; }
.svkk-section-head__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(28px, 3vw, 44px);
	letter-spacing: -0.02em;
	line-height: 1;
}
.svkk-section-head__intro { margin: 0; font-size: 17px; color: var(--muted); }
.svkk-section-head__link { font-weight: 600; font-size: 16px; color: var(--ink); }

/* ---------- Grids & cards ---------- */

.svkk-grid { display: grid; gap: 32px; }
.svkk-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.svkk-grid--5 { grid-template-columns: repeat(auto-fill, minmax(min(220px, calc(50% - 8px)), 1fr)); gap: 24px 16px; }

.svkk-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.svkk-card:hover { color: var(--ink); }
.svkk-card__media { overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.svkk-card__media .svkk-img,
.svkk-ratio-4x3 .svkk-img, .svkk-ratio-16x9 .svkk-img, .svkk-ratio-3x2 .svkk-img,
.svkk-ratio-1x1 .svkk-img, .svkk-ratio-21x9 .svkk-img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.svkk-card .svkk-img { transition: transform .5s ease; }
.svkk-card:hover .svkk-img { transform: scale(1.04); }
.svkk-img--empty { background: var(--stone); width: 100%; height: 100%; }

.svkk-ratio-4x3 { aspect-ratio: 4 / 3; }
.svkk-ratio-16x9 { aspect-ratio: 16 / 9; }
.svkk-ratio-3x2 { aspect-ratio: 3 / 2; }
.svkk-ratio-1x1 { aspect-ratio: 1 / 1; }
.svkk-ratio-21x9 { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); background: var(--stone); }

.svkk-card__body { display: flex; flex-direction: column; gap: 8px; }
.svkk-card__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.svkk-card__line { margin: 0; font-size: 16px; color: var(--muted); }
.svkk-card__excerpt { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.svkk-card__more { font-weight: 600; }
.svkk-concert-card { gap: 18px; }

.svkk-mini-dates { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.svkk-mini-dates li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.svkk-mini-dates li:last-child { border-bottom: 1px solid var(--line); }
.svkk-mini-dates span { flex: none; width: 56px; font-weight: 600; }

.svkk-tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-height: 360px;
	padding: 32px;
	border-radius: var(--radius);
	text-decoration: none;
	box-sizing: border-box;
}
.svkk-tile .svkk-icon { color: var(--accent); stroke-width: 1.6; }
.svkk-tile__title { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; }
.svkk-tile__body { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }

.svkk-articles-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.svkk-articles-feature__side { display: flex; flex-direction: column; gap: 32px; }
.svkk-article-card--feature { gap: 20px; }
.svkk-article-card--feature .svkk-card__title { font-size: clamp(28px, 2.8vw, 38px); max-width: 760px; }
.svkk-article-card--small .svkk-card__title { font-size: 22px; line-height: 1.15; }
@media (max-width: 899px) {
	.svkk-articles-feature { grid-template-columns: 1fr; }
	.svkk-articles-feature__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.svkk-articles-feature__side .svkk-card__media { aspect-ratio: 1 / 1; }
	.svkk-articles-feature__side .svkk-card__title { font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
	.svkk-articles-feature__side .svkk-eyebrow { font-size: 11px; }
}

/* Past concerts: as much space below the grid as above the heading. */
#tidigare { padding-bottom: var(--section); }
#tidigare + .svkk-front-content { padding-top: 0; }
.svkk-past-card { gap: 12px; }
.svkk-past-card__title { margin: 0; font-family: var(--body); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
@media (max-width: 599px) { .svkk-past-card__title { font-size: 15px; } }

.svkk-pager { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.svkk-pager a, .svkk-pager span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
}
.svkk-pager .current { background: var(--ink); color: var(--paper); }

/* ---------- Start page: next concert ---------- */

.svkk-next__grid { max-width: 1440px; margin: 0 auto; display: flex; flex-wrap: wrap; }
.svkk-next__text {
	flex: 1 1 560px;
	min-width: 0;
	padding: 72px var(--gutter) 64px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.svkk-next__media { flex: 1 1 480px; min-width: 0; min-height: 640px; position: relative; }
.svkk-next__media .svkk-next__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }

.svkk-live {
	display: flex; align-items: center; gap: 12px; margin: 0;
	font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.svkk-live span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.svkk-next__heading { display: flex; flex-direction: column; gap: 12px; }
.svkk-next__kicker { margin: 0; font-size: 18px; color: var(--soft); }
.svkk-next__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(44px, 6.4vw, 92px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--paper);
}
.svkk-next__lead { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.svkk-next__poster { max-width: 560px; border-radius: var(--radius); overflow: hidden; margin-top: 8px; }

.svkk-facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	border-top: 1px solid var(--line-dark);
	padding-top: 24px;
}
.svkk-facts > div { display: flex; flex-direction: column; gap: 6px; }
.svkk-facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.svkk-facts dd { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }

.svkk-hero-state .svkk-ticket-later { align-items: flex-start; }
.svkk-hero-state .svkk-ticket-later__notify { color: var(--paper); }

@media (max-width: 899px) {
	.svkk-next__media { order: -1; flex-basis: 100%; min-height: 360px; }
	.svkk-next__text { padding-top: 32px; padding-bottom: 40px; gap: 22px; }
	.svkk-next__title { font-size: 44px; line-height: 0.98; }
	.svkk-next__kicker { font-size: 16px; }
	.svkk-next__poster { display: none; }
	.svkk-facts { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
	.svkk-facts > div { flex-direction: row; gap: 12px; }
	.svkk-facts dt { width: 64px; flex: none; padding-top: 4px; }
	.svkk-facts dd { font-size: 17px; }
	.svkk-next .svkk-btn-row { flex-direction: column; }
	.svkk-next .svkk-btn { width: 100%; }
}

/* ---------- Season ticket band ---------- */

.svkk-season { background: var(--sand); }
.svkk-season .svkk-wrap {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	padding-block: 28px;
}
.svkk-season__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 420px; }
.svkk-season__title { margin: 0; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.svkk-season__body { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Concert page ---------- */

.svkk-concert-hero .svkk-wrap { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.svkk-concert-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.svkk-concert-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.svkk-concert-hero__title {
	margin: 0;
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(56px, 8vw, 120px);
	line-height: 0.92;
	letter-spacing: -0.03em;
	color: var(--paper);
	overflow-wrap: anywhere;
}
.svkk-concert-hero__lead { margin: 0; max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--on-dark); }
.svkk-concert-hero__media { flex: 1 1 520px; min-width: 0; border-radius: var(--radius); overflow: hidden; }

.svkk-breadcrumbs { font-size: 14px; color: var(--muted); }
.svkk-breadcrumbs a { color: inherit; }
.svkk-dark .svkk-breadcrumbs { color: var(--soft); }
.svkk-dark .svkk-breadcrumbs a { color: var(--soft); }
.svkk-dark .svkk-breadcrumbs [aria-current] { color: var(--paper); }

.svkk-concert-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
	gap: 80px;
	align-items: start;
	padding-top: 96px;
	padding-bottom: 32px;
}
.svkk-concert-layout > * { margin-block: 0 !important; }
@media (max-width: 999px) {
	.svkk-concert-layout { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
	.svkk-concert-layout .svkk-dates { order: -1; }
}

.svkk-dates {
	background: var(--white);
	border-radius: var(--radius);
	padding: 32px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: sticky;
	top: 24px;
	scroll-margin-top: 24px;
}
@media (max-width: 999px) { .svkk-dates { position: static; padding: 24px 20px; } }
.svkk-dates__title { margin: 0 0 12px; font-family: var(--display); font-weight: 300; font-size: 32px; letter-spacing: -0.02em; line-height: 1; }
.svkk-dates__note, .svkk-dates__season { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.svkk-dates__season a { font-weight: 600; color: var(--ink); }
.svkk-dates__ics { margin-top: 8px; font-size: 15px; font-weight: 600; }

/* Ticket rows: one per performance. */
.svkk-perfs { margin: 0; padding: 0; list-style: none; }
.svkk-perf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}
.svkk-perf:last-child { border-bottom: 1px solid var(--line); }
.svkk-perf__when { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 180px; }
.svkk-perf__date { font-weight: 600; font-size: 17px; }
.svkk-perf__meta { font-size: 15px; color: var(--muted); }
.svkk-perf__action { flex: none; }
.svkk-perf--sold .svkk-perf__date, .svkk-perf--past .svkk-perf__date { color: var(--muted); }

.svkk-ticket-later { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.svkk-ticket-later .svkk-pill { min-height: 44px; }
.svkk-ticket-later__notify { font-size: 14px; font-weight: 600; color: var(--ink); }
.svkk-ticket-note { font-size: 15px; color: var(--muted); }
.svkk-ticket-free { font-family: var(--display); font-weight: 400; font-size: 24px; }
@media (max-width: 599px) { .svkk-ticket-later { align-items: flex-start; } }

/* Long-form text (concert description, articles, pages). */
.svkk-prose > * { max-width: 760px; }
.svkk-prose > p { font-size: 18px; line-height: 1.7; }
.svkk-prose > h2 {
	margin-top: 72px;
	margin-bottom: 20px;
	font-family: var(--display);
	font-weight: 300;
	font-size: 40px;
	letter-spacing: -0.02em;
	line-height: 1;
}
.svkk-prose > h2:first-child { margin-top: 0; }
.svkk-prose > h2 + * { margin-top: 0; }
.svkk-prose > h3 { font-size: 28px; margin-top: 48px; }
.svkk-prose .wp-block-quote { margin: 48px 0; padding: 0; border: 0; }
.svkk-prose .wp-block-quote p { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.svkk-prose .wp-block-quote cite {
	display: block; margin-top: 16px; font-family: var(--body); font-style: normal;
	font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.svkk-prose .wp-block-gallery, .svkk-prose .wp-block-image { margin-block: 40px; }
.svkk-prose figcaption { font-size: 14px; color: var(--muted); }

/* Programme table: work left, composer right. */
.wp-block-table.is-style-programme table,
.wp-block-table.is-style-performers table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-programme td,
.wp-block-table.is-style-performers td { border: 0; padding: 0; }
.wp-block-table.is-style-programme tr {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding: 20px 0; border-top: 1px solid var(--line);
}
.wp-block-table.is-style-programme tr:last-child { border-bottom: 1px solid var(--line); }
.wp-block-table.is-style-programme td:first-child { font-size: 20px; }
.wp-block-table.is-style-programme td:last-child { font-size: 16px; color: var(--muted); }

/* Performers table: each row a white card with role above name. */
.wp-block-table.is-style-performers tbody {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px;
}
.wp-block-table.is-style-performers tr {
	display: flex; flex-direction: column; gap: 4px; padding: 24px;
	background: var(--white); border-radius: var(--radius);
}
.wp-block-table.is-style-performers td:first-child { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wp-block-table.is-style-performers td:last-child { font-size: 20px; font-weight: 600; line-height: 1.3; }
.wp-block-table.is-style-performers td a { text-decoration: none; }

/* ---------- Newsletter ---------- */

.svkk-newsletter { background: var(--accent); color: var(--ink); scroll-margin-top: 24px; }
.svkk-newsletter .svkk-wrap {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
	padding-block: 80px;
}
.svkk-newsletter--compact .svkk-wrap { padding-block: 64px; margin-top: var(--section); }
.svkk-newsletter__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svkk-newsletter__text p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.55; }
.svkk-newsletter__title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1; }
.svkk-newsletter__form { flex: 1 1 460px; min-width: 0; }
.svkk-newsletter__fallback { display: flex; flex-direction: column; gap: 10px; }
.svkk-newsletter__fallback label { font-size: 14px; font-weight: 600; }
.svkk-newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.svkk-newsletter__small { margin: 0; font-size: 13px; }

.svkk-newsletter input[type="email"],
.svkk-newsletter input[type="text"] {
	flex: 1 1 240px;
	min-width: 0;
	min-height: 56px;
	padding: 0 20px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: #EEF5F7;
	font: inherit;
	font-size: 17px;
	color: var(--ink);
	box-sizing: border-box;
}
.svkk-newsletter button[type="submit"] {
	min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
	background: var(--ink); color: var(--paper); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}

/* MailerLite's embedded form ships its own heavy styles; flatten them so the
   form takes the theme's look. Their stylesheet uses !important throughout. */
.svkk-newsletter__form--mailerlite .ml-form-embedContainer,
.svkk-newsletter__form--mailerlite .ml-form-embedWrapper,
.svkk-newsletter__form--mailerlite .ml-form-embedBody,
.svkk-newsletter__form--mailerlite .ml-form-successBody {
	background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
	max-width: none !important; width: 100% !important; box-shadow: none !important;
}
.svkk-newsletter__form--mailerlite .ml-form-embedContent { display: none !important; }
.svkk-newsletter__form--mailerlite .ml-form-successContent h4,
.svkk-newsletter__form--mailerlite .ml-form-successContent p,
.svkk-newsletter__form--mailerlite label,
.svkk-newsletter__form--mailerlite p { color: var(--ink) !important; font-family: var(--body) !important; }
.svkk-newsletter__form--mailerlite form { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.svkk-newsletter__form--mailerlite .ml-form-formContent { flex: 1 1 240px; margin: 0 !important; }
.svkk-newsletter__form--mailerlite .ml-form-fieldRow { margin: 0 !important; }
.svkk-newsletter__form--mailerlite input.form-control {
	min-height: 56px !important; padding: 0 20px !important; border: 2px solid var(--ink) !important;
	border-radius: 999px !important; background: #EEF5F7 !important; font-size: 17px !important; color: var(--ink) !important;
}
.svkk-newsletter__form--mailerlite .ml-form-embedSubmit { margin: 0 !important; width: auto !important; flex: none; }
.svkk-newsletter__form--mailerlite .ml-form-embedSubmit button.primary {
	min-height: 56px !important; padding: 0 28px !important; border: 0 !important; border-radius: 999px !important;
	background: var(--ink) !important; color: var(--paper) !important; font-family: var(--body) !important;
	font-size: 17px !important; font-weight: 600 !important; width: auto !important;
}

@media (max-width: 599px) {
	.svkk-newsletter .svkk-wrap { padding-block: 48px; gap: 16px; }
	.svkk-newsletter__row { flex-direction: column; }
	.svkk-newsletter__form--mailerlite form { flex-direction: column; }
}

/* ---------- Booking call to action ---------- */

.svkk-cta .svkk-wrap {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px;
	padding-block: 88px;
}
.svkk-cta__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.svkk-cta__title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.02em; color: var(--paper); }
.svkk-cta__body { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--on-dark); }

/* ---------- Articles ---------- */

.svkk-article-header { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.svkk-article-header__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.svkk-article-header__title {
	margin: 0; max-width: 1100px;
	font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.03em;
}
.svkk-article-header__lead { margin: 0; max-width: 820px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: #3A3633; }
.svkk-article-figure { margin: 0 auto; }
.svkk-article-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.svkk-article-layout {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 760px);
	gap: 80px;
	align-items: start;
	padding-top: 80px;
	padding-bottom: 96px;
}
.svkk-article-layout > * { margin-block: 0 !important; }
.svkk-article-layout__content > p { font-size: 19px; line-height: 1.75; }
@media (max-width: 999px) {
	.svkk-article-layout { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
	.svkk-article-layout .svkk-brief { order: 2; }
}

.svkk-brief { border-top: 2px solid var(--ink); }
.svkk-brief__title { margin: 0; padding: 16px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.svkk-brief__list { margin: 0; }
.svkk-brief__list > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.svkk-brief__list > div:last-child { border-bottom: 1px solid var(--line); }
.svkk-brief__list dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svkk-brief__list dd { margin: 0; font-size: 17px; }
.svkk-brief .svkk-btn-row { padding-top: 20px; }
.svkk-brief .svkk-btn--outline-dark { border-width: 1px; }

/* ---------- Pages ---------- */

.svkk-page-header { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.svkk-page-header__title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(44px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
.svkk-page-header__intro { margin: 0; max-width: 760px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.svkk-page-image img { border-radius: var(--radius); width: 100%; max-height: 640px; object-fit: cover; }
.svkk-page-content, .svkk-page-wide { padding-bottom: var(--section); }

/* Start page: "About the choir" (pattern svkk/about-choir in the page content). */
.svkk-front-content { padding-block: var(--section); }
.svkk-about {
	border-top: 2px solid var(--ink);
	padding-top: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}
.svkk-about > * { margin: 0 !important; }
.svkk-about__title { flex: 1 1 560px; min-width: 0; font-size: clamp(30px, 4vw, 56px) !important; line-height: 1.02 !important; }
.svkk-about__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.svkk-about__body > * { margin: 0 !important; }
.svkk-about__body > p { font-size: 18px; line-height: 1.65; }

.wp-block-group.is-style-facts {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0;
}
.wp-block-group.is-style-facts > * { margin: 0 !important; display: flex; flex-direction: column; gap: 4px; }
.wp-block-group.is-style-facts p { margin: 0; }
.svkk-fact__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svkk-fact__value { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }

/* ---------- Footer ---------- */

.svkk-footer { background: var(--ink); color: var(--paper); }
.svkk-footer .svkk-wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.svkk-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.svkk-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; font-size: 15px; }
.svkk-footer__label { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.svkk-footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.svkk-footer__list a { display: inline-block; padding: 6px 0; color: var(--paper); text-decoration: none; }
.svkk-footer__list a:hover { color: var(--accent); }
.svkk-footer__copy { margin: 0; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--soft); }
@media (max-width: 599px) {
	.svkk-footer .svkk-wrap { padding-top: 48px; padding-bottom: 32px; gap: 32px; }
	.svkk-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.svkk-logo--footer .svkk-logo__img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.svkk-card .svkk-img { transition: none; }
	.svkk-card:hover .svkk-img { transform: none; }
}
