/* ==========================================================
   Voctos — Service Targets block
   "Who needs this service?" heading + icon cards grid
   ========================================================== */

/* Section margins: mb-6 / lg:mb-7 */
.voctos-service-targets {
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .voctos-service-targets {
    margin-bottom: 28px;
  }
}

/* ── Heading ────────────────────────────────────────────────
   text-2xl mb-2.5 | sm:text-fs-5 sm:mb-7
   sm+: flex with horizontal line growing to the right        */
.voctos-service-targets .svt-heading {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;        /* text-2xl */
  font-weight: 400;
  line-height: 1.3;
  color: #0D172D;          /* text-third */
  margin: 0 0 10px;        /* mb-2.5 */
}
@media (min-width: 640px) {
  .voctos-service-targets .svt-heading {
    font-size: 38px;       /* sm:text-fs-5 */
    margin-bottom: 28px;   /* sm:mb-7 */
    display: flex;
    align-items: center;
    gap: 24px;             /* gap-x-6 */
  }
  /* Horizontal rule extending to the right of the heading */
  .voctos-service-targets .svt-heading::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: #D5D9E8;  /* bg-sixth */
    align-self: flex-start;
    margin-top: 0.55em;          /* aligns with text cap-height */
  }
}

/* ── Cards grid ─────────────────────────────────────────────
   1 col mobile (gap-y-3) | 3 cols desktop (gap-x-4)          */
.voctos-service-targets .svt-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;               /* gap-y-3 */
}
@media (min-width: 1024px) {
  .voctos-service-targets .svt-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;             /* lg:gap-x-4 */
  }
}

/* ── Card: bg-white rounded-rc-1 py-6 px-5 flex gap-x-3
          lg:p-8                                               */
.voctos-service-targets .svt-card {
  background: #ffffff;
  border-radius: 30px;     /* rounded-rc-1 */
  padding: 24px 20px;      /* py-6 px-5 */
  display: flex;
  align-items: flex-start;
  gap: 12px;               /* gap-x-3 */
}
@media (min-width: 1024px) {
  .voctos-service-targets .svt-card {
    padding: 32px;          /* lg:p-8 */
  }
}

/* ── Icon: before:w-12 before:h-12 | lg:before:w-28 lg:before:h-28 */
.voctos-service-targets .svt-card__icon {
  display: block;
  width: 48px;              /* w-12 */
  height: 48px;             /* h-12 */
  flex-shrink: 0;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .voctos-service-targets .svt-card__icon {
    width: 112px;           /* lg:before:w-28 = 7rem */
    height: 112px;          /* lg:before:h-28 = 7rem */
  }
}
/* Placeholder when no icon is uploaded */
.voctos-service-targets .svt-card__icon--empty {
  background: #EEF0F5;
  border-radius: 8px;
}

/* ── Card body */
.voctos-service-targets .svt-card__body {
  flex: 1;
  min-width: 0;
}

/* ── Card title: font-medium text-xs text-third mb-1 leading-tight */
.voctos-service-targets .svt-card__title {
  font-size: 12px;          /* text-xs */
  font-weight: 600;         /* font-medium → semibold */
  line-height: 1.25;        /* leading-tight */
  color: #0D172D;           /* text-third */
  margin: 0 0 4px;          /* mb-1 */
}

/* ── Card description: text-fs-8 (12px) leading-tight lg:text-xs (12px) */
.voctos-service-targets .svt-card__desc {
  font-size: 12px;          /* text-fs-8 = 12px (confirmed from source CSS) */
  font-weight: 400;
  line-height: 1.25;        /* leading-tight */
  color: #0D172D;
  margin: 0;
}

/* ==========================================================
   Style 2 — Platform / "What sites we work with" cards
   4 columns desktop | 2 columns tablet | 1 column mobile
   ========================================================== */

/* ── Grid: 1 col → 2 col (640px) → 4 col (1024px) */
.voctos-service-targets--style-2 .svt-grid--s2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .voctos-service-targets--style-2 .svt-grid--s2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .voctos-service-targets--style-2 .svt-grid--s2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ── Card */
.voctos-service-targets--style-2 .svt-card--s2 {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
@media (min-width: 1024px) {
  .voctos-service-targets--style-2 .svt-card--s2 {
    padding: 24px 20px;
  }
}

/* ── Icon image inside the wrapper */
.voctos-service-targets--style-2 .svt-card__icon-img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
}

/* ── Placeholder when no icon uploaded */
.voctos-service-targets--style-2 .svt-card__icon-placeholder {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.35);
}

/* ── Card body */
.voctos-service-targets--style-2 .svt-card--s2 .svt-card__body {
  flex: 1;
  min-width: 0;
}

/* ── Title: bold, slightly larger */
.voctos-service-targets--style-2 .svt-card--s2 .svt-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #0D172D;
  margin: 0 0 6px;
}

/* ── Description: small, muted */
.voctos-service-targets--style-2 .svt-card--s2 .svt-card__desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: #5A6379;
  margin: 0;
}
