.ott-author-pro-flatsome .entry-author.author-box {
  display: none !important;
}

.ott-author-card {
  --ott-author-accent: #ed1c24;
  position: relative;
  clear: both;
  margin: 44px 0 34px;
  padding: 28px;
  overflow: hidden;
  color: #242424;
  background: linear-gradient(135deg, #fff 0%, #fff 72%, #fff5f5 100%);
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(30, 30, 30, .08);
}

.ott-author-card a {
  text-decoration: none;
}

.ott-author-card__accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--ott-author-accent);
}

.ott-author-card__eyebrow {
  margin: 0 0 20px;
  color: var(--ott-author-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ott-author-card__main {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.ott-author-card__avatar {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 5px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #f7b9bc;
  border-color: color-mix(in srgb, var(--ott-author-accent) 25%, #fff);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(237, 28, 36, .13);
}

.ott-author-card__avatar::after {
  position: absolute;
  right: 5px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--ott-author-accent);
  border: 3px solid #fff;
  border-radius: 50%;
}

.ott-author-card__avatar img,
.ott-author-card__avatar .avatar {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
}

.ott-author-card__content {
  min-width: 0;
}

.ott-author-card__heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.ott-author-card__name {
  margin: -4px 0 3px;
  color: #171717;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.18;
}

.ott-author-card__name a {
  color: inherit;
}

.ott-author-card__name a:hover,
.ott-author-card__name a:focus-visible {
  color: var(--ott-author-accent);
}

.ott-author-card__job {
  color: #6b6b6b;
  font-size: 14px;
  font-weight: 600;
}

.ott-author-card__count {
  display: grid;
  flex: 0 0 auto;
  min-width: 78px;
  padding: 9px 12px;
  color: #4d4d4d;
  text-align: center;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.ott-author-card__count strong {
  color: var(--ott-author-accent);
  font-size: 20px;
  line-height: 1.1;
}

.ott-author-card__count span {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ott-author-card__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0 13px;
}

.ott-author-card__expertise span {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--ott-author-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  background: #fff5f5;
  background: color-mix(in srgb, var(--ott-author-accent) 8%, #fff);
  border: 1px solid #facfd1;
  border-color: color-mix(in srgb, var(--ott-author-accent) 18%, #fff);
  border-radius: 999px;
}

.ott-author-card__bio,
.ott-author-card__bio p {
  margin: 0;
  color: #575757;
  font-size: 14px;
  line-height: 1.7;
}

.ott-author-card__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.ott-author-card__profile {
  color: var(--ott-author-accent);
  font-size: 13px;
  font-weight: 800;
}

.ott-author-card__profile span {
  display: inline-block;
  margin-left: 3px;
  transition: transform .2s ease;
}

.ott-author-card__profile:hover span {
  transform: translateX(4px);
}

.ott-author-card__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ott-author-card__socials a {
  display: inline-flex;
  height: 34px;
  gap: 6px;
  align-items: center;
  padding: 0 11px;
  color: #777;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ott-author-card__socials a:hover,
.ott-author-card__socials a:focus-visible {
  color: #fff;
  background: var(--ott-author-accent);
  border-color: var(--ott-author-accent);
  box-shadow: 0 6px 16px rgba(237, 28, 36, .2);
  transform: translateY(-2px);
}

.ott-author-card__socials svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: currentColor;
}

.ott-author-card__socials span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ott-author-card__recent {
  margin: 24px -28px -28px;
  padding: 19px 28px 23px;
  background: rgba(248, 248, 248, .82);
  border-top: 1px solid #ececec;
}

.ott-author-card__recent-title {
  margin-bottom: 11px;
  color: #3b3b3b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ott-author-card__recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.ott-author-card__recent-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 17px;
  color: #333;
  border-left: 1px solid #e0e0e0;
}

.ott-author-card__recent-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.ott-author-card__recent-item:last-child {
  padding-right: 0;
}

.ott-author-card__recent-name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ott-author-card__recent-item time {
  color: #989898;
  font-size: 11px;
}

.ott-author-card__recent-item:hover .ott-author-card__recent-name,
.ott-author-card__recent-item:focus-visible .ott-author-card__recent-name {
  color: var(--ott-author-accent);
}

.ott-author-card :focus-visible {
  outline: 2px solid var(--ott-author-accent);
  outline-offset: 3px;
}

@media (max-width: 849px) {
  .ott-author-card {
    padding: 24px;
    border-radius: 15px;
  }

  .ott-author-card__main {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 20px;
  }

  .ott-author-card__avatar {
    width: 108px;
    height: 108px;
  }

  .ott-author-card__recent {
    margin: 22px -24px -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 549px) {
  .ott-author-card {
    margin: 34px 0 25px;
    padding: 22px 18px;
    text-align: center;
  }

  .ott-author-card__eyebrow {
    margin-bottom: 16px;
  }

  .ott-author-card__main {
    display: block;
  }

  .ott-author-card__avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 16px;
  }

  .ott-author-card__heading {
    display: block;
  }

  .ott-author-card__count {
    display: inline-grid;
    margin-top: 12px;
  }

  .ott-author-card__expertise,
  .ott-author-card__actions,
  .ott-author-card__socials {
    justify-content: center;
  }

  .ott-author-card__actions {
    flex-direction: column;
    gap: 13px;
  }

  .ott-author-card__recent {
    margin: 21px -18px -22px;
    padding: 18px;
    text-align: left;
  }

  .ott-author-card__recent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ott-author-card__recent-item,
  .ott-author-card__recent-item:first-child,
  .ott-author-card__recent-item:last-child {
    padding: 11px 0;
    border-top: 1px solid #e5e5e5;
    border-left: 0;
  }

  .ott-author-card__recent-item:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ott-author-card *,
  .ott-author-card *::before,
  .ott-author-card *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
