/* ===========================================================
   PCHL — Phase Change Heat Transfer Lab
   Shared stylesheet (navy / sky-blue card style)
   =========================================================== */

:root {
  --navy: #0d1b2a;
  --navy-2: #163d6e;
  --blue: #1565c0;
  --sky: #42a5f5;
  --accent: #e65100;
  --light: #f4f6f9;
  --white: #ffffff;
  --text: #212121;
  --muted: #546e7a;
  --border: #e3e7ec;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.13);
  --maxw: 1180px;
  --font-sans: "Segoe UI", system-ui, "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, Roboto,
    "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sky); color: var(--navy); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px; height: 64px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 0; overflow: hidden; }
.brand:hover { text-decoration: none; }
.brand img {
  width: 120px; height: 42px; object-fit: contain; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text .full { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text .sub { font-size: 0.66rem; color: var(--sky); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--sky); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--sky); font-weight: 700; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px; width: 40px; height: 36px; color: var(--white); cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { pointer-events: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--navy); padding: 10px 20px 18px; gap: 2px; display: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a5276 100%);
  color: var(--white); padding: 96px 0 78px; position: relative; overflow: hidden;
}
.hero.hero-compact { padding: 70px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(66, 165, 245, 0.18) 0%, transparent 65%);
}
.hero .container { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  display: inline-block; background: rgba(66, 165, 245, 0.2); border: 1px solid rgba(66, 165, 245, 0.45);
  color: var(--sky); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 10px; max-width: 18ch; }
.hero h1 .accent-text { color: var(--sky); }
.hero p.lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 0; max-width: 620px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badge {
  display: inline-block; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--light); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 8px; display: block;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .topic-strip > *, .pi-layout > *, .intro-split > * { min-width: 0; }

/* ---------- Card (Research topics etc.) ---------- */
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--blue); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-media { aspect-ratio: 16/10; background: var(--light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.card-media.cover img { object-fit: cover; }
.card-media.placeholder { color: var(--muted); font-size: 0.86rem; font-weight: 600; flex-direction: column; gap: 6px; }
.card-media.placeholder .icon { font-size: 2rem; }
.card-body { padding: 30px 26px 28px; }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }
.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.placeholder-text { color: var(--muted) !important; font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.93rem;
  transition: opacity 0.2s, transform 0.15s; cursor: pointer; text-decoration: none; border: 2px solid transparent;
}
.btn:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-dark { border-color: var(--border); color: var(--navy); }

/* ---------- Person cards (Members / PI) ---------- */
.person-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
  padding: 30px 20px 24px; transition: transform 0.2s;
}
.person-card:hover { transform: translateY(-4px); }
.person-photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo.placeholder { display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.6rem; font-weight: 700; }
.person-body { padding: 0; }
.person-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.person-role { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.person-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.person-tags span { font-size: 0.72rem; background: var(--light); color: var(--muted); padding: 3px 10px; border-radius: 20px; }
.person-body .email { font-size: 0.84rem; color: var(--muted); word-break: break-all; }
.person-body .email a { color: var(--blue); }

/* ---------- PI profile ---------- */
.pi-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .pi-layout { grid-template-columns: 1fr; } }
.pi-photo {
  border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1; width: 220px; margin: 0 auto;
  background: linear-gradient(135deg, var(--sky), var(--blue)); display: flex; align-items: center; justify-content: center; color: var(--white);
}
.pi-photo img { width: 100%; height: 100%; object-fit: cover; }
.pi-photo .initials { font-size: 3rem; font-weight: 800; }
.pi-name { font-size: 1.7rem; color: var(--navy); margin-bottom: 2px; text-align: center; }
@media (min-width: 821px) { .pi-name { text-align: left; } }
.pi-title { color: var(--muted); margin-bottom: 22px; font-size: 1rem; text-align: center; }
@media (min-width: 821px) { .pi-title { text-align: left; } }

.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.contact-row .contact-icon { font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.contact-row h5 { font-size: 0.78rem; color: var(--muted); font-weight: 700; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-row p { font-size: 0.95rem; color: var(--text); margin-bottom: 0; }
.contact-row a { color: var(--blue); }
.pi-contact-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.timeline li {
  padding: 18px 22px; background: var(--white); border-left: 4px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); font-size: 0.95rem; color: var(--text);
}
.timeline .yr { display: block; font-weight: 700; color: var(--blue); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }

.subhead { font-size: 1.15rem; color: var(--navy); margin: 0 0 16px; padding-top: 34px; }
.subhead:first-of-type { padding-top: 0; }

/* ---------- Publications ---------- */
.pub-year { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 42px 0 16px; }
.pub-year:first-of-type { margin-top: 0; }
.pub-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pub-item {
  padding: 20px 24px; background: var(--white); border-left: 4px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); font-size: 0.94rem; color: var(--text);
}
.pub-item .pi-name-mark { font-weight: 700; color: var(--navy); }
.pub-item .journal { font-weight: 600; color: var(--blue); }
.pub-item .badge {
  display: inline-block; margin-left: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: #2e7d32; background: #e8f5e9; padding: 2px 9px; border-radius: 20px; vertical-align: 1px;
}
.pub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pub-jump a {
  border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; text-decoration: none; font-size: 0.86rem;
  font-weight: 600; color: var(--muted);
}
.pub-jump a:hover { background: var(--light); text-decoration: none; }

/* ---------- Workspace status widget ---------- */
.ws-status { padding: 24px 0 40px; border-bottom: 1px solid var(--border); }
.ws-status-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ws-status-head h2 { font-size: 1.15rem; color: var(--navy); margin: 0; }
.ws-status-updated { font-size: 0.76rem; color: var(--muted); }
.ws-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 780px) { .ws-columns { grid-template-columns: 1fr; } }
.ws-col-title { font-size: 0.8rem; color: var(--muted); font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .02em; }
.ws-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-item {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
}
.ws-item a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.ws-item a:hover .ws-item-title { text-decoration: underline; }
.ws-item-title { font-size: 0.86rem; font-weight: 600; }
.ws-badge { font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.ws-badge-open { background: rgba(45,164,78,0.14); color: #2da44e; }
.ws-badge-closed { background: rgba(110,110,110,0.14); color: var(--muted); }
.ws-badge-answered { background: rgba(9,105,218,0.14); color: var(--blue); }
.ws-chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ws-chip { font-size: 0.72rem; background: var(--white); border: 1px solid var(--border); color: var(--text); padding: 3px 9px; border-radius: 20px; }
.ws-empty { font-size: 0.82rem; color: var(--muted); padding: 4px 2px; }
.ws-purchase { font-size: 0.86rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- Current issues (news-item style) ---------- */
.issue-card { padding: 32px 0; border-bottom: 1px solid var(--border); }
.issue-card:last-child { border-bottom: none; }
.issue-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.issue-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.issue-body > ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 0.93rem; }
.issue-body > ul li { margin-bottom: 6px; }

.status-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 20px; margin-bottom: 6px;
}
.status-open { background: #fff8e1; color: #e65100; }
.status-progress { background: #e3f2fd; color: #1565c0; }
.status-done { background: #e8f5e9; color: #2e7d32; }

.notice-box {
  border: 1px dashed var(--border); background: var(--light); border-radius: var(--radius);
  padding: 18px 22px; font-size: 0.92rem; color: var(--muted); margin-top: 20px;
}

.issue-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--light); color: var(--navy-2); font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.issue-toggle:hover { background: #e9edf2; }
.issue-toggle-icon { transition: transform 0.2s ease; }
.issue-card.is-open .issue-toggle-icon { transform: rotate(180deg); }
.issue-card.is-open .issue-toggle { background: var(--navy); color: #fff; }

/* -- issue detail content (extracted from source PDFs) -- */
.issue-detail { display: none; margin-top: 20px; }
.issue-card.is-open .issue-detail { display: block; }
.detail-caption { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.detail-subhead { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.detail-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.9rem; }
.detail-list li { margin-bottom: 6px; }
.detail-source { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 10px; }

.stat-mini-grid { margin-bottom: 20px; }
.stat-box { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-align: center; }
.stat-num { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }
.stat-sub { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }

.spec-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; align-items: start; }
.spec-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
@media (max-width: 780px) { .spec-columns, .spec-columns-2 { grid-template-columns: 1fr; } }

.spec-highlight { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.spec-highlight-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.12); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.spec-highlight-value { font-size: 1.7rem; font-weight: 800; }
.spec-highlight-sub { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.spec-columns .spec-highlight { margin-bottom: 0; }
.spec-dl { margin: 0; }
.spec-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; }
.spec-dl dt { color: rgba(255,255,255,0.6); font-weight: 400; }
.spec-dl dd { margin: 0; font-weight: 700; text-align: right; }
.spec-footnote { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin: 10px 0 0; }

.spec-side { display: flex; flex-direction: column; gap: 14px; }
.wiring-diagram { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.wiring-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; }
.wiring-node { background: var(--navy-2); color: #fff; border-radius: 6px; padding: 8px 10px; text-align: center; flex: 0 0 30%; font-weight: 600; line-height: 1.3; }
.wiring-arrow { flex: 1; text-align: center; color: var(--muted); font-size: 0.7rem; white-space: nowrap; }

.callout-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; background: var(--white); }
.callout-title { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.callout-value { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.callout-sub { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.data-table th, .data-table td { padding: 9px 10px; text-align: center; border-bottom: 1px solid var(--border); }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.data-table td:first-child, .data-table th:first-child { text-align: left; }
.data-table tr.best { background: #e8f5e9; font-weight: 700; }
.data-table td.warn { color: #c62828; font-weight: 700; }
.data-table-wrap { overflow-x: auto; }

.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step-list li { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.76rem; font-weight: 700;
}
.step-list strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.step-list p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.pipe-diagram {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: 1; margin: 0 auto 12px;
  border: 1px dashed var(--border); border-radius: 50%;
}
.pipe-diagram .plume {
  position: absolute; left: 50%; top: 6%; width: 22%; height: 46%; transform: translateX(-50%);
  background: linear-gradient(to top, rgba(230,81,0,0.28), rgba(230,81,0,0.04));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.pipe-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30%; height: 30%; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.7rem; font-weight: 700; line-height: 1.2;
}
.sensor-node {
  position: absolute; background: var(--navy-2); color: #fff; font-size: 0.66rem; font-weight: 700;
  padding: 4px 7px; border-radius: 5px; white-space: nowrap;
}
.sensor-45 { top: 12%; right: 2%; }
.sensor-135 { top: 12%; left: 2%; }
.sensor-225 { bottom: 12%; left: 2%; }
.sensor-315 { bottom: 12%; right: 2%; }
.pipe-radius-label { display: block; text-align: center; font-size: 0.72rem; color: var(--muted); }

.analysis-list { display: flex; flex-direction: column; gap: 14px; }
.analysis-item { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.analysis-title { font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.analysis-item p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.conclusion-box { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: var(--radius); padding: 14px 20px; font-size: 0.88rem; color: #1b5e20; margin-top: 20px; }
.conclusion-note { display: block; font-size: 0.76rem; color: #2e7d32; margin-top: 4px; }

.issue-figure { margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 480px; }
.issue-figure img { width: 100%; display: block; }
.issue-figure figcaption { padding: 8px 14px; font-size: 0.78rem; color: var(--muted); background: var(--light); border-top: 1px solid var(--border); }

.team-grid { margin-top: 18px; }
.team-card { border-radius: var(--radius); padding: 18px 20px; border-left: 4px solid; }
.team-card h4 { font-size: 0.92rem; color: var(--navy); margin-bottom: 8px; }
.team-card ul { margin: 0 0 10px; padding-left: 18px; font-size: 0.82rem; color: var(--muted); }
.team-card ul li { margin-bottom: 5px; }
.team-sched { font-size: 0.74rem; color: var(--muted); margin: 0; padding-top: 8px; border-top: 1px dashed var(--border); }
.team-green { background: #e8f5e9; border-left-color: #2e7d32; }
.team-blue { background: #e3f2fd; border-left-color: #1565c0; }
.team-orange { background: #fff8e1; border-left-color: #e65100; }
.team-red { background: #ffebee; border-left-color: #c62828; }
.team-flow-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* ---------- News ---------- */
.news-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 720px) { .news-gallery { grid-template-columns: 1fr 1fr; } }
.news-gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow);
}
.news-gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.news-gallery figcaption { padding: 10px 14px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.calendar-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.calendar-wrap iframe { width: 100%; height: 560px; border: 0; display: block; }

/* ---------- Recruit box ---------- */
.recruit {
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; box-shadow: var(--shadow);
}
@media (max-width: 780px) { .recruit { grid-template-columns: 1fr; padding: 32px 26px; } }
.recruit h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--white); }
.recruit p { color: rgba(255, 255, 255, 0.7); }
.recruit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recruit-list li { background: rgba(255, 255, 255, 0.06); border-radius: var(--radius); padding: 12px 16px; font-size: 0.92rem; }
.recruit-list b { color: var(--sky); font-weight: 700; }

/* ---------- Two-col intro (Home) ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .intro-split { grid-template-columns: 1fr; } }
.intro-split .lang-kr { color: var(--muted); font-size: 0.98rem; }

.topic-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 820px) { .topic-strip { grid-template-columns: 1fr; } }
.topic-panel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border-top: 4px solid var(--blue); }
.topic-panel .cap { padding: 20px 22px; }
.topic-panel .cap h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--navy); }
.topic-panel .cap p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }
.topic-panel .cap.red h3 { color: var(--accent); }
.topic-panel .cap.blue h3 { color: var(--blue); }
.topic-img { background: var(--light); aspect-ratio: 16/9; position: relative; overflow: hidden; }
.topic-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.topic-img.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: 0.86rem; font-weight: 600;
}
.topic-img.placeholder .icon { font-size: 2.2rem; }

.topic-img.crossfade img {
  position: absolute; inset: 0;
  opacity: 0;
  animation-name: crossfade-cycle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.topic-img.crossfade.crossfade-2img img { animation-name: crossfade-cycle-2img; }
@keyframes crossfade-cycle {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  25% { opacity: 1; }
  37.5% { opacity: 0; }
  100% { opacity: 0; }
}
/* Wider active window for 2-image galleries: with only 2 slots, the 4-slot
   percentages above leave a blank gap between fades, so this variant keeps
   each image visible long enough for the next one to overlap it. */
@keyframes crossfade-cycle-2img {
  0% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 1; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: #07111c; color: rgba(255, 255, 255, 0.45); text-align: center; padding: 40px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 18px; }
.footer-brand {
  width: 96px; height: 34px; margin: 0 auto 6px; display: block;
}
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--sky); }
.footer-meta { font-size: 0.85rem; margin-top: 14px; }
.footer-meta span:first-child::after { content: " · "; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.divider { height: 1px; background: var(--border); margin: 48px 0; border: 0; }
