/* Copilot and practical-AI campaign additions. Keep all commercial text in HTML. */

.section-copilot-pricing .section-card,
.section-copilot-extras .section-card,
.section-ai-ecosystem .section-card,
.section-home-ai-readiness-band .section-card {
  height: 100%;
}

.copilot-pricing-grid .section-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 48, 72, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 154, 23, 0.12), transparent 42%),
    #fff;
}

.copilot-pricing-grid .section-card--emphasis-featured {
  border-color: rgba(224, 127, 17, 0.42);
  box-shadow: 0 18px 42px rgba(107, 65, 13, 0.1);
}

.copilot-pricing-grid .section-card-value-line strong {
  color: #b65d08;
  font-size: clamp(1.16rem, 2vw, 1.48rem);
}

.copilot-journey-grid .step-card {
  border-top: 3px solid rgba(235, 137, 22, 0.8);
}

/* The base theme adds a decorative empty square to every section card. On the
   Copilot page it reads as a missing icon, so use only the real inline SVGs. */
.page-id-service-microsoft-365-copilot main .section-card::before {
  content: none;
  display: none;
}

.page-id-service-microsoft-365-copilot main .geo-answer-summary {
  display: none;
}

.section-copilot-journey-visual .flow-visual-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: center;
}

.section-copilot-journey-visual .flow-visual-copy h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.section-copilot-journey-visual .flow-visual-bullets {
  counter-reset: copilot-journey;
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-copilot-journey-visual .flow-visual-bullets li {
  counter-increment: copilot-journey;
  position: relative;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.82rem 1rem 0.82rem 3.7rem;
  border: 1px solid rgba(34, 48, 72, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(37, 48, 64, 0.05);
}

.section-copilot-journey-visual .flow-visual-bullets li::before {
  content: counter(copilot-journey);
  position: absolute;
  top: 50%;
  left: 0.95rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #e88f21, #b85c09);
  font-weight: 800;
  transform: translateY(-50%);
}

.section-copilot-journey-visual .flow-visual-figure {
  margin: 0;
}

.section-copilot-journey-visual .flow-visual-figure-inner {
  overflow: hidden;
  border: 1px solid rgba(34, 48, 72, 0.14);
  border-radius: clamp(1.1rem, 2.5vw, 1.75rem);
  background: #f3eee7;
  box-shadow: 0 24px 60px rgba(37, 48, 64, 0.12);
}

.section-copilot-journey-visual .flow-visual-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.section-copilot-extras .section-card,
.section-copilot-fit .section-card {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
}

.copilot-ecosystem-grid .section-card {
  display: flex;
  flex-direction: column;
}

.copilot-ecosystem-grid .section-card-cta-line {
  margin-top: auto;
  padding-top: 1rem;
}

.copilot-ecosystem-grid .copilot-ecosystem-card--optional {
  border-style: dashed;
  border-color: rgba(224, 127, 17, 0.6);
  background: rgba(255, 248, 238, 0.72);
}

.copilot-readiness-grid {
  counter-reset: readiness;
}

.copilot-readiness-grid .section-card {
  position: relative;
  border-top: 3px solid rgba(26, 69, 96, 0.72);
}

.copilot-readiness-grid .section-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -1.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 127, 17, 0.24);
  border-radius: 50%;
  color: #b65d08;
  background: #fff;
  transform: translateY(-50%);
}

.section-ai-knowledge-two-paths .section-card:first-child {
  border-top: 3px solid #e48618;
}

.section-ai-knowledge-two-paths .section-card:last-child {
  border-top: 3px solid #236f82;
}

.section-copilot-direct-answer .container,
.section-copilot-public-nonprofit .container {
  max-width: 58rem;
}

/* ImageGen campaign heroes: let the artwork carry the visual story without
   repeating the hero bullets over the image. The delivery-scope copy remains
   in the document for non-visual consumers, but is visually suppressed here. */
.page-hero-visual.campaign-hero-art {
  min-height: 420px;
  padding: 0;
  border-color: rgba(33, 54, 78, 0.16);
  background: #e8edf2;
}

.page-hero-visual.campaign-hero-art::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(17, 32, 49, 0.08));
}

.page-hero-visual.campaign-hero-art .page-hero-visual-overlay {
  background: linear-gradient(180deg, rgba(14, 28, 44, 0.03), rgba(14, 28, 44, 0.12));
}

.page-hero-visual.campaign-hero-art .page-hero-visual-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .page-hero-visual.campaign-hero-art {
    min-height: 340px;
  }

  .copilot-readiness-grid .section-card:not(:last-child)::after {
    content: none;
  }

  .section-copilot-journey-visual .flow-visual-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-copilot-journey-visual .flow-visual-copy h2 {
    max-width: none;
  }

  /* Direct WhatsApp actions already appear in the hero and closing CTA. Avoid
     covering cards with a second floating action on narrow screens. */
  .page-id-service-microsoft-365-copilot .site-whatsapp-fab {
    display: none;
  }

  .page-id-service-microsoft-365-copilot .footer-platform-section .footer-region-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
  }

  .page-id-service-microsoft-365-copilot .footer-platform-section .footer-region-list a {
    overflow-wrap: anywhere;
  }
}
