/*
 * Vloek Poster Theme
 *
 * The front page is a 7:10 poster built from stacked layers. Every size on the
 * poster is expressed in cqw (1cqw = 1% of the poster width), so the artwork,
 * the logo and the live text always scale together.
 */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/cinzel-latin-900-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
}

:root {
  --blood: #d44146;
  --ink: #050509;
  --ink-soft: #101018;
  --sticker-black: #181818;
  --sticker-paper: #c1c4c9;
  --sticker-text: #262827;
  --url-blue: #343865;
  --tie-dye-deep: #343865;
  --bone: #eeeef2;
  --header-h: 3.5rem;
  --panel: rgba(5, 5, 9, 0.9);
  --line: rgba(255, 255, 255, 0.12);

  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-label: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  background-color: var(--tie-dye-deep);
  background-image:
    linear-gradient(rgba(5, 5, 9, 0.58), rgba(5, 5, 9, 0.58)),
    url("../img/background-700.webp");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  color: var(--ink);
  background: var(--bone);
  clip: auto;
}

/* Header, menu and footer ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 9, 0.92);
  border-bottom: 2px solid var(--blood);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: var(--header-h);
  margin-inline: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.4rem 0;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blood);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--blood);
  border-bottom-color: var(--blood);
}

.site-nav .menu-item-has-children {
  position: relative;
}

.site-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.45rem;
  vertical-align: 0.12rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 14rem;
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  background: #050509;
  border: 2px solid var(--blood);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.site-nav .menu-item-has-children > .sub-menu {
  display: none;
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav .sub-menu a {
  padding: 0.7rem 1rem;
  white-space: nowrap;
  border-bottom: 0;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus-visible {
  color: var(--blood);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav .menu-cta > a {
  padding: 0.45rem 1.1rem;
  color: var(--ink);
  background: var(--blood);
  border: 2px solid var(--blood);
}

.site-nav .menu-cta > a:hover,
.site-nav .menu-cta > a:focus-visible,
.site-nav .menu-cta.current-menu-item > a {
  color: var(--ink);
  background: #ec5b60;
  border-color: #ec5b60;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 0.25rem;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 2px;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin-inline: auto;
  content: "";
  background: var(--bone);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
  right: 0;
}

.nav-toggle__bars::before {
  top: -0.45rem;
}

.nav-toggle__bars::after {
  top: 0.45rem;
}

.is-open .nav-toggle__bars {
  background: transparent;
}

.is-open .nav-toggle__bars::before {
  transform: translateY(0.45rem) rotate(45deg);
}

.is-open .nav-toggle__bars::after {
  transform: translateY(-0.45rem) rotate(-45deg);
}

@media (max-width: 860px) {
  .site-header__inner {
    justify-content: flex-end;
  }

  .js .nav-toggle {
    display: inline-block;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: -1rem;
    left: -1rem;
    display: none;
    padding: 0.5rem 1rem 1.25rem;
    background: #050509;
    border-bottom: 2px solid var(--blood);
  }

  .js .is-open .site-nav {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 0.85rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .menu-cta > a {
    margin-top: 0.75rem;
    text-align: center;
  }

  .site-nav .menu-item-has-children > .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0.15rem 0.85rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav .sub-menu a {
    padding: 0.7rem 0;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }
}

.site-footer {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(5, 5, 9, 0.9);
  border-top: 2px solid var(--blood);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  width: min(1180px, calc(100% - 2rem));
  padding: 1.25rem 0;
  margin-inline: auto;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__event {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blood);
}

.site-footer__meta {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__legal {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.site-footer__legal-sep {
  margin-inline: 0.35rem;
}

.site-footer__social {
  margin-left: auto;
}

.site-footer__social-list {
  display: flex;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.site-footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Poster ----------------------------------------------------------------- */

.site-main--poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.poster {
  --poster-fit: calc((100vh - var(--header-h) - 7.25rem) * 0.7);
  position: relative;
  isolation: isolate;
  width: min(100%, 900px, var(--poster-fit));
  aspect-ratio: 7 / 10;
  overflow: hidden;
  container-type: inline-size;
  background: var(--tie-dye-deep);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
}

@supports (height: 100svh) {
  .poster {
    --poster-fit: calc((100svh - var(--header-h) - 7.25rem) * 0.7);
  }
}

.poster__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.poster__logo {
  position: absolute;
  inset: 0;
  margin: 0;
}

/* Sticker (venue and date): 32.8cqw x 18.6cqw, tilted like the poster */

.sticker {
  position: absolute;
  top: 4.83%;
  left: 61.8%;
  display: grid;
  grid-template-rows: 5.8cqw 1fr;
  width: 32.8%;
  height: 18.6cqw;
  overflow: hidden;
  color: var(--sticker-text);
  font-family: var(--font-label);
  font-weight: 400;
  text-transform: uppercase;
  background: var(--sticker-paper);
  border: 0.3cqw solid var(--sticker-black);
  border-radius: 1.5cqw;
  box-shadow: 0.5cqw 0.8cqw 1.4cqw rgba(0, 0, 0, 0.4);
  transform: rotate(3.6deg);
}

.sticker p {
  margin: 0;
}

.sticker__venue {
  display: grid;
  place-items: center;
  color: #d9d9d9;
  font-size: 4.2cqw;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--sticker-black);
}

.sticker__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1cqw;
  padding-bottom: 0.6cqw;
  background: linear-gradient(180deg, #c9ccd0, var(--sticker-paper) 55%, #b9bdc3);
}

.sticker__date {
  font-size: 4.74cqw;
  line-height: 1;
  white-space: nowrap;
}

.sticker__subtitle {
  font-size: 3.24cqw;
  line-height: 1;
  white-space: nowrap;
}

/* Line-up */

.lineup {
  position: absolute;
  inset: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blood);
  pointer-events: none;
}

.lineup__column {
  position: absolute;
  top: 75.8%;
  padding: 0;
  margin: 0;
  list-style: none;
  pointer-events: auto;
}

.lineup__column--left {
  left: 6.9cqw;
}

.lineup__column--right {
  right: 6.9cqw;
  padding-top: 2.1cqw;
  text-align: right;
}

.lineup li {
  margin: 0;
  font-size: 4.74cqw;
  line-height: 5.6cqw;
  white-space: nowrap;
  transform: scaleX(0.847);
  transform-origin: 0 50%;
  -webkit-text-stroke: 0.3cqw #000;
  paint-order: stroke fill;
  text-shadow: 0 0 0.7cqw rgba(0, 0, 0, 0.85);
}

.lineup__column--right li {
  transform-origin: 100% 50%;
}

.lineup__column--left li:first-child {
  font-size: 8.44cqw;
  line-height: 7.7cqw;
}

.lineup__column--left.lineup__column--pending-headliner li:first-child {
  font-size: 4.74cqw;
  line-height: 5.6cqw;
}

/* Website */

.poster__url {
  position: absolute;
  right: 0;
  bottom: 2.4%;
  left: 0;
  margin: 0;
  color: var(--url-blue);
  font-family: var(--font-label);
  font-size: 3.85cqw;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 0.12cqw var(--url-blue);
  text-shadow: 0 0 0.35cqw rgba(190, 196, 240, 0.35);
}

.poster__url a {
  display: inline-block;
  text-decoration: none;
  transform: scaleX(1.19);
}

.poster__url a:hover,
.poster__url a:focus-visible {
  color: #1d2048;
  text-decoration: underline;
}

/* Buttons ---------------------------------------------------------------- */

.button,
.wp-block-button__link,
.search-form .search-submit,
.comment-form .submit {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--blood);
  border: 2px solid var(--blood);
  border-radius: 0;
  box-shadow: 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
.search-form .search-submit:hover,
.comment-form .submit:hover {
  color: var(--ink);
  background: #ec5b60;
  border-color: #ec5b60;
  transform: translateY(-1px);
}

.button--large {
  padding: 0.95rem 2.1rem;
  font-size: 1.4rem;
}

.button--ghost {
  color: var(--bone);
  background: rgba(5, 5, 9, 0.75);
  border-color: var(--bone);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--ink);
  background: var(--bone);
  border-color: var(--bone);
}

.poster-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  width: min(100%, 900px);
  padding-inline: 1rem;
}

/* Page layout ------------------------------------------------------------ */

.site-main--content {
  width: min(860px, calc(100% - 2rem));
  padding: 2.5rem 0 1rem;
  margin-inline: auto;
}

.site-main--wide {
  width: min(1180px, calc(100% - 2rem));
}

.page-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.page-header__kicker {
  margin: 0 0 0.35rem;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.page-header__title {
  margin: 0;
  color: var(--blood);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-text-stroke: 0.06em #000;
  paint-order: stroke fill;
  text-shadow: 0 0.08em 0.4em rgba(0, 0, 0, 0.7);
}

.page-header__intro {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: var(--bone);
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.page-header__intro > :first-child {
  margin-top: 0;
}

.page-header__intro > :last-child {
  margin-bottom: 0;
}

.panel {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  margin-bottom: 1.75rem;
  color: var(--bone);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blood);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
}

.panel--empty {
  text-align: center;
}

.panel--empty p {
  margin: 0 0 1rem;
}

.panel--empty p:last-child {
  margin-bottom: 0;
}

.section-title {
  margin: 2.5rem 0 1.25rem;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.back-link {
  text-align: center;
}

.back-link a {
  color: var(--bone);
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Entry content (pages, posts, block editor) ---------------------------- */

.entry__image {
  margin: calc(-1 * clamp(1.25rem, 4vw, 2.75rem)) calc(-1 * clamp(1.25rem, 4vw, 2.75rem)) 1.75rem;
}

.entry__image img {
  display: block;
  width: 100%;
  height: auto;
}

.entry-content {
  font-size: 1.08rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2rem 0 0.75rem;
  color: var(--blood);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-content h2 {
  font-size: 1.7rem;
}

.entry-content h3 {
  font-size: 1.35rem;
}

.entry-content h4 {
  font-size: 1.1rem;
}

.entry-content a {
  color: var(--blood);
  text-underline-offset: 0.2em;
}

.entry-content a:hover,
.entry-content a:focus-visible {
  color: #ec5b60;
}

.entry-content .button,
.entry-content .button:hover,
.entry-content .button:focus-visible,
.entry-content .wp-block-button__link,
.entry-content .wp-block-button__link:hover {
  color: var(--ink);
  text-decoration: none;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content li::marker {
  color: var(--blood);
}

.entry-content blockquote {
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.75rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-left: 4px solid var(--blood);
}

.entry-content blockquote cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
  max-width: 100%;
  height: auto;
}

.entry-content figure {
  margin: 1.75rem 0;
}

.entry-content figcaption,
.wp-caption-text {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.entry-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: 1px solid var(--line);
}

.entry-content th {
  font-family: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-content pre,
.entry-content code {
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
}

.entry-content code {
  padding: 0.1em 0.3em;
}

.entry-content pre {
  padding: 1rem;
  overflow-x: auto;
}

.entry-content .alignwide {
  margin-inline: calc(-1 * clamp(0rem, 3vw, 2rem));
}

.entry-content .alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}

.entry-content .alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}

.entry-content .aligncenter {
  display: block;
  margin-inline: auto;
}

.entry-content::after {
  display: table;
  clear: both;
  content: "";
}

.entry-content .wp-block-embed iframe,
.entry-content .wp-block-embed__wrapper {
  max-width: 100%;
}

.entry__footer {
  padding-top: 1.25rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.entry__tags {
  margin: 0;
}

.entry__tags a {
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.15rem 0.6rem;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

.entry__tags a:hover {
  color: var(--blood);
  border-color: var(--blood);
}

.entry__actions {
  margin-top: 1.5rem;
}

.page-links {
  margin-top: 1.5rem;
  font-family: var(--font-label);
  letter-spacing: 0.08em;
}

/* Forms ------------------------------------------------------------------ */

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 32rem;
  margin: 1.25rem 0;
}

.search-box {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.search-box .search-form {
  width: 100%;
  margin: 0;
}

.search-form label {
  flex: 1 1 14rem;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  color: var(--bone);
  font: inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 1px;
}

/* News ------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blood);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.4);
}

.post-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--tie-dye-deep);
}

.post-card__media img,
.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card__placeholder {
  background: url("../img/background-700.webp") center / cover;
}

.post-card:hover .post-card__media img,
.post-card:hover .post-card__placeholder {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.post-card__meta,
.edition-card__year {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card__title,
.edition-card__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-card__title a,
.edition-card__title a {
  color: var(--blood);
  text-decoration: none;
}

.post-card__title a:hover,
.edition-card__title a:hover {
  color: #ec5b60;
}

.post-card__excerpt {
  flex: 1;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.post-card__excerpt p {
  margin: 0 0 1rem;
}

.post-card__more {
  align-self: flex-start;
  color: var(--bone);
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--blood);
}

.post-card__more:hover,
.post-card__more:focus-visible {
  color: var(--blood);
}

.post-card--feature {
  grid-column: 1 / -1;
  flex-direction: row;
}

.post-card--feature .post-card__media {
  flex: 0 0 58%;
  aspect-ratio: auto;
  min-height: 20rem;
}

.post-card--feature .post-card__body {
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.post-card--feature .post-card__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.post-card--feature .post-card__excerpt {
  flex: 0 1 auto;
  font-size: 1.1rem;
}

.pagination,
.post-navigation .nav-links,
.comments-pagination .nav-links {
  margin-top: 2rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  min-width: 2.75rem;
  padding: 0.6rem 0.9rem;
  color: var(--bone);
  font-family: var(--font-label);
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--panel);
  border: 1px solid var(--line);
}

a.page-numbers:hover,
a.page-numbers:focus-visible {
  color: var(--blood);
  border-color: var(--blood);
}

.page-numbers.current {
  color: var(--ink);
  background: var(--blood);
  border-color: var(--blood);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.post-navigation a {
  display: block;
  height: 100%;
  padding: 1rem 1.25rem;
  color: var(--bone);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
}

.post-navigation a:hover {
  border-color: var(--blood);
}

.post-navigation .nav-next {
  text-align: right;
  grid-column: 2;
}

.post-navigation .nav-label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-navigation .nav-title {
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* Comments --------------------------------------------------------------- */

.comments__title,
.comment-reply-title {
  margin: 0 0 1rem;
  color: var(--blood);
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.comments__list {
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
}

.comments__list .children {
  padding-left: 1.5rem;
  list-style: none;
}

.comment-body {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: center;
  font-size: 0.9rem;
}

.comment-author .avatar {
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 50%;
}

.comment-form label {
  display: block;
  margin-bottom: 0.25rem;
}

.comment-form p {
  margin: 0 0 1rem;
}

.comment-form-cookies-consent label {
  display: inline;
}

/* Line-up and editions --------------------------------------------------- */

.edition__layout {
  display: grid;
  gap: 2rem;
}

.edition__layout--with-poster {
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  align-items: start;
}

.edition__title {
  margin: 0 0 0.5rem;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
}

.edition__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0 0 1.75rem;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edition__meta > * + *::before {
  margin-right: 1rem;
  color: var(--blood);
  content: "/";
}

.edition__poster {
  margin: 0;
}

.edition__poster img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.55);
}

.edition__text {
  margin-top: 2rem;
}

.edition__cta {
  margin: 2rem 0 0;
}

.lineup-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.lineup-list li {
  color: var(--blood);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  -webkit-text-stroke: 0.06em #000;
  paint-order: stroke fill;
  text-shadow: 0 0 0.35em rgba(0, 0, 0, 0.8);
}

.lineup-list__headliners {
  margin-bottom: 1.25rem !important;
}

.lineup-list__headliners li {
  margin-bottom: 0.15em;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
}

.lineup-list__bands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 2rem;
}

.lineup-list__bands li {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
}

.lineup-empty {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.edition-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blood);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.4);
}

.edition-card__media {
  display: block;
  aspect-ratio: 7 / 10;
  overflow: hidden;
  background: var(--tie-dye-deep);
}

.edition-card__media img,
.edition-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.edition-card:hover .edition-card__media img {
  transform: scale(1.04);
}

.edition-card__placeholder {
  display: grid;
  place-items: center;
  color: var(--blood);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: url("../img/background-700.webp") center / cover;
  text-shadow: 2px 2px 0 #000;
}

.edition-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.edition-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.edition-card__teaser {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* Ticket shop (Weeztix iframe) -------------------------------------------- */

.ticket-shop {
  padding: clamp(0.5rem, 2vw, 1.25rem);
}

.ticket-shop__frame {
  display: block;
  width: 100%;
  height: max(46rem, 85vh);
  background: #fff;
  border: 0;
}

.ticket-shop__fallback {
  margin: 1rem 0 0.25rem;
  font-size: 0.95rem;
  text-align: center;
}

.ticket-shop__fallback a {
  color: var(--blood);
}

.ticket-shop__soon {
  padding: clamp(1.5rem, 5vw, 3.5rem) 1rem;
  text-align: center;
}

.ticket-shop__soon-title {
  margin: 0 0 0.75rem;
  color: var(--blood);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-shop__admin {
  max-width: 34rem;
  padding: 0.75rem 1rem;
  margin: 2rem auto 0;
  font-size: 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

.ticket-shop__admin a {
  color: var(--blood);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .post-card--feature {
    flex-direction: column;
  }

  .post-card--feature .post-card__media {
    flex-basis: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .edition__layout--with-poster {
    grid-template-columns: 1fr;
  }

  .edition__poster {
    max-width: 20rem;
    margin-inline: auto;
    order: -1;
  }
}

@media (max-width: 600px) {
  .post-grid,
  .edition-grid {
    grid-template-columns: 1fr;
  }

  .lineup-list__bands {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    grid-column: auto;
  }

  .ticket-shop__frame {
    height: max(40rem, 90vh);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Bands ------------------------------------------------------------------ */

.lineup-list a {
  color: inherit;
  text-decoration: none;
}

.lineup-list a:hover,
.lineup-list a:focus-visible {
  color: #ec5b60;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.band-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blood);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.4);
}

.band-card--headliner {
  border-top-color: #ec5b60;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(212, 65, 70, 0.5);
}

.band-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-soft);
}

.band-card__media img,
.band-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.band-card:hover .band-card__media img {
  transform: scale(1.04);
}

.band-card__media .band-logo-tile img {
  object-fit: contain;
  padding: 12%;
}

.band-logo-tile {
  display: block;
  width: 100%;
  height: 100%;
}

.band-card__placeholder {
  display: grid;
  place-items: center;
  color: var(--blood);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  background: url("../img/background-700.webp") center / cover;
  text-shadow: 2px 2px 0 #000;
}

.band-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.band-card__meta {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.band-card__title a {
  color: var(--blood);
  text-decoration: none;
}

.band-card__title a:hover {
  color: #ec5b60;
}

.band-card__excerpt {
  flex: 1;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.band__layout {
  display: grid;
  gap: 2rem;
}

.band__layout--with-media {
  grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
  align-items: start;
}

.band__media {
  margin: 0;
  background: var(--ink-soft);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.55);
}

.band__media img {
  display: block;
  width: 100%;
  height: auto;
}

.band__media .band-logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.band__media .band-logo-tile img {
  width: 80%;
  height: auto;
}

.band__logo {
  margin-bottom: 1.5rem;
}

.band__logo img {
  display: block;
  width: auto;
  max-width: min(100%, 20rem);
  max-height: 9rem;
  height: auto;
}

.band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.band__links .button {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.band__editions {
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.band__editions-title {
  margin: 0 0 0.75rem;
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.band__editions ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.band__editions li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.35rem 0;
}

.band__editions a {
  color: var(--blood);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

.band__editions span {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1000px) {
  .band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .band__layout--with-media {
    grid-template-columns: 1fr;
  }

  .band__media {
    max-width: 24rem;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .band-grid {
    grid-template-columns: 1fr;
  }
}
