/*
Theme Name:     BGCEC 2026
Theme URI:      n/a
Template:       kadence
Author:         Salt Collective
Author URI:     n/a
Description:    Child theme for BGCEC built on Kadence.
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* =========================================
   Constant Contact Form — Match Kadence dark inline style
   ========================================= */

.ctct-inline-form,
.ctct-form-container,
.ctct-form-embed {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.ctct-form-defaults {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Hide the form header, description, label, and GDPR text to match the minimal inline style */
.ctct-form-header,
.ctct-form-text,
.ctct-form-label,
#gdpr_text {
    display: none !important;
}

/* Inline layout: input + button side by side */
.ctct-form-custom {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
    column-gap: 13px !important;
    align-items: end !important;
    width: 100% !important;
    max-width: 418px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.ctct-form-field {
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
}

/* Email input */
.ctct-form-element {
    width: 100% !important;
    height: 52px !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgb(1, 128, 199) !important;
    border-radius: 0 !important;
    padding: 0 16px !important;
    font-size: 17px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.ctct-form-element::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.ctct-form-element:focus {
    border-color: rgb(1, 128, 199) !important;
}

/* Submit button */
.ctct-form-button {
    width: 100% !important;
    height: 52px !important;
    background: rgb(1, 128, 199) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 13px !important;
    font-size: 17px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.2s ease !important;
}

.ctct-form-button:hover,
.ctct-form-button:focus {
    background: #80bc01 !important;
}

/* Error messages span full width */
#error_message_0,
#network_error_message_0 {
    grid-column: 1 / -1 !important;
}

.ctct-form-footer {
    display: none !important;
}

/* Stack on mobile */
@media all and (max-width: 767px) {
    .ctct-form-custom {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.event-template-default .content-container.site-container {
    max-width: 100% !important;
    padding: 0 !important;
}

@media screen and (1030px <= width <= 1115px) {
    .main-navigation .primary-menu-container > ul li.menu-item > a {
        font-size: 15px;
    }

    #main-header .header-button {
        font-size: 15px;
    }

    .site-branding a.brand img {
        max-width: 225px;
    }
}
