/* Author profile and article author box. Rules are scoped to the author UI only. */
.skyx-article .skyx-author-box,
.skyx-author-page .skyx-author-profile,
.skyx-author-page .skyx-author-posts {
  width: 734px;
  max-width: 100%;
  margin-left: 40px;
}

.skyx-article .skyx-author-box {
  margin-top: 38px;
  padding: 24px 26px 25px;
  border: 1px solid rgba(255, 193, 7, 0.7);
  border-radius: 14px;
  background: #080808;
}

.skyx-author-box-header {
  margin: 0 0 12px;
}

.skyx-author-box-kicker {
  margin: 0 0 5px;
  color: #8888a0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.skyx-article .skyx-author-box h2,
.skyx-author-page .skyx-author-profile h1,
.skyx-author-page .skyx-author-posts h2 {
  margin: 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.skyx-article .skyx-author-box h2 {
  font-size: 1.35rem;
}

.skyx-author-box h2 a {
  color: #ffc107;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skyx-author-box h2 a:hover,
.skyx-author-box h2 a:focus-visible {
  color: #ffd54f;
}

.skyx-author-box-bio-wrap {
  color: #d0d0d8;
}

.skyx-author-box-bio {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

/* JS adds this class only after measuring the same, non-duplicated bio node. */
.skyx-author-box-bio.is-collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.skyx-author-box-toggle {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffc107;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.skyx-author-box-toggle[hidden] {
  display: none !important;
}

.skyx-author-box-toggle:hover,
.skyx-author-box-toggle:focus-visible {
  color: #ffd54f;
}

.skyx-author-box-toggle:focus-visible {
  outline: 2px solid #ffc107;
  outline-offset: 3px;
}

.skyx-author-box-empty {
  margin: 0;
  color: #8888a0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.skyx-author-page .skyx-author-profile {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.skyx-author-page .skyx-author-profile h1 {
  color: #ffc107;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.skyx-author-page .skyx-author-profile-bio {
  max-width: 760px;
  margin: 17px 0 0;
  color: #d0d0d8;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.skyx-author-page .skyx-author-profile-bio p {
  margin: 0 0 0.9em;
}

.skyx-author-page .skyx-author-profile-bio p:last-child {
  margin-bottom: 0;
}

.skyx-author-page .skyx-author-posts h2 {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.skyx-author-page .skyx-author-empty {
  margin: 0;
  color: #d0d0d8;
}

@media (max-width: 800px) {
  .skyx-article .skyx-author-box,
  .skyx-author-page .skyx-author-profile,
  .skyx-author-page .skyx-author-posts {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .skyx-article .skyx-author-box {
    padding: 21px 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skyx-author-box-toggle {
    scroll-behavior: auto;
  }
}
