/* Standalone calendar shell. Shared agenda sizing is applied afterward by
   agenda-shared.css; keep renderer-independent typography there. */

/* ── Default (teal) palette — matches Amsterdam Early Music ────────── */
:root {
  --agenda-primary: rgb(13, 148, 136);
  --agenda-primary-rgb: 13, 148, 136;
  --agenda-primary-dark: rgb(19, 78, 74);
  --agenda-primary-pale: rgb(240, 253, 250);
  --agenda-ink: #1a1a1a;
  --agenda-muted: #52525b;
  --agenda-line: #d4d4d8;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

/* ── Warm palette — klassiekemuziekagenda only ─────────────────────── */
.agenda-theme-classical {
  --agenda-primary: #7c2d12;
  --agenda-primary-rgb: 124, 45, 18;
  --agenda-primary-dark: #431407;
  --agenda-primary-pale: #fff7ed;
  --agenda-ink: #26211d;
  --agenda-muted: #6b625b;
  --agenda-line: #ded8d2;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--agenda-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  font-size: 1.125rem;
  margin: 0;
}

a {
  color: var(--agenda-primary);
  text-underline-offset: 0.15em;
}

.agenda-header {
  display: flex;
  padding: 0.25rem 0;
}

.agenda-header-inner {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin: 0 auto;
  max-width: 80rem;
  padding: 0.25rem 1.5rem;
  width: 100%;
}

.agenda-brand {
  color: var(--agenda-ink);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  min-width: 0;
  text-decoration: none;
}

.agenda-brand:hover {
  color: var(--agenda-primary);
}

.agenda-header nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-left: auto;
  min-height: 3rem;
}

.agenda-header nav a {
  color: var(--agenda-ink);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.agenda-header nav a:hover,
.agenda-header nav a:focus-visible {
  color: var(--agenda-primary);
}

.agenda-main {
  margin: 0 auto;
  max-width: 80rem;
  min-height: 65vh;
  padding: clamp(1.25rem, 3vw, 2rem) 1.5rem;
}

.agenda-page-title,
.agenda-detail h1 {
  color: var(--agenda-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.35rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.agenda-intro {
  color: var(--agenda-muted);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  margin: 0 0 2rem;
  max-width: 65rem;
}

.agenda-link-block {
  margin: 2rem 0;
}

.agenda-link-block h2,
.agenda-explainer h2,
.agenda-detail h2 {
  color: var(--agenda-primary-dark);
  font-family: var(--font-heading);
  font-size: 1.66rem;
  line-height: 1.2;
  margin: 0 0 0.9rem;
}

.tkf-agenda-wrapper {
  margin: 1.75rem 0;
  overflow: visible;
  position: relative;
  z-index: 20;
}

.tkf-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda-month-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.agenda-month-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--agenda-line);
  border-radius: 8px;
  color: var(--agenda-ink);
  display: inline-flex;
  font-size: 1.01rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
}

.agenda-month-link:hover,
.agenda-month-link:focus-visible {
  background: var(--agenda-primary-pale);
  border-color: var(--agenda-primary);
  color: var(--agenda-primary-dark);
}

.tkf-agenda-month-heading {
  border-bottom: 1px solid var(--agenda-line);
  margin: 1.8rem 0 0;
  padding: 0 0 0.55rem;
}

.tkf-agenda-month-heading:first-child {
  margin-top: 0;
}

.tkf-agenda-month-heading h2 {
  color: var(--agenda-muted);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
}

.tkf-agenda-event {
  align-items: start;
  border-bottom: 1px solid var(--agenda-line);
  display: grid;
  gap: 0.2rem 0.9rem;
  grid-template-columns: 4.15rem minmax(0, 1fr);
  min-width: 0;
  padding: 1rem 0;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.tkf-agenda-event:hover {
  background: var(--agenda-primary-pale);
  border-color: var(--agenda-line);
}

.tkf-agenda-date {
  color: var(--agenda-primary-dark);
  grid-row: 1 / span 2;
  text-align: center;
}

.tkf-agenda-date time {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.tkf-agenda-day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.tkf-agenda-month,
.tkf-agenda-year {
  color: var(--agenda-muted);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.tkf-agenda-image {
  aspect-ratio: 1;
  background: #f2efec;
  border-radius: 5px;
  display: block;
  grid-column: 2;
  overflow: hidden;
  width: min(10rem, 100%);
}

.tkf-agenda-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tkf-agenda-copy {
  grid-column: 2;
  min-width: 0;
}

.tkf-agenda-copy h3 {
  font-family: var(--font-heading);
  font-size: 1.34rem;
  line-height: 1.2;
  margin: 0;
}

.tkf-agenda-copy h3 a {
  color: var(--agenda-primary-dark);
  text-decoration: none;
}

.tkf-agenda-highlight {
  color: var(--agenda-primary);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.tkf-agenda-meta {
  color: var(--agenda-muted);
  font-size: 0.96rem;
  margin: 0.35rem 0 0;
}

.tkf-agenda-meta span + span::before {
  content: "·";
  margin: 0 0.45rem;
}

.tkf-agenda-meta a {
  color: inherit;
}

.tkf-agenda-description {
  color: var(--agenda-muted);
  font-size: 0.95rem;
  margin: 0.55rem 0 0;
}

.tkf-agenda-actions,
.agenda-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  grid-column: 2;
  margin-top: 0.55rem;
}

.tkf-agenda-secondary-action,
.tkf-agenda-calendar-summary,
.agenda-primary-action,
.agenda-detail-actions > a {
  background: #fff;
  border: 1px solid var(--agenda-line);
  border-radius: 6px;
  color: var(--agenda-primary-dark);
  cursor: pointer;
  display: inline-flex;
  font: 700 0.81rem/1 var(--font-body);
  padding: 0.58rem 0.72rem;
  text-decoration: none;
}

.agenda-primary-action {
  background: var(--agenda-primary);
  border-color: var(--agenda-primary);
  color: #fff;
}

.tkf-agenda-calendar {
  position: relative;
}

.tkf-agenda-calendar-summary::marker {
  content: "";
}

.tkf-agenda-calendar-menu {
  background: #fff;
  border: 1px solid var(--agenda-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(36, 26, 20, 0.18);
  display: grid;
  gap: 0.25rem;
  left: 0;
  min-width: 14rem;
  padding: 0.45rem;
  position: absolute;
  top: calc(100% + 0.45rem);
  z-index: 30;
}

.tkf-agenda-calendar-menu a {
  border-radius: 5px;
  color: var(--agenda-ink);
  font-size: 0.91rem;
  padding: 0.55rem;
  text-decoration: none;
}

.tkf-agenda-calendar-menu a:hover,
.tkf-agenda-calendar-menu a:focus-visible {
  background: var(--agenda-primary-pale);
}

.tkf-agenda-link-menu a {
  align-items: flex-start;
}

.tkf-agenda-link-label {
  color: var(--agenda-primary-dark);
  min-width: 0;
  overflow-wrap: anywhere;
}

.tkf-agenda-link-kind {
  background: var(--agenda-primary-pale);
  border-radius: 3px;
  color: var(--agenda-muted);
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 760;
  margin-left: auto;
  padding: 0.1rem 0.35rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.tkf-agenda-empty {
  color: var(--agenda-muted);
  padding: 2rem 0;
}

.tkf-agenda-load-more {
  background: var(--agenda-primary);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: block;
  font: 700 1.07rem/1 var(--font-body);
  margin: 2rem auto 0;
  padding: 1rem 3rem;
  width: 100%;
}

.tkf-agenda-load-more:hover,
.tkf-agenda-load-more:focus-visible {
  background: var(--agenda-primary-dark);
}

.agenda-explainer {
  background: var(--agenda-primary-pale);
  border-left: 4px solid var(--agenda-primary);
  margin: 3rem 0 2rem;
  padding: 1.3rem 1.5rem;
}

.agenda-explainer p {
  margin: 0;
  max-width: 60rem;
}

.agenda-submit-cta a {
  align-items: center;
  background: var(--agenda-primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.cta-icon {
  font-size: 1.44rem;
  line-height: 1;
}

.agenda-detail {
  margin: 0 auto;
  max-width: 60rem;
}

.agenda-detail-image {
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  height: auto;
  margin-bottom: 2rem;
  object-fit: cover;
  width: 100%;
}

.agenda-detail-date,
.agenda-detail-venue {
  color: var(--agenda-muted);
  font-weight: 600;
}

.agenda-detail-description {
  font-size: 1.12rem;
  margin: 1.5rem 0;
}

.agenda-detail section {
  border-top: 1px solid var(--agenda-line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.agenda-artists {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda-artists li {
  border-bottom: 1px solid var(--agenda-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.agenda-artist-links {
  display: flex;
  gap: 0.65rem;
}

.agenda-footer {
  background: #18181b;
  color: #d4d4d8;
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

.agenda-footer a {
  color: rgb(153, 246, 228);
}

.agenda-theme-classical .agenda-footer {
  background: #241c17;
  color: #d6cfc9;
}

.agenda-theme-classical .agenda-footer a {
  color: #fed7aa;
}

@media (min-width: 700px) {
  .tkf-agenda-event {
    gap: 0.25rem 1rem;
    grid-template-columns: 4.4rem minmax(0, 1fr) auto;
  }

  .tkf-agenda-event--with-image {
    grid-template-columns: 4.4rem 9.25rem minmax(0, 1fr) auto;
  }

  .tkf-agenda-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 9.25rem;
  }

  .tkf-agenda-copy {
    grid-column: 2;
  }

  .tkf-agenda-event--with-image .tkf-agenda-copy {
    grid-column: 3;
  }

  .tkf-agenda-actions {
    align-items: flex-end;
    flex-direction: column;
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .tkf-agenda-event--with-image .tkf-agenda-actions {
    grid-column: 4;
  }

  .tkf-agenda-calendar-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 540px) {
  .agenda-header-inner {
    flex-wrap: wrap;
  }

  .agenda-main {
    padding-top: 1.25rem;
  }

  .tkf-agenda-copy h3 {
    font-size: 1.2rem;
  }
}

.tkf-newsletter {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--agenda-line);
  border-radius: 0.8rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  color: var(--agenda-ink);
  left: 1rem;
  max-width: 25rem;
  padding: 1.25rem;
  position: fixed;
  right: 1rem;
  text-align: left;
  z-index: 50;
}

.tkf-newsletter--visible {
  animation: tkf-newsletter-enter 180ms ease-out;
}

.tkf-newsletter h2 {
  color: var(--agenda-ink);
  font-family: var(--font-heading);
  font-size: 1.44rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 2rem 0.35rem 0;
}

.tkf-newsletter > p {
  color: var(--agenda-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.tkf-newsletter-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  color: var(--agenda-muted);
  cursor: pointer;
  display: flex;
  font-size: 1.76rem;
  height: 2rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.7rem;
  top: 0.6rem;
  width: 2rem;
}

.tkf-newsletter-close:hover,
.tkf-newsletter-close:focus-visible {
  background: var(--agenda-primary-pale);
  color: var(--agenda-ink);
  outline: none;
}

.tkf-newsletter form {
  display: grid;
  gap: 0.55rem;
}

.tkf-newsletter form > label,
.tkf-newsletter-name label {
  font-size: 0.91rem;
  font-weight: 650;
}

.tkf-newsletter-name {
  display: grid;
  gap: 0.35rem;
}

.tkf-newsletter-fields {
  display: flex;
  gap: 0.5rem;
}

.tkf-newsletter-name input,
.tkf-newsletter-fields input {
  background: #fff;
  border: 1px solid var(--agenda-line);
  border-radius: 0.5rem;
  color: var(--agenda-ink);
  font: inherit;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.tkf-newsletter-name input:focus-visible,
.tkf-newsletter-fields input:focus-visible {
  border-color: var(--agenda-primary);
  box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.18);
  outline: none;
}

.tkf-newsletter-fields button {
  background: var(--agenda-primary);
  border: 1px solid var(--agenda-primary);
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0.65rem 0.9rem;
  white-space: nowrap;
}

.tkf-newsletter-fields button:hover,
.tkf-newsletter-fields button:focus-visible {
  background: var(--agenda-primary-dark);
  border-color: var(--agenda-primary-dark);
  outline: none;
}

.tkf-newsletter-fields button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.tkf-newsletter-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.tkf-newsletter-turnstile:empty {
  display: none;
}

.tkf-newsletter-status {
  color: var(--agenda-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  min-height: 1.2rem;
}

.tkf-newsletter-status[data-state="error"] {
  color: #b42318;
}

.tkf-newsletter-status[data-state="success"] {
  color: #067647;
}

@keyframes tkf-newsletter-enter {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .tkf-newsletter-fields {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (min-width: 640px) {
  .tkf-newsletter {
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tkf-newsletter--visible {
    animation: none;
  }
}

/* ── Editorial pages (about, donate, playlists, etc.) ────────────── */

html:has(.tkf-editorial-page-marker) {
  background-color: #f6f1e7;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(var(--agenda-primary-rgb), 0.12), transparent 28rem),
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(235, 245, 241, 0.86));
  background-attachment: fixed;
}

body:has(.tkf-editorial-page-marker) {
  background: transparent;
}

.agenda-theme-classical:has(.tkf-editorial-page-marker) {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(124, 45, 18, 0.11), transparent 28rem),
    linear-gradient(145deg, rgba(255, 253, 247, 0.97), rgba(255, 244, 232, 0.88));
}

.tkf-editorial-page-marker {
  display: none;
}

.tkf-editorial-card {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(var(--agenda-primary-rgb), 0.2);
  border-radius: 0.9rem;
  box-shadow:
    0 1px 2px rgba(23, 37, 35, 0.04),
    0 12px 30px rgba(23, 37, 35, 0.07);
  margin: 1.25rem 0;
  padding: clamp(1.15rem, 3vw, 1.7rem);
}

.tkf-editorial-card > :first-child {
  margin-top: 0;
}

.tkf-editorial-card > :last-child {
  margin-bottom: 0;
}

.tkf-editorial-card :is(h2, h3) {
  color: var(--agenda-primary-dark);
  font-family: var(--font-heading);
}

.agenda-theme-classical .tkf-editorial-card {
  background: rgba(255, 251, 245, 0.9);
  border-color: rgba(124, 45, 18, 0.2);
  box-shadow:
    0 1px 2px rgba(67, 20, 7, 0.04),
    0 12px 30px rgba(67, 20, 7, 0.07);
}

.agenda-editorial-intro {
  margin: 0 0 0.75rem;
}

/* ── Donation form ───────────────────────────────────────────────── */

.tkf-donation-form {
  background: #fafaf9;
  border: 1px solid #e4e4e7;
  border-radius: 0.9rem;
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  max-width: 36rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

:has(.tkf-editorial-page-marker) .tkf-donation-form {
  background: rgba(240, 250, 247, 0.92);
  border-color: rgba(var(--agenda-primary-rgb), 0.28);
  box-shadow:
    0 1px 2px rgba(23, 37, 35, 0.04),
    0 14px 34px rgba(23, 37, 35, 0.08);
}

.agenda-theme-classical :has(.tkf-editorial-page-marker) .tkf-donation-form {
  background: rgba(255, 247, 237, 0.94);
  border-color: rgba(124, 45, 18, 0.25);
  box-shadow:
    0 1px 2px rgba(67, 20, 7, 0.04),
    0 14px 34px rgba(67, 20, 7, 0.08);
}

.tkf-donation-field {
  display: grid;
  gap: 0.4rem;
}

.tkf-donation-field label,
.tkf-donation-amount legend,
.tkf-donation-other label {
  color: #27272a;
  font-size: 0.95rem;
  font-weight: 650;
}

.tkf-donation-field input,
.tkf-donation-currency-input {
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.55rem;
  color: #18181b;
  font: inherit;
  min-height: 2.75rem;
}

.tkf-donation-field input {
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.tkf-donation-field input:focus-visible,
.tkf-donation-currency-input:focus-within {
  border-color: var(--agenda-primary);
  box-shadow: 0 0 0 3px rgba(var(--agenda-primary-rgb), 0.18);
  outline: none;
}

.tkf-donation-amount {
  border: 0;
  margin: 0;
  padding: 0;
}

.tkf-donation-amount-options {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.55rem;
}

.tkf-donation-amount-options label {
  cursor: pointer;
  margin: 0;
  position: relative;
}

.tkf-donation-amount-options input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.tkf-donation-amount-options span {
  align-items: center;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.55rem;
  color: #27272a;
  display: flex;
  font-size: 1.05rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem;
}

.tkf-donation-amount-options input:checked + span {
  background: var(--agenda-primary-pale);
  border-color: var(--agenda-primary);
  color: var(--agenda-primary-dark);
}

.tkf-donation-amount-options input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(var(--agenda-primary-rgb), 0.2);
  outline: none;
}

.tkf-donation-other {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.tkf-donation-currency-input {
  align-items: center;
  display: flex;
  max-width: 12rem;
  padding-left: 0.8rem;
}

.tkf-donation-currency-input span {
  color: #71717a;
  font-weight: 650;
}

.tkf-donation-currency-input input {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  min-height: 2.85rem;
  min-width: 0;
  outline: none;
  padding: 0.65rem;
  width: 100%;
}

.tkf-donation-consent {
  align-items: flex-start;
  color: #3f3f46;
  display: flex;
  font-size: 0.9rem;
  gap: 0.65rem;
  line-height: 1.45;
  margin: 0;
}

.tkf-donation-consent input {
  accent-color: var(--agenda-primary);
  flex: 0 0 auto;
  height: 1.1rem;
  margin-top: 0.18rem;
  width: 1.1rem;
}

.tkf-donation-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.tkf-donation-turnstile:empty {
  display: none;
}

.tkf-donation-status {
  color: #71717a;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  min-height: 1.25rem;
}

.tkf-donation-status[data-state="error"] {
  color: #b42318;
}

.tkf-donation-submit {
  align-items: center;
  background: var(--agenda-primary);
  border: 1px solid var(--agenda-primary);
  border-radius: 0.55rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  width: fit-content;
}

.tkf-donation-submit:hover,
.tkf-donation-submit:focus-visible {
  background: var(--agenda-primary-dark);
  border-color: var(--agenda-primary-dark);
  box-shadow: 0 12px 25px rgba(var(--agenda-primary-rgb), 0.2);
  outline: none;
}

.tkf-donation-submit:disabled {
  cursor: progress;
  opacity: 0.62;
}

.tkf-donation-payment-note {
  color: #a1a1aa;
  font-size: 0.82rem;
  margin: -0.45rem 0 0;
}

/* ── Submit concert form ─────────────────────────────────────────── */

.tkf-submission-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 42rem;
}

.tkf-submission-field {
  display: grid;
  gap: 0.45rem;
}

.tkf-submission-field label {
  color: #27272a;
  font-size: 0.95rem;
  font-weight: 650;
}

.tkf-submission-field input {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d4d4d8;
  border-radius: 0.5rem;
  color: #18181b;
  font: inherit;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.tkf-submission-field input:focus-visible {
  border-color: var(--agenda-primary);
  box-shadow: 0 0 0 3px rgba(var(--agenda-primary-rgb), 0.18);
  outline: none;
}

.tkf-turnstile-shell {
  min-height: 65px;
}

.tkf-submission-status {
  color: #71717a;
  font-size: 0.95rem;
  min-height: 1.5rem;
}

.tkf-submission-status[data-state="error"] {
  color: #b42318;
}

.tkf-submission-status[data-state="success"] {
  color: #067647;
}

.tkf-submission-button {
  align-items: center;
  background: var(--agenda-primary);
  border: 1px solid var(--agenda-primary);
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 650;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  width: fit-content;
}

.tkf-submission-button:hover,
.tkf-submission-button:focus-visible {
  background: var(--agenda-primary-dark);
  border-color: var(--agenda-primary-dark);
  box-shadow: 0 14px 28px rgba(var(--agenda-primary-rgb), 0.2);
  outline: none;
}

.tkf-submission-button:disabled {
  cursor: progress;
  opacity: 0.62;
}

/* ── Playlists ───────────────────────────────────────────────────── */

.playlist-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.playlist-entry {
  --playlist-embed-height: 352px;
  display: grid;
  gap: 1.75rem;
  margin: 0;
}

.playlist-copy h3 {
  margin-top: 0;
}

.playlist-signature {
  font-style: italic;
}

.playlist-embed iframe {
  display: block;
  height: var(--playlist-embed-height);
  margin: 0;
  width: 100%;
}

@media (min-width: 900px) {
  .playlist-entry {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }
}

/* ── Cross-site link ─────────────────────────────────────────────── */

.tkf-cross-site-link {
  border-top: 1px solid var(--agenda-line);
  margin: 0 auto;
  max-width: 72rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.tkf-cross-site-link p {
  color: var(--agenda-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.tkf-cross-site-link a {
  color: var(--agenda-primary);
  font-weight: 600;
  text-decoration: none;
}

.tkf-cross-site-link a:hover,
.tkf-cross-site-link a:focus-visible {
  color: var(--agenda-primary-dark);
  text-decoration: underline;
}
