/* ============================
   AUTHOR PAGE (ABOUT ANKUR)
============================ */

/* ============================
   HERO
============================ */

.vm-author-hero {
  background-color: var(--vm-purple-footer);
  padding: 96px 0;
  text-align: center;
}

.vm-author-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.vm-author-hero__title {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-500);
  font-size: var(--vm-fs-58);
  line-height: 1.05;
  letter-spacing: var(--vm-ls--174);
  margin-bottom: 0;
}

.vm-author-hero__highlight {
  color: var(--vm-blue-accent);
  margin-right: 8px;
}

.vm-author-hero__main {
  color: var(--vm-white);
}

/* ============================
   SHARED SECTION BASE
============================ */

.vm-author-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.vm-author-section__body {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-26);
  color: var(--vm-text-body);
}

.vm-author-section__body p {
  margin-bottom: 16px;
}

.vm-author-section__body p:last-child {
  margin-bottom: 0;
}

.vm-author-section__image-wrap {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.vm-author-section__image-wrap--placeholder {
  min-height: 420px;
  background-color: #e8e8ec;
  border-radius: 10px;
}

.vm-author-section__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================
   BIO SECTION
============================ */

.vm-author-bio {
  background-color: #F3F3F5;
}

.vm-author-bio__image-wrap {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.vm-author-bio__image-wrap--placeholder {
  min-height: 500px;
  background-color: #e8e8ec;
  border-radius: 10px;
}

.vm-author-bio__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.vm-author-bio__name {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-500);
  font-size: var(--vm-fs-46);
  line-height: var(--vm-lh-52);
  letter-spacing: var(--vm-ls--138);
  color: var(--vm-heading);
  margin-bottom: 10px;
}

.vm-author-bio__role {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-600);
  font-size: var(--vm-fs-18);
  line-height: var(--vm-lh-24);
  color: var(--vm-text-body);
  margin-bottom: 6px;
}

.vm-author-bio__licence {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-14);
  line-height: var(--vm-lh-18);
  color: var(--vm-text-body);
  margin-bottom: 28px;
  opacity: 0.75;
}

/* ============================
   QUALIFICATIONS SECTION
============================ */

.vm-author-credentials {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vm-author-credentials__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-24);
  color: var(--vm-text-body);
}

.vm-author-credentials__item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--vm-blue-accent);
  margin-top: 9px;
}

/* ============================
   AREAS OF PRACTICE
============================ */

.vm-author-practice {
  background-color: #CFE7EF;
  padding-top: 100px;
  padding-bottom: 100px;
}

.vm-author-practice__header {
  margin-bottom: 56px;
}

.vm-author-practice__intro {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-18);
  line-height: var(--vm-lh-26);
  color: var(--vm-text-body);
  max-width: 720px;
  margin: 16px auto 0;
}

/* Practice card */
.vm-author-practice-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vm-author-practice-card__image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
}

.vm-author-practice-card__image-wrap--placeholder {
  background-color: #cce9f5;
}

.vm-author-practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.vm-author-practice-card:hover .vm-author-practice-card__image {
  transform: scale(1.04);
}

.vm-author-practice-card__body {
  padding: 24px 28px 32px;
  flex: 1;
}

.vm-author-practice-card__title {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-600);
  font-size: var(--vm-fs-20);
  line-height: var(--vm-lh-26);
  color: var(--vm-heading);
  margin-bottom: 12px;
}

.vm-author-practice-card__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(15, 15, 15, 0.12);
  margin-bottom: 14px;
}

.vm-author-practice-card__desc {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-15, 15px);
  line-height: var(--vm-lh-24);
  color: var(--vm-text-body);
  margin-bottom: 0;
}

/* ============================
   MEDIA SECTION
============================ */

.vm-author-media {
  background-color: var(--vm-white);
}

.vm-author-media-outlets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.vm-author-media-outlets__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.vm-author-media-outlets__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================
   RECOGNITION SECTION
============================ */

.vm-author-recognition {
  background-color: #f8f8f9;
}

/* ============================
   WORKING WITH ANKUR SECTION
============================ */

.vm-author-working {
  position: relative;
  background-color: var(--vm-purple-footer);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vm-author-working__overlay {
  position: relative;
  padding: 100px 0;
  background-color: rgba(20, 18, 50, 0.72);
}

.vm-author-working__title {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-500);
  font-size: var(--vm-fs-46);
  line-height: var(--vm-lh-52);
  letter-spacing: var(--vm-ls--138);
  color: var(--vm-white);
  margin-bottom: 20px;
}

.vm-author-working__body {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-26);
  color: rgba(255, 255, 255, 0.85);
}

.vm-author-working__body p {
  margin-bottom: 16px;
}

.vm-author-working__body p:last-child {
  margin-bottom: 0;
}

/* Testimonial card */
.vm-author-testimonial {
  background-color: var(--vm-white);
  border: 1px solid rgba(15, 15, 15, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 28px 32px;
}

.vm-author-testimonial__quote {
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-400);
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-26);
  color: var(--vm-text-body);
  margin-bottom: 20px;
}

.vm-author-testimonial__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(15, 15, 15, 0.12);
  margin-bottom: 16px;
}

.vm-author-testimonial__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.vm-author-testimonial__name {
  display: block;
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-600);
  font-size: var(--vm-fs-14);
  line-height: var(--vm-lh-18);
  letter-spacing: 0.5px;
  color: var(--vm-heading);
}

.vm-author-testimonial__stars {
  display: flex;
  gap: 3px;
}

.vm-author-testimonial__stars span {
  color: #50BAE2;
  font-size: 18px;
  line-height: 1;
}

/* ============================
   RESPONSIVE — TABLET (≤ 991px)
============================ */

@media (max-width: 991px) {

  .vm-author-hero {
    padding: 80px 0;
  }

  .vm-author-hero__title {
    font-size: 48px;
    line-height: 1.1;
  }

  .vm-author-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .vm-author-bio__name {
    font-size: 38px;
    line-height: 44px;
  }

  .vm-author-practice {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .vm-author-practice__header {
    margin-bottom: 40px;
  }

  .vm-author-working__overlay {
    padding: 80px 0;
  }

  .vm-author-working__title {
    font-size: 36px;
    line-height: 44px;
  }
}

/* ============================
   RESPONSIVE — MOBILE (≤ 767px)
============================ */

@media (max-width: 767px) {

  .vm-author-hero {
    padding: 64px 0;
  }

  .vm-author-hero__title {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.8px;
  }

  .vm-author-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .vm-author-working__overlay {
    padding: 64px 0;
  }

  .vm-author-working__title {
    font-size: var(--vm-fs-30);
    line-height: 36px;
  }

  .vm-author-bio__name {
    font-size: var(--vm-fs-30);
    line-height: 36px;
    letter-spacing: -0.8px;
  }

  .vm-author-bio__role {
    font-size: var(--vm-fs-16);
  }

  .vm-author-section__image-wrap--placeholder {
    min-height: 260px;
  }

  .vm-author-bio__image-wrap--placeholder {
    min-height: 300px;
  }

  .vm-author-practice {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .vm-author-practice__header {
    margin-bottom: 32px;
  }

  .vm-author-practice-card__image-wrap {
    height: 180px;
  }

  .vm-author-testimonial {
    padding: 20px 22px;
  }
}
