/*
 Theme Name: Twenty Twenty-One Child
 Template: twentytwentyone
 Version: 1.0.0
*/

/* == background color == */
body {
   background-color: #fff !important;
}

/* Author box on every post */
.saboxplugin-wrap {
  margin-top: 50px !important;
}
/* == fix for homepage padding == */
.rt-col-sm-7 .rt-detail, .rt-col-sm-8 .rt-detail {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

/* ===== Author archive layout (Twenty Twenty-One child) ===== */
.author-hero { margin-block: 2rem 0; }
.author-hero__inner {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .author-hero__inner {
    grid-template-columns: 1fr 280px; /* left content, right avatar */
    align-items: start;
  }
}
.author-hero .page-title { margin: 0 0 .5rem; }
.author-bio { position: static; text-align: left; margin-left: 0 !important; }
.author-bio p { margin: 0; }

.author-hero__right { justify-self: start; }
@media (min-width: 960px) {
  .author-hero__right { justify-self: end; }
}
.author-avatar {
  border-radius: 50%;
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px; /* matches the right column width */
}

/* Posts list: titles only, clean spacing */
.author-posts { margin-block: 2rem 4rem; }
.author-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.author-posts__item a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: inline-block;
  padding-bottom: 4px;
}
.author-posts__item a:hover,
.author-posts__item a:focus {
  text-decoration: underline;
}
.pagination { margin-top: 1.5rem; }

