/* ==========================================================================
   K-정책금융연구소 홈페이지 (Figma 선택 섹션 변환)
   폰트: 본문은 Spoqa Han Sans Neo, 제목은 Paperozi(Paperlogy) — 아래
   @font-face/@import로 적용. Y_Universe는 라이선스 폰트 파일이 없어 시스템
   폰트로 폴백 처리했습니다.
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/css/SpoqaHanSansNeo.css');

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'LineSeed';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Th.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'LineSeed';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Rg.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'LineSeed';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/LINESeedKR-Bd.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --primary: #5A81FA;
  --secondary: #2B308B;
  --gray-900: #1F1F1F;
  --gray-800: #4A4F66;
  --gray-700: #696E82;
  --gray-400: #AAB1CD;
  --gray-600: #7F849B;
  --gray-500: #949BB4;
  --gray-50: #F4F6FB;
  --blue-100: #CEDEFF;
  --gray-200: #E2E6F2;
  --gray-100: #ECEEF6;
  --blue-50: #F2F4FF;
  --white: #FFFFFF;

  --font-body: 'Spoqa Han Sans Neo', 'LineSeed', 'LINE Seed Sans KR', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-heading: 'Paperozi', var(--font-body);
  --font-display: 'Y_Universe', 'Paperozi', var(--font-body);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

ul, p, h1, h2, h3 { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1176px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ---------- Header ---------- */
.top-header {
  height: 120px;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  z-index: 50;
}

.top-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  position: relative;
  width: 200px;
  height: 50.251px;
  flex-shrink: 0;
}
.logo__mark { position: absolute; left: 0; bottom: 17.28px; width: 24.977px; height: 21.866px; }
.logo__text { position: absolute; left: 25.03px; bottom: 15.72px; width: 175.394px; height: 23.971px; }
.logo__sub  { position: absolute; left: 36.63px; bottom: 0; width: 41.097px; height: 10.8px; }

.gnb ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
.gnb a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  white-space: nowrap;
}
/* Active top-level menu is driven by <body data-nav="..."> so the shared
   header partial (partials/header.html) never needs a per-page edit. */
body[data-nav="about"] .gnb a[data-nav="about"],
body[data-nav="research"] .gnb a[data-nav="research"],
body[data-nav="outcomes"] .gnb a[data-nav="outcomes"],
body[data-nav="news"] .gnb a[data-nav="news"],
body[data-nav="disclosure"] .gnb a[data-nav="disclosure"] { color: var(--primary); }

.gnb__has-dropdown { position: relative; }
.gnb__has-dropdown .dropdown {
  /* Starts flush against the menu item (no gap) so the mouse never
     leaves this box on the way down; the visual offset lives on
     .dropdown__panel's margin-top instead, which keeps this element's
     hoverable area continuous from the nav item to the panel. */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 143px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease;
}
.gnb__has-dropdown:hover .dropdown,
.gnb__has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}
.dropdown__panel {
  margin-top: 17px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.1);
}
.dropdown__panel a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  white-space: nowrap;
}

/*
.dropdown__panel a:first-child {
  font-weight: 700;
  color: var(--primary);
}
*/
.search {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.search span {
  font-size: 14px;
  color: var(--gray-900);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: #3E5281;
}
.hero__photo {
  position: absolute;  
  width: 100%;
  max-width: none;
  height: 440px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 109px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--secondary);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.btn--primary {
  margin-top: 36px;
  width: 227px;
  height: 48px;
  background: var(--secondary);
  color: var(--white);
}

/* ---------- Intro cards ---------- */
.intro { padding: 56px 0; }
.intro__list {
  display: flex;
  gap: 24px;
}
.intro__card {
  position: relative;
  width: 376px;
  height: 440px;
  flex: 1 1 376px;
  border-radius: 24px;
  overflow: hidden;
}
.intro__card--01 { background: linear-gradient(180deg, #F1FBFF, #D5FAFF); }
.intro__card--02 { background: linear-gradient(180deg, #F6EFF0 0%, #D5C3C3 50%, #F6EFF0 100%); }
.intro__card--03 { background: linear-gradient(180deg, #EEF7FF 0%, #C3E1FF 50%, #EEF7FF 100%); }

.intro__label {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--white);
  border-radius: 99px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gray-900);
}
.intro__photo {
  position: absolute;
  object-fit: contain;
}
.intro__card--01 .intro__photo { left: 95.8px; top: 89.36px; width: 156.38px; height: 196.07px; }
.intro__card--02 .intro__photo { left: 116.8px; top: 102.1px; width: 158.4px; height: 151.2px; object-fit: cover; }
.intro__card--03 .intro__photo { left: 90px; top: 102.88px; width: 196px; height: 149.6px; object-fit: cover; }

.intro__text {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 296px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.intro__text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
}
.intro__text p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.4;
  color: var(--gray-900);
}

/* ---------- Section title (shared) ---------- */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 32px;
}

/* ---------- Media ---------- */
.media {
  background: var(--blue-50);
  padding: 64px 0;
}
.media__list {
  display: flex;
  gap: 24px;
}
.media__list li { flex: 1 1 376px; }
.media__list img {
  width: 100%;
  height: 213px;
  object-fit: cover;
  border-radius: 24px;
}
.media__list p {
  margin-top: 32px;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Notice / Report board ---------- */
.board { padding: 80px 0 96px; }
.board__grid {
  display: flex;
  gap: 56px;
}
.board__col { flex: 1 1 560px; min-width: 0; }

.board__list { margin-bottom: 40px; }
.board__list li {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.board__list--first-dark li:first-child { border-top-color: var(--gray-900); }

.board__list h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board__list p {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
}
.date img { width: auto; height: 16px; display: block; margin-bottom:3px;}

.btn--more {
  display: flex;
  width: 100%;
  height: 56px;
  background: var(--gray-100);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--gray-900);
}

/* ---------- Footer ---------- */
.footer { padding-bottom: 40px; }

.footer-top-band {
  background: var(--blue-50);
  border-bottom: 1px solid var(--gray-200);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-logo { position: relative; width: 230px; height: 22px; flex-shrink: 0; }
.footer-logo__mark { position: absolute; left: 0; top: 0.5px; width: 22.402px; height: 20.068px; }
.footer-logo__text { position: absolute; left: 22.45px; top: 0; width: 157.31px; height: 22px; }
.footer-logo__sub  { position: absolute; left: 185.87px; top: 9.02px; width: 44.126px; height: 11.596px; }

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 4px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-800);
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
}

.footer-info { color: var(--gray-700); font-size: 14px; letter-spacing: -0.5px; }
.footer-info p { margin-bottom: 10px; }
.footer-info__name { font-weight: 700; }
.footer-info__row { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-info__row:last-of-type { margin-bottom: 40px; }
.footer-info__row span { display: inline-flex; gap: 10px; white-space: nowrap; }
.footer-info__row em { font-style: normal; }
.footer-info__row b { font-weight: 700; }
.footer-info__copy { margin-bottom: 0; }

.footer-partners { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.footer-partners img:first-child { height: 36px; width: auto; }
.footer-partners img:last-child { height: 16.6px; width: auto; }

/* ---------- Small-screen fallback (not part of the selected desktop design) ---------- */
@media (max-width: 1279px) {
  .intro__list,
  .media__list { flex-wrap: wrap; }
  .board__grid { flex-direction: column; }
}

/* ==========================================================================
   Sub page (e.g. 설립 취지)
   ========================================================================== */

.subpage-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #28385E;
}
.subpage-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .56;
}
.subpage-banner__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  color: var(--white);
}
.subpage-banner__eyebrow {
  /* .subpage-banner__inner is also .container: an absolutely positioned
     child is placed against its padding box, which starts at the
     container's outer edge — so this must repeat the container's own
     inline padding to land flush with the rest of the page's content. */
  position: absolute;
  left: 40px;
  top: 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
}
.subpage-banner__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 56px;
  letter-spacing: -1px;
  text-align: center;
}

.breadcrumb-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 40px;
  margin-bottom: 64px;
}
/* Pulls the title card up so it slightly overlaps the banner's bottom edge,
   matching the reference: a white rounded-top card peeking over the photo. */
.breadcrumb-row--overlap {
  position: relative;
  z-index: 3;
  background: var(--white);
  margin-top: -40px;
  padding-top: 56px;
  /* White card runs wider than the standard content column: extend past
     the container's own edges, then pad back in by the same amount so
     the title/breadcrumb text still lines up with the rest of the page. */
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}
.page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -2px;
  color: var(--gray-900);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  font-size: 14px;
  color: var(--gray-600);
  white-space: nowrap;
}
.breadcrumb strong {
  font-weight: 700;
  color: var(--gray-800);
}
.breadcrumb__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-500);
  display: inline-block;
}

.subpage-sections {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-bottom: 96px;
}

.sub-section__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.sub-section__body p {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--gray-800);
  max-width: 800px;
}

/* 연구소의 설립 배경과 필요성 */
.compare {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.compare__card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 320px;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  color: var(--white);
}
.compare__card--gray { background: var(--gray-500); }
.compare__card--primary { background: var(--secondary); }
.compare__card h4 {
  font-weight: 300;
  font-size: 40px;
  letter-spacing: -1px;
  margin-top:5px;
  margin-bottom: 30px;
}
.compare__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
}
.compare__card ul li {
  padding-left: 1em;
  text-indent: -1em;
}
.compare__card ul li::before { content: "ㆍ "; }
.compare__arrow {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
}

/* 연구소 역할 */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}
.role-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px;
  border: 1px solid var(--blue-100);
  border-radius: 24px;
}
.role-card__num {
  flex-shrink: 0;
  width: 88px;
  text-align: center;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-200);
}
.role-card__body {
  flex: 1 1 0;
  min-width: 0;
  color: var(--gray-800);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.role-card__body h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
}
.role-card__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
}
.role-card__body ul li {
  padding-left: 1em;
  text-indent: -1em;
}
.role-card__body ul li::before { content: "ㆍ "; }

/* 연구소 주요업무 */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}
.work-item h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.work-item > ul {
  list-style: disc;
  margin: 0;
  padding-left: 24px;
  color: var(--gray-800);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
}
.work-item__sub + .work-item__sub { margin-top: 24px; }
.work-item__sub h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.work-item__sub ul {
  list-style: disc;
  margin: 0;
  padding-left: 24px;
  color: var(--gray-800);
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
}

.work-note { color: var(--gray-600); }
.work-note h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.work-note__caption {
  font-size: 14px;
  margin-bottom: 24px;
}
.work-note__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-note__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.work-note__grid ul {
  list-style: disc;
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.5px;
}
.work-note__grid ul:last-of-type { margin-bottom: 0; }

@media (max-width: 1023px) {
  .compare { flex-direction: column; height: auto; }
  .compare__arrow { transform: rotate(90deg); }
  .role-grid,
  .work-note__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Notice list (공지사항)
   ========================================================================== */

.notice-page { padding-bottom: 96px; }

.notice-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 240px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}
.notice-search input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.notice-search input::placeholder { color: var(--gray-700); }
.notice-search button {
  display: flex;
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.notice-list { border-top: 1px solid var(--gray-200); }
.notice-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.notice-tag {
  flex-shrink: 0;
  min-width: 100px;
  text-align: center;
  padding: 8px 16px;
  border: 1px solid var(--blue-100);
  border-radius: 99px;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--primary);
}
.notice-title {
  flex: 1 1 0;
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-date {
  flex-shrink: 0;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.pager__btn,
.pager__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.pager__btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.pager__btn--next img { transform: rotate(180deg); }
.pager__num {
  background: var(--gray-50);
  color: var(--gray-400);
}
.pager__num--active {
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
}

/* ==========================================================================
   Notice detail (공지사항 상세)
   ========================================================================== */

.notice-detail { padding-bottom: 96px; }

.notice-detail hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}

.notice-detail__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
}
.notice-detail__head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
}
.notice-detail__meta {
  display: flex;
  gap: 21px;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
}

.notice-detail__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
}
.notice-detail__body p {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}

.notice-detail__actions {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}
.btn--list {
  width: 248px;
  height: 48px;
  border-radius: 16px;
  background: var(--secondary);
  color: var(--white);
}

/* ==========================================================================
   Press release list (언론보도)
   ========================================================================== */

.press-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}
.press-grid {
  display: grid;  
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0;
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  min-width:0px;
}
.press-card img {
/*  width: 100%;*/
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.press-card__date {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
}
.press-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.press-card__excerpt {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--gray-700);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .press-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Media list (미디어)
   ========================================================================== */

.media-grid {
  display: grid;  
  gap: 40px;
  padding: 56px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: inherit;
    min-width: 0;
}
.media-card__thumb {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-500);
}
.media-card__thumb--placeholder { background: var(--gray-400); }
.media-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
}
.media-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .media-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   History timeline (연혁)
   ========================================================================== */

.history {
  display: flex;
  flex-direction: column;
  padding: 0 0 96px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.history__group {
  display: flex;
  gap: 64px;
}
.history__year {
  flex-shrink: 0;
  width: 160px;
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--gray-200);
  height:150px;
}

.history__timeline {
  flex: 0 0 auto;
  width: 640px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--gray-200);
}
.history__timeline li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 40px 24px;
}
.history__timeline li:last-child { padding-bottom: 80px; }
.history__timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-800);
}
.history__date {
  flex-shrink: 0;
  width: 90px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.history__desc {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.history__desc-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 640px) {
  .history__group { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==========================================================================
   Board of directors (이사회)
   ========================================================================== */

.board-page { padding: 0 0 96px; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px 32px;
}
.board-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.board-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background: var(--gray-100);
}
.board-card__name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-900);
}
.board-card__name b { font-weight: 700; }

@media (max-width: 1023px) {
  .board-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Directions (찾아오시는 길)
   ========================================================================== */

.directions-page { padding: 0 0 96px; }

.directions-map {
  position: relative;
  height: 640px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 50px;
}
.directions-map img { width: 100%; height: 100%; object-fit: cover; }

.map-marker {
  position: absolute;
  left: 52%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 185px;
}
.map-marker__pin { width: 100%; }
.map-marker__content {
  position: absolute;
  inset: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.map-marker__mark { height: 16px !important; width: auto !important; }
.map-marker__text { height: 18px !important; width: auto !important; }

.directions-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.directions-info li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.directions-info__label {
  flex-shrink: 0;
  width: 128px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.directions-info__label img { width: 20px; height: 20px; }
.directions-info__value {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}

@media (max-width: 640px) {
  .directions-map { height: 320px; }
  .directions-info li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ==========================================================================
   Articles of incorporation (정관)
   ========================================================================== */

.articles { padding: 0 0 96px; }

.articles__intro { margin-bottom: 32px; }
.articles__intro h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  text-align: center;
}

.articles__section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}
.articles__section:first-of-type { border-top: none; }
.articles__section--date { justify-content: flex-end; }

.articles__chapter {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
}

.articles__body {
  flex-shrink: 0;
  width: 800px;
  max-width: 100%;
}
.articles__body p {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}

@media (max-width: 900px) {
  .articles__section { flex-direction: column; gap: 12px; }
}

/* ==========================================================================
   Greeting (인사말)
   ========================================================================== */

.greeting-page { padding-bottom: 96px; }

.greeting {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.greeting__photo {
  flex-shrink: 0;
  width: 320px;
  border-radius: 24px;
  object-fit: cover;
}
.greeting__content {
  flex: 1 1 0;
  min-width: 0;
}
.greeting__headline {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 32px;
}
.greeting__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.greeting__body p {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.greeting__signature {
  margin-top: 40px;
  text-align: right;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.5px;
  color: var(--gray-800);
}
.greeting__signature strong { font-weight: 700; }

@media (max-width: 800px) {
  .greeting { flex-direction: column; gap: 32px; }
  .greeting__photo { width: 100%; max-width: 320px; }
}

