/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

@media (min-width: 992px) and (max-width: 1199px) {
    .wp-block-stackable-columns.two_column_section .stk-row {
        max-width: 900px !important;
    }

    .wp-block-stackable-columns.two_column_section .stk-row .two_column_section_right {
        padding-right: 0 !important;
    }
}

@media (min-width: 1000px) {
    [data-prefix="single_page"] .hero-section[data-type="type-2"] {
        --min-height: 540px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1360px) {
    .wp-block-stackable-columns.two_column_section .stk-row {
        max-width: 1080px !important;
    }
}

.stk-row #mc-embedded-subscribe-form .name-fields {
    align-items: start;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
}

.stk-row #mc-embedded-subscribe-form .name-fields .mc-field-group {
    width: calc(50% - 5px);
}

.stk-row #mc-embedded-subscribe-form .mc-field-group input {
    background: #b0d8d5;
    color: #000;
    border-color: #b0d8d5;
}

.stk-row #mc-embedded-subscribe-form .mc-field-group input:focus {
    background: #fff;
    border-color: #ffffff;
    color: #000 !important;
}

.stk-row #mc-embedded-subscribe-form input[type=submit] {
    margin-top: 10px;
}

@media (max-width: 479px) {
    .stk-row #mc-embedded-subscribe-form .name-fields .mc-field-group {
        width: 100%;
    }
}

.link_color_green a {
    color: #054C50 !important;
}

.link_color_green a:hover {
    color: #FF462E !important;
}


header#header .ct-header-cta .ct-button:hover {
    box-shadow: 0 4px 10px -2px #0003;
    transform: translateY(-4px);
}

body.single-post main.site-main .ct-comments-container .ct-comments .comment-form *,
body.single-post main.site-main article.post .post-navigation *,
body.single-post main.site-main article.post .entry-content *,
body.blog .entries .entry-card .entry-meta .meta-date *,
body.blog .entries .entry-card .entry-meta .meta-author *,
body.blog .entries .entry-card .entry-excerpt * {
    color: #000000 !important;
}
body.single-post main.site-main article.post .post-navigation a:hover,
body.single-post main.site-main article.post .post-navigation a:hover span,
body.single-post main.site-main article.post .entry-content a:hover,
body.single-post main.site-main article.post .entry-content a:hover span,
body.blog .entries .entry-card .entry-meta .meta-date a:hover span,
body.blog .entries .entry-card .entry-meta .meta-author a:hover span,
body.blog .entries .entry-card .entry-meta .meta-date a:hover,
body.blog .entries .entry-card .entry-meta .meta-author a:hover,
body.blog .entries .entry-card .entry-excerpt a:hover {
    color: var(--theme-button-background-hover-color) !important;
}

.gform_confirmation_wrapper .gform_confirmation_message {
    color: #000;
    text-align: center;
}

@media (min-width: 1200px) and (max-width: 1439px) {
    header#header [data-device="desktop"] .ct-container [data-column="start"] [data-items="secondary"] .menu-container {
        margin-right: 0;
    }

    header#header [data-device="desktop"] .ct-container [data-column="middle"] .site-branding[data-id="logo"] {
        margin: 0 40px !important;
    }

    header#header [data-device="desktop"] .ct-container [data-column="middle"] .site-branding[data-id="logo"] img {
        max-width: 170px;
    }

    header#header [data-device="desktop"] .ct-container [data-column="end"] .menu-container .menu .menu-item:first-child > a {
        padding-left: 0;
    }
}

@media (min-width: 999px) and (max-width: 1199px) {
    .wp-block-stackable-columns.stat_columns_row .stk-row .wp-block-stackable-column .stk-block-count-up__text {
        font-size: 46px !important;
    }
    
    header#header [data-device="desktop"] .ct-container [data-column="start"] [data-items="secondary"] .menu-container {
        margin-right: 0;
    }

    header#header [data-device="desktop"] .ct-container [data-column="middle"] .site-branding[data-id="logo"] {
        margin: 0 20px !important;
    }

    header#header [data-device="desktop"] .ct-container [data-column="middle"] .site-branding[data-id="logo"] img {
        max-width: 150px;
    }
    
    header#header [data-device="desktop"] .ct-container [data-column="start"] .menu-container .menu .menu-item > a,
    header#header [data-device="desktop"] .ct-container [data-column="end"] .menu-container .menu .menu-item > a {
        padding: 0 8px !important;
        font-size: 14px !important;
    }
    header#header [data-device="desktop"] .ct-container [data-column="end"] .menu-container .menu .menu-item:first-child > a {
        padding-left: 0 !important;
    }
}

@media (max-width: 999px) {
    .wp-block-stackable-columns.stat_columns_row .stk-row {
        column-gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .wp-block-stackable-icon-list .stk-block-icon-list--column {
        column-count: 1 !important;
    }

    [data-prefix="single_page"] .entry-header .page-title {
        font-size: 42px !important;
    }
}

.wp-block-stackable-image.image_with_fix_width .stk-img-wrapper {
    width: auto !important;
}

.wp-block-stackable-image.image_with_fix_width .stk-img-wrapper img {
    max-width: 100%;
    width: auto !important;
    margin: 0 auto !important;
}