/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.taxo-banner{
    position: relative;
    height: 70vh;
    align-items: center;
    display: flex;
}

.taxo-banner:before{
    background-color: #000;
    --background-overlay: '';
    transition: background var(--overlay-transition, .3s), border-radius var(--border-transition, .3s), opacity var(--overlay-transition, .3s);
    opacity: 0.6;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.taxo-banner-content{
    width: 1140px;
    margin: 0 auto;
    z-index: 1;
}

.taxo-banner-content h1{
    color: #fff;
}

.taxo-page .page-content{
    width: 1140px;
    margin: 0 auto;
    padding: 4% 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.taxo-page .page-content .post{
    display: flex;
    flex-direction: column;
    background-color: var(--e-global-color-9ae583a);
    text-align: center;
    padding: 10% 5%;
}

.taxo-page .page-content .post img{
    height: 200px;
    object-fit: cover;
    object-position: top center;
}

.taxo-page .page-content .post h2{
    font-size: 18px;
    font-weight: 600;
    color: var(--e-global-color-3f0a912);
    margin: 10px 0 0;
}

.taxo-page .page-content .post a,
.taxo-page .page-content .post a:hover{
    color: #fff;
}

@media only screen and (max-width: 1024px) {

    .taxo-page .page-content {
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }

    .realisation-template-default h2.wp-block-heading{
        font-size: 24px;
    }

    .realisation-template-default h3.wp-block-heading{
        font-size: 18px;
    }

    .realisation-template-default h3.wp-block-heading{
        font-size: 14px;
    }

}

@media only screen and (max-width: 550px){
    .taxo-page .page-content {
        grid-template-columns: repeat(1, 1fr);
    }
}