/* Author card shown at the end of a guideline's body — site palette: teal #004952, coral #ff8d6e */

/* Divider between the body content and the author card */
.guideline-author-divider {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.guideline-author-divider::before,
.guideline-author-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe5e6;
}

.guideline-author-divider-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a9a9b;
  white-space: nowrap;
}

.guideline-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 42px;
  padding: 22px 24px;
  border: 1px solid #004952;
  border-radius: 12px;
  background: #f7fbfb;
  box-shadow: 0 2px 10px rgba(0, 73, 82, 0.06);
}

.guideline-author-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004952 0%, #02727e 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 73, 82, 0.25);
}

.guideline-author .guideline-author-photo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.guideline-author-info {
  min-width: 0;
}

.guideline-author-info .guideline-author-name {
  font-weight: 600;
  color: #004952;
}

.guideline-author-designation {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ff8d6e;
  margin-top: 3px;
}

.guideline-author-bio {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #456;
}

.guideline-author-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.guideline-author-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #004952;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dbe5e6;
  border-radius: 999px;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.guideline-author-email svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.guideline-author-email:hover {
  color: #ff8d6e;
  border-color: #ff8d6e;
}

.guideline-author-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dbe5e6;
  color: #004952;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.guideline-author-social svg {
  width: 15px;
  height: 15px;
}

.guideline-author-social:hover {
  color: #ff8d6e;
  border-color: #ff8d6e;
}

@media (max-width: 575.98px) {
  .guideline-author {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
}
