.AgentProfileFull {
    box-sizing: border-box;
    display: unset;
}

.agentProfilesWrapper .AgentProfileCompact .photo {
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 25%;
    margin-bottom: 5px;
}


.AgentProfileFull .photo {
    box-sizing: border-box;
    height: 250px;
    width: 300px;
    overflow: hidden;
    margin-bottom: 5px;
    flex-grow: 0;
    flex-shrink: 0;
}

/****************Footer Section********************/
.footer{
    background:#252526;
    color:#fff;
    padding:50px 20px 20px;
    font-family:Arial, Helvetica, sans-serif;
}

.footer-container{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    flex-wrap:wrap;
}

.footer-section{
    flex:1;
    min-width:220px;
}

.footer-section h3{
    margin-bottom:18px;
    font-size:1.2rem;
    color:#ffffff;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#d9d9d9;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#ffffff;
    padding-left:4px;
}

.footer-center{
    text-align:center;
}

.footer-center p{
    margin:8px 0;
    color:#d0d0d0;
    line-height:1.6;
}

.footer-contact{
    margin-top:18px;
}

.footer-logo{
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
}

.footer-logo img{
    max-width:180px;
    width:100%;
    height:auto;
}

.footer-bottom{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    color:#bcbcbc;
    font-size:.9rem;
}

/* Mobile */
@media (max-width:768px){

    .footer-container{
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }

    .footer-links li{
        margin-bottom:12px;
    }

    .footer-links a:hover{
        padding-left:0;
    }
}


/****End section****/


/* =====================================================
   Home Page — Native Quick Search overlay on hero slider
   ===================================================== */

/* Pull the gadget up over the bottom of the slider */
#wpg391293 {
    position: relative;
    z-index: 20;
    margin-top: -80px;
    margin-bottom: 0;
}

/* Center and constrain the form */
#wpg391293 .QuickSearchWrap,
#wpg391293 .searchFormWrap,
#wpg391293 > div {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
}

/* Hide the Simple/Advanced/Map/MLS# tab bar — keep it clean like original */
#wpg391293 .searchFormTabs,
#wpg391293 .QuickSearchTabs,
#wpg391293 ul.tabs,
#wpg391293 .nav-tabs {
    display: none !important;
}

/* Pill-shaped frosted container */
#wpg391293 .QuickSearchForm,
#wpg391293 .searchForm,
#wpg391293 form {
    background: rgba(255,255,255,0.92);
    border-radius: 15px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.65);
    overflow: hidden;
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* Text input fills available space */
#wpg391293 input[type="text"],
#wpg391293 input[type="search"] {
    flex: 1 1 auto;
    padding: 15px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
    box-sizing: border-box;
    width: auto !important;
}

/* Submit button — rounded right side */
#wpg391293 input[type="submit"],
#wpg391293 button[type="submit"] {
    flex: 0 0 auto;
    padding: 15px 20px !important;
    margin: 0 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 15px 15px 0 !important;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Hide field labels inside the pill */
#wpg391293 .location label,
#wpg391293 .fieldTitle,
#wpg391293 .searchTitle {
    display: none !important;
}

/* =====================================================
   Responsive overrides for quick search overlay
   ===================================================== */

@media (min-width: 768px) {
    .AgentProfileFull {
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    #wpg391293 { margin-top: -120px; }
}

@media (min-width: 992px) {
    #wpg391293 { margin-top: -160px; }
}

@media (min-width: 1200px) {
    #wpg391293 { margin-top: -210px; }
}