/*Inline block for altmetric badges, will keep the badges in the same line*/
span.__dimensions_badge_embed__, div.altmetric-embed {
  display: inline-block;
}

/* Journal in bold should still look like journal */
.csl-entry em strong, .csl-entry i strong {
  font-style: italic;
  font-weight: 800;
}

/* Hide the badges line that appears under each year */
.pub-badges {
  display: none !important;
}

.contact-card{
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
}

.contact-card h3{
  margin-bottom: 0.25rem;
}

.contact-card a{
  text-decoration: none;
}

.contact-card a:hover{
  text-decoration: underline;
}

.news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.news-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.news-card img {
  margin-top: 0.75rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.news-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.news-card img {
  margin-top: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}

.news-card ul {
  margin-top: 0.75rem;
}

.news-card li {
  margin-bottom: 1rem;
}



.fieldwork-grid, .fieldwork-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.fieldwork-grid img, .fieldwork-gallery img{
  width: 300%;
  height: 500px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}


/* --- About hero --- */
.about-hero{ max-width: 980px; margin: 0 auto; padding: 1.5rem 0; }

.about-grid{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.about-photo{
  width: 220px;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
}

.about-text h1, .about-text h2, .about-text h3{ margin-top: 0; }

@media (max-width: 820px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo{ width: 180px; height: 180px; }
}


/* --- Working papers --- */
/* --- Working Papers --- */
.wp-list{
  max-width: 980px;
  margin: 0 auto;
}

.wp-list li{
  list-style: disc;
  margin-bottom: 2.2rem;
}

.wp-authors{
  display: block;
  margin-top: 0.4rem;
  opacity: 0.85;
  line-height: 1.4;
}

.wp-figure{
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0.6rem 0 0.6rem 0;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

.wp-links{
  display: block;
  margin-top: 0.4rem;
}

.wp-btn{
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 0.35rem;
}

.wp-btn:hover{
  text-decoration: underline;
}

/* Content width helper */
.content-narrow{ max-width: 980px; margin: 0 auto; }







/* --- Fieldwork gallery --- */
.fieldwork-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.fieldwork-gallery img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.fieldwork-gallery img:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

@media (max-width: 1100px){
  .fieldwork-gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px){
  .fieldwork-gallery{ grid-template-columns: 1fr; }
}


