/* ARKAD Agents listing - matches theme flat-meet cards + orange accents */

.arkad-agents-page .heading-listing {
  color: #1c1c1e;
}

.arkad-agents-page .category-filter {
  margin-bottom: 28px;
  gap: 12px;
}

.arkad-agents-page .box-2 {
  gap: 12px;
}

.arkad-agents-page .btn-view.grid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e5e5ea;
  background: #fff;
}

.arkad-agents-sort,
.arkad-agents-select {
  /* native select is hidden by nice-select; keep as fallback */
  width: 100%;
}

.arkad-agents-page .wd-find-select .group-select .nice-select,
.arkad-agents-sidebar .group-select .nice-select {
  width: 100%;
  float: none;
  min-height: 48px;
  line-height: 20px;
  padding: 14px 40px 14px 16px;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  background: #fff;
  color: #1c1c1e;
  font-size: 14px;
  font-weight: 500;
}

.arkad-agents-page .arkad-agents-sort-form .group-select .nice-select {
  width: 240px;
  max-width: 100%;
}

.arkad-agents-page .nice-select .list,
.arkad-agents-sidebar .nice-select .list {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(28, 28, 30, 0.08);
  overflow: hidden;
}

.arkad-agents-page .nice-select .option,
.arkad-agents-sidebar .nice-select .option {
  min-height: 42px;
  line-height: 42px;
  padding-left: 16px;
  padding-right: 16px;
  font-weight: 500;
  color: #1c1c1e;
}

.arkad-agents-page .nice-select .option:hover,
.arkad-agents-page .nice-select .option.focus,
.arkad-agents-sidebar .nice-select .option:hover,
.arkad-agents-sidebar .nice-select .option.focus {
  background-color: #f6f6f6;
}

.arkad-agents-page .nice-select .option.selected,
.arkad-agents-sidebar .nice-select .option.selected {
  font-weight: 600;
  color: #ffa920;
  background-color: transparent;
}

.arkad-agents-page .nice-select .option.selected:hover,
.arkad-agents-page .nice-select .option.selected.focus,
.arkad-agents-sidebar .nice-select .option.selected:hover,
.arkad-agents-sidebar .nice-select .option.selected.focus {
  background-color: #f6f6f6;
  color: #ffa920;
}

.arkad-agents-sidebar .group-select {
  width: 100%;
}

.arkad-agents-sidebar .group-select .nice-select {
  margin-right: 0;
}

/* Classic agent directory card (not property-card shell) */
.arkad-agent-card {
  background: #fff;
}

.arkad-agent-card .images {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8ed;
  height: 200px;
}

.arkad-agent-card .arkad-agent-photo-link,
.arkad-agent-card .images > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.arkad-agent-card .images img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center top;
  display: block;
  border-radius: 0 !important;
}

/* Generated initials: keep letters fully visible (no bottom crop). */
.arkad-agent-card .images img[src*="ui-avatars.com"] {
  object-fit: contain !important;
  object-position: center center;
  background: #064025;
}

.arkad-agent-card .content {
  align-items: flex-start;
  gap: 12px;
  padding-top: 12px !important;
  padding-bottom: 4px !important;
}

.arkad-agent-card .inner h3 {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.arkad-agent-card .inner h3 a {
  color: #1c1c1e;
}

.arkad-agent-card .inner p {
  margin-bottom: 8px !important;
}

.arkad-agent-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.arkad-agent-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #f5a623;
  font-size: 12px;
  line-height: 1;
}

.arkad-agent-rating-stars .far {
  color: #d1d1d6;
}

.arkad-agent-rating-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 12px;
  color: #636366;
  line-height: 1.2;
}

.arkad-agent-rating-meta strong {
  color: #1c1c1e;
  font-weight: 700;
}

.arkad-agent-detail-rating {
  margin: 8px 0 0;
  width: 100%;
}

.arkad-agent-card .icon-box {
  flex-shrink: 0;
  gap: 8px;
}

.arkad-agent-card .icon-box a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e5ea;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.arkad-agents-empty {
  width: calc(100% - 30px) !important;
  margin-left: 30px;
  text-align: center;
  padding: 48px 24px !important;
  box-shadow: none;
  border: 1px dashed #e5e5ea;
  border-radius: 16px;
}

.arkad-agents-sidebar .widget-rent {
  border: 1px solid #ececf0;
  border-radius: 16px;
  padding: 22px 20px 18px;
  background: #fff;
  margin-bottom: 28px;
}

.arkad-agents-sidebar .title-search {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
}

.arkad-agents-sidebar .form-group-1,
.arkad-agents-sidebar .form-group-2,
.arkad-agents-sidebar .form-group-3 {
  margin-bottom: 14px;
}

.arkad-agents-sidebar .search-field {
  border-radius: 10px !important;
  min-height: 48px;
}

.arkad-agents-sidebar .button-search .sc-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
  background: #ffa920;
  color: #fff;
  font-weight: 700;
}

.arkad-agents-sidebar .button-search .sc-button i {
  color: #fff !important;
}

.arkad-agents-sidebar .widget-listings .box-listings {
  margin-bottom: 16px;
}

.arkad-agents-sidebar .widget-listings .img-listings {
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
}

.arkad-agents-sidebar .widget-listings .img-listings img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.arkad-more-agents .img-listings img[src*="ui-avatars.com"],
.arkad-agents-sidebar .widget-listings .img-listings img[src*="ui-avatars.com"] {
  object-fit: contain;
  object-position: center center;
  background: #064025;
}

.arkad-more-agents .img-listings img[src*="ui-avatars.com"],
.arkad-agents-sidebar .widget-listings .img-listings img[src*="ui-avatars.com"] {
  object-fit: contain;
  object-position: center center;
  background: #064025;
}

.arkad-agents-sidebar .widget-estate .box-estate {
  border-radius: 14px;
  overflow: hidden;
}

.arkad-agents-sidebar .widget-estate .arkad-estate-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.arkad-agents-sidebar .widget-estate .thumb {
  border-radius: 14px;
  overflow: hidden;
  height: 110px;
}

.arkad-agents-sidebar .widget-estate .thumb::before {
  pointer-events: none;
}

.arkad-agents-sidebar .widget-estate .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arkad-agents-sidebar .widget-estate .box-estate .content .title,
.arkad-agents-sidebar .widget-estate .box-estate .content .title span,
.arkad-agents-sidebar .widget-estate .box-estate .content p {
  color: #fff !important;
}

.arkad-agents-page .themesflat-pagination ul li .page-numbers.current,
.arkad-agents-page .arkad-pagination .page-numbers.current {
  background: #ffa920 !important;
  border-color: #ffa920 !important;
  color: #fff !important;
}

.arkad-agents-page [data-agents-grid].is-loading {
  transition: opacity 0.15s ease;
}

/* Social strip */
.arkad-agent-card .arkad-agent-socials {
  z-index: 4;
  pointer-events: auto;
}

.arkad-agent-card .arkad-agent-socials a {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.arkad-agent-card .arkad-agent-socials a:hover,
.arkad-agent-card .arkad-agent-socials a:focus-visible {
  background-color: rgba(0, 0, 0, 0.18);
  outline: none;
}

.arkad-agent-card .arkad-agent-socials a:hover i,
.arkad-agent-card .arkad-agent-socials a:focus-visible i {
  color: #fff;
  transform: scale(1.08);
}

.arkad-agent-card:hover .arkad-agent-socials,
.arkad-agent-card:focus-within .arkad-agent-socials {
  right: 0;
  opacity: 1;
}

/* Online / offline presence */
.arkad-agent-presence-dot {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.arkad-agent-presence-dot.is-online {
  background: #22c55e;
}

.arkad-agent-presence-dot.is-offline {
  background: #9ca3af;
}

.arkad-agent-presence-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.arkad-agent-presence-label.is-online {
  color: #16a34a;
}

.arkad-agent-presence-label.is-offline {
  color: #9ca3af;
}

.arkad-agent-show-av {
  position: relative;
}

.arkad-agent-show-av .arkad-agent-presence-dot {
  left: auto;
  right: 10px;
  bottom: 10px;
  width: 16px;
  height: 16px;
}

.flat-agent-detail .titles .arkad-agent-presence-label {
  margin-left: 8px;
  vertical-align: middle;
}

/* Agent detail hero card (show page) - image size matches mockup (~40% square crop) */
.arkad-agent-detail-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  padding: 22px;
  margin-bottom: 28px;
}

.arkad-agent-detail-photo {
  flex: 0 0 42%;
  width: 42%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  align-self: center;
}

.arkad-agent-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.arkad-agent-detail-photo img[src*="ui-avatars.com"] {
  object-fit: contain;
  object-position: center center;
  background: #064025;
}

.arkad-agent-detail-photo .arkad-agent-presence-dot {
  left: auto;
  right: 12px;
  bottom: 12px;
  width: 16px;
  height: 16px;
}

.arkad-agent-detail-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 4px 6px 0;
  position: relative;
}

.arkad-agent-detail-name {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.02em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: normal;
  overflow-wrap: normal;
  max-width: none;
}

.arkad-agent-detail-heading > .arkad-agent-presence-label {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.arkad-agent-detail-badge {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.arkad-agent-card .prop-author-badge.is-stacked,
.arkad-agent-detail-badge.is-stacked {
  max-width: none;
  min-width: 76px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 9px;
  column-gap: 5px;
  row-gap: 1px;
}

.flat-agent-detail #property-contact .prop-author-badge.is-stacked {
  max-width: none;
  min-width: 76px;
  padding: 5px 10px;
  border-radius: 10px;
}

.arkad-agent-card .prop-author-badge.is-stacked .badge-line,
.arkad-agent-detail-badge.is-stacked .badge-line,
.flat-agent-detail #property-contact .prop-author-badge.is-stacked .badge-line {
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
}

.arkad-agent-detail-badge.is-stacked {
  margin-bottom: 12px;
}

.arkad-agent-detail-role {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.45;
  color: #6b7280;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
}

.arkad-agent-detail-role strong {
  color: #374151;
  font-weight: 700;
}

.arkad-agent-detail-at {
  white-space: normal;
}

.arkad-agent-detail-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.arkad-agent-detail-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: #4b5563;
}

.arkad-agent-detail-contacts i {
  width: 18px;
  margin-top: 2px;
  text-align: center;
  color: #9ca3af;
  flex: 0 0 auto;
}

.arkad-agent-detail-contacts a {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.arkad-agent-detail-contacts a:hover,
.arkad-agent-detail-contacts a:focus-visible {
  color: #ffa920;
  outline: none;
}

.arkad-agent-detail-email {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #4b5563;
}

.arkad-agent-detail-phone {
  color: #ffa920 !important;
  font-weight: 700;
}

.arkad-agent-detail-phone:hover,
.arkad-agent-detail-phone:focus-visible {
  color: #e09210 !important;
}

.arkad-agent-detail-divider {
  height: 1px;
  background: #eceef2;
  margin: 20px 0 16px;
}

.arkad-agent-detail-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.arkad-agent-detail-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.arkad-agent-detail-socials a:hover,
.arkad-agent-detail-socials a:focus-visible {
  color: #ffa920;
  background: rgba(255, 169, 32, 0.1);
  outline: none;
}

.arkad-agent-detail-about {
  margin-bottom: 28px;
}

.arkad-agent-detail-about .text-1 {
  margin-bottom: 12px;
}

.arkad-agent-detail-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.arkad-agent-detail-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.45;
}

.arkad-agent-detail-highlights i {
  color: #16a34a;
  margin-top: 3px;
}

.arkad-agent-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}

.arkad-agent-detail-meta-block {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 14px;
  padding: 16px 18px;
}

.arkad-agent-detail-meta-block h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.arkad-agent-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arkad-agent-detail-chips span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.2;
}

.arkad-agent-detail-awards {
  margin-bottom: 20px;
}

.arkad-agent-detail-awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.arkad-agent-detail-awards-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 15px;
}

.arkad-agent-detail-awards-list i {
  color: #ffa920;
  margin-top: 3px;
}

.arkad-agent-detail-awards-list em {
  color: #9ca3af;
  font-style: normal;
}

/* Agent Details + Organization (from dashboard profile) */
.arkad-agent-pro-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}

.arkad-agent-pro-details--meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arkad-agent-pro-card {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  padding: 20px 22px;
  min-width: 0;
  margin: 0 0 28px;
}

.arkad-agent-pro-details > .arkad-agent-pro-card {
  margin-bottom: 0;
}

.arkad-agent-pro-card--full {
  width: 100%;
}

.arkad-agent-pro-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
}

.arkad-agent-pro-card__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 64, 37, 0.08);
  color: #064025;
  font-size: 15px;
}

.arkad-agent-pro-card__title {
  margin: 0 0 2px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #1f2937;
}

.arkad-agent-pro-card__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.arkad-agent-pro-copy {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

.arkad-agent-pro-card .arkad-agent-detail-highlights {
  margin-top: 4px;
}

.arkad-agent-pro-card .arkad-agent-detail-awards-list {
  margin: 0;
}

.arkad-agent-pro-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arkad-agent-pro-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}

.arkad-agent-pro-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  line-height: 1.35;
}

.arkad-agent-pro-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.45;
  word-break: break-word;
}

.arkad-agent-pro-row dd a {
  color: #064025;
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 64, 37, 0.25);
}

.arkad-agent-pro-row dd a:hover,
.arkad-agent-pro-row dd a:focus-visible {
  color: #ffa920;
  border-bottom-color: rgba(255, 169, 32, 0.55);
}

@media (max-width: 991px) {
  .arkad-agent-pro-details,
  .arkad-agent-pro-details--meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .arkad-agent-detail-meta-grid {
    grid-template-columns: 1fr;
  }
}

.arkad-agent-detail-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.arkad-agent-detail-top .arkad-agent-detail-heading {
  width: 100%;
  min-width: 0;
  padding-right: 0;
}

.arkad-agent-detail-actions {
  align-self: flex-end;
  flex: 0 0 auto;
  gap: 8px;
  flex-wrap: nowrap;
}

.arkad-agent-detail-actions a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e5e5ea;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7c7cc;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.arkad-agent-detail-actions a svg path {
  stroke: currentColor;
}

.arkad-agent-detail-actions a.pd-action-soon {
  position: relative;
  opacity: 0.72;
  cursor: not-allowed;
}

.arkad-agent-detail-actions a.pd-action-soon:hover,
.arkad-agent-detail-actions a.pd-action-soon:focus {
  color: #aeaeb2;
  background: #fff;
  border-color: #e5e5ea;
  outline: none;
}

.arkad-agent-detail-actions a.pd-action-soon .pd-action-soon-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  border-radius: 6px;
  background: #636366;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 5;
}

.arkad-agent-detail-actions a.pd-action-soon:hover .pd-action-soon-tip,
.arkad-agent-detail-actions a.pd-action-soon:focus .pd-action-soon-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.arkad-agent-detail-actions a.pd-action-share {
  color: #8e8e93;
  cursor: pointer;
}

.arkad-agent-detail-actions a.pd-action-share:hover,
.arkad-agent-detail-actions a.pd-action-share:focus-visible {
  color: #ffa920;
  border-color: #ffa920;
  background: rgba(255, 169, 32, 0.08);
  outline: none;
}

@media (max-width: 575px) {
  .arkad-agent-detail-actions {
    align-self: flex-start;
  }
}

.arkad-more-agents .arkad-more-agent-meta {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin: 4px 0 0;
}

.arkad-more-agents-foot {
  margin-top: 8px;
  padding-top: 4px;
}

.arkad-more-agents-foot a {
  color: #ffa920;
  text-decoration: none;
}

.arkad-more-agents-foot a:hover,
.arkad-more-agents-foot a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.flat-agent-detail .side-bar .widget-listings .box-listings {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eceef2;
}

.flat-agent-detail .side-bar .widget-listings .box-listings:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.arkad-agent-listings .menu-tab {
  gap: 28px;
  border-bottom: 1px solid #eceef2;
  margin-bottom: 22px;
}

.arkad-agent-listings .menu-tab .item-title {
  cursor: pointer;
  position: relative;
  padding-bottom: 12px;
  margin: 0;
}

.arkad-agent-listings .menu-tab .item-title .inner {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  transition: color 0.2s ease;
}

.arkad-agent-listings .menu-tab .item-title.active .inner,
.arkad-agent-listings .menu-tab .item-title:hover .inner {
  color: #ffa920;
}

.arkad-agent-listings .menu-tab .item-title.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #ffa920;
  border-radius: 2px 2px 0 0;
}

.arkad-agent-purpose-count {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  opacity: 0.75;
  margin-left: 4px;
}

.arkad-agent-listings-grid.is-loading {
  transition: opacity 0.15s ease;
}

/* Agent detail listings: same card theme/size as home featured */
.flat-agent-detail .arkad-agent-listings-grid,
.arkad-agent-listings-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
  justify-content: flex-start;
  align-items: stretch;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  padding: 8px 4px 4px;
  box-sizing: border-box;
  overflow: visible;
  border-bottom: none !important;
}

.flat-agent-detail .arkad-agent-listings-grid > .arkad-prop-card,
.arkad-agent-listings-grid > .arkad-prop-card {
  flex: 0 1 320px;
  width: auto !important;
  max-width: 340px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.flat-agent-detail .arkad-agent-listings-grid > .arkad-prop-card .content,
.arkad-agent-listings-grid > .arkad-prop-card .content {
  width: 100% !important;
}

.arkad-agent-listings-grid > .arkad-agent-listings-empty {
  flex: 1 1 100%;
  width: 100% !important;
  max-width: none;
}

@media (min-width: 1400px) {
  .flat-agent-detail .arkad-agent-listings-grid > .arkad-prop-card,
  .arkad-agent-listings-grid > .arkad-prop-card {
    flex: 0 1 300px;
    max-width: 320px !important;
  }
}

@media (max-width: 575px) {
  .flat-agent-detail .arkad-agent-listings-grid > .arkad-prop-card,
  .arkad-agent-listings-grid > .arkad-prop-card {
    flex: 1 1 100%;
    max-width: 100% !important;
  }
}

.arkad-agent-show-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.arkad-agent-show-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #efefef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arkad-agent-show-socials a:hover,
.arkad-agent-show-socials a:focus-visible {
  background: #ffa920;
  border-color: #ffa920;
  color: #fff;
  outline: none;
}

@media (max-width: 991px) {
  .arkad-agent-detail-card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px;
  }

  .arkad-agent-detail-photo {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .arkad-agent-detail-body {
    padding: 0;
  }

  .arkad-agent-detail-name {
    font-size: 26px;
  }
}

.arkad-agents-sidebar .arkad-sselect-wrap {
  position: relative;
  width: 100%;
}

.arkad-agents-sidebar select.arkad-sselect-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.arkad-agents-sidebar .arkad-sselect {
  position: relative;
  width: 100%;
}

.arkad-agents-sidebar .arkad-sselect-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 17px;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  background: #fff;
  color: #120a21;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.arkad-agents-sidebar .arkad-sselect-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #120a21;
  border-bottom: 1.5px solid #120a21;
  transform: rotate(45deg);
  margin-top: -4px;
  flex-shrink: 0;
}

.arkad-agents-sidebar .arkad-sselect.open .arkad-sselect-btn::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.arkad-agents-sidebar .arkad-sselect-label.is-placeholder {
  color: #8e8e93;
}

.arkad-agents-sidebar .arkad-sselect-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(18, 10, 33, 0.12);
  overflow: hidden;
  text-align: left;
}

.arkad-agents-sidebar .arkad-sselect.open .arkad-sselect-panel {
  display: block;
}

.arkad-agents-sidebar .arkad-sselect-search {
  padding: 10px 10px 6px;
  border-bottom: 1px solid #f2f2f7;
}

.arkad-agents-sidebar .arkad-sselect-search-input {
  width: 100%;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #120a21;
  outline: none;
}

.arkad-agents-sidebar .arkad-sselect-search-input:focus {
  border-color: #ffa920;
}

.arkad-agents-sidebar .arkad-sselect-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
  text-align: left;
}

.arkad-agents-sidebar .arkad-sselect-item {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 400;
  color: #120a21;
  cursor: pointer;
  text-align: left;
}

.arkad-agents-sidebar .arkad-sselect-item:hover,
.arkad-agents-sidebar .arkad-sselect-item.selected {
  background: #fff5e0;
  color: #ffa920;
}

.arkad-agents-sidebar .arkad-sselect-item.is-empty {
  color: #8e8e93;
  cursor: default;
}

.arkad-agents-sidebar .arkad-sselect-item.is-empty:hover {
  background: transparent;
  color: #8e8e93;
}

@media (max-width: 991px) {
  .arkad-agent-card .images {
    height: 210px;
  }

  .arkad-agents-page .arkad-agents-sort-form .group-select .nice-select {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .arkad-agents-page .category-filter {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .arkad-agent-card .images {
    height: 200px;
  }
}

/* About → Meet the agents footer CTA */
.arkad-about-meet-agents .arkad-about-meet-cta {
  gap: 8px;
  padding-top: 36px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .arkad-about-meet-agents .arkad-about-meet-cta {
    padding-top: 28px;
  }
}

/* About meet agents: theme-style two/three-up width (same as /agents) */
.arkad-about-meet-agents .arkad-about-agents-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
}

.arkad-about-meet-agents .arkad-about-agents-grid > .arkad-agent-card {
  width: calc(33.333% - 30px) !important;
  margin-left: 30px;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .arkad-about-meet-agents .arkad-about-agents-grid > .arkad-agent-card {
    width: calc(50% - 30px) !important;
  }
}

@media (max-width: 767px) {
  .arkad-about-meet-agents .arkad-about-agents-grid > .arkad-agent-card {
    width: calc(100% - 30px) !important;
  }
}
