/* ==========================================================================
   author.css — GoalBible author (blogger) pages
   Used by: Views/UserProfile/Index.cshtml
            Views/UserProfile/Details.cshtml
            Views/UserProfile/Articles.cshtml

   Everything is scoped under .gb-author-page / .gb-author-hero so nothing
   here can leak into the rest of the site. Colours come from the :root vars
   in assets/css/theme.css, with hard-coded fallbacks.
   Layout uses the Bootstrap grid + utilities only — no blog.css.
   ========================================================================== */

.gb-author-page,
.gb-author-hero {
  --gb-ink: var(--primary-blue, #1b2235);
  --gb-ink-soft: var(--tertiary-blue, #202a45);
  --gb-muted: #6b7280;
  --gb-accent: var(--orange, #ff6100);
  --gb-rule: #e5e8ef;
  --gb-tint: var(--light-blue, #bdd9e5);
  --gb-pale: var(--pale-blue, #b3e8ff);
  --gb-surface: #ffffff;
  --gb-radius: 14px;
  --gb-shadow: 0 2px 14px rgba(27, 34, 53, 0.07);
}

.gb-author-page {
  color: var(--gb-ink);
  padding-bottom: 4rem;
}

.gb-author-page a,
.gb-author-hero a {
  text-decoration: none;
}

/* ==========================================================================
   Hero band — network background
   ========================================================================== */

.gb-author-hero {
  position: relative;
  isolation: isolate;
  padding: 3.5rem 0 3rem;
  color: #fff;
  /* Fallback first: if the SVG 404s the band is still a navy gradient. */
  background-color: var(--primary-blue, #1b2235);
  background-image: linear-gradient(125deg, #1b2235 0%, #202a45 55%, #2b5465 100%);
}

.gb-author-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("/assets/images/static/author-network-bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gb-author-hero__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.gb-author-hero__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  background: #223049;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.gb-author-hero__name {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 0.5rem;
}

.gb-author-hero__role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gb-accent);
  margin: 0;
}

.gb-author-hero__socials {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.gb-author-hero__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.gb-author-hero__socials a:hover,
.gb-author-hero__socials a:focus-visible {
  background: var(--gb-accent);
  border-color: var(--gb-accent);
  color: #fff;
}

.gb-author-hero__bio {
  margin: 1.5rem 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.gb-author-hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.gb-author-hero__stat b {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.gb-author-hero__stat span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ===========================================================================
   Profile detail — compact, editorial masthead and two-column content rail
   =========================================================================== */

.gb-author-hero--profile {
  min-height: 228px;
  padding: 0;
  color: var(--gb-ink);

  /* Base is a clean white sheet with one soft tint pooling behind the
     right-hand side, so the band has depth without a hard wash. */
  background-color: #fff;
  background-image:
    radial-gradient(125% 150% at 84% -10%,
                    rgba(179, 232, 255, 0.22) 0%,
                    rgba(179, 232, 255, 0.07) 42%,
                    rgba(179, 232, 255, 0) 68%);
  background-repeat: no-repeat;
  background-size: 100% 100%;

  border-top: 1px solid var(--gb-rule);
  border-bottom: 1px solid var(--gb-rule);
}

/* Texture layer: square hairline grid + a light network drawn for white.
   Masked so it fades out under the avatar and name (keeping type crisp)
   and dissolves before the bottom edge instead of stopping dead on it. */
.gb-author-hero--profile::before {
  background-image:
    url("/assets/images/static/author-network-light.svg"),
    linear-gradient(rgba(27, 34, 53, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 34, 53, 0.055) 1px, transparent 1px);
  background-size: cover, 36px 36px, 36px 36px;
  background-position: right center, center, center;
  background-repeat: no-repeat, repeat, repeat;

  opacity: 1;
  mix-blend-mode: normal;

  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0) 96%),
    linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 26%, #000 52%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0) 96%),
    linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 26%, #000 52%);
  mask-composite: intersect;
}

/* No ground rule on the profile masthead by design. The section already has
   border-bottom, and the square avatar sits on it via margin-bottom:-1px --
   that IS the grounding. A second, heavier accent line landing on the photo's
   bottom edge with no clearance reads as a rendering artifact, not a rule. */
.gb-author-hero--profile .breadcrumb-wrapper .breadcrumb { padding: .75rem 0; font-size: .76rem; }
.gb-author-hero--profile .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before { color: var(--gb-muted); }
.gb-author-hero--profile .breadcrumb-wrapper a { color: var(--gb-muted); }

.gb-author-hero--profile .gb-author-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  max-width: 100%;
  min-height: 180px;
  text-align: left;
}

.gb-author-hero--profile .gb-author-hero__avatar {
  position: relative;
  z-index: 0;
  width: 180px;
  height: 180px;
  margin: 0 0 -1px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-position: top center;
/*  filter: grayscale(1);*/
}

.gb-author-hero--profile .gb-author-hero__identity { align-self: center; min-width: 0; }
.gb-author-hero--profile .gb-author-hero__name { color: #05090f; font-size: 2.45rem; margin: 0 0 .55rem; }
.gb-author-hero--profile .gb-author-hero__role { color: var(--gb-ink); font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; font-style: italic; }
.gb-author-hero--profile .gb-author-hero__socials { align-self: center; margin: 0 0 .7rem; justify-content: flex-end; }
.gb-author-hero--profile .gb-author-hero__socials a { width: 34px; height: 34px; border-radius: 0; border-color: var(--gb-ink); color: var(--gb-ink); background: #fff; }
.gb-author-hero--profile .gb-author-hero__socials a:hover, .gb-author-hero--profile .gb-author-hero__socials a:focus-visible { color: #fff; background: var(--gb-accent); border-color: var(--gb-accent); }

.gb-author-detail .gb-author-body { padding-top: 0; }
.gb-author-detail .row.gx-5 { --bs-gutter-x: 0; }
.gb-author-detail .col-lg-8 { padding-right: 3.5rem; }
.gb-author-detail .gb-author-sidebar { padding: 2.75rem 0 3rem 1.85rem; border-left: 1px solid var(--gb-rule); }
.gb-author-bio { padding: 2rem 0 1.15rem; font-size: 1rem; line-height: 1.62; color: #1b2235; }
.gb-author-bio p { max-width: 850px; margin: 0; }
.gb-author-detail .gb-author-section { margin-top: 1.5rem; }
.gb-author-detail .gb-author-bio + .gb-author-section { margin-top: 0; }
.gb-author-detail .gb-section-head { padding-bottom: .85rem; margin-bottom: .9rem; border-bottom: 2px solid #1b2235; }
.gb-author-detail .gb-section-head h2 { font-size: 1.3rem; }

.gb-article-list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; }
.gb-article-list--grid .gb-article { gap: .95rem; padding: .75rem 0 .95rem; }
.gb-article-list--grid .gb-article:nth-child(-n + 2) { padding-top: 0; }
.gb-article-list--grid .gb-article__thumb { flex-basis: 90px; width: 90px; height: 90px; border-radius: 0; }
.gb-article-list--grid .gb-article__title { font-size: .98rem; line-height: 1.35; margin-bottom: .45rem; }
.gb-article-list--grid .gb-article__meta { gap: .45rem; font-size: .72rem; }
.gb-article-list--grid .gb-tag { padding: 0; border-radius: 0; background: transparent; color: #cf221f; font-size: .7rem; }
.gb-article-list--grid a.gb-tag:hover { background: transparent; color: var(--gb-ink); }
.gb-article-list--grid .gb-dot { display: none; }
.gb-author-detail .gb-all-link { display: flex; justify-content: center; gap: .45rem; margin: 1.1rem auto 0; padding: 0; border: 0; border-radius: 0; color: #cf221f; font-size: .8rem; }
.gb-author-detail .gb-all-link:hover { background: transparent; color: var(--gb-ink); }

.gb-author-section--split { --bs-gutter-x: 2.5rem; }
.gb-author-section--split .gb-section-head { margin-top: 0; }
.gb-author-section--split .gb-timeline__item { gap: .8rem; padding: .85rem 0; }
.gb-author-section--split .gb-timeline__logo { flex-basis: 48px; width: 48px; height: 48px; border-radius: 0; }
.gb-author-section--split .gb-timeline__org { font-size: .92rem; }
.gb-author-section--split .gb-timeline__title { font-size: .82rem; }

.gb-author-grid--more { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; }
.gb-more-authors__item { display: flex; align-items: center; gap: 1rem; min-height: 88px; padding: .25rem; color: var(--gb-ink); border: 1px solid var(--gb-rule); }
.gb-more-authors__item:hover { color: var(--gb-accent); border-color: var(--gb-ink); }
.gb-more-authors__item img { width: 80px; height: 80px; object-fit: cover; object-position: top center; 
/*                             filter: grayscale(1); */
}
.gb-more-authors__item span { display: block; min-width: 0; }
.gb-more-authors__item b { display: block; padding-bottom: .5rem; border-bottom: 2px solid var(--gb-ink); font-size: .92rem; }
.gb-more-authors__item em { display: block; margin-top: .45rem; color: var(--gb-muted); font-size: .72rem; }

@media (max-width: 991.98px) {
  .gb-author-detail .col-lg-8 { padding-right: 0; }
  .gb-author-detail .gb-author-sidebar { padding: 2.5rem 0; border-left: 0; border-top: 1px solid var(--gb-rule); }
}

@media (max-width: 767.98px) {
  .gb-author-hero--profile .gb-author-hero__inner { grid-template-columns: 104px minmax(0, 1fr); gap: 1rem; min-height: 122px; }
  .gb-author-hero--profile .gb-author-hero__avatar { width: 104px; height: 104px; }
  .gb-author-hero--profile .gb-author-hero__name { font-size: 1.55rem; }
  .gb-author-hero--profile .gb-author-hero__role { font-size: .82rem; }
  .gb-author-hero--profile .gb-author-hero__socials { grid-column: 2; justify-content: flex-start; margin: -.3rem 0 .6rem; }
  .gb-article-list--grid { grid-template-columns: 1fr; }
  .gb-article-list--grid .gb-article:nth-child(2) { padding-top: .75rem; }
  .gb-author-section--split { --bs-gutter-y: 2rem; }
}

/* ==========================================================================
   Body
   ========================================================================== */

.gb-author-body {
  padding-top: 2.75rem;
}

.gb-author-section + .gb-author-section {
  margin-top: 2.75rem;
}

.gb-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  margin: 1.25rem 0;
  border-bottom: 2px solid var(--gb-ink);
}

.gb-section-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: var(--gb-ink);
}

.gb-section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gb-accent);
  white-space: nowrap;
}

.gb-section-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Article list — thumb left, meta right
   ========================================================================== */

.gb-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-article {
  display: flex;
  gap: 1.15rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gb-rule);
}

.gb-article:first-child {
  padding-top: 0;
}

.gb-article__thumb {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f4f8;
}

.gb-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gb-article:hover .gb-article__thumb img {
  transform: scale(1.05);
}

.gb-article__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gb-article__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.gb-article__title a {
  color: var(--gb-ink);
}

.gb-article__title a:hover {
  color: var(--gb-accent);
}

.gb-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--gb-muted);
}

.gb-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--gb-tint);
  color: var(--primary-blue, #1b2235);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a.gb-tag:hover {
  background: var(--gb-ink);
  color: #fff;
}

.gb-article__meta .gb-dot::before {
  content: "\00b7";
  margin-right: 0.6rem;
}

/* The "All 228 Articles →" link, mirroring the reference layout */
.gb-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--gb-rule);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gb-ink);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gb-all-link:hover {
  background: var(--gb-ink);
  border-color: var(--gb-ink);
  color: #fff;
}

/* ==========================================================================
   Timeline — Career / Education
   ========================================================================== */

.gb-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-timeline__item {
  display: flex;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gb-rule);
}

.gb-timeline__item:first-child {
  padding-top: 0;
}

.gb-timeline__item:last-child {
  border-bottom: 0;
}

.gb-timeline__logo {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid var(--gb-rule);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gb-timeline__logo img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  display: block;
}

/* Fallback monogram when no logo file is set */
.gb-timeline__logo--initials {
  background: var(--gb-ink);
  border-color: var(--gb-ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.gb-timeline__body {
  flex: 1 1 auto;
  min-width: 0;
}

.gb-timeline__org {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gb-ink);
  margin: 0 0 0.15rem;
}

.gb-timeline__title {
  font-size: 0.92rem;
  color: #4b5563;
  margin: 0 0 0.4rem;
}

.gb-timeline__dates {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gb-muted);
}

.gb-badge-present {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 97, 0, 0.12);
  color: var(--gb-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ==========================================================================
   Rich-text block (TinyMCE) + pull quote
   ========================================================================== */

.gb-author-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

.gb-author-content > *:first-child {
  margin-top: 0;
}

.gb-author-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gb-ink);
  margin: 2rem 0 0.85rem;
}

.gb-author-content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gb-ink);
  margin: 1.4rem 0 0.35rem;
}

.gb-author-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gb-ink-soft);
  margin: 1.1rem 0 0.3rem;
}

.gb-author-content p {
  margin: 0 0 1rem;
}

.gb-author-content ul,
.gb-author-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.gb-author-content li {
  margin-bottom: 0.4rem;
}

.gb-author-content a {
  color: var(--gb-accent);
  text-decoration: underline;
}

.gb-author-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.gb-author-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.gb-author-content th,
.gb-author-content td {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gb-rule);
  text-align: left;
}

.gb-author-content th {
  background: #f7f9fc;
  color: var(--gb-ink);
  font-weight: 700;
}

.gb-author-content blockquote,
.gb-quote {
  position: relative;
  margin: 1.75rem 0 0;
  padding: 1.5rem 1.5rem 1.5rem 3.25rem;
  background: #f6f8fc;
  border-left: 4px solid var(--gb-accent);
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--gb-ink-soft);
}

.gb-author-content blockquote::before,
.gb-quote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 0.35rem;
  font-size: 3.2rem;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
  color: var(--gb-accent);
  opacity: 0.35;
}

.gb-author-content blockquote p:last-child,
.gb-quote p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Author grid — index page + "More Authors"
   ========================================================================== */

.gb-author-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-author-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.75rem 1.25rem;
  background: var(--gb-surface);
  border: 1px solid var(--gb-rule);
  border-radius: var(--gb-radius);
  box-shadow: var(--gb-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gb-author-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gb-tint);
  box-shadow: 0 8px 24px rgba(27, 34, 53, 0.12);
}

.gb-author-tile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f4f8;
  margin-bottom: 1rem;
}

.gb-author-tile__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.gb-author-tile__name a {
  color: var(--gb-ink);
}

.gb-author-tile__name a:hover {
  color: var(--gb-accent);
}

.gb-author-tile__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gb-accent);
  margin: 0 0 0.75rem;
}

.gb-author-tile__bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gb-muted);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-author-tile__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.gb-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--gb-rule);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gb-muted);
}

a.gb-chip:hover {
  border-color: var(--gb-ink);
  color: var(--gb-ink);
}

/* ==========================================================================
   Pagination (author article archive)
   ========================================================================== */

.gb-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
}

.gb-pagination a,
.gb-pagination .is-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--gb-rule);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gb-ink);
  background: var(--gb-surface);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gb-pagination a:hover {
  border-color: var(--gb-ink);
}

.gb-pagination .is-active {
  background: var(--gb-ink);
  border-color: var(--gb-ink);
  color: #fff;
}

.gb-pagination__gap {
  padding: 0 0.25rem;
  color: var(--gb-muted);
}

/* ==========================================================================
   Page intro (index / archive) + empty state
   ========================================================================== */

.gb-page-head {
  margin: 2rem 0 2.25rem;
  max-width: 720px;
}

.gb-page-head h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gb-ink);
  margin: 0 0 0.75rem;
}

.gb-page-head p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gb-muted);
  margin: 0;
}

.gb-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--gb-muted);
  border: 1px dashed var(--gb-rule);
  border-radius: var(--gb-radius);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .gb-author-sidebar {
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .gb-author-hero {
    padding: 2.5rem 0 2.25rem;
  }

  .gb-author-hero__avatar {
    width: 132px;
    height: 132px;
    margin-bottom: 1.1rem;
  }

  .gb-author-hero__name {
    font-size: 1.75rem;
  }

  .gb-author-hero__bio {
    font-size: 0.95rem;
  }

  .gb-author-hero__stats {
    gap: 1.75rem;
  }

  .gb-article__thumb {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }

  .gb-article__title {
    font-size: 0.95rem;
  }

  .gb-timeline__logo {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .gb-quote,
  .gb-author-content blockquote {
    padding: 1.25rem 1.1rem 1.25rem 2.6rem;
    font-size: 0.98rem;
  }

  .gb-page-head h1 {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-author-tile,
  .gb-article__thumb img,
  .gb-author-hero__socials a,
  .gb-all-link {
    transition: none;
  }

  .gb-author-tile:hover {
    transform: none;
  }

  .gb-article:hover .gb-article__thumb img {
    transform: none;
  }
}

/* ===========================================================================
   Article archive — /author/{slug}/articles/
   Shares the profile masthead texture; typographic instead of portrait-led.
   =========================================================================== */

.gb-author-hero--listing { min-height: 176px; }

.gb-author-hero--listing .gb-author-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  max-width: 100%;
  min-height: 124px;
  padding-bottom: 1.4rem;
  text-align: left;
}

/* Ground rule for the archive masthead only. There is no avatar here, so the
   line sits under type with clear space above it and reads as intentional.
   Self-contained: it no longer inherits content/position from the profile. */
.gb-author-hero--listing .gb-author-hero__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right,
              var(--gb-accent) 0,
              var(--gb-accent) 92px,
              rgba(27, 34, 53, 0.12) 92px,
              rgba(27, 34, 53, 0) 58%);
}

.gb-author-hero__eyebrow {
  margin: 0 0 .55rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gb-muted);
}

.gb-author-hero--listing .gb-author-hero__name {
  color: #05090f;
  font-size: 2.2rem;
  line-height: 1.12;
  margin: 0;
}

.gb-author-hero__meta {
  margin: .6rem 0 0;
  font-size: .86rem;
  color: var(--gb-muted);
}

.gb-author-hero__meta em {
  font-style: italic;
  color: var(--gb-ink);
}

.gb-author-hero__meta .gb-sep { margin: 0 .5rem; opacity: .45; }

.gb-author-hero__back {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .5rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--gb-ink);
  color: var(--gb-ink);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}

.gb-author-hero__back:hover { color: #cf221f; border-color: #cf221f; }

/* ── Body rail: identical geometry to the detail page ────────────────────── */

.gb-author-archive .gb-author-body { padding-top: 0; }
.gb-author-archive .row.gx-5 { --bs-gutter-x: 0; }
.gb-author-archive .col-lg-8 { padding-right: 3.5rem; padding-top: 2.5rem; }
.gb-author-archive .gb-author-sidebar {
  padding: 2.75rem 0 3rem 1.85rem;
  border-left: 1px solid var(--gb-rule);
}

.gb-author-archive .gb-section-head {
  padding-bottom: .85rem;
  margin-bottom: .9rem;
  border-bottom: 2px solid #1b2235;
}

.gb-author-archive .gb-section-head h2 { font-size: 1.3rem; }

.gb-author-archive .gb-section-head .gb-count {
  font-size: .76rem;
  font-weight: 600;
  color: var(--gb-muted);
  letter-spacing: .04em;
}

/* ── Archive list: one column, larger plate, editorial meta ──────────────── */

.gb-article-list--archive .gb-article {
  gap: 1.25rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--gb-rule);
}

.gb-article-list--archive .gb-article:first-child { padding-top: .35rem; }

.gb-article-list--archive .gb-article__thumb {
  flex: 0 0 138px;
  width: 138px;
  height: 98px;
  border-radius: 0;
}

.gb-article-list--archive .gb-article__title {
  font-size: 1.1rem;
  line-height: 1.34;
  margin-bottom: .5rem;
}

.gb-article-list--archive .gb-article__meta {
  gap: .55rem;
  font-size: .74rem;
}

.gb-article-list--archive .gb-tag {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #cf221f;
  font-size: .7rem;
  letter-spacing: .06em;
}

.gb-article-list--archive a.gb-tag:hover { background: transparent; color: var(--gb-ink); }
.gb-article-list--archive .gb-dot::before { margin-right: .55rem; }

/* ── Pagination in the same square, hairline idiom ───────────────────────── */

.gb-author-archive .gb-pagination {
  justify-content: flex-start;
  gap: .35rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gb-rule);
}

.gb-author-archive .gb-pagination a,
.gb-author-archive .gb-pagination .is-active {
  min-width: 40px;
  height: 40px;
  border-radius: 0;
  border-color: var(--gb-rule);
  font-size: .82rem;
  font-weight: 600;
}

.gb-author-archive .gb-pagination a:hover {
  border-color: var(--gb-ink);
  color: var(--gb-ink);
}

.gb-author-archive .gb-pagination .is-active {
  background: var(--gb-ink);
  border-color: var(--gb-ink);
  color: #fff;
}

.gb-author-archive .gb-pagination__gap { color: var(--gb-muted); }

@media (max-width: 991.98px) {
  .gb-author-archive .col-lg-8 { padding-right: 0; }
  .gb-author-archive .gb-author-sidebar {
    padding: 2.5rem 0;
    border-left: 0;
    border-top: 1px solid var(--gb-rule);
  }
}

@media (max-width: 767.98px) {
  .gb-author-hero--listing .gb-author-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
    min-height: 0;
    padding-bottom: 1.2rem;
  }
  .gb-author-hero--listing .gb-author-hero__name { font-size: 1.5rem; }
  .gb-author-hero__back { align-self: start; margin-bottom: 0; }
  .gb-article-list--archive .gb-article__thumb { flex: 0 0 92px; width: 92px; height: 68px; }
  .gb-article-list--archive .gb-article__title { font-size: .96rem; }
}
