/**
 * c43 homepage styles — scoped under body.c43-theme.
 * Does not override header or footer selectors.
 */

body.c43-theme.home #main,
body.c43-theme.page-id-9 #main {
  background-color: var(--c43-bg);
  color: var(--c43-text);
}

body.c43-theme .c43-home-slider-desktop,
body.c43-theme .c43-home-slider-mobile {
  margin: 0;
}

body.c43-theme .c43-home-slider-desktop .img,
body.c43-theme .c43-home-slider-mobile .img,
body.c43-theme .c43-home-slider-desktop img,
body.c43-theme .c43-home-slider-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

body.c43-theme .c43-home-intro {
  background-color: var(--c43-bg);
  color: var(--c43-text);
}

body.c43-theme .c43-home-h1 .section-title-main,
body.c43-theme .c43-home-h1,
body.c43-theme h1.section-title {
  color: var(--c43-highlight);
  font-weight: 800;
  line-height: 1.35;
}

body.c43-theme .c43-home-h2 .section-title-main,
body.c43-theme .c43-home-h2,
body.c43-theme h2.section-title {
  color: var(--c43-primary);
  font-weight: 700;
}

body.c43-theme .c43-home-intro-text,
body.c43-theme .c43-home-intro-text p {
  color: var(--c43-text);
  font-size: 1.05em;
  line-height: 1.7;
}

body.c43-theme .c43-home-intro-text a {
  color: var(--c43-highlight);
  text-decoration: none;
}

body.c43-theme .c43-home-intro-text a:hover {
  color: var(--c43-cta-end, #ff8c1a);
}

body.c43-theme .c43-home-faq .accordion-title {
  color: var(--c43-text);
  border-color: rgba(255, 255, 255, 0.12);
}

body.c43-theme .c43-home-faq .accordion-title span {
  color: var(--c43-text);
  font-weight: 600;
}

body.c43-theme .c43-home-faq .accordion-inner,
body.c43-theme .c43-home-faq .accordion-inner p,
body.c43-theme .c43-home-faq .accordion-inner li {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

body.c43-theme .c43-home-faq .accordion-inner strong {
  color: var(--c43-highlight);
}

body.c43-theme .c43-home-news .box-blog-post {
  background: transparent;
}

body.c43-theme .c43-home-news .post-title a,
body.c43-theme .c43-home-news .from_the_blog_excerpt {
  color: var(--c43-text);
}

body.c43-theme .c43-home-news .post-title a:hover {
  color: var(--c43-highlight);
}

body.c43-theme .c43-home-news .is-divider {
  background-color: var(--c43-primary);
}

body.c43-theme .c43-home-news .badge-inner {
  background-color: var(--c43-primary);
  color: var(--c43-text);
}

/* Above-fold entity lock (before banner sliders) */
body.c43-theme .c43-entity-bar {
  background: var(--c43-bg-elevated, #1a1b24);
  border-bottom: 1px solid rgba(196, 129, 3, 0.4);
}

body.c43-theme .c43-entity-bar-text,
body.c43-theme .c43-entity-bar-text p,
body.c43-theme .c43-entity-bar-text li {
  color: #f2f2f2 !important;
  font-size: 0.92em;
  line-height: 1.55;
  margin: 0.35em 0;
}

body.c43-theme .c43-entity-bar-text ul {
  margin: 0.4em 0 0.2em;
  padding-left: 1.2em;
}

body.c43-theme .c43-entity-bar-text a {
  color: #ffd700 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.c43-theme .c43-entity-bar-text a:hover {
  color: #ff8c1a !important;
}

body.c43-theme .c43-byline {
  margin: 0 0 0.85em;
  font-size: 0.92em;
  color: var(--c43-text-muted);
}

body.c43-theme .c43-byline a {
  color: var(--c43-highlight);
}

/* Trust box: dark elevated panel (never white-on-white) */
body.c43-theme .c43-trust-box,
body.c43-theme .c43-home-intro-text .c43-trust-box {
  margin: 1.25em 0 !important;
  padding: 1em 1.15em !important;
  border: 1px solid rgba(196, 129, 3, 0.45) !important;
  border-radius: 8px !important;
  background: var(--c43-bg-elevated) !important;
  background-color: #1a1b24 !important;
  color: #f2f2f2 !important;
}

body.c43-theme .c43-trust-box p,
body.c43-theme .c43-trust-box li,
body.c43-theme .c43-trust-box strong,
body.c43-theme .c43-trust-box time {
  color: #f2f2f2 !important;
}

body.c43-theme .c43-trust-box a {
  color: #ffd700 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.c43-theme .c43-trust-box a:hover {
  color: #ff8c1a !important;
}

body.c43-theme .c43-trust-box ul {
  margin: 0;
  padding-left: 1.2em;
}

/* Hub + steps sections */
body.c43-theme .c43-home-hub,
body.c43-theme .c43-home-steps {
  color: var(--c43-text);
}

body.c43-theme .c43-home-hub h3,
body.c43-theme .c43-home-steps h3 {
  color: var(--c43-highlight);
  font-size: 1.15em;
  margin: 1.1em 0 0.4em;
}

body.c43-theme .c43-home-hub a,
body.c43-theme .c43-home-steps a {
  color: var(--c43-highlight);
}

body.c43-theme .c43-home-hub p,
body.c43-theme .c43-home-steps p,
body.c43-theme .c43-home-steps li {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

body.c43-theme .c43-home-news h3.post-title {
  font-size: 1.05em;
  line-height: 1.35;
  margin: 0.35em 0;
}

@media (max-width: 849px) {
  body.c43-theme .c43-home-h1 .section-title-main,
  body.c43-theme h1.section-title {
    font-size: 1.25rem;
  }

  body.c43-theme .c43-home-intro-text,
  body.c43-theme .c43-home-intro-text p {
    font-size: 0.98em;
  }
}

@media (max-width: 549px) {
  body.c43-theme .c43-home-h1 .section-title-main,
  body.c43-theme h1.section-title {
    font-size: 1.1rem;
  }
}
