/*
Theme Name: Site Specific
Author:
Description: website design
Version: 1.0
Template: twentytwentyfive
This is the child theme for Twenty Twenty-Five theme, generated with Generate Child Theme plugin by catchthemes.
(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/*---------------------------------------------------------
FORMS & BUTTONS
-------------------------------------------------------- */
.grecaptcha-badge {
    display: none !important;
}

/* Contact form wrapper - centered, responsive, single max-width */
.wpcf7 {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1em;
    box-sizing: border-box;
}

/* Text fields */
input[type="text"],
input[type="email"],
textarea {
    box-sizing: border-box;
    width: 100%;
    padding: .4em;
    margin-top: 0;
    margin-bottom: 20px;
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    color: #1e1e1e;
    font-size: 1.1rem;
    font-family: var(--wp--preset--font-family--outfit), 'Outfit', sans-serif;
    letter-spacing: 1px;
}

textarea {
    margin-top: 0;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease;
}

/* Placeholder text - darker, full opacity so it isn't washed out */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #1e1e1e;
    opacity: 0.35;
    letter-spacing: 1px;
}

/* Anchor each field's error tip to its own input. Placed above the input
   (bottom: 100%) instead of below, since there's no room to reserve below
   without stretching the form's normal, no-error spacing. No margin-bottom
   needed on the wrap anymore - the tip no longer needs space reserved
   under the field. */
.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}
.wpcf7-not-valid-tip {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0;
    color: #ff7171 !important;
    font-size: 0.7em;
    display: inline-block;
    padding: 0 6px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
	letter-spacing: .5px;
}
/* CF7 always renders this span, even with no error - hide it while empty
   so there's no stray dark box sitting under fields at rest */
.wpcf7-not-valid-tip:empty {
    display: none;
}

/* Response message - CF7 renders this last inside the form, after the
   submit button. Flexing the form and pulling this to order -1 puts it
   at the top, right under the heading, where it'll actually get seen. */
.wpcf7-form {
    display: flex;
    flex-direction: column;
}
div.wpcf7-response-output {
    order: -1;
    margin: 2em 0 1.3em !important;
    padding: 0.3em 1em !important;
    border: none !important;
    border-radius: 2px;
    color: #141414;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: #ff7171;
    letter-spacing: .5px;
}
.wpcf7 form.sent .wpcf7-response-output {
    	background-color: #dafdb9 !important;
}

/* Submit button - centered under the form.
   Its <p> inherited the 1.4em gap meant for the field above it, which
   pushed it too far down - zero that out and let the button set its own
   short margin instead. */
.wpcf7-form p:has(input[type="submit"]) {
    margin-top: 0;
}
.wpcf7 input[type="submit"] {
    display: flex;
    margin: 6px auto 0;
}

/* Buttons - fixed square box so border-radius makes a true circle */
form button,
button,
input[type="submit"],
a.more-link {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    color: #141414;
    font-size: 14px;
    font-family: var(--wp--preset--font-family--outfit), 'Outfit', sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 7px;
    transition: all 0.2s;
}

input[type="submit"]:active,
input[type="submit"]:focus {
    background-color: rgba(255, 255, 255, 0.8);
}

form button:active,
form button:focus,
button:active,
button:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
a:active,
a:focus {
    outline: none;
}

/* Form #466 cleanup
   CF7 inserts the embedding post's ID into this wrapper ID
   (wpcf7-f466-p{post_id}-o1), so a hardcoded #wpcf7-f466-o1 only matches
   if the form happens to sit on post ID-less output. Match on the prefix
   instead so this keeps working regardless of which post embeds the form. */
[id^="wpcf7-f466-"] br {
    display: none !important;
}
[id^="wpcf7-f466-"] p {
    margin-bottom: 0 !important;
}

.widget-title {
    display: none !important;
}

/*---------------------------------------------------------
RESPONSIVE (unrelated to the form - image/footer only)
-------------------------------------------------------- */
@media (max-width: 600px) {
    img.alignleft.wp-image-529.size-medium {
        display: none !important;
    }
    .wp-image-522 {
        width: 18% !important;
    }
    .site-footer *:not(select) {
        border-color: rgba(255, 255, 255, 0.6) !important;
    }
    .site-footer .site-info a {
        color: rgba(255, 255, 255, 0.8);
    }
    .site-footer .site-info .theme-name {
        display: block !important;
    }
}

@media (min-width: 601px) {
    .wp-image-522 {
        display: none;
    }
    .site-footer *:not(select) {
        border-color: rgba(190, 134, 38, 0.7) !important;
    }
}