/*
Theme Name: ArtFair Material
Theme URI: https://euroexpoart.com
Description: Modern Material Design theme for EuroExpoArt — art fair, exhibitions, artists, prizes. Responsive redesign with same brand colors.
Version: 2.0
Author: Emiliano Sammassimo
Author URI: https://euroexpoart.com
Tags: art, fair, exhibition, material, responsive, contemporary
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --primary:       #ca0d89;
  --primary-dark:  #a00a6d;
  --primary-light: #e83da8;
  --accent:        #d74aa7;
  --accent-soft:   rgba(202, 13, 137, 0.08);
  --ink:           #1a1a1a;
  --ink-mid:       #444;
  --ink-light:     #777;
  --surface:       #ffffff;
  --surface-2:     #fafafa;
  --surface-3:     #f3f3f3;
  --border:        rgba(0,0,0,0.08);
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.10);
  --shadow-primary:0 4px 20px rgba(202, 13, 137, 0.30);
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-pill:   999px;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono:     'DM Mono', monospace;
  --nav-h:         68px;
  --container:     1200px;
  --transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1440px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   MATERIAL ELEVATION HELPER
   ========================================================= */
.elevation-1 { box-shadow: var(--shadow-sm); }
.elevation-2 { box-shadow: var(--shadow-md); }
.elevation-3 { box-shadow: var(--shadow-lg); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); font-weight: 500; }

p { margin-bottom: 1rem; color: var(--ink-mid); }
p:last-child { margin-bottom: 0; }

.text-primary  { color: var(--primary); }
.text-muted    { color: var(--ink-light); }
.text-center   { text-align: center; }
.text-display  { font-family: var(--font-display); }
.lead          { font-size: 1.2rem; line-height: 1.7; color: var(--ink-mid); }

/* Section labels */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
  position: relative; top: -1px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 28px rgba(202,13,137,0.40);
  transform: translateY(-1px);
}
.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn--ghost {
  color: var(--ink);
  padding: 10px 16px;
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--primary); }
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }
.btn--lg { padding: 16px 40px; font-size: 1rem; }

/* =========================================================
   TOP BAR (multilingual / partner links)
   ========================================================= */
#site-topbar {
  width: 100%;
  height: 36px;
  background: #111;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__partners {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__partners a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.topbar__partners a:hover,
.topbar__partners a.current {
  color: #fff;
  background: rgba(202,13,137,0.25);
}
.topbar__partners a.current { color: var(--primary-light); }
.topbar__langs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topbar__langs a {
  color: rgba(255,255,255,0.50);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.topbar__langs a:hover, .topbar__langs a.active {
  color: #fff;
  background: var(--primary);
}

/* =========================================================
   SITE HEADER / NAV
   ========================================================= */
#site-header {
  width: 100%;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 36px;      /* topbar height — overridden to 0 on mobile */
  z-index: 190;
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__mark {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.site-logo__text { line-height: 1.1; }
.site-logo__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.site-logo__tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* =========================================================
   NAV TOGGLE (hamburger) — sempre visibile
   ========================================================= */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   NAV OVERLAY
   ========================================================= */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.50);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* =========================================================
   NAV DRAWER
   ========================================================= */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--surface);
  z-index: 400;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.open {
  transform: translateX(0);
}

/* Drawer head */
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-drawer__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink-mid);
  transition: background var(--transition), color var(--transition);
}
.nav-drawer__close:hover { background: var(--accent-soft); color: var(--primary); }

/* Drawer nav */
.nav-drawer__nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

/* Drawer menu list */
.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-menu__item {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.drawer-menu__item:last-child { border-bottom: none; }

.drawer-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.drawer-menu__link:hover,
.drawer-menu__item.current > .drawer-menu__link {
  color: var(--primary);
  background: var(--accent-soft);
}
.drawer-menu__item.current > .drawer-menu__link {
  border-left: 3px solid var(--primary);
  padding-left: 21px;
}

/* Chevron icon */
.drawer-menu__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--ink-light);
}
.drawer-menu__item.open > .drawer-menu__link .drawer-menu__chevron {
  transform: rotate(180deg);
}

/* Submenu */
.drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface-2);
  display: none;
}
.drawer-menu__item.open > .drawer-submenu { display: block; }
.drawer-submenu .drawer-menu__item { border-bottom: 1px solid var(--border); }
.drawer-submenu .drawer-menu__link {
  padding: 12px 24px 12px 40px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-mid);
}

/* Drawer Apply area */
.nav-drawer__apply {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-drawer__apply .btn,
.nav-drawer__apply a {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Drawer Social area */
.nav-drawer__social {
  padding: 16px 24px 28px;
  flex-shrink: 0;
}
.drawer-social-default {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.drawer-social-default a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0;
  transition: all var(--transition);
}
.drawer-social-default a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Year sub-nav (editions) */
.year-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(202,13,137,0.15);
}
.year-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.year-nav a:hover, .year-nav a.active { background: var(--primary); color: #fff; }

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header__search-btn {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--ink-mid);
  transition: all var(--transition);
}
.header__search-btn:hover { background: var(--accent-soft); color: var(--primary); }

/* Mobile hamburger — stili già definiti sopra in NAV TOGGLE */

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay__box {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform var(--transition);
}
.search-overlay.open .search-overlay__box { transform: translateY(0); }
.search-overlay__form {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 20px;
}
.search-overlay__form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink);
  background: transparent;
}

/* =========================================================
   HERO — FULLSCREEN EDITORIAL
   ========================================================= */
.site-hero {
  position: relative;
  min-height: 88vh;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(202,13,137,0.18) 0%, transparent 60%),
              linear-gradient(to right, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.10) 100%);
  z-index: 1;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(202,13,137,0.90);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  display: block;
}
.hero__title {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero__title em {
  font-style: italic;
  color: var(--primary-light);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.80);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.50);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__scroll-hint::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.40), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; }
}

/* Floating edition badge */
.hero__badge {
  position: absolute;
  right: 10%;
  bottom: 15%;
  z-index: 3;
  width: 120px; height: 120px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  animation: badgeSpin 20s linear infinite;
  box-shadow: var(--shadow-primary);
}
.hero__badge__year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.hero__badge__label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================================
   SECTION WRAPPER
   ========================================================= */
.section {
  padding: 90px 0;
}
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--primary { background: var(--primary); color: #fff; }

.section__header {
  margin-bottom: 60px;
}
.section__header--center { text-align: center; }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--primary);
  padding: 0;
  overflow: hidden;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

/* =========================================================
   ARTIST GRID — Material Cards
   ========================================================= */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.artist-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.artist-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.artist-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-3);
}
.artist-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.artist-card:hover .artist-card__img-wrap img { transform: scale(1.06); }
.artist-card__country {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.artist-card__prize-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-primary);
}
.artist-card__body {
  padding: 20px 20px 24px;
}
.artist-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}
.artist-card__meta {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.artist-card__meta::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--primary);
  display: inline-block;
  border-radius: 2px;
}
.artist-card__excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-mid);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.artist-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.artist-card__edition {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.artist-card__link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color var(--transition);
}
.artist-card__link:hover { color: var(--primary); }
.artist-card__link svg { width: 14px; height: 14px; }

/* =========================================================
   PRIZES SECTION
   ========================================================= */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.prize-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.prize-card::after {
  content: '"';
  position: absolute;
  bottom: -20px; right: 16px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.prize-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.prize-card__icon {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.prize-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.prize-card__desc {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.prize-card__winner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.prize-card__winner-thumb {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  flex-shrink: 0;
}
.prize-card__winner-info {}
.prize-card__winner-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  font-weight: 600;
  display: block;
}
.prize-card__winner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   EDITIONS / TIMELINE
   ========================================================= */
.editions-timeline {
  position: relative;
  padding-left: 48px;
}
.editions-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.edition-item {
  position: relative;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.edition-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.edition-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--primary);
}
.edition-item__year {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.edition-item__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.edition-item__desc {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 600px;
}
.edition-item__gallery {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.edition-item__gallery img {
  width: 100px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* =========================================================
   NEWS / BLOG CARDS
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card__img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  background: var(--surface-3);
}
.news-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}
.news-card__title a { color: inherit; }
.news-card__title a:hover { color: var(--primary); }
.news-card__excerpt {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-light);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* =========================================================
   FEATURED ARTIST STRIP
   ========================================================= */
.featured-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}
.featured-strip__image {
  position: relative;
  overflow: hidden;
}
.featured-strip__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-strip:hover .featured-strip__image img { transform: scale(1.04); }
.featured-strip__content {
  background: var(--ink);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-strip__content .section-label { color: var(--primary-light); }
.featured-strip__content .section-label::before { background: var(--primary-light); }
.featured-strip__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.featured-strip__excerpt {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.featured-strip__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.featured-strip__tag {
  background: rgba(202,13,137,0.20);
  border: 1px solid rgba(202,13,137,0.40);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* =========================================================
   GALLERY LIGHTBOX GRID
   ========================================================= */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-masonry__item img {
  width: 100%;
  transition: transform 0.4s ease;
}
.gallery-masonry__item:hover img { transform: scale(1.04); }
.gallery-masonry__item::after {
  content: '⊕';
  position: absolute;
  inset: 0;
  background: rgba(202,13,137,0.70);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-masonry__item:hover::after { opacity: 1; }

/* =========================================================
   SIDEBAR WIDGETS (for archive/single pages)
   ========================================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.widget__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.widget ul { display: flex; flex-direction: column; gap: 4px; }
.widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-mid);
  transition: all var(--transition);
}
.widget ul li a:hover { color: var(--primary); background: var(--accent-soft); }

/* =========================================================
   SINGLE ARTIST PAGE
   ========================================================= */
.single-artist__hero {
  background: var(--ink);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.single-artist__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(202,13,137,0.15) 0%, transparent 70%);
}
.single-artist__portrait-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
}
.single-artist__portrait {
  width: 280px; height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
}
.single-artist__info { padding-bottom: 40px; }
.single-artist__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  margin-bottom: 8px;
}
.single-artist__bio-short {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 0 24px;
}
.pagination a,
.pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--accent-soft); color: var(--primary); }
.pagination .current {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: #0e0e0e;
  color: rgba(255,255,255,0.65);
}
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {}
.footer__brand .site-logo__name { color: #fff; }
.footer__brand .site-logo__tagline { color: rgba(255,255,255,0.40); }
.footer__brand p {
  color: rgba(255,255,255,0.50);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--primary-light); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.30);
  gap: 24px;
  flex-wrap: wrap;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.50);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer__social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   SINGLE POST LAYOUT (news / editorial)
   ========================================================= */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.single-post__content {}
.single-post__sidebar {}

/* Entry content typography */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-mid);
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.25rem 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
}
.entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* Tags */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.entry-tags a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition);
}
.entry-tags a:hover { background: var(--primary); color: #fff; }

/* Post nav */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.post-nav__next { margin-left: auto; text-align: right; }

/* Responsive: sidebar goes below content on tablet/mobile */
@media (max-width: 960px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .single-post__sidebar {
    border-top: 1px solid var(--border);
    padding-top: 40px;
  }
}

/* =========================================================
   COOKIE NOTICE
   ========================================================= */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e1e1e;
  color: rgba(255,255,255,0.80);
  z-index: 9999;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.30);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar a { color: var(--primary-light); }
.cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .featured-strip { grid-template-columns: 1fr; min-height: auto; }
  .featured-strip__content { padding: 48px 40px; }
  .gallery-masonry { columns: 2; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  #site-topbar { display: none; }
  #site-header { top: 0; }
  .artist-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .prizes-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .section { padding: 60px 0; }
  .hero__badge { display: none; }
  .single-post-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .artist-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .section__header { margin-bottom: 36px; }
  .featured-strip__content { padding: 36px 24px; }
}

/* =========================================================
   WORDPRESS-SPECIFIC UTILITIES
   ========================================================= */
.aligncenter { display: block; margin: 0 auto; }
.alignleft    { float: left; margin: 0 24px 24px 0; }
.alignright   { float: right; margin: 0 0 24px 24px; }
.wp-caption   { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px; margin: 12px; border: 1px solid var(--border); }
.wp-caption p { font-size: 0.8rem; color: var(--ink-light); margin: 6px 0 0; text-align: center; }
.sticky {}
.bypostauthor {}
.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;
}

/* =========================================================
   MATERIAL RIPPLE EFFECT
   ========================================================= */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.ripple:active::after {
  opacity: 1;
  transform: scale(2.5);
  transition: 0s;
}
