/* ==========================================================================
   Culture Masters — "Vibrant" theme (2026)
   Shared by the English and Korean sites: homepage, Arirang Master pages,
   popups and footer. Accent palette is inspired by Korean obangsaek
   (blue · red · yellow · jade · ink) around the brand coral.
   ========================================================================== */

:root {
  --cm-ink: #121a2f;
  --cm-ink-2: #1c2746;
  --cm-ink-3: #2a3760;
  --cm-coral: #f78550;
  --cm-vermilion: #e8492f;
  --cm-rose: #d6336c;
  --cm-saffron: #f5b301;
  --cm-jade: #14a38b;
  --cm-cobalt: #2f5bd3;
  --cm-paper: #fbf7f1;
  --cm-mist: #f3f5fb;
  --cm-text: #3d4560;
  --cm-muted: #6b7290;
  --cm-line: rgba(18, 26, 47, 0.1);
  --cm-grad: linear-gradient(115deg, #f78550 0%, #e8492f 48%, #d6336c 100%);
  --cm-grad-cool: linear-gradient(120deg, #2f5bd3 0%, #14a38b 100%);
  --cm-stripe: linear-gradient(90deg, #2f5bd3 0 20%, #e8492f 20% 40%, #f5b301 40% 60%, #14a38b 60% 80%, #121a2f 80% 100%);
  --cm-display: "cinzel", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Georgia, serif;
  --cm-sans: "inter", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cm-radius: 18px;
  --cm-shadow: 0 18px 50px rgba(18, 26, 47, 0.12);
  --cm-shadow-sm: 0 8px 24px rgba(18, 26, 47, 0.08);
}
html[lang="ko"] {
  --cm-display: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --cm-sans: "Noto Sans KR", "inter", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
/* Korean: wrap between words, not syllables */
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] h4,
html[lang="ko"] .cm-title, html[lang="ko"] .cm-lead, html[lang="ko"] .hx-hero__sub,
html[lang="ko"] .mc-card__name, html[lang="ko"] .al-hero p,
html[lang="ko"] .amd-bio, html[lang="ko"] .amd-bio *, html[lang="ko"] .cm-prose, html[lang="ko"] .cm-prose *,
html[lang="ko"] .hx-feature p, html[lang="ko"] .al-pillar p, html[lang="ko"] .hx-win__hl p { word-break: keep-all !important; overflow-wrap: anywhere; }

/* ── Shared building blocks ─────────────────────────────────────────────── */
.cm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cm-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cm-vermilion);
  margin-bottom: 14px;
  line-height: 1.3;
}
.cm-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.cm-eyebrow--light { color: #ffc9ad; }
.cm-title {
  font-family: var(--cm-display) !important;
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--cm-ink);
  margin: 0 0 14px;
}
.cm-title em,
.cm-grad-text { font-style: normal; color: var(--cm-vermilion); }
.cm-title--light { color: #fff; }
.cm-lead {
  font-family: var(--cm-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  line-height: 1.75;
  color: var(--cm-muted);
  margin: 0 0 8px;
}
.cm-lead--light { color: rgba(255, 255, 255, 0.78); }
.cm-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.cm-stripe {
  display: block;
  width: 120px;
  height: 5px;
  border-radius: 6px;
  background: var(--cm-stripe);
  margin: 18px auto 0;
}
.cm-stripe--left { margin-left: 0; }
.cm-prose,
.cm-prose p,
.cm-prose li {
  font-family: var(--cm-sans);
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--cm-text);
}
.cm-prose p { margin: 0 0 16px; }
.cm-prose a { color: var(--cm-vermilion); text-decoration: underline; text-underline-offset: 3px; }
.cm-prose strong { color: var(--cm-ink); }

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--cm-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--cm-ink);
  border: 1.5px solid var(--cm-ink);
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cm-btn:hover { background: var(--cm-vermilion); border-color: var(--cm-vermilion); }
.cm-btn i { font-size: 0.85em; }
.cm-btn--ghost { background: transparent; color: var(--cm-ink) !important; border-color: rgba(18, 26, 47, 0.25); }
.cm-btn--ghost:hover { background: transparent; border-color: var(--cm-ink); color: var(--cm-ink) !important; }
.cm-btn--light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.6); }
.cm-btn--light:hover { background: #fff; border-color: #fff; color: var(--cm-ink) !important; }
/* Primary buttons on dark backgrounds */
.hx-hero .cm-btn:not(.cm-btn--light), .hx-masters .cm-btn:not(.cm-btn--light), .hx-win__card .cm-btn:not(.cm-btn--light) {
  background: #fff; border-color: #fff; color: var(--cm-ink) !important;
}
.hx-hero .cm-btn:not(.cm-btn--light):hover, .hx-masters .cm-btn:not(.cm-btn--light):hover, .hx-win__card .cm-btn:not(.cm-btn--light):hover {
  background: var(--cm-vermilion); border-color: var(--cm-vermilion); color: #fff !important;
}
.cm-btn--sm { padding: 10px 16px; font-size: 14px; }

/* ── Master card (home, directory, related) ─────────────────────────────── */
.mc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--cm-radius);
  overflow: hidden;
  box-shadow: var(--cm-shadow-sm);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s ease;
  isolation: isolate;
}
.mc-card:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow); }
.mc-card__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: linear-gradient(160deg, #fde3d4, #f3e8ff 60%, #dff4ef);
}
.mc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s ease;
}
.mc-card:hover .mc-card__media img { transform: scale(1.06); }
.mc-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(18, 26, 47, 0.55));
  opacity: 0.85;
}
.mc-card__flag {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font-family: var(--cm-sans);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.mc-card__new {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  font-family: var(--cm-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  background: var(--cm-vermilion);
  padding: 4px 9px;
  border-radius: 4px;
  line-height: 1.3;
}
.mc-card__no {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  font-family: var(--cm-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--cm-ink);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.3;
}
.mc-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mc-card__name {
  font-family: var(--cm-display) !important;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--cm-ink);
  margin: 0;
}
.mc-card__meta {
  font-family: var(--cm-sans);
  font-size: 13px;
  color: var(--cm-muted);
  line-height: 1.4;
  margin: 0;
}
.mc-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--cm-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-vermilion);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mc-card__cta i { transition: transform 0.25s ease; }
.mc-card:hover .mc-card__cta i { transform: translateX(4px); }

/* ═════════════════════════════ HOMEPAGE ═════════════════════════════ */
.hx-section { padding: clamp(64px, 6vw + 24px, 112px) 0; position: relative; }
.hx-section--paper { background: var(--cm-paper); }
.hx-section--mist { background: var(--cm-mist); }

/* Hero */
.hx-hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--cm-ink);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 0 120px;
}
.hx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.62) 0%, rgba(12, 18, 36, 0.8) 100%);
  z-index: 0;
}
/* decorative blurred orbs removed */
.hx-hero__orb { display: none; }
.hx-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 980px; margin: 0 auto; }
.hx-rotator { display: grid; margin: 6px 0 18px; }
.hx-rotator > * {
  grid-area: 1 / 1;
  align-self: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.hx-rotator > .is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.4s; }
.hx-hero__title {
  font-family: var(--cm-display) !important;
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.hx-hero__sub {
  font-family: var(--cm-sans);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hx-hero__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cm-stripe); z-index: 2; }
.hx-hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
}
.hx-hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: hxScroll 1.8s ease-in-out infinite;
}
@keyframes hxScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Stats strip */
.hx-stats { position: relative; z-index: 3; margin-top: -64px; }
.hx-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--cm-shadow);
  overflow: hidden;
}
.hx-stat { padding: 28px 22px; text-align: center; position: relative; }
.hx-stat + .hx-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--cm-line);
}
.hx-stat__value {
  font-family: var(--cm-display) !important;
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--cm-ink);
}
.hx-stat::after { content: ""; position: absolute; top: 0; left: 50%; width: 32px; height: 3px; margin-left: -16px; background: var(--cm-vermilion); }
.hx-stat:nth-child(2)::after { background: var(--cm-cobalt); }
.hx-stat:nth-child(3)::after { background: var(--cm-saffron); }
.hx-stat:nth-child(4)::after { background: var(--cm-jade); }
.hx-stat__value--sm { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem); white-space: nowrap; padding-top: 0.2em; }
.hx-stats:has(+ .hx-new) { background: linear-gradient(to bottom, transparent 64px, var(--cm-paper) 64px); }
.hx-stat__label { font-family: var(--cm-sans); font-size: 14px; color: var(--cm-muted); line-height: 1.4; }

/* Newly designated */
.hx-new { background: var(--cm-paper); overflow: hidden; }
.hx-new::before { content: none; }
.hx-new__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
@media (min-width: 1200px) { .hx-new__grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hx-new__grid .mc-card:nth-child(5n+1) .mc-card__media { background: linear-gradient(160deg, #ffd8c2, #ffe9a8); }
.hx-new__grid .mc-card:nth-child(5n+2) .mc-card__media { background: linear-gradient(160deg, #cfe0ff, #d7f5ee); }
.hx-new__grid .mc-card:nth-child(5n+3) .mc-card__media { background: linear-gradient(160deg, #ffd1e0, #ffe2cf); }
.hx-new__grid .mc-card:nth-child(5n+4) .mc-card__media { background: linear-gradient(160deg, #d2f3e9, #e6e2ff); }
.hx-new__grid .mc-card:nth-child(5n+5) .mc-card__media { background: linear-gradient(160deg, #ffeaa9, #ffd0c4); }
.hx-center-cta { text-align: center; margin-top: 40px; }

/* Masters carousel (dark) */
.hx-masters {
  background: var(--cm-ink);
  color: #fff;
  overflow: hidden;
}
.hx-masters .cm-title { color: #fff; }
.hx-masters .whatSpecial__content { padding: 0 6px; }
.hx-masters .whatSpecial__content.slick-initialized { display: block; }
.hx-masters .whatSpecial__content:not(.slick-initialized) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.hx-masters .whatSpecial__content:not(.slick-initialized) .whatSpecial__card:nth-child(n+5) { display: none; }
.hx-masters .whatSpecial__card {
  padding: 10px !important;
  margin: 0 !important;
  box-shadow: none !important;
  flex: none !important;
  height: 100% !important;
  display: block !important;
}
.hx-masters .whatSpecial__card > * { margin-bottom: 0; }
.hx-masters .whatSpecial__card img { height: 100%; object-fit: cover; max-width: none; }
.hx-masters .slick-track { display: flex !important; }
.hx-masters .slick-slide { height: inherit !important; }
.hx-masters .slick-slide > div { height: 100%; }
.hx-masters .slick-prev,
.hx-masters .slick-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12) !important;
  z-index: 3;
}
.hx-masters .slick-prev { left: -14px; }
.hx-masters .slick-next { right: -14px; }
.hx-masters .slick-prev:hover,
.hx-masters .slick-next:hover { background: var(--cm-vermilion) !important; }
.hx-masters .slick-prev:before,
.hx-masters .slick-next:before { color: #fff; opacity: 1; font-size: 22px; }
.hx-masters .mc-card { background: var(--cm-ink-2); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.08); }
.hx-masters .mc-card__name { color: #fff; }
.hx-masters .mc-card__meta { color: rgba(255, 255, 255, 0.65); }
.hx-masters .mc-card__cta { color: #ffb48f; }

/* ICH */
.hx-ich__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hx-ich__media { position: relative; }
.hx-ich__media img { width: 100%; border-radius: 24px; box-shadow: var(--cm-shadow); position: relative; z-index: 1; }
.hx-ich__media::before { content: none; }
.hx-features { display: grid; gap: 14px; margin: 26px 0 30px; }
.hx-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--cm-line);
  border-radius: 16px;
  padding: 18px 18px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.hx-feature:hover { border-color: rgba(18, 26, 47, 0.2); }
.hx-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--cm-vermilion);
  background: rgba(232, 73, 47, 0.1);
}
.hx-feature:nth-child(2) .hx-feature__icon { color: var(--cm-jade); background: rgba(20, 163, 139, 0.12); }
.hx-feature:nth-child(3) .hx-feature__icon { color: #c98a00; background: rgba(245, 179, 1, 0.15); }
.hx-feature:nth-child(4) .hx-feature__icon { color: var(--cm-cobalt); background: rgba(47, 91, 211, 0.12); }
.hx-feature h3 { font-family: var(--cm-sans) !important; font-size: 1.05rem; font-weight: 700; color: var(--cm-ink); margin: 2px 0 4px; line-height: 1.35; }
.hx-feature p { font-family: var(--cm-sans); font-size: 0.95rem; line-height: 1.65; color: var(--cm-muted); margin: 0; }

/* Programmes (services) */
.hx-programs__list { display: grid; gap: clamp(28px, 4vw, 56px); }
.hx-program {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.hx-program:nth-child(even) .hx-program__media { order: 2; }
.hx-program__media { position: relative; }
.hx-program__media img { width: 100%; border-radius: 22px; box-shadow: var(--cm-shadow-sm); aspect-ratio: 16 / 11; object-fit: cover; }
.hx-program__num {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--cm-display) !important;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--cm-ink);
}
.hx-program h3 { font-family: var(--cm-display) !important; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); color: var(--cm-ink); line-height: 1.25; margin: 0 0 12px; }
.hx-program__text { font-family: var(--cm-sans); color: var(--cm-text); line-height: 1.8; margin-bottom: 18px; }
.hx-program .btn-read-more,
.hx-program .btn-more {
  font-family: var(--cm-sans);
  background: transparent;
  color: var(--cm-vermilion);
  font-weight: 700;
  padding: 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  cursor: pointer;
}

/* WIN */
.hx-win__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #16213f 0%, #1f3a7a 100%);
  padding: clamp(28px, 4vw, 60px);
}
.hx-win__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--cm-stripe); }
.hx-win__card .cm-title { color: #fff; max-width: 760px; }
.hx-win__body,
.hx-win__body p { font-family: var(--cm-sans); color: rgba(255, 255, 255, 0.86); line-height: 1.8; font-size: 1.05rem; max-width: 820px; }
.hx-win__highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.hx-win__hl {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.hx-win__hl h3 { font-family: var(--cm-sans) !important; font-size: 1.02rem; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.35; }
.hx-win__hl p { font-family: var(--cm-sans); font-size: 0.93rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; margin: 0; }
.hx-win__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.hx-win__stats { display: flex; flex-wrap: wrap; gap: 34px; }
.hx-win__stat strong { display: block; font-family: var(--cm-display) !important; font-size: 2rem; line-height: 1.1; color: #ffe08a; }
.hx-win__stat span { font-family: var(--cm-sans); font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.hx-win__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Split cards (sponsor / about) */
.hx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hx-split--reverse .hx-split__media { order: 2; }
.hx-split__media { position: relative; }
.hx-split__media img { width: 100%; border-radius: 24px; box-shadow: var(--cm-shadow); aspect-ratio: 4 / 3; object-fit: cover; position: relative; z-index: 1; }
.hx-split__media::after { content: none; }
.hx-split .cm-btn { margin-top: 10px; }

/* News */
.hx-news__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.hx-news__side { display: grid; gap: 18px; }
.hx-news-card {
  display: grid;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--cm-shadow-sm);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hx-news-card:hover { transform: translateY(-4px); box-shadow: var(--cm-shadow); }
.hx-news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hx-news-card:hover img { transform: scale(1.05); }
.hx-news-card__media { overflow: hidden; background: var(--cm-mist); }
.hx-news-card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.hx-news-card__date { font-family: var(--cm-sans); font-size: 12.5px; font-weight: 700; color: var(--cm-vermilion); letter-spacing: 0.4px; }
.hx-news-card h3 { font-family: var(--cm-sans) !important; font-size: 1.06rem; font-weight: 700; line-height: 1.45; color: var(--cm-ink); margin: 0; }
.hx-news-card p { font-family: var(--cm-sans); font-size: 0.93rem; line-height: 1.65; color: var(--cm-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-news-card--feature .hx-news-card__media { aspect-ratio: 16 / 10; }
.hx-news-card--feature h3 { font-family: var(--cm-display) !important; font-size: 1.45rem; }
.hx-news-card--row { grid-template-columns: 150px 1fr; }
.hx-news-card--row .hx-news-card__body { padding: 14px 18px; }
.hx-news-card--row p { -webkit-line-clamp: 2; }

/* Newsletter */
.hx-newsletter {
  position: relative;
  margin-top: 56px;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--cm-ink);
  color: #fff;
  overflow: hidden;
}
.hx-newsletter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--cm-stripe); }
.hx-newsletter__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; }
.hx-newsletter h3 { font-family: var(--cm-display) !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: #fff; margin: 0 0 6px; line-height: 1.2; }
.hx-newsletter p { font-family: var(--cm-sans); color: rgba(255, 255, 255, 0.88); margin: 0; line-height: 1.6; }
.hx-newsletter form { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 10px; }
.hx-newsletter input {
  font-family: var(--cm-sans);
  width: 100%;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--cm-ink);
}
.hx-newsletter input:focus { border-color: var(--cm-ink); outline: none; }
.hx-newsletter button {
  font-family: var(--cm-sans);
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--cm-vermilion);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.hx-newsletter button:hover { background: #c93a22; }

/* ═══════════════════════ ARIRANG MASTER LANDING ═══════════════════════ */
.al-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 80px;
  background-color: var(--cm-ink);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.al-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.5) 0%, rgba(12, 18, 36, 0.86) 100%);
}
.al-hero .container { position: relative; z-index: 1; }
.al-hero h1 {
  font-family: var(--cm-display) !important;
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 0 14px;
  max-width: 860px;
}
.al-hero p { font-family: var(--cm-sans); font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 680px; line-height: 1.6; }
.al-hero__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cm-stripe); z-index: 2; }
.al-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.al-intro__media { position: relative; }
.al-intro__media img { width: 100%; border-radius: 24px; box-shadow: var(--cm-shadow); }
.al-badges { position: absolute; left: 22px; bottom: -20px; display: flex; flex-wrap: wrap; gap: 10px; }
.al-badges span {
  font-family: var(--cm-sans);
  background: var(--cm-ink);
  color: #ffd2b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--cm-shadow-sm);
  line-height: 1.2;
}
.al-badges span:nth-child(2) { background: var(--cm-vermilion); color: #fff; }
.al-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.al-pillar {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 30px 24px 26px;
  box-shadow: var(--cm-shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.al-pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cm-vermilion); }
.al-pillar:nth-child(2)::after { background: var(--cm-jade); }
.al-pillar:nth-child(3)::after { background: var(--cm-saffron); }
.al-pillar:nth-child(4)::after { background: var(--cm-cobalt); }
.al-pillar:hover { box-shadow: var(--cm-shadow); }
.al-pillar__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--cm-vermilion);
  background: rgba(232, 73, 47, 0.1);
  margin-bottom: 18px;
}
.al-pillar:nth-child(2) .al-pillar__icon { color: var(--cm-jade); background: rgba(20, 163, 139, 0.12); }
.al-pillar:nth-child(3) .al-pillar__icon { color: #d18f00; background: rgba(245, 179, 1, 0.15); }
.al-pillar:nth-child(4) .al-pillar__icon { color: var(--cm-cobalt); background: rgba(47, 91, 211, 0.12); }
.al-pillar h3 { font-family: var(--cm-sans) !important; font-size: 1.08rem; font-weight: 800; color: var(--cm-ink); margin: 0 0 8px; line-height: 1.35; }
.al-pillar p { font-family: var(--cm-sans); font-size: 0.94rem; color: var(--cm-muted); line-height: 1.7; margin: 0; }
.al-nom__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.al-steps { display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; counter-reset: step; }
.al-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  font-family: var(--cm-sans);
  color: var(--cm-text);
  line-height: 1.55;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--cm-line);
}
.al-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--cm-sans);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: var(--cm-ink);
}
.al-step:nth-child(2)::before { background: var(--cm-vermilion); }
.al-step:nth-child(3)::before { background: var(--cm-jade); }
.al-step:nth-child(4)::before { background: var(--cm-cobalt); }
.al-docs { display: flex; flex-wrap: wrap; gap: 10px; }
.al-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cm-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-ink) !important;
  border: 2px solid rgba(18, 26, 47, 0.14);
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none !important;
  background: #fff;
  transition: all 0.2s ease;
}
.al-doc i { color: var(--cm-vermilion); }
.al-doc:hover { border-color: var(--cm-vermilion); transform: translateY(-2px); }
.al-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--cm-shadow-sm); aspect-ratio: 4 / 3; }
.al-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.al-video { background: var(--cm-ink); color: #fff; overflow: hidden; }
.al-video::before { content: none; }
.al-video .container { position: relative; }
.cm-embed {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #000;
}
.cm-embed iframe,
.cm-embed video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0 !important; }
.al-cta { text-align: center; }
.al-cta__box {
  border-radius: 20px;
  padding: clamp(36px, 5vw, 64px) 24px;
  background: #fff;
  border: 1px solid var(--cm-line);
}
.al-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ═══════════════════════ MASTERS DIRECTORY ═══════════════════════ */
.md-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--cm-shadow-sm);
  padding: 14px;
  margin-bottom: 30px;
}
.md-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.md-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--cm-muted); }
.md-search input {
  width: 100%;
  font-family: var(--cm-sans);
  font-size: 15px;
  border: 2px solid var(--cm-line);
  border-radius: 999px;
  padding: 11px 18px 11px 42px;
  background: var(--cm-mist);
  color: var(--cm-ink);
}
.md-search input:focus { border-color: var(--cm-coral); background: #fff; outline: none; }
.md-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.md-chip {
  font-family: var(--cm-sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--cm-line);
  background: #fff;
  color: var(--cm-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.md-chip:hover { border-color: var(--cm-coral); }
.md-chip.is-active { background: var(--cm-ink); color: #fff; border-color: var(--cm-ink); }
.md-chip.is-active.is-new { background: var(--cm-vermilion); border-color: var(--cm-vermilion); }
.md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.md-count { font-family: var(--cm-sans); font-size: 14px; color: var(--cm-muted); margin: -12px 0 18px; }
.md-empty { display: none; text-align: center; padding: 40px 0; font-family: var(--cm-sans); color: var(--cm-muted); }
.md-about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.md-card { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--cm-shadow-sm); }
.md-check { display: grid; gap: 10px; margin: 0 0 22px; }
.md-check li { font-family: var(--cm-sans); display: flex; gap: 10px; align-items: flex-start; color: var(--cm-text); line-height: 1.6; }
.md-check li i { color: var(--cm-jade); margin-top: 5px; }
.md-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.md-actions .cm-btn { width: 100%; }

/* ═══════════════════════ MASTER DETAIL ═══════════════════════ */
.amd-hero {
  position: relative;
  padding: 150px 0 120px;
  background: var(--cm-ink);
  color: #fff;
  overflow: hidden;
}
.amd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(47, 91, 211, 0.22) 0%, transparent 55%);
}
.amd-hero .container { position: relative; z-index: 1; }
@media (min-width: 992px) { .amd-hero__text { margin-left: calc(340px + clamp(26px, 4vw, 56px)); } }
.amd-crumbs { font-family: var(--cm-sans); font-size: 13.5px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.65); }
.amd-crumbs a { color: rgba(255, 255, 255, 0.85) !important; }
.amd-crumbs a:hover { color: #fff !important; }
.amd-hero h1 {
  font-family: var(--cm-display) !important;
  font-weight: 800;
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3.1rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px;
}
.amd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.amd-tag {
  font-family: var(--cm-sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  line-height: 1.2;
}
.amd-tag--hot { background: var(--cm-vermilion); border-color: var(--cm-vermilion); }
.amd-hero__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cm-stripe); }
.amd-body { padding: 0 0 90px; background: var(--cm-paper); }
.amd-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.amd-aside { margin-top: -90px; position: sticky; top: 100px; }
.amd-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--cm-shadow);
  background: linear-gradient(160deg, #fde3d4, #f3e8ff 60%, #dff4ef);
  border: 6px solid #fff;
}
.amd-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; display: block; }
.amd-facts { background: #fff; border-radius: 20px; padding: 20px 22px; margin-top: 18px; box-shadow: var(--cm-shadow-sm); }
.amd-fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--cm-line); font-family: var(--cm-sans); font-size: 14.5px; }
.amd-fact:last-child { border-bottom: 0; }
.amd-fact span { color: var(--cm-muted); }
.amd-fact strong { color: var(--cm-ink); text-align: right; }
.amd-aside .cm-btn { width: 100%; margin-top: 14px; }
.amd-content { padding-top: 48px; }
.amd-bio { background: #fff; border-radius: 24px; padding: clamp(24px, 3.5vw, 48px); box-shadow: var(--cm-shadow-sm); }
.amd-bio,
.amd-bio p,
.amd-bio span,
.amd-bio li,
.amd-bio div {
  font-family: var(--cm-sans) !important;
  font-size: 1.04rem !important;
  line-height: 1.85 !important;
  color: var(--cm-text);
}
.amd-bio p { margin: 0 0 14px !important; word-break: normal !important; }
.amd-bio p:empty { display: none; }
.amd-bio > p:first-child { font-size: 1.15rem !important; color: var(--cm-ink); }
.amd-bio h2,
.amd-bio h3,
.amd-bio h4,
.amd-bio b:only-child,
.amd-bio p > strong:only-child {
  font-family: var(--cm-display) !important;
  color: var(--cm-ink) !important;
}
.amd-bio h2, .amd-bio h3, .amd-bio h4 { font-size: 1.45rem !important; font-weight: 700; line-height: 1.3 !important; margin: 26px 0 14px !important; display: flex; align-items: center; gap: 12px; }
.amd-bio h4::before, .amd-bio h3::before { content: ""; width: 22px; height: 3px; background: var(--cm-vermilion); flex: none; }
.amd-bio strong, .amd-bio b { color: var(--cm-ink); }
.amd-bio hr { border: 0 !important; height: 1px; background: var(--cm-line); margin: 26px 0; }
.amd-bio ul, .amd-bio ol { margin: 0 0 16px 0 !important; padding-left: 0 !important; }
.amd-bio ul li, .amd-bio ol li { position: relative; padding-left: 26px; margin-bottom: 8px; list-style: none !important; }
.amd-bio ul li::before { content: ""; position: absolute; left: 6px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--cm-vermilion); }
.amd-bio ul li p { margin: 0 !important; }
.amd-bio a { color: var(--cm-vermilion) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.amd-bio a span, .amd-bio a u { color: inherit !important; }
.amd-bio ul.am-links li::before { content: "\f35d"; font-family: "Font Awesome 6 Free" !important; font-weight: 900; background: none; width: auto; height: auto; top: 0; left: 0; color: var(--cm-vermilion); font-size: 13px; }
.amd-bio img { max-width: 100%; height: auto; border-radius: 16px; }
.amd-bio .am-figure { margin: 22px 0 8px; }
.amd-bio .am-figure img { width: 100%; max-height: 460px; object-fit: cover; box-shadow: var(--cm-shadow-sm); }
.amd-bio .am-figure figcaption { font-family: var(--cm-sans); font-size: 13.5px; color: var(--cm-muted); margin-top: 8px; text-align: center; }
.amd-bio .am-note em { font-size: 0.95rem; color: var(--cm-muted); }
.amd-video { margin-top: 28px; }
.amd-video h2 { font-family: var(--cm-display) !important; font-size: 1.45rem; color: var(--cm-ink); margin: 0 0 16px; }
.amd-video .cm-embed { max-width: none; box-shadow: var(--cm-shadow); }
.amd-related { padding: 80px 0; background: #fff; }
.amd-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* ═════════════════════════════ POPUPS ═════════════════════════════ */
.cm-popup { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 18px; }
.cm-popup.is-open { display: flex; }
.cm-popup__backdrop { position: absolute; inset: 0; background: rgba(12, 16, 30, 0.66); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; }
.cm-popup.is-visible .cm-popup__backdrop { opacity: 1; }
.cm-popup__dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.3s ease;
}
.cm-popup.is-visible .cm-popup__dialog { transform: none; opacity: 1; }
.cm-popup__dialog::before { content: ""; position: sticky; top: 0; display: block; height: 6px; background: var(--cm-stripe); z-index: 2; }
.cm-popup__dialog--md { max-width: 560px; }
.cm-popup__dialog--xl { max-width: 960px; }
.cm-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(18, 26, 47, 0.75);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cm-popup__close:hover { background: var(--cm-vermilion); }
.cm-popup__slide { display: none; }
.cm-popup__slide.is-active { display: block; animation: cmPopIn 0.35s ease; }
@keyframes cmPopIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.cm-popup__media { display: block; background: var(--cm-mist); }
.cm-popup__media img { width: 100%; display: block; max-height: 62vh; object-fit: contain; background: #0f1426; }
.cm-popup__content { padding: 26px 30px 30px; }
.cm-popup__title { font-family: var(--cm-display) !important; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; color: var(--cm-ink); margin: 0 0 12px; padding-right: 36px; }
.cm-popup__body, .cm-popup__body p, .cm-popup__body li { font-family: var(--cm-sans); font-size: 1rem; line-height: 1.75; color: var(--cm-text); }
.cm-popup__body p { margin: 0 0 10px; }
.cm-popup__body ul { margin: 0 0 12px; }
.cm-popup__body ul li { position: relative; padding-left: 22px; }
.cm-popup__body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cm-jade); font-weight: 800; }
.cm-popup__body a { color: var(--cm-vermilion); text-decoration: underline; }
.cm-popup__body img { max-width: 100%; height: auto; border-radius: 12px; }
.cm-popup__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cm-popup__slide--split .cm-popup__split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.cm-popup__slide--split .cm-popup__media img { height: 100%; max-height: none; object-fit: cover; }
.cm-popup__slide--image .cm-popup__media img { max-height: 80vh; }
.cm-popup__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--cm-line); }
.cm-popup__dots { display: flex; gap: 6px; }
.cm-popup__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(18, 26, 47, 0.2); cursor: pointer; padding: 0; transition: width 0.2s ease, background 0.2s ease; }
.cm-popup__dot.is-active { width: 26px; border-radius: 6px; background: var(--cm-vermilion); }
.cm-popup__arrows { display: flex; gap: 8px; }
.cm-popup__arrow { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--cm-line); background: #fff; color: var(--cm-ink); cursor: pointer; display: grid; place-items: center; }
.cm-popup__arrow:hover { border-color: var(--cm-vermilion); color: var(--cm-vermilion); }
.cm-popup__mute { font-family: var(--cm-sans); font-size: 13px; color: var(--cm-muted); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 0; }
body.cm-popup-open { overflow: hidden; }

/* ═════════════════════════════ FOOTER ═════════════════════════════ */
.cm-footer {
  position: relative;
  background: var(--cm-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
  overflow: hidden;
}
.cm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--cm-stripe); }
.cm-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; align-items: start; }
.cm-footer__logo { height: 78px; width: auto; margin-bottom: 16px; }
.cm-footer p, .cm-footer li, .cm-footer a { font-family: var(--cm-sans); font-size: 14.5px; line-height: 1.75; }
.cm-footer h4 { font-family: var(--cm-sans) !important; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 800; }
.cm-footer a { color: rgba(255, 255, 255, 0.82) !important; text-decoration: none; transition: color 0.2s ease; }
.cm-footer a:hover { color: #ffb48f !important; }
.cm-footer__links li { margin-bottom: 6px; }
.cm-footer__social { display: flex; gap: 10px; margin-top: 14px; }
.cm-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
}
.cm-footer__social a:hover { background: var(--cm-vermilion); border-color: var(--cm-vermilion); color: #fff !important; }
.cm-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13.5px; }
.cm-footer__bottom p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }

/* ═════════════════════════════ RESPONSIVE ═════════════════════════════ */
@media (max-width: 1199px) {
  .al-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amd-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-newsletter__grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .hx-hero { padding: 130px 0 120px; min-height: auto; }
  .hx-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-stat:nth-child(3)::before { display: none; }
  .hx-stat:nth-child(n+3) { border-top: 1px solid var(--cm-line); }
  .hx-ich__grid, .hx-program, .hx-split, .al-intro__grid, .al-nom__grid, .md-about__grid { grid-template-columns: 1fr; }
  .hx-program:nth-child(even) .hx-program__media, .hx-split--reverse .hx-split__media { order: 0; }
  .hx-win__highlights { grid-template-columns: 1fr; }
  .hx-news__grid { grid-template-columns: 1fr; }
  .amd-grid { grid-template-columns: 1fr; }
  .amd-aside { position: static; max-width: 420px; margin: -80px auto 0; }
  .amd-content { padding-top: 10px; }
  .cm-footer__grid { grid-template-columns: 1fr 1fr; }
  .cm-footer__brand { grid-column: 1 / -1; }
  .hx-masters .slick-prev, .hx-masters .slick-next { display: none !important; }
  .al-badges { bottom: -16px; }
}
@media (max-width: 640px) {
  .hx-hero__actions .cm-btn { width: 100%; }
  .mc-card__no { display: none; }
  .mc-card__new { font-size: 10px; padding: 4px 9px; }
  .hx-newsletter form { grid-template-columns: 1fr; }
  .hx-news-card--row { grid-template-columns: 110px 1fr; }
  .al-pillars { grid-template-columns: 1fr; }
  .amd-related__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .md-actions { grid-template-columns: 1fr; }
  .md-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .md-grid .mc-card__body, .amd-related__grid .mc-card__body { padding: 12px 12px 14px; }
  .md-grid .mc-card__name, .amd-related__grid .mc-card__name { font-size: 0.98rem; }
  .cm-popup { padding: 10px; align-items: flex-end; }
  .cm-popup__content { padding: 20px 20px 22px; }
  .cm-popup__slide--split .cm-popup__split { grid-template-columns: 1fr; }
  .cm-footer__grid { grid-template-columns: 1fr; }
  .al-gallery img:first-child { aspect-ratio: 16 / 10; }
  .al-hero { min-height: 420px; padding: 140px 0 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero__orb, .hx-hero__scroll::after { animation: none; }
  .mc-card, .mc-card__media img, .cm-popup__dialog { transition: none; }
}

/* ═════════════════════════════ NAVBAR (shared EN/KR) ═════════════════════════════ */
.cmn {
  --cmn-h: 84px;
  --cmn-fg: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  color: var(--cmn-fg);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.cmn::before {
  content: "";
  position: absolute;
  inset: 0 0 -30px 0;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.55), transparent);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
/* Frosted layer lives on a pseudo-element: backdrop-filter on .cmn itself would trap the fixed drawer */
.cmn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cmn.is-solid {
  --cmn-h: 70px;
  --cmn-fg: var(--cm-ink);
  box-shadow: 0 6px 30px rgba(18, 26, 47, 0.1);
}
.cmn.is-solid::after { opacity: 1; }
.cmn.is-solid::before { opacity: 0; }
.cmn__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  max-width: 1720px;
  height: var(--cmn-h);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  transition: height 0.3s ease;
}
.cmn__logo { display: grid; align-items: center; flex: none; line-height: 0; }
.cmn__logo img { grid-area: 1 / 1; height: 48px; width: auto; transition: opacity 0.3s ease; }
.cmn__logo-dark { opacity: 0; }
.cmn.is-solid .cmn__logo-light { opacity: 0; }
.cmn.is-solid .cmn__logo-dark { opacity: 1; }

.cmn__nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.cmn__drawer-head, .cmn__drawer-foot { display: none; }
.cmn__menu { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; margin: 0; padding: 0; }
.cmn__item { position: relative; display: flex; align-items: center; flex: none; }
.cmn__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cm-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--cmn-fg) !important;
  padding: 10px 11px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cmn__ext { font-size: 9px; opacity: 0.6; }
.cmn__item.has-children > .cmn__link { padding-right: 4px; }
.cmn__link:hover, .cmn__item:hover > .cmn__link { background: rgba(255, 255, 255, 0.14); }
.cmn.is-solid .cmn__link:hover, .cmn.is-solid .cmn__item:hover > .cmn__link { background: rgba(232, 73, 47, 0.08); color: var(--cm-vermilion) !important; }
.cmn__item.is-active > .cmn__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 22px;
  height: 3px;
  margin-left: -11px;
  border-radius: 3px;
  background: var(--cm-vermilion);
}
.cmn__item.has-children.is-active > .cmn__link::after { margin-left: -9px; }
.cmn__caret {
  display: grid;
  place-items: center;
  width: 22px;
  height: 30px;
  padding: 0;
  margin-right: 4px;
  border: 0;
  background: none;
  color: var(--cmn-fg);
  font-size: 10px;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.cmn__item:hover > .cmn__caret, .cmn__item.is-open > .cmn__caret { transform: rotate(180deg); opacity: 1; }

.cmn__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(18, 26, 47, 0.18), 0 2px 6px rgba(18, 26, 47, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 5;
}
.cmn__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.cmn__sub::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--cm-stripe);
}
.cmn__item:hover > .cmn__sub,
.cmn__item:focus-within > .cmn__sub,
.cmn__item.is-open > .cmn__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cmn__sublink {
  display: block;
  font-family: var(--cm-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cm-ink) !important;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, padding 0.18s ease;
}
.cmn__sublink:hover { background: var(--cm-mist); color: var(--cm-vermilion) !important; padding-left: 18px; }
.cmn__sublink.is-active { color: var(--cm-vermilion) !important; background: rgba(232, 73, 47, 0.06); }

.cmn__actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.cmn__lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.cmn.is-solid .cmn__lang { border-color: var(--cm-line); background: var(--cm-mist); }
.cmn__lang a {
  font-family: var(--cm-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--cmn-fg) !important;
  opacity: 0.75;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.cmn__lang a:hover { opacity: 1; }
.cmn__lang a.is-on { background: #fff; color: var(--cm-ink) !important; opacity: 1; }
.cmn.is-solid .cmn__lang a.is-on { background: var(--cm-ink); color: #fff !important; }

.cmn__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  padding: 0 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.cmn__burger span { display: block; height: 2px; border-radius: 2px; background: var(--cmn-fg); transition: transform 0.25s ease, opacity 0.2s ease; }
.cmn__burger span:nth-child(2) { width: 70%; margin-left: auto; }
.cmn.is-solid .cmn__burger { background: var(--cm-mist); }
.cmn__progress {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--cmn-progress, 0));
  background: var(--cm-stripe);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cmn.is-solid .cmn__progress { opacity: 1; }
.cmn__backdrop { display: none; }

/* ── Drawer mode: below 1280px, or whenever the menu doesn't fit (set by JS) ── */
.cmn--drawer .cmn__burger { display: inline-flex; }
.cmn--drawer .cmn__nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1510;
  width: min(390px, 88vw);
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  color: var(--cm-ink);
  box-shadow: -20px 0 60px rgba(18, 26, 47, 0.2);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), visibility 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cmn--drawer.is-open .cmn__nav { transform: none; visibility: visible; }
.cmn--drawer .cmn__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--cm-line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.cmn--drawer .cmn__drawer-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--cm-stripe); }
.cmn__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: var(--cm-mist);
  color: var(--cm-ink);
  font-size: 18px;
  cursor: pointer;
}
.cmn__close:hover { background: var(--cm-vermilion); color: #fff; }
.cmn--drawer .cmn__menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px; }
.cmn--drawer .cmn__item { flex-wrap: wrap; border-bottom: 1px solid var(--cm-line); }
.cmn--drawer .cmn__link {
  flex: 1;
  font-size: 16px;
  color: var(--cm-ink) !important;
  padding: 15px 8px;
  border-radius: 10px;
  white-space: normal;
}
.cmn--drawer .cmn__link:hover, .cmn--drawer .cmn__item:hover > .cmn__link { background: transparent; color: var(--cm-vermilion) !important; }
.cmn--drawer .cmn__item.is-active > .cmn__link { color: var(--cm-vermilion) !important; }
.cmn--drawer .cmn__item.is-active > .cmn__link::after { left: -4px; top: 50%; bottom: auto; width: 4px; height: 20px; margin: -10px 0 0; }
.cmn--drawer .cmn__caret {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 10px;
  color: var(--cm-ink);
  background: var(--cm-mist);
  font-size: 12px;
}
.cmn--drawer .cmn__item:hover > .cmn__caret { transform: none; }
.cmn--drawer .cmn__item.is-expanded > .cmn__caret { transform: rotate(180deg); background: var(--cm-ink); color: #fff; }
.cmn--drawer .cmn__sub,
.cmn--drawer .cmn__item:hover > .cmn__sub,
.cmn--drawer .cmn__item:focus-within > .cmn__sub {
  position: static;
  flex-basis: 100%;
  display: none;
  min-width: 0;
  margin: 0 0 12px 8px;
  padding: 2px 0 2px 12px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  border-left: 3px solid rgba(232, 73, 47, 0.25);
  opacity: 1;
  visibility: visible;
  transform: none;
}
.cmn--drawer .cmn__sub::after, .cmn--drawer .cmn__sub::before { display: none; }
.cmn--drawer .cmn__item.is-expanded > .cmn__sub { display: block; }
.cmn--drawer .cmn__sublink { font-size: 15px; white-space: normal; padding: 10px 10px; }
.cmn--drawer .cmn__drawer-foot { display: block; margin-top: auto; padding: 18px 20px 26px; }
.cmn__lang--drawer { width: 100%; border-color: var(--cm-line); background: var(--cm-mist); }
.cmn__lang--drawer a { flex: 1; text-align: center; font-size: 14px; padding: 11px 12px; color: var(--cm-ink) !important; }
.cmn__lang--drawer a.is-on { background: var(--cm-ink); color: #fff !important; }
.cmn--drawer + .cmn__backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1499;
  background: rgba(12, 16, 30, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.cmn--drawer.is-open + .cmn__backdrop { opacity: 1; visibility: visible; }
body.cmn-lock { overflow: hidden; }
@media (max-width: 575.98px) {
  .cmn { --cmn-h: 70px; }
  .cmn__logo img { height: 42px; }
  .cmn__actions .cmn__lang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cmn, .cmn__nav, .cmn__sub, .cmn__bar { transition: none !important; }
}
/* No slide/fade while the header decides between desktop and drawer layout */
.cmn--no-anim, .cmn--no-anim *, .cmn--no-anim + .cmn__backdrop { transition: none !important; }

/* ═════════════════ Shared detail pages (news, team, projects, blogs, pages) ═════════════════ */
.amd-photo--landscape img { aspect-ratio: auto; max-height: 420px; object-fit: cover; object-position: center; }
.amd-back { width: 100%; margin-top: 14px; }
.dp-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dp-news-grid .hx-news-card__media { aspect-ratio: 16 / 10; }
.dp-comments { margin-top: 24px; }
/* Content written in the admin editor */
.amd-bio figure.image, .amd-bio figure { display: table; margin: 24px auto; max-width: 100%; }
.amd-bio figure img { display: block; margin: 0 auto; }
.amd-bio figcaption { display: table-caption; caption-side: bottom; font-size: 13.5px !important; color: var(--cm-muted) !important; text-align: center; padding-top: 8px; }
.amd-bio img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin: 8px 0; }
.amd-bio p > img:only-child { display: block; margin: 18px auto; }
.amd-bio img[style*="float: left"] { margin: 6px 22px 12px 0; }
.amd-bio img[style*="float: right"] { margin: 6px 0 12px 22px; }
.amd-bio blockquote { border-left: 4px solid var(--cm-vermilion); background: #fff7f2; margin: 20px 0; padding: 14px 20px; border-radius: 0 10px 10px 0; }
.amd-bio table { width: 100% !important; border-collapse: collapse; margin: 18px 0; display: block; overflow-x: auto; }
.amd-bio td, .amd-bio th { border: 1px solid var(--cm-line) !important; padding: 8px 12px !important; }
.amd-bio th { background: var(--cm-mist); }
.amd-bio iframe { max-width: 100%; border: 0; border-radius: 12px; }
.amd-bio iframe[src*="youtube"], .amd-bio iframe[src*="vimeo"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.amd-bio ol li { list-style: decimal !important; margin-left: 22px; padding-left: 4px; }
.amd-bio ol li::before { display: none; }
.amd-bio h1, .amd-bio h2 { font-size: 1.6rem !important; }
@media (max-width: 991px) { .dp-news-grid { grid-template-columns: 1fr; } }
@media (min-width: 992px) and (max-width: 1199px) { .dp-news-grid { grid-template-columns: 1fr 1fr; } }
.cm-footer__links { padding-left: 0; margin: 0; }
.hx-news-card .mc-card__cta { margin-top: 4px; }
.news-pagination .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.news-pagination .page-link { border-radius: 8px !important; border: 1px solid var(--cm-line); color: var(--cm-ink); font-family: var(--cm-sans); font-weight: 600; min-width: 40px; text-align: center; }
.news-pagination .page-item.active .page-link { background: var(--cm-ink); border-color: var(--cm-ink); color: #fff; }
.hx-hero__h1 { margin: 0 0 14px; font-family: var(--cm-sans) !important; font-size: 12.5px !important; line-height: 1.3 !important; color: #ffc9ad !important; gap: 8px; }
html[lang="ko"] .hx-hero__title, html[lang="ko"] .al-hero h1, html[lang="ko"] .amd-hero h1 { word-break: keep-all; }
.hx-new__grid .mc-card__no { display: none; }
