/*!
Theme Name: JW Heavrin Theme
Theme URI: JW Heavrin
Author: Underscores.me
Author URI: JW Heavrin
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jw-heavrin-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


.search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 450px;
}

.search-form label {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.search-form .search-field {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form .search-field:focus {
    border-color: #222;
}

.search-form .search-submit {
    height: 48px;
    padding: 0 24px;
    border: 1px solid #222;
    border-radius: 0;
    background: #222;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form .search-submit:hover {
    background: #444;
    border-color: #444;
}

.search-form .search-field::placeholder {
    color: #999;
}


.pagination-wrapper {
    width: 100%;
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination-wrapper .navigation.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
}

.pagination-wrapper .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #222;
    background: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pagination-wrapper a.page-numbers:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.pagination-wrapper .page-numbers.current {
    background: #222;
    color: #fff;
    border-color: #222;
    font-weight: 600;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    padding: 0 16px;
}

.pagination-wrapper .screen-reader-text {
    display: none;
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin: 25px 0;
    }

    .pagination-wrapper .nav-links {
        gap: 5px;
    }

    .pagination-wrapper .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 13px;
    }
}


 body:not(.home) {
    section.hero {
        min-height: inherit;
        max-height: 460px;
    }
}
.search-no-results .gallery {
    padding-bottom: 80px;
    h2 {
        margin-bottom: 15px;
    }
}
section.gallery {

}
.hero-content .location {
    color: #fff; margin-top: 10px;
}
.load-more-btn {
	cursor: pointer; text-transform : uppercase
}
.load-more-wrapper{
	text-align: center; margin-top : 50px
}
.alignleft  {
	float : left; margin : 0 25px 25px 0
}
.alignright  {
	float : right; margin : 0 0 25px 25px
}
.page-content{
	clear: both;
    overflow: auto;
}
.page-content h2 {
	margin-bottom : 15px
}
@media (max-width: 767px) {
    body:not(.home) {
        section.hero {
            min-height: inherit;
            max-height: 360px;
        }
    }
}



@media (max-width: 480px) {
    .search-form {
        gap: 8px;
    }

    .search-form .search-submit {
        padding: 0 16px;
    }
}

.project-card {
    aspect-ratio: 4 / 3;
    max-height: 600px;
}


/* ==========================================
   JW HEAVRIN - NINJA FORMS STYLING
========================================== */

#nf-form-2-cont {
    width: 100%;
    font-family: inherit;
    color: #172c3b;
}

#nf-form-2-cont .nf-form-fields-required {
    font-size: 14px;
    color: #647482;
    margin-bottom: 25px;
}

#nf-form-2-cont .nf-form-fields-required .ninja-forms-req-symbol,
#nf-form-2-cont .nf-field-label .ninja-forms-req-symbol {
    color: #e87524;
}

/* Form Layout */
#nf-form-2-cont .nf-fields-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 20px;
}

/* Individual Fields */
#nf-form-2-cont nf-field {
    display: block;
    width: 100%;
    min-width: 0;
}

#nf-form-2-cont nf-field:nth-child(9),
#nf-form-2-cont nf-field:nth-child(10) {
    grid-column: 1 / -1;
}

/* Labels */
#nf-form-2-cont .nf-field-label {
    margin-bottom: 9px;
}

#nf-form-2-cont .nf-field-label label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #172c3b;
    letter-spacing: 0.1px;
}

/* Input Fields */
#nf-form-2-cont .nf-field-element input:not([type="submit"]),
#nf-form-2-cont .nf-field-element textarea {
    width: 100%;
    height: 54px;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid #d5dce1;
    border-radius: 3px;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    color: #172c3b;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

#nf-form-2-cont .nf-field-element textarea {
    height: 145px;
    min-height: 145px;
    resize: vertical;
}

/* Placeholder */
#nf-form-2-cont input::placeholder,
#nf-form-2-cont textarea::placeholder {
    color: #8996a0;
    opacity: 1;
}

/* Focus */
#nf-form-2-cont .nf-field-element input:focus,
#nf-form-2-cont .nf-field-element textarea:focus {
    border-color: #e87524;
    box-shadow: 0 0 0 3px rgba(232, 117, 36, 0.10);
}

/* Submit Button */
#nf-form-2-cont .submit-container {
    margin-top: 5px;
}

#nf-form-2-cont input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 14px 30px;
    background: #e87524;
    border: 2px solid #e87524;
    border-radius: 3px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
	
	font-size: 14px;
    font-weight: 700;
    background: var(--c-gold);
    color: var(--c-dark);
    padding: 10px 20px;
    border: 1px solid var(--c-gold);
    transition: all .3s;
}

#nf-form-2-cont input[type="submit"]:hover {
    background: #172c3b;
    border-color: #172c3b;
    color: #ffffff;
}

/* Validation Errors */
#nf-form-2-cont .nf-error-msg,
#nf-form-2-cont .nf-error p {
    color: #c0392b;
    font-size: 13px;
    margin-top: 5px;
}

#nf-form-2-cont .nf-field-element input.nf-error,
#nf-form-2-cont .nf-field-element textarea.nf-error {
    border-color: #c0392b;
}

/* Response Message */
#nf-form-2-cont .nf-response-msg {
    margin-bottom: 20px;
    color: #172c3b;
    font-size: 15px;
}

/* Honeypot */
#nf-form-2-cont .nf-form-hp {
    display: none;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

    #nf-form-2-cont .nf-fields-wrap {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    #nf-form-2-cont nf-field {
        grid-column: 1 / -1;
    }

    #nf-form-2-cont .nf-field-element input:not([type="submit"]) {
        height: 50px;
    }

    #nf-form-2-cont .nf-field-element textarea {
        min-height: 125px;
    }

    #nf-form-2-cont input[type="submit"] {
        width: 100%;
    }
}