/*
 Theme Name:   Hoyt Hayes Theme
 Description:  Child Theme of Arrival, created for use on the Hoyt Hayes website
 Author:       Frontline Creative Studio
 Author URI:   https://www.frontlinecreativestudio.com/
 Template:     arrival
 Version:      2.0.3
*/


.site-header {
    padding-bottom: 0;
}

body {
    background: #fff;
}

body,
button,
input,
select,
optgroup,
textarea,
.main-navigation,
.site-title,
.site-footer,
.site-description,
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation,
.rssSummary,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

.main-navigation ul li>a,
.site-description,
.header-last-item .search-wrap i,
header .header-last-item .cart-wrapper a {
    color: #022144;
    font-size: 15px;
    font-weight: 500;
}

.me-heading h2.elementor-heading-title:before {
    content: "";
    width: 100px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fec110;
}

.me-heading h2.elementor-heading-title:after {
    content: "";
    width: 60px;
    height: 2px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #fec110;
}

input.wpcf7-form-control:not(.wpcf7-submit),
textarea.wpcf7-form-control.wpcf7-textarea {
    text-align: left;
}

/* refinements */
.header-last-item {
    margin-left: 25px;
}

.site-footer {
    font-size: 14px;
}

.site-footer .ftr-widget.footer-2 {
    padding: 0 20px 0 0;
}

.acf7-first-wrapp p {
    float: left;
    width: 50%;
}

input.wpcf7-form-control:not(.wpcf7-submit),
textarea.wpcf7-form-control.wpcf7-textarea {
    max-width: 100%;
}

.acf7-first-wrapp p {
    display: inline-block;
    width: 45%;
    margin-right: 2%;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 100px;
}

.site-footer p {
    font-size: 14px;
    font-weight: 400;
    line-height: 27px !important;
}


/**
 * Category page styles
 */


.category-breadcrumbs {
    padding: 1rem 0;
    max-width: max(450px, 80%);
    margin: auto;
}


.category-list {
    display: grid;
    grid-template-columns:  repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;

    padding: 1rem 0;
    max-width: max(450px, 80%);
    margin: auto;
    margin-top: 1em;
}


.child-category__img,  .category-list div.post-thumb img{
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}
.child-category__name {
    text-align: center;
    margin: auto;
}

.category-list div.post-thumb,
.category-list div.post-content-wrap {
    float: none;
    margin: 0;
    width: auto;
}

.category-list .entry-title {
    display: block;
    text-align: center;
}

.category-banner {
    background-image: url("/wp-content/uploads/2025/03/blueprints.png");
    background-position: center left;
    background-size: cover;

    position: relative;

    height: 300px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.category-banner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.80;
}

.category-banner__title {
    font-family: "Roboto", Sans-serif;
    font-size: 62px;
    font-weight: 900;
    text-transform: uppercase;
    width: 100%;
    max-width: max(450px, 80%);
    margin: auto;
    z-index: 1;
}

/**
 * Properties Page
 */


article.property {
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 14px -9px;
}
.category-list .post-content-wrap.property-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 1rem;
    margin: 1.7rem 0;
    justify-content: center;
    gap: 0.7rem;
}

.property-content .entry-title,
.property-content .property-address,
.property-content .property-acres {
    line-height: 1;
} 

.property-content .entry-title {
    margin: 0;
    text-align: left;
}
.property-acres {
    min-height: 1rem;
}

.property-content .property-download {
    display: inline;
    text-align: left;
    font-weight: 500;

    color: white;
    background-color: #8b2232;
    border: 2px solid #8b2232;
    padding: 0.2rem 0.4rem;
    width: fit-content;
}

.property-content .property-download:hover {
    background-color: white;
    color: #8b2232;
}

.contact-footer {
    background: linear-gradient(#5d09189f, #5d09189f), url("/wp-content/uploads/2025/03/blueprintstock.jpg");
    background-size: cover;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}


.contact-footer {
    padding: 50px 0;
}

.contact-footer > * {
    color: white;
    text-align: center;
    max-width: min(90%, 950px);

}
.contact-footer__header {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}
.contact-footer a.contact-footer__link {
    color: white;
    width: 350px;
    padding: 10px 0px;
    border: solid 3px white;
}

.contact-footer a.contact-footer__link:hover {
    color: #8b2232;
    background-color: white;
}


