/* ===========================================================
   KNU Zoonotic Virus Lab (인수공통감염병바이러스 실험실)
   Kyungpook National University — shared styles
   Aesthetic: clean scientific / KNU crimson
   =========================================================== */

:root {
  --paper: #fbf7f6;
  --paper-2: #f4ebe9;
  --ink: #241615;
  --ink-soft: #55403d;
  --muted: #927d79;
  --primary: #a8322a;      /* deep crimson */
  --primary-dk: #6d1c16;   /* dark maroon */
  --primary-lt: #c8544a;   /* mid red */
  --accent: #d64f3f;       /* bright warm red */
  --hi: #f3b7ac;           /* light warm highlight */
  --line: #ecdedb;
  --white: #ffffff;
  --shadow: 0 18px 40px -24px rgba(150, 40, 32, 0.45);
  --radius: 14px;
  --maxw: 1140px;
  --display: "Poppins", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { 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(251, 247, 246, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { height: 40px; width: auto; }
.brand .brand-name {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -.2px; color: var(--primary); white-space: nowrap;
}
@media (max-width: 560px) { .brand .brand-name { font-size: 16px; } }
.brand .name { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.15; letter-spacing: .2px; }
.brand .name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }

/* ---------- Nav dropdown (Teams) ---------- */
.has-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-toggle .caret { font-size: 10px; margin-left: 3px; opacity: .7; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 230px; list-style: none;
  background: var(--primary-dk); border-radius: 12px; padding: 8px;
  box-shadow: 0 24px 50px -20px rgba(60, 16, 12, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret,
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown li + li { border-top: 1px solid rgba(255,255,255,.1); }
.dropdown a {
  display: block; padding: 14px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: #f2ded9; white-space: nowrap;
}
.dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dropdown a.active { color: #fff; font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 9px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 80% -10%, color-mix(in srgb, var(--primary-lt) 42%, transparent), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    var(--primary-dk);
  color: #fbeeec;
}
.hero .wrap { position: relative; z-index: 2; padding: 92px 24px 104px; }
.hero .eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--hi); margin-bottom: 22px;
  border-left: 3px solid var(--accent); padding-left: 12px;
}
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06;
  letter-spacing: -.5px; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--hi); }
.hero .subko {
  margin-top: 14px; font-family: var(--sans); font-weight: 600;
  font-size: clamp(18px, 2.4vw, 24px); color: #f3d3cd; letter-spacing: 1px;
}
.hero p.lead {
  margin-top: 24px; max-width: 60ch; font-size: 17.5px;
  color: #f1d5cf;
}
.hero p.lead + p.lead { margin-top: 14px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* decorative helix / neuron lines */
.helix {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  pointer-events: none; color: var(--hi);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(150,40,32,.55); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fbeeec; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Split hero (home) ---------- */
.hero-split {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, var(--white), var(--paper));
}
.hero-split::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 6%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 40%, transparent 90%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 40%, transparent 90%);
}
.hero-split-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: center; padding: 84px 24px 96px;
}

/* decorative influenza virus particles floating in the hero background */
.hero-virus-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-virus-bg .virus { position: absolute; animation: virus-float ease-in-out infinite; }
.hero-virus-bg .v1 { width: 128px; top: 4%; right: 5%; color: var(--primary-lt); opacity: .16; animation-duration: 11s; }
.hero-virus-bg .v2 { width: 76px; top: 52%; right: 24%; color: var(--accent); opacity: .13; animation-duration: 8s; animation-delay: -2s; }
.hero-virus-bg .v3 { width: 56px; top: 16%; left: 3%; color: var(--hi); opacity: .18; animation-duration: 10s; animation-delay: -4s; }
.hero-virus-bg .v4 { width: 96px; bottom: 3%; left: 20%; color: var(--primary); opacity: .12; animation-duration: 12s; animation-delay: -6s; }
.hero-virus-bg .v5 { width: 44px; bottom: 20%; right: 42%; color: var(--accent); opacity: .14; animation-duration: 7s; animation-delay: -1s; }
@keyframes virus-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(10deg); }
}
@media (max-width: 720px) {
  .hero-virus-bg .v3, .hero-virus-bg .v5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-virus-bg .virus { animation: none; }
}
.hero-copy .eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; color: var(--primary-lt);
  background: color-mix(in srgb, var(--primary-lt) 12%, transparent);
  border-radius: 999px; padding: 8px 16px; margin-bottom: 24px;
}
.hero-copy h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.05;
  letter-spacing: -.5px; color: var(--ink); max-width: 14ch;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--primary-lt) 15%, #d64f3f 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .subko {
  margin-top: 14px; font-family: var(--sans); font-weight: 600;
  font-size: clamp(19px, 2.4vw, 26px); color: var(--muted); letter-spacing: 1px;
}
.hero-copy p.lead { margin-top: 22px; max-width: 52ch; font-size: 17.5px; color: var(--ink-soft); }
.hero-copy p.lead + p.lead { margin-top: 14px; }

.hero-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(150, 40, 32, 0.35);
}
.ql-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: 12px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  transition: background .18s, color .18s, transform .18s;
}
.ql-row + .ql-row { border-top: 1px solid var(--line); }
.ql-row .arw { color: var(--muted); font-size: 18px; transition: transform .18s, color .18s; }
.ql-row:hover { background: var(--paper-2); }
.ql-row:hover .arw { transform: translateX(4px); color: var(--primary); }
.ql-row.active {
  background: linear-gradient(100deg, var(--primary) 0%, #c8544a 100%);
  color: #fff; border-top-color: transparent;
}
.ql-row.active + .ql-row { border-top-color: transparent; }
.ql-row.active .arw { color: rgba(255,255,255,.85); }
.ql-row.active:hover { transform: translateY(-1px); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { margin-bottom: 40px; max-width: 64ch; }
.section-head .kicker {
  font-size: 12.5px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.section-head h2 {
  font-family: var(--display); font-weight: 500; letter-spacing: -.4px;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; margin-top: 10px;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.alt-bg { background: var(--paper-2); }

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

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center;
}
.card .icon svg { width: 26px; height: 26px; }
.card .icon.i-indigo { background: #fbeae7; color: #c8544a; }
.card .icon.i-green  { background: #fdeee0; color: #d97a2f; }
.card .icon.i-blue   { background: #e9f1fb; color: var(--primary-lt); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.card .num { font-family: var(--display); font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 1px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Quick links (home) ---------- */
.quick-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.quick-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: #fbeeec;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 9px 18px; transition: background .18s, border-color .18s;
}
.quick-links a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.quick-links a .arw { color: var(--hi); }

/* ---------- About / prose blocks ---------- */
.prose-block { margin-bottom: 14px; }
.prose-block h3 { font-family: var(--display); font-weight: 600; color: var(--primary); font-size: 22px; margin-bottom: 8px; }
.prose-block p { color: var(--ink-soft); font-size: 16.5px; }
.focus-list { list-style: none; display: grid; gap: 14px; }
.focus-list li {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: 10px; padding: 16px 20px; font-size: 15.5px; color: var(--ink-soft);
}
.focus-list li b { color: var(--ink); }

/* ---------- PI profile (matches the .member card format) ---------- */
.pi-card {
  max-width: 480px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.pi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pi-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-size: 56px; font-weight: 500;
}
.pi-photo img { width: 100%; height: 100%; object-fit: cover; }
.pi-info { padding: 28px 32px 34px; }
.pi-info h2 { font-family: var(--display); font-weight: 600; font-size: 27px; }
.pi-info .pi-ko { color: var(--muted); font-size: 16px; margin-top: 2px; }
.pi-info .pi-role { color: var(--accent); font-weight: 600; font-size: 14.5px; margin: 12px 0 5px; }
.pi-info .pi-aff { color: var(--ink-soft); font-size: 15.5px; }
.pi-info .pi-contact { margin-top: 14px; display: grid; gap: 4px; font-size: 15.5px; }
.pi-info .pi-contact a { color: var(--primary); font-weight: 600; }
.pi-block { margin-top: 30px; }
.pi-block h3 {
  font-family: var(--display); font-weight: 600; color: var(--primary);
  font-size: 19px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.pi-block ul { list-style: none; display: grid; gap: 10px; }
.pi-block ul li { font-size: 15.5px; color: var(--ink-soft); padding-left: 16px; position: relative; }
.pi-block ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pi-block ul li b { color: var(--ink); }

/* ---------- Members ---------- */
.member-section-title {
  font-family: var(--display); font-weight: 600; font-size: 22px;
  color: var(--primary); margin: 44px 0 22px; display: flex; align-items: center; gap: 10px;
}
.member-section-title:first-child { margin-top: 0; }
.member-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.member {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, box-shadow .18s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member .photo {
  aspect-ratio: 1/1; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  color: #fff; font-family: var(--display); font-size: 44px; font-weight: 500;
}
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .body { padding: 20px; }
.member .body h4 { font-family: var(--display); font-size: 19px; font-weight: 600; }
.member .role { color: var(--accent); font-weight: 600; font-size: 13.5px; margin: 2px 0 10px; }
.member .body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.member .body a { color: var(--primary); font-weight: 600; word-break: break-all; }
.member ul { list-style: none; margin-top: 10px; display: grid; gap: 4px; }
.member ul li { font-size: 12.8px; color: var(--muted); padding-left: 12px; position: relative; }
.member ul li::before { content: "\00B7"; position: absolute; left: 0; color: var(--accent); }

.alumni-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.alumni-box li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink-soft); list-style: none; }
.alumni-box li:last-child { border: 0; }

/* ---------- Publications ---------- */
.pub-note { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.pub-year {
  font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--primary);
  margin: 40px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.pub-year:first-of-type { margin-top: 0; }
.pub-list { list-style: none; }
.pub {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.pub .idx {
  font-family: var(--display); font-size: 24px; color: var(--accent); font-weight: 500; line-height: 1;
}
.pub h3 { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.pub h3 a:hover { color: var(--primary); text-decoration: underline; }
.pub .authors { font-size: 14px; color: var(--ink-soft); }
.pub .authors b { color: var(--ink); }
.pub .meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pub .venue { font-size: 13px; font-weight: 600; color: var(--primary); background: var(--paper-2); padding: 3px 12px; border-radius: 999px; }
.pub .impact { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; }
.pub .impact-high { color: #2f9e78; background: #e8f6f0; }   /* IF ≥ 5 */
.pub .impact-low  { color: #c8544a; background: #fbeae7; }   /* IF < 5 */

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 46px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  transition: border-color .15s, color .15s, background .15s;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager .disabled { opacity: .4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item .ic { font-size: 22px; flex: none; }
.contact-item .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }
.contact-item .v { font-size: 16px; color: var(--ink); }
.contact-item .v a { color: var(--primary); font-weight: 600; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dk); color: #f1d5cf; padding: 54px 0 30px; margin-top: 20px;
}
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 420px; }
.footer-brand .name { font-family: var(--display); font-size: 18px; color: #fff; margin-bottom: 8px; white-space: nowrap; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hi); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; padding: 4px 0; color: #f1d5cf; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #d8b3ab;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .member-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  /* dropdown becomes an inline, expandable sub-list on mobile */
  .dropdown {
    position: static; min-width: 0; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; background: transparent;
    padding: 0 0 4px 12px; display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li + li { border-top: 0; }
  .dropdown a { color: var(--ink-soft); padding: 10px 10px; }
  .dropdown a:hover { background: var(--paper-2); color: var(--primary); }
  .dropdown a.active { color: var(--primary); }
  .grid-3, .grid-2, .member-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  section { padding: 56px 0; }
  .brand .name { font-size: 14px; }
  .brand img.logo { height: 34px; }
}

/* ---------- News (card grid) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.news-card .thumb {
  position: relative; aspect-ratio: 16/10;
  background: var(--primary-dk) center/cover no-repeat;
  display: flex; align-items: flex-end;
}
.news-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(60,16,12,.05) 0%, rgba(60,16,12,.30) 45%, rgba(60,16,12,.86) 100%);
}
.news-card .thumb .ov { position: relative; z-index: 2; padding: 22px; color: #fff; width: 100%; }
.news-card .thumb .ov .d {
  font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 600; color: #f0c4bb; margin-bottom: 6px;
}
.news-card .thumb .ov h2 {
  font-family: var(--display); font-weight: 600; line-height: 1.14;
  font-size: clamp(19px, 2.3vw, 25px); letter-spacing: -.3px;
}
.news-card .body { padding: 18px 22px 24px; }
.news-card .body p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin-bottom: 8px; }
.news-card .body p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- News post gallery (multiple images) ---------- */
.post-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.post-gallery img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  border-radius: 8px; border: 1px solid var(--line); transition: opacity .15s;
}
.post-gallery a:hover img { opacity: .85; }
@media (max-width: 760px) { .post-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Home: latest news list ---------- */
.news-list { list-style: none; margin-top: 8px; }
.news-list li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.news-list .date {
  flex: 0 0 auto; min-width: 96px; font-size: 13px; font-weight: 600;
  color: var(--primary-lt); letter-spacing: .3px;
}
.news-list .txt { font-size: 15.5px; color: var(--ink); }

/* ---------- Journal Club ---------- */
.jc-list { list-style: none; display: grid; gap: 22px; }
.jc-card {
  display: block; list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.jc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.jc-card .jc-date {
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent);
}
.jc-card h3 {
  font-family: var(--display); font-weight: 600; font-size: 19.5px; line-height: 1.35;
  color: var(--ink); margin: 8px 0 6px;
}
.jc-card .jc-citation { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.jc-card .jc-summary p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 10px; }
.jc-card .jc-summary p:last-child { margin-bottom: 0; }
.jc-card .jc-pdf {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  transition: background .18s, border-color .18s;
}
.jc-card .jc-pdf:hover { background: var(--paper-2); border-color: var(--primary-lt); }
