/*
Theme Name: Qingyuan Artists Association
Theme URI: https://example.com/qingyuan-artists-association
Author: MUSEDOOR
Author URI: https://example.com
Description: 清远市美术家协会官方主题。以艺术、展览、艺术家与数字档案为核心，支持多语言站点独立绑定动态页眉、页脚和 WordPress 菜单。
Version: 1.4.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: qyaa
Tags: art, portfolio, block-styles, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --qyaa-paper: #f4f1ea;
  --qyaa-ink: #1b1b1a;
  --qyaa-river: #5b7771;
  --qyaa-vermilion: #a34236;
  --qyaa-mist: #e7e3db;
  --qyaa-white: #fff;
  --qyaa-line: rgba(27, 27, 26, 0.18);
  --qyaa-muted: #696963;
  --qyaa-content: min(1440px, calc(100vw - 64px));
  --qyaa-reading: 780px;
  --qyaa-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --qyaa-sans: Inter, "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --qyaa-ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--qyaa-ink);
  background: var(--qyaa-paper);
  font-family: var(--qyaa-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.qyaa-menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--qyaa-vermilion); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--qyaa-ink);
  background: var(--qyaa-white);
}

.qyaa-shell { width: var(--qyaa-content); margin-inline: auto; }
.qyaa-reading { width: min(var(--qyaa-reading), calc(100vw - 40px)); margin-inline: auto; }
.qyaa-main { min-height: 60vh; }

.qyaa-kicker,
.qyaa-eyebrow {
  margin: 0 0 12px;
  color: var(--qyaa-river);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.qyaa-display,
.qyaa-section-title,
.qyaa-entry-title {
  margin: 0;
  font-family: var(--qyaa-serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.qyaa-display { font-size: clamp(3rem, 8vw, 8.5rem); }
.qyaa-section-title { font-size: clamp(2rem, 4vw, 4.8rem); }
.qyaa-entry-title { font-size: clamp(2.4rem, 6vw, 6.8rem); }

.qyaa-section { padding: clamp(72px, 10vw, 150px) 0; border-top: 1px solid var(--qyaa-line); }
.qyaa-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(36px, 6vw, 84px);
}
.qyaa-section-index {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .72rem;
  letter-spacing: .08em;
}
.qyaa-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.qyaa-more::after { content: "↗"; font-size: 1rem; }

/* Dynamic header template */
.qyaa-site-header { position: relative; z-index: 50; }
.qyaa-association-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px max(20px, calc((100vw - min(1440px, calc(100vw - 64px))) / 2));
  color: var(--qyaa-paper);
  background: var(--qyaa-ink);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.qyaa-association-bar a { text-decoration: none; }
.qyaa-header-canvas {
  width: var(--qyaa-content);
  margin-inline: auto;
  padding: 24px 0 18px;
}
.qyaa-header-line {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.qyaa-header-actions { display: flex; align-items: center; gap: 18px; }
.qyaa-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.qyaa-brand img { width: auto; max-height: 54px; }
.qyaa-brand-text { display: grid; gap: 1px; }
.qyaa-brand-cn { font-family: var(--qyaa-serif); font-size: 1.08rem; font-weight: 600; letter-spacing: .06em; }
.qyaa-brand-en { font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.qyaa-primary-nav { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--qyaa-line); }
.qyaa-mobile-nav-tools { display: none; }
.qyaa-menu { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 0; list-style: none; }
.qyaa-menu > li { position: relative; }
.qyaa-menu a { display: block; font-size: .76rem; font-weight: 650; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.qyaa-menu .current-menu-item > a,
.qyaa-menu .current_page_item > a { color: var(--qyaa-vermilion); }
.qyaa-menu .sub-menu { position: absolute; z-index: 10; top: calc(100% + 14px); left: -18px; display: none; min-width: 220px; margin: 0; padding: 12px 0; list-style: none; background: var(--qyaa-paper); border: 1px solid var(--qyaa-line); box-shadow: 0 15px 35px rgba(27,27,26,.12); }
.qyaa-menu .sub-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 15px; }
.qyaa-menu .sub-menu a { padding: 8px 18px; text-transform: none; }
.qyaa-menu li:hover > .sub-menu, .qyaa-menu li:focus-within > .sub-menu { display: block; }
.qyaa-language-switcher { display: inline-flex; align-items: center; gap: 8px; }
.qyaa-language-switcher a { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.qyaa-language-switcher .is-active { color: var(--qyaa-vermilion); }
.qyaa-language-switcher a + a::before { content: "/"; margin-right: 8px; color: var(--qyaa-muted); }
.qyaa-icon-button {
  display: inline-grid;
  width: 36px; height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--qyaa-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color .25s var(--qyaa-ease), border-color .25s var(--qyaa-ease), transform .25s var(--qyaa-ease);
}
.qyaa-icon-button:hover { color: var(--qyaa-vermilion); border-color: currentColor; transform: rotate(-8deg); }
.qyaa-menu-toggle { display: none; }

/* Hero */
.qyaa-hero { position: relative; min-height: min(86vh, 920px); overflow: hidden; background: var(--qyaa-ink); color: var(--qyaa-paper); }
.qyaa-hero-media { position: absolute; inset: 0; }
.qyaa-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,14,.78), rgba(15,15,14,.1) 70%); }
.qyaa-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.qyaa-hero-placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 76% 32%, rgba(163,66,54,.74), transparent 23%),
    radial-gradient(circle at 58% 72%, rgba(91,119,113,.8), transparent 32%),
    linear-gradient(125deg, #171716 0 44%, #242925 44% 67%, #d5cec1 67% 100%);
}
.qyaa-hero-placeholder::before,
.qyaa-hero-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(244,241,234,.35); border-radius: 50%; }
.qyaa-hero-placeholder::before { width: 46vw; height: 46vw; right: -7vw; top: -17vw; }
.qyaa-hero-placeholder::after { width: 22vw; height: 22vw; right: 22vw; bottom: -9vw; }
.qyaa-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: var(--qyaa-content);
  min-height: min(86vh, 920px);
  margin-inline: auto;
  padding: clamp(80px, 11vw, 170px) 0 56px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.qyaa-hero .qyaa-kicker { color: rgba(244,241,234,.72); }
.qyaa-hero-title { max-width: 1050px; }
.qyaa-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 34px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.qyaa-hero-link { display: inline-flex; align-items: center; gap: 32px; padding: 14px 20px; border: 1px solid rgba(244,241,234,.65); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.qyaa-hero-link::after { content: "→"; font-size: 1.2rem; }
.qyaa-hero-link:hover { color: var(--qyaa-ink); background: var(--qyaa-paper); }

/* Content grids */
.qyaa-grid { display: grid; gap: clamp(32px, 4vw, 64px); }
.qyaa-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qyaa-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qyaa-card { min-width: 0; }
.qyaa-card a { text-decoration: none; }
.qyaa-card-media { position: relative; overflow: hidden; background: var(--qyaa-mist); }
.qyaa-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--qyaa-ease); }
.qyaa-card:hover .qyaa-card-media img { transform: scale(1.025); }
.qyaa-artwork-card .qyaa-card-media { aspect-ratio: auto; background: transparent; }
.qyaa-artwork-card .qyaa-card-media img { width: 100%; height: auto; object-fit: contain; }
.qyaa-artwork-card .qyaa-card-media .qyaa-placeholder { min-height: 360px; }
.qyaa-card-body { margin-top: 28px; padding: 0 4px 8px; }
.qyaa-card-title { margin: 0 0 8px; font-family: var(--qyaa-serif); font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 500; line-height: 1.22; }
.qyaa-card-meta { color: var(--qyaa-muted); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.qyaa-card-excerpt { max-width: 44ch; margin: 14px 0 0; color: var(--qyaa-muted); font-size: .9rem; }
.qyaa-ratio--landscape { aspect-ratio: 4 / 3; }
.qyaa-ratio--portrait { aspect-ratio: 4 / 5; }
.qyaa-ratio--wide { aspect-ratio: 16 / 9; }
.qyaa-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; color: rgba(27,27,26,.48); background: linear-gradient(145deg, var(--qyaa-mist), #d4d0c8); font-family: var(--qyaa-serif); font-size: 1.1rem; }

.qyaa-whats-on { grid-template-columns: 1.7fr 1fr; }
.qyaa-whats-on .qyaa-card:first-child { grid-row: span 2; }
.qyaa-whats-on .qyaa-card:first-child .qyaa-card-media { aspect-ratio: 16 / 11; }
.qyaa-whats-on .qyaa-card:not(:first-child) { display: grid; grid-template-columns: .92fr 1.08fr; gap: 20px; border-top: 1px solid var(--qyaa-line); padding-top: 20px; }
.qyaa-whats-on .qyaa-card:not(:first-child) .qyaa-card-body { padding-top: 0; }

.qyaa-art-wall { display: grid; grid-template-columns: 1.35fr .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.qyaa-art-wall .qyaa-card:nth-child(2) { margin-top: 18%; }
.qyaa-art-wall .qyaa-card:nth-child(3) { margin-top: 5%; }
.qyaa-art-wall .qyaa-card:nth-child(4) { grid-column: 1 / 2; width: 72%; margin-left: 18%; }
.qyaa-art-wall .qyaa-card:nth-child(5) { grid-column: 2 / 4; width: 63%; margin-left: 12%; }

.qyaa-artist-card .qyaa-card-media { aspect-ratio: 3 / 4; filter: saturate(.88); }
.qyaa-artist-card:nth-child(even) { margin-top: 72px; }

.qyaa-committee-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.qyaa-committee-card { position: relative; grid-column: span 5; min-height: 330px; padding: 32px; overflow: hidden; color: var(--qyaa-paper); background: var(--qyaa-ink); }
.qyaa-committee-card:nth-child(2), .qyaa-committee-card:nth-child(3) { grid-column: span 7; }
.qyaa-committee-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; bottom: -120px; border: 1px solid rgba(244,241,234,.28); border-radius: 50%; transition: transform .65s var(--qyaa-ease); }
.qyaa-committee-card:nth-child(2n) { color: var(--qyaa-ink); background: var(--qyaa-mist); }
.qyaa-committee-card:nth-child(3n) { background: var(--qyaa-river); }
.qyaa-committee-card:hover::before { transform: translate(-24px,-18px) scale(1.2); }
.qyaa-committee-card a { position: absolute; inset: 0; z-index: 2; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.qyaa-committee-title { max-width: 13ch; margin: 0; font-family: var(--qyaa-serif); font-size: clamp(1.8rem, 3vw, 3.4rem); font-weight: 500; line-height: 1.08; }

.qyaa-feature { color: var(--qyaa-paper); background: var(--qyaa-river); }
.qyaa-feature-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.qyaa-feature-media { min-height: 520px; background: var(--qyaa-ink); }
.qyaa-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.qyaa-feature-copy .qyaa-kicker { color: rgba(244,241,234,.72); }
.qyaa-feature-copy p { max-width: 48ch; }

.qyaa-journal-list { border-top: 1px solid var(--qyaa-line); }
.qyaa-journal-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) 180px; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--qyaa-line); text-decoration: none; }
.qyaa-journal-item h3 { margin: 0; font-family: var(--qyaa-serif); font-size: clamp(1.25rem, 2.6vw, 2.6rem); font-weight: 500; line-height: 1.15; }
.qyaa-journal-item span { color: var(--qyaa-muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.qyaa-partner-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qyaa-partner { display: grid; min-height: 150px; place-items: center; padding: 30px; border: 1px solid var(--qyaa-line); text-align: center; text-decoration: none; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s, background .25s; }
.qyaa-partner:hover { color: inherit; background: rgba(255,255,255,.35); filter: none; opacity: 1; }
.qyaa-partner img { max-width: 150px; max-height: 58px; object-fit: contain; }

.qyaa-news-list { border-top: 1px solid var(--qyaa-line); }
.qyaa-news-row { display: grid; grid-template-columns: 130px minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--qyaa-line); text-decoration: none; }
.qyaa-news-row time, .qyaa-news-row span { color: var(--qyaa-muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.qyaa-news-row h3 { margin: 0; font-size: 1rem; font-weight: 500; }

/* Archives and entries */
.qyaa-archive-head { padding: clamp(90px, 12vw, 180px) 0 clamp(48px, 7vw, 100px); }
.qyaa-archive-description { max-width: 640px; margin: 28px 0 0 auto; color: var(--qyaa-muted); font-size: 1.05rem; }
.qyaa-filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 50px; padding: 18px 0; border-top: 1px solid var(--qyaa-line); border-bottom: 1px solid var(--qyaa-line); }
.qyaa-filter-chip { padding: 7px 13px; border: 1px solid var(--qyaa-line); border-radius: 999px; font-size: .72rem; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.qyaa-filter-chip.is-active, .qyaa-filter-chip:hover { color: var(--qyaa-paper); background: var(--qyaa-ink); border-color: var(--qyaa-ink); }
.qyaa-entry-hero { padding: clamp(80px, 10vw, 150px) 0 60px; border-bottom: 1px solid var(--qyaa-line); }
.qyaa-entry-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; color: var(--qyaa-muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.qyaa-entry-image { width: var(--qyaa-content); margin: 48px auto 0; }
.qyaa-entry-image img { width: 100%; max-height: 84vh; object-fit: contain; }
.qyaa-entry-content { padding: 72px 0 120px; }
.qyaa-entry-content > * { max-width: var(--qyaa-reading); margin-left: auto; margin-right: auto; }
.qyaa-entry-content > .alignwide { max-width: var(--qyaa-content); }
.qyaa-entry-content > .alignfull { max-width: none; }
.qyaa-entry-content p { margin-top: 0; margin-bottom: 1.4em; }
.qyaa-entry-content h2, .qyaa-entry-content h3 { margin-top: 2.2em; font-family: var(--qyaa-serif); font-weight: 500; line-height: 1.2; }
.qyaa-entry-content blockquote { padding-left: 28px; border-left: 2px solid var(--qyaa-vermilion); font-family: var(--qyaa-serif); font-size: 1.35rem; }
.qyaa-pagination { margin: 64px 0 100px; }
.qyaa-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.qyaa-pagination a, .qyaa-pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--qyaa-line); text-decoration: none; }
.qyaa-pagination .current { color: var(--qyaa-paper); background: var(--qyaa-ink); }

/* Search overlay */
.qyaa-search-overlay { position: fixed; z-index: 100; inset: 0; display: none; padding: 28px; color: var(--qyaa-paper); background: rgba(27,27,26,.98); }
.qyaa-search-overlay.is-open { display: block; }
.qyaa-search-inner { width: var(--qyaa-content); margin: 12vh auto 0; }
.qyaa-search-close { position: absolute; top: 28px; right: 28px; color: var(--qyaa-paper); border-color: rgba(244,241,234,.45); }
.qyaa-search-form { display: grid; grid-template-columns: 1fr auto; gap: 18px; border-bottom: 1px solid rgba(244,241,234,.52); }
.qyaa-search-form input[type="search"] { width: 100%; padding: 18px 0; color: var(--qyaa-paper); background: transparent; border: 0; outline: none; font-family: var(--qyaa-serif); font-size: clamp(2rem, 6vw, 6rem); }
.qyaa-search-form button { align-self: center; padding: 12px 20px; color: var(--qyaa-paper); background: transparent; border: 1px solid rgba(244,241,234,.45); cursor: pointer; }

/* Footer template */
.qyaa-site-footer { color: var(--qyaa-paper); background: var(--qyaa-ink); }
.qyaa-footer-canvas { width: var(--qyaa-content); margin-inline: auto; padding: clamp(72px, 10vw, 130px) 0 30px; }
.qyaa-footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 60px; }
.qyaa-footer-mark { margin: 0; font-family: var(--qyaa-serif); font-size: clamp(2.4rem, 6vw, 6.8rem); font-weight: 500; letter-spacing: -.05em; line-height: .92; }
.qyaa-footer-heading { margin: 0 0 14px; color: rgba(244,241,234,.55); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.qyaa-footer-list { margin: 0; padding: 0; list-style: none; }
.qyaa-footer-list li + li { margin-top: 8px; }
.qyaa-footer-list a { text-decoration: none; }
.qyaa-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 80px; padding-top: 22px; border-top: 1px solid rgba(244,241,234,.22); color: rgba(244,241,234,.58); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.qyaa-empty { padding: 38px; border: 1px solid var(--qyaa-line); color: var(--qyaa-muted); }
.qyaa-no-results { padding: 80px 0 140px; }

@media (max-width: 1024px) {
  :root { --qyaa-content: calc(100vw - 40px); }
  .qyaa-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qyaa-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qyaa-whats-on { grid-template-columns: 1fr 1fr; }
  .qyaa-whats-on .qyaa-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .qyaa-artist-card:nth-child(even) { margin-top: 40px; }
  .qyaa-footer-grid { grid-template-columns: 1fr 1fr; }
  .qyaa-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --qyaa-content: calc(100vw - 32px); }
  .qyaa-section { padding: 72px 0; }
  .qyaa-section-head { grid-template-columns: 1fr; align-items: start; margin-bottom: 36px; }
  .qyaa-section-head .qyaa-more { justify-self: start; }
  .qyaa-association-bar { padding-inline: 16px; }
  .qyaa-header-canvas { padding: 16px 0 14px; }
  .qyaa-header-line { grid-template-columns: 1fr auto; }
  .qyaa-brand-cn { font-size: .92rem; }
  .qyaa-brand-en { font-size: .5rem; }
  .qyaa-brand img { max-height: 42px; }
  .qyaa-header-actions .qyaa-language-switcher, .qyaa-header-actions .qyaa-search-trigger { display: none; }
  .qyaa-menu-toggle { display: inline-grid; }
  .qyaa-primary-nav {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: none;
    margin: 0;
    padding: 88px 24px 96px;
    overflow-y: auto;
    color: var(--qyaa-paper);
    background: var(--qyaa-ink);
    border: 0;
  }
  .qyaa-menu-open .qyaa-primary-nav { display: block; }
  .qyaa-menu { display: block; counter-reset: qyaa-menu; }
  .qyaa-menu li { counter-increment: qyaa-menu; border-bottom: 1px solid rgba(244,241,234,.2); }
  .qyaa-menu a { display: grid; grid-template-columns: 42px 1fr; align-items: baseline; gap: 12px; padding: 17px 0; font-family: var(--qyaa-serif); font-size: clamp(1.35rem, 7vw, 2.2rem); font-weight: 500; letter-spacing: 0; text-transform: none; }
  .qyaa-menu a::before { content: counter(qyaa-menu, decimal-leading-zero); color: rgba(244,241,234,.46); font-family: var(--qyaa-sans); font-size: .64rem; letter-spacing: .1em; }
  .qyaa-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 10px 42px; background: transparent; border: 0; box-shadow: none; }
  .qyaa-menu .sub-menu li { border: 0; }
  .qyaa-menu .sub-menu a { display: block; padding: 5px 0; color: rgba(244,241,234,.68); font-family: var(--qyaa-sans); font-size: .82rem; letter-spacing: .05em; }
  .qyaa-menu .sub-menu a::before { content: none; }
  .qyaa-menu-toggle { position: relative; z-index: 100; }
  .qyaa-mobile-nav-tools { position: fixed; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; }
  .qyaa-mobile-nav-tools .qyaa-icon-button { color: var(--qyaa-paper); border-color: rgba(244,241,234,.45); }
  .qyaa-menu-open .qyaa-menu-toggle { position: fixed; top: 16px; right: 16px; color: var(--qyaa-paper); border-color: rgba(244,241,234,.45); }
  .qyaa-hero, .qyaa-hero-content { min-height: 76vh; }
  .qyaa-hero-content { padding-bottom: 36px; }
  .qyaa-hero-media::after { background: linear-gradient(0deg, rgba(15,15,14,.82), rgba(15,15,14,.08) 75%); }
  .qyaa-grid--3, .qyaa-grid--4, .qyaa-whats-on { grid-template-columns: 1fr; }
  .qyaa-whats-on .qyaa-card:not(:first-child) { grid-template-columns: 38% 1fr; }
  .qyaa-art-wall { grid-template-columns: 1fr 1fr; }
  .qyaa-art-wall .qyaa-card:nth-child(n) { grid-column: auto; width: auto; margin: 0; }
  .qyaa-art-wall .qyaa-card:nth-child(3n) { grid-column: 1 / -1; width: 72%; margin-left: auto; }
  .qyaa-artist-card:nth-child(even) { margin-top: 0; }
  .qyaa-committee-grid { grid-template-columns: 1fr; }
  .qyaa-committee-card:nth-child(n) { grid-column: auto; min-height: 250px; }
  .qyaa-feature-layout { grid-template-columns: 1fr; }
  .qyaa-feature-media { min-height: 360px; }
  .qyaa-journal-item { grid-template-columns: 70px 1fr; }
  .qyaa-journal-item > :last-child { display: none; }
  .qyaa-partner-list { grid-template-columns: repeat(2, 1fr); }
  .qyaa-news-row { grid-template-columns: 92px 1fr; }
  .qyaa-news-row > :last-child { display: none; }
  .qyaa-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .qyaa-footer-grid > :first-child { grid-column: auto; }
  .qyaa-footer-bottom { display: grid; margin-top: 55px; }
  .qyaa-entry-content { padding: 52px 0 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
