/* site header */
.site-header .inside-header {
/*background-color: #131a1a;*/
}

/* Main Content */
.ranch-grid-container {
   background-color: var(--m4-light);
    padding: 20px 0px 80px;
}

.search-con {
width: 100%;
}

@media only screen and (max-width:768px) {
    .ranch-grid-container {
        padding: 40px;
    }
}

/* Hero Section */
.tab-search-hero {
height: 100%;
min-height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 80px;
    background-image: url(/wp-content/themes/m4_ranch_group/assets/images/Search-Properties-page-copy.jpeg);
}

.search-hero-content {
    z-index: 5;
}

.search-hero-content #search-title {
    color: var(--white) !important;
    margin-bottom: 0;
}


/* ajax */

.ajax-load-more-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}
.alm-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.alm-load-more-btn {
    background-color: transparent !important;
    color: var(--m4-bronze) !important;
    font-size: 18px !important;
    padding: 20px !important;
    height: 100% !important;
    border: 1px solid var(--m4-bronze) !important;
    box-shadow: unset !important;
    transition: all 0.2s ease !important;
}

.alm-load-more-btn:hover {
    background-color: var(--m4-bronze) !important;
    color: var(--white) !important;
}

.alm-btn-wrap {
    padding-top: 30px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width:1024px) and (min-width: 769px) {
.alm-listing {
    grid-template-columns: repeat(2, 1fr);
}
}

@media only screen and (max-width:768px) {
.alm-listing {
    grid-template-columns: 1fr;
}
}

.alm-btn-wrap:has(.alm-load-more-btn.done) {
display: none !important;
}

/* hero */

.hero-img {
    position: relative;
}

.category-hero {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 80px;
}

.bg-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(51,51,51,0.2);
    position: absolute;
    inset: 0;
}

.category-hero-content .hero-category-icons {
    margin-bottom: 30px;
    /* max-width: 75px; */
   filter: brightness(0) invert(100%);
}

#category-title {
    font-size: 96px;
    font-weight: 400;
    letter-spacing: 6px;
    font-family: 'Libre Baskerville',serif;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    color: var(--white);
}

.hero-category-desc, .hero-category-desc > * {
    color: var(--white) !important;
    font-size: 18px;
}

.category-hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 10px;
    font-size: 21px;
    line-height: 27px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px 40px 40px 40px;
    margin: 125px 40px 100px 40px;
}

@media only screen and (max-width: 768px) { 
    .category-hero-content {
        padding: 30px;
        margin: 125px 20px 100px 20px;
    }
}

.tab-hero-btn-con {
    display: flex;
    justify-content: center;
    row-gap: 20px;
    column-gap: 20px;
    flex-wrap: wrap;
}

.tab-ranch-info-con {
    background-color: var(--m4-light);
    position: relative;
}

/* New ranch content ACF containers */

/* -- Shared */
.tab-ranch-category-content {
    display: flex;
    flex-wrap: wrap;
    row-gap: 60px;
    column-gap: 60px;
    align-items: center;
    justify-content: center;
}

.tab-grid-item-100 {
    flex: 1;
}

@media only screen and (max-width: 1024px) {
    .tab-ranch-category-content {
        row-gap: 30px;
        column-gap: 30px;
    }

    .tab-grid-item-100, .tab-grid-item-30 {
        flex: 50% !important;
    }
}

@media only screen and (max-width: 768px) {
    .tab-grid-item-100, .tab-grid-item-30 {
        flex: 100% !important;
    }
}

.tab-con-border {
    border: 2px dotted var(--m4-bronze);
    padding: 30px
}

.tab-bronze-list {
    color: var(--m4-bronze);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-weight: 300;
    list-style-position: outside;
    margin: 0;
}

.tab-bronze-list li {
  display: flex;
}

.tab-bronze-list li::before {
  content: "■";
  width: 8px;
  flex-shrink: 0;
  color: var(--m4-bronze);
  margin-right: 20px;
}

.tab-photo-con {
    text-align: center;
}

/* -- Ranch Content B*/ 

#tab-ranch-content-awards {
    display: flex;
    flex-direction: row;
    row-gap: 10px;
    column-gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

#tab-ranch-content-awards > p {
    margin-bottom: 0;
    border-right: 1px dotted var(--m4-bronze);
    padding-right: 20px;
    font-size: 16px;
}

#tab-ranch-content-awards p:last-of-type {
    border-right: unset;
}

@media only screen and (max-width: 768px) {
    #tab-ranch-content-awards > p {
        border-right: unset;
        width: 100%;
        border-bottom: 1px dotted var(--m4-bronze);
        padding-bottom: 5px;
    }

    
}

/* -- Ranch Content C */ 
.tab-comparison-table {
    width: 100%;
    overflow-x: auto;
}

.tab-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #6b6b6b;
}

.tab-comparison-table th, .tab-comparison-table td {
    border: 1px dotted #bdbdbd;
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

.tab-comparison-table th {
    background: #e9e7e4;
    color: #444;
    font-weight: 700;
}

.tab-comparison-table td {
    background: #fff;
    font-weight: 400;
}

/* Optional: first column slightly darker */
.tab-comparison-table tbody td:first-child {
    color: #666;
    width: 32%;
}

/* Column widths */
.tab-comparison-table thead th:nth-child(2), .tab-comparison-table thead th:nth-child(3) {
    width: 34%;
}

/* -- Ranch Content F */

.tab-ranch-content-f .tab-bronze-list {
    margin: 0;
}

/* -- Ranch Content H */
.tab-ranch-content-h a {
    color: var(--m4-bronze);
}

/* -- Ranch Content I */
.tab-ranch-accordion-btn {
    background-color: var(--white);
    color: var(--m4-bronze);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    border: 1px solid var(--m4-bronze);
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-ranch-accordion-btn::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='%23806a39' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23806a39'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23806a39' fill-opacity='0.2'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' stroke='%23806a39'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    transform: rotate(-90deg);
    width: 20px;
    height: 20px;
}

.active.tab-ranch-accordion-btn::after {
    transform: rotate(0deg);
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23fff'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23fff' fill-opacity='0.2'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' stroke='%23fff'/%3E%3C/svg%3E");
}

.tab-ranch-accordion-btn:hover::after ,.tab-ranch-accordion-btn:focus::after {
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23fff'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' fill='%23fff' fill-opacity='0.2'/%3E%3Cpath d='M0.563477 0.5625C0.478875 0.647627 0.4789 0.786928 0.563477 0.87207L5.10059 5.4375C5.18348 5.52084 5.31652 5.52084 5.39941 5.4375L9.93652 0.872071C10.0211 0.786928 10.0211 0.647628 9.93652 0.5625C9.85364 0.479148 9.72059 0.479174 9.6377 0.5625L5.60449 4.62012L5.25 4.97754L4.89551 4.62012L0.862305 0.5625C0.779405 0.479174 0.646359 0.479147 0.563477 0.5625Z' stroke='%23fff'/%3E%3C/svg%3E");
}

.active, .tab-ranch-accordion-btn:hover, .tab-ranch-accordion-btn:focus {
    background-color: var(--m4-bronze);
    color: var(--white);
}

.tab-ranch-accordion-content {
    padding: 0 15px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    width: 100%;
}

.tab-ranch-accordion-content > P {
    margin-bottom: 0;
}

.active .tab-ranch-accordion-content {
    padding: 15px;
    border: 1px solid(--m4-bronze);
}


/* ranch search - state */

.ranch-state-con {
    background-color: var(--m4-bronze);
    color: var(--white);
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
    font-family: "Libre Baskerville",serif;
    font-size: 16px;
}

p.ranch-state {
    margin-bottom: 0;
}

/* newsletter */ 

.gform_fields {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.gform_title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--m4-bronze);
}

label.gfield_label.gform-field-label {
    display: none !important;
}

/*.ginput_container_email {
    height: 50px;
    width: 520px;
}*/

.ginput_container_email input {
    color: var(--black) !important;
    border: 2px solid #ddd;
}

.ginput_container_email input::placeholder {
    color: var(--black);
    opacity: 0.8;
}

.gform-button {
    background-color: var(--white) !important;
    font-size: 16px;
    padding: 15px 10px !important;
    width: 165px !important;
    text-transform: uppercase;
    line-height: normal;
    border: 1px solid var(--m4-bronze);
}

/* category desc */
.category-desc-container {
    margin: 0 auto;
    max-width: 980px;
    padding-top: 60px;
    padding-bottom: 12vh;
    color: var(--white);
    background-color: #131a1a;
}

.category-desc-container h1 {
    font-size: 60px;
    line-height: 60px;
    font-weight: 500;
    margin-bottom: 10px;
}

.category-desc-container h2 {
    text-align: center;
    font-size: 51px;
    line-height: 51px;
    font-weight: 500;
    margin-bottom: 10px;
}

.category-desc-container h4 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom: 10px;
}

.category-desc-container p {
    font-size: 18px;
    line-height: 27px;
}

.category-desc-container a {
    color: var(--m4-bronze);
}

 .et_pb_button {
    background-color: var(--m4-bronze);
    color: var(--white) !important;
    padding: 10px 15px;
    border: 2px solid var(--m4-bronze);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 27px;
}

.et_pb_button::after {
    content: "»";
    margin-left: 0px;
    opacity: 0;
    transition: 0.2s all ease-in-out;
    font-size: 20px;
}

.et_pb_button:hover.et_pb_button::after {
    margin-left: 10px;
    opacity: 1;
}

/* breadcrumbs */ 
#breadcrumbs {
    font-size: 15px;
    margin-bottom: 0;
    text-align: center;
    margin-top: 30px;
    color: var(--white);
}

#breadcrumbs a {
    color: var(--m4-bronze);
}

/* explore more */

.explore-more-con {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #B3BFC2;
    padding: 75px 0;
}

.explore-more-content {
    width: 90%;
    max-width: 1080px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    color: var(--black);
}

.explore-more-content .text-content {
    width: 70%;
    border-right: 3px solid var(--white);
    margin-right: 5%;
}

.explore-more-content h4 {
    font-size: 42px;
    line-height: 50px;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 500;
}

.explore-more-content p {
    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
    color: rgba(19,26,26,0.75);
    margin-bottom: 0;
}

.explore-more-content .explore-btn {
    width: 25%;
}

.explore-btn a {
    background-color: var(--m4-bronze);
    color: var(--white) !important;
    padding: 10px 15px;
    border: 2px solid var(--m4-bronze);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 27px;
}

/* testimonial */
.testimonials-wrapper {
padding-top: 80px;
background-color: var(--white);
}

.testimonials-section-title {
text-align: center;
 margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    max-width: var(--gb-container-width);
padding: 0 40px;
}


.category-testimonial-container {
    background-attachment: fixed;
}

/* mobile and tablet */ 

@media only screen and (max-width: 1024px) { 
    #category-title {
        font-size: 55px;
        line-height: 55px;
        letter-spacing: 4px;
    }

    .explore-more-content .text-content, .explore-more-content .explore-btn {
        width: 100%;
    }

    .explore-more-content h4 {
        font-size: 38px;
        line-height: 43px;
    }

    .explore-more-content .text-content {
        padding-bottom: 30px;
        border-right: unset;
        margin-right: 0;
    }

    .explore-more-content .text-content p {
        font-size: 16px;
    }

    .category-desc-container {
        width: 85%;
    }
}

@media only screen and (max-width: 768px) {
    #category-title {
        font-size: 35px;
        line-height: 35px;
        letter-spacing: 3px;
    }

    .category-hero-content {
        font-size: 16px;
    }

    .explore-more-content h4 {
        font-size: 32px;
        line-height: 38px;
    }
}

/* ranch archive */
.sold-frame-con {
	max-width: 1080px;
	margin-bottom: 40px;
}