.bsg-author-box {
  margin: 48px 0;
  padding: 0;
  clear: both;
}

.bsg-author-box,
.bsg-author-box * {
  box-sizing: border-box;
}

.bsg-author-box__inner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5f8f7 0%, #ffffff 55%, #eef4f2 100%);
  border: 1px solid rgba(37, 50, 50, 0.12);
  box-shadow: 0 18px 45px rgba(20, 35, 35, 0.08);
}

.bsg-author-box__avatar {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
  background: #253232;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsg-author-box__avatar a {
  display: block;
  width: 100%;
  height: 100%;
}

.bsg-author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bsg-author-box__content {
  min-width: 0;
}

.bsg-author-box__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 50, 50, 0.08);
  color: #253232;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.bsg-author-box__name {
  margin-bottom: 6px;
  color: #172424;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

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

.bsg-author-box__name a:hover {
  color: #253232;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bsg-author-box__position {
  margin-bottom: 12px;
  color: #596868;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.bsg-author-box__text {
  max-width: 880px;
  margin: 0 0 18px;
  color: #425151;
  font-size: 16px;
  line-height: 1.65;
}

.bsg-author-box__text p {
  margin: 0 0 10px;
}

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

.bsg-author-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.bsg-author-box__meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(37, 50, 50, 0.1);
  color: #334444;
  font-size: 14px;
  line-height: 1.35;
}

.bsg-author-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bsg-author-box__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #253232;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bsg-author-box__link:hover,
.bsg-author-box__link:focus {
  background: #314343;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 50, 50, 0.18);
}

@media (max-width: 768px) {
  .bsg-author-box {
    margin: 36px 0;
  }

  .bsg-author-box__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
    border-radius: 20px;
  }

  .bsg-author-box__avatar {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .bsg-author-box__name {
    font-size: 22px;
    line-height: 1.2;
  }

  .bsg-author-box__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .bsg-author-box__actions {
    flex-direction: column;
  }

  .bsg-author-box__link {
    width: 100%;
  }
}
