/* AI Knowledge page – dedicated styles (do not use privacy-policy.css) */

.ai-knowledge-content-section {
  padding: 3rem 0 4rem;
}

.ai-knowledge-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding, 80px);
  width: 100%;
  box-sizing: border-box;
}

.ai-knowledge-content h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color, #045DE8);
}

.ai-knowledge-content h2:first-of-type {
  margin-top: 0;
}

.ai-knowledge-content h3 {
  font-size: 1.5rem;
  line-height: 1.45;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color, #045DE8);
}

.ai-knowledge-content h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color, #045DE8);
}

.ai-knowledge-content p,
.ai-knowledge-content li {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
  color: #000;
}

.ai-knowledge-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.1rem;
}

.ai-knowledge-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.ai-knowledge-content a {
  word-break: break-word;
}

/* Hub page: list of guides */
.ai-knowledge-hub-title {
  font-size: 32px;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--primary-color, #045DE8);
}
.ai-knowledge-hub-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ai-knowledge-hub-list li {
  margin-bottom: 0.75rem;
}
.ai-knowledge-hub-list a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary-color, #045DE8);
  text-decoration: none;
}
.ai-knowledge-hub-list a:hover {
  text-decoration: underline;
}

/* Hero – larger section so graphic is fully visible */
.ai-knowledge-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 100px 0 120px;
  display: flex;
  align-items: center;
}

.ai-knowledge-hero .about-hero-text {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ai-knowledge-hero .about-hero-content {
  max-width: 1200px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.ai-knowledge-hero .about-hero-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.ai-knowledge-hero .about-hero-text {
  margin-bottom: 0;
}

.ai-knowledge-hero-right-graphic {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  max-width: 55vw;
  max-height: min(560px, 75vh);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  object-fit: contain;
  opacity: 0.95;
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .ai-knowledge-content-section {
    padding: 2.5rem 0 3rem;
  }

  .ai-knowledge-content {
    padding: 0 48px;
  }

  .ai-knowledge-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .ai-knowledge-content h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
  }

  .ai-knowledge-content h4 {
    font-size: 1.15rem;
    margin-top: 1.1rem;
  }

  .ai-knowledge-hero {
    min-height: 380px;
    padding: 80px 0 100px;
  }

  .ai-knowledge-hero-right-graphic {
    width: 465px;
    height: 450px;
    top: -20px;
    right: 0;
  }
}

/* Tablet portrait (max-width: 768px) */
@media (max-width: 768px) {
  .ai-knowledge-content-section {
    padding: 2rem 0 2.5rem;
  }

  .ai-knowledge-content {
    padding: 0 24px;
  }

  .ai-knowledge-content h2 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.6rem;
  }

  .ai-knowledge-content h3 {
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
  }

  .ai-knowledge-content h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
  }

  .ai-knowledge-content p,
  .ai-knowledge-content li {
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
  }

  .ai-knowledge-content ul,
  .ai-knowledge-content ol {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .ai-knowledge-hero {
    min-height: 340px;
    padding: 60px 0 80px;
  }

  .ai-knowledge-hero .about-hero-content {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .ai-knowledge-hero-right-graphic {
    width: 500px;
    height: 500px;
    top: -44px;
    right: -60px;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .ai-knowledge-content-section {
    padding: 1.5rem 0 2rem;
  }

  .ai-knowledge-content {
    padding: 0 16px;
  }

  .ai-knowledge-content h2 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .ai-knowledge-content h3 {
    font-size: 1rem;
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .ai-knowledge-content h4 {
    font-size: 1rem;
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
  }

  .ai-knowledge-content p,
  .ai-knowledge-content li {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .ai-knowledge-content ul,
  .ai-knowledge-content ol {
    padding-left: 1.125rem;
    margin-bottom: 0.6rem;
  }

  .ai-knowledge-hero {
    min-height: 300px;
    padding: 48px 0 64px;
  }

  .ai-knowledge-hero .about-hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ai-knowledge-hero-right-graphic {
    display: none;
  }
}

/* Small mobile (max-width: 360px) */
@media (max-width: 360px) {
  .ai-knowledge-content {
    padding: 0 12px;
  }

  .ai-knowledge-content h2 {
    font-size: 1.05rem;
  }

  .ai-knowledge-content h3 {
    font-size: 0.95rem;
  }

  .ai-knowledge-content h4 {
    font-size: 0.95rem;
  }

  .ai-knowledge-content p,
  .ai-knowledge-content li {
    font-size: 0.9rem;
  }

  .ai-knowledge-hero {
    min-height: 280px;
    padding: 40px 0 56px;
  }

  .ai-knowledge-hero .about-hero-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ai-knowledge-hero-right-graphic {
    display: none;
  }
}
