/*
Theme Name: AFC Theme
Theme URI: https://example.com/afc-theme
Author: AFC
Description: A modern, Bootstrap-powered WordPress theme with ACF-ready homepage sections.
Requires at least: 6.0
Requires PHP: 7.4
Version: 1.7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afc-theme
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, accessibility-ready
*/

/*
 * Base + generic styles only.
 * Header / footer live in assets/css/header-footer.css (common file).
 * Homepage sections live in assets/css/front-page.css.
 */

body {
    color: var(--afc-ink);
    background: #fff;
    font-family: var(--afc-sans);
    background: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--afc-navy);
    font-family: var(--afc-sans);
    font-weight: 700;
}

a {
    color: var(--afc-teal);
}

.section-space {
    padding: 5rem 0;
}

.bg-cloud {
    background: var(--afc-cloud);
}

.feature-card {
    height: 100%;
    padding: 2rem;
    border-top: 4px solid var(--afc-teal);
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 42, 67, .08);
}

.feature-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.widget {
    margin-bottom: 1.5rem;
}

.widget-title {
    color: var(--afc-gold);
    font-size: 1rem;
}

.sidebar ul {
    padding-left: 1.1rem;
}

.entry-content>*+* {
    margin-top: 1rem;
}

div#wpforms-101-field_3-container {
    margin: 0;
}

#wpforms-form-472 .wpforms-field-large {
    background: #ffffff00;
    border: 1px solid #cfe2f180;
    color: #fff;
    font-size: 14px;
    background: #1a2c3f;
}

#wpforms-form-472 .wpforms-field-large::placeholder {
    color: #ffff;
    font-weight: 300;
    font-size: 14px;
    opacity: 1;
}

#wpforms-form-472 .wpforms-field-large:focus {
    border-color: #fff;
    opacity: 1;
}

div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
    height: calc(var(--wpforms-field-size-input-height) * 2.1) !important;
}

/* Message field fixed at 85px — quote popup and contact page forms */
div#afc-quote-popup div.wpforms-container-full .wpforms-form textarea,
.contact-form--shortcode div.wpforms-container-full .wpforms-form textarea {
    height: 85px !important;
    min-height: 85px !important;
    max-height: 85px !important;
    resize: none;
}

#wpforms-form-472 button#wpforms-submit-472 {
    width: 100%;
    background: #c0392b;
    transition: all 0.5s;
}

div#afc-quote-popup .wpforms-field {
    padding: 3px 0;
}

div#afc-quote-popup .modal-body {
    padding-top: 0;
}

form#wpforms-form-472 .wpforms-field {
    padding: 6px 0;
}

.wpforms-error {
    margin: 0 !important;
    font-size: 12px !important;
}

div#wpforms-472 {
    margin: 0;
}

#wpforms-form-472 textarea {
    height: 85px !important;
}