/*
Theme Name: Twenty Twenty-Five Child for BPCNY
Theme URI: http://example.com/
Description: Child theme for Twenty Twenty-Five
Author: BPCNY
Author URI: https://www.bpcny.org/
Template: twentytwentyfive
Version: 1.0.0
*/

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.contact-form-submit-btn {
	    font-size: 1.10rem;
    text-decoration: none;
    text-transform: uppercase;
    background: #000;
    color: #FFF;
    padding: 1rem;
    border: 0;
}

@media only screen and (max-width: 600px) {
   .wp-block-cover__inner-container .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
  }
}


/* Form Container */
.cf7-card-form {
    max-width: 500px;
    margin: 10px auto;
    padding: 15px 25px;
    font-family: 'Arial', sans-serif;
}

/* Input fields, textarea, and select inside CF7 wrap */
.cf7-card-form .wpcf7-form-control-wrap input[type="text"],
.cf7-card-form .wpcf7-form-control-wrap input[type="email"],
.cf7-card-form .wpcf7-form-control-wrap input[type="tel"],
.cf7-card-form .wpcf7-form-control-wrap input[type="url"],
.cf7-card-form .wpcf7-form-control-wrap textarea,
.cf7-card-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s border-color, 0.3s box-shadow;
    box-sizing: border-box;
}

/* Focus effect */
.cf7-card-form .wpcf7-form-control-wrap input:focus,
.cf7-card-form .wpcf7-form-control-wrap textarea:focus,
.cf7-card-form .wpcf7-form-control-wrap select:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0,115,230,0.3);
    outline: none;
}

/* Submit button */
.cf7-card-form .wpcf7-form-control-wrap input[type="submit"],
.cf7-card-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s background-color, 0.3s transform;
}

/* Submit hover effect */
.cf7-card-form .wpcf7-form-control-wrap input[type="submit"]:hover,
.cf7-card-form input[type="submit"]:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .cf7-card-form {
        padding: 20px 15px;
    }
}


