/* =========================================================
   정보전자재료연구실 — 공통 스타일
   Information & Electronic Materials Research Laboratory
   ========================================================= */

/* --- Yonsei 전용 서체 --- */
@font-face {
  font-family: "Yonsei";
  src: url("fonts/YonseiLight.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yonsei";
  src: url("fonts/YonseiBold.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #003777;        /* Yonsei Blue (official, sampled from UI) */
  --navy-dark: #002a5c;
  --blue: #14508f;
  --accent: #2f6db5;
  --light: #f4f7fb;
  --gray: #5b6b7e;
  --line: #e2e8f0;
  --text: #1c2733;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 55, 119, 0.08);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Yonsei", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  color: var(--text); line-height: 1.7; background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word;
  font-size: 19.4px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand .ko { font-size: 21.8px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.brand .en { font-size: 13.3px; color: var(--gray); letter-spacing: 0.2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { display: block; padding: 10px 16px; font-size: 18.2px; font-weight: 600; color: var(--text); border-radius: 8px; transition: all 0.15s ease; }
.nav-links a:hover { background: var(--light); color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { content: ""; display: block; height: 2px; background: var(--blue); border-radius: 2px; margin-top: 4px; }
.has-sub > .submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 160px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s ease; list-style: none; }
.has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { font-size: 16.9px; padding: 9px 14px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 31.5px; color: var(--navy); }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(47,141,228,0.5), transparent 70%); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; padding: 110px 24px 120px; max-width: var(--maxw); margin: 0 auto; }
.hero .eyebrow { font-size: 16.9px; letter-spacing: 3px; text-transform: uppercase; color: #bdd6f5; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: 53.2px; font-weight: 800; line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 16px; }
.hero .sub { font-size: 21.8px; color: #d8e6f8; max-width: 640px; }
.hero .sub .ko-line { white-space: nowrap; display: inline-block; font-size: clamp(15.7px, 4.4vw, 21.8px); }
.hero .btns { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 18.2px; transition: all 0.15s ease; }
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); padding: 64px 0; }
.page-hero h1 { font-size: 41.1px; font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: #cfe0f5; margin-top: 8px; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--light); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .tag { font-size: 15.7px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.section-head h2 { font-size: 36.3px; font-weight: 800; color: var(--navy); margin-top: 8px; letter-spacing: -0.5px; }
.section-head p { color: var(--gray); margin-top: 12px; max-width: 620px; margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdddf0; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26.6px; font-weight: 800; margin-bottom: 18px; }
.card h3 { font-size: 21.8px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 18.2px; }
.imgph { width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dbe6f4, #eef3fa); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #98aec9; font-size: 15.7px; font-weight: 600; }

/* Members */
.prof { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.prof .photo { aspect-ratio: 3 / 4; }
.prof h2 { font-size: 31.5px; color: var(--navy); }
.prof .role { color: var(--accent); font-weight: 700; margin: 4px 0 16px; }
.prof .contact { font-size: 16.9px; color: var(--gray); margin-bottom: 24px; }
.prof .contact span { display: block; }
.block-title { font-size: 19.4px; font-weight: 800; color: var(--navy); margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.cv-list { list-style: none; }
.cv-list li { font-size: 17.6px; color: var(--text); padding: 5px 0; padding-left: 16px; position: relative; }
.cv-list li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--light); border: 1px solid var(--line); color: var(--blue); font-size: 15.7px; font-weight: 600; padding: 6px 12px; border-radius: 20px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all 0.2s ease; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member .photo { aspect-ratio: 1 / 1; border-radius: 0; }
.member .body { padding: 18px 14px 22px; }
.member h4 { font-size: 20.6px; color: var(--navy); }
.member .deg { color: var(--accent); font-size: 15.7px; font-weight: 700; margin: 4px 0 6px; }
.member .mail { font-size: 15.2px; color: var(--gray); word-break: break-all; }

/* Publications */
.pub { display: grid; grid-template-columns: 180px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-items: center; transition: all 0.2s ease; }
.pub:hover { box-shadow: var(--shadow); border-color: #cdddf0; }
.pub .thumb { aspect-ratio: 4 / 3; }
.pub .title { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.pub .authors { color: var(--text); font-size: 16.9px; margin-top: 8px; }
.pub .venue { color: var(--accent); font-size: 16.9px; font-weight: 600; margin-top: 4px; }

/* Notice table */
.notice-table { width: 100%; border-collapse: collapse; }
.notice-table th, .notice-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 18.2px; }
.notice-table th { color: var(--navy); font-weight: 700; background: var(--light); }
.notice-table td.date { color: var(--gray); width: 140px; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cdd9e8; padding: 48px 0 36px; font-size: 16.9px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.site-footer h3 { color: #fff; font-size: 19.4px; margin-bottom: 12px; }
.site-footer p { margin: 3px 0; }
.site-footer .copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: #8da4c0; font-size: 15.7px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .prof { grid-template-columns: 1fr; }
  .prof .photo { max-width: 280px; margin: 0 auto; }
  .hero h1 { font-size: 41.1px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .has-sub > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 12px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 1fr; }
  .pub .thumb { max-width: 220px; }
}

/* ---------------- Publication list ---------------- */
.pub-wrap { max-width: 920px; margin: 0 auto; }
.pub-year {
  font-size: 26.6px; font-weight: 800; color: var(--blue);
  margin: 34px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--line);
}
.pub-list { list-style: none; counter-reset: none; padding: 0; }
.pub-list li {
  font-size: 18.2px; line-height: 1.65; color: var(--text);
  padding: 12px 0 12px 8px; border-bottom: 1px solid var(--line);
}
.pub-list li em { color: var(--gray); }
.pub-list a.doi {
  display: inline-block; margin-left: 6px; font-size: 14.5px; font-weight: 700;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 5px; padding: 1px 7px;
}
.pub-list a.doi:hover { background: var(--accent); color: #fff; }

/* projects list */
.proj { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 20px 22px; }
.proj h4 { color: var(--navy); font-size: 20px; }
.proj .period { color: var(--accent); font-weight: 700; font-size: 15.7px; margin: 4px 0 8px; }
.proj p { color: var(--gray); font-size: 17.6px; }

/* professor photo */
.prof-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

/* member photo */
.member-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* home cards with image */
.card.has-img { padding: 0; overflow: hidden; }
.card-thumb { aspect-ratio: 16 / 10; background: #ffffff; border-bottom: 1px solid var(--line); }
.card-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; }
.card-body { padding: 24px 26px 28px; }
.card.has-img .ico { margin-top: -42px; position: relative; box-shadow: 0 4px 12px rgba(11,46,89,0.25); }

/* clickable images + lightbox */
.card-thumb img, .prof-photo, .member-photo { cursor: zoom-in; }

/* clickable images + lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(9,20,36,0.9); display: flex;
  align-items: center; justify-content: center; padding: 28px; z-index: 1000;
  opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 18px; right: 26px; background: none; border: none;
  color: #fff; font-size: 44px; line-height: 1; cursor: pointer; }

/* ============================================================
   Yonsei official-tone redesign
   ============================================================ */

/* Header: emblem+wordmark logo */
.site-header { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,55,119,0.04); }
.nav { height: 76px; }
.brand { flex-direction: row; align-items: center; gap: 0; }
.brand img.logo { height: 46px; width: auto; display: block; }
.brand .lab { display: flex; flex-direction: column; line-height: 1.22;
  margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.brand .lab .ko { font-size: 19.2px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; white-space: nowrap; }
.brand .lab .en { font-size: 13.8px; color: var(--gray); letter-spacing: 0.1px; margin-top: 2px; white-space: nowrap; }
.brand .lab { overflow: hidden; }
/* 중간 너비(메뉴가 빠듯한 구간)에서는 로고 옆 연구실명을 숨겨 겹침 방지 */
@media (max-width: 1024px) { .brand .lab { display: none; } }
.nav-links a { font-weight: 700; color: var(--navy); }
.nav-links a:hover { background: var(--light); color: var(--blue); }
.submenu a { color: var(--navy); }

/* Hero: emblem watermark + refinement */
.hero-inner { padding: 118px 24px 126px; }
.hero::before { content: ""; position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  width: min(470px, 44vw); aspect-ratio: 1 / 1; z-index: 0;
  background: url("yonsei_emblem_white.png") center / contain no-repeat; opacity: 0.13; }
.hero .eyebrow { color: #cfe0f7; }
.hero h1 { letter-spacing: -1px; }

/* Section head underline */
.section-head .tag { color: var(--accent); }
.section-head h2::after { content: ""; display: block; width: 46px; height: 3px;
  background: var(--navy); border-radius: 2px; margin: 16px auto 0; }

/* Page hero emblem watermark */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: 270px; height: 270px; background: url("yonsei_emblem_white.png") center / contain no-repeat; opacity: 0.12; }
.page-hero .container { position: relative; z-index: 1; }

/* Cards */
.card { border-radius: 14px; }
.card h3 { letter-spacing: -0.3px; }
.card.has-img .ico { background: linear-gradient(135deg, var(--navy), var(--blue)); }

/* Footer redesign */
.site-footer { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #c8d6ea; padding: 56px 0 34px; }
.footer-brand { display: flex; align-items: center; gap: 18px;
  margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand img { height: 62px; width: auto; }
.footer-brand .txt .ko { font-size: 20.4px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.footer-brand .txt .en { font-size: 13.8px; color: #9fb6d4; letter-spacing: 0.2px; margin-top: 3px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #c8d6ea; }
.site-footer a:hover { color: #fff; }
.site-footer .visits { visibility: hidden; margin-top: 30px; color: #9fb6d4; font-size: 15px; }
.site-footer .visits b { color: #fff; font-weight: 800; }
.site-footer .visits .dot { margin: 0 10px; opacity: 0.5; }
.site-footer .copy { margin-top: 10px; }

@media (max-width: 640px) {
  .brand .lab { display: none; }
  .hero::before { opacity: 0.08; width: 60vw; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   신입생 모집 팝업 (홈 첫 방문 시)
   ============================================================ */
.recruit-modal { position: fixed; inset: 0; z-index: 1200; display: flex;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 20, 44, 0.62); opacity: 0; visibility: hidden;
  transition: opacity .25s ease; }
.recruit-modal.open { opacity: 1; visibility: visible; }
.recruit-box { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.recruit-modal.open .recruit-box { transform: none; }
.recruit-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  border: none; background: none; font-size: 30px; line-height: 1; color: #0b2e59; cursor: pointer; z-index: 2; }
.recruit-head { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: 34px 34px 28px; border-radius: 18px 18px 0 0;
  position: relative; overflow: hidden; }
.recruit-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: url("yonsei_emblem_white.png") center / contain no-repeat; opacity: 0.12; }
.recruit-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 3px; color: #cfe0f7; }
.recruit-head h2 { font-size: 25px; font-weight: 800; line-height: 1.3; margin: 10px 0 8px; letter-spacing: -0.5px; }
.recruit-head p { color: #dbe8fa; font-size: 16px; }
.recruit-items { padding: 22px 30px 6px; }
.recruit-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.recruit-item:last-child { border-bottom: none; }
.recruit-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #eef4fb; color: var(--navy); }
.recruit-ico svg { width: 26px; height: 26px; }
.recruit-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.3px; }
.recruit-item p { font-size: 15.5px; color: var(--text); margin: 2px 0; }
.recruit-item a { color: var(--blue); font-weight: 700; }
.recruit-foot { display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 16px 30px 24px; }
.recruit-foot label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--gray); cursor: pointer; }
.recruit-foot .recruit-dismiss { background: var(--navy); color: #fff; border: none;
  border-radius: 10px; padding: 11px 26px; font-size: 16px; font-weight: 700; cursor: pointer; }
.recruit-foot .recruit-dismiss:hover { background: var(--navy-dark); }
@media (max-width: 560px) {
  .recruit-head { padding: 26px 22px 22px; }
  .recruit-head h2 { font-size: 21px; }
  .recruit-items { padding: 16px 20px 4px; }
  .recruit-foot { padding: 14px 20px 20px; flex-direction: column-reverse; align-items: stretch; }
  .recruit-foot .recruit-dismiss { width: 100%; }
}

/* ============================================================
   공지사항 게시판
   ============================================================ */
.board-wrap { max-width: 920px; margin: 0 auto; }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.board-count { color: var(--gray); font-size: 16px; font-weight: 600; }
.board-admin { display: flex; align-items: center; gap: 8px; }
.board-login { display: flex; gap: 8px; }
.board-login input { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 15px; }
.board-err { color: #c0392b; margin-bottom: 12px; font-size: 15px; }
.btn-fill { background: var(--navy); color: #fff; border: none; border-radius: 9px; padding: 10px 20px; font-size: 15.5px; font-weight: 700; cursor: pointer; display: inline-block; }
.btn-fill:hover { background: var(--navy-dark); }
.btn-line { background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 9px; padding: 9px 18px; font-size: 15.5px; font-weight: 700; cursor: pointer; display: inline-block; }
.btn-line:hover { background: var(--light); }
.btn-line.danger { color: #c0392b; border-color: #eebfb8; }

.board-table { width: 100%; border-collapse: collapse; }
.board-table th { font-size: 15px; color: var(--navy); background: var(--light); border-top: 2px solid var(--navy); padding: 13px 10px; text-align: center; }
.board-table td { font-size: 16px; padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; color: var(--text); }
.board-table .c-title { text-align: left; }
.board-table .c-title a { color: var(--text); font-weight: 600; }
.board-table .c-title a:hover { color: var(--blue); text-decoration: underline; }
.board-table .c-no { width: 70px; color: var(--gray); }
.board-table .c-writer { width: 100px; color: var(--gray); }
.board-table .c-date { width: 120px; color: var(--gray); white-space: nowrap; }
.board-table .c-view { width: 70px; color: var(--gray); }
.board-empty { padding: 48px 0 !important; color: var(--gray); }

.board-pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.board-pager a { min-width: 38px; text-align: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 700; }
.board-pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.board-view h2 { font-size: 26px; color: var(--navy); letter-spacing: -0.5px; }
.board-meta { color: var(--gray); font-size: 15px; margin: 10px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.board-content { font-size: 17px; line-height: 1.85; color: var(--text); min-height: 160px; }
.board-actions { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

.board-form { display: flex; flex-direction: column; gap: 16px; }
.board-form label { display: flex; flex-direction: column; gap: 7px; font-size: 15px; font-weight: 700; color: var(--navy); }
.board-form input, .board-form textarea { border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font-size: 16px; font-family: inherit; }
.board-form textarea { resize: vertical; line-height: 1.7; }
.board-form input:focus, .board-form textarea:focus { outline: none; border-color: var(--accent); }

@media (max-width: 560px) {
  .board-table .c-writer, .board-table .c-view { display: none; }
  .board-login { flex-direction: column; }
}


/* ============================================================
   연구 장비 목록
   ============================================================ */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.equip-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: all .2s ease; }
.equip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdddf0; }
.equip-thumb { aspect-ratio: 4 / 3; background: #f4f7fb; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.equip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equip-noimg { color: #9fb0c4; font-size: 15px; }
.equip-body { padding: 18px 20px 20px; }
.equip-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.equip-specs { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.equip-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .equip-grid { grid-template-columns: 1fr; } }

/* People 구성원 5인 가로 한 줄 배열 (항상 5열 유지) */
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) { .grid-5 { gap: 10px; } .grid-5 .member .body { padding: 12px 6px 14px; } .grid-5 .member h4 { font-size: 15px; } .grid-5 .member .mail { font-size: 11px; } }
