@charset "utf-8";
/* ------------------------------------------------------------------
   2026 대전 서구 아트페스티벌 — 메인 (work.php 전용)
   그누보드 기본 CSS(default.css)와 섞이지 않도록 .af- 접두사로 격리
------------------------------------------------------------------ */

/* ---- 손글씨(가수 이름) — 그리운X한글 오충기.김 (TypeE / griun.co.kr) ----
   라이선스(griun.co.kr/license): 웹사이트 사용·서버 탑재 허용, 파일 수정 금지.
   그래서 WOFF2 변환·서브셋 없이 TTF 원본을 그대로 올린다(1.26MB).
   font-display: swap — 내려받는 동안은 --af-hand 의 다음 후보(나눔펜)로 보인다. */
@font-face {
  font-family: 'GriunXHangeul OCHUNGI.KIM';
  src: url('../img/festival/fonts/GriunXHangeul_OCHUNGI.KIM-Rg.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --af-navy: #14223d;
  --af-navy-soft: #16324f;
  --af-orange: #e37e2c;
  --af-orange-dark: #cf6c1d;
  --af-cream: #fdf6ed;
  --af-teal: #17b0a3;
  --af-green: #34a184;
  --af-line: #e8e6e1;
  --af-bp: 900px;
  /* 가수 이름 손글씨 — 메인 라인업과 서브 라인업이 같이 쓴다 */
  --af-hand: 'GriunXHangeul OCHUNGI.KIM', 'Nanum Pen Script', 'Paperlogy', sans-serif;
}

/* 기본 리셋 — 이 페이지 한정 (festival.css 는 work.php 에서만 로드된다) */
html, body { margin: 0; padding: 0; }   /* 브라우저 기본 body 여백 8px 제거 */
.af * { box-sizing: border-box; }
.af { width: 100%; color: var(--af-navy);
      /* 가로 넘침만 자른다. hidden 은 overflow-y 를 auto 로 만들어 .af 를
         스크롤 컨테이너로 만들고, 그러면 html 의 scroll-snap 이 히어로에
         닿지 않는다. clip 은 컨테이너를 만들지 않는다(미지원 구형은 hidden). */
      overflow-x: hidden; overflow-x: clip;
      font-family: 'Paperlogy', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
      -webkit-font-smoothing: antialiased; background: #fff; }
.af img { border: 0; }
.af a { color: inherit; text-decoration: none; }
.af h2, .af h3, .af p, .af ul, .af li { margin: 0; padding: 0; }
.af ul { list-style: none; }
.af input, .af select, .af textarea, .af button { font-family: inherit; }
.af-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* PC / 모바일 전환 — 표시 전환만, 이미지는 각 분기에서만 로드 */
.af-pc { display: none; }
.af-mo { display: block; }
@media (min-width: 900px) {
  .af-pc { display: block; }
  .af-mo { display: none; }
}

/* ---------------- 헤더 ---------------- */
.af-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 18px;
  background: linear-gradient(180deg, rgba(10,30,60,.35), rgba(10,30,60,0));
}
.af-header__logo img { display: block; height: 30px; width: auto; }
.af-gnb { display: none; }
.af-burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: rgba(255,255,255,.18); border-radius: 12px; cursor: pointer;
}
.af-burger img { width: 34px; height: auto; display: block; }

@media (min-width: 900px) {
  .af-header { padding: 30px 56px; gap: 40px; background: none; }
  .af-header__logo img { height: 44px; }
  .af-gnb { display: flex; align-items: center; gap: 52px; }
  .af-gnb a {
    font-size: 17px; font-weight: 700; color: var(--af-navy);
    text-shadow: 0 2px 8px rgba(255,255,255,.55); transition: color .18s;
  }
  .af-gnb a:hover { color: var(--af-orange-dark); }
  .af-burger { background: none; width: 52px; height: 52px; }
  .af-burger img { width: 52px; }

  /* ---- 서브메뉴 — 대메뉴에 올리면 펼쳐진다 ----
     목록은 PHP 쪽 메뉴 배열($af_menu / $AFS_MENU)에서 그대로 나온다. */
  .af-gnb { gap: clamp(28px, 3.4vw, 52px); }
  .af-gnb__item { position: relative; display: flex; align-items: center; }
  .af-gnb__item > a { padding: 10px 2px; white-space: nowrap; }
  .af-gnb__sub {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 156px; padding: 8px; flex-direction: column;
    border-radius: 14px; background: #fff; box-shadow: 0 16px 34px rgba(14, 60, 52, .18);
  }
  /* 시안은 hover 만이지만 focus-within 도 넣어 키보드로도 펼쳐지게 한다 */
  .af-gnb__item:hover .af-gnb__sub,
  .af-gnb__item:focus-within .af-gnb__sub { display: flex; }
  /* 흰 판 위에 놓이므로 대메뉴의 색·그림자를 지운다 */
  .af-gnb .af-gnb__sub a {
    padding: 11px 16px; border-radius: 9px;
    font-size: 15px; font-weight: 600; color: var(--af-navy);
    text-shadow: none; white-space: nowrap;
    transition: background .18s, color .18s;
  }
  .af-gnb .af-gnb__sub a:hover { background: var(--af-cream); color: var(--af-teal); }
}

/* 전체메뉴 오버레이 */
.af-menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(14,34,61,.96);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 78px 20px 40px; overflow-y: auto;
}
.af-menu.is-open { display: flex; }
.af-menu a { color: #fff; font-size: 22px; font-weight: 600; }
.af-menu a:hover { color: var(--af-orange); }

/* ---- 1차 / 2차 구분 ----
   1차(그룹)는 굵고 크게 + 청록 밑줄, 2차(하위 페이지)는 작고 흐리게. */
.af-menu__inner {
  width: 100%; max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
.af-menu__group { display: flex; flex-direction: column; gap: 14px; }
.af-menu__title {
  padding-bottom: 11px; border-bottom: 2px solid var(--af-teal);
  font-size: 20px !important; font-weight: 800 !important;
  letter-spacing: -.02em; color: #fff;
}
.af-menu__items { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.af-menu__items a {
  font-size: 16px !important; font-weight: 500 !important; color: rgba(255,255,255,.72);
}
.af-menu__items a:hover { color: var(--af-orange); }
.af-menu__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
  border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
@media (min-width: 600px) {
  .af-menu__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
}
@media (min-width: 900px) {
  /* 넓은 화면에서는 네 갈래를 나란히 세우고 세로 실선으로 가른다 */
  .af-menu__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .af-menu__group {
    padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .18);
  }
  .af-menu__group:first-child { border-left: 0; }
  .af-menu__title { font-size: 26px !important; padding-bottom: 14px; }
  .af-menu__items { flex-direction: column; gap: 12px; }
  .af-menu__items a { font-size: 18px !important; }
}

/* ---------------- 히어로 ---------------- */
.af-hero { position: relative; width: 100%; }

/* PC 히어로 — 화면 두 장.
   시안의 메인 배경은 Main-bg Fill-01(하늘)·Fill-02(아트마켓) 두 장(각 1920x960)이고,
   전에는 둘을 합친 1920x1920 한 장을 정사각 상자에 깔았다. 이제 각각을
   한 화면(100vh)씩 차지하는 섹션으로 두고, 스크롤하면 한 화면씩 넘어가게
   스크롤 스냅을 건다. 타이틀 문구는 1화면(하늘)에만 있다.
   cqw 단위는 1화면 섹션을 컨테이너로 삼아 그대로 쓴다. */
/* 두 화면 넘김은 Swiper(세로, 휠 연동)가 맡는다 — festival.js 참고.
   CSS 스크롤 스냅은 mandatory 면 휠을 잡아채고 proximity 면 안 붙어서 뺐다.
   컨테이너는 Swiper 규칙상 높이가 정해져 있어야 한다. */
.af-hero__pc { position: relative; width: 100%; height: 100vh; min-height: 620px; overflow: hidden; }
.af-hero__pc .swiper-wrapper { height: 100%; }
.af-hero__pc .swiper-slide { height: 100%; }
/* 오른쪽 세로 점 두 개 */
.af-hero__dots.swiper-pagination-vertical { right: 26px; }
.af-hero__dots .swiper-pagination-bullet {
  width: 10px; height: 10px; margin: 8px 0 !important; opacity: 1;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(20, 34, 61, .25);
  transition: background .2s, transform .2s;
}
.af-hero__dots .swiper-pagination-bullet-active { background: var(--af-orange); transform: scale(1.25); }
.af-hero__screen {
  position: relative; width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
.af-hero__screen--sky {
  background-image: url('../img/festival/main-sky.jpg');
  background-position: center top; container-type: size;   /* cqw 와 cqh 둘 다 쓴다 */
}
.af-hero__screen--market {
  background-image: url('../img/festival/main-market.jpg');
  background-position: center bottom; container-type: size;
}
/* 2화면 문구 — 건물 위 하늘 부분(위쪽 1/3)에 놓고, 화면이 도착하면 떠오른다.
   1화면과 같이 밀려 올라오는 게 아니라 2화면의 내용으로 보이게. */
/* 아래쪽 공통 규칙(.af-hero__pc .af-hero__inner / .af-hero__group)보다
   특이도를 높여야 먹는다 — 같은 특이도면 뒤에 오는 공통 규칙이 이긴다 */
.af-hero__pc .af-hero__screen--market .af-hero__inner { top: min(9.5cqw, 15cqh); }
.af-hero__pc .af-hero__screen--market .af-hero__copy {
  text-shadow: 0 1px 12px rgba(255, 255, 255, .85), 0 0 2px rgba(255, 255, 255, .9);
}
.af-hero__pc .af-hero__screen--market .af-hero__group {
  margin-top: 0;
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease-out .3s, transform .7s cubic-bezier(.22, .61, .36, 1) .3s;
}
.af-hero__screen--market.swiper-slide-active .af-hero__group { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .af-hero__screen--market .af-hero__group { transition: none; opacity: 1; transform: none; }
}
/* 모바일 — 예전에는 하늘(main-bg-01)을 배경으로 깔고 아트마켓 사진
   (main-bg-02)을 그 아래 <img> 로 따로 붙였다. 두 장은 원래 이어지는 한 장면인데
   위는 cover 로 가로 37%만 보이게 확대되고 아래는 전체 폭이라 배율이 2.7배 어긋나
   경계가 뚝 잘려 보였다. PC 와 같은 합성본 한 장으로 바꿔 이음매를 없앤다.
   (모바일용으로 1080px 로 줄인 것 — 256KB, 예전 두 장 합계 327KB 보다 가볍다) */
/* 세로를 키울수록 1:1 합성본을 더 확대해 덮게 되어 가로가 잘린다.
   2/3 에서는 33% 가 잘려 양옆 나무·배너·액자벽이 통째로 날아갔다.
   3/4 로 낮춰 25% 로 줄이고, 문구는 위로 올려 부스와 겹치지 않게 한다. */
.af-hero__mo {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  background-image: url('../img/festival/main-bg-mo.jpg');
  background-size: cover; background-position: center top;
  container-type: inline-size;
}

.af-hero__mark { position: absolute; display: block; height: auto; }
.af-hero__pc .af-hero__mark { top: min(11.2cqw, 17.92cqh); left: 71.5cqw; width: min(6cqw, 9.6cqh); }
.af-hero__mo .af-hero__mark { top: 16cqw; right: 6cqw; width: 15cqw; }

.af-hero__inner {
  position: absolute; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center;
}
.af-hero__pc .af-hero__inner { top: min(13cqw, 20.8cqh); gap: min(2.6cqw, 4.16cqh); }
.af-hero__mo .af-hero__inner { top: 12cqw; gap: 4.5cqw; padding: 0 8cqw; }

.af-hero__title, .af-hero__date, .af-hero__slogan { display: block; height: auto; }
.af-hero__pc .af-hero__title { width: min(36cqw, 57.6cqh); filter: drop-shadow(0 min(.4cqw, 0.64cqh) min(1.2cqw, 1.92cqh) rgba(0,60,110,.18)); }
.af-hero__pc .af-hero__date { width: min(21cqw, 33.6cqh); }
.af-hero__pc .af-hero__slogan { width: min(28cqw, 44.8cqh); }
.af-hero__mo .af-hero__title { width: 66cqw; filter: drop-shadow(0 1cqw 3cqw rgba(0,60,110,.18)); }
.af-hero__mo .af-hero__date { width: 52cqw; }
.af-hero__mo .af-hero__slogan { width: 62cqw; filter: drop-shadow(0 .6cqw 2cqw rgba(0, 40, 70, .35)); }

.af-hero__copy { color: var(--af-navy-soft); font-weight: 500; text-align: center; letter-spacing: -.01em; }
.af-hero__copy strong { font-weight: 800; }
.af-hero__pc .af-hero__copy { font-size: min(1.35cqw, 2.16cqh); }
.af-hero__mo .af-hero__copy { font-size: 3.4cqw; margin-top: 3cqw; }

.af-hero__group { display: flex; flex-direction: column; align-items: center; }
.af-hero__pc .af-hero__group { gap: min(1.1cqw, 1.76cqh); margin-top: min(4cqw, 6.4cqh); }

.af-cta {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--af-orange); color: #fff; font-weight: 700;
  transition: background .18s, transform .18s;
}
.af-cta:hover { background: var(--af-orange-dark); color: #fff; transform: translateY(-2px); }
.af-hero__pc .af-cta {
  width: 17.5cqw; height: 3.6cqw; font-size: 1.25cqw; margin-top: .8cqw;
  box-shadow: 0 .5cqw 1.4cqw rgba(160,84,10,.35);
}
.af-hero__mo .af-cta {
  width: 46cqw; height: 11cqw; font-size: 3.6cqw;
  box-shadow: 0 1cqw 3cqw rgba(160,84,10,.35);
}

/* ---------------- 라인업 ---------------- */
.af-lineup {
  position: relative; width: 100%; overflow: hidden;
  padding: clamp(48px, 6vw, 92px) 0 clamp(36px, 3.4vw, 56px);
  background-color: var(--af-cream);
  background-image: url('../img/festival/lineup-bg.jpg');
  background-size: cover; background-position: center;
}
.af-lineup__title {
  margin: 0 0 clamp(34px, 4vw, 62px); text-align: center;
  font-size: clamp(30px, 3.6vw, 54px); font-weight: 800; letter-spacing: -.02em;
}
/* 무대 = 넘침을 잘라내는 뷰포트 + 가로로 미끄러지는 트랙.
   LP 디스크가 얼굴 아래위로 15% 튀어나오므로 뷰포트에 그만큼 안쪽 여백을 준다. */
.af-lineup__stage-wrap { position: relative; }
.af-lineup__viewport {
  overflow: hidden;
  padding: clamp(10px, 1.4vw, 24px) clamp(46px, 6vw, 100px) clamp(24px, 3.6vw, 60px);
}
.af-lineup__track {
  display: flex; width: 100%; will-change: transform;
}
.af-lineup__track.is-sliding {
  /* 양 끝 속도가 0인 곡선(easeInOutSine) — 튀어나가지 않고 스르르 멈춘다 */
  transition: transform var(--af-step, 1500ms) var(--af-ease, cubic-bezier(.37, 0, .63, 1));
}
.af-nav {
  /* 무대 한가운데(50%)는 이름줄 때문에 원보다 위다. JS 가 원의 중심을 넣어준다 */
  position: absolute; top: var(--af-nav-top, 50%); transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(20,60,50,.14);
  color: var(--af-navy); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .18s;
}
.af-nav:hover { background: #fff; }
/* 눌림 — 살짝 눌리며 청록으로 채워졌다 돌아온다. :active 만으로는 터치에서
   너무 짧아 JS 가 .is-pressed 를 220ms 동안 붙여준다 */
.af-nav { transition: background .18s, color .18s, transform .12s; }
.af-nav:active, .af-nav.is-pressed {
  transform: translateY(-50%) scale(.88);
  background: var(--af-teal); color: #fff;
  box-shadow: 0 3px 10px rgba(20, 60, 50, .2);
}
.af-nav--prev { left: clamp(6px, 1.5vw, 28px); }
.af-nav--next { right: clamp(6px, 1.5vw, 28px); }

.af-artist {
  flex: 0 0 calc(100% / var(--af-per, 5)); min-width: 0;
  padding: 0 clamp(7px, 1.7vw, 31px);
  display: flex; flex-direction: column; align-items: center;
  /* 이름–사진 간격. 이름을 사진 쪽으로 내리려고 간격을 줄인 만큼
     이름 위 여백(.af-artist__name margin-top)을 늘렸다 — 합은 그대로라
     사진과 렌즈 위치는 안 움직인다. */
  gap: clamp(22px, 3.5vw, 58px);
}
.af-artist__name {
  font-family: var(--af-hand);
  font-size: clamp(18px, calc(2vw - 2px), 28px); color: var(--af-navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
/* .af p { margin:0 } 리셋보다 특이도가 높아야 먹는다 */
.af .af-artist__name { margin-top: clamp(8px, .9vw, 14px); }
.af-artist__face { position: relative; width: 100%; aspect-ratio: 1 / 1; }
/* 원본이 이미 원형 누끼 PNG이므로 drop-shadow(알파 추종)를 쓴다 */
.af-artist__face > img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 10px 22px rgba(20,60,50,.18));
}
/* ---- 렌즈: 무대 가운데 고정. 사진만 이 안을 통과한다 ---- */
.af-lens {
  position: absolute; z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity .25s ease;     /* 위치를 잡기 전에는 감춘다 */
}
.af-lens.is-ready { opacity: 1; }
/* 쌓이는 순서: 디스크(1) < 사진 창(2) < 톤암(3) */
.af-lens__disc {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block; z-index: 1;
}
/* 사진 창 — lp-disc.png(442x476) 의 원을 알파값으로 직접 재서 맞췄다.
     디스크 원   : 중심 (220, 219) 지름 437  →  렌즈 기준 중심 (49.79%, 46.01%)
     검은 비닐   : 지름 81.72%  (은색 테 24px 제외)
     사진        : 76.92% = 렌즈의 1/1.3 = 바깥 얼굴과 똑같은 크기(원사이즈)
   → 레코드 테두리가 사방으로 고르게 2.4%(PC 약 6px)만 남는다. */
.af-lens__window {
  position: absolute;
  left: 11.33%; top: 7.55%; width: 76.92%; height: 76.92%;
  border-radius: 50%; overflow: hidden; z-index: 2;
}
/* 렌즈 안의 칸은 바깥 칸과 '같은 폭'(--af-cell = 바깥 한 칸 폭)이어야
   같은 거리를 같은 시간에 움직인다. 창보다 넓지만 창이 잘라내므로 보이지 않는다.
   사진 크기는 창에 꽉 차는 지금 그대로다(height:100%). */
.af-lens__track { display: flex; height: 100%; will-change: transform; }
.af-lens__track.is-sliding {
  transition: transform var(--af-step, 1500ms) var(--af-ease, cubic-bezier(.37, 0, .63, 1));
}
.af-lens__cell {
  flex: 0 0 var(--af-cell, 100%); height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.af-lens__cell img {
  height: 100%; width: auto; max-width: none; display: block; object-fit: contain;
}
/* 톤암 — 시안(★A-Main_1_최종.png)에서 디스크·톤암 상자를 직접 재서 맞췄다.
     디스크 상자 : (738, 2290) 442x476      톤암 상자 : (861, 2640) 306x136
   렌즈는 정사각(얼굴 x1.3)이고 디스크는 contain 으로 세로에 맞춰 들어가므로
   위 좌표를 476 로 나눈 뒤 가로만 (1 - 442/476)/2 = 3.57% 만큼 밀어 준다.
   → 바늘머리가 레코드 면 위로 올라타고, 받침만 오른쪽 아래로 살짝 빠진다. */
.af-lens__key {
  position: absolute; right: 6.3%; bottom: -2.1%; width: 64.29%; height: auto;
  display: block; z-index: 3;
}

/* ---------------- 공지 · 갤러리 ---------------- */
.af-archive { width: 100%; padding: clamp(50px, 6vw, 96px) clamp(20px, 5vw, 120px); background: #fff; }
.af-archive__row {
  display: flex; flex-wrap: wrap; gap: clamp(34px, 4vw, 64px);
  max-width: 1240px; margin: 0 auto;
}
.af-col { flex: 1 1 400px; min-width: min(300px, 100%); }
.af-col__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 2px solid var(--af-navy);
}
.af-col__head h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.af-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
}
.af-more img { width: 22px; height: auto; }
.af-more:hover { color: var(--af-orange-dark); }

.af-notice li { border-bottom: 1px solid var(--af-line); }
.af-notice a { display: flex; flex-direction: column; gap: 8px; padding: 22px 4px; transition: background .18s; }
.af-notice a:hover { background: var(--af-cream); }
.af-notice__date { font-size: 13px; font-weight: 700; color: var(--af-green); letter-spacing: .02em; }
.af-notice__title { font-size: clamp(15px, 1.25vw, 18px); font-weight: 600; text-wrap: pretty; }
.af-notice__empty { padding: 40px 4px; color: #8a8f99; font-size: 15px; }

.af-gallery { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.af-gallery__cell {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--af-cream); border-radius: 4px;
}
.af-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.af-gallery__cell a:hover img { transform: scale(1.05); }
.af-gallery__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #b3b7bd; font-size: 13px; border: 1px dashed #dcd8d1; border-radius: 4px;
}

/* ---------------- 주관 · 주최 · 후원 ----------------
   로고를 한 장씩 자른 개별 파일(전부 높이 44px)을 쓴다.
   예전엔 가로로 긴 띠 이미지를 폭에 맞췄는데, 띠마다 원본 가로가 달라
   로고가 제각각 확대·축소됐다(주최 0.69배 / 후원 1.20배). 이제 높이 하나로
   모두 같은 배율이 되고, 좁은 화면에서는 줄바꿈으로 자연스럽게 접힌다. */
.af-org { width: 100%; padding: clamp(40px, 4.5vw, 70px) clamp(20px, 5vw, 120px); background: var(--af-cream); }
.af-org__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px); }
.af-org__row { display: flex; align-items: flex-start; gap: clamp(16px, 2.5vw, 40px); }
.af-org__label { flex: 0 0 auto; padding-top: 3px; font-size: 15px; font-weight: 700; }
.af-org__logos {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(14px, 2vw, 34px);
}
.af-org__logos img {
  height: 24px; width: auto; max-width: 100%; display: block; object-fit: contain;
}

@media (max-width: 899px) {
  .af-org__row { gap: 10px; }
  .af-org__logos { gap: 12px 18px; }
  .af-org__logos img { height: 21px; }
}

/* ---------------- 푸터 ---------------- */
.af-footer {
  position: relative; width: 100%; color: #fff;
  padding: clamp(36px, 4vw, 62px) clamp(20px, 5vw, 120px) clamp(20px, 2vw, 30px);
  background-color: var(--af-teal);
  background-image: url('../img/festival/footer-bg.jpg');
  background-size: cover; background-position: center;
}
.af-footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 72px);
}
.af-footer__logo img { display: block; height: clamp(34px, 3.2vw, 46px); width: auto; }
.af-footer__info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; font-size: clamp(14px, 1.15vw, 16px); }
.af-footer__info strong { font-weight: 700; }
.af-top { position: relative; flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; }
.af-top__bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.af-top__arrow { position: relative; width: 20px; height: auto; display: block; }
.af-footer__copy {
  max-width: 1240px; margin: clamp(26px, 3vw, 44px) auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.35); text-align: center; font-size: 13px; opacity: .92;
}

/* 작업중 배지 (오픈 시 work.php 상단 블록과 함께 제거) */
.af-wip {
  position: fixed; left: 12px; bottom: 12px; z-index: 200;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(20,34,61,.86); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .af * { transition: none !important; }
  .af-lineup__track.is-sliding { transition: none !important; }
}
