body{
	color: inherit !important;
}
.professional-standard-item{
    display: flex;
    justify-content: center;
    flex-direction: column;	
}

.nav-link-container{
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link-container a{
    text-decoration: none;
}

.nav-link-container a:hover{
    color: #6b207d !important;
}

a {
    color: var(--chestertons-purple);
    text-decoration: none !important;
}

img {
    width: 100%;
}

.buy-buyre-advisor .wp-block-column {
    position: relative;
    margin-top: 35px;
}

.buy-buyre-advisor .wp-block-group.count {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: #6B207D;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-buyre-advisor .wp-block-group.count p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
}



#overview, 
#buyer-advisor, 
#buying-process, 
#beyond-the-listing, 
#global-reach,
#professional-standards,
#contact {
    scroll-margin-top: 70px;
}


.why-buy-companies-container-column{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




.about-hero {
    padding: 0 !important;
}

.about-local-experties > .wp-block-column {
    position: relative;
}

.about-local-experties > .wp-block-column figure {
    height: 100%;
    width: 100%;
}

.about-local-experties > .wp-block-column figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.about-local-experties {
    position: relative;
    align-items: center !important;
}

.about-local-experties .about-local-experties-info{
    height: fit-content;
}

.about-local-experties figure{
    position: relative;

}



.about-local-experties .about-local-experties-image-info{
    position: absolute;
    z-index: 2;
    left: 30px;
    bottom: 35px;
}

.final-expert-cta-row{
    align-items: center !important;
    justify-content: space-between;
}

.final-expert-cta-row .expert-image{
    width: 80px;
    height: 80px;
}

/* 2nd column image container */
.wp-block-columns > .wp-block-column:nth-child(2) .wp-block-group.is-layout-constrained {
    margin-top: -10px !important;
}

/* 3rd column image container */
.wp-block-columns > .wp-block-column:nth-child(3) .wp-block-group.is-layout-constrained {
    margin-top: -4px !important;
}


  .why-by-process-row ul{
        padding-left: 40px;
}


@media (max-width: 1024px){
  .buy-buyre-advisor .wp-block-columns {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important; /* Adjusts the spacing between the cards */
    }

    .buy-buyre-advisor .wp-block-column {
        flex: 0 0 calc(33.333% - 14px) !important; /* 3 per row factoring in the gap */
        max-width: calc(33.333% - 14px) !important;
        margin-top: 35px !important;
    }
}






@media (max-width: 767px){
	    .nav-links-button-container {
        justify-content: flex-start !important; 
        overflow-x: scroll !important; 
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
        max-width: 100% !important;
        padding-bottom: 8px;
    }

    .nav-links-button-container::-webkit-scrollbar {
        display: block !important;
        height: 5px;
    }

    .nav-links-button-container::-webkit-scrollbar-thumb {
        background-color: #cccccc;
        border-radius: 10px;
    }

    .nav-links-button-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-links-button-container .wp-block-button {
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    .nav-links-button-container .wp-block-button__link {
        white-space: nowrap !important;
    }
	
.final-expert-cta-row {
	gap: 40px !important;
}
	
	
	.section-seprator{
		margin-top: 40px !important;
		margin-bottom: 40px !important;
	}
	
	.about-local-experties{
		margin-top: 40px !important;
	}

    .why-by-process-row{
        justify-content: center;
        flex-direction: column;
        gap: 20px;
}


.rics-image img{
    width: 130px;
    text-align: center;
}





 .buy-buyre-advisor .wp-block-columns {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important; /* Adjusts the spacing between the cards */
    }

    .buy-buyre-advisor .wp-block-column {
        flex: 0 0 calc(49% - 14px) !important; /* 3 per row factoring in the gap */
        max-width: calc(49% - 14px) !important;
        margin-top: 35px !important;
    }

    	.why-buy-hero{
		min-height: auto !important;
		padding: 100px 0 !important;
	}
	
}

@media (max-width: 630px) {
       .why-buy-hero-notes {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
	  .why-buy-hero-notes > .wp-block-group {
        flex-wrap: wrap;
    }
	
	.why-buy-hero-notes > .wp-block-group p{
		        border: none;
        padding: 0 !important;
        margin: 0;
        text-align: start;
        position: relative;
        padding-bottom: 10px !important;
	}
	
.why-buy-hero-notes > .wp-block-group p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 1px;
        background-color: #abb8c3;
        border-radius: 2px;
    }
	
	.why-buy-hero-para-1{
		  font-size: 17px !important;
      margin-top: 10px;
      line-height: normal !important;
	}
	.why-buy-hero-para-2{
				        font-size: 14px !important;
        margin-top: 15px;
	}
}

@media (max-width: 500px) {
     .buy-buyre-advisor .wp-block-columns {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important; /* Adjusts the spacing between the cards */
    }

    .buy-buyre-advisor .wp-block-column {
        flex: 0 0 calc(100% - 14px) !important; /* 3 per row factoring in the gap */
        max-width: calc(100% - 14px) !important;
        margin-top: 35px !important;
    }
}


@media (max-width: 400px) {
    .expert-buttons-container {
        flex-direction: column;
    }
} /* Added missing closing bracket here */


/* ================================== */


.why-buy-companies-container .wp-block-columns.text-small {
    display: flex !important;
    align-items: stretch !important;
}

.why-buy-companies-container .wp-block-columns.text-small > .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
}

.why-buy-companies-container .company-logo-row {
    display: grid !important;
    grid-template-rows: 30px 1fr !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 0;
}


.why-buy-companies-container .text-small > .wp-block-column:nth-child(3) .company-logo-row img {
    margin-top: -10px;
    position: relative;
    top: -7px;
}
.why-buy-companies-container .company-logo-row .wp-block-group.is-layout-constrained {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.why-buy-companies-container .company-logo-row img {
    height: auto !important;
    max-height: 45px !important; 
    display: block !important;
    margin: 0 auto !important;
}

.why-buy-companies-container .company-logo-row p.wp-block-paragraph {
    margin: 0 !important;
    align-self: start !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}


.why-buy-companies-container .purple-heading img,
.why-buy-companies-container .company-logo-row img {
    transition: transform 0.3s ease-in-out !important;
}

.why-buy-companies-container .purple-heading .wp-block-column:hover img {
    transform: translateY(-3px) !important;
}

/* 3. Bottom Cards Hover: Triggers when user hovers anywhere inside a bottom column box */
.why-buy-companies-container .text-small > .wp-block-column:hover .company-logo-row img {
    transform: translateY(-3px) !important;
}