/* ─── PAGE HERO BANNER ─── */
  .pub-hero {
    background: linear-gradient(135deg, #060e1c 0%, #0a1628 45%, #0d2a45 100%);
    padding: 60px 60px 50px;
    position: relative;
    overflow: hidden;
  }
  .pub-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,160,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .pub-hero::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 20%;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11,120,64,0.10) 0%, transparent 70%);
    pointer-events: none;
  }
  .pub-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
  .pub-hero-breadcrumb {
    display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6a8aaa; margin-bottom: 18px;
  }
  .pub-hero-breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 600; }
  .pub-hero-breadcrumb i { font-size: 9px; }
  .pub-hero h2 {
    font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 800;
    color: #fff; line-height: 1.15; margin-bottom: 14px;
  }
  .pub-hero h2 span { color: var(--teal); }
  .pub-hero p { color: #8aa0b8; font-size: 15px; line-height: 1.7; max-width: 680px; margin-bottom: 28px; }
  .pub-hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
  }
  .pub-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,180,160,0.2);
    border-radius: 10px; padding: 14px 24px; text-align: center;
  }
  .pub-stat .num {
    font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800;
    color: var(--teal); display: block; line-height: 1;
  }
  .pub-stat .label { font-size: 11px; color: #6a8aaa; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.8px; }

  /* ─── MAIN LAYOUT ─── */
  .pub-layout {
    max-width: 1200px; margin: 0 auto; padding: 40px 40px 60px;
    display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  }

  /* ─── SIDEBAR ─── */
  .pub-sidebar { display: flex; flex-direction: column; gap: 24px; }
  .sidebar-card {
    background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  }
  .sidebar-card h3 {
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px; color: var(--text); margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
  }
  .sidebar-card h3 i { color: var(--teal); font-size: 13px; }

  /* Search */
  .sidebar-search { position: relative; }
  .sidebar-search input {
    width: 100%; padding: 9px 36px 9px 12px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 13px; color: var(--text); outline: none;
    background: #fff; transition: border-color .2s;
  }
  .sidebar-search input:focus { border-color: var(--teal); }
  .sidebar-search button {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--teal); cursor: pointer; font-size: 13px;
  }

  /* Year filter */
  .year-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
  .year-list li button {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 8px 12px; border-radius: 7px; font-size: 13px; color: var(--text-light);
    display: flex; align-items: center; justify-content: space-between; transition: all .2s;
    font-family: 'Open Sans', sans-serif;
  }
  .year-list li button:hover, .year-list li button.active {
    background: rgba(0,180,160,0.1); color: var(--teal); font-weight: 600;
  }
  .year-list li button .count {
    background: var(--teal); color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 20px;
  }
  .year-list li button:hover .count, .year-list li button.active .count {
    background: var(--teal);
  }
  .year-list li button:not(.active) .count { background: #c8d8e4; color: #4a6070; }

  /* Type filter */
  .type-filter { display: flex; flex-direction: column; gap: 7px; }
  .type-filter label {
    display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-light); cursor: pointer;
  }
  .type-filter label input[type="checkbox"] { accent-color: var(--teal); width: 14px; height: 14px; }
  .type-filter label:hover { color: var(--teal); }

  /* Topic tags */
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
  .tag-cloud .tag {
    background: #fff; border: 1px solid var(--border); border-radius: 20px;
    padding: 4px 12px; font-size: 11.5px; color: var(--text-light); cursor: pointer;
    transition: all .2s;
  }
  .tag-cloud .tag:hover, .tag-cloud .tag.active {
    background: var(--teal); color: #fff; border-color: var(--teal);
  }

  /* ─── MAIN CONTENT ─── */
  .pub-main { min-width: 0; }

  /* Toolbar */
  .pub-toolbar {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px;
    flex-wrap: wrap; gap: 12px;
  }
  .pub-toolbar .result-count { font-size: 13px; color: var(--text-light); }
  .pub-toolbar .result-count span { font-weight: 700; color: var(--text); }
  .toolbar-right { display: flex; align-items: center; gap: 10px; }
  .sort-select {
    padding: 7px 12px; border: 1px solid var(--border); border-radius: 7px;
    font-size: 12.5px; color: var(--text); outline: none; cursor: pointer;
    font-family: 'Open Sans', sans-serif; background: #fff;
  }
  .sort-select:focus { border-color: var(--teal); }
  .view-toggle { display: flex; gap: 4px; }
  .view-btn {
    padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px;
    background: #fff; cursor: pointer; color: var(--text-light); font-size: 13px; transition: all .2s;
  }
  .view-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }

  /* Year section heading */
  .year-section { margin-bottom: 10px; }
  .year-heading {
    display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  }
  .year-heading .yr {
    font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy);
  }
  .year-heading .line { flex: 1; height: 1px; background: var(--border); }
  .year-heading .count-badge {
    background: rgba(0,180,160,0.1); color: var(--teal); font-size: 11px;
    font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(0,180,160,0.3);
  }

  /* Publication card */
  .pub-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 22px 24px; margin-bottom: 16px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    position: relative; overflow: hidden;
  }
  .pub-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--teal) 0%, var(--accent-green) 100%);
    border-radius: 12px 0 0 12px;
  }
  .pub-card:hover {
    box-shadow: 0 6px 28px rgba(0,180,160,0.12); transform: translateY(-2px); border-color: rgba(0,180,160,0.3);
  }
  .pub-card-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px;
  }
  .pub-badges { display: flex; gap: 7px; flex-wrap: wrap; }
  .pub-badge {
    font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
  }
  .badge-journal { background: rgba(26,115,232,0.1); color: #1a73e8; border: 1px solid rgba(26,115,232,0.2); }
  .badge-review { background: rgba(108,63,197,0.1); color: #6c3fc5; border: 1px solid rgba(108,63,197,0.2); }
  .badge-book { background: rgba(0,180,160,0.1); color: #0b7840; border: 1px solid rgba(0,180,160,0.2); }
  .badge-conf { background: rgba(255,152,0,0.1); color: #e65100; border: 1px solid rgba(255,152,0,0.2); }
  .badge-preprint { background: rgba(233,30,99,0.1); color: #c62828; border: 1px solid rgba(233,30,99,0.2); }
  .pub-card-menu { position: relative; }
  .pub-card-menu button { background: none; border: none; cursor: pointer; color: #aab; font-size: 14px; padding: 4px 8px; border-radius: 5px; }
  .pub-card-menu button:hover { background: var(--bg-light); color: var(--teal); }

  .pub-title {
    font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700;
    color: var(--navy); margin-bottom: 8px; line-height: 1.45;
  }
  .pub-title a { color: inherit; text-decoration: none; }
  .pub-title a:hover { color: var(--teal); }

  .pub-authors { font-size: 12.5px; color: var(--text-light); margin-bottom: 6px; line-height: 1.5; }
  .pub-authors strong { color: var(--teal); font-weight: 600; }

  .pub-venue {
    font-size: 12.5px; color: var(--text-light); margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  }
  .pub-venue .journal-name { font-style: italic; font-weight: 600; color: var(--text); }
  .pub-venue .vol { color: var(--text-light); }
  .pub-venue .dot { color: #ccc; }

  .pub-abstract {
    font-size: 12.5px; color: var(--text-light); line-height: 1.65;
    margin-bottom: 14px; max-height: 52px; overflow: hidden;
    position: relative;
  }
  .pub-abstract.expanded { max-height: none; }
  .pub-abstract::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 22px;
    background: linear-gradient(transparent, #fff);
  }
  .pub-abstract.expanded::after { display: none; }

  .pub-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .pub-action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none; font-family: 'Open Sans', sans-serif;
    transition: all .2s;
  }
  .btn-doi { background: rgba(0,180,160,0.1); color: var(--teal); border: 1px solid rgba(0,180,160,0.3); }
  .btn-doi:hover { background: var(--teal); color: #fff; }
  .btn-pdf { background: rgba(220,38,38,0.08); color: #c62828; border: 1px solid rgba(220,38,38,0.2); }
  .btn-pdf:hover { background: #c62828; color: #fff; }
  .btn-cite { background: var(--bg-light); color: var(--text-light); border: 1px solid var(--border); }
  .btn-cite:hover { background: #e0e8ef; color: var(--text); }
  .btn-expand { background: none; color: var(--teal); border: none; padding: 0; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Open Sans', sans-serif; margin-left: auto; }
  .btn-expand:hover { text-decoration: underline; }

  .pub-metrics { display: flex; gap: 14px; margin-left: auto; align-items: center; }
  .pub-metric { text-align: center; }
  .pub-metric .val { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); }
  .pub-metric .lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-light); }

  /* Highlight own-name */
  .author-self { color: var(--navy) !important; font-weight: 700 !important; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 2px; }

  /* ─── PAGINATION ─── */
  .pagination {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px;
  }
  .pagination button {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
    background: #fff; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
    font-family: 'Open Sans', sans-serif;
  }
  .pagination button.active { background: var(--teal); color: #fff; border-color: var(--teal); }
  .pagination button:hover:not(.active) { border-color: var(--teal); color: var(--teal); }
  .pagination .ellipsis { color: var(--text-light); padding: 0 4px; }

  /* ─── CITE MODAL ─── */
  .modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(6,14,28,0.65);
    z-index: 500; align-items: center; justify-content: center;
  }
  .modal-overlay.show { display: flex; }
  .modal-box {
    background: #fff; border-radius: 14px; width: 600px; max-width: 95vw; padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: fadeUp .25s ease;
  }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .modal-header h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); }
  .modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-light); }
  .cite-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
  .cite-tab {
    padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border);
    background: #fff; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s;
    font-family: 'Open Sans', sans-serif; color: var(--text-light);
  }
  .cite-tab.active { background: var(--teal); color: #fff; border-color: var(--teal); }
  .cite-text {
    background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px;
    padding: 14px; font-size: 12px; line-height: 1.7; color: var(--text);
    font-family: monospace; white-space: pre-wrap; word-break: break-all; min-height: 80px;
  }
  .cite-copy-btn {
    margin-top: 12px; display: flex; gap: 10px;
  }
  .cite-copy-btn button {
    padding: 8px 18px; border-radius: 7px; font-size: 12px; font-weight: 700; cursor: pointer;
    font-family: 'Open Sans', sans-serif; transition: all .2s;
  }
  .btn-copy-main { background: var(--teal); color: #fff; border: none; }
  .btn-copy-main:hover { background: var(--teal-light); }
  .btn-download { background: var(--bg-light); color: var(--text); border: 1px solid var(--border); }
  .btn-download:hover { border-color: var(--teal); color: var(--teal); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0;
                 background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; z-index: 200; }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .pub-layout { grid-template-columns: 1fr; padding: 24px 20px 40px; }
    .pub-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pub-hero { padding: 40px 24px 36px; }
    .pub-hero h2 { font-size: 28px; }
  }
  @media (max-width: 600px) {
    .pub-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    #main-nav { padding: 0 16px; }
    .pub-hero-stats { gap: 12px; }
    .pub-card { padding: 16px 18px; }
    .pub-actions { gap: 7px; }
    .pub-metrics { display: none; }
  }