/* Home Page */
/* form.connect__form {
    z-index: 99;
}
button.connect__submit {
    z-index: 0;
}
.pac-container{
	z-index: 99999 !important;
}
.pac-item {
    z-index: 99999 !important;
}
.pagination__control {
    cursor: pointer;
}
.pagination__disable {
    pointer-events: none;
} */

/* public notification page */

.tabs-listing-section ul {
	list-style: none;
	display: flex;
	justify-content: center;
	margin-bottom: 0;
}

.tabs-listing-section ul li a {
	list-style: none;
	display: flex;
	padding-bottom: 20px;
}

span.deleteCurrentPhoneItem img,
span.deleteCurrentEmail img {
	width: 15px;
	cursor: pointer;
}

.scoreBoard {
	padding-top: 40px;
}

/* Public Account Page*/
.main-listing-content > .row {
	justify-content: center;
}

.profile-avtar {
	border: 4px dashed #c2c2c2;
	border-radius: 15px;
	position: relative;
}

.profile-name-style {
	text-align: center;
	padding: 30px 0 20px;
}

.file-upload-input {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	outline: none;
	opacity: 0;
	cursor: pointer;
}

.profile-name-style h2 {
	font-size: 24px;
	color: #4f536c;
}

.file-upload-content {
	position: absolute;
	width: 100%;
	text-align: center;
}

.image-upload-wrap {
	border-radius: 50%;
	width: 100%;
	height: 200px !important;
}

.file-upload {
	background-color: #ffffff;
	width: 600px;
	margin: 0 auto;
	padding: 20px 20px 0;
}

.file-upload {
	width: 100% !important;
	bottom: 2em;
	opacity: 0;
	right: 0;
	top: 0;
	position: relative;
}

.file-upload-image {
	clip-path: circle(100px at center);
	padding: 0 !important;
}

.file-upload-image {
	max-height: 200px;
	max-width: 200px;
	margin: auto;
	padding: 20px;
}

.image-upload-wrap {
	border-radius: 50%;
	width: 100%;
	height: 200px !important;
}

.image-style {
	text-align: center;
	padding: 15px;
}

.image-style strong {
	color: #3f90d3;
	text-decoration: underline;
	font-weight: 700 !important;
}

.image-style span strong {
	font-weight: 700 !important;
	text-decoration: none;
	color: #131a25;
}

.image-style p {
	font-size: 11px;
	color: #131a25;
}

#public-profile form .acf-fields .acf-field {
	margin: 25px 0 25px;
	display: flex;
	align-items: center;
}

#public-profile form .acf-fields .acf-field input {
	font-size: 16px;
	padding: 9px 20px;
	border-radius: 5px;
	color: #4f536c;
}

#public-profile form .acf-fields .acf-field textarea,
#public-profile form .acf-fields .acf-field .select2,
#public-profile form .acf-fields .acf-field input,
#public-profile form .acf-fields .acf-field select {
	display: inline-block;
	width: 100%;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 3px;
	border: #ced2dc 1px solid;
	height: auto;
	line-height: 20px;
}

#public-profile form .acf-fields .acf-field.acf-field.acf-field-textarea.acf-field-5e4697fa47506 {
	align-items: flex-start;
}

#public-profile form .acf-fields .acf-field .acf-label label {
	font-size: 16px;
	color: #131a25;
	margin-bottom: 0;
	font-weight: 600;
}

#public-profile .acf-field-5cd9bdcee0630,
#public-profile .acf-field-5cd9be0de0632 {
	width: 60% !important;
}

#public-profile .acf-field-5d15f32985bf8,
#public-profile .acf-field-5d144cf80c955 {
	width: 40% !important;
	justify-content: flex-end;
}

#public-profile .acf-field-message .acf-label label {
	font-size: 20px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
}

#profile-fields form .acf-fields .acf-field[data-type="between"] input {
	width: 47%;
}

#public-profile form .acf-fields .acf-field.collapse::before,
#public-profile form .acf-fields .acf-field.collapse::after {
	display: none;
}

.top-space {
	padding-top: 40px;
}

input#check-listing-type-1:checked:after {
	/* background: aliceblue; */
	width: 20px;
	height: 20px;
	border-radius: 40px;
	top: -4px;
	left: 0px;
	position: relative;
	background-color: #3579be;
	content: "";
	display: inline-block;
	visibility: visible;
	border: 2px solid #fff;
	box-shadow: 0 0 0pt 1pt #ced2dc;
}

input#check-listing-type-1:after {
	width: 20px;
	height: 20px;
	border-radius: 40px;
	top: -4px;
	left: 0px;
	position: relative;
	background-color: #fff;
	content: "";
	display: inline-block;
	visibility: visible;
	/* border: 2px solid #ced2dc; */
	border: 1.5px solid #ced2dc;
}

.checktext {
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px 0px 20px;
}

.contain {
	padding: 50px 130px 25px 130px;
}

.fields-style {
	padding: 0px 130px 20px 130px;
}

.w-2 {
	width: 200px;
}

.w-1 {
	width: 100px;
}

.btns {
	border: 2px solid #e8e9ee;
	border-radius: 5px;
	padding: 10px 20px 10px 20px;
	text-align: center;
}

.filter__item.dropdown {
	cursor: pointer;
}

/*     header-top        */
.first-log {
	display: -webkit-inline-box;
	padding: 10px 13px 10px 13px;
	font-size: 25px;
	border-radius: 50px;
	background-color: padding-box;
	background-color: #4f536c;
	color: #fff;
	margin-right: 5px;
	font-weight: 500;
}

.main-nav__buttons.navs {
	padding-bottom: 5px;
}

.nav-bar {
	position: absolute;
	background: #fff;
	top: 85px;
	right: 20px;
	padding: 10px 30px 10px 30px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	-webkit-box-shadow: 0 0 5px rgba(79, 83, 108, 0.2);
	box-shadow: 0 0 5px rgba(79, 83, 108, 0.2);
	top: 60px;
	top: 47px;
	/* width: 240px; */
}

span.user-icon:after {
	top: 13px !important;
	cursor: pointer;
	content: "\f107";
	position: absolute;
	top: 36px;
	color: #131a25;
	right: 30px;
	font-size: 18px;
	font-family: "FontAwesome";
}

/*
span.select2.select2-container.select2-container--default { // select2
  display: none;
}
*/

a.b-800.search-r.c-text.heee {
	font-size: 25px;
	font-weight: 900;
	text-transform: uppercase;
}

.listing-count label {
	font-size: 14px;
	font-weight: 800;
}

.bold.f-12 {
	font-size: 12px;
	font-weight: 800;
}

.eq-space {
	padding: 80px 0px 50px 0px;
}

span.bold.f-14 {
	font-size: 14px;
	font-weight: 900;
}

.select2-hidden-accessible {
	font-size: 16px;
	border: 1px solid #ced2dc;
	padding: 0 8px;
	border-radius: 5px;
	font-weight: 700;
	padding: 5px 10px;
}

.dis-flex-justify {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pinkRound {
	width: 60px;
	height: 60px;
	background: #ff1d4d !important;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px !important;
}

.saved-search-list .listing-list .row:last-child {
	padding: 20px 4px 20px 4px;
}

.m-20 {
	margin-top: 20px !important;
}

a.small img {
	width: 10% !important;
}

/*
.edit-o a {
  color: #4f536c;
  font-weight: 600;
  font-size: 18px;
}


.edit-o {
  background: transparent !important;
  width: 190px;
  border-radius: 3px;
  height: 50px;
  color: #4f536c;
  font-weight: 600;
  font-size: 18px;
  padding-top: 10px;
  text-align: center;
}

.view-listing {
  background: transparent !important;
  width: 190px;
  border-radius: 3px;
  height: 50px;
  color: #4f536c;
  font-weight: 600;
  font-size: 18px;
  padding-top: 10px;
  text-align: center;
}

.arch-o {
  background: transparent !important;
  width: 190px;
  border-radius: 3px;
  height: 50px;
  color: #4f536c;
  font-weight: 600;
  font-size: 18px;
  padding-top: 10px;
  text-align: center;
}
*/

.page-id-83588 .p-5 {
	padding: 10px !important;
}

li.disabled {
	pointer-events: none;
	background: #f5f5f5;
}

.label-text {
	color: #343a4c;
	font-weight: 700;
}

/* model */
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
	background-color: #fff;
	transition: opacity 0.15s linear;
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

button.close.search-close-pt.cursor-pt {
	top: 10%;
	right: 2%;
	position: absolute;
}

/*dasboard page */

.dash-txt {
	font-size: 20px;
	color: #131a25;
	font-weight: 800;
}

.icon {
	cursor: pointer;
}

.edit-icon:after {
	font-family: "Font Awesome 5 Free";
	content: "\f078";
	/* padding-top: 30px; */
	position: relative;
	left: 5px;
	top: 1px;
}

.switch-style {
	padding: 0;
	font-size: 16px;
	float: right;
	position: relative;
	display: inline-block;
	width: 54px;
	height: 26px;
}

.check {
	position: absolute;
	right: 9000px;
}

.slider-round {
	border-radius: 34px;
	border: 0;
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #4f536c;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.slider-round:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4.1px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 50%;
}

li.bold.small {
	list-style: none;
	border-bottom: 1px solid #eff0f8;
	padding-bottom: 10px;
}

/*
.float-right {
  margin: 5px 0;
  width: 37px;
  height: 24px;
  font-size: 12px;
  justify-content: center;
  justify-items: center;
  border-radius: 50px;
}
*/

.p-30 {
	padding-bottom: 30px;
}

a#dashboard-icon-edit:before {
	/* content: "\e91b"; */
	font-family: "Font Awesome 5 Free";
	content: "\f304";
	/* padding-top: 30px; */
	position: relative;
	left: 5px;
	font-size: 20px;
	top: 1px;
}

/*
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4f536c;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
*/

input:checked + .slider {
	background-color: #8cc540;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.f-15 {
	font-size: 15px;
}

/*
.box-want{
   display: block;
    background: #8cc63f;
    height: 23px;
    width: 23px;
    line-height: 23px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    border-radius: 3px;
    float: right;
    position: relative;
    top: -19px;
}
*/

.check-top {
	padding: 30px 0px 30px 0px;
}

/*.tabs-listing-section {*/
/* overflow: hidden; */
/*    background-color: #333;*/
/*    position: fixed;*/
/*    top: 0;*/
/* bottom: 0; */
/*    width: 100%;*/
/*    z-index: 99999;*/
/*}*/

/*
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
*/


/*
#myHeader,
#myMainHeader,
#myNavBar {
	z-index: 999;
	background-color: #fff;
}
*/


/*
.sticky + .listing {
	padding-top: 102px;
}
*/


/*
.page-id-83634 img{
    width:5%;
}
*/

/*
.page-id-83634 .icon:after {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  content: "\f078";
  padding-top: 30px;
  position: relative;
  left: 5px;
  top: 1px;
}
*/

.page-id-83634 li.bold.small {
	padding-top: 10px;
}

.page-id-83634 .progress {
	margin: 10px;
}

.page-id-83634 .progress {
	position: relative;
	right: 0;
	top: 35px;
	-ms-transform: rotate(45deg);
	-ms-transform-origin: 20% 40%;
	/* transform: rotate(-90deg); */
	transform-origin: 50% 61%;
	/* width: 25%; */
}

.bar-spce {
	padding-bottom: 62px;
}

.listitem1 .bar.scroll-pop {
	width: 10px;
}

.listitem2 .bar.scroll-pop {
	width: 15px;
}

.listitem3 .bar.scroll-pop {
	width: 20px;
}

.listitem4 .bar.scroll-pop {
	width: 25px;
}

.listitem5 .bar.scroll-pop {
	width: 30px;
}

.listitem6 .bar.scroll-pop {
	width: 33px;
}

.listing-details__wishlist svg {
	cursor: pointer;
}

/*.hide-remarks{
    height: 84px;
}*/

.market-check {
	z-index: 99;
}

.market-check label.radio-inline {
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.market-check .label {
	margin-left: 12px;
}

/*.watchlist-row::before {
    content: "}";
    position: absolute;
    left: -20px;
    background: #fff;
    padding: 5px 10px;
    top: 2px;
}*/

.watchlist-row {
	margin-bottom: 20px;
	position: relative;
	z-index: 888;
}

.sub-nav__container a.save-search__login {
	pointer-events: all;
}

.login-error {
	color: red;
}

#public-login__modal .save-search__heading {
	color: #000;
}

/*
.price-filter__separator {
  margin-right: 10px;
}
*/

/*
.price-filter__wrapper input:last-child {
	margin-right: 0 !important;
}
*/

/*
.filter__container #price-filter-min,
.filter__container #price-filter-max {
  width: 140px;
}
*/

.price-range__wrapper {
	margin-top: 30px;
}

.price-range-text {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}
.hdpi.pac-logo:after,
.pac-logo:after {
	display: none !important;
}
#show-tog .dashboard__intro {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 0;
}
#show-tog .dash-txt {
	margin-bottom: 0px;
}

.listing__status svg {
	position: absolute;
	width: 40px;
	height: 40px;
	right: -10px;
	top: -10px;
}

/* ============================================================
   NLS AGENT PAGE OVERRIDES
   Design system: primary #ff1d4f | ink #1a1a2e | ink-soft #4f536c
   surface #fff | bg #f8f9fb | border #e5e7eb
   Font: Open Sans | border-radius: 0 | no rounded corners
   ============================================================ */

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Header / Profile Hero
   ---------------------------------------------------------- */

/* Tighten up hero background, remove excessive padding */
.agent-profile,
.agent-profile--properties {
    background: #1a1a2e !important;
    padding: 40px 0 0 0 !important;
    border-radius: 0 !important;
}

/* Override the massive padding-bottom that creates whitespace */
.agent-profile__container,
.agent-profile__container--properties,
.agent-profile__container--members {
    padding-bottom: 60px !important;
    row-gap: 24px !important;
    column-gap: 32px !important;
    border-radius: 0 !important;
}

/* Avatar: circular 120px, clean border */
.agent-profile__image {
    width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    max-height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid #ff1d4f;
    display: block;
}

.agent-profile__image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* State tag — sharp corners per design system */
.agent-profile__state-tags__label {
    border-radius: 0 !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    font-size: 12px !important;
    line-height: 28px !important;
    padding: 0 12px;
    margin-bottom: 12px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
}

.agent-profile__state-tags {
    margin-bottom: 12px !important;
    font-size: 12px !important;
}

/* Agent name */
.agent-profile__name {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Agency name */
.agent-profile__agency {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.65) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Reviews / rating row */
.agent-profile__rating {
    margin-bottom: 10px !important;
}

.agent-profile__reviews {
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

/* Bio text */
.agent-profile__bio {
    grid-column: 1 / span 2 !important;
}

.agent-profile__bio p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 22px !important;
    color: rgba(255,255,255,0.7) !important;
}

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Contact Section styled as buttons
   ---------------------------------------------------------- */

.agent-profile__contact {
    align-items: flex-start !important;
}

.agent-profile__contact__list {
    padding: 0 !important;
}

.agent-profile__contact__icon {
    margin: 0 0 10px 0 !important;
    align-items: center;
}

/* Phone / email / website styled as button-links */
.agent-profile__contact__icon.icon.mobile.large a.contact__label,
.agent-profile__contact__icon.icon.phone.large a.contact__label,
.agent-profile__contact__icon.icon.email a.contact__label {
    display: inline-flex !important;
    align-items: center;
    background: #ff1d4f !important;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 0 !important;
    text-decoration: none;
    transition: background 0.2s ease;
    letter-spacing: 0.02em;
}

.agent-profile__contact__icon.icon.mobile.large a.contact__label:hover,
.agent-profile__contact__icon.icon.phone.large a.contact__label:hover,
.agent-profile__contact__icon.icon.email a.contact__label:hover {
    background: #cc1740 !important;
    color: #fff !important;
}

/* Member since / license / last-seen — muted text style */
.agent-profile__contact__icon.member .contact__label,
.agent-profile__contact__icon.license .contact__label,
.agent-profile__contact__icon.last-seen .contact__label {
    font-size: 12px !important;
    color: rgba(255,255,255,0.55) !important;
    font-weight: 400 !important;
}

.agent-profile__contact__icon .contact__icon--center {
    margin-right: 10px !important;
    width: 22px !important;
}

.agent-profile__contact__icon .contact__icon--center img,
.agent-profile__contact__icon .contact__icon--center svg {
    height: 18px !important;
}

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Tabs / Stats bar
   ---------------------------------------------------------- */

.agent .agent__tabs {
    margin: 0 0 0 0 !important;
    border-top: 4px solid #ff1d4f;
    box-shadow: 0 2px 8px rgba(26,26,46,0.08);
}

.agent .agent__tabs .agent__tab {
    background: #f8f9fb !important;
    color: #1a1a2e !important;
    border-radius: 0 !important;
    border-right: 1px solid #e5e7eb;
    padding: 20px;
    transition: background 0.2s ease;
}

.agent .agent__tabs .agent__tab:last-child {
    border-right: none;
}

.agent .agent__tabs .agent__tab--active {
    background: #fff !important;
    color: #1a1a2e !important;
    border-top: 3px solid #ff1d4f;
}

.agent .agent__tabs .agent__tab--active .tab__count {
    background: #ff1d4f !important;
    color: #fff !important;
}

.agent .agent__tabs .agent__tab--active::after {
    border-color: #ff1d4f transparent transparent transparent !important;
}

.agent .agent__tabs .tab__title {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px !important;
    color: #1a1a2e;
}

.agent .agent__tabs .tab__count {
    background: #e5e7eb !important;
    color: #1a1a2e !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
}

.agent .agent__tabs .agent__tab:hover:not(.agent__tab--active) {
    background-color: #fff !important;
}

.agent .agent__tabs .agent__tab:hover:not(.agent__tab--active) .tab__count {
    background-color: #ff1d4f !important;
    color: #fff !important;
}

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Listings as 3-column card grid
   ---------------------------------------------------------- */

.agent-listing.container {
    background: #f8f9fb;
    padding-top: 24px !important;
    padding-bottom: 40px !important;
}

/* Convert horizontal list to 3-column card grid */
.agent-listing > .row > .col-md-12 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
}

.agent-listing__item {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template-areas: none !important;
    grid-gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(26,26,46,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    align-items: stretch !important;
}

.agent-listing__item:first-child {
    margin: 0 !important;
}

.agent-listing__item:hover {
    box-shadow: 0 4px 16px rgba(26,26,46,0.12);
    transform: translateY(-2px);
}

/* Listing thumbnail — full width, fixed height */
.agent-listing__thumbnail {
    width: 100% !important;
    height: 180px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 0 !important;
    position: relative;
    flex-shrink: 0;
}

/* Information section */
.agent-listing__information {
    padding: 16px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.agent-listing__title {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #1a1a2e !important;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase;
}

.agent-listing__layout--horizontal {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agent-listing__status.tag {
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    display: inline-block;
    align-self: flex-start;
}

.cost .cost__amount {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ff1d4f !important;
}

.agent-listing__details .details__container {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 4px 0;
    flex-wrap: wrap;
}

.agent-listing__details .details__container li {
    font-size: 12px !important;
    color: #4f536c !important;
    font-weight: 600;
}

.agent-listing__details .details__container li strong {
    color: #1a1a2e;
    font-weight: 800;
}

.agent-listing__address {
    font-size: 12px !important;
    color: #4f536c !important;
    margin-top: 6px;
    line-height: 1.4;
}

/* View property button at bottom of card */
.agent-listing__view {
    border-top: 1px solid #e5e7eb;
    padding: 10px 16px !important;
    background: #f8f9fb;
}

.agent-listing__link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: #1a1a2e !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none;
}

.agent-listing__link .view__label {
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.agent-listing__link .view__button {
    color: #ff1d4f;
    font-size: 16px;
}

/* Gallery button */
.agent-listing__thumbnail .gallery__button {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(26,26,46,0.75);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 0;
}

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Social media strip
   ---------------------------------------------------------- */

.agent-profile__social-media .social-media__icon svg,
.agent-profile__social-media .social-media__icon img {
    width: 36px !important;
    height: 36px !important;
}

.agent-profile__social-media .social-media__icon {
    margin: 0 8px 12px 0 !important;
}

/* ----------------------------------------------------------
   AGENT DETAIL PAGE — Mobile responsive
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {
    /* Stack profile vertically */
    .agent-profile__container,
    .agent-profile__container--properties,
    .agent-profile__container--members {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        grid-template-areas:
            "agent-profile__image-container"
            "agent-profile__information"
            "agent-profile__bio"
            "agent-profile__contact"
            "agent-profile__social-media" !important;
        padding-bottom: 32px !important;
    }

    /* Full-width centered avatar on mobile */
    .agent-profile__image-container {
        justify-content: center !important;
    }

    .agent-profile__image {
        width: 100px !important;
        max-width: 100px !important;
        height: 100px !important;
        max-height: 100px !important;
    }

    .agent-profile__bio {
        grid-column: 1 / span 1 !important;
    }

    .agent-profile__contact,
    .agent-profile__contact--properties {
        grid-column: 1 / span 1 !important;
    }

    /* Single column listings on mobile */
    .agent-listing > .row > .col-md-12 {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    /* 2-column listing grid on tablet */
    .agent-listing > .row > .col-md-12 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ----------------------------------------------------------
   AGENT LISTING PAGE (users.php) — Clean agent card grid
   ---------------------------------------------------------- */

/* Override dark background with light design-system surface */
.user-listing .user-list,
.feed.page.user-listing .user-list,
.feed.page.user-listing .user-list.ulist {
    background: #f8f9fb !important;
    color: #1a1a2e !important;
    padding: 24px 0 !important;
}

/* Convert flat list rows to clean cards */
.user-list .user-excerpt {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    margin: 0 32px 10px !important;
    padding: 16px 24px !important;
    box-shadow: 0 1px 3px rgba(26,26,46,0.05);
    transition: box-shadow 0.2s ease;
    justify-content: flex-start !important;
}

.user-list .user-excerpt:hover {
    box-shadow: 0 4px 12px rgba(26,26,46,0.1) !important;
}

.user-list .user-excerpt:nth-child(even) {
    background: #fff !important;
}

/* Avatar — circular, consistent size */
.user-list .user-excerpt .photo {
    max-width: 64px !important;
    flex: 0 0 64px !important;
    margin-right: 16px;
}

.user-list .user-excerpt .photo img {
    width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

/* Name */
.user-list .user-excerpt .name {
    max-width: 180px !important;
    flex: 0 0 180px !important;
    margin-right: 8px;
}

.user-list .user-excerpt .name p,
.user-list .user-excerpt .name a {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.user-list .user-excerpt .name a:hover {
    color: #ff1d4f !important;
    text-decoration: none !important;
}

/* Agency */
.user-list .user-excerpt .agency {
    max-width: 220px !important;
    flex: 0 0 220px !important;
    margin-right: 8px;
}

.user-list .user-excerpt .agency p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4f536c !important;
    text-transform: uppercase;
    line-height: 1.3;
}

/* State */
.user-list .user-excerpt .state {
    max-width: 80px !important;
    flex: 0 0 80px !important;
}

.user-list .user-excerpt .state p {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4f536c !important;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    padding: 2px 8px;
    display: inline-block;
    line-height: 1.4;
}

/* Listings count — badge style */
.user-list .user-excerpt .listings {
    max-width: 100px !important;
    flex: 0 0 100px !important;
}

.user-list .user-excerpt .listings p {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    line-height: 1.3;
}

.user-list .user-excerpt .listings a {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #ff1d4f !important;
    background: rgba(255,29,79,0.08);
    padding: 3px 10px;
    display: inline-block;
    text-decoration: none !important;
    border-radius: 0 !important;
    line-height: 1.4;
}

.user-list .user-excerpt .listings a:hover {
    background: #ff1d4f !important;
    color: #fff !important;
}

/* Date joined / total value */
.user-list .user-excerpt .date-joined,
.user-list .user-excerpt .total-value {
    max-width: 120px !important;
    flex: 0 0 120px !important;
}

.user-list .user-excerpt .date-joined p,
.user-list .user-excerpt .total-value p {
    font-size: 12px !important;
    color: #4f536c !important;
    font-weight: 600 !important;
    line-height: 1.3;
}

/* ----------------------------------------------------------
   AGENT LISTING PAGE — Sort bar
   ---------------------------------------------------------- */

.sort.user-sort {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #1a1a2e !important;
    padding: 12px 32px !important;
}

.sort.user-sort .sort-label,
.sort.user-sort .photo-label,
.sort.user-sort .name-label,
.sort.user-sort .agency-label,
.sort.user-sort .state-label,
.sort.user-sort .listings-label,
.sort.user-sort .date-label,
.sort.user-sort .value-label {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #4f536c !important;
}

.sort.user-sort a {
    color: #4f536c !important;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.sort.user-sort a:hover {
    color: #ff1d4f !important;
}

/* ----------------------------------------------------------
   AGENT LISTING PAGE — Mobile responsive
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {
    .user-list .user-excerpt {
        margin: 0 16px 10px !important;
        padding: 12px !important;
        flex-wrap: wrap;
        gap: 8px;
    }

    .user-list .user-excerpt .photo {
        max-width: 56px !important;
        flex: 0 0 56px !important;
    }

    .user-list .user-excerpt .photo img {
        width: 56px !important;
        height: 56px !important;
    }

    .user-list .user-excerpt .name {
        max-width: calc(100% - 80px) !important;
        flex: 1 !important;
    }

    .user-list .user-excerpt .agency,
    .user-list .user-excerpt .state,
    .user-list .user-excerpt .date-joined,
    .user-list .user-excerpt .total-value {
        max-width: 50% !important;
        flex: 0 0 50% !important;
        margin-right: 0 !important;
    }

    .user-list .user-excerpt .listings {
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/* ----------------------------------------------------------
   SUB-NAV — agent profile / listing page search bar
   ---------------------------------------------------------- */

.sub-nav.container-fluid {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(26,26,46,0.06);
}

.sub-nav__search__input {
    border-radius: 0 !important;
    border: 1px solid #e5e7eb !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    color: #1a1a2e !important;
    padding: 8px 12px !important;
    height: auto !important;
}

.sub-nav__search__button {
    border-radius: 0 !important;
    background: #ff1d4f !important;
    border-color: #ff1d4f !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    color: #fff !important;
}

.sub-nav__search__button:hover {
    background: #cc1740 !important;
    border-color: #cc1740 !important;
}

.sub-nav__agent__count {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   MAIN AGENT CONTAINER — spacing
   ---------------------------------------------------------- */

main.agent.container {
    padding-top: 0 !important;
    background: #f8f9fb;
    min-height: 400px;
}

.wants.row {
    padding: 20px 0 !important;
}
