/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

#wp-admin-bar-elementor_edit_page {
    display: none
}

.home-hero span {
    color: #fff;
}

/* Targeting the parent container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "block1 block2"
        "block4 block3"
        "block4 block5";
    gap: 0;
    width: 100%;
}

@media (max-width: 768px) {
    div[data-id="395dcf6"] .ae-acf-repeater-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "block1"
            "block2"
            "block3"
            "block4"
            "block5";
    }

    .site-header-section>div:last-child {
        justify-self: end;
    }
}

body div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item {
    width: 100% !important;
}

/* Block 1 - Top Left */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) {
    grid-area: block1;
    background-color: #000;
    color: #fff;
}

/* Block 2 - Top Right */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) {
    grid-area: block2;
    background-color: #1d6480;
    color: #fff;
}

/* Block 3 - Middle Right */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) {
    grid-area: block3;
    background-color: #b1204c;
    color: #fff;
}

/* Block 4 - Spanning across two rows on the left */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) {
    grid-area: block4;
}

/* Block 5 - Bottom Right */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) {
    grid-area: block5;
    background-color: #000;
    color: #fff;
}

div[data-id="395dcf6"] .has_ae_slider {
    padding: 0px;
}

/* Block 1 - Main Container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item .ae-acf-repeater-inner {
    display: flex;
    height: 100%;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .e-con-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 3rem;
    box-sizing: border-box;
}

/* Block 1 Content Wrapper */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .block1-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #fff;
    text-align: left;
    max-width: 80%;
}

/* Title Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .elementor-element[data-widget_type="heading.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

/* Content Text Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .elementor-element[data-widget_type="text-editor.default"] .elementor-widget-container {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Button Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .elementor-element[data-widget_type="button.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .elementor-element[data-widget_type="button.default"] a {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    background: transparent;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(1) .elementor-element[data-widget_type="button.default"] a:hover {
    background-color: #fff;
    color: #000;
}

/* Block 2 - Main Container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae_data,
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae_data>div,
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .has_ae_slider {
    height: 100%;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .e-con-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-areas:
        "image content";
    gap: 1rem;
    background-color: #1d6480;
    color: #fff;
    width: 100%;
    height: 100%;
    padding: 0px;
}

/* Image Settings */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="image.default"] {
    grid-area: image;
    align-self: stretch;
    width: 100%;
    margin: 0;
    height: 100%;
}

/* New Content Wrapper Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .content-wrapper {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    max-width: 80%;
    justify-self: center;
    padding: 2em 0px;
}

/* Title Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="heading.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) h2 {
    font-size: 30px;
    line-height: 1.17em;
    color: #fff;
    margin: 0;
}

/* Content Text Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="text-editor.default"] .elementor-widget-container {
    color: #fff;
    margin: 0;
}

/* Button Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="button.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="button.default"] a {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    background: transparent;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="button.default"] a:hover {
    background-color: #fff;
    color: #000;
}

/* Image Specific Settings */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(2) .elementor-element[data-widget_type="image.default"] img {
    padding: 0;
    object-fit: cover;
    height: 100%;
}

/* Block 3 - Main Container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .e-con-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 4rem;
    box-sizing: border-box;
    background-color: #b1204c;
    color: #fff;
}

/* Block 3 Content Wrapper */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .block3-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 80%;
}

/* Title Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .elementor-element[data-widget_type="heading.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

/* Content Text Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .elementor-element[data-widget_type="text-editor.default"] .elementor-widget-container {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Button Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .elementor-element[data-widget_type="button.default"] .elementor-widget-container {
    margin: 0;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .elementor-element[data-widget_type="button.default"] a {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    background: transparent;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(3) .elementor-element[data-widget_type="button.default"] a:hover {
    background-color: #fff;
    color: #b1204c;
}

/* Block 4 - Main Container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) .e-con-inner {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    width: 100%;
    height: 100%;
    padding: 0rem;
    box-sizing: border-box;
}

/* Block 4 Content Wrapper */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) .block4-content-wrapper {
    background-color: #d3922a;
    padding: 2rem;
    max-width: 65%;
    max-width: min-content;
    color: #fff;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

/* Title Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 1rem;
}

/* Content Text Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) .elementor-element[data-widget_type="text-editor.default"] .elementor-widget-container {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Button Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) .elementor-element[data-widget_type="button.default"] a {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    background: transparent;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(4) .elementor-element[data-widget_type="button.default"] a:hover {
    background-color: #fff;
    color: #d3922a;
}



/* Block 5 - Main Container */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .e-con-inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    /* Increased the second column for the image to make it wider */
    grid-template-rows: auto;
    /* Automatic height based on content */
    grid-template-areas:
        "content image";
    /* Define the grid layout with areas named 'content' and 'image' */
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    max-height: 600px;
    /* Set maximum height for the container */
    overflow: hidden;
    /* Ensure no overflow of content */
}

/* Block 5 Content Wrapper */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .block5-content-wrapper {
    grid-area: content;
    background-color: #000;
    color: #fff;
    padding: 0em 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .block5-content-wrapper {
        grid-area: content;
        background-color: #000;
        color: #fff;
        padding: 1em 2rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .e-con-inner {
        grid-template-columns: 2.2fr 2fr;
    }
}

/* Title Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 1rem;
}

/* Content Text Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .elementor-element[data-widget_type="text-editor.default"] .elementor-widget-container {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Button Styling */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .elementor-element[data-widget_type="button.default"] a {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    background: transparent;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .elementor-element[data-widget_type="button.default"] a:hover {
    background-color: #fff;
    color: #000;
}



/* Wrapping div to help with image positioning */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .elementor-widget-image {
    grid-area: image;
    align-self: stretch;
    position: relative;
    /* Changed from absolute to relative */
    height: 100%;
    /* Ensure it fills the container */
    max-height: 630px;
    /* Set max height same as parent container to ensure alignment */
    overflow: hidden;
    /* Ensure no overflow */
}

/* Styling the image */
div[data-id="395dcf6"] .ae-acf-repeater-wrapper .ae-acf-repeater-item:nth-child(5) .elementor-widget-image img {
    position: relative;
    /* Changed to relative for proper alignment */
    width: 100%;
    height: 100%;
    /* Ensure the image always fills the container height */
    object-fit: cover;
    /* Make sure the image fills the entire container */
}



/* Project Video Gallery */

/* Video Gallery Wrapper */
.video-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}

/* Main Video Container */
#main-video-container {
    width: 100%;
    height: auto;
    max-width: 940px;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    overflow: hidden;
}

#main-video-container iframe {
    width: 100%;
    height: 100%;
}

/* Thumbnails Wrapper */
/* Video Gallery Wrapper */
.video-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}

/* Main Video Container */
#main-video-container {
    width: 100%;
    height: auto;
    max-width: 940px;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    overflow: hidden;
}

#main-video-container iframe {
    width: 100%;
    height: 100%;
}

/* Thumbnails Wrapper */

/* Thumbnails Wrapper */
.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 1rem;
    justify-items: center;
    width:100%;
}
@media (max-width: 768px) {
    .video-thumbnails {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Video Thumbnail Styling */
.video-thumbnail {
    cursor: pointer;
    width: 100%; 
    /* max-width: 227.5px; 
    height: 127.95px;  */
    aspect-ratio: 3 / 1.7;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Overlay Styling */
.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.video-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.video-title {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Play Button Styling */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hide by default */
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-button {
    opacity: 0.6; /* Show play button on hover */
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin-left: 3px;
}





/* .video-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
}

.video-thumbnail {
    cursor: pointer;
    width: 227.5px;
    height: 127.95px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.video-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.video-title {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-button {
    opacity: 0.6;
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin-left: 3px;
} */



/* News & Stories */
.news-stories-button {
    /* display: none; */
    opacity: 0;
    /* height: 0px; */
}

#news_stories_repeater .ae-acf-repeater-item {
    transition: all 1.3s ease;
}

#news_stories_repeater .ae-acf-repeater-item:hover .news-stories-button {
    /* display: block; */
    opacity: 1;
    /* height: auto; */
    transition: all 0.3s ease;
}

#news_stories_repeater .ae-acf-repeater-inner,
#news_stories_repeater .ae-acf-repeater-inner div[data-elementor-type="wp-post"]{
    display: flex;
    height: 100%;
}


#news_stories_repeater .ae-acf-repeater-inner > .ae_data {
    padding: 0px;
    margin: 0px;
}


/* #post-grid-projects .elementor-posts-container {
    max-height: 275px;
} */
#post-grid-projects .elementor-grid-item {
    display: grid;
    gap: 0px;
    grid-template-columns: 3fr 2fr;
    /* min-height: 220px; */
}

#post-grid-projects .elementor-grid-item a {
    order: 2;
    margin: 0px;
}

#post-grid-projects .elementor-post__read-more {
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-radius: 3px;
    padding: 8px 24px;
    width: 130px;
    opacity: 0;
}
#post-grid-projects  .elementor-post__thumbnail {
    height:100%;
}

#post-grid-projects .elementor-post__text {
    display: flex;
    justify-content: space-between;
    padding:20px;
}

#post-grid-projects .elementor-grid-item:hover .elementor-post__read-more {
    /* display: block; */
    opacity: 1;
    transition: all 0.3s ease;
}
#post-grid-projects .elementor-grid-item .elementor-post__read-more:hover {
    background: #fff;
    color:#000;
    border-color: white;
}


#post-grid-projects .elementor-post__meta-data {
    order: 0
}
#post-grid-projects .elementor-post__title {
    order: 1
}
#post-grid-projects .elementor-post__read-more {
    order: 2;
    margin-top:15px!important;
}

@media (max-width: 768px) {
    body #post-grid-projects .elementor-grid-item {
        grid-template-columns: 1fr;
        /* grid-template-rows: 1fr 2.5fr; */
        grid-template-rows: 1fr 1fr;
        grid-template-rows: max-content 310px;
    }
    #post-grid-projects .elementor-post__read-more {
        opacity: 1;
    }    
    .news-stories-button {
        opacity: 1;
    }
    #post-grid-projects  .elementor-post__thumbnail img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: bottom center;
    }
}



/* News Arcchive */
.wp-element-caption {
    font-size: 0.8em;
}

.blog figure img {
    min-width: 100%;
}


/* Header menu */
#masthead .ast-container {
    padding-right: 0px;
    margin-bottom: -1px;
}

#ast-hf-menu-1 .menu-item a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0 1.5em;
}

.site-primary-header-wrap .ast-builder-grid-row {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    grid-column-gap: 20px;
    overflow-wrap: anywhere;
}

.site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-right {
    display: grid;
    grid-template-columns: 70px 1fr;
}

@media (max-width: 768px) {
    .site-primary-header-wrap .ast-builder-grid-row .site-header-primary-section-right {
        display: grid;
        grid-template-columns: min-content 1fr;
        margin-top: 8px;
        margin-right: -10px;
    }

    body .header-widget-area {
        padding: 0px;
    }
}



#block-10 p {
    margin-bottom: 0px;
}

/* language switcher */
body .trp-language-switcher {
    height: auto;
    width: auto;
}

.trp-language-switcher>div {
    width: 40px !important;
    border: none;
    padding: 0px;
    background-position: center right;
}

.trp-language-switcher>div>a {
    padding: 0px;
}

.trp-language-switcher:focus .trp-ls-shortcode-language,
.trp-language-switcher:hover .trp-ls-shortcode-language {
    visibility: visible;
    max-height: 250px;
    padding: 0px 10px;
    height: auto;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block !important;
    min-height: auto;
    width: 45px !important;
    border: 1px solid #e7e7e7;
    top: 2px;
    left: -10px;
}

/* Footer */
body .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #d59823;
    margin-top: -1px;
}

body .frm_style_formidable-style.with_frm_style .form-field {
    margin-bottom: 5px;
}

.site-primary-footer-wrap {
    padding-bottom: 0px;
}

body .frm_style_formidable-style.with_frm_style .frm_submit button {
    background: none;
    border: none;
    box-shadow: none;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    border-radius: 0px;
}

body .frm_style_formidable-style.with_frm_style .frm_submit button:hover {
    background: black;
    color: #fff;

}

body .with_frm_style .frm_submit.frm_flex {
    justify-content: end;
}

body #block-8 {
    margin-top: -25px;
}

.with_frm_style .frm_inside_container>input,
.with_frm_style .frm_inside_container>select,
.with_frm_style .frm_inside_container>textarea {
    border-radius: 0px;
}

body .ast-footer-social-1-wrap .ast-builder-social-element,
.ast-footer-social-1-wrap .social-show-label-true .ast-builder-social-element {
    flex-direction: column;
    border: 1px solid #000;
    min-width: 132px;
}

.ast-footer-social-1-wrap .ast-builder-social-element,
.ast-footer-social-1-wrap .social-show-label-true .ast-builder-social-element:hover {
    color: #000;
    opacity: 0.8;
}

body .site-footer-primary-section-2 {
    height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body .footer-social-inner-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    body .footer-social-inner-wrap {
        width: 50%;
        margin: 0 auto;
        margin-top: -70px;
        margin-bottom: 50px;
        gap: 20px;
    }

    body .ast-footer-social-1-wrap .ast-builder-social-element {
        min-width: 30px;
    }
}



@media (min-width: 1023px) and (max-width: 1190px) {
    #ast-hf-menu-1 .menu-item a {
        padding: 0 1.2em;
    }
}

.home-hero-title {
    color: #b1204c;
    display: flex;
    flex-wrap: wrap;
}

.home-hero-title span {
    margin-right: 15px;
}

@media (max-width: 768px) {
    h1.home-hero-title {
        font-size: 3em;
    }
}

.grecaptcha-badge {
    display: none;
}


.site .ast-single-related-posts-container {
    padding: 15px;
}

.ast-author-avatar {
    display: none;
}
.ast-author-bio {
    text-align: center;
}

body.single .entry-header .post-thumb img {
    object-fit: cover;
}

h3#flourish-header-subtitle {
    color: #fff !important;
}
