.service-hero .container,
.all-services {
    display: flex;
    gap: 2em;
    padding: 100px 2em 140px;
}

/* All Services 
=============================== */
.all-services h1 {
    margin: 0px auto 40px;
    text-align: center;
}

/* Left Column 
=============================== */
.service-hero .service-title,
.service-hero .eyebrow {
    margin-top: 0;
}

.service-content p,
.service-content li {
    line-height: 1.8;
    color: var(--secondary-100);
}

.service-cta,
.workshop-cta {
    display: flex;
    gap: 1em;
    margin-top: 3em;
}

.service-content h4 {
    margin-bottom: 0;
    color: var(--secondary-100);
    font-size: 1.1em;
}

.service-cta .pill:last-of-type {
    background-color: var(--white);
    outline: 1px solid var(--outline-100);
    transition: all 0.3s ease;
    gap: 1em;
}

.service-cta .pill:nth-of-type(1):hover,
.workshop-cta .pill:hover {
    background-color: var(--accent-yl);
    outline: 1px solid var(--accent-yl);
    filter: brightness(0.9);
}
.service-cta .pill:nth-of-type(2):hover {
    filter: brightness(0.9);
}

/* Right Column 
=============================== */
.service-hero-right {
    position: relative;
}

/* Image */
.service-image-wrap {
    width: 400px;
    height: 400px;
}
.service-image-wrap-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--img-corners);
}

/* Icon */
.service-image-wrap-icon {
    position: absolute;
    top: 355px;
    right: 60px;
    width: 90px;
}

/* Inside FAQ 
=============================== */
/* .inside-faq .faq {
    background: linear-gradient(
        var(--bg-accent-gr) 0%, 
        var(--bg-100) 20%
    )
} */

/* Other Services 
=============================== */
.more-services .service-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 930px;
    margin: 0 auto;
}
.service-card { 
  --accent: inherit;
}

/* Match the variants you are actually outputting:
   virtual | adhd | workshops */
.service-card.is-virtual   { --accent: var(--service-pk); }
.service-card.is-adhd      { --accent: var(--service-gr); }
.service-card.is-workshop { --accent: var(--service-bl); }

/* Apply the accent to the sub-text */
.service-card .service-text.sub-text,
.service-hero .lg-text {
  color: var(--accent);
}

.service-hero .lg-text {
    font-family: "Noto Serif", serif;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 24px;
}

/* Cards 
=============================== */
.services .container {
    max-width: 1400px;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
}
.front-page .service-card {
    border: 1px solid var(--white);
}
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
    background-color: var(--white);
    border-radius: var(--img-corners);
    outline: 1px solid var(--stroke-100);
    padding: 32px;
    text-align: left;
    transition: 
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        outline 0.3s ease;
}
.front-page .service-card,
.more-services .service-card {
    outline: 1px solid var(--white);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
    outline: 3px solid var(--outline-60);
}
.front-page .service-card:hover,
.more-services .service-card:hover {
    outline: 3px solid var(--accent-70); /* Blue hover outline on homepage */
}
.service-link:hover {
    filter: brightness(0.9);
}

.service-card:hover .service-link,
.service-card:focus-visible .service-link {
  background: var(--accent-yl);
  border-color: var(--accent-yl);
  outline: 1px solid var(--accent-yl);
  color: var(--text-900);
}
.service-icon {
    max-width: 60px;
}
.service-title {
    margin-bottom: 0;
    line-height: 1.2;
}
.service-text {
    margin: 0;
}
.service-desc {
    line-height: 1.8;
}
.service-link {
    max-width: none;
    background-color: var(--white);
    outline: 1px solid var(--outline-100);
    transition: all 0.3s ease;
}
.service-grid a:hover {
    filter: brightness(1); /* Cancels out base styling */
}

/* Content */
.service-content hr {
    border-color: var(--outline-40);
    margin: 48px 0;
}
.service-content h2,
.service-contento h3,
.service-content h4,
.service-content h5,
.service-content h6 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.service-content h4 {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1.1em;
}
.service-content h5 {
    letter-spacing: 0;
    text-transform: none;
    font-family: "Noto Serif", serif;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-100);
}
.service-content h6 {
    font-weight: 700;
}
.wp-caption-text {
    font-size: 12px;
    text-align: center;
    margin-top: 0;
}
/* Link */
.service-content a {
    color: var(--accent-tl);
    font-weight: 700;
    text-decoration: underline;
}
.service-content a:hover {
    filter: brightness(0.8);
}

.service-content hr {
    border-color: var(--outline-40);
    margin: 48px 0;
}

/* Coming Soon */
.service-coming-soon {
    font-family: 'Noto Serif', serif;
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.3em;
    color: var(--service-bl);
}

/* Large Screens 
=============================== */
@media only screen and (max-width: 1200px) {
    .service-grid {
        gap: 1em;
    }
    .service-card {
        padding: 24px;
    }
    .page-shell .page-hero {
        padding: 40px 2em 0;
    }
}
@media only screen and (max-width: 1024px) {
    .service-image-wrap {
        width: 320px;
        height: 320px;
    }
    .service-image-wrap-icon {
        top: 275px;
    }
}
/* Small Screens 
=============================== */
@media only screen and (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card:hover {
        transform: none;
        box-shadow: none;
        outline: 0 solid var(--white);
    }
    .page-shell .page-hero {
        padding: 20px 1em 0;
    }
    .page-shell .services {
        padding: 20px 1em;
    }
    .service-hero .container, .all-services {
        gap: 2em;
        padding: 40px 2em;
    }

    /* Image */
    .service-image-wrap {
        width: 220px;
        height: 220px;
    }
    .service-image-wrap-icon {
        top: 180px;
        left: 20px;
        width: 80px;
    }
    .service-cta {
        margin-top: 2em;
    }

    /* Text */
    .service-title {
        margin: 0.5em 0 0;
    }
    .service-desc {
        font-size: 1em;
        line-height: 1.7;
        margin: 0.5em 0 0;
    }
    .service-text {
        font-size: 1.1em;
        line-height: 1.4;
    }
    .service-icon {
        max-width: 40px;
    }
    .service-link {
        background-color: var(--accent-yl);
        outline: 1px solid var(--accent-yl)
    }
    .front-page .service-card:hover,
    .more-services .service-card:hover {
        transform: translateY(0px);
        box-shadow: none;
        outline: 0 solid var(--white);
    }

    /* Features */
    .logo img {
        max-height: 2em;
    }
    .logo:nth-of-type(4) img,
    .logo:nth-of-type(5) img {
        max-height: 1.3em;
    }
    .logo:nth-of-type(6) img {
        max-width: 130px;
    }
    .logo-grid {
        gap: 2em 2em;
        max-width: 500px;
    }

    /* Testimonial Scroll */
    .testimonial-track {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
     .testimonial-track::-webkit-scrollbar {
        display: none;
    }

    .testimonial-track {
        scrollbar-width: none;
    }

    .testimonial-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
    
    /* Coming Soon */
    .service-coming-soon {
        font-size: 1.3rem;
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    .more-services .service-grid {
        grid-template-columns: none;
    }
    .service-cta {
        flex-direction: column;
    }
    .service-hero .container, .all-services {
        flex-direction: column;
        padding: 40px 1em;
    }
    .service-hero-left {
        order: 2;
    }
    .service-hero-right {
        order: 1;
    }
    .service-image-wrap-thumb {
        width: auto;
    }
    .service-image-wrap-icon {
        top: 185px;
        left: auto;
        width: 70px;
    }
}