
/* Change heading color for contrast fix */
.home-custom-loop-title a {
    color: #20675C;
}

/* Change button color background for contrast fix */
.home-custom-cta-banner a {
    background-color: #20675C;
}

/* Change search button color background for contrast fix */
.footer-custom-search .wp-block-search__button {
    background-color: #20675C;
}

/* Change footer text color for contrast fix */
.obb-footer-copyright, #obb-footer-nav #menu-ggh-footer li a {
    color: #3D4657 !important;
}

/* Change footer menu layout in mobile for accesibility fix */
@media (max-width: 599px) {
    #menu-ggh-footer {
        display: flex;
        flex-wrap: no-wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
}

/* Disable animations and transitions for body elements, to prevent pagespeed and SEO issues */
body {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -o-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

/* Fix ad layout in blog page */
body.blog img.wp-image-14024 {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 970 / 100 !important;
}

/* Fix contrast color for terms text in post loop block */
body.blog .wp-block-query .wp-block-post-terms a, body.blog .wp-block-query .wp-block-post-excerpt__more-link {
    color: #20675C !important;
}

/* Fix contrast color for "read more" in post loop block */
body.blog aside .wp-block-categories-list .cat-item a {
    color: #20675C !important;
}

/* Fix margin for categories list in aside section in blog archive page */
body.blog aside .wp-block-categories-list .cat-item {
    margin-bottom: 8px !important;
}

/* Fix search button background color in aside section in blog archive page */
body.blog aside .wp-block-search__inside-wrapper .wp-block-search__button {
    background-color: #20675C !important;
}