.ifim-author-header {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 0 24px;
  background: linear-gradient(130deg, #0b2a6d 0%, #1a4fa8 54%, #2b8ec5 100%);
  box-shadow: 0 18px 50px rgba(7, 20, 61, .26);
  padding: 26px;
}

.ifim-author-header__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(255,255,255,.24), rgba(255,255,255,0) 34%),
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.14), rgba(255,255,255,0) 30%),
    radial-gradient(circle at 78% 82%, rgba(255,255,255,.12), rgba(255,255,255,0) 28%);
  pointer-events: none;
}

.ifim-author-header__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  align-items: stretch;
}

.ifim-author-header__content--no-media {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.ifim-author-header__media-col,
.ifim-author-header__desc-col {
  min-width: 0;
}

.ifim-author-header__name {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.12;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
}

.ifim-author-header__image {
  margin: 0;
}

.ifim-author-header__media {
  margin: 0;
}

.ifim-author-header__media .wp-video,
.ifim-author-header__media video {
  width: min(100%, 320px) !important;
  max-width: 100%;
}

.ifim-author-header__media video {
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  background: rgba(255,255,255,.12);
}

.ifim-author-header__image img {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  background: rgba(255,255,255,.12);
}

.ifim-author-header__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.96) !important;
  max-width: none;
  width: 100%;
  padding-top: 4px;
}

.ifim-author-header__desc p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.96) !important;
}

.ifim-author-header__desc p:last-child {
  margin-bottom: 0;
}

.ifim-author-header__right {
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: 0 12px 26px rgba(14, 25, 57, .15);
  padding: 20px;
  height: 100%;
}

.ifim-author-header__right-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
  color: #111827;
  font-weight: 700;
}

.ifim-author-header__meta-item {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #edf0f3;
}

.ifim-author-header__meta-item:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.ifim-author-header__meta-label {
  margin: 0 0 4px;
  color: #6b7280 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ifim-author-header__meta-value {
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.ifim-author-header__whatsapp-number {
  margin: 0;
  color: #111827;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.2;
}

.ifim-author-header__btn {
  margin-top: 14px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 16px;
  background: #1f8a52;
  color: #fff;
  border: 1px solid #1f8a52;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}

.ifim-author-header__btn:hover {
  color: #fff;
  filter: brightness(.95);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .ifim-author-header {
    padding: 20px;
  }

  .ifim-author-header__content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ifim-author-header__right {
    padding: 16px;
  }

  .ifim-author-header__whatsapp-number {
    font-size: 24px;
  }
}
