
/* --- services-feed --- */

.post-container.services-feed {
    max-width: 87.5rem;
}

.post-container.services-feed .services-list {
    max-width: 65%;
    margin: 0 0 0 auto;
}

.services-promo h4 {
    padding-top: 0;
}




.wp-block-group.service-block,
.services-list > .wp-block-group {
    margin-bottom: 72px;
}
.services-list > .wp-block-group:last-child {
    margin-bottom: 0;
}







.post-container.services-feed .contents h2,
.services-list > .wp-block-group h3 {
    padding-top: 0;
}







/* 3xl 2xl xl lg md sm */
.post-container.services-feed h3 { /* hp services H3 header */
    font-size: var(--header-xl);
    line-height: 110%;
    letter-spacing: -2px;
}

@media screen and (min-width: 640px) {
    .post-container.services-feed h3 {
        font-size: var(--header-xl);
    }
}
@media screen and (min-width: 768px) {
    .post-container.services-feed h3 {
        font-size: var(--header-2xl);
    }
}
@media screen and (min-width: 1024px) {
    .post-container.services-feed h3 {
        font-size: var(--header-2xl);
    }
}
@media screen and (min-width: 1280px) {
    .post-container.services-feed h3 {
        font-size: var(--header-2xl);
    }
}
@media screen and (min-width: 1536px) {
    .post-container.services-feed h3 {
        font-size: var(--header-2xl);
    }
}







@media screen and (max-width: 640px) {
    .is-layout-grid.services-promo {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1em;
    }
}








/* services categories */

.post-container .services-categories {
    list-style-type: none;
    padding-left: 0;
}

.post-container .services-categories li {
    display: inline-block;
    margin: 0 6px 12px 0;
    padding: 2px;

    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;

    background: #e5e5e5;
}

.post-container .services-categories li em {
    display: inline-block;
    padding: 0 20px;
    height: 40px;
    
    font-size: 18px;
    font-weight: 600;
    line-height: 40px;
    
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;

    background: var(--pure-white);
}

.post-container .services-categories li em a:hover {
    color: rgba(90,80,255,1);
}

/* for 320px or less */
@media screen and (max-width: 320px) {
    
    .post-container .services-categories li em {
        padding: 0 20px;
        height: 42px;
        
        font-size: 16px;
        line-height: 42px;
    }
    
}







/* sample works */

.services-list .wp-block-gallery {
    --wp--style--unstable-gallery-gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 2em))) !important;
    gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 2em))) !important;
}

@media (max-width: 768px) {

    .services-list .wp-block-gallery {
        --wp--style--unstable-gallery-gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 1em))) !important;
        gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 1em))) !important;
    }

}
.services-list .wp-block-gallery figure img {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}








/* promo badge mod */

.services-promo {
    margin-top: 40px;
}

.social-proof .services-promo {
    margin-top: 0;
}

.services-promo .is-layout-flex {
    justify-content: flex-end;
}











/* for 1280px or less */
@media screen and (max-width: 1280px) {
    
    .post-container.services-feed .services-list {
        max-width: 100%;
    }

}










/* Spis usług */

/* service header */

.post-container.services-feed .contents h2 { /* hp section H2 header */
    font-size: var(--header-md);
    line-height: 140%;
    width: fit-content;
    margin-top: 12px;
}

.post-container.services-feed .contents {
    display: none;
}

@media screen and (min-width: 1280px) {
    .post-container.services-feed .contents,
    .shps-faq .contents {
        display: block;
        position: sticky;
        top: 100px;
        left: 0;
        float: left;
        width: fit-content;
    }
}

.post-container.services-feed .contents ul {
    list-style: none;
    margin: 80px 0 0 0;
    padding: 0;
}

.post-container.services-feed .contents ul li {
    font-family: "Rethink Sans", sans-serif;
    font-size: 30px;
    font-weight: 400;
}

.post-container.services-feed .contents ul li a {
    line-height: 60px;
}

