.tas-post-sidebar__author.tas-blog-sidebar__block {
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 51, 46, 0.08);
}

.tas-post-sidebar__author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.tas-post-sidebar__author-media {
  flex-shrink: 0;
}
.tas-post-sidebar__author-media img {
  border-radius: 50% !important;
  object-fit: cover;
}
.tas-post-sidebar__author-photo {
  display: block;
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  object-fit: cover;
}

.tas-post-sidebar__author-body {
  min-width: 0;
  flex: 1;
}

.tas-post-sidebar__author-name {
  display: block;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  color: var(--primary) !important;
}

.tas-post-sidebar__author-name:hover {
  color: var(--primary-hover) !important;
}

.tas-post-sidebar__author-bio {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--primary);
  opacity: 0.82;
}

.tas-post-sidebar__author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tas-post-sidebar__author-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tas-post-sidebar__author-social-btn:hover {
  background: var(--primary-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.tas-post-sidebar__author-social-btn i {
  font-size: 0.8125rem;
  line-height: 1;
}

.tas-post-sidebar__subscribe {
  background: var(--primary) !important;
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__title,
.tas-post-sidebar__subscribe .tas-blog-sidebar__text {
  color: var(--text-on-primary);
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__text {
  opacity: 0.88;
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 input[type="submit"],
.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 .wpcf7-submit {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary) !important;
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 input[type="submit"]:hover:not(:disabled),
.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 .wpcf7-submit:hover:not(:disabled) {
  background: var(--accent-hover, var(--accent));
  border-color: var(--accent-hover, var(--accent));
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 form.submitting input[type="submit"],
.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 form.submitting .wpcf7-submit {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
  color: transparent;
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 form.sent .wpcf7-response-output {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-primary);
}

.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe-notice,
.tas-post-sidebar__subscribe .tas-blog-sidebar__subscribe--cf7 .wpcf7-response-output {
  color: var(--text-on-primary);
  opacity: 0.9;
}

.tas-blog-sidebar__cats-item a.is-active .tas-blog-sidebar__cats-name {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1199px) {
  .tas-post-sidebar {
    margin-top: 36px;
  }
}
