/* Custom overrides for Jake Hooper's academic site */

body {
  font-family: "Merriweather", Georgia, serif;
  font-size: 16px;   /* smaller body text */
}


h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", Georgia, serif;
}

* Gallery layout for artworks page */
.art-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.art-gallery a {
  flex-basis: calc(33.333% - 1rem);
  box-sizing: border-box;
}

.art-gallery img {
  width: 500px;          /* fixed width */
  height: 500px;         /* fixed height */
  object-fit: cover;     /* crops while preserving aspect ratio */
  display: block;
  border-radius: 0.25rem;
}

/* Remove the default circular border on the author avatar */
.author__avatar img {
  border-radius: 0;
}

/* Publication thumbnails: size and alignment */
.pub-thumbnail {
  width: 100px;        /* choose a width that suits you */
  height: auto;
  float: left;
  margin: 0 1rem 0.5rem 0;
}

/* Clear floats so the following content doesn’t wrap under the image */
.archive__item {
  overflow: hidden;
}

/* Publication thumbnails */
.pub-thumbnail {
  width: 100px;          /* or whatever size you settled on */
  height: auto;
  float: left;
  margin: 0 1rem 0.5rem 0;
  border: 1px solid #000; /* black border */
  padding: 2px;           /* optional: space between image and border */
}

.intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.intro-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.intro-text {
  flex: 1;
}
