/* Google Ads service page — page-scoped styles (google-ads/tr.html) */

/* ---------- Showcase: campaign anatomy funnel ---------- */
.ads-showcase {
  position: relative;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.ads-showcase__title {
  max-width: 22ch;
  margin: .5rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
  line-height: 1.18;
}
.ads-showcase__intro {
  max-width: 40rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--article-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ads-showcase__funnel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.ads-showcase__funnel::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(204, 33, 20, .55) 55%, rgba(204, 33, 20, .12) 100%);
}

.ads-showcase__stage {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--article-line);
  border-radius: .6rem;
  background: var(--article-bg);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ads-showcase__stage:hover {
  border-color: var(--primary);
  box-shadow: 0 1rem 2.5rem rgba(204, 33, 20, .14);
  transform: translateY(-.3rem);
}
/* Descending stagger — visually echoes the funnel narrowing as the journey progresses */
.ads-showcase__funnel .ads-showcase__stage:nth-of-type(1) { margin-top: 0; }
.ads-showcase__funnel .ads-showcase__stage:nth-of-type(3) { margin-top: 1.1rem; }
.ads-showcase__funnel .ads-showcase__stage:nth-of-type(5) { margin-top: 2.2rem; }
.ads-showcase__funnel .ads-showcase__stage:nth-of-type(7) { margin-top: 3.3rem; }

.ads-showcase__num {
  display: block;
  margin-bottom: .75rem;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.ads-showcase__stage h3 {
  margin-bottom: .6rem;
  color: var(--article-ink);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.2;
}
.ads-showcase__stage p {
  color: var(--article-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.ads-showcase__arrow {
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
  padding: 0 .75rem;
  color: var(--primary);
  font-size: 1.3rem;
  opacity: .7;
}

/* ---------- Quality Score: three ranking factors ---------- */
.ads-quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--article-line);
}
.ads-quality__factor {
  padding-right: 1.25rem;
}
.ads-quality__bar {
  display: block;
  height: .4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(204, 33, 20, .25));
}
.ads-quality__factor strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--article-ink);
  font-size: .95rem;
}
.ads-quality__factor p {
  color: var(--article-muted);
  font-size: .85rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .ads-showcase__funnel {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .ads-showcase__funnel::before {
    top: 0;
    bottom: 0;
    right: auto;
    left: 1.5rem;
    width: 3px;
    height: auto;
  }
  .ads-showcase__funnel .ads-showcase__stage:nth-of-type(3),
  .ads-showcase__funnel .ads-showcase__stage:nth-of-type(5),
  .ads-showcase__funnel .ads-showcase__stage:nth-of-type(7) {
    margin-top: 0;
  }
  .ads-showcase__arrow {
    align-self: flex-start;
    padding: 0 0 0 1.05rem;
    transform: rotate(90deg);
  }
  .ads-quality {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ads-quality__factor {
    padding-right: 0;
  }
}

