/* GroupFilter landing: color overrides only, scoped to this template.
   Layout, spacing, and components come from the FriendFilter theme CSS. */

body.groupfilter-landing,
body.page-template-page-groupfilter {
  --gf-heading: #3F5793;
  --gf-text: #505b76;
  --gf-cta: #70e295;
  --gf-cta-hover: #85e6a5;
  --gf-cta-shadow: #5edb87;
  --gf-accent: #5edb87;
  --gf-navy: #3F5793;
  --gf-blue: #90aeed;
  --gf-bg: #f2f5fb;
  --gf-surface: #d3dff8;
  --gf-gold: #F9BE27;
}

body.groupfilter-landing h1,
body.groupfilter-landing h2,
body.groupfilter-landing h3,
body.groupfilter-landing h4,
body.groupfilter-landing h5,
body.groupfilter-landing h6,
body.groupfilter-landing .text-h1,
body.groupfilter-landing .text-h2,
body.groupfilter-landing .text-h3,
body.groupfilter-landing .text-h6,
body.groupfilter-landing .heading,
body.groupfilter-landing .banner-h1,
body.groupfilter-landing .box-heading,
body.groupfilter-landing .content-heading,
body.groupfilter-landing .why-friendfilter-wrapper .heading,
body.groupfilter-landing .digital-presence-wrapper .heading,
body.groupfilter-landing .faq-wrapper .heading,
body.groupfilter-landing .billing-header h2,
body.groupfilter-landing a,
body.groupfilter-landing .navbar-nav .nav-link,
body.groupfilter-landing .footer h4,
body.groupfilter-landing .pricing-card__price,
body.groupfilter-landing .pricing-card__features li {
  color: var(--gf-heading);
}

body.groupfilter-landing .paragraph,
body.groupfilter-landing .box-paragraph,
body.groupfilter-landing .subtitle,
body.groupfilter-landing .subtitle2 a,
body.groupfilter-landing .billing-header p,
body.groupfilter-landing .billing-header span,
body.groupfilter-landing .faq-body,
body.groupfilter-landing .faq-title,
body.groupfilter-landing .footer .text-muted,
body.groupfilter-landing .footer .footer-content p,
body.groupfilter-landing .pricing-card__period,
body.groupfilter-landing .pricing-card__cta-sub,
body.groupfilter-landing .pricing-card__forever {
  color: var(--gf-text);
}

body.groupfilter-landing a:hover,
body.groupfilter-landing .navbar-nav .nav-link:hover,
body.groupfilter-landing .subtitle2 a:hover {
  color: var(--gf-cta);
}

body.groupfilter-landing .btn-primary,
body.groupfilter-landing .btn-custom,
body.groupfilter-landing .navbar.navbar-scroll .btn-custom,
body.groupfilter-landing .mini-banner-wrapper .btn {
  background-color: var(--gf-cta) !important;
  border-color: var(--gf-cta) !important;
  box-shadow: 0 3px 0 0 var(--gf-cta-shadow) !important;
  color: #fff !important;
}

body.groupfilter-landing .btn-primary:hover,
body.groupfilter-landing .btn-custom:hover,
body.groupfilter-landing .mini-banner-wrapper .btn:hover {
  background-color: var(--gf-cta-hover) !important;
  border-color: var(--gf-cta-hover) !important;
  box-shadow: 0 3px 0 0 var(--gf-cta-shadow) !important;
  color: #fff !important;
}

body.groupfilter-landing .mini-banner-wrapper {
  background-color: var(--gf-cta);
}

body.groupfilter-landing .mini-banner-wrapper h3,
body.groupfilter-landing .mini-banner-wrapper .text-h3,
body.groupfilter-landing .mini-banner-wrapper p {
  color: #fff;
}

body.groupfilter-landing .faq-wrapper .accordion-button:not(.collapsed),
body.groupfilter-landing .faq-wrapper .accordion-button:not(.collapsed) .faq-title {
  color: var(--gf-accent) !important;
}

body.groupfilter-landing .digital-presence-wrapper .nav-tabs .nav-link.active {
  color: var(--gf-navy);
  border-color: var(--gf-cta);
}

body.groupfilter-landing .testimonials-wrapper .star-rating .star {
  color: var(--gf-gold);
}

/* Pricing card colors from the live billing style block */
body.groupfilter-landing .pricing-card {
  border-color: var(--gf-surface);
}

body.groupfilter-landing .pricing-card:hover {
  box-shadow: 0 8px 30px rgba(63, 87, 147, 0.12);
}

body.groupfilter-landing .pricing-card--growth {
  border-color: var(--gf-cta) !important;
  box-shadow: 0 8px 30px rgba(112, 226, 149, 0.15) !important;
}

body.groupfilter-landing .pricing-card--growth .pricing-card__badge,
body.groupfilter-landing .pricing-card--growth .pricing-card__cta {
  background: var(--gf-cta) !important;
  color: #fff !important;
}

body.groupfilter-landing .pricing-card--growth .pricing-card__cta:hover {
  background: var(--gf-cta-hover) !important;
}

body.groupfilter-landing .pricing-card--growth .pricing-card__plan-name {
  color: var(--gf-cta) !important;
}

body.groupfilter-landing .pricing-card--pro .pricing-card__badge,
body.groupfilter-landing .pricing-card--pro .pricing-card__cta,
body.groupfilter-landing .pricing-card--free .pricing-card__cta:hover {
  background: var(--gf-navy) !important;
  color: #fff !important;
  border-color: var(--gf-navy) !important;
}

body.groupfilter-landing .pricing-card--pro .pricing-card__plan-name,
body.groupfilter-landing .pricing-card--free .pricing-card__plan-name,
body.groupfilter-landing .pricing-card--free .pricing-card__cta {
  color: var(--gf-navy) !important;
}

body.groupfilter-landing .pricing-card--free .pricing-card__cta {
  background: transparent !important;
  border: 2px solid var(--gf-navy) !important;
}

body.groupfilter-landing .pricing-card__head {
  border-bottom-color: var(--gf-surface);
}

/* FAQ: the GroupFilter dashboard screenshot is 1200px wide and overflows
   the column (FriendFilter's illustration is a 479px SVG). Constrain it
   at every breakpoint so it cannot overlap the accordion. */
body.groupfilter-landing .faq-wrapper .row {
  align-items: flex-start;
}
body.groupfilter-landing .faq-wrapper .row > [class*="col-"] {
  min-width: 0;
}
body.groupfilter-landing .faq-wrapper .faq-image {
  max-width: 479px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

body.groupfilter-landing .tab-pane img.alignnone,
body.groupfilter-landing .banner-img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  body.groupfilter-landing .faq-wrapper .faq-image {
    max-width: 479px;
    width: 80%;
    margin: 0 auto 24px;
  }
}

@media (max-width: 767.98px) {
  body.groupfilter-landing .faq-wrapper .faq-image {
    max-width: 380px;
    width: 80%;
    margin: 0 auto 24px;
  }
}

/* Typography matches the FriendFilter homepage (assets/styles/main.css in this
   theme draft). This file does not override font-family, font-size, or
   font-weight. Hero copy only drops justified/wide letter-spacing if any
   other rule applied it; sizes stay with the theme. */
body.groupfilter-landing .banner .content-wrapper .paragraph,
body.groupfilter-landing .banner .content-wrapper .text-h6 {
  letter-spacing: normal;
  word-spacing: normal;
  text-align: left;
}

@media (max-width: 1199px) {
  body.groupfilter-landing .banner .content-wrapper .paragraph,
  body.groupfilter-landing .banner .content-wrapper .text-h6 {
    text-align: center;
  }
}
