/**
 * Generated by scripts/split-base-css.mjs.
 * Sources: base.css modules (foundation, cards, concerts, blocks, modal), menu.css, hlmp-content-blocks.css.
 */

:root {
  --hlmp-paper: #f8f6f0;
  --hlmp-navy: #10233f;
  --hlmp-sea: #165eaf;
  --hlmp-link: #0f559d;
  --hlmp-fog: #d8e0ea;
  --hlmp-sun: #c18c2d;
  --hlmp-shadow: 0 16px 40px rgba(16, 35, 63, 0.12);
  --hlmp-heading-font: "Jost", Helvetica, Arial, Lucida, sans-serif;
  --hlmp-scene-overlay: linear-gradient(
    180deg,
    rgba(9, 20, 35, 0.14) 0,
    rgba(9, 20, 35, 0.2) 11rem,
    rgba(248, 246, 240, 0.76) 40rem
  );
  --hlmp-scene-image: none;
  --hlmp-surface-max-width: 1200px;
  --hlmp-surface-inline-gutter: 2rem;
}

html {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
html {
    overflow-y: scroll;
  }
}

body {
  margin: 0;
  padding-bottom: 0 !important;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--hlmp-paper);
  background-image:
    radial-gradient(circle at top left, rgba(193, 140, 45, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(22, 94, 175, 0.12), transparent 25%);
  background-repeat: no-repeat, no-repeat;
  color: var(--hlmp-navy);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hlmp-surface__title {
  letter-spacing: 0.035em;
}

.hlmp-scene-body {
  position: relative;
  isolation: isolate;
  background-color: #62627c;
  background-image: none;
}

.hlmp-scene-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    var(--hlmp-scene-overlay),
    var(--hlmp-scene-image, none);
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  opacity: 1;
  transition: opacity 180ms ease-out;
}

html.hlmp-scene-fade-runtime:not(.hlmp-scene-fade-fallback) .hlmp-scene-body::before {
  opacity: 0;
}

html.hlmp-scene-fade-runtime.hlmp-scene-background-loaded .hlmp-scene-body::before,
html.hlmp-scene-fade-runtime.hlmp-scene-fade-fallback .hlmp-scene-body::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
html.hlmp-scene-fade-runtime .hlmp-scene-body::before {
    opacity: 1;
    transition: none;
  }
}

.wp-site-blocks {
  min-height: 100svh !important;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  max-width: 100%;
  overflow-x: clip;
  padding-bottom: 0 !important;
}

.wp-site-blocks > main {
  flex: 1 0 auto;
}

.wp-site-blocks > footer {
  flex: 0 0 auto;
}

@supports not (overflow-x: clip) {
html,
body,
.wp-site-blocks {
    overflow-x: hidden;
  }
}

.hlmp-site-main {
  /* No viewport-relative min-height: it made the main area stretch to 70vh on
     tall windows, pushing the in-flow footer down by a viewport-dependent
     amount (the footer appeared to drift away from the content on resize).
     The footer now sits a fixed distance below the actual content. */
  margin: 0;
  padding-bottom: 0;
}

.hlmp-site-main .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

.hlmp-surface {
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin: 2rem auto 4rem;
}

.hlmp-404-surface {
  --hlmp-404-section-gap: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hlmp-404-surface > * {
  margin-top: 0;
  margin-bottom: 0;
}

.hlmp-404-surface > .hlmp-content-hero {
  margin-bottom: var(--hlmp-404-section-gap);
}

.hlmp-404-surface > .hlmp-surface__section + .hlmp-surface__section {
  margin-top: var(--hlmp-404-section-gap);
}

body.hlmp-not-found-content-page.hlmp-block-layout-body .hlmp-site-main {
  --hlmp-404-section-gap: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--hlmp-404-section-gap);
  padding-bottom: var(--hlmp-404-section-gap);
}

body.hlmp-not-found-content-page.hlmp-block-layout-body .hlmp-site-main > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.hlmp-surface__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.hlmp-surface__hero-copy,
.hlmp-surface__media {
  background-color: var(--hlmp-paper);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 1.25rem;
  box-shadow: var(--hlmp-shadow);
}

.hlmp-surface__hero-copy {
  padding: 2rem;
}

.hlmp-surface__media {
  overflow: hidden;
  min-height: 300px;
}

.hlmp-surface__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hlmp-surface__media--artist {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.hlmp-surface__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--hlmp-sea);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hlmp-surface__title {
  margin: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.hlmp-surface__lede,
.hlmp-surface__meta-date {
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 52ch;
}

.hlmp-surface__content,
.hlmp-surface__section {
  box-sizing: border-box;
  max-width: 100%;
  background-color: var(--hlmp-paper);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 1.25rem;
  box-shadow: var(--hlmp-shadow);
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
}

.hlmp-surface__content + .hlmp-surface__section,
.hlmp-surface__stack > .hlmp-surface__section + .hlmp-surface__section {
  margin-top: 1.5rem;
}

.hlmp-404-program-message__text {
  max-width: 62ch;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hlmp-surface__stack {
  margin-top: 1.5rem;
}

.hlmp-surface__content a,
.hlmp-surface__section a {
  text-decoration: none;
}

.hlmp-surface__content a:hover,
.hlmp-surface__section a:hover {
  text-decoration: none;
}

.hlmp-surface--concert {
  margin-top: 0;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hlmp-surface--article {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hlmp-ticket-time-debug {
  display: grid;
  flex: 1 0 100%;
  gap: 0.3rem;
  margin-top: 0.15rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.8rem;
  background: rgba(3, 13, 31, 0.3);
  color: #fff;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  text-align: center;
}

.hlmp-ticket-time-debug p {
  margin: 0;
}

.hlmp-surface--artist-bio {
  margin-top: 0;
  padding-top: clamp(1.5rem, 4vw, 4rem);
}

.blue-action-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: #1457A3;
  color: #fff;
  cursor: pointer;
  font-family: "Jost", Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blue-action-button:hover,
.blue-action-button:focus-visible {
  background: #2f7dd2;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.blue-action-button.is-active {
  background: #0b3568;
  color: #fff;
}

.blue-action-button[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.hlmp-site-main .wp-caption.aligncenter {
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0.6rem;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.14);
}

.hlmp-site-main .wp-caption.aligncenter img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hlmp-site-main .wp-caption.aligncenter .wp-caption-text {
  margin: 0.55rem 0 0;
  font-style: italic;
  text-align: center;
}

.hlmp-surface__content img {
  border-radius: 0;
}

.hlmp-surface__content > *:first-child,
.hlmp-surface__section > *:first-child {
  margin-top: 0;
}

.hlmp-surface__content > *:last-child,
.hlmp-surface__section > *:last-child {
  margin-bottom: 0;
}

.hlmp-footer {
  margin: 0;
  padding-bottom: 0;
  background: #061f43;
  color: rgba(255, 255, 255, 0.94);
}

.hlmp-site-main > :last-child {
  margin-bottom: 0;
}

.hlmp-site-main > .hlmp-404-surface:last-child {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.hlmp-footer > :last-child,
.hlmp-footer > :last-child > :last-child {
  margin-bottom: 0;
}

.hlmp-footer a,
.hlmp-footer button {
  color: inherit;
  text-decoration: none;
}

.hlmp-footer__nav-band p:empty {
  display: none;
  margin: 0;
}

.hlmp-footer__inner {
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(3.6rem, 5.5vw, 5.6rem) 4rem clamp(1.2rem, 2vw, 1.8rem);
  box-sizing: border-box;
}

.hlmp-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.1rem, 5vw, 4.8rem) clamp(3rem, 8vw, 8rem);
}

.hlmp-footer__column {
  display: grid;
  gap: 1.6rem;
  align-content: start;
  font-size: 1.5rem;
}

.hlmp-footer__column-heading {
  margin: 0;
  color: #a9bdf2;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-transform: none;
}

.hlmp-footer .hlmp-footer__column-links {
  flex-direction: column;
}

.hlmp-footer .hlmp-footer__column-links > .hlmp-footer__item {
  display: block;
  width: fit-content;
  min-height: 0;
  height: auto;
  margin: 0;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 0.92;
  text-align: left;
  cursor: pointer;
}

.hlmp-footer__social-group {
  display: grid;
  gap: 1.35rem;
}

.hlmp-footer__column a:hover,
.hlmp-footer__column a:focus-visible,
.hlmp-footer__link-button:hover,
.hlmp-footer__link-button:focus-visible {
  color: #86bcff;
}

.hlmp-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.2rem;
  width: 100%;
  margin: 0;
}

.hlmp-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
}

.hlmp-footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hlmp-footer__social-link.is-inactive {
  opacity: 0.6;
  filter: grayscale(1);
}

.hlmp-footer__organizer-band {
  background: #000;
}

.hlmp-footer__organizer {
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(1rem, 2.2vw, 1.6rem) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  color: #fff;
}

.hlmp-footer__organizer-logo {
  display: block;
  max-height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.hlmp-footer__organizer-logo--hlmp {
  max-width: min(23rem, 31vw);
}

.hlmp-footer__organizer-logo--oulunsalo {
  max-width: min(27rem, 35vw);
}

.hlmp-footer__organizer-label,
.hlmp-footer__organizer-text {
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  letter-spacing: 0.035em;
  line-height: 1;
  white-space: nowrap;
}

.hlmp-footer__organizer-label {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  opacity: 0.95;
}

.hlmp-footer__organizer-text {
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
}

.hlmp-footer__credits {
  margin: clamp(2rem, 4vw, 3.6rem) 0 0;
  padding: 0;
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.25;
  text-align: center;
}

.hlmp-footer__credits a {
  color: #59a8ff;
}

@media (max-width: 900px) {
:root {
    --hlmp-surface-inline-gutter: 1rem;
  }
}

@media (max-width: 900px) {
.hlmp-surface__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
.hlmp-surface--concert {
    padding-top: clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 900px) {
.hlmp-footer__inner {
    width: min(100%, calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
    max-width: 100%;
    padding-top: 2.5rem;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
.hlmp-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
.hlmp-footer__column,
.hlmp-footer__column-heading,
.hlmp-footer__social-group {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
.hlmp-footer .hlmp-footer__column-links > .hlmp-footer__item {
    width: auto;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

@media (max-width: 900px) {
.hlmp-footer__social {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
.hlmp-footer__organizer {
    width: min(100%, calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
    flex-wrap: wrap;
    gap: 0.95rem;
  }
}

@media (max-width: 900px) {
.hlmp-footer__organizer-logo--hlmp,
.hlmp-footer__organizer-logo--oulunsalo {
    max-width: min(100%, 24rem);
  }
}

.copy-disabled {
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
}

html.hlmp-image-fade-runtime:not(.hlmp-image-fade-fallback) img[loading="lazy"]:not(.hlmp-image-loaded):not(.hlmp-image-fade-skip),
html.hlmp-image-fade-runtime:not(.hlmp-image-fade-fallback) img[data-hlmp-fade="lazy"]:not(.hlmp-image-loaded):not(.hlmp-image-fade-skip) {
  opacity: 0;
}

html.hlmp-image-fade-runtime img[loading="lazy"].hlmp-image-loaded:not(.hlmp-image-fade-skip),
html.hlmp-image-fade-runtime img[data-hlmp-fade="lazy"].hlmp-image-loaded:not(.hlmp-image-fade-skip) {
  opacity: 1;
}

.hlmp-footer__organizer-logo--hlmp {
  aspect-ratio: 24 / 7;
  object-fit: contain;
}

.media-card__title,
.media-card__subtitle,
.concert-grid-day-heading {
  letter-spacing: 0.035em;
}

.hlmp-concert-card {
  width: 100%;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(135deg, #02152d 0%, #05274d 100%);
  color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 24px 50px rgba(2, 21, 45, 0.28);
  overflow: hidden;
}

.hlmp-concert-card__media {
  position: relative;
  width: 100%;
  min-height: 0;
  background: none;
}

.hlmp-concert-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.hlmp-concert-card--square-layout {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: stretch;
}

.hlmp-concert-card--square-layout .hlmp-concert-card__media {
  min-height: 100%;
}

.hlmp-concert-card--square-layout .hlmp-concert-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hlmp-concert-card__details {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.6rem;
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  justify-content: center;
  text-align: center;
}

.hlmp-concert-card__details > * {
  width: 100%;
}

.hlmp-concert-card__details .hlmp-surface__title {
  color: #fff;
}

.hlmp-concert-card__details .hlmp-surface__title {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.035em;
  font-kerning: normal;
  text-align: center;
}

.hlmp-concert-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.hlmp-concert-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hlmp-concert-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.hlmp-concert-card__actions .hlmp-concert-card__action-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 12px 22px rgba(2, 21, 45, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.hlmp-concert-card__actions .hlmp-concert-card__action-link:hover,
.hlmp-concert-card__actions .hlmp-concert-card__action-link:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  text-decoration: none;
}

.hlmp-concert-page-events h2 {
  margin-top: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
}

.hlmp-concert-page-events-grid.media-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event {
  background: transparent;
  background-color: transparent;
  border-radius: 0.75rem;
  box-shadow: none;
  transition: color 0.32s ease;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event::before {
  content: "";
  background: #165eaf;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__link {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: inherit;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__media {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  max-width: 7.5rem;
  height: 4.75rem;
  aspect-ratio: auto;
  border-radius: 0.55rem;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event-banner .media-card__media {
  flex-basis: 9.75rem;
  width: 9.75rem;
  max-width: 9.75rem;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event-square .media-card__media {
  flex-basis: 4.75rem;
  width: 4.75rem;
  max-width: 4.75rem;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__image {
  object-fit: cover;
  object-position: center;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__body {
  align-items: flex-start;
  justify-content: center;
  min-height: auto;
  padding: 0;
  text-align: left;
  background: transparent;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__title {
  min-height: 0;
  max-width: none;
  font-family: inherit;
  font-variant: normal;
  color: #000;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
  transition: color 0.32s ease;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__meta {
  margin-top: 0.25rem;
  color: #000;
  opacity: 0.7;
  transition: color 0.32s ease, opacity 0.32s ease;
}

.hlmp-concert-page-events-grid .media-card--concert-page-event .media-card__meta p {
  margin: 0;
  color: inherit;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  line-height: 1.28;
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.hlmp-concert-page-events-grid .media-card--concert-page-event:hover::before,
.hlmp-concert-page-events-grid .media-card--concert-page-event:focus-within::before {
    opacity: 1;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.hlmp-concert-page-events-grid .media-card--concert-page-event:hover .media-card__title,
.hlmp-concert-page-events-grid .media-card--concert-page-event:hover .media-card__meta,
.hlmp-concert-page-events-grid .media-card--concert-page-event:focus-within .media-card__title,
.hlmp-concert-page-events-grid .media-card--concert-page-event:focus-within .media-card__meta {
    color: #fff;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.hlmp-concert-page-events-grid .media-card--concert-page-event:hover .media-card__meta,
.hlmp-concert-page-events-grid .media-card--concert-page-event:focus-within .media-card__meta {
    opacity: 0.62;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.hlmp-concert-page-events-grid .media-card--concert-page-event:hover .media-card__image,
.hlmp-concert-page-events-grid .media-card--concert-page-event:focus-within .media-card__image {
    transform: scale(1.06);
    filter: brightness(1.04);
  }
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.artist-pic-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 15rem));
  justify-content: center;
  align-items: stretch;
  gap: 0.9rem;
}

.hlmp-all-artists-grid-block {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.hlmp-all-artists-grid-block__search {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 2rem;
}

.hlmp-all-artists-grid-block__search-input {
  width: min(100%, 28rem);
  min-height: 3.1rem;
  box-sizing: border-box;
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hlmp-navy);
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8rem 1.25rem;
  text-align: center;
  box-shadow: 0 0.45rem 1.1rem rgba(6, 19, 41, 0.06);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.hlmp-all-artists-grid-block__search-input:focus {
  border-color: rgba(22, 94, 175, 0.5);
  background: #fff;
  box-shadow: 0 0.55rem 1.35rem rgba(22, 94, 175, 0.12);
}

.hlmp-all-artists-grid-block__search-input:focus::placeholder {
  color: transparent;
}

.hlmp-all-artists-grid-block .artist-pic-grid {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-block-start: 0;
  box-sizing: border-box;
}

.media-card {
  position: relative;
  box-sizing: border-box;
  border-radius: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #02152d 0%, #05274d 100%);
  box-shadow: 0 18px 38px rgba(2, 21, 45, 0.22);
  transition: transform 0.2s ease-in-out;
}

.hlmp-all-artists-grid-block .media-card--artist {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.18s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-all-artists-grid-block .media-card--artist.is-filtered-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.media-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
}

.media-card__link:hover,
.media-card__link:focus,
.media-card__link:active,
.media-card__link:visited {
  color: inherit;
  text-decoration: none;
}

.media-card__media {
  position: relative;
  flex: 0 0 40%;
  max-width: 40%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(2, 21, 45, 0.45);
}

.media-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  filter: brightness(1);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.media-card__image--placeholder {
  background: linear-gradient(145deg, rgba(9, 33, 68, 0.78) 0%, rgba(22, 94, 175, 0.58) 100%);
}

.media-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 0.25rem;
  color: #fff;
}

.media-card__title {
  margin: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
  color: #fff;
}

.media-card__subtitle {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
  color: #fff;
  opacity: 0.9;
}

.media-card__meta {
  width: 100%;
  color: whitesmoke;
}

.media-card__meta p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: whitesmoke;
}

@media (hover: hover) and (pointer: fine) {
.media-card:hover .media-card__image {
    transform: scale(1.06);
    filter: brightness(1.08);
  }
}

.media-card--artist {
  width: 100%;
  max-width: 15rem;
  height: 100%;
  justify-self: center;
  align-self: stretch;
  border-radius: 1.25rem;
  background: #000;
}

.media-card--artist .media-card__link {
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.media-card--artist .media-card__media {
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 0;
  background: #000;
}

.media-card--artist .media-card__body {
  align-items: center;
  justify-content: center;
  min-height: 6.4rem;
  padding: 1.15rem 0.95rem 1.25rem;
  box-sizing: border-box;
  text-align: center;
  background: #000;
  color: #fff;
}

.media-card--artist .media-card__title {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-variant: normal;
  font-size: 1.4rem;
  line-height: 1.12;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.media-card--artist .media-card__subtitle {
  margin-top: 0.55rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.1;
  opacity: 0.6;
}

.artist-pic-grid--gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 1.25rem;
}

.hlmp-concert-artists--single .artist-pic-grid--gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hlmp-concert-artists--single .artist-pic-grid--gallery .media-card--artist {
  grid-column: 1 / 2;
}

@media (max-width: 989px) {
.artist-pic-grid--gallery,
.hlmp-concert-artists--single .artist-pic-grid--gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
.hlmp-concert-page-events-grid.media-card-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.artist-pic-grid--gallery .media-card--artist {
  max-width: none;
  background-color: transparent;
  border-radius: 0.75rem;
  box-shadow: none;
  transition: color 0.32s ease;
}

.artist-pic-grid--gallery .media-card--artist::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #165eaf;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.artist-pic-grid--gallery .media-card--artist .media-card__link {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: inherit;
}

.artist-pic-grid--gallery .media-card--artist .media-card__media {
  flex: 0 0 5.5rem;
  width: 5.5rem;
  max-width: 5.5rem;
  aspect-ratio: 1 / 1;
  border-radius: 0.55rem;
}

.artist-pic-grid--gallery .media-card--artist .media-card__body {
  align-items: flex-start;
  justify-content: center;
  min-height: auto;
  padding: 0;
  text-align: left;
  background: transparent;
}

.artist-pic-grid--gallery .media-card--artist .media-card__title {
  max-width: none;
  font-family: inherit;
  font-variant: normal;
  color: #000;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
  transition: color 0.32s ease;
}

.artist-pic-grid--gallery .media-card--artist .media-card__subtitle {
  margin-top: 0.25rem;
  font-family: inherit;
  color: #000;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  letter-spacing: 0;
  opacity: 0.45;
  transition: color 0.32s ease, opacity 0.32s ease;
}

.hlmp-concert-artists .artist-pic-grid--gallery .media-card--artist .media-card__subtitle {
  color: #000;
  opacity: 0.7;
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.artist-pic-grid--gallery .media-card--artist:hover::before,
.artist-pic-grid--gallery .media-card--artist:focus-within::before {
    opacity: 1;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.artist-pic-grid--gallery .media-card--artist:hover .media-card__title,
.artist-pic-grid--gallery .media-card--artist:hover .media-card__subtitle,
.artist-pic-grid--gallery .media-card--artist:focus-within .media-card__title,
.artist-pic-grid--gallery .media-card--artist:focus-within .media-card__subtitle {
    color: #fff;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.artist-pic-grid--gallery .media-card--artist:hover .media-card__subtitle,
.artist-pic-grid--gallery .media-card--artist:focus-within .media-card__subtitle {
    opacity: 0.62;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
.artist-pic-grid--gallery .media-card--artist:hover .media-card__image,
.artist-pic-grid--gallery .media-card--artist:focus-within .media-card__image {
    transform: scale(1.06);
    filter: brightness(1.04);
  }
}

.media-card--concert .media-card__title {
  /* Reserve room for up to two lines so 1-line titles sit centered in the
     same block, 2-line titles fill it without changing the card height.
     Text always left-aligned regardless of line count. */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: calc(2 * 2rem * 1.12);
  font-size: 2rem;
  line-height: 1.12;
  text-align: left;
}

.media-card--concert .media-card__body {
  justify-content: flex-start;
}

.media-card--concert .media-card__meta {
  margin-top: 0.85rem;
}

.media-card--concert .media-card__meta p {
  font-size: 1.08rem;
  line-height: 1.65;
}

.media-card--concert::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #165eaf;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  pointer-events: none;
}

.media-card--concert-banner-stack .media-card__link {
  flex-direction: column;
  gap: 0.85rem;
}

.media-card--concert-banner-stack .media-card__media {
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.media-card--concert-banner-stack .media-card__body {
  min-height: 9rem;
}

.concert-grid-container--banner-stack {
  align-items: stretch;
}

.concert-grid-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 2.7rem;
  margin: 0 auto 1.75rem;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 0.45rem 1.1rem rgba(0, 16, 49, 0.18);
}

.concert-grid-filter .blue-action-button {
  min-height: 2.7rem;
  margin: 0;
  padding: 0.68rem 1rem;
  border-radius: 0;
  background: #0b3568;
  color: #fff;
  box-shadow: none;
  white-space: nowrap;
  transform: none;
}

.concert-grid-filter .blue-action-button.is-active {
  background: #1457A3;
  color: #fff;
}

.concert-grid-filter .blue-action-button:first-child {
  border-radius: 999px 0 0 999px;
}

.concert-grid-filter .blue-action-button:last-child {
  border-radius: 0 999px 999px 0;
}

.concert-grid-filter .blue-action-button + .blue-action-button {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.concert-grid-filter .blue-action-button:not(.is-active):hover,
.concert-grid-filter .blue-action-button:not(.is-active):focus-visible {
  background: #165eaf;
  color: #fff;
  box-shadow: none;
  transform: none;
}

.concert-grid-filter .blue-action-button:hover,
.concert-grid-filter .blue-action-button:focus-visible {
  transform: none;
}

@media (max-width: 520px) {
.concert-grid-filter {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    min-height: 2.45rem;
    overflow: hidden;
  }
}

@media (max-width: 520px) {
.concert-grid-filter .blue-action-button {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    height: 2.45rem;
    padding: 0 0.3rem;
    font-size: 0.92rem;
    line-height: 1;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
.concert-grid-filter .blue-action-button[data-concert-filter="all"] {
    flex-grow: 1.5;
  }
}

.concert-grid-day-group[hidden],
.concert-grid-item[hidden] {
  display: none !important;
}

.concert-grid-item {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.concert-grid-day-heading {
  margin: 0 0 1.15rem;
  color: #fff;
  font-family: var(--hlmp-heading-font);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-variant: small-caps;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 12px rgba(2, 21, 45, 0.28);
}

.media-card--concert .concert-container-frame {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
.media-card--concert:hover::before {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
.media-card--concert:hover .media-card__image {
    filter: none;
  }
}

@media (min-width: 901px) {
.hlmp-all-artists-grid-block .artist-pic-grid.media-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (min-width: 901px) {
.hlmp-all-artists-grid-block .media-card--artist {
    max-width: none;
    justify-self: stretch;
  }
}

@media (min-width: 901px) {
.hlmp-all-artists-grid-block .media-card--artist .media-card__title {
    font-size: 1.1rem;
  }
}

@media (min-width: 901px) {
.concert-grid-container {
    --concert-grid-card-height: 13rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }
}

@media (min-width: 901px) {
.concert-grid-day-cards.media-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.15rem;
  }
}

@media (min-width: 901px) {
.concert-grid-day-cards .media-card--concert {
    width: min(100%, 54rem);
    height: var(--concert-grid-card-height);
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert .media-card__link,
.concert-grid-container .media-card--concert-banner-stack .media-card__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert-square-only .media-card__link {
    display: grid;
    grid-template-columns: var(--concert-grid-card-height) minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    height: 100%;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert .media-card__media,
.concert-grid-container .media-card--concert-banner-stack .media-card__media {
    width: 100%;
    max-width: none;
    min-height: var(--concert-grid-card-height);
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    flex: none;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert-square-only .media-card__media {
    width: var(--concert-grid-card-height);
    max-width: none;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: var(--concert-grid-card-height);
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert-square-only .media-card__body {
    flex: 1 1 0;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert .media-card__body,
.concert-grid-container .media-card--concert-banner-stack .media-card__body {
    justify-content: flex-start;
    min-height: 0;
    height: 100%;
    padding: clamp(1.15rem, 2vw, 1.8rem);
    padding-left: 1.8rem;
    box-sizing: border-box;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert .media-card__image {
    height: 100%;
    max-height: 100%;
  }
}

@media (min-width: 901px) {
.concert-grid-container .media-card--concert-square-only .media-card__image {
    aspect-ratio: 1 / 1;
  }
}

.hlmp-all-artists-page .wp-block-post-title,
.hlmp-all-artists-page h1.wp-block-post-title {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin: clamp(5.8rem, 9vw, 8rem) calc(50% - 50vw) 0;
  padding: clamp(1.4rem, 3vw, 2.4rem) 1.5rem;
  background-color: var(--hlmp-paper);
  color: #10233f;
  text-align: center;
}

@media (max-width: 900px) {
.concert-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
.concert-grid-day-cards.media-card-grid,
.media-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
.artist-pic-grid.media-card-grid {
    grid-template-columns: repeat(2, minmax(0, 15rem));
    justify-content: center;
    gap: 0.9rem;
  }
}

@media (max-width: 900px) {
.hlmp-all-artists-grid-block .artist-pic-grid.media-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 900px) {
.hlmp-all-artists-grid-block .media-card--artist {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
.artist-pic-grid--gallery.media-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 1rem;
  }
}

@media (max-width: 900px) {
.artist-pic-grid .media-card--artist .media-card__body {
    min-height: 5.4rem;
    padding: 0.9rem 0.55rem 1rem;
  }
}

@media (max-width: 900px) {
.artist-pic-grid--gallery .media-card--artist .media-card__body {
    min-height: auto;
    padding: 0;
  }
}

@media (max-width: 900px) {
.artist-pic-grid .media-card--artist .media-card__title {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
  }
}

@media (max-width: 900px) {
.artist-pic-grid--gallery .media-card--artist .media-card__title {
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
.artist-pic-grid .media-card--artist .media-card__subtitle {
    margin-top: 0.45rem;
    font-size: clamp(0.64rem, 2.7vw, 0.78rem);
  }
}

@media (max-width: 900px) {
.artist-pic-grid--gallery .media-card--artist .media-card__subtitle {
    margin-top: 0.22rem;
    font-size: clamp(0.78rem, 2.6vw, 0.95rem);
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert .media-card__body,
.concert-grid-container .media-card--concert-banner-stack .media-card__body,
.concert-grid-container .media-card--concert-square-only .media-card__body {
    min-height: 12rem;
    padding: 1.75rem;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert .media-card__title,
.concert-grid-container .media-card--concert-banner-stack .media-card__title,
.concert-grid-container .media-card--concert-square-only .media-card__title {
    min-height: calc(2 * 2rem * 1.12);
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only {
    width: min(100%, 41rem);
    align-self: start;
    height: auto;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only .media-card__link {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only .media-card__body {
    flex: 0 0 auto;
    min-height: 12rem;
    height: auto;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert .media-card__link,
.concert-grid-container .media-card--concert-banner-stack .media-card__link,
.concert-grid-container .media-card--concert-square-only .media-card__link {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert .media-card__media,
.concert-grid-container .media-card--concert-banner-stack .media-card__media,
.concert-grid-container .media-card--concert-square-only .media-card__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    display: block;
  }
}

@media (max-width: 900px) {
@supports not (aspect-ratio: 1 / 1) {
.concert-grid-container .media-card--concert,
.concert-grid-container .media-card--concert-banner-stack {
      width: 100%;
    }
}
}

@media (max-width: 900px) {
@supports not (aspect-ratio: 1 / 1) {
.concert-grid-container .media-card--concert-square-only {
      width: 100%;
      max-width: 41rem;
    }
}
}

@media (max-width: 900px) {
@supports not (aspect-ratio: 1 / 1) {
.concert-grid-container .media-card--concert .media-card__media::after,
.concert-grid-container .media-card--concert-banner-stack .media-card__media::after,
.concert-grid-container .media-card--concert-square-only .media-card__media::after {
      content: "";
      display: block;
      width: 100%;
      padding-top: 56.25%;
      pointer-events: none;
    }
}
}

@media (max-width: 900px) {
@supports not (aspect-ratio: 1 / 1) {
.concert-grid-container .media-card--concert .media-card__media img,
.concert-grid-container .media-card--concert .media-card__image,
.concert-grid-container .media-card--concert-banner-stack .media-card__media img,
.concert-grid-container .media-card--concert-banner-stack .media-card__image {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
}
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert .media-card__media img,
.concert-grid-container .media-card--concert .media-card__image,
.concert-grid-container .media-card--concert-banner-stack .media-card__media img,
.concert-grid-container .media-card--concert-banner-stack .media-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only .media-card__media {
    background-color: rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only .media-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--media-card-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(28px) brightness(0.55) saturate(1.05);
    transform: scale(1.18); /* hides blur edge bleed */
    pointer-events: none;
    z-index: 0;
  }
}

@media (max-width: 900px) {
.concert-grid-container .media-card--concert-square-only .media-card__media img,
.concert-grid-container .media-card--concert-square-only .media-card__image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 56.25%;
    height: 100%;
    max-width: none;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0;
  }
}

@media (max-width: 900px) {
.media-card:hover .media-card__image,
.media-card:focus-within .media-card__image,
.media-card--concert:hover .media-card__image,
.media-card--concert:focus-within .media-card__image {
    transform: scale(1);
    filter: brightness(1);
  }
}

@media (max-width: 900px) {
.media-card--concert:hover::before,
.media-card--concert:focus-within::before {
    opacity: 0;
  }
}

@media (max-width: 900px) {
.concert-grid-day-cards.media-card-grid {
    gap: 1.15rem;
  }
}

@media (max-width: 900px) {
.hlmp-concert-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
.hlmp-concert-card--square-layout {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
.hlmp-concert-card__media {
    min-height: 0;
  }
}

@media (max-width: 900px) {
.hlmp-concert-card__details .hlmp-surface__title {
    font-size: clamp(2rem, 8vw, 2.4rem);
  }
}

@media (max-width: 900px) {
.hlmp-concert-card__meta p {
    font-size: 1.2rem;
    line-height: 1.8rem;
  }
}

@media (max-width: 600px) {
.concert-grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
.hlmp-concert-card--square-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
.hlmp-concert-card--square-layout .hlmp-concert-card__media img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 600px) {
.media-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
.artist-pic-grid.media-card-grid {
    grid-template-columns: repeat(2, minmax(0, 15rem));
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
.hlmp-all-artists-grid-block .artist-pic-grid.media-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 600px) {
.hlmp-all-artists-grid-block .media-card--artist {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
.artist-pic-grid--gallery.media-card-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.hlmp-artist-scene__label {
  letter-spacing: 0.035em;
}

.hlmp-concert-body__main a,
.hlmp-concert-body__sidebar a {
  text-decoration: none;
}

.hlmp-concert-body__main a:hover,
.hlmp-concert-body__sidebar a:hover {
  text-decoration: none;
}

.hlmp-concert-scene {
  width: 50%;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
  display: flex;
  justify-content: center;
}

.hlmp-concert-scene__logo-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.hlmp-concert-scene__logo {
  max-width: min(90vw, 840px);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.hlmp-artist-scene {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hlmp-artist-scene__logo {
  width: 70%;
  max-width: 700px;
}

.hlmp-artist-scene__label {
  margin: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
.hlmp-artist-scene__logo {
    display: none;
  }
}

.hlmp-concert-body {
  width: 100%;
  /* Bottom margin restores the spacing above the footer that the footer's own
     (now-removed) top margin used to provide on concert/artist pages. */
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.78fr);
  gap: 2rem;
  align-items: start;
}

.hlmp-concert-body__main > .hlmp-surface__section,
.hlmp-concert-body__main > .hlmp-surface__stack {
  margin-top: 1.5rem;
}

.hlmp-concert-body__main > .hlmp-surface__section:first-child,
.hlmp-concert-body__main > .hlmp-surface__stack:first-child {
  margin-top: 0;
}

.hlmp-concert-body__sidebar {
  position: relative;
}

.hlmp-concert-page-body {
  display: block;
}

.hlmp-concert-page-body > .hlmp-surface__section,
.hlmp-concert-page-body > .hlmp-surface__stack,
.hlmp-concert-page-body > .hlmp-concert-page-body__columns {
  margin-top: 1.5rem;
}

.hlmp-concert-page-body > .hlmp-surface__section:first-child,
.hlmp-concert-page-body > .hlmp-surface__stack:first-child,
.hlmp-concert-page-body > .hlmp-concert-page-body__columns:first-child {
  margin-top: 0;
}

.hlmp-concert-page-body__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.hlmp-concert-page-body__columns > * {
  min-width: 0;
}

.hlmp-concert-page-body__columns > :only-child {
  grid-column: 1 / -1;
}

.hlmp-concert-page-body__columns > .hlmp-concert-artists {
  grid-column: 1 / -1;
}

.hlmp-concert-page-body__intro-stack {
  display: grid;
  gap: 1.5rem;
}

.hlmp-concert-sidebar {
  position: sticky;
  top: 1.5rem;
}

.hlmp-concert-page-sidebar {
  position: static;
}

.hlmp-concert-sidebar h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
}

.hlmp-concert-sidebar a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--hlmp-sea);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.hlmp-concert-sidebar a:first-of-type {
  margin-top: 0;
}

.hlmp-concert-sidebar a:hover {
  text-decoration: none;
}

.hlmp-concert-sidebar p {
  margin: 0.35rem 0 1rem;
  color: rgba(16, 35, 63, 0.9);
}

.hlmp-concert-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hlmp-concert-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
}

.hlmp-concert-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hlmp-concert-section__head h2 {
  margin-bottom: 0;
}

.hlmp-concert-section__meta {
  flex-shrink: 0;
  opacity: 0.8;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--hlmp-navy);
  white-space: nowrap;
}

.hlmp-concert-section__clip {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-height: none;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-concert-section--esittely .hlmp-concert-section__clip {
  margin-inline: -1rem;
  padding-inline: 1rem;
}

.hlmp-concert-section__content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hlmp-concert-section__content > :first-child {
  margin-top: 0;
}

.hlmp-concert-section__content > :last-child {
  margin-bottom: 0;
}

.hlmp-concert-section__fade {
  display: none;
}

.hlmp-concert-section.is-collapsed .hlmp-concert-section__clip {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 50px),
    rgba(0, 0, 0, 0.08) calc(100% - 14px),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0,
    #000 calc(100% - 50px),
    rgba(0, 0, 0, 0.08) calc(100% - 14px),
    transparent 100%
  );
}

.hlmp-concert-section__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 1rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--hlmp-sea);
  color: #fff;
  font-family: var(--hlmp-heading-font);
  font-size: 1rem;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(22, 94, 175, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hlmp-concert-section__toggle[hidden] {
  display: none;
}

.hlmp-concert-section__toggle:hover,
.hlmp-concert-section__toggle:focus-visible {
  background: #0f4c8f;
  box-shadow: 0 16px 28px rgba(22, 94, 175, 0.28);
  transform: translateY(-1px);
}

.hlmp-artist-card {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: stretch;
}

.hlmp-artist-card__media {
  min-height: 100%;
}

.hlmp-artist-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hlmp-artist-card__details {
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
}

.hlmp-artist-card__details .hlmp-surface__title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.03em;
  font-kerning: normal;
}

.hlmp-artist-card__role {
  margin: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.08;
  color: #fff;
  text-align: center;
}

.hlmp-artist-body {
  align-items: start;
}

.hlmp-artist-body__main,
.hlmp-artist-body__sidebar {
  min-width: 0;
}

.hlmp-artist-content-card,
.hlmp-artist-sidebar-card {
  height: 100%;
}

.hlmp-artist-content-card__separator {
  height: 1px;
  margin: 2rem 0;
  background: rgba(16, 35, 63, 0.12);
}

.hlmp-artist-sidebar-card > *:first-child {
  margin-top: 0;
}

.hlmp-artist-sidebar-card h2 {
  margin-top: 0;
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
}

.hlmp-artist-sidebar-card p {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.45;
}

.hlmp-artist-sidebar-card a {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 400;
}

.hlmp-artist-sidebar-card a:first-of-type {
  margin-top: 0;
}

.hlmp-artist-events {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.hlmp-artist-events li {
  margin-top: 0.35rem;
}

.hlmp-artist-events li:first-child {
  margin-top: 0;
}

.hlmp-artist-events a {
  margin-top: 0;
}

.hlmp-artist-sidebar-card .hlmp-artist-events__label {
  margin-top: 1.6rem;
}

.hlmp-event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.hlmp-event-meta p {
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(216, 224, 234, 0.45);
  border-radius: 0.8rem;
}

.hlmp-concert-artists h2 {
  font-family: var(--hlmp-heading-font);
  font-variant: small-caps;
}

.hlmp-concert-section--esittely .hlmp-concert-section__content img,
.hlmp-concert-section--esittely .hlmp-concert-section__content .wp-caption,
.hlmp-concert-section--esittely .hlmp-concert-section__content figure {
  max-width: 100% !important;
}

.hlmp-concert-section--esittely .hlmp-concert-section__content img {
  display: block;
  width: 100%;
  height: auto;
}

.hlmp-concert-section--esittely .hlmp-concert-section__content .wp-caption,
.hlmp-concert-section--esittely .hlmp-concert-section__content figure {
  width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 900px) {
.hlmp-concert-scene {
    width: 100%;
  }
}

@media (max-width: 900px) {
.hlmp-concert-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
.hlmp-concert-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
.hlmp-concert-page-body__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
.hlmp-concert-section__toggle {
    width: 100%;
  }
}

@media (max-width: 600px) {
.hlmp-artist-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
.hlmp-artist-card__media img {
    height: auto;
    max-height: none;
  }
}

.hlmp-artist-scene__label {
  font-size: 2.5rem;
  font-variant: small-caps;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hlmp-artist-scene__logo {
  width: 70%;
  max-width: 400px;
}

.hlmp-artist-scene {
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.hlmp-concert-scene__logo,
.hlmp-artist-scene__logo {
  aspect-ratio: 21 / 10;
  object-fit: contain;
}

.wp-site-blocks > .wp-block-template-part:last-child {
  flex: 0 0 auto;
}

.hlmp-content-hero__credit {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.35rem);
  bottom: clamp(0.65rem, 1.5vw, 1rem);
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
  opacity: 0.8;
  text-shadow: 0 0.1rem 0.35rem rgba(0, 0, 0, 0.85);
}

.hlmp-concert-card__credit {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.35rem);
  bottom: clamp(0.65rem, 1.5vw, 1rem);
  z-index: 2;
  display: inline-grid;
  grid-template-columns: 2.75rem 0fr;
  grid-template-rows: 1fr;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 0, 0, 0.46);
  color: #fff;
  font: inherit;
  line-height: 1.1;
  text-align: left;
  text-shadow: 0 0.1rem 0.35rem rgba(0, 0, 0, 0.85);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.95;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.22);
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
    grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hlmp-concert-card__credit:hover,
.hlmp-concert-card__credit:focus-visible {
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 0.55rem 1.35rem rgba(0, 0, 0, 0.28);
}

.hlmp-concert-card__credit.is-expanded {
  grid-template-columns: 2.75rem minmax(0, var(--hlmp-credit-text-width, 0px));
  width: var(--hlmp-credit-expanded-width, 2.75rem);
  height: var(--hlmp-credit-expanded-height, 2.75rem);
  max-width: calc(100% - 2rem);
  background: rgba(0, 0, 0, 0.58);
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hlmp-concert-card__credit.is-expanded:hover,
.hlmp-concert-card__credit.is-expanded:focus-visible {
  background: rgba(0, 0, 0, 0.5);
}

.hlmp-concert-card__credit-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.hlmp-concert-card__credit:hover .hlmp-concert-card__credit-mark,
.hlmp-concert-card__credit:focus-visible .hlmp-concert-card__credit-mark,
.hlmp-concert-card__credit.is-expanded .hlmp-concert-card__credit-mark {
  opacity: 1;
}

.hlmp-concert-card__credit-text {
  box-sizing: border-box;
  min-width: 0;
  width: var(--hlmp-credit-text-width, auto);
  padding: 0.45rem 0.9rem 0.45rem 0;
  font-size: 0.82rem;
  line-height: 1.15;
  opacity: 0;
  transform: translateX(-0.35rem);
  white-space: normal;
  overflow: hidden;
  display: block;
  transition:
    opacity 0.12s ease,
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-concert-card__credit.is-expanded .hlmp-concert-card__credit-text {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.18s ease 0.22s,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.sdc-groundwork-video-embed {
  margin: 2.5rem auto;
}

.hlmp-surface__content .wp-block-image {
  border-radius: 0;
}

.yt-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.yt-container iframe,
.yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.paperipalsta {
  padding: 1em 2.2em 0.5em;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(16, 35, 63, 0.14);
  border-radius: 10px;
  background-color: var(--hlmp-paper);
  box-shadow: 0 18px 38px rgba(16, 35, 63, 0.18);
}

.paperipalsta a:hover {
  color: #61969e;
}

.paperipalsta h3,
.paperipalsta h4,
.paperipalsta h5 {
  padding-top: 1.5em;
}

.paperipalsta .wp-caption,
.paperipalsta .fluid-width-video-wrapper {
  margin-top: 1.5em;
  margin-bottom: 3em;
}

.paperipalsta .fluid-width-video-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

.taiteilijapalsta {
  margin: 0.5em;
  padding: 1em 1.2em 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid rgba(40, 46, 90, 1);
  border-radius: 10px;
  background-color: rgba(20, 26, 50, 1);
  color: whitesmoke;
  text-shadow: 3px 3px 2px #09251e;
  box-shadow: 0 18px 38px rgba(2, 21, 45, 0.28);
}

.taiteilijapalsta h3,
.taiteilijapalsta h4,
.taiteilijapalsta h5,
.taiteilijapalsta b {
  color: whitesmoke;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hlmp-sea);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 94, 175, 0.22);
}

.wp-block-button__link:hover {
  background: #124985;
}

.full-bleed-block {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.is-layout-flow > .full-bleed-block,
.wp-block-post-content > .full-bleed-block {
  margin-block-start: 0;
  margin-block-end: 0;
}

.restrict-content-width {
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.restrict-content-width--narrow {
  width: min(54rem, calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
}

.hlmp-columns-section__inner,
.sdc-columns-section__inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hlmp-columns-section,
.sdc-columns-section {
  padding-block: 4rem;
}

.hlmp-columns-section__full-width {
  width: 100%;
  box-sizing: border-box;
}

.hlmp-columns-section--1 .hlmp-columns-section__inner,
.sdc-columns-section--1 .sdc-columns-section__inner {
  grid-template-columns: 1fr;
}

.hlmp-columns-section--2 .hlmp-columns-section__inner,
.sdc-columns-section--2 .sdc-columns-section__inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hlmp-columns-section--3 .hlmp-columns-section__inner,
.sdc-columns-section--3 .sdc-columns-section__inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hlmp-columns-section__inner > *,
.sdc-columns-section__inner > * {
  margin-block-start: 0;
}

.hlmp-columns-section__column,
.sdc-columns-section__column {
  min-width: 0;
}

.hlmp-columns-section__column > *,
.sdc-columns-section__column > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hlmp-columns-section--bg-paper,
.sdc-columns-section--bg-paper {
  background-color: #f8f6f0;
}

.hlmp-columns-section--bg-dark-blue,
.sdc-columns-section--bg-dark-blue,
.sdc-columns-section--bg-navy,
.sdc-columns-section--bg-sea,
.sdc-columns-section--bg-navy-radial,
.sdc-columns-section--bg-sea-horizontal {
  background: linear-gradient(90deg, #020714 0%, #071a3b 52%, #0f4c92 100%);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hlmp-columns-section--bg-dark-blue :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
),
.sdc-columns-section--bg-dark-blue :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
),
.sdc-columns-section--bg-navy :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
),
.sdc-columns-section--bg-sea :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
),
.sdc-columns-section--bg-navy-radial :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
),
.sdc-columns-section--bg-sea-horizontal :where(
  h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, figcaption,
  .hlmp-content-heading,
  .hlmp-content-paragraph,
  .hlmp-content-citation,
  .hlmp-content-citation__text,
  .hlmp-content-citation__person
) {
  color: #fff;
}

.hlmp-columns-section--bg-dark-blue :where(a),
.sdc-columns-section--bg-dark-blue :where(a),
.sdc-columns-section--bg-navy :where(a),
.sdc-columns-section--bg-sea :where(a),
.sdc-columns-section--bg-navy-radial :where(a),
.sdc-columns-section--bg-sea-horizontal :where(a) {
  color: #fff;
}

.hlmp-columns-section--bg-dark-blue .hlmp-content-heading,
.hlmp-columns-section--bg-dark-blue .hlmp-content-paragraph,
.hlmp-columns-section--bg-dark-blue .hlmp-content-citation,
.hlmp-columns-section--bg-dark-blue .hlmp-content-citation__text,
.hlmp-columns-section--bg-dark-blue .hlmp-content-citation__person,
.sdc-columns-section--bg-dark-blue .hlmp-content-heading,
.sdc-columns-section--bg-dark-blue .hlmp-content-paragraph,
.sdc-columns-section--bg-dark-blue .hlmp-content-citation,
.sdc-columns-section--bg-dark-blue .hlmp-content-citation__text,
.sdc-columns-section--bg-dark-blue .hlmp-content-citation__person,
.sdc-columns-section--bg-navy .hlmp-content-heading,
.sdc-columns-section--bg-navy .hlmp-content-paragraph,
.sdc-columns-section--bg-navy .hlmp-content-citation,
.sdc-columns-section--bg-navy .hlmp-content-citation__text,
.sdc-columns-section--bg-navy .hlmp-content-citation__person,
.sdc-columns-section--bg-sea .hlmp-content-heading,
.sdc-columns-section--bg-sea .hlmp-content-paragraph,
.sdc-columns-section--bg-sea .hlmp-content-citation,
.sdc-columns-section--bg-sea .hlmp-content-citation__text,
.sdc-columns-section--bg-sea .hlmp-content-citation__person,
.sdc-columns-section--bg-navy-radial .hlmp-content-heading,
.sdc-columns-section--bg-navy-radial .hlmp-content-paragraph,
.sdc-columns-section--bg-navy-radial .hlmp-content-citation,
.sdc-columns-section--bg-navy-radial .hlmp-content-citation__text,
.sdc-columns-section--bg-navy-radial .hlmp-content-citation__person,
.sdc-columns-section--bg-sea-horizontal .hlmp-content-heading,
.sdc-columns-section--bg-sea-horizontal .hlmp-content-paragraph,
.sdc-columns-section--bg-sea-horizontal .hlmp-content-citation,
.sdc-columns-section--bg-sea-horizontal .hlmp-content-citation__text,
.sdc-columns-section--bg-sea-horizontal .hlmp-content-citation__person {
  color: #fff;
}

@media (max-width: 900px) {
.hlmp-columns-section__inner,
.sdc-columns-section__inner {
    padding-inline: 1rem;
  }
}

@media (max-width: 900px) {
.hlmp-columns-section--2 .hlmp-columns-section__inner,
.hlmp-columns-section--3 .hlmp-columns-section__inner,
.sdc-columns-section--2 .sdc-columns-section__inner,
.sdc-columns-section--3 .sdc-columns-section__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
.hlmp-columns-section--mobile-right-first .hlmp-columns-section__column--left,
.hlmp-columns-section--mobile-right-first .sdc-columns-section__column--left,
.sdc-columns-section--mobile-right-first .sdc-columns-section__column--left {
    order: 2;
  }
}

@media (max-width: 900px) {
.hlmp-columns-section--mobile-right-first .hlmp-columns-section__column--right,
.hlmp-columns-section--mobile-right-first .sdc-columns-section__column--right,
.sdc-columns-section--mobile-right-first .sdc-columns-section__column--right {
    order: 1;
  }
}

@media (max-width: 900px) {
.hlmp-columns-section--bg-dark-blue,
.sdc-columns-section--bg-dark-blue,
.sdc-columns-section--bg-navy,
.sdc-columns-section--bg-sea,
.sdc-columns-section--bg-navy-radial,
.sdc-columns-section--bg-sea-horizontal {
    background: linear-gradient(90deg, #020714 0%, #071a3b 52%, #0f4c92 100%) !important;
    background-attachment: scroll;
  }
}

html.hlmp-modal-is-open,
html.hlmp-ticket-modal-is-open {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body.hlmp-modal-is-open,
html.hlmp-modal-is-open body,
html.hlmp-ticket-modal-is-open body,
body.hlmp-footer-contact-modal-open {
  overflow: hidden;
}

.hlmp-modal,
.hlmp-modal * {
  box-sizing: border-box;
}

.hlmp-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.75rem);
  background: rgba(3, 13, 31, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.hlmp-modal.is-open,
.hlmp-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hlmp-modal__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: pointer;
}

.hlmp-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(56rem, calc(100vw - 1.5rem));
  height: min(64rem, calc(100vh - 1.5rem));
  max-height: min(64rem, calc(100vh - 1.5rem));
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: 0 28px 70px rgba(3, 13, 31, 0.34);
  color: #050914;
  transform: scale(0.985);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hlmp-modal.is-open .hlmp-modal__panel,
.hlmp-modal.is-visible .hlmp-modal__panel {
  transform: scale(1);
}

.hlmp-modal__header {
  --hlmp-modal-header-pad: clamp(1.15rem, 2vw, 1.65rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: var(--hlmp-modal-header-pad) var(--hlmp-modal-header-pad) 0 clamp(1.6rem, 3vw, 2.5rem);
}

.hlmp-modal__title {
  margin: 0;
  color: #050914;
  font-family: var(--hlmp-heading-font, inherit);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hlmp-modal__close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #e3e3e3;
  color: #777;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.hlmp-modal__close::before,
.hlmp-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 0.28rem;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.hlmp-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hlmp-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hlmp-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 clamp(1.6rem, 3vw, 2.5rem) clamp(1.15rem, 2vw, 1.65rem);
}

.hlmp-modal__body > :first-child {
  margin-top: 0;
}

.hlmp-modal__body > :last-child {
  margin-bottom: 0;
}

.hlmp-modal--contact .hlmp-modal__panel {
  width: min(44rem, calc(100vw - 2rem));
  height: auto;
  max-height: min(42rem, calc(100svh - 2rem));
}

.hlmp-modal--contact .hlmp-modal__body {
  font-size: 1.08rem;
  line-height: 1.55;
}

.hlmp-footer__contact-card {
  margin-bottom: 1.5rem;
}

.hlmp-footer__contact-card:last-child {
  margin-bottom: 0;
}

.hlmp-footer__contact-card h3 {
  margin: 0 0 0.35rem;
}

.hlmp-footer__contact-role {
  margin: 0 0 0.35rem;
}

.hlmp-footer__contact-card p > a {
  display: block;
}

.hlmp-footer__contact-card p > a + a {
  margin-top: 0.15rem;
}

@keyframes custom-menu-slide-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

@keyframes custom-menu-slide-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

:root {
  --custom-menu-height: 72px;
  --custom-menu-max-width: 1280px;
  --custom-menu-bg: var(--hlmp-navy, #10233f);
  --custom-menu-highlight: rgba(255, 255, 255, 0.14);
  --custom-menu-mobile-transition: 0.4s;
  --custom-menu-logo-vpad: 10px;
  --custom-admin-bar-height: 0px;
  --custom-menu-links-shift: 0px;
}

.custom-menu-bar.custom-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  height: var(--custom-menu-height, 72px);
  box-shadow: 0 12px 18px -12px rgba(0, 0, 0, 0);
  transition: box-shadow 0.24s ease;
}

.custom-menu-bar.custom-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.admin-bar .custom-menu-bar.custom-menu {
  top: var(--custom-admin-bar-height, var(--wp-admin-bar-height, 32px));
}

@media screen and (max-width: 782px) {
  .admin-bar .custom-menu-bar.custom-menu {
    top: var(--custom-admin-bar-height, 46px);
  }
}

.custom-menu-inner.custom-menu {
  font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
  background: transparent;
  color: #ffffff;
  width: 100%;
  max-width: var(--custom-menu-max-width, 1280px);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--custom-menu-height, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1000;
  overflow: visible;
  box-sizing: border-box;
}

.custom-menu-logo.custom-menu img {
  max-height: calc(var(--custom-menu-height, 72px) - (var(--custom-menu-logo-vpad, 10px) * 2));
  width: auto;
  height: auto;
  display: block;
  margin: var(--custom-menu-logo-vpad, 10px) 0;
}

.custom-menu-logo.custom-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.custom-menu-logo__text {
  font-weight: 700;
  font-size: 1.1em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

.custom-menu-concert-summary.custom-menu {
  display: none;
}

.custom-menu-nav.custom-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
  font-variant: small-caps;
  letter-spacing: 0.04em;
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.custom-menu-nav.custom-menu > li > a,
.custom-menu-nav.custom-menu > li > .custom-menu-history-trigger {
  display: flex;
  align-items: center;
  height: var(--custom-menu-height, 72px);
  padding: 0 1em;
  box-sizing: border-box;
}

.custom-menu-nav.custom-menu a,
.custom-menu-nav.custom-menu .custom-menu-history-trigger {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  padding: 6px 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.custom-menu-nav.custom-menu .custom-menu-history-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-variant: inherit;
  letter-spacing: inherit;
}

.custom-menu-nav.custom-menu li {
  position: relative;
  padding: 0;
}

/* "Varaa lippuja" ticket button injected as the first menu item. */
.custom-menu-nav__item--ticket {
  display: flex;
  align-items: center;
}

.hlmp-menu-ticket-button {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  margin-right: 0.6rem;
  white-space: nowrap;
}

.hlmp-menu-ticket-button:hover,
.hlmp-menu-ticket-button:focus-visible {
  background: #1f6fc9;
}

.custom-menu-nav.custom-menu li ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
  list-style: none;
  min-width: max(180px, 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1300;
}

.custom-menu-nav.custom-menu li ul li {
  width: 100%;
  padding: 0;
  margin: 0;
}

.custom-menu-nav.custom-menu li ul a {
  display: block;
  padding: 8px 16px;
  width: 100%;
  box-sizing: border-box;
}

.custom-menu-nav.custom-menu li:hover > ul,
.custom-menu-nav.custom-menu li:focus-within > ul {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.custom-menu-lock .custom-menu-nav.custom-menu li ul {
  display: none !important;
  transition: none !important;
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.custom-menu-lock .custom-menu-nav.custom-menu li:hover > ul,
.custom-menu-lock .custom-menu-nav.custom-menu li:focus-within > ul {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
  pointer-events: none !important;
}

.custom-menu-nav.custom-menu a:hover,
.custom-menu-nav.custom-menu a:focus-visible,
.custom-menu-nav.custom-menu .custom-menu-history-trigger:hover,
.custom-menu-nav.custom-menu .custom-menu-history-trigger:focus-visible {
  background-color: var(--custom-menu-highlight, rgba(255, 255, 255, 0.12));
  color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-menu-links.custom-menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 0 20px;
  box-sizing: border-box;
  background: transparent;
  z-index: 1200;
  height: var(--custom-menu-height, 72px);
  max-width: var(--custom-menu-max-width, 1280px);
  margin: 0 auto;
}

@media (min-width: 961px) {
  .custom-menu-bar.custom-menu.is-scrolled,
  .custom-menu-bar.custom-menu.is-history-panel-open {
    box-shadow: 0 12px 18px -12px rgba(0, 0, 0, 0.4);
  }

  .custom-menu-bar.custom-menu.is-scrolled::before,
  .custom-menu-bar.custom-menu.is-history-panel-open::before {
    opacity: 1;
  }

  .custom-menu-logo.custom-menu {
    padding-left: 1rem;
    opacity: 0;
    transform: translateX(-1.5rem);
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .custom-menu-links.custom-menu {
    pointer-events: none;
    justify-content: center;
    transition: opacity 0.24s ease;
  }

  .custom-menu-links.custom-menu .custom-menu-nav.custom-menu,
  .custom-menu-links.custom-menu .custom-menu-nav.custom-menu * {
    pointer-events: auto;
  }

  .custom-menu-bar.custom-menu.is-scrolled .custom-menu-logo.custom-menu {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .custom-menu-bar.custom-menu.is-scrolled .custom-menu-nav.custom-menu {
    transform: translateX(var(--custom-menu-links-shift, 0px));
  }

  /* When the desktop bar is in its transparent state (not scrolled), the
     "Varaa lippuja" ticket button blends in like the nav links — transparent
     background. The blue pill returns once the bar becomes opaque on scroll. */
  .custom-menu-bar.custom-menu:not(.is-scrolled) .hlmp-menu-ticket-button {
    background: transparent;
  }

  .custom-menu-bar.custom-menu:not(.is-scrolled) .hlmp-menu-ticket-button:hover,
  .custom-menu-bar.custom-menu:not(.is-scrolled) .hlmp-menu-ticket-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .custom-menu-item--history {
    position: static;
  }

  .custom-menu-history-panel.custom-menu {
    position: fixed;
    top: calc(var(--custom-admin-bar-height, 0px) + var(--custom-menu-height, 72px));
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 1250;
  }

  .custom-menu-bar.custom-menu.is-history-panel-open .custom-menu-history-panel.custom-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .custom-menu-history-panel__inner {
    width: min(100%, var(--custom-menu-max-width, 1280px));
    margin: 0 auto;
    padding: 1.2rem 1.25rem 1.35rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
    box-sizing: border-box;
  }

  /* Back button: only meaningful in the mobile drawer; hide on desktop. */
  .custom-menu-history-panel__back {
    display: none;
  }

  .custom-menu-history-panel.custom-menu .custom-menu-history-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    text-shadow: none;
    padding: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition:
      background-color 0.18s ease,
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }

  .custom-menu-history-panel.custom-menu .custom-menu-history-card:hover,
  .custom-menu-history-panel.custom-menu .custom-menu-history-card:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    outline: none;
  }

  .custom-menu-history-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(22, 94, 175, 0.32));
    overflow: hidden;
  }

  .custom-menu-history-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.24s ease;
  }

  .custom-menu-history-card:hover .custom-menu-history-card__media img,
  .custom-menu-history-card:focus-visible .custom-menu-history-card__media img {
    transform: scale(1.035);
  }

  /* Year number sits directly on the thumbnail, centered. */
  .custom-menu-history-card__year {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: #ffffff;
    font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  }
}

.custom-menu-toggle.custom-menu {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 600;
  margin-left: auto;
  box-sizing: border-box;
}

.custom-menu-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-menu-overlay.custom-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--custom-menu-mobile-transition, 0.4s) ease;
  pointer-events: none;
  z-index: 300;
}

.custom-menu-overlay.custom-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.custom-menu-bar.custom-menu.is-open .custom-menu-overlay.custom-menu {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .custom-menu-bar.custom-menu {
    background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
    box-shadow: 0 12px 18px -12px rgba(0, 0, 0, 0.4);
  }

  .custom-menu-bar.custom-menu::before {
    display: none;
  }

  .custom-menu-inner.custom-menu {
    background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
    margin-left: auto;
    position: relative;
  }

  .custom-menu-logo.custom-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .custom-menu-inner.custom-menu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.72);
    opacity: 0;
    transition: opacity var(--custom-menu-mobile-transition, 0.4s) ease;
    pointer-events: none;
  }

  .custom-menu-nav.custom-menu {
    display: block;
    padding: 0;
    list-style: none;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .custom-menu-nav.custom-menu a:hover,
  .custom-menu-nav.custom-menu a:focus-visible,
  .custom-menu-nav.custom-menu .custom-menu-history-trigger:hover,
  .custom-menu-nav.custom-menu .custom-menu-history-trigger:focus-visible {
    background: none;
    color: #ffffff;
    transition: none;
  }

  .custom-menu-nav.custom-menu {
    text-align: center;
  }

  .custom-menu-nav.custom-menu a,
  .custom-menu-nav.custom-menu .custom-menu-history-trigger {
    padding: 0.4rem 0;
    display: block;
    line-height: 1.2;
    margin-left: 0;
    text-align: center;
    font-size: 1.7rem;
  }

  /* The desktop ".. > li > a { display:flex }" rule leaks into mobile as a flex
     box with no justify. A block <a> fills the row so justify-content centers it,
     but the "Historia" <button> shrinks to its content width and, being a
     block-level box, sits flush left — width:100% makes it fill the row so the
     centering actually takes effect. */
  .custom-menu-nav.custom-menu > li > a,
  .custom-menu-nav.custom-menu > li > .custom-menu-history-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0.4rem 0;
    font-size: 1.7rem;
  }

  /* Ticket button: first item in the mobile menu, centered and prominent. */
  .custom-menu-nav__item--ticket {
    display: flex;
    justify-content: center;
    margin-bottom: 1.1rem;
  }

  .hlmp-menu-ticket-button {
    font-size: 1.4rem;
    padding: 0.85rem 1.8rem;
  }

  .custom-menu-links.custom-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--custom-menu-bg, var(--hlmp-navy, #10233f));
    transform: translateY(-100%);
    opacity: 0;
    transition: none;
    padding: 16px 20px 24px;
    height: auto;
    z-index: 200;
    display: block;
    pointer-events: none;
    justify-content: flex-start;
    gap: 0;
  }

  .custom-menu-anim .custom-menu-links.custom-menu,
  .custom-menu-links.custom-menu.animating {
    transition:
      transform var(--custom-menu-mobile-transition, 0.4s) ease,
      opacity var(--custom-menu-mobile-transition, 0.4s) ease;
  }

  .custom-menu-links.custom-menu.custom-menu-dormant {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: none !important;
  }

  .custom-menu-links.custom-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .custom-menu-nav.custom-menu li {
    margin: 0 0 0.35rem;
    list-style: none;
    padding: 0;
    text-align: center;
  }

  .custom-menu-nav.custom-menu li ul {
    display: block;
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0 16px;
    padding: 0;
    list-style: none;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: auto;
    transition: none;
  }

  .custom-menu-nav.custom-menu li ul li {
    margin: 0;
    padding: 0;
  }

  .custom-menu-nav.custom-menu li ul li:last-child {
    margin-bottom: 0;
  }

  .custom-menu-nav.custom-menu > li:last-child {
    margin-bottom: 0;
  }

  .custom-menu-toggle.custom-menu {
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .custom-menu-bar.custom-menu.is-open .custom-menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .custom-menu-bar.custom-menu.is-open .custom-menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .custom-menu-bar.custom-menu.is-open .custom-menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .custom-menu-logo.custom-menu {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    flex: 1 1 auto;
  }

  .custom-menu-bar.custom-menu.custom-menu-has-concert-summary .custom-menu-logo.custom-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    margin: 0;
    text-align: left;
    flex: 0 0 auto;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition:
      opacity 0.2s ease,
      left 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .custom-menu-bar.custom-menu.custom-menu-has-concert-summary .custom-menu-logo.custom-menu img {
    max-width: min(62vw, 300px);
    transition:
      max-width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .custom-menu-bar.custom-menu.custom-menu-has-concert-summary.is-concert-card-past .custom-menu-logo.custom-menu {
    left: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-0.75rem, -50%);
  }

  .custom-menu-concert-summary.custom-menu {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: clamp(0.42rem, 1.6vw, 0.8rem);
    position: absolute;
    top: 50%;
    left: 16px;
    right: 68px;
    height: calc(var(--custom-menu-height, 72px) - 18px);
    min-width: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(0.5rem, -50%);
    transition:
      opacity 0.24s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
  }

  .custom-menu-bar.custom-menu.custom-menu-has-concert-summary.is-concert-card-past .custom-menu-concert-summary.custom-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
  }

  .custom-menu-concert-summary__media {
    display: block;
    width: clamp(48px, 15vw, 96px);
    height: clamp(36px, 10.6vw, 54px);
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
  }

  .custom-menu-concert-summary__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .custom-menu-concert-summary__text {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
    line-height: 1.05;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.26);
  }

  .custom-menu-concert-summary__title,
  .custom-menu-concert-summary__meta {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .custom-menu-concert-summary__title {
    font-size: clamp(0.92rem, 3.2vw, 1.28rem);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .custom-menu-concert-summary__meta {
    margin-top: 0.16rem;
    font-size: clamp(0.78rem, 2.55vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.025em;
  }

  .custom-menu-bar.custom-menu.is-open .custom-menu-inner.custom-menu::after {
    opacity: 1;
  }

  .custom-menu-nav.custom-menu li > a,
  .custom-menu-nav.custom-menu li > .custom-menu-history-trigger,
  .custom-menu-nav.custom-menu li ul li > a {
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1.2;
    min-height: 2.5em;
    height: 2.5em;
  }

  .custom-menu-nav.custom-menu li ul li > a {
    padding-left: 0;
    position: relative;
  }

  .custom-menu-nav.custom-menu li ul li > a::before {
    content: '➤';
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    margin-right: 10px;
    flex-shrink: 0;
  }

  /* History panel takes the place of the nav (not below it). Drawer
     grows only to the currently visible panel's height. The panel fades
     in via a CSS animation that fires whenever the element appears. */
  .custom-menu-history-panel.custom-menu {
    display: none;
    margin: 0;
    padding: 0 1rem 0.35rem;
    box-sizing: border-box;
    max-height: calc(100dvh - var(--custom-admin-bar-height, 0px) - var(--custom-menu-height, 72px));
    overflow: hidden;
  }

  @keyframes hlmpHistoryPanelFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .custom-menu-bar.custom-menu.is-history-panel-open .custom-menu-history-panel.custom-menu {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    animation: hlmpHistoryPanelFadeIn var(--custom-menu-mobile-transition, 0.4s) ease both;
  }

  .custom-menu-bar.custom-menu.is-history-panel-open .custom-menu-nav.custom-menu {
    display: none;
  }

  .custom-menu-bar.custom-menu.is-history-returning .custom-menu-nav.custom-menu {
    animation: hlmpHistoryPanelFadeIn var(--custom-menu-mobile-transition, 0.4s) ease both;
  }

  /* "Palaa päävalikkoon" back link at the top of the panel. */
  .custom-menu-history-panel__back {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.4rem;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-align: left;
  }

  .custom-menu-history-panel__back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.4rem;
    line-height: 1;
    /* Optically centre the left-pointing arrow glyph, which otherwise sits a
       touch low and left of the circle's geometric centre. */
    transform: translate(0.5px, -1px);
  }

  .custom-menu-history-panel__back:hover,
  .custom-menu-history-panel__back:focus-visible {
    color: #ffffff;
    outline: none;
  }

  .custom-menu-history-panel__back:hover .custom-menu-history-panel__back-icon,
  .custom-menu-history-panel__back:focus-visible .custom-menu-history-panel__back-icon {
    background: rgba(255, 255, 255, 0.24);
  }

  .custom-menu-history-panel__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: clamp(0.35rem, 1.5vmin, 0.75rem);
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: 0 1rem 3rem;
    box-sizing: border-box;
  }

  .custom-menu-history-panel.custom-menu .custom-menu-history-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    text-shadow: none;
    padding: 0;
    margin-left: 0;
    min-height: 0;
    line-height: 1;
  }

  .custom-menu-history-card__media {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(22, 94, 175, 0.32));
    overflow: hidden;
  }

  .custom-menu-history-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Year number sits directly on the thumbnail, centered. */
  .custom-menu-history-card__year {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: #ffffff;
    font-family: var(--hlmp-heading-font, Helvetica, Arial, sans-serif);
    font-size: clamp(1rem, 7vmin, 2.2rem);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  }
}

@media (min-width: 700px) and (max-width: 960px) {
  .custom-menu-history-panel__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .custom-menu-concert-summary.custom-menu {
    left: 12px;
    right: 58px;
    gap: 0.38rem;
  }

  .custom-menu-concert-summary__media {
    width: 44px;
    height: 34px;
    border-radius: 5px;
  }
}

body.custom-menu-enabled {
  padding-top: var(--custom-menu-height, 72px) !important;
}

/* Block-layout pages render the first block flush to the top (under the
   fixed, transparent nav), so cancel the nav-height top padding. */
body.custom-menu-enabled.hlmp-block-layout-body {
  padding-top: 0 !important;
}

body.custom-menu-enabled .hlmp-block-header {
  display: none;
}

body.admin-bar {
  --custom-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --custom-admin-bar-height: 46px;
  }
}

.hlmp-content-hero {
  position: relative;
  display: grid;
  min-height: clamp(18rem, 48vw, 32rem);
  margin: 0;
  overflow: hidden;
  background-color: #10233f;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hlmp-content-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 35, 63, 0.76) 0%, rgba(16, 58, 112, 0.42) 58%, rgba(22, 94, 175, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 35, 63, 0.42), rgba(22, 94, 175, 0.12));
  pointer-events: none;
}

.hlmp-content-hero > .restrict-content-width {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  /* Match the global content clamp so the hero's inner text lines up with
     the body content blocks below it (single source of truth). */
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(4.6rem, 10vw, 7.5rem);
}

.hlmp-content-hero__title {
  margin: 0;
  font-family: var(--hlmp-heading-font, "Jost", sans-serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 0.2rem 0.55rem rgba(0, 0, 0, 0.42);
}

.hlmp-content-hero__credit {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.35rem);
  bottom: clamp(0.65rem, 1.5vw, 1rem);
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
  opacity: 0.8;
  text-shadow: 0 0.1rem 0.35rem rgba(0, 0, 0, 0.85);
}

@media (max-width: 700px) {
  .hlmp-content-hero__title {
    font-size: 2.5rem;
  }
}

.hlmp-content-heading {
  margin: 0 0 0.75rem;
  color: #2f3033;
  font-family: var(--hlmp-heading-font, inherit);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
}

.hlmp-content-paragraph {
  margin: 0 0 1.15rem;
  color: rgba(47, 48, 51, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.hlmp-content-paragraph a,
.wp-block-paragraph a,
.wp-block-list a,
.wp-block-quote a {
  color: var(--hlmp-link, #0f559d);
  font-weight: 700;
  text-decoration: none;
}

.hlmp-content-paragraph a b,
.hlmp-content-paragraph a strong {
  font-weight: 700;
}

.hlmp-content-paragraph a:hover,
.hlmp-content-paragraph a:focus-visible {
  text-decoration: underline;
}

.hlmp-content-image {
  margin: 2.5rem auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.14);
}

.hlmp-content-image--plain {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hlmp-content-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hlmp-pattern-logo-image {
  width: min(22rem, 72vw);
  margin: 2rem auto 3rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hlmp-content-image__caption {
  display: block;
  margin: 0.85rem auto 0;
  max-width: 92%;
  color: rgba(47, 48, 51, 0.68);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.hlmp-content-image__actions {
  margin-top: 0.75rem;
  text-align: center;
}

.hlmp-content-image__replace-control {
  margin-bottom: 1rem;
}

.hlmp-content-citation {
  position: relative;
  box-sizing: border-box;
  max-width: var(--wp--style--global--content-size, 760px);
  margin: 2rem 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.6rem;
  border: 0;
  color: rgba(47, 48, 51, 0.82);
}

.editor-styles-wrapper blockquote.hlmp-content-citation {
  box-sizing: border-box;
  max-width: var(--wp--style--global--content-size, 760px);
  margin: 2rem 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.6rem;
  border: 0;
}

.hlmp-content-citation::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.18rem;
  color: rgba(22, 94, 175, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.33rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.hlmp-content-citation__text {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
}

.hlmp-content-citation__person {
  display: block;
  margin-top: 0.75rem;
  color: rgba(16, 35, 63, 0.72);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.hlmp-content-citation__person::before {
  content: "\2014\00a0";
}

.hlmp-testimonials {
  max-width: var(--wp--style--global--wide-size, 1180px);
  margin: clamp(2rem, 5vw, 4rem) auto;
}

/* The dynamic (Sitaatti) block isn't capped at the wide-size: by default it
   fills its container, and an explicit "Content width" policy sets its width
   through the shared .restrict-content-width* classes the policy adds to the
   block root. Only the cap is removed here — no competing width, so no
   specificity hacks needed. */
.hlmp-testimonials--dynamic {
  max-width: none;
}

.hlmp-testimonials__track {
  display: grid;
  gap: 1rem;
}

/* One layout for both the static grid and the dynamic block (which also carries
   .hlmp-testimonials--grid): equal-width cards that stretch to fill whatever
   width the block has. auto-fit + 1fr collapses empty tracks, so even a lone
   card on the last row fills the row — no centered gaps. */
.hlmp-testimonials--grid .hlmp-testimonials__track {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.hlmp-testimonials--slider .hlmp-testimonials__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.6rem;
}

.hlmp-testimonials--slider .hlmp-testimonial {
  /* Use % of the container, not vw: vw is the browser viewport which, in the
     editor, is wider than the canvas and makes the slider overflow. */
  flex: 0 0 min(82%, 24rem);
  scroll-snap-align: start;
}

.hlmp-testimonial {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.55rem 1.3rem rgba(16, 35, 63, 0.08);
  padding: 1.1rem;
}

.hlmp-testimonial__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
  color: #475569;
  font-size: 1.7rem;
  line-height: 1;
}

.hlmp-testimonial__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hlmp-testimonial__body {
  min-width: 0;
}

.hlmp-testimonial__quote {
  margin: 0;
  color: rgba(47, 48, 51, 0.82);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.hlmp-testimonial__quote::before {
  content: "\201C";
}

.hlmp-testimonial__quote::after {
  content: "\201D";
}

.hlmp-testimonial__person {
  display: block;
  margin-top: 0.8rem;
  color: #10233f;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 700;
}

.hlmp-testimonial__role {
  display: block;
  margin-top: 0.18rem;
  color: rgba(16, 35, 63, 0.62);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hlmp-testimonial__editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.hlmp-testimonials__add {
  margin-top: 1rem;
}

.hlmp-expandable-content {
  margin: 1.5rem 0;
  border-top: 1px solid rgba(16, 35, 63, 0.18);
  border-bottom: 1px solid rgba(16, 35, 63, 0.18);
}

.hlmp-expandable-content__summary {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: #2f3033;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.hlmp-expandable-content__title {
  font-family: var(--hlmp-heading-font, inherit);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.hlmp-expandable-content__icon {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-expandable-content.is-open .hlmp-expandable-content__icon {
  transform: rotate(225deg);
}

.hlmp-expandable-content__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.hlmp-expandable-content__panel[hidden] {
  display: block;
  height: 0;
}

.hlmp-expandable-content__inner {
  padding: 0 0 1.25rem;
}

.editor-styles-wrapper .hlmp-expandable-content__panel {
  height: auto;
  overflow: visible;
}

.editor-styles-wrapper .hlmp-expandable-content__panel[hidden] {
  height: auto;
}

.editor-styles-wrapper .hlmp-expandable-content {
  border-top-style: dashed;
  border-bottom-style: dashed;
}

/* ----------------------------------------------------------------------
   Block-layout content width (single source of truth)
   ----------------------------------------------------------------------
   Pages using the freeform block layout (surface-gutenberg.php) output
   top-level blocks straight into .hlmp-site-main with no wrapper. Each
   normal top-level block clamps ITSELF to the global content width
   (--hlmp-surface-max-width / --hlmp-surface-inline-gutter) and centers,
   so text doesn't run edge-to-edge. Full-bleed blocks (e.g. hlmp/hero) are
   exempt: they stay 100% / viewport-wide and clamp their OWN inner content
   via .restrict-content-width. */
body.hlmp-block-layout-body .hlmp-site-main > :not(.full-bleed-block):not(.restrict-content-width) {
  width: min(var(--hlmp-surface-max-width), calc(100vw - (var(--hlmp-surface-inline-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
}

body.hlmp-block-layout-body .hlmp-site-main > .hlmp-surface--year-story-full-bleed {
  width: 100%;
  max-width: 100%;
}

/* Editor parity: the editor canvas is not the browser viewport. Any `vw`
   width would include the inspector sidebar and make blocks overflow under
   the panel. In the editor, derive every top-level width from the root
   container instead: full-bleed blocks fill the canvas and normal blocks
   clamp inside canvas-relative gutters. */
.editor-styles-wrapper .is-root-container {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}

.editor-styles-wrapper .full-bleed-block {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper .restrict-content-width,
.editor-styles-wrapper .hlmp-content-hero > .restrict-content-width {
  width: min(var(--hlmp-surface-max-width), calc(100% - (var(--hlmp-surface-inline-gutter) * 2))) !important;
  max-width: calc(100% - (var(--hlmp-surface-inline-gutter) * 2));
}

/* Narrow content-width policy in the editor (matches the frontend
   .restrict-content-width--narrow). Placed after the rule above so the
   equal-specificity !important wins for elements carrying both classes. */
.editor-styles-wrapper .restrict-content-width--narrow {
  width: min(54rem, calc(100% - (var(--hlmp-surface-inline-gutter) * 2))) !important;
  max-width: calc(100% - (var(--hlmp-surface-inline-gutter) * 2));
}

.editor-styles-wrapper .is-root-container > :not(.full-bleed-block):not(.hlmp-editor-site-chrome):not(.restrict-content-width) {
  box-sizing: border-box;
  width: min(var(--hlmp-surface-max-width), calc(100% - (var(--hlmp-surface-inline-gutter) * 2)));
  max-width: calc(100% - (var(--hlmp-surface-inline-gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------------
   Hide the post-title field on block-layout pages (editor)
   ----------------------------------------------------------------------
   The frontend renders only the_content() — there is no separate title
   element, and the first block sits flush to the top. The block editor,
   however, always shows the post-title field above the canvas, which adds
   an offset above the first block. When the layout toggle is on (body gets
   .hlmp-block-layout-editor via editor-layout-toggle.js), hide that field
   so the editor matches the frontend. */
body.hlmp-block-layout-editor .edit-post-visual-editor__post-title-wrapper,
body.hlmp-block-layout-editor .editor-visual-editor__post-title-wrapper,
body.hlmp-block-layout-editor .wp-block-post-title.editor-post-title {
  display: none !important;
}

/* On block-layout pages the first block should sit flush under the editor's
   simulated menubar (matching the frontend, where the hero starts at the
   very top under the fixed nav). Drop the header chrome's bottom gap and the
   first block's auto top margin so there is no oversized gap. */
body.hlmp-block-layout-editor .editor-styles-wrapper .hlmp-editor-site-chrome--header {
  margin-bottom: 0;
}

body.hlmp-block-layout-editor .editor-styles-wrapper .hlmp-editor-site-chrome--header + * {
  margin-block-start: 0 !important;
}
