/*
Theme Name: WeekendFest Poster Wall
Theme URI: https://weekendfest.kr/
Author: WeekendFest.kr
Description: Poster-wall culture zine theme for Korean festival discovery.
Version: 1.0.18
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: weekendfest
Tags: blog, news, custom-logo, custom-menu, featured-images, responsive-layout
*/

:root {
  --wf-ink: #0f1722;
  --wf-ink-2: #162235;
  --wf-paper: #f4f0e7;
  --wf-paper-2: #fffdf7;
  --wf-muted: #66717f;
  --wf-line: rgba(15, 23, 34, .14);
  --wf-red: #4b8fd8;
  --wf-red-dark: #1f5f9e;
  --wf-gold: #e4ba55;
  --wf-blue: #2d6f9f;
  --wf-sky: #4b8fd8;
  --wf-cloud: #eaf5ff;
  --wf-sun: #e8bc4f;
  --wf-mint: #dceede;
  --wf-shadow: 0 18px 45px rgba(36, 52, 70, .15);
  --wf-radius: 10px;
  --wf-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--wf-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(75, 143, 216, .18), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(232, 188, 79, .12), transparent 24rem),
    repeating-linear-gradient(0deg, rgba(15, 23, 34, .022) 0 1px, transparent 1px 6px),
    var(--wf-paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.68;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: 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;
}

.wf-site {
  min-height: 100vh;
}

.wf-container {
  width: min(var(--wf-max), calc(100% - 36px));
  margin: 0 auto;
}

.wf-topline {
  background: var(--wf-ink);
  color: rgba(255, 250, 240, .84);
  font-size: 13px;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255, 250, 240, .14);
}

.wf-topline__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 38px;
}

.wf-toplinks {
  display: flex;
  gap: 18px;
  align-items: center;
}

.wf-toplinks a {
  color: rgba(255, 250, 240, .82);
}

.wf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 15, .94);
  color: var(--wf-paper-2);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 250, 240, .12);
}

.wf-header__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.wf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--wf-paper-2);
  text-decoration: none;
}

.wf-logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 209, 102, .28), transparent 30%),
    linear-gradient(145deg, #162234, #0a1018);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transform: rotate(-1.5deg);
}

.wf-logo-mark svg {
  width: 31px;
  height: 31px;
  display: block;
}

.wf-logo-mark rect {
  fill: #58a6ff;
  stroke: #f8fafc;
  stroke-width: 2;
}

.wf-logo-mark path {
  fill: none;
  stroke: #f8fafc;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-logo-mark circle {
  fill: #ffd166;
  stroke: #101820;
  stroke-width: 2;
}

.wf-logo-text {
  display: grid;
  line-height: 1.05;
}

.wf-logo-text strong {
  color: var(--wf-paper-2);
  font-size: 21px;
  letter-spacing: 0;
  white-space: nowrap;
}

.wf-logo-text strong span {
  color: #ffd166;
}

.wf-logo-text small {
  margin-top: 3px;
  color: rgba(255, 250, 240, .66);
  font-size: 11px;
  font-weight: 800;
}

.wf-brand .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 52px;
}

.wf-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: 8px;
  color: var(--wf-paper-2);
  background: rgba(255, 250, 240, .06);
}

.wf-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.wf-nav-list {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.wf-nav .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.wf-nav-item {
  position: relative;
}

.wf-nav a,
.wf-nav .menu-item a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 250, 240, .86);
  font-weight: 800;
  font-size: 14px;
}

.wf-nav a:hover,
.wf-nav .current-menu-item > a {
  background: rgba(255, 250, 240, .10);
  color: #fff;
}

.wf-submenu,
.wf-nav .sub-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 90;
  width: 220px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(15, 23, 34, .97);
  border: 1px solid rgba(255, 253, 247, .14);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.wf-submenu::before,
.wf-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.wf-nav-item--has-sub:hover .wf-submenu,
.wf-nav-item--has-sub:focus-within .wf-submenu,
.wf-nav .menu-item-has-children:hover > .sub-menu,
.wf-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.wf-submenu a,
.wf-nav .sub-menu a {
  width: 100%;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 253, 247, .86);
  background: transparent;
  font-size: 13px;
}

.wf-submenu a:hover,
.wf-nav .sub-menu a:hover {
  background: rgba(75, 143, 216, .18);
  color: #fff;
}

.wf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-header-search {
  display: flex;
  width: min(280px, 24vw);
  height: 42px;
  border: 1px solid rgba(255, 250, 240, .18);
  background: rgba(255, 250, 240, .08);
  border-radius: 999px;
  overflow: hidden;
}

.wf-header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--wf-paper-2);
  padding: 0 14px;
  outline: 0;
}

.wf-header-search input::placeholder {
  color: rgba(255, 250, 240, .52);
}

.wf-header-search button,
.wf-save-button {
  border: 0;
  background: var(--wf-paper-2);
  color: var(--wf-ink);
  font-weight: 900;
  cursor: pointer;
}

.wf-header-search button {
  width: 48px;
}

.wf-save-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wf-main {
  background:
    linear-gradient(180deg, rgba(17, 17, 15, .98) 0 260px, transparent 260px),
    transparent;
}

.wf-hero {
  position: relative;
  isolation: isolate;
  color: var(--wf-paper-2);
  padding: 42px 0 58px;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 4px solid var(--wf-ink);
}

.wf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 22% 12%, rgba(119, 183, 231, .34), transparent 20rem),
    radial-gradient(circle at 82% 16%, rgba(232, 188, 79, .24), transparent 22rem),
    linear-gradient(135deg, #101927 0%, #0d1118 46%, #203954 100%);
}

.wf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .52;
  background:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, .045) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, .035) 0 1px, transparent 1px 76px);
  mix-blend-mode: screen;
}

.wf-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 38px;
  align-items: center;
}

.wf-hero-copy {
  position: relative;
  z-index: 2;
  padding: 32px 0;
}

.wf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wf-gold);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.wf-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--wf-red);
  transform: rotate(45deg);
}

.wf-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .9;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.wf-hero h1 span {
  display: inline-block;
  color: var(--wf-gold);
  -webkit-text-stroke: 1px rgba(255, 250, 240, .38);
}

.wf-hero p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 250, 240, .82);
  font-size: 17px;
}

.wf-ticket-search {
  position: relative;
  max-width: 620px;
  padding: 10px;
  background: var(--wf-paper-2);
  color: var(--wf-ink);
  border: 2px solid var(--wf-ink);
  box-shadow: 10px 10px 0 var(--wf-red);
  transform: rotate(-1deg);
}

.wf-ticket-search::before,
.wf-ticket-search::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #15120f;
  transform: translateY(-50%);
}

.wf-ticket-search::before {
  left: -13px;
}

.wf-ticket-search::after {
  right: -13px;
}

.wf-hero-search {
  display: flex;
  min-height: 58px;
}

.wf-hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 800;
  outline: 0;
}

.wf-hero-search button {
  min-width: 124px;
  border: 0;
  background: var(--wf-ink);
  color: var(--wf-paper-2);
  font-weight: 900;
  cursor: pointer;
}

.wf-chip-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.wf-chip-row a,
.wf-chip-row button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 240, .34);
  background: rgba(255, 250, 240, .08);
  color: var(--wf-paper-2);
  font-weight: 900;
  font-size: 13px;
}

.wf-poster-wall {
  position: relative;
  min-height: 560px;
  perspective: 900px;
}

.wf-poster {
  position: absolute;
  overflow: hidden;
  border: 3px solid var(--wf-paper-2);
  box-shadow: 16px 18px 0 rgba(0, 0, 0, .24), 0 30px 50px rgba(0, 0, 0, .36);
  background: var(--wf-paper-2);
  color: var(--wf-ink);
}

.wf-poster--link {
  display: block;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.wf-poster--link:hover {
  filter: saturate(1.08) contrast(1.02);
}

.wf-poster--link:hover .wf-poster__caption strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.wf-poster img,
.wf-poster .wf-poster-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-poster-photo {
  background:
    linear-gradient(135deg, rgba(75, 143, 216, .58), rgba(232, 188, 79, .22)),
    var(--photo, linear-gradient(135deg, #18324c, #89c7f3));
}

.wf-poster__label {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  padding: 6px 10px;
  background: var(--wf-red);
  color: var(--wf-paper-2);
  font-weight: 900;
  font-size: 13px;
  transform: rotate(-2deg);
}

.wf-poster__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86));
  color: var(--wf-paper-2);
  font-weight: 900;
}

.wf-poster__caption small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 250, 240, .68);
  font-size: 11px;
}

.wf-poster__caption strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.22;
}

.wf-poster--1 {
  width: 260px;
  height: 360px;
  left: 20px;
  top: 30px;
  transform: rotate(-7deg);
}

.wf-poster--2 {
  width: 320px;
  height: 430px;
  left: 220px;
  top: 0;
  transform: rotate(4deg);
}

.wf-poster--3 {
  width: 230px;
  height: 310px;
  right: 12px;
  top: 72px;
  transform: rotate(-3deg);
}

.wf-poster--4 {
  width: 300px;
  height: 210px;
  left: 92px;
  bottom: 0;
  transform: rotate(2deg);
}

.wf-stamp {
  display: none;
  position: absolute;
  right: 160px;
  bottom: 64px;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border: 5px solid var(--wf-red);
  color: var(--wf-red);
  border-radius: 999px;
  font-size: 24px;
  font-weight: 1000;
  transform: rotate(-12deg);
  background: rgba(255, 250, 240, .92);
  box-shadow: var(--wf-shadow);
}

.wf-section {
  padding: 76px 0;
}

.wf-section--paper {
  background: var(--wf-paper-2);
  border-block: 1px solid var(--wf-line);
}

.wf-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.wf-section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .94;
  letter-spacing: -.03em;
}

.wf-section-head p {
  margin: 8px 0 0;
  color: var(--wf-muted);
}

.wf-link-button,
.wf-card__button,
.wf-festival-cta,
.wf-article-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  border: 2px solid var(--wf-ink);
  background: var(--wf-ink);
  color: var(--wf-paper-2);
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(17, 17, 15, .16);
}

.wf-link-button:hover,
.wf-card__button:hover,
.wf-festival-cta:hover,
.wf-article-link:hover {
  background: var(--wf-red);
  border-color: var(--wf-red-dark);
}

.wf-dashboard {
  margin-top: -58px;
  position: relative;
  z-index: 10;
}

.wf-dashboard__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr .9fr;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--wf-ink);
  background: var(--wf-paper-2);
  box-shadow: 12px 12px 0 var(--wf-ink);
}

.wf-dash-card {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--wf-line);
  background:
    radial-gradient(circle at right top, rgba(216, 168, 65, .26), transparent 10rem),
    #fff;
}

.wf-dash-card b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.wf-dash-card span {
  color: var(--wf-muted);
  font-weight: 800;
  font-size: 13px;
}

.wf-dash-card strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
}

.wf-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.wf-card-grid--feature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.wf-card,
.wf-festival-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--wf-paper-2);
  border: 2px solid rgba(17, 17, 15, .12);
  border-radius: var(--wf-radius);
  overflow: hidden;
  box-shadow: var(--wf-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 0;
}

.wf-card-grid > .wf-festival-card,
.wf-festival-list-grid > .wf-festival-card,
.wf-festival-grid > .wf-festival-card {
  height: 100%;
}

.wf-card:hover,
.wf-festival-card:hover {
  transform: translateY(-4px) rotate(-.2deg);
  box-shadow: 0 24px 54px rgba(36, 25, 12, .22);
}

.wf-card__media,
.wf-festival-card__media,
.wf-festival-card__image,
.wf-festival-media,
.wf-festival-card > figure:first-child,
.wf-festival-card > a:first-child:has(img),
.wf-festival-card > img:first-child {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  background:
    linear-gradient(135deg, rgba(75, 143, 216, .12), rgba(232, 188, 79, .08)),
    repeating-linear-gradient(-45deg, rgba(17,17,15,.05) 0 8px, transparent 8px 16px),
  #efe5d2;
  overflow: hidden;
  margin: 0;
  flex: 0 0 auto;
}

.wf-card__media img,
.wf-festival-card__media img,
.wf-festival-card__image img,
.wf-festival-media img,
.wf-festival-card > figure:first-child img,
.wf-festival-card > a:first-child:has(img) img,
.wf-festival-card > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wf-card__badge,
.wf-festival-dday,
.wf-festival-status {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--wf-red);
  color: var(--wf-paper-2);
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 3px 3px 0 rgba(17, 17, 15, .2);
}

.wf-card__body,
.wf-festival-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.wf-card__meta,
.wf-festival-meta,
.wf-image-credit {
  color: var(--wf-muted);
  font-size: 12px;
  font-weight: 800;
}

.wf-festival-card > :not(.wf-festival-card__media):not(.wf-festival-media):not(figure):not(img):not(a:first-child:has(img)) {
  margin-left: 18px;
  margin-right: 18px;
}

.wf-festival-card > p:first-of-type,
.wf-festival-card figcaption,
.wf-festival-card .wf-image-credit,
.wf-festival-card .wf-festival-credit,
.wf-festival-card .wf-card-credit {
  margin: 0;
  padding: 10px 18px 0;
  color: #66717f;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  max-height: 48px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wf-festival-card > p:not(:first-of-type),
.wf-festival-card .wf-festival-summary {
  margin-top: 0;
  margin-bottom: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.wf-card h3,
.wf-card__title,
.wf-festival-title,
.wf-festival-card h2,
.wf-festival-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--wf-ink);
}

.wf-festival-card h2,
.wf-festival-card h3,
.wf-festival-card .wf-festival-title {
  margin-top: 16px;
  margin-bottom: 10px;
  font-weight: 950;
}

.wf-card p,
.wf-festival-summary {
  color: #5f594f;
  margin: 0 0 14px;
  font-size: 14px;
}

.wf-card__facts,
.wf-festival-info,
.wf-festival-card dl {
  display: grid;
  gap: 7px 10px;
  margin: 12px 18px 16px;
  font-size: 14px;
  color: #3d3933;
}

.wf-festival-card dl {
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
}

.wf-festival-card dt,
.wf-festival-card dd {
  margin: 0;
}

.wf-festival-card dt {
  color: #66717f;
  font-weight: 900;
}

.wf-festival-card dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wf-card__footer,
.wf-festival-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.wf-festival-card > a:not(:first-child),
.wf-festival-card__footer a,
.wf-festival-card .wf-festival-cta,
.wf-festival-card .wf-festival-link,
.wf-festival-card .wf-festival-official-link,
.wf-festival-card a[class*="official"],
.wf-festival-card a[class*="guide"],
.wf-festival-card a[class*="cta"],
.wf-festival-card a[class*="button"] {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: auto;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 2px solid var(--wf-ink);
  border-radius: 8px;
  background: var(--wf-ink);
  color: var(--wf-paper-2) !important;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 4px 4px 0 rgba(15, 23, 34, .14);
}

.wf-festival-card > a:not(:first-child):hover,
.wf-festival-card__footer a:hover,
.wf-festival-card .wf-festival-cta:hover,
.wf-festival-card .wf-festival-link:hover,
.wf-festival-card .wf-festival-official-link:hover,
.wf-festival-card a[class*="official"]:hover,
.wf-festival-card a[class*="guide"]:hover,
.wf-festival-card a[class*="cta"]:hover,
.wf-festival-card a[class*="button"]:hover {
  background: var(--wf-red-dark);
  border-color: var(--wf-red-dark);
}

.wf-save-icon,
.wf-save-card {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--wf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--wf-ink);
  cursor: pointer;
}

.wf-poster-card {
  min-height: 460px;
  background: #171411;
  color: var(--wf-paper-2);
  border-color: rgba(255, 250, 240, .18);
}

.wf-poster-card .wf-card__body {
  background:
    linear-gradient(180deg, rgba(17, 17, 15, .1), rgba(17, 17, 15, .95)),
    #171411;
}

.wf-poster-card .wf-card__meta,
.wf-poster-card p {
  color: rgba(255, 250, 240, .74);
}

.wf-region-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wf-region-tile {
  min-height: 104px;
  padding: 18px;
  border: 2px solid var(--wf-ink);
  background: #fff;
  box-shadow: 5px 5px 0 rgba(17, 17, 15, .12);
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-weight: 1000;
}

.wf-region-tile::after {
  content: ">";
  color: var(--wf-red);
  font-weight: 1000;
}

.wf-guide-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.wf-guide-feature {
  min-height: 360px;
  padding: 30px;
  border: 2px solid var(--wf-ink);
  background:
    linear-gradient(135deg, rgba(17,17,15,.35), rgba(17,17,15,.86)),
    radial-gradient(circle at 20% 20%, rgba(216,168,65,.5), transparent 14rem),
    #171411;
  color: var(--wf-paper-2);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: 10px 10px 0 var(--wf-red);
}

.wf-guide-feature h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: .92;
}

.wf-guide-list {
  display: grid;
  gap: 12px;
}

.wf-guide-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--wf-line);
  font-weight: 900;
}

.wf-guide-list a span:first-child {
  color: var(--wf-red);
}

.wf-content {
  padding: 58px 0 80px;
}

.wf-page-shell,
.wf-single-shell,
.wf-archive-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.wf-page-shell--festival-list {
  width: min(1280px, calc(100% - 36px));
}

.wf-page-hero,
.wf-archive-hero {
  margin: 34px 0 28px;
  padding: 30px;
  color: var(--wf-paper-2);
  background:
    linear-gradient(135deg, rgba(17,17,15,.92), rgba(17,17,15,.70)),
    radial-gradient(circle at right top, rgba(217,68,47,.40), transparent 18rem),
    #171411;
  border: 2px solid var(--wf-ink);
  box-shadow: 9px 9px 0 var(--wf-red);
}

.wf-page-hero h1,
.wf-archive-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .94;
  letter-spacing: -.03em;
}

.wf-entry {
  background: var(--wf-paper-2);
  border: 1px solid var(--wf-line);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--wf-shadow);
  font-size: 17px;
  line-height: 1.82;
}

.wf-entry h1,
.wf-entry h2,
.wf-entry h3 {
  line-height: 1.18;
  letter-spacing: -.02em;
}

.wf-entry h2 {
  margin-top: clamp(44px, 7vw, 84px);
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 34, .12);
  font-size: clamp(25px, 3vw, 36px);
}

.wf-entry h3 {
  margin-top: 34px;
  font-size: clamp(20px, 2vw, 26px);
}

.wf-entry p {
  max-width: 76ch;
  margin: 0 0 20px;
}

.wf-entry a {
  color: var(--wf-red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.wf-entry img {
  border-radius: 8px;
}

.wf-entry table,
.wf-entry .wp-block-table table,
.wf-entry .wf-info-card table {
  width: 100%;
  max-width: 920px;
  margin: 24px 0 34px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 34, .14);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(36, 52, 70, .08);
}

.wf-entry th,
.wf-entry td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(15, 23, 34, .10);
  text-align: left;
  vertical-align: top;
}

.wf-entry tr:last-child th,
.wf-entry tr:last-child td {
  border-bottom: 0;
}

.wf-entry th {
  width: 142px;
  background: #edf6ff;
  color: #18324c;
  font-weight: 900;
}

.wf-entry td {
  color: #1f2937;
}

.wf-entry .wf-info-card,
.wf-entry .wf-source-list,
.wf-entry .wf-summary,
.wf-entry blockquote {
  max-width: 920px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(15, 23, 34, .12);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f4f9ff);
  box-shadow: 0 12px 30px rgba(36, 52, 70, .08);
}

.wf-hub-info {
  max-width: 920px;
  margin: 34px 0;
}

.wf-hub-info h2 {
  margin-top: 0;
}

.wf-hub-info dl {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 16px 0 34px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 34, .14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 52, 70, .08);
}

.wf-hub-info dl > div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid rgba(15, 23, 34, .10);
}

.wf-hub-info dl > div:last-child {
  border-bottom: 0;
}

.wf-hub-info dt,
.wf-hub-info dd {
  margin: 0;
  padding: 13px 16px;
  min-width: 0;
  text-align: left;
  vertical-align: top;
}

.wf-hub-info dt {
  background: #edf6ff;
  color: #18324c;
  font-weight: 900;
}

.wf-hub-info dd {
  color: #1f2937;
  overflow-wrap: anywhere;
}

.wf-hub-info-link {
  color: var(--wf-red-dark);
  font-weight: 900;
}

.wf-image-carousel {
  position: relative;
  max-width: 920px;
  margin: 34px 0;
  padding: 18px;
  border: 1px solid rgba(15, 23, 34, .14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(36, 52, 70, .08);
  overflow: hidden;
}

.wf-image-carousel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.wf-image-carousel__head h2 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: clamp(22px, 2.4vw, 30px);
}

.wf-image-carousel__credit {
  margin: 0;
  color: #66717f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.wf-image-carousel__controls {
  position: absolute;
  inset: 50% 10px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.wf-image-carousel__button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, .7);
  border-radius: 999px;
  background: rgba(15, 23, 34, .92);
  color: var(--wf-paper-2);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 23, 34, .15);
  pointer-events: auto;
}

.wf-image-carousel__button:disabled {
  opacity: .35;
  cursor: default;
}

.wf-image-carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 46px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.wf-image-carousel__track > p,
.wf-image-carousel__track > br {
  display: none !important;
}

.wf-image-carousel__card {
  flex: 0 0 min(340px, 72%);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(15, 23, 34, .12);
  border-radius: 10px;
  background:
    repeating-linear-gradient(-45deg, rgba(15, 23, 34, .035) 0 8px, transparent 8px 16px),
    #f4f6f3;
  overflow: hidden;
  scroll-snap-align: start;
}

.wf-entry .wf-image-carousel__card img,
.wf-image-carousel__card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.wf-entry--festival-list {
  padding: clamp(16px, 2.4vw, 28px);
  margin-top: 24px;
}

.wf-search-festival-results {
  margin: 0 0 34px;
}

.wf-search-festival-results .wf-festival-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
  gap: 24px;
  align-items: stretch;
}

.wf-search-festival-results .wf-festival-card--directory {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
}

.wf-search-festival-results .wf-festival-card--directory > .wf-festival-card__media-frame,
.wf-search-festival-results .wf-festival-card--directory > .wf-festival-card__content {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wf-search-festival-results .wf-festival-card--directory > .wf-festival-card__media-frame {
  width: 100%;
  padding: 18px 18px 0;
}

.wf-search-festival-results .wf-festival-card--directory .wf-festival-card__image {
  width: 100% !important;
  margin: 0 !important;
}

.wf-search-festival-results .wf-festival-card--directory > .wf-festival-card__content {
  padding: 0 18px 18px;
}

.wf-search-page-results {
  margin: 36px 0 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 34, .12);
}

.wf-page-shell:has(.wf-entry--festival-list) {
  width: min(1280px, calc(100% - 36px));
}

.wf-entry--festival-list .wf-festival-list-page,
.wf-entry--festival-list .wf-festival-page {
  width: 100%;
}

.wf-entry--festival-list :where(.wf-festival-list-grid, .wf-festival-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) {
  margin: 0 0 28px;
  min-height: 0;
  padding: clamp(20px, 3vw, 32px);
}

.wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) :where(p, span, small, strong, em, li) {
  color: rgba(255, 250, 240, .82);
}

.wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) h1,
.wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: .98;
}

.wf-entry--festival-list :where(.wf-festival-card, .wf-festival-list-card) {
  min-height: 0;
  border-radius: 12px;
  background: var(--wf-paper-2);
  border: 1px solid rgba(15, 23, 34, .12);
  box-shadow: 0 14px 34px rgba(36, 52, 70, .13);
  font-family: inherit;
  line-height: 1.55;
  overflow: hidden;
}

.wf-entry--festival-list :where(.wf-festival-card__media, .wf-festival-media, .wf-festival-image, .wf-festival-thumb, .wf-festival-card figure),
.wf-entry--festival-list .wf-festival-card > img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(75, 143, 216, .15), transparent 9rem),
    repeating-linear-gradient(-45deg, rgba(15,23,34,.045) 0 8px, transparent 8px 16px),
    #edf6ff;
}

.wf-entry--festival-list :where(.wf-festival-card__media, .wf-festival-media, .wf-festival-image, .wf-festival-thumb, .wf-festival-card figure) img,
.wf-entry--festival-list :where(.wf-festival-card img.wp-post-image, .wf-festival-card > img, .wf-festival-image img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.wf-entry--festival-list .wf-image-credit,
.wf-entry--festival-list :where(figcaption, .wf-festival-credit, .wf-card-credit),
.wf-entry--festival-list .wf-festival-card > p:first-of-type,
.wf-entry--festival-list .wf-festival-card__body > p:first-child {
  display: block;
  padding: 9px 18px 0;
  color: #66717f;
  font-size: 13px;
  line-height: 1.45;
  max-height: 44px;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wf-entry--festival-list :where(.wf-festival-card__body, .wf-festival-body, .wf-festival-content) {
  padding: 18px;
}

.wf-entry--festival-list .wf-festival-card > :not(img):not(figure):not(.wf-festival-card__media):not(.wf-festival-media):not(.wf-festival-image):not(.wf-festival-thumb) {
  margin-left: 18px;
  margin-right: 18px;
}

.wf-entry--festival-list .wf-festival-card > :last-child {
  margin-bottom: 18px;
}

.wf-entry--festival-list :where(.wf-festival-title, .wf-festival-card h2, .wf-festival-card h3) {
  margin: 14px 0 10px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.28;
  letter-spacing: -.02em;
  font-weight: 950;
}

.wf-entry--festival-list :where(.wf-festival-summary, .wf-festival-card p) {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.wf-entry--festival-list :where(.wf-festival-card h2, .wf-festival-card h3, .wf-festival-title) a {
  color: var(--wf-ink);
}

.wf-entry--festival-list :where(.wf-festival-info, .wf-festival-meta, .wf-festival-card dl) {
  margin: 12px 18px 16px;
  color: #263241;
  font-size: 13px;
  line-height: 1.55;
}

.wf-entry--festival-list :where(.wf-festival-card a, .wf-festival-tabs a, .wf-festival-tab) {
  color: inherit;
  text-decoration: none;
}

.wf-entry--festival-list :where(.wf-festival-cta, .wf-festival-link, .wf-festival-official-link, .wf-festival-card__footer a, .wf-festival-card .wf-button, .wf-festival-card .button, .wf-festival-card a[class*="button"], .wf-festival-card a[class*="cta"], .wf-festival-card a[class*="official"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 2px solid var(--wf-ink);
  border-radius: 7px;
  background: var(--wf-ink);
  color: var(--wf-paper-2);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(17, 17, 15, .14);
}

.wf-entry--festival-list :where(.wf-festival-cta:hover, .wf-festival-link:hover, .wf-festival-official-link:hover, .wf-festival-card__footer a:hover, .wf-festival-card .wf-button:hover, .wf-festival-card .button:hover, .wf-festival-card a[class*="button"]:hover, .wf-festival-card a[class*="cta"]:hover, .wf-festival-card a[class*="official"]:hover) {
  background: var(--wf-red);
  border-color: var(--wf-red-dark);
  color: var(--wf-paper-2);
}

.wf-post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
  margin: 34px 0;
}

.wf-post-title {
  padding: 30px;
  background: var(--wf-paper-2);
  border: 2px solid var(--wf-ink);
  box-shadow: 9px 9px 0 var(--wf-gold);
}

.wf-post-title h1 {
  margin: 10px 0 16px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: .98;
}

.wf-post-thumb {
  border: 2px solid var(--wf-ink);
  background: #fff;
  padding: 8px;
  transform: rotate(2deg);
  box-shadow: 9px 9px 0 var(--wf-red);
}

.wf-footer {
  background: #0f0f0e;
  color: rgba(255, 250, 240, .76);
  padding: 58px 0;
  border-top: 5px solid var(--wf-red);
}

.wf-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

.wf-footer h2,
.wf-footer h3 {
  margin: 0 0 12px;
  color: var(--wf-paper-2);
}

.wf-footer a {
  display: block;
  color: rgba(255, 250, 240, .76);
  margin: 6px 0;
}

.wf-saved-panel {
  position: fixed;
  right: 20px;
  top: 92px;
  z-index: 80;
  width: min(360px, calc(100vw - 40px));
  display: none;
  background: var(--wf-paper-2);
  color: var(--wf-ink);
  border: 2px solid var(--wf-ink);
  box-shadow: 10px 10px 0 var(--wf-red);
}

.wf-saved-panel.is-open {
  display: block;
}

.wf-saved-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--wf-line);
  font-weight: 1000;
}

.wf-saved-panel__body {
  padding: 14px 16px;
  max-height: 360px;
  overflow: auto;
}

.wf-saved-panel button {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.wf-generated-list,
.wf-festival-list-grid,
.wf-festival-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.wf-festival-list-hero,
.wf-festival-hero {
  margin: 28px 0 24px;
  padding: 28px;
  color: var(--wf-paper-2);
  background:
    linear-gradient(135deg, rgba(17,17,15,.94), rgba(17,17,15,.76)),
    radial-gradient(circle at right top, rgba(216,168,65,.42), transparent 18rem),
    #171411;
  border: 2px solid var(--wf-ink);
  box-shadow: 9px 9px 0 var(--wf-red);
}

.wf-festival-list-hero h1,
.wf-festival-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .95;
}

.wf-festival-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin: 18px 0 28px;
  background: var(--wf-paper-2);
  border: 2px solid var(--wf-ink);
  box-shadow: 6px 6px 0 rgba(17,17,15,.14);
}

.wf-festival-tabs a,
.wf-festival-tab {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--wf-line);
  font-weight: 900;
  color: var(--wf-ink);
}

.wf-festival-tabs a:hover,
.wf-festival-tab.is-active {
  background: var(--wf-ink);
  color: var(--wf-paper-2);
}

.wf-placeholder,
.wf-festival-card.is-image-missing .wf-festival-card__media,
.wf-card.is-image-missing .wf-card__media {
  display: grid;
  place-items: center;
  min-height: 180px;
  background:
    radial-gradient(circle at 70% 25%, rgba(217, 68, 47, .16), transparent 8rem),
    repeating-linear-gradient(-12deg, rgba(17,17,15,.05) 0 8px, transparent 8px 18px),
    #ede2cf;
  color: rgba(17,17,15,.54);
  font-weight: 1000;
}

.nav-links,
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.nav-links a,
.nav-links span,
.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--wf-ink);
  background: #fff;
  font-weight: 900;
}

.nav-links .current,
.pagination .current {
  background: var(--wf-ink);
  color: var(--wf-paper-2);
}

@media (max-width: 1100px) {
  .wf-header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .wf-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .wf-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    padding: 14px;
    background: var(--wf-ink);
    border: 1px solid rgba(255, 250, 240, .14);
    box-shadow: var(--wf-shadow);
  }

  .wf-nav.is-open {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wf-nav.is-open .wf-nav-list {
    display: contents;
  }

  .wf-nav.is-open .wf-nav-item--has-sub,
  .wf-nav.is-open .menu-item-has-children {
    display: grid;
    grid-column: 1 / -1;
    gap: 6px;
  }

  .wf-nav.is-open .wf-submenu,
  .wf-nav.is-open .sub-menu {
    position: static;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(255, 253, 247, .06);
    box-shadow: none;
  }

  .wf-nav.is-open .wf-submenu::before,
  .wf-nav.is-open .sub-menu::before {
    display: none;
  }

  .wf-header-actions {
    justify-content: end;
  }

  .wf-header-search {
    width: min(320px, 38vw);
  }

  .wf-hero__grid {
    grid-template-columns: 1fr;
  }

  .wf-poster-wall {
    min-height: 480px;
  }

  .wf-dashboard__grid,
  .wf-card-grid,
  .wf-card-grid--feature,
  .wf-generated-list,
  .wf-festival-list-grid,
  .wf-festival-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-region-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-post-hero,
  .wf-guide-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wf-container {
    width: min(100% - 24px, var(--wf-max));
  }

  .wf-topline__inner {
    justify-content: center;
  }

  .wf-toplinks {
    display: none;
  }

  .wf-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    min-height: 64px;
    padding-top: 8px;
  }

  .wf-brand {
    grid-column: 1;
    min-width: 0;
  }

  .wf-logo-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .wf-logo-mark svg {
    width: 27px;
    height: 27px;
  }

  .wf-logo-text strong {
    font-size: 18px;
  }

  .wf-menu-button {
    grid-column: 2;
    justify-self: end;
    width: 44px;
    height: 44px;
    margin-right: 2px;
    border-radius: 12px;
    font-size: 22px;
    line-height: 1;
  }

  .wf-logo-text small,
  .wf-save-button span {
    display: none;
  }

  .wf-header-actions {
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .wf-header-search {
    width: 100%;
  }

  .wf-save-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .wf-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
  }

  .wf-nav.is-open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-nav.is-open .wf-submenu,
  .wf-nav.is-open .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-hero {
    min-height: auto;
    padding: 28px 0 44px;
  }

  .wf-hero h1 {
    font-size: clamp(46px, 16vw, 70px);
  }

  .wf-ticket-search {
    transform: none;
    box-shadow: 6px 6px 0 var(--wf-red);
  }

  .wf-hero-search {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .wf-hero-search input {
    min-height: 54px;
  }

  .wf-hero-search button {
    min-height: 48px;
  }

  .wf-poster-wall {
    min-height: 420px;
  }

  .wf-poster--1 {
    width: 42vw;
    height: 58vw;
    left: 0;
    top: 16px;
  }

  .wf-poster--2 {
    width: 52vw;
    height: 66vw;
    left: 32vw;
    top: 0;
  }

  .wf-poster--3 {
    width: 40vw;
    height: 50vw;
    right: 3vw;
    top: 210px;
  }

  .wf-poster--4 {
    width: 54vw;
    height: 36vw;
    left: 8vw;
    bottom: 0;
  }

  .wf-stamp {
    width: 96px;
    height: 96px;
    right: 22px;
    bottom: 42px;
    font-size: 18px;
  }

  .wf-dashboard {
    margin-top: 0;
    padding-top: 18px;
  }

  .wf-dashboard__grid,
  .wf-card-grid,
  .wf-card-grid--feature,
  .wf-generated-list,
  .wf-festival-list-grid,
  .wf-festival-grid,
  .wf-region-board,
  .wf-footer__grid {
    grid-template-columns: 1fr;
  }

  .wf-section {
    padding: 48px 0;
  }

  .wf-section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Festival card stability overrides */
.wf-entry--festival-list :where(.wf-festival-list-grid, .wf-festival-grid),
.wf-generated-list,
.wf-festival-list-grid,
.wf-festival-grid {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.wf-festival-card,
.wf-entry--festival-list :where(.wf-festival-card, .wf-festival-list-card) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.wf-festival-card__media,
.wf-festival-card__image,
.wf-festival-media,
.wf-festival-image,
.wf-festival-thumb,
.wf-festival-card > figure:first-child,
.wf-festival-card > a:first-child:has(img),
.wf-festival-card > img:first-child {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 8px;
  background: #f4f5f1;
}

.wf-festival-card__media img,
.wf-festival-card__image img,
.wf-festival-media img,
.wf-festival-image img,
.wf-festival-thumb img,
.wf-festival-card > figure:first-child img,
.wf-festival-card > a:first-child:has(img) img,
.wf-festival-card > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wf-festival-card > figure:first-child {
  display: block;
}

.wf-festival-card > figure:first-child:has(figcaption),
.wf-festival-card--normalized > figure.wf-festival-card__media:first-child:has(figcaption) {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}

.wf-festival-card > figure:first-child:has(figcaption) img,
.wf-festival-card--normalized > figure.wf-festival-card__media:first-child:has(figcaption) img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f5f1;
}

.wf-festival-card > figure:first-child figcaption,
.wf-festival-card .wf-festival-card__media figcaption {
  position: static;
}

.wf-festival-card--normalized > :is(.wf-festival-card__media, .wf-festival-card__image, .wf-festival-media, .wf-festival-image, .wf-festival-thumb, figure:first-child, a:first-child:has(img)) {
  margin: 18px 18px 0;
  width: calc(100% - 36px);
}

.wf-festival-card--normalized > img:first-child {
  margin: 18px 18px 0;
  width: calc(100% - 36px);
}

.wf-festival-info,
.wf-festival-card dl,
.wf-entry--festival-list :where(.wf-festival-info, .wf-festival-meta, .wf-festival-card dl) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 18px 16px;
  color: #263241;
  font-size: 14px;
  line-height: 1.55;
}

.wf-festival-badges,
.wf-entry--festival-list .wf-festival-badges,
.wf-festival-card p.wf-festival-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-self: stretch;
  gap: 7px;
  width: auto;
  margin: 16px 18px 8px;
  color: #17202c;
  font-size: 12px;
  line-height: 1;
  text-align: left;
}

.wf-festival-card__body > .wf-festival-badges,
.wf-festival-card__body > p.wf-festival-badges,
.wf-festival-card__body > div.wf-festival-badges {
  align-self: flex-start;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
}

.wf-festival-card__body > .wf-festival-badges + .wf-festival-title,
.wf-festival-card__body > .wf-festival-badges + .wf-festival-card__title,
.wf-festival-card__body > .wf-festival-badges + h2,
.wf-festival-card__body > .wf-festival-badges + h3 {
  margin-top: 8px;
}

.wf-festival-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef6f2;
  color: #0f4f45;
  font-weight: 900;
  white-space: nowrap;
}

.wf-festival-fact {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.wf-festival-fact dt,
.wf-festival-fact dd {
  margin: 0;
  min-width: 0;
}

.wf-festival-fact dt {
  color: #687386;
  font-weight: 900;
}

.wf-festival-fact dd {
  color: #17202c;
  overflow-wrap: normal;
  word-break: keep-all;
}

.wf-festival-card .wf-festival-cta,
.wf-festival-card .wf-festival-cta-wrap,
.wf-entry--festival-list :where(.wf-festival-cta, .wf-festival-link, .wf-festival-official-link, .wf-festival-cta-wrap, .wf-festival-card__footer, .wf-festival-card__footer a, .wf-festival-card .wf-button, .wf-festival-card .button, .wf-festival-card a[class*="button"], .wf-festival-card a[class*="cta"], .wf-festival-card a[class*="official"]) {
  margin-top: auto;
}

.wf-festival-card .wf-festival-cta-wrap,
.wf-entry--festival-list .wf-festival-card .wf-festival-cta-wrap {
  display: flex;
  align-items: flex-end;
  min-height: 50px;
  padding-top: 12px;
}

.wf-festival-card .wf-festival-cta-wrap .wf-festival-cta {
  margin-top: 0;
}

.wf-festival-card--directory {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
}

.wf-festival-card--directory > .wf-festival-card__media-frame {
  position: relative;
  width: 100%;
  padding: 18px 18px 0;
}

.wf-festival-card--directory .wf-festival-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f5f1;
}

.wf-festival-card--directory .wf-festival-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wf-festival-card--directory .wf-festival-card__image--no-crop img {
  object-fit: cover;
}

.wf-festival-card--directory > .wf-festival-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 18px 18px;
}

.wf-entry--festival-list .wf-festival-card--directory > .wf-festival-card__media-frame,
.wf-entry--festival-list .wf-festival-card--directory > .wf-festival-card__content {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wf-festival-card--directory .wf-festival-card__credit {
  display: block;
  min-height: 28px;
  margin: 0;
  padding: 8px 0 0;
  color: #66717f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
}

.wf-festival-card--directory .wf-festival-card__credit--empty {
  visibility: hidden;
}

.wf-festival-card--directory > .wf-festival-card__media-frame > .wf-festival-badges {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: calc(100% - 56px);
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.wf-festival-card--directory > .wf-festival-card__media-frame > .wf-festival-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(238, 246, 242, .94);
  color: #0f4f45;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(15, 23, 34, .12);
  backdrop-filter: blur(6px);
}

.wf-festival-card--directory .wf-festival-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 10px 0 0;
}

.wf-festival-card--directory .wf-festival-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
}

.wf-festival-card--directory .wf-festival-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef6f2;
  color: #0f4f45;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.wf-festival-card--directory .wf-festival-card__title,
.wf-festival-card--directory h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.28;
  letter-spacing: 0;
}

.wf-festival-card--directory .wf-festival-card__period,
.wf-festival-card--directory .wf-festival-card__place,
.wf-festival-card--directory .wf-festival-card__fee,
.wf-festival-card--directory .wf-festival-card__tel {
  margin: 0 0 9px;
  color: #303b49;
  font-size: 14px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wf-festival-card--directory .wf-festival-card__place {
  color: #4b5563;
}

.wf-festival-card--directory .wf-festival-card__actions {
  display: flex;
  align-items: flex-end;
  min-height: 52px;
  margin-top: auto;
  padding-top: 14px;
}

.wf-festival-card--directory .wf-festival-card__button,
.wf-entry--festival-list .wf-festival-card--directory .wf-festival-card__button {
  align-self: flex-start;
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
}

@media (max-width: 1100px) {
  .wf-search-festival-results .wf-festival-list-grid,
  .wf-entry--festival-list :where(.wf-festival-list-grid, .wf-festival-grid),
  .wf-generated-list,
  .wf-festival-list-grid,
  .wf-festival-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 760px) {
  .wf-search-festival-results .wf-festival-list-grid,
  .wf-entry--festival-list :where(.wf-festival-list-grid, .wf-festival-grid),
  .wf-generated-list,
  .wf-festival-list-grid,
  .wf-festival-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wf-page-shell:has(.wf-entry--festival-list) {
    width: min(100% - 16px, 430px);
  }

  .wf-entry--festival-list {
    margin-top: 12px;
    padding: 0;
  }

  .wf-entry--festival-list .wf-festival-list-page,
  .wf-entry--festival-list .wf-festival-page {
    width: 100%;
  }

  .wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) {
    margin: 0 0 20px;
    padding: 20px;
    border-radius: 0;
  }

  .wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) h1,
  .wf-entry--festival-list :where(.wf-festival-list-hero, .wf-festival-hero) h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.04;
  }

  .wf-festival-list-section {
    margin-top: 24px;
    padding: 0 4px;
  }

  .wf-festival-list-section__head {
    margin-bottom: 14px;
    padding: 0 2px;
  }

  .wf-entry--festival-list :where(.wf-festival-list-grid, .wf-festival-grid),
  .wf-generated-list,
  .wf-festival-list-grid,
  .wf-festival-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .wf-festival-card--directory,
  .wf-entry--festival-list .wf-festival-card--directory {
    width: 100%;
    border-radius: 12px;
  }

  .wf-festival-card--directory > .wf-festival-card__media-frame {
    width: 100%;
    margin: 0 !important;
    padding: 12px 12px 0;
  }

  .wf-festival-card--directory .wf-festival-card__image {
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .wf-festival-card--directory > .wf-festival-card__media-frame > .wf-festival-badges {
    left: 20px;
    top: 20px;
    gap: 5px;
    width: calc(100% - 40px);
  }

  .wf-festival-card--directory > .wf-festival-card__media-frame > .wf-festival-badges span {
    min-height: 23px;
    padding: 0 8px;
    font-size: 11px;
  }

  .wf-festival-card--directory > .wf-festival-card__content {
    padding: 0 14px 16px;
  }

  .wf-festival-card--directory .wf-festival-card__credit {
    min-height: 24px;
    padding-top: 7px;
    font-size: 11px;
    line-height: 1.25;
  }

  .wf-festival-card--directory .wf-festival-card__body {
    padding-top: 10px;
  }

  .wf-festival-card--directory .wf-festival-card__title,
  .wf-festival-card--directory h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.28;
  }

  .wf-festival-card--directory .wf-festival-card__period,
  .wf-festival-card--directory .wf-festival-card__place,
  .wf-festival-card--directory .wf-festival-card__fee,
  .wf-festival-card--directory .wf-festival-card__tel {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .wf-festival-card--directory .wf-festival-card__actions {
    min-height: 46px;
    padding-top: 12px;
  }

  .wf-festival-card--directory .wf-festival-card__button,
  .wf-entry--festival-list .wf-festival-card--directory .wf-festival-card__button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .wf-image-carousel {
    margin: 28px 0;
    padding: 14px;
    border-radius: 10px;
  }

  .wf-hub-info dl > div {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .wf-hub-info dt,
  .wf-hub-info dd {
    padding: 11px 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .wf-image-carousel__head {
    align-items: flex-start;
    gap: 10px;
  }

  .wf-image-carousel__head h2 {
    font-size: 22px;
  }

  .wf-image-carousel__credit {
    font-size: 12px;
  }

  .wf-image-carousel__button {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .wf-image-carousel__track {
    gap: 12px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .wf-image-carousel__card {
    flex-basis: 88%;
    aspect-ratio: 4 / 3;
  }
}
