/**
 * Graphikup Article Tools
 */

.graphikup-ai-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
}

.graphikup-ai-buttons__intro {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #535353;
}

.graphikup-ai-buttons__intro::first-letter {
  color: inherit;
}

.graphikup-ai-buttons__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.graphikup-ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #3f3f46;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.graphikup-ai-button:hover,
.graphikup-ai-button:focus {
  color: #111111;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}

.graphikup-ai-button:focus {
  outline: 2px solid #3f3f46;
  outline-offset: 3px;
}



.graphikup-ai-button__label {
  white-space: nowrap;
}

.graphikup-reading-time {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.4;
  color: #bfbfbf!important;
}

.graphikup-socialshare {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.graphikup-socialshare__button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.graphikup-socialshare__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.graphikup-socialshare__button:hover,
.graphikup-socialshare__button:focus {
  background: #333333;
  color: #ffffff;
  transform: translateY(-2px);
}

.graphikup-socialshare__button:focus {
  outline: 2px solid #333333;
  outline-offset: 3px;
}

.graphikup-author-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  margin: 35px 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  color: #333333;
}

.graphikup-author-box__avatar-wrap {
  flex: 0 0 auto;
  display: inline-flex;
}

.graphikup-author-box__avatar,
.graphikup-author-box img.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #2c7ec1;
  padding: 2px;
  object-fit: cover;
  background: #ffffff;
}

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

.graphikup-author-box__name {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.graphikup-author-box__name a {
  color: #2694f0;
  text-decoration: none;
}

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

.graphikup-author-box__title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #236faf;
}

.graphikup-author-box__bio {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #333333;
}

.graphikup-author-box__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.graphikup-author-box__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid #cfe0f1;
  border-radius: 999px;
  background: #f2f7fc;
  color: #236faf;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.graphikup-author-box__meta {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #333333;
}

.graphikup-author-box__separator {
  margin: 0 5px;
}

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

.graphikup-author-box__links a {
  color: #2694f0;
  text-decoration: none;
  font-size: 15px;
}

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

.graphikup-article-tools-block {
  display: grid;
  gap: 22px;
}

@media (max-width: 767px) {
  .graphikup-ai-buttons {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .graphikup-ai-buttons__list {
    width: 100%;
  }

  .graphikup-ai-button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .graphikup-author-box {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .graphikup-author-box__title {
    margin-bottom: 10px;
  }

  .graphikup-author-box__bio {
    font-size: 14px;
  }
}
