/* ======================================================
   ARTSISON 아트시선 · アート視線 – Whitney-Inspired Dark Theme
   Design language: Bold dark, neon accents, sans-serif
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Oswald:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ---------- JA overrides ---------- */
html[lang="ja"] body,
html[lang="ja"] .picks-title,
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 {
  font-family: 'Noto Sans JP', 'Noto Sans KR', -apple-system, sans-serif;
}
html[lang="ja"] .nav-logo,
html[lang="ja"] .footer-brand {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #eee;
  background: #000;
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #CCFF00; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: #CCFF00;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(204,255,0,.5);
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, border-color .25s;
}

/* ---------- Gradient dividers ---------- */
.gradient-divider {
  height: 3px;
  background: linear-gradient(90deg, #CCFF00, #87CEEB, #FF9500, #FF9900, #AA66FF, #00FF88);
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
  border: none;
  margin: 40px 0;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Selection ---------- */
::selection { background: #CCFF00; color: #000; }

/* ---------- Nav Bar (matches main page) ---------- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 3px;
  color: #CCFF00 !important;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: #CCFF00; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #CCFF00;
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #CCFF00; }
.nav-links a.active::after { width: 100%; }
.nav-admin {
  font-size: 11px !important;
  padding: 4px 12px;
  border: 1px solid #555;
  border-radius: 20px;
  color: #888 !important;
  transition: all 0.3s;
}
.nav-admin:hover {
  border-color: #CCFF00 !important;
  color: #CCFF00 !important;
}
.nav-admin::after { display: none !important; }
.nav-lang {
  font-size: 11px !important;
  padding: 5px 14px;
  border: 1.5px solid;
  border-radius: 20px;
  color: #fff !important;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.nav-lang::after { display: none !important; }
.nav-lang-ja {
  border-color: #E60012 !important;
  background: linear-gradient(135deg, rgba(230,0,18,0.18), rgba(188,0,45,0.08)) !important;
}
.nav-lang-ja:hover {
  border-color: #FF4444 !important;
  background: linear-gradient(135deg, rgba(230,0,18,0.35), rgba(188,0,45,0.18)) !important;
  color: #FF6666 !important;
}
.nav-lang-kr {
  border-color: #0047A0 !important;
  background: linear-gradient(135deg, rgba(0,71,160,0.18), rgba(0,51,120,0.08)) !important;
}
.nav-lang-kr:hover {
  border-color: #3388FF !important;
  background: linear-gradient(135deg, rgba(0,71,160,0.35), rgba(0,51,120,0.18)) !important;
  color: #66AAFF !important;
}

/* Space for fixed nav bar */
#site-header + *,
#site-header ~ .container:first-of-type,
#site-header ~ .container-narrow:first-of-type,
#site-header ~ section:first-of-type,
#site-header ~ .page-hero {
  margin-top: 64px;
}

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 28px 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 40px 24px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.breadcrumbs a { color: rgba(255,255,255,.4); }
.breadcrumbs a:hover { color: #CCFF00; }
.breadcrumbs .sep { margin: 0 8px; color: rgba(255,255,255,.15); }

/* ---------- Category label ---------- */
.category {
  font-size: 10px;
  letter-spacing: 2px;
  color: #CCFF00;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.byline { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: 0.3px; }

/* ---------- Section title ---------- */
.section-title {
  border-top: 2px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 10px 0;
  margin: 40px 0 24px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.section-title .more { font-size: 11px; color: #CCFF00; letter-spacing: 1px; }
.section-title h2.serif {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Editor's Picks style title */
.picks-title {
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin: 40px 0 22px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.picks-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, #CCFF00, #87CEEB, #FF9500);
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

/* ---------- Hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  margin-bottom: 10px;
}
.hero-main .img-wrap {
  margin-bottom: 0;
  background: #111;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.hero-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  background: #111;
  padding: 0;
  border: 1px solid rgba(255,255,255,.06);
}
.hero-main .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .hero-text { padding: 30px 28px; }
.hero-main h1 {
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin: 8px 0 14px;
  color: #fff;
}
.hero-main .deck {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 14px;
  font-weight: 300;
}
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.hero-side .side-ad { min-height: 250px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .3s, transform .3s;
  overflow: hidden;
}
.card:hover {
  border-color: #CCFF00;
  transform: translateY(-4px);
}
.card .img-wrap {
  aspect-ratio: 4/3;
  background: #1a1a1a;
  margin-bottom: 0;
  overflow: hidden;
}
.card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.card:hover .img-wrap img { transform: scale(1.04); }
.card h3 {
  font-family: 'Oswald', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  padding: 14px 16px 0;
  color: #fff;
}
.card .category { padding: 14px 16px 0; margin-bottom: 0; }
.card .byline { padding: 4px 16px 14px; }
.card .deck { padding: 0 16px; color: rgba(255,255,255,.5); font-size: 13px; }

/* List-style article row */
.article-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.article-row .img-wrap {
  aspect-ratio: 16/10;
  background: #111;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.article-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-row h3 {
  font-family: 'Oswald', 'Noto Sans KR', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  margin: 6px 0 8px;
  color: #fff;
}
.article-row .deck {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 8px;
  font-weight: 300;
}

/* ---------- Ad Slots ---------- */
.ad-slot {
  background: #111;
  border: 1px dashed rgba(255,255,255,.15);
  color: rgba(255,255,255,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 20px;
  position: relative;
}
.ad-slot::before {
  content: 'ADVERTISEMENT';
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255,255,255,.15);
  letter-spacing: 2px;
}
.ad-slot .ad-size { font-size: 10px; color: rgba(255,255,255,.15); margin-top: 4px; font-weight: 400; }
.ad-leaderboard { min-height: 90px; max-width: 970px; margin: 20px auto; }
.ad-leaderboard.tall { min-height: 250px; }
.ad-rectangle { min-height: 250px; max-width: 300px; margin: 0 auto; }
.ad-half-page { min-height: 600px; max-width: 300px; margin: 0 auto; }
.ad-in-article { min-height: 280px; max-width: 580px; margin: 30px auto; }
.ad-native { border: 1px solid rgba(255,255,255,.1); background: #0a0a0a; }
.ad-native::before { content: 'SPONSORED · 스폰서드'; color: #CCFF00; }
.ad-sticky {
  position: fixed; bottom: 0; left: 0; right: 0;
  min-height: 90px; z-index: 999;
  background: #111;
  border-top: 2px solid #CCFF00;
}
.ad-sticky .close {
  position: absolute; top: 6px; right: 10px;
  cursor: pointer; font-size: 14px;
  background: transparent; border: none; color: #888;
}

/* ---------- Newsletter box ---------- */
.newsletter-box {
  background: #111;
  padding: 30px;
  text-align: center;
  border-top: 3px solid;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #CCFF00, #87CEEB, #FF9500) 1;
  margin: 40px 0;
}
.newsletter-box .nl-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
}
.newsletter-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 14px 0 4px;
  color: #fff;
  letter-spacing: 1px;
}
.newsletter-box p { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.newsletter-box form {
  display: flex; gap: 0;
  justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.newsletter-box input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  font-size: 14px;
  font-family: inherit;
  background: #000;
  color: #fff;
}
.newsletter-box input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-box button {
  padding: 12px 22px;
  background: #CCFF00;
  color: #000;
  border: 1px solid #CCFF00;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
  transition: background .2s;
}
.newsletter-box button:hover { background: #b8e600; border-color: #b8e600; }

/* ---------- Two-col content layout ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 20px;
}
.content-layout .sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-box {
  border-top: 2px solid rgba(255,255,255,.15);
  padding-top: 14px;
}
.sidebar-box h4 {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}
.sidebar-box .most-read-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-box .most-read-item .n {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #CCFF00;
  line-height: 1;
}
.sidebar-box .most-read-item .t {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #ddd;
}

/* ---------- Footer (matches main page) ---------- */
.footer {
  border-top: 1px solid #222;
  padding: 60px 40px 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Black Han Sans', 'Oswald', sans-serif;
  font-size: 48px;
  color: #CCFF00;
  line-height: 1;
}
.footer-desc {
  font-size: 13px;
  color: #666;
  margin-top: 16px;
  line-height: 1.6;
}
.footer h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 14px;
  color: #555;
  transition: color 0.3s;
}
.footer ul li a:hover { color: #CCFF00; }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom span {
  font-size: 11px;
  color: #444;
}

/* ---------- Forms ---------- */
.form-field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
  font-family: inherit;
  background: #111;
  color: #fff;
  width: 100%;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #CCFF00;
}
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.btn-primary {
  background: #CCFF00; color: #000;
  padding: 14px 28px; border: none;
  font-weight: 700; letter-spacing: 1.5px;
  font-size: 13px; text-transform: uppercase;
  transition: background .2s;
}
.btn-primary:hover { background: #b8e600; }

.btn-secondary {
  background: transparent; color: #CCFF00;
  padding: 14px 28px; border: 1px solid #CCFF00;
  font-weight: 700; letter-spacing: 1.5px;
  font-size: 13px; text-transform: uppercase;
  transition: all .2s;
}
.btn-secondary:hover { background: #CCFF00; color: #000; }

/* ---------- Page hero (for static pages) ---------- */
.page-hero {
  background: #111;
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero h1 {
  font-family: 'Oswald', 'Black Han Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.5);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Misc ---------- */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: 14px;
  border: 1px dashed rgba(255,255,255,.1);
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.08);
  color: #ccc;
  font-size: 11px;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 6px;
}
.pill.red { background: #CCFF00; color: #000; }
hr.rule { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 30px 0; }

/* ---------- Article body (article.html specific) ---------- */
.article-body {
  color: rgba(255,255,255,.8);
  line-height: 1.85;
}
.article-body h2,
.article-body h3 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-body blockquote {
  border-left: 3px solid #CCFF00;
  padding-left: 20px;
  color: rgba(255,255,255,.6);
  font-style: italic;
  margin: 24px 0;
}
.article-body a { color: #CCFF00; }
.article-body a:hover { text-decoration: underline; }

/* ---------- Gallery / Artist / Exhibition cards ---------- */
.gallery-card,
.artist-card,
.exhibition-card {
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.gallery-card:hover,
.artist-card:hover,
.exhibition-card:hover {
  border-color: #CCFF00;
  transform: translateY(-4px);
}

/* Search page */
.search-input {
  background: #111;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 14px 18px;
  font-size: 16px;
  width: 100%;
  font-family: inherit;
  transition: border-color .2s;
}
.search-input:focus {
  outline: none;
  border-color: #CCFF00;
}
.search-input::placeholder { color: rgba(255,255,255,.3); }

/* Filter / tag buttons */
.filter-btn,
.tag-btn {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.1);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover,
.tag-btn:hover,
.filter-btn.active,
.tag-btn.active {
  background: #CCFF00;
  color: #000;
  border-color: #CCFF00;
}

/* ---------- Scroll bar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #CCFF00; }

/* ---------- Tables (for admin, data pages) ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  color: #ddd;
}
th {
  background: #111;
  color: #CCFF00;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
tr:hover td { background: rgba(204,255,0,.03); }

/* ---------- Auth pages (login, signup, account) ---------- */
.auth-container {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px;
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
}
.auth-container h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* ---------- 북마크 버튼 ---------- */
.bm-btn {
  background: #111;
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  font-family: inherit;
  color: #ccc;
  transition: all .2s;
}
.bm-btn:hover { border-color: #CCFF00; color: #CCFF00; }
.bm-btn.on { background: #CCFF00; color: #000; border-color: #CCFF00; }
.bm-btn.on:hover { background: #b8e600; }
.bm-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .grid-4, .grid-3, .content-layout {
    grid-template-columns: 1fr;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; }
  .article-row .img-wrap { aspect-ratio: 16/9; }
  .picks-title { font-size: 26px; }
  .page-hero h1 { font-size: 32px; }
  .newsletter-box form {
    flex-direction: column;
    max-width: 320px;
  }
  .newsletter-box input {
    border-right: 1px solid rgba(255,255,255,.15);
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .nav-bar { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px !important; letter-spacing: 1px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 30px; }
}

/* ==========================================================
   INLINE STYLE OVERRIDES (article.html, galleries.html etc.)
   These pages have <style> blocks with old light-theme colors.
   Using !important to ensure dark theme wins.
   ========================================================== */

/* --- Force all headings to sans-serif --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Black Han Sans', 'Noto Sans KR', sans-serif !important;
  color: #fff !important;
}

/* --- Article hero overrides --- */
.article-hero h1 {
  font-family: 'Oswald', 'Black Han Sans', 'Noto Sans KR', sans-serif !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 44px;
  line-height: 1.2;
}
.article-hero .deck {
  color: rgba(255,255,255,.6) !important;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
}
.article-hero .meta {
  color: rgba(255,255,255,.5) !important;
  border-top: 1px solid rgba(255,255,255,.1) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}
.article-hero .meta .share a {
  border: 1px solid rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.6) !important;
}
.article-hero .meta .share a:hover {
  background: #CCFF00 !important;
  color: #000 !important;
  border-color: #CCFF00 !important;
}

/* --- Article body text MUST be white --- */
.article-body {
  color: rgba(255,255,255,.9) !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
  font-family: 'Noto Sans KR', sans-serif !important;
}
.article-body p {
  color: rgba(255,255,255,.9) !important;
}
.article-body p:first-of-type::first-letter {
  font-family: 'Oswald', 'Black Han Sans', sans-serif !important;
  color: #CCFF00 !important;
}

/* --- Pull quote --- */
.pull-quote {
  font-family: 'Oswald', 'Noto Sans KR', sans-serif !important;
  color: rgba(255,255,255,.7) !important;
  border-left-color: #CCFF00 !important;
}

/* --- Lead image caption --- */
.lead-image .caption {
  color: rgba(255,255,255,.4) !important;
}

/* --- Tags section --- */
.tags {
  border-top-color: rgba(255,255,255,.08) !important;
}

/* --- Related articles inline border fix --- */
.sidebar-box a[style*="border-bottom"] {
  border-bottom-color: rgba(255,255,255,.06) !important;
}

/* --- Force all body text, paragraphs, divs to be light --- */
.container p,
.container div,
.container span,
.container-narrow p,
.container-narrow div {
  color: inherit;
}

/* --- Any remaining #eee / #ddd borders → dark --- */
[style*="border-bottom: 1px solid #eee"],
[style*="border-bottom:1px solid #eee"] {
  border-bottom-color: rgba(255,255,255,.06) !important;
}

/* --- Gallery/Artist/Exhibition page inline fixes --- */
.gallery-detail,
.artist-detail,
.exhibition-detail {
  color: rgba(255,255,255,.85);
}

/* --- Ensure Noto Serif is never used --- */
[style*="Noto Serif"] {
  font-family: 'Oswald', 'Noto Sans KR', sans-serif !important;
}
