/* News and Contact. Builds on base.css tokens and classes.
   Mobile first; breakpoints 600px (two columns), 768px and 1100px. */

.nc-band-lead { max-width: 44ch; margin-top: var(--s-4); }

/* News cards */
.nc-news {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.news-card__media { border-bottom: var(--border); }
.news-card__media .ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
}
.news-card__body h3 { margin: 0; }
.news-card__date,
.news-card__summary { margin: 0; font-size: 14px; color: var(--slate); }
.news-card__body .btn { margin-top: auto; }

.nc-more { display: flex; justify-content: center; margin-top: var(--s-8); }
.nc-more .btn[hidden] { display: none; }

/* News popup (native <dialog>) */
.news-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.news-dialog::backdrop { background: rgba(17, 17, 17, 0.6); }
.news-dialog__inner { padding: var(--s-4) var(--s-6) var(--s-6); display: grid; gap: var(--s-3); }
.news-dialog__bar { display: flex; justify-content: flex-end; }
.news-dialog__close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: 50%;
  cursor: pointer;
}
.news-dialog__close:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--yellow);
}
.news-dialog__media:empty { display: none; }
.news-dialog__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: var(--border);
  border-radius: 8px;
}
.news-dialog__date { margin: 0; font-size: 14px; color: var(--slate); }
.news-dialog h2 { margin: 0; }
.news-dialog__body { display: grid; gap: var(--s-4); }
.news-dialog__body p { margin: 0; color: var(--slate); }

/* Contact layout */
.nc-layout { display: grid; gap: var(--s-8); align-items: start; }
.nc-side { display: grid; gap: var(--s-8); }

.nc-card { background: #fff; padding: var(--s-6); display: grid; gap: var(--s-5); }
.nc-card h3 { margin: 0; }

.nc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.nc-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s-4);
  align-items: center;
}
.nc-tile {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green-deep);
  background: var(--offwhite);
  border: var(--border);
  border-radius: 8px;
}
.nc-label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.nc-value { display: block; font-size: 14px; color: var(--slate); overflow-wrap: anywhere; }
.nc-value a { color: var(--green-deep); text-decoration: underline; }

.nc-social h4 { margin: 0 0 var(--s-3); font-size: 16px; }

/* Venue */
.nc-venue-title { margin: 0 0 var(--s-3); font-size: 18px; }
.nc-map {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #E6EEE6; /* illustration colour, not a brand token */
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nc-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.nc-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%); /* the pin tip sits on the centre */
  display: grid;
  justify-items: center;
  gap: var(--s-1);
}
.nc-map__label {
  padding: var(--s-1) var(--s-3);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: 999px;
}
.nc-map__link {
  position: absolute;
  right: var(--s-3);
  bottom: var(--s-3);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--s-4);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: 999px;
}
.nc-map__link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--yellow);
}
.nc-caption { margin: var(--s-3) 0 0; font-size: 14px; color: var(--slate); }

/* Contact form */
.nc-form { background: #fff; padding: var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.nc-form h3 { margin: 0; }
.nc-note { margin: 0; font-size: 14px; color: var(--slate); }
.nc-req { color: var(--red-action); font-weight: 700; }

.nc-fields { display: grid; gap: var(--s-5); }
.nc-field { display: grid; gap: var(--s-2); }
.nc-field label { font-weight: 600; font-size: 14px; color: var(--ink); }

.nc-field input,
.nc-field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  font: inherit;
  font-size: 16px; /* stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: 8px;
}
.nc-field textarea { min-height: 140px; resize: vertical; }
.nc-field input:focus-visible,
.nc-field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--yellow);
}
.nc-field [aria-invalid="true"] { border-color: var(--red-action); }

.nc-status:empty { display: none; }
.nc-status { padding: var(--s-3) var(--s-4); border: var(--border); border-radius: 8px; font-weight: 600; }
.nc-status[data-state="success"] { background: var(--offwhite); border-color: var(--green-deep); }
.nc-status[data-state="error"] { border-color: var(--red-action); }

.nc-form .btn { justify-self: start; }
.nc-privacy { margin: 0; font-size: 14px; color: var(--slate); }

/* Spam trap, off-screen but not display:none so simple bots still fill it */
.nc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 600px) {
  .nc-news { grid-template-columns: repeat(2, 1fr); }
  .nc-fields { grid-template-columns: 1fr 1fr; }
  .nc-field--full { grid-column: 1 / -1; }
  .nc-form { padding: var(--s-8); }
}

@media (min-width: 1100px) {
  .nc-news { grid-template-columns: repeat(3, 1fr); }
  .nc-layout { grid-template-columns: 1fr 1.2fr; gap: var(--s-12); }
}