/* Compact, academic publication list. The year rail remains unchanged. */

.publications-page .publications-heading {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
  padding-top: 132px !important;
  padding-bottom: 64px !important;
}

.publications-heading__copy {
  min-width: 0;
}

.publications-page .publications-heading__copy > p:last-child {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.6;
}

.publications-page .word-cloud-container--header {
  min-height: 250px;
  margin: 0;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid #d6e5ec !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #f7fbfd 0%, #eaf4f8 100%) !important;
  box-shadow: none !important;
}

.publications-page .word-cloud-container--header .cloud-track {
  max-width: 100%;
  gap: .85rem 1.65rem;
}

.publications-page .word-cloud-container--header .cloud-tag {
  background: none;
  color: #365f73;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.publications-page .word-cloud-container--header .color-1 { color: #0a5f88; }
.publications-page .word-cloud-container--header .color-2 { color: #247ca2; }
.publications-page .word-cloud-container--header .color-3 { color: #16465f; }
.publications-page .word-cloud-container--header .color-4 { color: #4698b6; }
.publications-page .word-cloud-container--header .color-5 { color: #657d89; }
.publications-page .word-cloud-container--header .size-xl { font-size: clamp(1.75rem, 2.5vw, 2.35rem); }
.publications-page .word-cloud-container--header .size-lg { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.publications-page .word-cloud-container--header .size-md { font-size: clamp(1rem, 1.35vw, 1.22rem); }
.publications-page .word-cloud-container--header .size-sm {
  padding: 0;
  font-size: .72rem;
  letter-spacing: .12em;
}

.publications-page .publications-content {
  max-width: 1040px;
  margin: 0 auto;
}

.publications-page .year-block {
  margin: 0;
  padding: 22px 0 26px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none;
  transform: none !important;
}

.publications-page .year-block + .year-block {
  border-top: 1px solid #dce7ec !important;
}

.publications-page .year-block::after,
.publications-page .year-title::after {
  display: none !important;
}

.publications-page .year-title,
.publications-page .year-title:hover {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

.publications-page .year-title span:first-child {
  color: #092c45;
  font-size: clamp(1.75rem, 2.5vw, 2.15rem);
  font-weight: 500;
}

.publications-page .year-meta {
  color: #70838d;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.publications-page .pub-list,
.publications-page .year-block.dense .pub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  column-count: auto;
}

.publications-page .pub-item,
.publications-page .pub-item.lab-led,
.publications-page .year-block.dense .pub-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
  grid-template-areas:
    'title journal'
    'authors journal'
    'links journal';
  column-gap: 18px;
  margin: 0 !important;
  padding: 8px 0 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  break-inside: auto;
}

.publications-page .pub-item:hover,
.publications-page .pub-item.lab-led:hover {
  background: transparent !important;
}

.publications-page .pub-item::before,
.publications-page .pub-item.lab-led::before,
.publications-page .year-block.dense .pub-item::before,
.publications-page .lab-paper-badge {
  display: none !important;
}

.publications-page .pub-title {
  grid-area: title;
  margin: 0 0 4px;
  color: #102f41 !important;
  font: 500 clamp(1.08rem, 1.55vw, 1.28rem)/1.34 'Playfair Display', serif;
  letter-spacing: -.008em;
}

.publications-page .pub-authors {
  grid-area: authors;
  color: #5d707b;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.4;
}

.publications-page .author-me,
.publications-page .author-lab {
  padding: 0;
  border: 0 !important;
  color: inherit !important;
  font-weight: inherit;
  text-decoration: none !important;
}

.publications-page .author-corresponding {
  color: #274c60;
  font-weight: 750;
}

.publications-page .author-member {
  color: #5d707b;
  font-weight: 400;
}

.publications-page .legend strong {
  color: #274c60;
  font-weight: 750;
}

.publications-page .pub-journal {
  grid-area: journal;
  align-self: start;
  margin: 2px 0 0;
  color: #15698d;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
}

.publications-page .pub-journal a,
.publications-page .pub-journal .journal-pill {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

.publications-page .pub-links {
  grid-area: links;
  margin-top: 4px;
}

.publications-page .pub-links a {
  font-size: .78rem;
  text-underline-offset: 3px;
}

@media (max-width: 1020px) {
  .publications-page .publications-heading {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .publications-page .publications-heading__copy > p:last-child {
    max-width: 720px;
  }

  .publications-page .word-cloud-container--header {
    min-height: 210px;
  }
}

@media (max-width: 760px) {
  .publications-page .publications-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 112px !important;
    padding-bottom: 46px !important;
  }

  .publications-page .word-cloud-container--header {
    min-height: 0;
    padding: 26px 20px;
  }

  .publications-page .year-block {
    padding: 20px 0 23px !important;
  }

  .publications-page .year-title {
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px !important;
  }

  .publications-page .pub-item,
  .publications-page .pub-item.lab-led,
  .publications-page .year-block.dense .pub-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      'journal'
      'title'
      'authors'
      'links';
    padding: 8px 0 10px !important;
  }

  .publications-page .pub-journal {
    margin-bottom: 5px;
  }
}

/* Targeted typography refinement: only the Published Articles section. */
.publications-page #published {
  font-family: 'Source Sans 3', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.publications-page #published .legend {
  font-size: .9rem;
  line-height: 1.5;
}

.publications-page #published .year-title span:first-child {
  font-family: inherit;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.publications-page #published .year-meta {
  font-size: .8rem;
  letter-spacing: 0;
}

.publications-page #published .pub-title {
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.publications-page #published .pub-authors,
.publications-page #published .pub-journal {
  font-family: inherit;
  font-size: 1.06rem;
  line-height: 1.48;
}

.publications-page #published .pub-journal {
  font-weight: 600;
}

.publications-page #published .pub-links a {
  font-size: .86rem;
}

/* Illustrated publication entries — compact text with a research visual. */
.publications-page #published .pub-list {
  gap: 4px;
}

.publications-page #published .pub-item.pub-item--illustrated {
  grid-template-columns: minmax(0, 1fr) clamp(190px, 22vw, 240px);
  grid-template-areas: 'copy figure';
  align-items: center;
  gap: clamp(14px, 2.2vw, 22px);
  min-height: 0;
  padding: 7px 0 8px !important;
}

.publications-page #published .pub-entry-copy {
  grid-area: copy;
  min-width: 0;
}

.publications-page #published .pub-title,
.publications-page #published .pub-authors,
.publications-page #published .pub-journal,
.publications-page #published .pub-links {
  grid-area: auto;
}

.publications-page #published .pub-title {
  margin-bottom: 5px;
  font-size: clamp(1.12rem, 1.5vw, 1.24rem);
  line-height: 1.36;
}

.publications-page #published .pub-authors {
  margin-bottom: 4px;
  line-height: 1.42;
}

.publications-page #published .pub-journal {
  margin-top: 0;
}

.publications-page #published .pub-journal a {
  display: inline;
}

.publications-page #published .pub-figure {
  grid-area: figure;
  display: block;
  box-sizing: border-box;
  height: clamp(122px, 13vw, 150px);
  padding: 5px;
  overflow: hidden;
  border: 1px solid #d7e4e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 57, 75, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.publications-page #published .pub-figure:hover,
.publications-page #published .pub-figure:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(16, 57, 75, .1);
}

.publications-page #published .pub-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .publications-page #published .pub-item.pub-item--illustrated {
    grid-template-columns: minmax(0, 1fr) minmax(175px, 215px);
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .publications-page #published .pub-list {
    gap: 5px;
  }

  .publications-page #published .pub-item.pub-item--illustrated {
    grid-template-columns: 1fr;
    grid-template-areas:
      'copy'
      'figure';
    gap: 9px;
    min-height: 0;
    padding: 8px 0 !important;
  }

  .publications-page #published .pub-figure {
    width: 100%;
    max-width: 520px;
    height: clamp(160px, 48vw, 220px);
  }
}

/* Stronger publication typography for better readability. */
.publications-page #published .pub-title {
  font-size: clamp(1.26rem, 1.75vw, 1.40rem);
  line-height: 1.38;
}

.publications-page #published .pub-authors {
  margin-bottom: 6px;
  font-size: 1.20rem;
  line-height: 1.50;
}

.publications-page #published .pub-journal {
  font-size: 1.20rem;
  font-weight: 650;
  line-height: 1.50;
}

.publications-page #published .pub-links a {
  font-size: .95rem;
}

/* Remove HESS Part II from the displayed publication list. */
.publications-page #published .pub-item:has(a[href*="egusphere-2025-6073"]) {
  display: none !important;
}

/* Final publication hierarchy: readable, but clearly tiered. */
.publications-page #published .pub-title {
  color: #102f41 !important;
  font-size: clamp(1.30rem, 1.8vw, 1.46rem);
  font-weight: 650;
  line-height: 1.36;
}

.publications-page #published .pub-authors {
  margin-bottom: 5px;
  color: #435d6b;
  font-size: 1.08rem;
  font-weight: 450;
  line-height: 1.48;
}

.publications-page #published .author-member {
  color: #435d6b;
}

.publications-page #published .author-corresponding {
  color: #193f55;
  font-weight: 750;
}

.publications-page #published .pub-journal {
  color: #0d6b92;
  font-size: 1.11rem;
  font-weight: 680;
  line-height: 1.46;
}

.publications-page #published .pub-links a {
  font-size: .90rem;
}

@media (max-width: 680px) {
  .publications-page #published .pub-title {
    font-size: 1.24rem;
  }

  .publications-page #published .pub-authors {
    font-size: 1.04rem;
  }

  .publications-page #published .pub-journal {
    font-size: 1.07rem;
  }
}

/* Academic hierarchy: titles recede; authors and journals lead. */
body.publications-page #published .pub-list {
  gap: 2px !important;
}

body.publications-page #published .pub-item.pub-item--illustrated {
  padding: 6px 0 7px !important;
}

body.publications-page #published .pub-title {
  margin-bottom: 3px !important;
  color: #425967 !important;
  font-size: clamp(.97rem, 1.08vw, 1.01rem) !important;
  font-weight: 500 !important;
  line-height: 1.38 !important;
  letter-spacing: 0 !important;
}

body.publications-page #published .pub-authors {
  margin-bottom: 2px !important;
  color: #203f50 !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
}

body.publications-page #published .author-member {
  color: inherit !important;
  font-weight: inherit !important;
}

body.publications-page #published .author-corresponding {
  color: #12394e !important;
  font-weight: 700 !important;
}

body.publications-page #published .pub-journal {
  margin-top: 0 !important;
  color: #0d678c !important;
  font-size: 1.045rem !important;
  font-weight: 650 !important;
  line-height: 1.40 !important;
}

body.publications-page #published .pub-links {
  margin-top: 3px !important;
}

body.publications-page #published .pub-links a {
  color: #56717f !important;
  font-size: .78rem !important;
  font-weight: 500 !important;
}

body.publications-page #published .legend {
  color: #72838b !important;
  font-size: .78rem !important;
  line-height: 1.4 !important;
}

body.publications-page #published .legend strong {
  color: #294b5c !important;
  font-weight: 650 !important;
}

body.publications-page #published .year-title span:first-child {
  font-size: 1.42rem !important;
  font-weight: 600 !important;
}

body.publications-page #published .year-meta {
  font-size: .72rem !important;
}

@media (max-width: 680px) {
  body.publications-page #published .pub-title {
    font-size: .96rem !important;
  }

  body.publications-page #published .pub-authors {
    font-size: .99rem !important;
  }

  body.publications-page #published .pub-journal {
    font-size: 1.01rem !important;
  }
}

/* Tighter academic rhythm: reduce vertical gaps without flattening hierarchy. */
body.publications-page #published .year-block {
  padding: 14px 0 17px !important;
}

body.publications-page #published .year-block:first-child {
  padding-top: 12px !important;
}

body.publications-page #published .year-title,
body.publications-page #published .year-title:hover {
  margin-bottom: 7px !important;
}

body.publications-page #published .pub-list {
  gap: 0 !important;
}

body.publications-page #published .pub-item,
body.publications-page #published .pub-item.lab-led,
body.publications-page #published .year-block.dense .pub-item {
  padding-top: 4px !important;
  padding-bottom: 5px !important;
}

body.publications-page #published .pub-item.pub-item--illustrated {
  gap: clamp(12px, 1.8vw, 18px) !important;
  padding: 4px 0 5px !important;
}

body.publications-page #published .pub-title {
  margin-bottom: 2px !important;
}

body.publications-page #published .pub-authors {
  margin-bottom: 1px !important;
  line-height: 1.38 !important;
}

body.publications-page #published .pub-journal {
  line-height: 1.36 !important;
}

body.publications-page #published .pub-links {
  margin-top: 2px !important;
}

body.publications-page #published .pub-figure {
  height: clamp(112px, 12vw, 138px);
}

@media (max-width: 680px) {
  body.publications-page #published .year-block {
    padding: 14px 0 16px !important;
  }

  body.publications-page #published .year-title,
  body.publications-page #published .year-title:hover {
    margin-bottom: 7px !important;
  }

  body.publications-page #published .pub-item.pub-item--illustrated {
    gap: 7px !important;
    padding: 5px 0 !important;
  }

  body.publications-page #published .pub-figure {
    height: clamp(150px, 44vw, 205px);
  }
}

/* Alternating year bands: denser scanning with subtle visual separation. */
body.publications-page #published .publications-content > .year-block {
  margin: 0 -14px !important;
  padding: 10px 14px 11px !important;
  border-top: 1px solid #dde8ed !important;
  background: #ffffff !important;
}

body.publications-page #published .publications-content > .year-block:nth-of-type(even) {
  background: #f5f9fb !important;
}

body.publications-page #published .publications-content > .year-block:nth-of-type(odd) {
  background: #ffffff !important;
}

body.publications-page #published .publications-content > .year-block:first-of-type {
  border-top: 0 !important;
  padding-top: 9px !important;
}

body.publications-page #published .year-title,
body.publications-page #published .year-title:hover {
  margin-bottom: 5px !important;
}

body.publications-page #published .pub-item,
body.publications-page #published .pub-item.lab-led,
body.publications-page #published .year-block.dense .pub-item,
body.publications-page #published .pub-item.pub-item--illustrated {
  padding-top: 3px !important;
  padding-bottom: 4px !important;
}

body.publications-page #published .pub-item.pub-item--illustrated {
  gap: clamp(10px, 1.45vw, 16px) !important;
}

body.publications-page #published .pub-title {
  margin-bottom: 1px !important;
}

body.publications-page #published .pub-authors {
  margin-bottom: 0 !important;
  line-height: 1.34 !important;
}

body.publications-page #published .pub-journal {
  line-height: 1.33 !important;
}

body.publications-page #published .pub-links {
  margin-top: 1px !important;
}

body.publications-page #published .pub-figure {
  height: clamp(100px, 10.8vw, 124px);
}

@media (max-width: 680px) {
  body.publications-page #published .publications-content > .year-block {
    margin: 0 -8px !important;
    padding: 9px 8px 10px !important;
  }

  body.publications-page #published .year-title,
  body.publications-page #published .year-title:hover {
    margin-bottom: 5px !important;
  }

  body.publications-page #published .pub-item.pub-item--illustrated {
    gap: 6px !important;
    padding: 4px 0 !important;
  }

  body.publications-page #published .pub-figure {
    height: clamp(138px, 40vw, 184px);
  }
}
