
/* ===== Service detail (sidebar + content) ===== */
@media only screen and (min-width: 0rem) {
    #service-detail-1500 {
        padding: var(--sectionPadding);
    }

    #service-detail-1500 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: clamp(2.5rem, 5vw, 3.5rem);
    }

    #service-detail-1500 .cs-content p a {
    color: var(--primary);
    text-decoration: underline;
            }

            #service-detail-1500 .cs-content p a:hover {
                color: var(--secondary);
            }

            /* safety net in case a button is ever nested inside a <p> */
            #service-detail-1500 .cs-content p a.cs-button-solid,
            #service-detail-1500 .cs-content p a.cs-cc-btn {
                color: #fff;
            }

    #service-detail-1500 .cs-sidebar {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        order: 2;
    }

    #service-detail-1500 .cs-services {
        background-color: var(--secondaryShade);
        border-radius: 0.75rem;
        padding: 0.5rem 1.25rem;
    }

    #service-detail-1500 .cs-service-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        font-family: "Archivo", Arial, sans-serif;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--headerColor);
        text-decoration: none;
        transition: color 0.2s;
    }

    #service-detail-1500 .cs-service-link:last-child {
        border-bottom: none;
    }

    #service-detail-1500 .cs-service-link:hover,
    #service-detail-1500 .cs-service-link.cs-active {
        color: var(--primary);
    }

    #service-detail-1500 .cs-plus {
        width: 1.75rem;
        height: 1.75rem;
        flex: none;
        border-radius: 50%;
        background-color: #fff;
        color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #service-detail-1500 .cs-service-link.cs-active .cs-plus {
        background-color: var(--primary);
        color: #fff;
    }

    #service-detail-1500 .cs-contact-card {
        border: 1px solid #d7dcda;
        border-radius: 0.75rem;
        padding: 2rem 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    #service-detail-1500 .cs-cc-title {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--headerColor);
        max-width: 16ch;
        margin: 0;
    }

    #service-detail-1500 .cs-cc-phone {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        color: var(--headerColor);
        text-decoration: none;
    }

    #service-detail-1500 .cs-cc-phone svg {
        color: var(--primary);
        flex: none;
    }

    #service-detail-1500 .cs-cc-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background-color: var(--primary);
        color: #fff;
        font-family: "Oswald", Arial, sans-serif;
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 0.85rem 1.75rem;
        border-radius: 3rem;
        transition: background-color 0.2s;
    }

    #service-detail-1500 .cs-cc-btn:hover {
        background-color: var(--secondary);
    }

    #service-detail-1500 .cs-content {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #service-detail-1500 .cs-picture {
        width: 100%;
        aspect-ratio: 16 / 10;
        margin-bottom: 2rem;
        border-radius: 0.75rem;
        overflow: hidden;
        background-color: var(--secondaryShade);
        display: block;
    }

    #service-detail-1500 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #service-detail-1500 .cs-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
        margin-bottom: 1rem;
    }

    #service-detail-1500 .cs-content p {
        font-size: 1rem;
        line-height: 1.6em;
        color: var(--bodyTextColor);
        margin: 0 0 1.25rem 0;
    }

    #service-detail-1500 .cs-checklist {
        list-style: none;
        width: 100%;
        margin: 0.5rem 0 2rem;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #service-detail-1500 .cs-checklist li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 700;
        color: var(--headerColor);
    }

    #service-detail-1500 .cs-check {
        width: 1.5rem;
        height: 1.5rem;
        flex: none;
        border-radius: 50%;
        background-color: var(--primary);
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #service-detail-1500 .cs-content h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 700;
        line-height: 1.2;
        color: var(--headerColor);
        margin: 1.5rem 0 1rem;
    }

    #service-detail-1500 .cs-content .cs-button-solid {
        margin-top: 1rem;
    }
}

@media only screen and (min-width: 64rem) {
    #service-detail-1500 .cs-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.5rem;
    }

    #service-detail-1500 .cs-sidebar {
        width: 20rem;
        flex: none;
        order: 1;
        position: sticky;
        top: 7rem;
    }

    #service-detail-1500 .cs-content {
        flex: 1;
        order: 2;
    }
}
