/*
 * The author page (templates/author.php), in Image Studio's own look: a black
 * band like an article's header, then the Editorial page's rows - picture
 * left, then category, byline, title, date, excerpt and "Read more".
 */

.isb-author {
  /* Full width inside the theme's container. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: #111;
  font: 400 16px/1.55 Arial, Helvetica, sans-serif;
}
.isb-author p {
  margin: 0;
}

.isb-author-head {
  background: #000;
  color: #fff;
}
.isb-author-inner {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}
.isb-author-back,
.isb-author-back:visited {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.isb-author-who {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.isb-author-avatar {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.isb-author-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.isb-author-name {
  margin: 6px 0 0;
  padding: 0;
  color: #fff;
  font: 400 40px/1.15 VogueAvantGarde, Tajawal, Helvetica, sans-serif;
  letter-spacing: -0.02em;
}
.isb-author-bio {
  max-width: 640px;
  margin-top: 20px !important;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}
.isb-author-count {
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.isb-author-list {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.isb-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}
.isb-row:first-child {
  padding-top: 0;
}
.isb-row-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f2f2;
}
.isb-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.isb-row-category a,
.isb-row-category a:visited {
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}
.isb-row-byline {
  margin-top: 12px !important;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.isb-row-title {
  margin: 12px 0 0;
  padding: 0;
  font: 600 18px/1.35 VogueAvantGarde, Tajawal, Helvetica, sans-serif;
  letter-spacing: -0.01em;
}
.isb-row-title a,
.isb-row-title a:visited {
  color: #000;
  text-decoration: none;
}
.isb-row-title a:hover {
  text-decoration: underline;
}
.isb-row-date {
  margin-top: 12px !important;
  color: #000;
  font: 500 13px/1.2 VogueAvantGarde, Tajawal, Helvetica, sans-serif;
}
.isb-row-excerpt {
  max-width: 560px;
  margin-top: 16px !important;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}
.isb-row-more,
.isb-row-more:visited {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid #111;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.isb-author-none {
  color: #555;
}

/* Pages: "← Newer", the numbers, "Older →", as on RepGet's blog. */
.isb-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.isb-page-step,
.isb-page-step:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #111;
  border-radius: 999px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.isb-page-step.is-disabled {
  border-color: #ddd;
  color: #aaa;
}
.isb-page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}
.isb-page-number,
.isb-page-number:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
a.isb-page-number:hover {
  background: #f0f0f0;
}
.isb-page-number.is-current {
  background: #000;
  color: #fff;
}
.isb-page-gap {
  width: 24px;
  text-align: center;
  color: #777;
}
.isb-page-count {
  display: none;
  color: #555;
  font-size: 14px;
}

@media (max-width: 767px) {
  .isb-author-inner {
    padding: 28px 20px 36px;
  }
  .isb-author-who {
    gap: 16px;
    margin-top: 28px;
  }
  .isb-author-avatar {
    width: 64px;
    height: 64px;
  }
  .isb-author-name {
    font-size: 30px;
  }
  .isb-author-list {
    padding: 32px 20px 56px;
  }
  .isb-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 32px 0;
  }
  .isb-pages {
    gap: 12px;
  }
  .isb-page-numbers {
    display: none;
  }
  .isb-page-count {
    display: inline;
  }
}
