/**handles:static-styles**/
:where(.wp-site-blocks) > * {
    margin-block-start: 0px !important;
}

header {
    .wp-block-image {
        img {
            display: block;
            transition: all 0.25s;

            &:hover {
                transform: scale(1.1);
            }
        }
    }
}

@media screen and (max-width: 1365px) {
    header {
        .wp-block-site-logo {
            padding: 10px 0;
        }
    }
}

footer {
    a {
        text-decoration: none;
    }

    .wp-block-navigation {
        .wp-block-navigation-item__content {
            transition: 0.25s;

            &:hover {
                padding-left: 5px;
            }
        }
    }
}

@media screen and (max-width: 781px) {
    footer {
        .footer-row {
            gap: 30px;

            > .wp-block-group {
                width: 100%;
                flex-basis: 100%;
                text-align: center;
                align-items: center !important;

                .wp-block-group {
                    width: 100%;
                    text-align: center;
                }

                .wp-block-navigation__container {
                    align-items: center;
                }

                &:first-child {
                    width: 100% !important;
                    flex-basis: 100% !important;
        
                    figure {
                        margin: auto;
                    }
                }
            }
        }

        .footer-copyright {
            padding-top: 40px;

            > .wp-block-group {
                flex: 0 1 100%;
                align-items: center;
                text-align: center;
                
                &:first-child {
                    display: none;
                }
            }
        }
    }
}

@media screen and (min-width: 782px) and (max-width: 1365px) {
    footer {
        .footer-row {
            gap: 60px 40px;

            > .wp-block-group {
                width: calc(33.3333% - 40px);
                flex-basis: calc(33.3333% - 40px);
                text-align: center;
                align-items: center !important;

                .wp-block-group {
                    width: 100%;
                    text-align: center;
                }

                .wp-block-navigation__container {
                    align-items: center;
                }

                &:first-child {
                    width: 100% !important;
                    flex-basis: 100% !important;
        
                    figure {
                        margin: auto;
                    }
                }
            }
        }

        .footer-copyright {
            padding-top: 40px;

            > .wp-block-group {
                flex: 0 1 100%;
                align-items: center;
                text-align: center;
                
                &:first-child {
                    display: none;
                }
            }
        }
    }
}

@media screen and (min-width: 1366px) and (max-width: 1499px) {
    footer {
        .footer-row {
            flex-wrap: nowrap !important;
        }

        .footer-copyright {
            padding-top: 40px;

            > .wp-block-group {
                &:first-child {
                    display: none;
                }
            }
        }
    }
}

@media screen and (min-width: 1500px) and (max-width: 1600px) {
    footer {
        .wp-block-navigation__container {
            &.items-justified-right {
                justify-content: flex-start !important;
            }
        }
    }
}

.fade-not-active{
    .swiper-slide:not(.swiper-slide-active){
        opacity: 0.3 !important;
    }
}

header,
footer{
    .wp-block-image[class*="wp-duotone"]{
        &:not(:hover){
            img{
                filter: unset !important;
            }
        }
    }
}