.evcp-template-author-profile .evcp-team-profile-hero.is-without-photo .evcp-hero-grid{
  grid-template-columns:minmax(0,850px);
}

.evcp-template-author-profile .evcp-team-photo-panel{
  min-height:250px;
}

.evcp-template-author-profile .evcp-team-photo{
  width:230px;
  height:230px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--evcp-line);
  border-radius:4px;
  background:var(--evcp-soft);
}

.evcp-template-author-profile .evcp-resource-profile-hero .evcp-team-photo img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center;
}

[data-theme="dark"] .evcp-template-author-profile .evcp-team-photo-panel{
  border:0;
  background:transparent;
}

.evcp-template-author-profile .evcp-team-content-grid{
  grid-template-areas:
    "about links"
    "articles links";
  row-gap:42px;
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-official-links{
  grid-template-columns:minmax(0,850px);
  grid-template-areas:
    "about"
    "articles";
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-about{
  grid-template-areas:"articles links";
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-articles{
  grid-template-areas:"about links";
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-official-links{
  grid-template-areas:"articles";
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-articles.has-no-official-links{
  grid-template-areas:"about";
}

.evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-articles{
  grid-template-columns:272px;
  grid-template-areas:"links";
}

.evcp-template-author-profile .evcp-team-about{
  grid-area:about;
}

.evcp-template-author-profile .evcp-team-about.has-following-articles{
  padding-bottom:30px;
  border-bottom:1px solid var(--evcp-line);
}

.evcp-template-author-profile .evcp-team-profile-detail{
  margin-top:24px;
}

.evcp-template-author-profile .evcp-team-profile-detail h3{
  margin:0 0 8px;
  color:var(--evcp-ink);
  font-size:16px;
  font-weight:700;
}

.evcp-template-author-profile .evcp-team-profile-detail p{
  margin:0;
  color:var(--evcp-muted);
  font-size:15px;
  line-height:1.6;
}

.evcp-template-author-profile .evcp-team-official-links{
  grid-area:links;
}

.evcp-template-author-profile .evcp-team-articles{
  min-width:0;
  grid-area:articles;
  margin:0;
  padding:0;
  border:0;
}

.evcp-template-author-profile .evcp-team-articles-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.evcp-template-author-profile .evcp-team-articles-heading .evcp-section-title{
  margin:0;
}

.evcp-template-author-profile .evcp-team-articles-heading>span{
  flex:0 0 auto;
  color:var(--evcp-muted);
  font-size:13px;
  font-weight:600;
}

.evcp-template-author-profile .evcp-team-articles .evcp-news-row-copy h3{
  margin:5px 0 0;
  font-size:17px;
  line-height:1.2;
}

.evcp-template-author-profile .evcp-team-articles .evcp-news-feed>.evcp-news-row:first-child{
  border-top:1px solid var(--evcp-line-soft);
}

.evcp-template-author-profile .evcp-team-articles .evcp-news-row-copy h3 a{
  color:var(--evcp-ink);
  text-decoration:none;
}

.evcp-template-author-profile .evcp-team-articles .evcp-news-row-copy h3 a:hover,
.evcp-template-author-profile .evcp-team-articles .evcp-news-row-copy h3 a:focus-visible{
  color:var(--evcp-cyan-hover);
}

.evcp-template-author-profile .evcp-team-articles .evcp-wp-pagination{
  margin-top:24px;
}

.evcp-template-author-profile .evcp-team-articles .evcp-wp-pagination .page-numbers{
  border-radius:3px;
}

@media(max-width:900px){
  .evcp-template-author-profile .evcp-team-profile-hero .evcp-hero-grid{
    align-items:flex-start;
  }

  .evcp-template-author-profile .evcp-team-photo-panel{
    width:100%;
    min-height:190px;
    justify-content:flex-start;
  }

  .evcp-template-author-profile .evcp-team-photo{
    width:190px;
    height:190px;
  }

  .evcp-template-author-profile .evcp-team-content-grid,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-official-links,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-about,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-articles,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-official-links,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-articles.has-no-official-links,
  .evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-articles{
    grid-template-columns:1fr;
    grid-template-areas:
      "about"
      "links"
      "articles";
    gap:30px;
  }

  .evcp-template-author-profile .evcp-team-content-grid.has-no-about{
    grid-template-areas:
      "links"
      "articles";
  }

  .evcp-template-author-profile .evcp-team-content-grid.has-no-articles{
    grid-template-areas:
      "about"
      "links";
  }

  .evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-official-links{
    grid-template-areas:"articles";
  }

  .evcp-template-author-profile .evcp-team-content-grid.has-no-articles.has-no-official-links{
    grid-template-areas:"about";
  }

  .evcp-template-author-profile .evcp-team-content-grid.has-no-about.has-no-articles{
    grid-template-areas:"links";
  }

  .evcp-template-author-profile .evcp-team-articles .evcp-news-row-copy h3{
    font-size:15px;
  }
}

@media(max-width:520px){
  .evcp-template-author-profile .evcp-team-photo-panel{
    min-height:160px;
  }

  .evcp-template-author-profile .evcp-team-photo{
    width:160px;
    height:160px;
  }

  .evcp-template-author-profile .evcp-team-articles-heading{
    display:grid;
    gap:6px;
    margin-bottom:14px;
  }
}
