/* aiagent4u.in — Custom Fixes v2 */
/* Hide page titles on static pages */
.single-page .page-title,
.page .page-title,
.post-type-archive .page-title {
  display: none !important;
}

/* Give hero sections proper top margin */
.page .hero-section {
  margin-top: 0;
}

/* Fix Pricing page — override constrained layout width */
.page-id-43 .entry-content.is-layout-constrained > *,
.postid-43 .entry-content.is-layout-constrained > * {
  max-width: 100% !important;
}

/* Fix purple/pink blog background — use consistent white */
.blog .hero-section[data-type="type-2"],
.archive .hero-section[data-type="type-2"],
.single-post .hero-section[data-type="type-2"] {
  background-color: #0F172A !important;
  --min-height: 200px !important;
}

/* Blog page title in dark nav */
.blog .hero-section[data-type="type-2"] .page-title,
.archive .hero-section[data-type="type-2"] .page-title {
  color: #FFFFFF !important;
}

/* Related posts container background consistency */
.ct-related-posts-container {
  background-color: #F8FAFC !important;
}

/* Fix blog entry header background */
.blog .entry-header,
.archive .entry-header,
.single-post .entry-header {
  background: transparent !important;
}

/* Make sure pricing cards span full width */
.page-id-43 .entry-content.is-layout-constrained {
  max-width: 100% !important;
  width: 100% !important;
}

/* Remove leftover pink background from Growly blog template */
[data-prefix="blog"] .hero-section[data-type="type-2"],
[data-prefix="categories"] .hero-section[data-type="type-2"],
[data-prefix="single_blog_post"] .hero-section[data-type="type-2"] {
  background-color: #0F172A !important;
  background-image: none !important;
}

/* Stronger override for inline-style background on Growly blog pages */
[data-prefix="blog"] .hero-section[data-type="type-2"][style*="palette-color-6"],
[data-prefix="categories"] .hero-section[data-type="type-2"][style*="palette-color-6"],
[data-prefix="single_blog_post"] .hero-section[data-type="type-2"][style*="palette-color-6"] {
  background: #0F172A !important;
  background-image: none !important;
}

/* Sticky header bleed fix — prevent content touching sticky header */
.admin-bar .ct-header {
  top: 32px !important;
}

html {
  scroll-padding-top: 90px;
}

/* First hero section after sticky header needs space */
.page .hero-section:first-of-type {
  padding-top: 20px;
}

/* Footer visibility fix — footer bg is same as page bg */
.ct-footer {
  background-color: #111518 !important;
}

.ct-footer .ct-widget {
  --theme-text-color: #94A3B8 !important;
  --theme-link-initial-color: #22D3EE !important;
}

.ct-footer .widget-title {
  color: #F1F5F9 !important;
}

.ct-footer .ct-widget a {
  color: #94A3B8 !important;
}

.ct-footer .ct-widget a:hover {
  color: #22D3EE !important;
}

.ct-footer p {
  color: #94A3B8 !important;
}

.ct-footer [data-row*="bottom"] p {
  color: #64748B !important;
}

/* Footer bottom row copyright */
.ct-footer [data-row*="bottom"] {
  background-color: #0D1117 !important;
}
