/* Meta Ads illustration: cropped phone mockups, audience and campaign cards (.mt). Built on the shared .vz system. */
.mt__phones {
  position: relative;
  aspect-ratio: 11 / 10;
}
.mt__phone {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 5px solid var(--primary);
  border-bottom: 0;
  border-radius: 1.6rem 1.6rem 0 0;
  background-color: #fff;
  padding: 1.1rem 0.6rem 0;
  box-shadow: 0 1.5rem 3rem rgba(0, 31, 63, 0.2);
}
.mt__phone--feed {
  left: 4%;
  width: 52%;
  z-index: 1;
}
.mt__phone--story {
  top: 3.25rem;
  right: 6%;
  width: 38%;
  background: linear-gradient(170deg, #43b7ff 0%, #12406e 62%, #001f3f 100%);
  border-color: #001f3f;
  padding-inline: 0.5rem;
}
.mt__notch {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  border-radius: 1rem;
  background-color: var(--primary);
  height: 0.3rem;
  width: 2.2rem;
  transform: translateX(-50%);
}
.mt__phone--story .mt__notch {
  background-color: rgba(255, 255, 255, 0.55);
}
.mt__who {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mt__who i {
  display: block;
  flex: none;
  border-radius: 50%;
  background-color: var(--primary);
  height: 1.1rem;
  width: 1.1rem;
}
.mt__who .vz__bar {
  width: 2.2rem;
  height: 0.3rem;
}
.mt__who small {
  margin-left: auto;
  font-size: 0.5625rem;
  line-height: 1.2em;
  color: #6b7889;
}
.mt__creative {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  background: linear-gradient(150deg, #12406e, #001f3f);
  aspect-ratio: 1;
}
.mt__creative:before {
  content: "";
  position: absolute;
  top: 18%;
  left: 16%;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #bfe5fb, #43b7ff);
  height: 46%;
  width: 46%;
  transform: rotate(-8deg);
}
.mt__creative:after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 16%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  height: 34%;
  width: 34%;
}
.mt__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -0.15rem;
  border-radius: 0.45rem;
  background-color: #eef3f8;
  padding: 0.3rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  color: var(--primary);
}
.mt__cta b {
  font-size: 0.95rem;
  line-height: 1em;
}
.mt__react {
  display: flex;
  gap: 0.35rem;
}
.mt__react i {
  display: block;
  border: 1.5px solid #9aa8b8;
  border-radius: 50%;
  height: 0.7rem;
  width: 0.7rem;
}
.mt__phone .vz__bar {
  height: 0.32rem;
}

/* Stories advert */
.mt__progress {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.1rem;
}
.mt__progress i {
  display: block;
  flex: 1;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.35);
  height: 0.18rem;
}
.mt__progress .mt__on {
  background-color: #fff;
}
.mt__who--story i {
  background-color: #fff;
}
.mt__who--story .vz__bar {
  background-color: rgba(255, 255, 255, 0.5);
}
.mt__scene {
  position: relative;
  flex: 1;
  min-height: 3rem;
}
.mt__scene:before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #bfe5fb 70%);
  height: 4.2rem;
  width: 4.2rem;
  transform: translateX(-50%);
  box-shadow: 0 0 2rem rgba(255, 255, 255, 0.35);
}
.mt__headline {
  background-color: #fff;
  width: 70%;
}
.mt__phone .mt__headline {
  background-color: #fff;
}
.mt__more {
  display: block;
  margin-bottom: 0.9rem;
  border-radius: 3.75rem;
  background-color: #fff;
  padding: 0.3rem 0.4rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  color: var(--primary);
}

/* Cards */
.mt__aud,
.mt__camp {
  padding: 0.8rem 0.9rem 0.9rem;
}
.mt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.mt__audbody {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.55rem;
}
.mt__audbody svg {
  flex: none;
}
.mt__r1,
.mt__r2,
.mt__r3 {
  fill: none;
  stroke-width: 2.5;
}
.mt__r1 {
  stroke: rgba(67, 183, 255, 0.35);
}
.mt__r2 {
  stroke: rgba(67, 183, 255, 0.65);
}
.mt__r3 {
  stroke: var(--secondary);
  fill: rgba(67, 183, 255, 0.2);
}
.mt__dot {
  fill: var(--primary);
}
.mt__audbody ul,
.mt__places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mt__audbody ul {
  flex-direction: column;
  align-items: flex-start;
}
.mt__places {
  margin-top: 0.6rem;
}
.mt__places li {
  text-transform: none;
  letter-spacing: 0.02em;
}
.mt__track {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.mt__track svg {
  flex: none;
  border-radius: 50%;
  background-color: rgba(67, 183, 255, 0.2);
  padding: 3px;
  height: 1.2rem;
  width: 1.2rem;
  color: var(--vz-text-blue);
}

/* Tablet and desktop: phones on the left, cards stacked on the right. */
@media only screen and (min-width: 36rem) {
  .mt__phones {
    width: 62%;
    aspect-ratio: 1 / 1.02;
  }
  .mt__aud,
  .mt__camp {
    position: absolute;
    right: 0;
    z-index: 2;
    margin: 0;
    width: 41%;
  }
  .mt__aud {
    top: 1.5rem;
  }
  .mt__camp {
    bottom: 1.5rem;
  }
}
@media only screen and (min-width: 64rem) {
  .mt__aud,
  .mt__camp {
    right: -1.5rem;
  }
}

/* Phones: cards sit side by side across the cropped bottom of the mockups. */
@media only screen and (max-width: 35.999rem) {
  .mt .vz__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 0.65rem;
    padding: 0 0.25rem;
  }
  .mt__phones {
    grid-column: 1 / -1;
    aspect-ratio: 11 / 8.8;
  }
  .mt__aud,
  .mt__camp {
    position: relative;
    z-index: 2;
    margin-top: -1.4rem;
    padding: 0.7rem 0.7rem 0.8rem;
  }
  .mt__aud {
    margin-left: 0.4rem;
  }
  .mt__camp {
    margin-right: 0.4rem;
  }
  .mt__aud .vz__badge {
    display: none;
  }
  .mt__audbody {
    gap: 0.5rem;
  }
  .mt__audbody svg {
    height: 2.75rem;
    width: 2.75rem;
  }
  .mt__track {
    font-size: 0.75rem;
  }
}

/* Dark mode */
html.dark-mode .mt__phone {
  border-color: #35495a;
  background-color: #08141e;
  box-shadow: rgba(67, 183, 255, 0.18) 0 0 28px, rgba(0, 0, 0, 0.55) 0 1.5rem 3rem;
}
html.dark-mode .mt__phone--story {
  background: linear-gradient(170deg, #43b7ff 0%, #12406e 62%, #001f3f 100%);
  border-color: #35495a;
}
html.dark-mode .mt__notch {
  background-color: #35495a;
}
html.dark-mode .mt__who i {
  background-color: #fff;
}
html.dark-mode .mt__who small {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .mt__cta {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
html.dark-mode .mt__react i {
  border-color: rgba(255, 255, 255, 0.45);
}
html.dark-mode .mt__dot {
  fill: #fff;
}
html.dark-mode .mt__track {
  color: #fff;
}

@media only screen and (max-width: 35.999rem) {
  .mt__more {
    margin-bottom: 1.8rem;
  }
}
