/* ===================== Author Quote Blockquote ===================== */

.author-quote {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0;
}

.author-quote__photo {
  flex-shrink: 0;
  width: 56px!important;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.author-quote__content {
  flex: 1;
  min-width: 0;
}

.author-quote__text,
.author-quote__cite {
  font-size: 15px;
  line-height: 1.6;
  color: var(--neutral20);
  margin: 0;
}

.author-quote__cite {
  margin-top: 8px;
  font-size: 14px;
  color: var(--primary-color);
}

/* ===================== Author Page ===================== */

.author-page {
  padding: 40px 0 80px;
}

.author-page__article {
  max-width: 800px;
  margin: 0 auto;
}

.author-page__header {
  margin-bottom: 40px;
}

.author-page__meta {
  font-size: 14px;
  color: var(--neutral40);
  margin-bottom: 24px;
}

.author-page__meta-sep {
  margin: 0 8px;
  opacity: 0.6;
}

.author-page__profile {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--neutral80);
  border-radius: var(--br);
  padding: 32px 40px;
  border: 1px solid rgba(197, 171, 106, 0.2);
}

.author-page__photo {
  flex-shrink: 0;
}

.author-page__photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.author-page__info {
  flex: 1;
  min-width: 0;
}

.author-page__name {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--primary-color);
}

.author-page__bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral40);
  margin: 0 0 20px 0;
}

.author-page__content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--neutral20);
}

.author-page__content p {
  margin: 0 0 1em 0;
}

.author-page__content p:last-child {
  margin-bottom: 0;
}

.author-page__content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 36px 0 16px 0;
  padding-top: 8px;
}

.author-page__content h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.author-page__content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral20);
  margin: 24px 0 12px 0;
}

.author-page__content ul {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.author-page__content li {
  margin-bottom: 8px;
}

.author-page__placeholder {
  color: var(--neutral50);
  font-style: italic;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--br);
  border: 1px dashed rgba(197, 171, 106, 0.3);
}

@media (max-width: 768px) {
  .author-page__profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 24px;
  }

  .author-page__photo img {
    width: 120px;
    height: 120px;
  }

  .author-page__name {
    font-size: 24px;
  }

  .author-page__bio {
    font-size: 15px;
    text-align: left;
  }

  .author-page__links {
    justify-content: center;
  }
}

/* ===================== Author Bio Block (above FAQ) ===================== */

.author-bio {
  margin: 40px 0 50px;
  padding: 0;
}

.author-bio__inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--neutral80);
  border-radius: var(--br);
  padding: 28px 32px;
  border: 1px solid rgba(197, 171, 106, 0.2);
}

.author-bio__photo {
  flex-shrink: 0;
}

.author-bio__photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.author-bio__photo a:hover img {
  opacity: 0.9;
}

.author-bio__content {
  flex: 1;
  min-width: 0;
}

.author-bio__name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--primary-color);
}

.author-bio__name a {
  color: inherit;
  text-decoration: none;
}

.author-bio__name a:hover {
  text-decoration: underline;
}

.author-bio__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--neutral40);
  margin: 0 0 16px 0;
}

.author-bio__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.author-bio__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.author-bio__link:hover {
  text-decoration: underline;
}

.author-bio__link_linkedin::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5ab6a'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

@media (max-width: 768px) {
  .author-bio__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .author-bio__photo img {
    width: 100px;
    height: 100px;
  }

  .author-bio__name {
    font-size: 20px;
  }

  .author-bio__text {
    font-size: 14px;
    text-align: left;
  }

  .author-bio__links {
    justify-content: center;
  }
}


/* ===================== Author Box ===================== */

.author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #333;
  border-radius: 16px;
  padding: 6px 12px;
  color: #fff;
  max-width: 100%;
  flex-wrap: nowrap;
  font-family: 'Inter', sans-serif;
}

/* Author photo */
.author-box img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Textual info */
.author-info {
  font-size: 12px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Author name link */
.author-name a {
  color: #c5aa73;
  text-decoration: none;
}

.author-name a:hover {
  text-decoration: underline;
}

/* Date styles */
.author-date span.checking {
  color: gray;
  opacity: 0.6;
  font-style: italic;
  transition: all 0.3s ease;
}

.author-date span.updated {
  color: #8f9779;
  font-weight: bold;
  transition: all 0.3s ease;
}


/* ===================== Responsive: mobile fallback ===================== */

@media (max-width: 400px) {
  .author-box {
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
  }

  .author-box img {
    width: 36px;
    height: 36px;
  }

  .author-info {
    font-size: 13px;
    text-align: left;
  }
}
