/* One presentation system for event, archive and club-night detail pages.
   The renderer retains each page's copy, photographs, links and controls. */
html body #main .barn-detail-page {
  --detail-line: #79504c;
  --detail-gold: #c7b9a8;
  background: #211a1a;
  color: #f0ece3;
}
html body #main .barn-detail-page .editor-event-banner {
  margin-block: 28px 0;
}
html body #main .barn-detail-page .editor-event-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
}

/* These selectors deliberately exclude all listing and general content pages. */
html body #main .barn-detail-page :is(.detail-feature,.nd-main),
html body #main .barn-detail-page .barn-event-artist > .container > .row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 48px;
  align-items: start;
  padding-block: 40px;
  margin-block: 0;
}
html body #main .barn-detail-page .barn-event-artist {
  padding-block: 0!important;
}
html body #main .barn-detail-page .barn-event-artist > .container > .row {
  margin-inline: 0;
}
html body #main .barn-detail-page .barn-event-artist > .container > .row > * {
  width: auto;
  max-width: none;
  min-width: 0;
  padding-inline: 0;
  flex: none;
}
html body #main .barn-detail-page :is(.detail-poster,.nd-poster,.artists-details-img) {
  min-width: 0;
  margin: 0;
}
html body #main .barn-detail-page :is(.detail-poster,.nd-poster,.artists-details-img) > a {
  display: block;
  background: #181313;
  border: 1px solid var(--detail-line)!important;
  border-radius: 8px!important;
  overflow: hidden;
  line-height: 0;
}
html body #main .barn-detail-page :is(.detail-poster,.nd-poster,.artists-details-img) img {
  display: block;
  width: auto!important;
  max-width: 100%;
  height: auto!important;
  max-height: 520px!important;
  object-fit: contain!important;
  object-position: center!important;
  margin: 0 auto!important;
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
}
html body #main .barn-detail-page :is(.detail-poster,.nd-poster) figcaption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--detail-gold);
  padding-top: 10px;
}
html body #main .barn-detail-page :is(.detail-summary,.nd-content,.artists-details-info) {
  min-width: 0;
  padding-top: 0;
}
html body #main .barn-detail-page h1 {
  font-size: clamp(40px,4.4vw,60px)!important;
  line-height: 1.06!important;
  letter-spacing: -.4px;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 10px 0 18px!important;
}
html body #main .barn-detail-page :is(.eyebrow,.event-eyebrow) {
  display: block;
  color: var(--detail-gold)!important;
  font-size: 12px!important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.8px;
  margin: 0 0 10px;
}
html body #main .barn-detail-page :is(.detail-summary,.artists-details-info) > p,
html body #main .barn-detail-page .em-detail-heading > p:last-child {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 20px;
}
html body #main .barn-detail-page :is(.em-back,.nd-back) {
  padding-block: 22px 0;
  gap: 16px;
  align-items: center;
}
html body #main .barn-detail-page :is(.em-back,.nd-back) > a {
  font-size: 14px;
  line-height: 1.5;
}
html body #main .barn-detail-page :is(.em-back,.nd-back) > span {
  color: var(--detail-gold);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.6px;
}

/* Common fact cards, with full-height natural flow for longer event details. */
html body #main .barn-detail-page .em-booking,
html body #main .barn-detail-page .artists-details-info {
  position: static;
  background: #5a171c!important;
  border: 1px solid var(--detail-line)!important;
  border-radius: 8px!important;
  box-shadow: none!important;
  padding: 28px;
}
html body #main .barn-detail-page .em-booking {
  margin-top: 24px;
}
html body #main .barn-detail-page .em-booking h2 {
  font-size: clamp(28px,2.6vw,34px)!important;
  line-height: 1.15!important;
  margin: 0 0 22px!important;
}
html body #main .barn-detail-page .em-booking dl {
  margin: 0 0 22px;
}
html body #main .barn-detail-page .em-booking dl > div {
  display: grid;
  grid-template-columns: minmax(64px,.3fr) minmax(0,1fr);
  gap: 16px;
  margin: 0;
  padding-block: 11px;
  border-bottom: 1px solid #ffffff18;
}
html body #main .barn-detail-page .em-booking dl > div:first-child {
  padding-top: 0;
}
html body #main .barn-detail-page .em-booking dt {
  color: #d5c8bb;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}
html body #main .barn-detail-page .em-booking dd {
  color: #f0ece3;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
html body #main .barn-detail-page .em-venue {
  margin-top: 24px;
}
html body #main .barn-detail-page .em-venue h3 {
  font: 700 20px/1.4 Arial,sans-serif!important;
  margin: 0 0 10px!important;
}
html body #main .barn-detail-page .em-venue address {
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 14px;
}
html body #main .barn-detail-page .em-ticket-note {
  color: #d5c8bb;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 20px;
}
html body #main .barn-detail-page :is(.event-artist-actions,.nd-actions) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 24px;
}
html body #main .barn-detail-page .nd-schedule {
  padding: 10px 14px;
  border: 1px solid var(--detail-line);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
}

/* A shared reading rhythm, without constraining image galleries or video. */
html body #main .barn-detail-page :is(.detail-story,.barn-event-story) {
  padding-top: 0!important;
  padding-bottom: 40px!important;
}
html body #main .barn-detail-page :is(.em-story,.archive-body) {
  padding-top: 0;
}
html body #main .barn-detail-page :is(.archive-description,.artists-details-content) {
  width: 100%;
  max-width: none;
}
html body #main .barn-detail-page :is(.eventcontent,.archive-description,.em-story,.nd-description) :is(p,li) {
  font-size: 17px!important;
  line-height: 1.75!important;
  max-width: 78ch;
}
html body #main .barn-detail-page :is(.eventcontent,.archive-description,.em-story,.nd-description) p {
  margin-block: 0 18px;
}
html body #main .barn-detail-page :is(.eventcontent,.archive-description,.em-story,.nd-description) :is(h2,h3,h4,h5) {
  max-width: 42ch;
  font-size: clamp(24px,2.5vw,32px)!important;
  line-height: 1.25!important;
  margin: 28px 0 14px!important;
}
html body #main .barn-detail-page :is(.archive-description,.nd-description) > :first-child {
  margin-top: 0!important;
}
html body #main .barn-detail-page .nd-intro {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 20px;
}
html body #main .barn-detail-page .archive-video {
  margin-top: 28px;
}
html body #main .barn-detail-page .archive-image-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
  margin-top: 28px;
}
html body #main .barn-detail-page .archive-image-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--detail-line)!important;
  border-radius: 8px!important;
  line-height: 0;
}
html body #main .barn-detail-page .archive-image-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 35%;
}

/* Native details controls retain their keyboard and expanded-state behavior. */
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) {
  background: #5a171c!important;
  border: 1px solid var(--detail-line)!important;
  border-radius: 8px!important;
  overflow: hidden;
  box-shadow: none!important;
  margin: 0 0 12px;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  list-style: none;
  background: #5a171c!important;
  color: #f0ece3!important;
  font: 600 16px/1.5 Arial,sans-serif;
  cursor: pointer;
  padding: 18px 20px!important;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) summary::-webkit-details-marker {
  display: none;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) summary:hover,
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq)[open] summary {
  background: #6a2024!important;
}
html body #main .barn-detail-page .barn-faq-item summary::after {
  content: "+";
  position: static;
  flex: 0 0 auto;
  color: var(--detail-gold)!important;
  font: 400 24px/1 Arial,sans-serif;
}
html body #main .barn-detail-page .barn-faq-item[open] summary::after {
  content: "\2212";
  transform: none;
}
html body #main .barn-detail-page .em-faq summary > span {
  flex: 0 0 auto;
  color: var(--detail-gold);
  font: 400 24px/1 Arial,sans-serif;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) > .accrodion-content {
  background: transparent!important;
  border: 0!important;
  padding: 18px 20px!important;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) .inner {
  padding: 0!important;
}
html body #main .barn-detail-page :is(.barn-faq-item,.em-faq) .inner > :last-child {
  margin-bottom: 0!important;
}
html body #main .barn-detail-page :is(a,summary,button):focus-visible {
  outline: 2px solid #f0ece3;
  outline-offset: 4px;
}
html body #main .barn-detail-page summary:focus-visible {
  outline-offset: -4px;
}

@media(max-width:991px) {
  html body #main .barn-detail-page :is(.detail-feature,.nd-main),
  html body #main .barn-detail-page .barn-event-artist > .container > .row {
    gap: 32px;
  }
  html body #main .barn-detail-page .em-booking,
  html body #main .barn-detail-page .artists-details-info {
    padding: 24px;
  }
  html body #main .barn-detail-page .archive-image-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
@media(max-width:767px) {
  html body #main .barn-detail-page .archive-image-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
  }
}
@media(max-width:760px) {
  html body #main .barn-detail-page :is(.detail-feature,.nd-main),
  html body #main .barn-detail-page .barn-event-artist > .container > .row {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
    padding-block: 28px;
  }
  html body #main .barn-detail-page :is(.detail-poster,.nd-poster,.artists-details-img) {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
  html body #main .barn-detail-page .em-booking,
  html body #main .barn-detail-page .artists-details-info {
    padding: 22px;
  }
  html body #main .barn-detail-page :is(.em-back,.nd-back) {
    padding-top: 20px;
    flex-wrap: wrap;
  }
  html body #main .barn-detail-page :is(.detail-story,.barn-event-story) {
    padding-bottom: 32px!important;
  }
  html body #main .barn-detail-page :is(.em-faqs,.nd-related),
  html body #main .barn-detail-page .nd-visit > .wrap {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
  }
  html body #main .barn-detail-page .event-location-card {
    display: block;
  }
  html body #main .barn-detail-page .event-location-card > * + * {
    margin-top: 18px;
  }
}
@media(max-width:480px) {
  html body #main .barn-detail-page .archive-image-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  html body #main .barn-detail-page .em-booking dl > div {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 12px;
  }
  html body #main .barn-detail-page :is(.event-artist-actions,.nd-actions) {
    gap: 16px;
  }
}
