﻿.o_wrapper {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.wp-block-columns {
    margin-bottom: 2rem;
}

.wp-block-button .wp-element-button:hover,
.is-style-outline .wp-element-button:hover,
.grdi_link:hover,
.btn:hover,
button:hover,
.button:hover,
.btn.outline:hover,
button.outline:hover,
.button.outline:hover {
    transition: ease 0.4s;
    border-color: #4D73354D;
    background: #4D73354D;
    color: #231D12;

}

.wp-block-buttons,
.button-block-group {
    margin-left: 0 !important;
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
}

.accordion_section .acc_item {
    padding: 0;
}

.accordion_section .acc_item .acc_title {
    background: transparent;
    width: 100%;

}

.accordion_section .acc_item .acc_title,
.acc_expandable {
    padding: 16px 24px;
}

.accordion_section .acc_title:after {
    top: 22px;
    right: 24px;
}

.accordion_section .acc_item .acc_title:hover:after,
.accordion_section .acc_item .acc_title.active:after {
    filter: brightness(30);
}

.accordion_section .acc_item h3 {
    margin: 0;
}

.accordion_section .acc_item .acc_title {
    font-style: normal;
    font-size: 16px;
    color: #231D12;
    line-height: 175%;
    text-align: left;
    margin: 0;
}

.accordion_section .acc_item .acc_title:hover,
.accordion_section .acc_item .acc_title.active {
    color: #FFFFFF;
}

.accordion_section .acc_item .acc_title:hover,
.accordion_section .acc_item .acc_title.active {
    background: #4D7335;
    transition: ease 0.4s;
}

.video_block {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
}

.video_block .swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.togl_btn.playing {
    display: none
}

.togl_btn .play {
    display: block;
}

.vv_swiper .swiper-slide-active .transition_wrapper,
.video_block iframe {
    width: 100%;
    height: 100%;
}

.vv_swiper .swiper-slide.swiper-slide-next .transition_wrapper,
.vv_swiper .swiper-slide.swiper-slide-prev .transition_wrapper {
    height: 100%  ;
    width: 100%;
}


ul.button-block-group li {
    display: inline-block;
    list-style: none;
}

.has-text-align-center {
    justify-content: center;
}

.has-text-align-right {
    text-align: right;
    justify-content: right;
}

.has-text-align-left {
    text-align: left;
    justify-content: left;
}

.grdi_link {
    padding: 6px 52px 6px 24px;
}

.top_footer .footer_box h2 {
    font-family: 'Tisa Sans Pro', sans-serif;
    font-style: normal;
    font-size: 28px;
    line-height: 110%;
    color: #fff;
    margin-bottom: 32px;
    font-weight: 300;
    display: block;
}

.vv_swiper .swiper-slide-active {
    transform: scale(1) translateX(0);
    -webkit-transition:
        ease 0.4s;
    -ms-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition:
        ease 0.4s;
    opacity: 1;
}

.vv_swiper .swiper-slide.swiper-slide-next {
    transform: scale(0.8) translateX(-100px);
    opacity: 0.5;
    -webkit-transition:
        ease 0.4s;
    -ms-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition:
        ease 0.4s;
}

.vv_swiper .swiper-slide.swiper-slide-prev {
    transform: scale(0.8) translateX(100px);
    opacity: 0.5;
    -webkit-transition:
        ease 0.4s;
    -ms-transition: ease 0.4s;
    -moz-transition: ease 0.4s;
    -o-transition: ease 0.4s;
    transition:
        ease 0.4s;
}

.hero .inner_frame {
    display: flex;
    align-items: stretch;
}

.hero .info_part {
    flex: 1;
}

.hero .img_frame {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 400px;
}

.hero .img_frame img {
    display: block;
    width: 100%;
    height: 100%;
    height: 400px;
    object-fit: cover;
}

.hero.mini .img_frame {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.hero.mini .img_frame img {
    display: block;
    width: 100%;
    height: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 64em) {
    .main_header .nav_bar .main_nav .prime_nav li .arr_b {
        display: none;

    }
}

.not_mobile .main_nav li.menu-item-has-children:focus-within>ul {
    display: block;
}

.main_header .nav_bar .main_nav ul li.current-menu-item a:after,
.main_header .nav_bar .main_nav ul li.current-menu-item a:before {
    opacity: 1;

}

.ham_btn,
.ham_btn:hover {
    color: #fff;
    background: transparent;
    line-height: 175%;
    padding: 0;
}

/* search */
.search-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
}

.search-modal.open {
    display: flex;
}

.search-modal-inner {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 100%;
}

/* type="submit"   */
button[type="submit"],
input[type="submit"] {
    background: #4D7335;
    font-weight: 400;
    padding: 12px 24px;
    display: inline-block;
    color: #fff;
    transition:
        ease 0.4s;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    font-size: 1rem;
    border: 0;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    transition:
        ease 0.4s;
    border-color: #4D73354D;
    background: #4D73354D;
    color: #231D12;
}

.pagination {
    display: flex;

    gap: 12px;
    justify-content: center;
    align-items: center;

}

.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    color: inherit;
    font-size: 16px;

}

.pagination .page-numbers.current {
    background: #4D7335;
    color: #fff;
    width: 32px;
    height: auto;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: 44px;
    height: 44px;
    background: #4D7335;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-numbers.prev svg,
.pagination .page-numbers.next svg {
    width: 16px;
    height: 14px;
}

.pagination .dots {
    pointer-events: none;
}

.blog_cards.grid_cards .inner_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
    gap: 32px;
    padding: 32px 16px 48px;
}

.blog_cards .grid_card .wp-block-heading {

    font-size: var(--font-size-md, 24px);
    color: var(--accent-color);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    padding-right: 0;
    padding-left: 0;
    /* 26.4px */
}


.blog_cards .grid_card {
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.blog_cards .grid_card figure {
    margin-bottom: 16px;
    width: 100%;
    height: 0;
    padding-bottom: 75.44%;
    /* aspect ratio */
    position: relative;
    overflow: hidden;
}

/* object fit cover */
.blog_cards .grid_card figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog_cards .grid_card .wrapper_info {
    text-align: left;
    height: 100%;
    position: relative;
    padding-left: 25px;
    top: 0;
    transition: ease 0.4s;

}

.blog_cards .grid_card:hover .wrapper_info {

    top: -8px;
}

.blog_cards .grid_card .wrapper_info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #4d7335ad;
    pointer-events: none;
    transition: ease 0.4s;
}

.blog_cards .grid_card:hover .wrapper_info:before {

    height: calc(100% + 8px);
    ;
}

.sw.pagination .page-numbers.prev,
.sw.pagination .page-numbers.next {
    cursor: pointer;
}

.sw.pagination {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 20%;
    width: 100%;
    z-index: 222;
}

@media (min-width: 768px) {

    .sw.pagination .page-numbers.prev {
        left: -50px;
        position: relative;

    }

    .sw.pagination .page-numbers.next {
        right: -50px;

        position: relative;
    }
}


.blog-single .article_section .wp-block-image {
    float: right;
    margin: .5em 0 .5em 1em;
    clear: both;
}

@media (max-width: 768px) {
    .blog-single .article_section .wp-block-image {
        float: none;
        margin: 0 0 1em 0;
        max-width: 100%;
    }
}

.blog-single .article_section .wp-block-image {

    max-width: 40%;
}

.related_articles {
    clear: both;
    margin-top: 4rem;
}

.featured_image {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 36%;
    position: relative;
}

.featured_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center center;
}

.related-articles-swiper .grid_card {
    max-width: none;
}

.related-articles-swiper .swiper-wrapper {
    justify-content: space-evenly;
}

.hero_secondary .hero_inner {
    position: relative;
}

.hero_secondary .hero_inner .hero_content {
    
    text-align: center;


}

.hero_secondary .hero_container {
    height: 400px;
}

.hero_secondary .hero_container img {
    object-fit: cover;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.grid_card .wp-block-button {
    position: static;
    display: block;
    width: 100%;
}

.grid_card .wp-block-buttons,
.grid_card .wp-block-create-block-card>.wp-block-button {

    width: 100%;
    display: flex;
    bottom: 0;
    /* height: 100%; */
    flex-direction: column;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;



    margin-top: auto;
}

.grid_card {
    min-width: 200px;
    padding: 16px;
    ;
}

.grid_card .wrapper_info {
    height: 100%;
}

.wp-block-create-block-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vv_swiper .swiper-slide.swiper-slide-active,
.vv_swiper .swiper-slide.swiper-slide-active .transition_wrapper {
    transform: none;
    opacity: 1;
}