/* Digital Marketing illustration: channels connected to one business (.mk). Built on the shared .vz system.
 * All figures in the illustration are sample data and are labelled as such. */
.mk__map {
  position: relative;
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr) 31%;
  height: 12rem;
  margin-bottom: 1.1rem;
}
.mk__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  fill: none;
  overflow: visible;
}
.mk__lines path {
  stroke: var(--secondary);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.75;
}
.mk__col {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk__chip {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.4rem;
  margin: 0;
  border: 1px solid var(--vz-line);
  border-radius: 3.75rem;
  background-color: #fff;
  padding: 0.4rem 0.8rem 0.4rem 0.55rem;
  box-shadow: 0 0.35rem 0.9rem rgba(0, 31, 63, 0.08);
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--headerColor);
}
.mk__chip img {
  flex: none;
  height: 1.1rem;
  width: 1.1rem;
}
.mk__col--r .mk__chip {
  justify-self: start;
}
.mk__col--l .mk__chip {
  justify-self: end;
}
.mk__hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  gap: 0.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #001f3f, #14406e);
  height: 7.25rem;
  width: 7.25rem;
  box-shadow: 0 0 0 0.5rem rgba(67, 183, 255, 0.2), 0 1rem 2rem rgba(0, 31, 63, 0.25);
  color: #fff;
}
.mk__spark {
  height: 1.3rem;
  width: 2.6rem;
  color: var(--secondary);
}
.mk__hub-name {
  font-family: var(--headerFont);
  font-size: 0.9375rem;
  line-height: 1.1em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mk__hub-sub {
  font-size: 0.6875rem;
  line-height: 1.1em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}
.mk__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.mk__kpis > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid #e9eef3;
  border-radius: 0.85rem;
  background-color: #f7f9fb;
  padding: 0.6rem 0.75rem;
}
.mk__kpis strong {
  font-family: var(--headerFont);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.1em;
  font-weight: 700;
  color: var(--headerColor);
}

/* Floating channel report (sample) */
.mk__report {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem 0.9rem;
  max-width: 13rem;
}
.mk__report-title {
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6b7d;
}
.mk__row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.mk__meter {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--vz-bar);
  height: 0.4rem;
}
.mk__fill {
  display: block;
  border-radius: 1rem;
  background-color: var(--primary);
  height: 100%;
}
.mk__w78 {
  width: 78%;
}
.mk__w56 {
  width: 56%;
}
.mk__w42 {
  width: 42%;
}
@media only screen and (min-width: 64rem) {
  .mk .vz__stage {
    padding-bottom: 3rem;
  }
  .mk .vz__body {
    padding-bottom: 3.6rem;
  }
  .mk__report {
    right: -1.5rem;
    bottom: 0;
    width: 12.5rem;
  }
}
/* Stacked: the report overlaps the lower edge of the card, as it does on desktop. */
@media only screen and (max-width: 63.999rem) {
  .mk__report {
    position: relative;
    z-index: 2;
    margin: -1.25rem 0.75rem 0 auto;
    width: 12.5rem;
  }
}
@media only screen and (max-width: 30rem) {
  .mk__map {
    height: 10rem;
    margin-bottom: 0.85rem;
  }
  .mk__chip {
    padding: 0.28rem 0.5rem;
    font-size: 0.6875rem;
  }
  .mk__chip img {
    display: none;
  }
  .mk__hub {
    height: 5.5rem;
    width: 5.5rem;
  }
  .mk__hub-name {
    font-size: 0.6875rem;
  }
  .mk__kpis {
    gap: 0.45rem;
  }
  .mk__kpis > div {
    padding: 0.5rem 0.55rem;
  }
}

/* Dark mode */
html.dark-mode .mk__chip {
  border-color: rgba(255, 255, 255, 0.14);
  background-color: #0d1c29;
  box-shadow: none;
  color: #fff;
}
html.dark-mode .mk__chip img {
  filter: brightness(0) invert(1);
}
html.dark-mode .mk__hub {
  background: linear-gradient(145deg, #0a2748, #14406e);
  box-shadow: 0 0 0 0.45rem rgba(67, 183, 255, 0.18), rgba(67, 183, 255, 0.35) 0px 0px 36px;
}
html.dark-mode .mk__kpis > div {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
}
html.dark-mode .mk__kpis strong,
html.dark-mode .mk__row {
  color: #fff;
}
html.dark-mode .mk__report-title {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .mk__fill {
  background-color: var(--secondary);
}
