/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
:root {
    --theme-border-radius: 1rem;
}

/* ====================================
   Typography & Headings
==================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2em !important;
}

.sub-header {
    font-size: 30px;
}

@media only screen and (max-width: 600px) {
    .sub-header {
        font-size: 22px !important;
    }

    .elementor-heading-title {
        font-size: clamp(2.25rem, 2.1389rem + 0.3704vw, 2.5rem);
        font-weight: 600 !important;
    }

    p {
        line-height: 1.4 !important;
        font-size: 1.1rem !important;
    }

    .elementor-button {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
}

.slider-header {
    font-weight: 700;
    font-size: 48px;
    max-width: 600px;
}

.tab-heading {
    background: #cef0ff;
    font-weight: 600;
    font-size: 32px;
    color: #00adc6;
}

.tab-heading .column {
    padding: 1rem;
    text-align: left;
}

.tab-heading .column:last-child {
    text-align: right;
}



/* ====================================
   Layout & Containers
==================================== */
.ct-sticky-container {
    transition: .3s;
}

.ct-sticky-container:hover {
    background-color: #fff;
}

.image_box .elementor-widget-container {
    display: flex;
    flex-wrap: inherit;
    padding: 20px 20px 20px 0;
}

.image_box .elementor-widget-container img {
    max-width: 40%;
    height: auto;
    border-radius: 20px;
    border-left-width: 4px;
    border-right-width: 5px;
}

.two-column {
    display: grid;
    column-gap: 2rem;
}

.two-column .column {
    text-align: center;
    background: #cef0ff;
    padding: 0 0 30px;
    display: flex;
    flex-direction: column;
}

.two-column .column img {
    margin-bottom: 1rem;
}

.two-column a.btn-btn-blue {
    margin: 1rem auto 0;
}

.blue-form .inputs-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-input:not([type="checkbox"]) {
    display: inline-block;
    width: 90%;
    max-width: 500px;
    height: 40px;
    padding: 9px 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    color: #33475b;
    border: 1px solid #cbd6e2;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    border-radius: var(--theme-border-radius) !important;
    background-clip: padding-box;
    background-color: #f5f8fa !important;
}

.hs-button {
    background: #78be20 !important;
    border-color: #78be20;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 12px;
    font-family: Poppins;
}

@media (min-width: 992px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
    }

    .d-flex {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .cta-band .column:first-child {
        max-width: 70%;
    }

    .next-steps .column:first-child {
        max-width: 40%;
    }
}

@media (max-width: 991.98px) {
    .column+.column {
        margin-top: 1rem;
    }

    .elementor-35 .elementor-element.elementor-element-3eb5e759 {
        padding-top: 0 !important;
    }

    .grid-card .elementor-column .elementor-widget-wrap {
        border-color: #b8b8b8 !important;
        box-shadow: none !important;
        border-radius: var(--theme-border-radius);
    }

    .grid-card+.elementor-widget-spacer,
    .two-column-blue-box .elementor-widget-spacer,
    .hide-mobile {
        display: none;
    }

    .two-column-blue-box .blue-card>div {
        border: 1px solid #00adc6;
        border-radius: var(--theme-border-radius) !important;
        box-shadow: none !important;
    }

    .blue-form:before {
        content: "";
        background: #00ADC6;
        position: absolute;
        left: -33px;
        right: 0;
        height: 100%;
        width: 100vw;
        z-index: -1;
    }

    .blue-form .hbspt-form {
        padding-block: 2rem;
    }

    .blue-form .hs-form-field label:not(.hs-error-msg) {
        font-size: 17px;
        color: #fff;
    }



    .blue-form .inputs-list label {
        font-size: .8rem !important;
        line-height: 1.5 !important;
        display: inline-block;
        margin-block: 1rem;
    }

    .map-card {
        border: 1px solid;
        border-radius: var(--theme-border-radius);
    }

    .map-card .elementor-widget-wrap {
        padding: 0 !important;
    }

    .map-card .elementor-widget-text-editor {
        margin-block-start: 1rem;
    }

    .map-card .elementor-widget-image {
        background: #e6e6e6;
    }

    .map-card .elementor-widget-image {
        margin-block-end: 0 !important;
    }

    .elementor-widget-image+.elementor-widget-text-editor {
        column-count: 2;
    }
}

/* ====================================
   Navigation & Menus
==================================== */
[class*='ct-mega-menu'] .ct-column-heading,
.ct-column-heading {
    color: #4a9eff !important;
    font-size: 18px;
}

.sub-menu li.ct-active .animated-submenu>.sub-menu {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: 0;
    margin-left: 0;
}

.sub-menu li.ct-active .animated-submenu>.sub-menu>li {
    opacity: 1;
}

.sub-menu li.ct-active .animated-submenu>.sub-menu>li h2 {
    font-size: 20px;
}

.sub-menu li.ct-active .animated-submenu>.sub-menu>li p {
    font-size: 14px;
    line-height: 1.3;
}

.sub-menu li.ct-active .wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
    width: 100%;
}

.mobile-menu[data-interaction=click] .dropdown-active ul.sub-menu {
    display: block;
}

.mobile-menu ul.sub-menu .ct-sub-menu-parent {
    display: none;
}

.mobile-menu ul.sub-menu .ct-menu-link {
    font-size: 15px;
}

.animated-submenu [data-submenu="left"]>.sub-menu:before {
    width: 5px;
}

[class*=ct-toggle-close] {
    --icon-size: 22px;
    --icon-color: #000;
}

/* ====================================
   Header & Utility Nav
==================================== */
#header [data-row*=top] .ct-container-fluid {
    display: flex;
    justify-content: end;
    padding-top: 1rem;
}

#header [data-row*=top] ul#menu-utility-nav {
    display: flex;
    gap: 3rem;
}

#header [data-row*=top] a {
    font-size: 1rem;
}

#header [data-row*=top] .link-phone a,
#header [data-row*=bottom] .link-phone a,
#header .btn-primary a {
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    background-color: var(--e-global-color-primary);
    color: #fff;
    transition: all .3s;
    font-size: var(--theme-button-font-size);
    width: fit-content;
    margin-top: 0.5em;
}

#header [data-row*=top] .link-phone a:hover,
#header [data-row*=bottom] .link-phone a:hover,
#header .btn-primary a:hover {
    background-color: var(--e-global-color-39c5c24);
}

#header [data-items="primary"] {
    justify-content: flex-end !important;
}

#header [data-row*=middle] .ct-container-fluid {
    transition: all ease 0.4s;
}

@media (max-width: 991.98px) {
    #header {
        background: #fff;
    }

    #header [data-device="mobile"] [data-items="primary"] {
        justify-content: space-between !important;
    }

    #header [data-row*=bottom] .widget-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding-top: 1rem;
    }

    #menu-utility-nav-1 li {
        text-align: center;
    }

    #menu-utility-nav-1 a {
        display: block;
        width: -webkit-fill-available !important;
        background-color: var(--e-global-color-primary);
        border-radius: 40px;
        padding: 0.5rem 1rem;
        color: #fff;
        transition: all .3s;
        font-size: var(--theme-button-font-size);
        margin-top: 0 !important;
    }

    #menu-utility-nav-1 li:nth-child(5) {
        grid-column: span 2;
        text-align: center;
    }

    [data-id="widget-area-1"] {
        width: 100%;
    }

    .elementor-column {
        margin-bottom: 1rem;
    }

    .site-logo-container img {
        width: clamp(200px, calc(171.429px + 8.929vw), 240px) !important;
    }

    #search-modal form .ct-search-form-controls {
        right: 1rem;
    }

    #search-modal input {
        padding-inline: 1rem;
    }
}

/* ====================================
   Buttons
==================================== */
.btn-btn-blue {
    background-color: #00adc6;
    border-radius: 30px;
    color: #fff;
    padding: 15px 30px;
}

.btn-outline {
    background-color: #fff;
    border-radius: 25px;
    color: #00adc6;
    padding: 10px 30px;
    border: 2px solid #00adc6;
}

.swiper-slide a.btn-blue {
    border: 2px solid #fff;
    border-radius: 40px;
    background-color: var(--e-global-color-primary);
    color: #fff;
    font-size: 18px;
    padding: 16px 40px;
    display: inline-block;
    transition: all .3s;
}

.swiper-slide a.btn-blue:hover {
    background-color: var(--e-global-color-39c5c24);
}

/* ====================================
   Elementor Tabs
==================================== */
.elementor-widget-tabs .elementor-tabs-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: space-evenly;
}

.elementor-widget-tabs .elementor-tab-desktop-title {
    background-color: var(--wp--preset--color--palette-color-1) !important;
    border-radius: 40px;
    color: #fff !important;
    transition: all .3s;
}

.elementor-widget-tabs .elementor-tab-desktop-title:hover {
    background-color: var(--wp--preset--color--palette-color-1) !important;
}

.elementor-widget-tabs .elementor-tab-content,
.elementor-widget-tabs .elementor-tab-title,
.elementor-widget-tabs .elementor-tab-title:after,
.elementor-widget-tabs .elementor-tab-title:before,
.elementor-widget-tabs .elementor-tabs-content-wrapper {
    border: none !important;
}

.elementor-widget-tabs .elementor-tabs-content-wrapper {
    border-top: 2px solid var(--wp--preset--color--palette-color-1) !important;
}

.elementor-tab-content.hidden {
    display: none !important;
}

@media (max-width: 767.98px) {
    .elementor-widget-tabs .elementor-tabs-wrapper {
        flex-wrap: wrap;
    }

    .next-arrow {
        max-width: 30px;
    }
}

/* ====================================
   Tribe Events
==================================== */
.tribe-events-single {
    padding: 5%;
    margin-top: 75px;
}

.tribe-events-single img {
    max-width: 500px;
}

.tribe-common-l-container {
    padding: 5% !important;
}

.event-tickets .tribe-tickets__rsvp-attendance {
    display: none !important;
}

/* ====================================
   gTranslate
==================================== */
.menu-item-gtranslate {
    position: relative;
    top: 0;
    padding: 1rem 0 !important;
    height: 3rem;
    width: 100% !important;
}

.gt_switcher,
.gt_option {
    min-width: 250px;
    width: 100%;
    background: #fff !important;
}

.gt_switcher .gt_selected a {
    width: auto !important;
}

@media screen and (max-width: 699px) {
    .gt_switcher_wrapper {
        position: fixed;
        top: 74px !important;
        right: 0 !important;
        z-index: 999999;
        background: #fff !important;
        width: 100px !important;
    }
}

@media screen and (min-width: 700px) and (max-width: 999px) {
    .gt_container--ybzvf4 .gt_switcher .gt_selected {
        background: #fff linear-gradient(180deg, #fff 0%, #fff 70%) !important;
    }

    .gtranslate_wrapper {
        position: absolute;
    }

    .gt_switcher_wrapper {
        position: fixed;
        top: 20px !important;
        right: 8%;
        z-index: 999999;
        background: #fff !important;
    }
}

@media screen and (min-width: 1000px) {
    .gt_switcher_wrapper {
        top: -400px !important;
    }

    .translated-ltr .hero-home h1,
    .hero-home h1:lang(es) {
        font-size: 49px;
        max-width: 450px;
    }

    .translated-ltr .header-menu-1 a,
    .header-menu-1 a:lang(es) {
        font-size: 15px;
    }
}

@media screen and (min-width: 1400px) and (max-width: 1729px) {

    .translated-ltr .gt-switcher,
    .gt_switcher:lang(es) {
        position: absolute;
        top: -2.3rem;
        right: 0;
        z-index: 3;
    }
}

@media (min-width: 1730px) {
    .gt_switcher {
        max-width: 147px !important;
        min-width: 147px !important;
    }

    .menu-item-gtranslate {
        position: relative !important;
        top: 1em !important;
        background: #fff !important;
    }

    [data-column="end"]>[data-items="primary"] {
        justify-content: flex-start;
    }

    .translated-ltr .gt_switcher,
    .gt_switcher:lang(es) {
        max-width: 125px !important;
        min-width: 125px !important;
    }
}

@media screen and (min-width: 1700px) {
    .translated-ltr .header-menu-1 {
        font-size: 14px;
        transform: translateX(-150px);
    }

    .header-menu-1:lang(es) {
        font-size: 14px;
    }
}

/* ====================================
   Resources Grid
==================================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
    justify-items: center;
}

.resource-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(120, 190, 32, 0.1);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.resource-image {
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 75px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform .3s ease;
}

.resource-card:hover .benefit-icon {
    transform: scale(1.1);
}

.resource-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    color: #78be20;
}

.resource-card:nth-child(even) .resource-title {
    color: #00adc6;
}

.resource-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-info {
    background: rgba(120, 190, 32, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.contact-info p {
    color: #2d3748;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.disclaimer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    font-size: 11px;
    color: #4a5568;
    width: 100%;
    background: rgba(120, 190, 32, 0.05);
    border-top: 1px solid rgba(120, 190, 32, 0.1);
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .resource-card {
        padding: 1.5rem;
    }
}