/**
 * Breeding Consultation page
 * Loaded only on the "Breeding Consultation" page template.
 *
 * Brand: navy #004071 (headings), green #00A77E (primary action).
 */

.ga-breeding-consultation-page {
    padding: 40px 0 64px;
}

/* Constrain width + side margins to match the Cooperative Information page
   (div.ga-cooperative-page .ga-container in style.css). Needs the div + two
   classes to outrank the !important base .ga-container / div.ga-container rules. */
div.ga-breeding-consultation-page .ga-container {
    max-width: 1440px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    div.ga-breeding-consultation-page .ga-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.ga-breeding-consultation-page .ga-bc-header {
    margin-bottom: 28px;
}

.ga-breeding-consultation-page .ga-bc-title {
    color: #004071;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0;
}

/* Two-column: form left, image right */
.ga-bc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: start;
}

/* Intro question (author as a Heading block in the page body) */
.ga-bc-form-col h2,
.ga-bc-form-col h3 {
    color: #004071;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0 0 24px;
}

/* Privacy note — add CSS class "ga-bc-privacy" to the paragraph block,
   with a sensible fallback for the trailing paragraph. */
.ga-bc-privacy,
.ga-bc-form-col > p:last-child {
    color: #5b6770;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 24px;
}

/* Image column */
.ga-bc-image-col {
    position: sticky;
    top: 24px;
}

.ga-bc-image-col .ga-bc-image,
.ga-bc-image-col img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

/* ---------------------------------------------------------------------------
   Contact Form 7 field styling (scoped to this page)
   --------------------------------------------------------------------------- */

.ga-bc-form-col .wpcf7 {
    margin: 0;
}

.ga-bc-field {
    margin-bottom: 20px;
}

.ga-bc-field > label {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.ga-bc-field .req {
    color: #c0392b;
    margin-left: 2px;
}

.ga-bc-form-col input[type="text"],
.ga-bc-form-col input[type="email"],
.ga-bc-form-col input[type="tel"],
.ga-bc-form-col select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c7ced3;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.4;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ga-bc-form-col input[type="text"]:focus,
.ga-bc-form-col input[type="email"]:focus,
.ga-bc-form-col input[type="tel"]:focus,
.ga-bc-form-col select:focus {
    outline: none;
    border-color: #00A77E;
    box-shadow: 0 0 0 3px rgba(0, 167, 126, 0.18);
}

/* Multi-select groups (Breeds, Preferred contact method) */
.ga-bc-field .wpcf7-checkbox .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0 20px 0 0;
}

.ga-bc-field .wpcf7-checkbox .wpcf7-list-item-label {
    margin-left: 6px;
    font-weight: 400;
    color: #1a1a1a;
}

.ga-bc-field .wpcf7-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00A77E;
}

/* Submit button — match the standard GA green button (.ga-tab-content
   .wp-block-button__link). Must out-specify and !important-beat the global
   theme rule in contact-form-7.css (.wpcf7-form input[type="submit"] = white
   pill with dark border), which otherwise wins on specificity. */
.ga-bc-form-col .wpcf7-form input[type="submit"],
.ga-bc-form-col .wpcf7-form button[type="submit"],
.ga-bc-form-col .wpcf7-submit {
    display: inline-block;
    background-color: #00b386 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
    margin-top: 10px;
}

.ga-bc-form-col .wpcf7-form input[type="submit"]:hover,
.ga-bc-form-col .wpcf7-form button[type="submit"]:hover,
.ga-bc-form-col .wpcf7-submit:hover,
.ga-bc-form-col .wpcf7-form input[type="submit"]:focus-visible,
.ga-bc-form-col .wpcf7-form button[type="submit"]:focus-visible,
.ga-bc-form-col .wpcf7-submit:focus-visible {
    background-color: #009b75 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

.ga-bc-form-col .wpcf7-spinner {
    margin: 0 0 0 12px;
}

/* CF7 validation / response messaging */
.ga-bc-form-col .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 6px;
}

.ga-bc-form-col .wpcf7-response-output {
    border-radius: 8px;
    margin: 16px 0 0;
    padding: 12px 16px;
}

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 880px) {
    .ga-bc-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Image above the form on narrow screens */
    .ga-bc-image-col {
        order: -1;
        position: static;
    }
}
