/* =========================================================
   FACULTY RESEARCH & PUBLICATION — YEAR PAGES.
   Shared by faculty-research-publication-2025.php and every
   future faculty-research-publication-YYYY.php page (named
   "-year.css" up front so it doesn't need renaming later, the
   way placement.css did).

   Sidebar + list shell matches syllabus.css / course-outcomes.css,
   but each "row" here is a full citation card (title, authors,
   journal line, DOI link, keyword tags) rather than a PDF link,
   since that's what this content actually is.
   ========================================================= */

.fry-body{ padding:0 0 96px; }
.fry-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:56px;
  align-items:start;
}

/* ---- Sidebar ---- */
.fry-sidebar{
  position:sticky;
  top:96px;
  margin-top:64px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.fry-nav-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px 22px 14px;
  box-shadow:var(--shadow-card);
}
.fry-nav-card h3{
  font-size:.76rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--green-800); margin-bottom:12px;
}
.fry-jump-nav{ display:flex; flex-direction:column; gap:2px; }
.fry-jump-nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border-radius:8px;
  font-size:.86rem;
  font-weight:600;
  color:var(--ink-soft);
  border-left:2px solid transparent;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.fry-jump-nav a:hover{ background:var(--green-100); color:var(--green-800); }
.fry-jump-nav a.is-active{
  background:var(--green-100); color:var(--green-800);
  border-left-color:var(--gold-500); font-weight:700;
}
.fry-jump-count{
  font-size:.68rem;
  font-weight:700;
  color:var(--green-700);
  background:var(--green-100);
  border-radius:999px;
  padding:2px 8px;
  flex-shrink:0;
}
.fry-jump-nav a.is-active .fry-jump-count{ background:#fff; }

.fry-stat-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  background:var(--green-900);
  border-radius:var(--radius-lg);
  padding:22px;
  color:#fff;
}
.fry-stat-value{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1.8rem;
  color:var(--gold-500);
  line-height:1.1;
}
.fry-stat-label{ font-size:.78rem; color:rgba(255,255,255,.8); }

@media (max-width:980px){
  .fry-layout{ grid-template-columns:1fr; }
  .fry-sidebar{ position:static; margin-top:-40px; flex-direction:row; flex-wrap:wrap; gap:18px; }
  .fry-nav-card, .fry-stat-card{ flex:1 1 260px; }
}
@media (max-width:640px){
  .fry-sidebar{ flex-direction:column; }
}

/* ---- Main: category groups ---- */
.fry-main{ min-width:0; padding-top:64px; }
.fry-group{
  padding-bottom:48px;
  margin-bottom:48px;
  border-bottom:1px solid var(--line);
  scroll-margin-top:96px;
}
.fry-group:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }

.fry-group-tag{
  display:inline-block;
  font-size:.74rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--green-700); margin-bottom:8px;
}
.fry-group-heading{
  font-size:clamp(1.3rem, 2.1vw, 1.6rem);
  font-weight:800; color:var(--green-900); margin:0 0 24px;
}

/* ---- Publication list ---- */
.fry-pub-list{ display:flex; flex-direction:column; gap:20px; list-style:none; }
.fry-pub{
  display:flex;
  gap:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px 24px;
  box-shadow:var(--shadow-card);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.fry-pub:hover{ border-color:var(--green-700); box-shadow:0 16px 32px -18px rgba(10,61,38,.3); }

.fry-pub-num{
  flex-shrink:0;
  width:32px; height:32px;
  border-radius:50%;
  background:var(--green-100);
  color:var(--green-800);
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:.82rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fry-pub-body{ min-width:0; }
.fry-pub-title{
  font-size:.98rem;
  font-weight:700;
  color:var(--green-900);
  line-height:1.5;
  margin:0 0 8px;
}
.fry-pub-authors{
  font-size:.86rem;
  font-style:italic;
  color:var(--ink-soft);
  margin:0 0 4px;
}
.fry-pub-journal{
  font-size:.84rem;
  color:var(--ink);
  margin:0 0 12px;
}
.fry-pub-doi{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.76rem;
  font-weight:700;
  color:var(--green-700);
  background:var(--green-100);
  border-radius:999px;
  padding:5px 13px;
  margin-bottom:12px;
  transition:background .15s ease, color .15s ease;
}
.fry-pub-doi svg{ width:13px; height:13px; }
.fry-pub-doi:hover{ background:var(--green-700); color:#fff; }

.fry-pub-keywords{ display:flex; flex-wrap:wrap; gap:6px; }
.fry-pub-keywords span{
  font-size:.72rem;
  color:var(--ink-soft);
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px 10px;
}

/* ---- Empty state ---- */
.fry-empty{
  display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:12px;
  padding:52px 24px;
  background:var(--cream);
  border:1px dashed var(--line);
  border-radius:var(--radius-lg);
  color:var(--ink-soft);
}
.fry-empty svg{ width:32px; height:32px; color:var(--green-700); opacity:.6; }
.fry-empty p{ margin:0; font-size:.9rem; max-width:360px; }

@media (max-width:640px){
  .fry-pub{ flex-direction:column; gap:12px; padding:18px 18px; }
}
