/* Keeply author surfaces — matched to PluginSuggest editorial structure. */
.author .keeply-author-page,
.single-post .keeply-single-author-card{
  font-family:'Manrope',sans-serif!important;
  color:#19151F!important;
}

/* AUTHOR ARCHIVE */
.author .keeply-author-shell{
  width:min(calc(100% - 48px),74rem)!important;
  margin:0 auto!important;
}
.author .keeply-author-hero>.section-container,
.author .keeply-author-posts>.section-container{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.author .keeply-author-hero{
  min-height:0!important;
  height:auto!important;
  padding:96px 0 0!important;
  background:#FAF8FD!important;
}
.author .keeply-author-profile{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:48px!important;
  align-items:center!important;
  max-width:61rem!important;
}
.author .keeply-author-avatar-wrap{
  width:220px!important;
  height:220px!important;
  padding:8px!important;
  border:1px solid #E7E0EE!important;
  border-radius:12px!important;
  background:#FFFFFF!important;
  box-shadow:0 12px 36px rgba(25,21,31,.06)!important;
}
.author .keeply-author-avatar,
.author .keeply-author-avatar img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:8px!important;
}
.author .keeply-author-copy{
  width:100%!important;
  max-width:660px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
}
.author .keeply-author-eyebrow{
  margin:0 0 12px!important;
  color:#995AED!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.author .keeply-author-name{
  margin:0!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:clamp(3rem,5vw,4.4rem)!important;
  line-height:1.04!important;
  font-weight:700!important;
  letter-spacing:-.03em!important;
}
.author .keeply-author-position{
  margin-top:12px!important;
  color:#19151F!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
.author .keeply-author-bio{
  max-width:650px!important;
  margin-top:18px!important;
  color:#6E6677!important;
  font-size:17px!important;
  line-height:1.65!important;
  font-weight:500!important;
}
.author .keeply-author-bio:empty{display:none!important}
.author .keeply-author-posts{
  min-height:0!important;
  height:auto!important;
  padding:68px 0 96px!important;
  background:#FAF8FD!important;
}
.author .keeply-author-post-list{
  width:100%!important;
}
.author .keeply-author-post-list .bde-loop,
.author .keeply-author-post-list .ee-posts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
.author .keeply-author-post-list .ee-post{
  min-width:0!important;
  height:100%!important;
  padding:8px 8px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  border:.5px solid #E7E0EE!important;
  border-radius:12px!important;
  background:#FFFFFF!important;
  overflow:hidden!important;
  box-shadow:0 0 12px rgba(25,21,31,.02)!important;
  transition:border-color .2s ease!important;
}
.author .keeply-author-post-list .ee-post:hover{border-color:#D4C7DF!important}
.author .keeply-author-post-list .ee-post-image-link{
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  border-radius:8px!important;
}
.author .keeply-author-post-list .ee-post-image{
  width:100%!important;
  aspect-ratio:16/9!important;
  overflow:hidden!important;
  border-radius:8px!important;
  background:#F4EDFD!important;
}
.author .keeply-author-post-list .ee-post-image img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  transition:transform .35s ease!important;
}
.author .keeply-author-post-list .ee-post:hover .ee-post-image img{transform:scale(1.025)!important}
.author .keeply-author-post-list .ee-post-wrap{
  width:100%!important;
  flex:1!important;
  padding:16px 10px 0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  text-align:left!important;
}
.author .keeply-author-post-list .ee-post-title{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:clamp(1.2rem,calc(1.15rem + .25vw),1.35rem)!important;
  line-height:1.18!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
  text-align:left!important;
  text-wrap:balance!important;
}
.author .keeply-author-post-list .ee-post-title-link{color:inherit!important;text-decoration:none!important}
.author .keeply-author-post-list .ee-post-meta{
  order:-1!important;
  width:100%!important;
  margin:0 0 10px!important;
  color:#995AED!important;
  font-family:'Manrope',sans-serif!important;
  font-size:.8rem!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:uppercase!important;
  text-align:left!important;
}
.author .keeply-author-post-list .ee-post-content{
  width:100%!important;
  max-width:none!important;
  margin:12px 0 0!important;
  color:#6E6677!important;
  font-family:'Manrope',sans-serif!important;
  font-size:.875rem!important;
  line-height:1.55!important;
  font-weight:500!important;
  text-align:left!important;
}
.author .keeply-author-post-list .ee-post-button{display:none!important}
.author .keeply-author-post-list .bde-posts-pagination{
  width:100%!important;
  margin:40px auto 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  font-family:'Manrope',sans-serif!important;
}
.author .keeply-author-post-list .bde-posts-navigation-numbers ul{
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  list-style:none!important;
}
.author .keeply-author-post-list .bde-posts-navigation-numbers li{margin:0!important;padding:0!important}
.author .keeply-author-post-list .bde-posts-navigation-numbers li a,
.author .keeply-author-post-list .bde-posts-prev-next-link a{
  min-width:40px!important;
  height:40px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #E7E0EE!important;
  border-radius:5px!important;
  background:#FFFFFF!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:500!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.author .keeply-author-post-list .bde-posts-prev-next-link a{min-width:88px!important;padding:0 14px!important}
.author .keeply-author-post-list .bde-posts-navigation-numbers li a:hover,
.author .keeply-author-post-list .bde-posts-prev-next-link a:hover,
.author .keeply-author-post-list .bde-posts-navigation-numbers--active a,
.author .keeply-author-post-list .bde-posts-navigation-numbers a.is-active{
  border-color:#D4C7DF!important;
  background:#F4EDFD!important;
  color:#19151F!important;
}
.author .keeply-author-post-list .bde-posts-navigation-numbers--active a,
.author .keeply-author-post-list .bde-posts-navigation-numbers a.is-active{font-weight:600!important}
.author .keeply-author-post-list .bde-posts-navigation-numbers--ellipses span{
  min-width:24px!important;
  height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:14px!important;
  font-weight:600!important;
}
.author .keeply-author-post-list .bde-posts-navigation-numbers li a:focus-visible,
.author .keeply-author-post-list .bde-posts-prev-next-link a:focus-visible{
  outline:2px solid #995AED!important;
  outline-offset:2px!important;
}

/* SINGLE-POST AUTHOR BOX — same rhythm as PluginSuggest. */
.single-post .keeply-single-author-card{
  width:100%!important;
  margin-top:16px!important;
  padding:28px 24px!important;
  border:1px solid #E7E0EE!important;
  border-radius:12px!important;
  background:#FFFFFF!important;
}
.single-post .keeply-single-author-card::before{
  content:'About the author';
  display:block!important;
  margin-bottom:28px!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:1.75rem!important;
  line-height:1.15!important;
  font-weight:600!important;
  letter-spacing:-.03em!important;
}
.single-post .keeply-blog-author-card{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  gap:0 14px!important;
  align-items:start!important;
}
.single-post .keeply-blog-author-card__avatar-link{display:block!important;width:56px!important;height:56px!important;text-decoration:none!important}
.single-post .keeply-blog-author-card__avatar{
  width:56px!important;
  height:56px!important;
  border-radius:999px!important;
  object-fit:cover!important;
  display:block!important;
}
.single-post .keeply-blog-author-card__body{min-width:0!important}
.single-post .keeply-blog-author-card__name{
  margin:0!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:1rem!important;
  line-height:1.3!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.single-post .keeply-blog-author-card__name:hover{color:#995AED!important}
.single-post .keeply-blog-author-card__position{
  margin-top:3px!important;
  color:#6E6677!important;
  font-family:'Manrope',sans-serif!important;
  font-size:.8125rem!important;
  line-height:1.4!important;
  font-weight:600!important;
}
.single-post .keeply-blog-author-card__bio{
  margin:8px 0 0!important;
  color:#19151F!important;
  font-family:'Manrope',sans-serif!important;
  font-size:.9375rem!important;
  line-height:1.58!important;
  font-weight:500!important;
}
.single-post .keeply-blog-author-card__links{
  margin-top:14px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.single-post .keeply-blog-author-card__links a,
.single-post .keeply-blog-author-card__links a:visited{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #E7E0EE!important;
  border-radius:8px!important;
  background:#FFFFFF!important;
  color:#19151F!important;
  text-decoration:none!important;
}
.single-post .keeply-blog-author-card__links a:hover,
.single-post .keeply-blog-author-card__links a:focus-visible{
  background:#F4EDFD!important;
  border-color:#D4C7DF!important;
  color:#995AED!important;
}
.single-post .keeply-blog-author-card__links svg{width:15px!important;height:15px!important;flex:0 0 15px!important}

@media(max-width:1023px){
  .author .keeply-author-hero{padding:72px 0 0!important}
  .author .keeply-author-posts{padding-top:52px!important}
  .author .keeply-author-profile{grid-template-columns:180px minmax(0,1fr)!important;gap:34px!important}
  .author .keeply-author-avatar-wrap{width:180px!important;height:180px!important}
  .author .keeply-author-post-list .bde-loop,
  .author .keeply-author-post-list .ee-posts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  .author .keeply-author-shell{width:calc(100% - 32px)!important}
  .author .keeply-author-hero{padding:96px 0 0!important}
  .author .keeply-author-profile{grid-template-columns:1fr!important;gap:24px!important}
  .author .keeply-author-avatar-wrap{width:140px!important;height:140px!important}
  .author .keeply-author-name{font-size:clamp(2.55rem,12vw,3.3rem)!important}
  .author .keeply-author-bio{font-size:15.5px!important}
  .author .keeply-author-posts{padding:42px 0 72px!important}
  .author .keeply-author-post-list .bde-loop,
  .author .keeply-author-post-list .ee-posts{grid-template-columns:1fr!important}
  .single-post .keeply-single-author-card{padding:22px 18px!important}
  .single-post .keeply-single-author-card::before{margin-bottom:22px!important;font-size:1.5rem!important}
  .single-post .keeply-blog-author-card{grid-template-columns:48px minmax(0,1fr)!important;gap:0 12px!important}
  .single-post .keeply-blog-author-card__avatar-link,
  .single-post .keeply-blog-author-card__avatar{width:48px!important;height:48px!important}
}
@media(max-width:479px){
  .author .keeply-author-post-list .bde-posts-pagination{margin-top:32px!important;gap:5px!important}
  .author .keeply-author-post-list .bde-posts-navigation-numbers ul{gap:5px!important}
  .author .keeply-author-post-list .bde-posts-prev-next-link a{min-width:80px!important;padding:0 12px!important}
}
@media(prefers-reduced-motion:reduce){
  .author .keeply-author-post-list .ee-post,
  .author .keeply-author-post-list .ee-post-image img{transition:none!important}
  .author .keeply-author-post-list .ee-post:hover .ee-post-image img{transform:none!important}
}


/* Final single-post author box fidelity override. Higher specificity than the template CSS. */
html body.single-post .keeply-single-post-footer .keeply-single-author-card{
  width:100%!important;
  margin:18px 0 0!important;
  padding:28px 24px!important;
  border:1px solid #E7E0EE!important;
  border-radius:12px!important;
  background:#F4EDFD!important;
  color:#19151F!important;
  font-family:Manrope,sans-serif!important;
  box-shadow:none!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card::before{
  content:'About the author'!important;
  display:block!important;
  margin:0 0 24px!important;
  color:#19151F!important;
  font-family:Manrope,sans-serif!important;
  font-size:28px!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-single-author-shortcode{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card{
  width:100%!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  column-gap:14px!important;
  align-items:start!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__avatar-link{
  grid-column:1!important;
  width:56px!important;
  height:56px!important;
  display:block!important;
  margin:0!important;
  text-decoration:none!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__avatar{
  width:56px!important;
  height:56px!important;
  display:block!important;
  border-radius:999px!important;
  object-fit:cover!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__body{
  grid-column:2!important;
  min-width:0!important;
  padding-top:1px!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__name{
  display:inline-block!important;
  margin:0!important;
  color:#19151F!important;
  font-family:Manrope,sans-serif!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:700!important;
  text-decoration:none!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__name:hover{
  color:#995AED!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__position{
  margin:3px 0 0!important;
  color:#6E6677!important;
  font-family:Manrope,sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__bio{
  max-width:62ch!important;
  margin:9px 0 0!important;
  color:#19151F!important;
  font-family:Manrope,sans-serif!important;
  font-size:15px!important;
  line-height:1.58!important;
  font-weight:500!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__links{
  margin:14px 0 0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__links a{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #E7E0EE!important;
  border-radius:8px!important;
  background:#FFFFFF!important;
  color:#19151F!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__links a:hover,
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__links a:focus-visible{
  border-color:#995AED!important;
  background:#F4EDFD!important;
  color:#995AED!important;
}
html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__links svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
}
@media(max-width:767px){
  html body.single-post .keeply-single-post-footer .keeply-single-author-card{
    margin-top:16px!important;
    padding:22px 18px!important;
    border-radius:10px!important;
  }
  html body.single-post .keeply-single-post-footer .keeply-single-author-card::before{
    margin-bottom:20px!important;
    font-size:24px!important;
  }
  html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card{
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:12px!important;
  }
  html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__avatar-link,
  html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__avatar{
    width:48px!important;
    height:48px!important;
  }
  html body.single-post .keeply-single-post-footer .keeply-single-author-card .keeply-blog-author-card__bio{
    font-size:14px!important;
    line-height:1.58!important;
  }
}
