/* Kinetic Market — UsersWP profile. WPCode CSS snippet. */
.uwp_widget_profile {--km-green:#035841;--km-ink:#171717;--km-cream:#f8f5ec;--km-border:#ddd9cf;color:#171717;width:100%;}
.uwp_widget_profile,.uwp_widget_profile * {box-sizing:border-box;}
.uwp_widget_profile > .uwp_page {max-width:1180px;margin-inline:auto;width:100%;}
.uwp_widget_profile .uwp-profile-header {margin-top:24px!important;}
.uwp_widget_profile .uwp-profile-header > .card {border:1px solid #ddd9cf!important;border-radius:6px!important;background:#fff;box-shadow:none!important;}
.uwp_widget_profile .uwp-profile-header .uwp-banner-image {display:block;width:100%;height:240px;object-fit:cover;border-radius:5px 5px 0 0!important;}
.uwp_widget_profile .uwp-profile-header > .card > .card-img-overlay {bottom:auto!important;height:240px;padding:14px!important;pointer-events:none;}
.uwp_widget_profile .uwp-profile-header .uwp-banner-change-icon {pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:0;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#035841!important;color:#fff!important;box-shadow:none!important;}
.uwp_widget_profile .uwp-profile-header > .card > .card-body {padding:0 28px 24px!important;}
.uwp_widget_profile .uwp-profile-header .card-body > .row:first-child {display:flex;align-items:center;gap:22px;margin:0!important;}
.uwp_widget_profile .uwp-profile-header .card-body > .row:first-child > .tofront {position:relative;flex:0 0 120px;width:120px;padding:0!important;margin-top:-40px;}
.uwp_widget_profile .uwp-profile-header .tofront > img {display:block;width:120px!important;height:120px!important;object-fit:cover;border:4px solid #fff!important;margin:0!important;box-shadow:none!important;}
.uwp_widget_profile .uwp-profile-header .tofront > .card-img-overlay {inset:auto 0 0!important;padding:0!important;display:flex;justify-content:center;pointer-events:none;}
.uwp_widget_profile .uwp-profile-header .card-body > .row:first-child > .col-xl-6 {flex:1 1 0;width:auto;min-width:0;padding:20px 0 0!important;text-align:left!important;}
.uwp_widget_profile .uwp-profile-header .card-body > .row:first-child > .col-xl-4:empty {display:none;}
.uwp_widget_profile .uwp-profile-header .uwp-user-title {color:#171717!important;font-size:32px!important;font-weight:800!important;line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere;}
.uwp_widget_profile .uwp-user-title > a.btn {display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:32px;height:32px;min-height:0;padding:0!important;margin:0 0 0 8px!important;border:1px solid #171717!important;border-radius:50%;background:#fff!important;color:#171717!important;font-size:12px;}
.uwp_widget_profile .uwp-profile-header .navbar {padding:8px 0 0!important;background:transparent!important;}
.uwp_widget_profile .uwp-profile-header .navbar .nav-link {padding:0!important;}
.uwp_widget_profile .uwp-profile-header .navbar .badge {font-size:12px;color:#706d66;}
.uwp_widget_profile .uwp-profile-header .badge.text-bg-dark {background:#171717!important;color:#fff!important;border-radius:4px;}
.uwp_widget_profile .uwp-profile-tabs > .navbar {margin:18px 0 24px!important;padding:0!important;background:transparent!important;}
.uwp_widget_profile .uwp-profile-tabs > .navbar > div {border-bottom:1px solid #ddd9cf!important;}
.uwp_widget_profile .uwp-profile-tabs .navbar-nav {gap:6px;padding:0!important;}
.uwp_widget_profile .uwp-profile-tabs .nav-item {border:0!important;margin:0!important;}
.uwp_widget_profile .uwp-profile-tabs .nav-link {display:flex;align-items:center;gap:8px;min-height:46px;padding:12px 16px!important;border-radius:4px 4px 0 0;border-bottom:3px solid transparent;color:#171717!important;font-size:13px;font-weight:750;text-decoration:none!important;}
.uwp_widget_profile .uwp-profile-tabs .nav-link:hover {background:#f8f5ec;}
.uwp_widget_profile .uwp-profile-tabs .nav-item.active > .nav-link {color:#035841!important;border-bottom-color:#035841;background:#edf5f0;}
.uwp_widget_profile .uwp-profile-tabs .navbar-toggler {margin:0 0 10px;padding:8px 10px;border:1px solid #171717;border-radius:4px;background:#fff;}
.uwp_widget_profile .uwp-profile-content {min-width:0;scroll-margin-top:24px;}
.uwp_widget_profile :is(a,button):focus-visible {outline:2px solid #035841;outline-offset:3px;}
@media(max-width:1199px) {
 .uwp_widget_profile .uwp-profile-tabs .navbar-toggler {display:none!important;}
 .uwp_widget_profile .uwp-profile-tabs #uwp-profile-tabs-nav {display:block!important;height:auto!important;}
 .uwp_widget_profile .uwp-profile-tabs .navbar-nav {display:flex;flex-direction:row;flex-wrap:wrap;}
}
@media(max-width:689px) {
 .uwp_widget_profile .uwp-profile-header .uwp-banner-image,.uwp_widget_profile .uwp-profile-header > .card > .card-img-overlay {height:160px;}
 .uwp_widget_profile .uwp-profile-header > .card > .card-body {padding:0 18px 20px!important;}
 .uwp_widget_profile .uwp-profile-header .card-body > .row:first-child {gap:14px;}
 .uwp_widget_profile .uwp-profile-header .card-body > .row:first-child > .tofront {flex-basis:88px;width:88px;margin-top:-28px;}
 .uwp_widget_profile .uwp-profile-header .tofront > img {width:88px!important;height:88px!important;}
 .uwp_widget_profile .uwp-profile-header .uwp-user-title {font-size:25px!important;}
 .uwp_widget_profile .uwp-profile-header .card-body > .row:first-child > .col-xl-6 {padding-top:14px!important;}
 .uwp_widget_profile .uwp-profile-tabs .navbar-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 .uwp_widget_profile .uwp-profile-tabs .nav-link {height:100%;justify-content:center;padding:10px!important;border:1px solid #ddd9cf;border-radius:4px;min-height:44px;}
 .uwp_widget_profile .uwp-profile-tabs .nav-item.active > .nav-link {border-color:#035841;}
 .uwp_widget_profile .uwp-profile-tabs > .navbar > div {border:0!important;}
}

/* Profile review cards */
.uwp_widget_profile .uwp-profile-entries > h3 {margin:0 0 20px;color:#171717;font-size:26px;font-weight:800;line-height:1.2;}
.uwp_widget_profile .uwp-profile-comments-loop > .cards > .card {margin:0 0 20px!important;border:1px solid #ddd9cf!important;border-radius:5px!important;background:#fff;box-shadow:none!important;}
.uwp_widget_profile .uwp-profile-comments-loop > .cards > .card > .card-header {padding:14px 18px;background:#fff;border-bottom:1px solid #e9e6df;}
.uwp_widget_profile .uwp-profile-comments-loop .card-header a {color:#035841!important;font-size:15px;font-weight:750;text-decoration:none;}
.uwp_widget_profile .uwp-profile-comments-loop .card-header a:hover {text-decoration:underline;}
.uwp_widget_profile .uwp-profile-comments-loop > .cards > .card > .card-body {padding:18px;}
.uwp_widget_profile .uwp-profile-comments-loop .card-body > .row {margin:0;gap:18px;align-items:flex-start;}
.uwp_widget_profile .uwp-profile-comments-loop .card-body > .row > .col-5 {flex:0 0 70px;width:70px;margin:0!important;padding:0;}
.uwp_widget_profile .uwp-profile-comments-loop .card-body > .row > .col-12 {flex:1 1 0;width:0;min-width:0;padding:0;color:#55524c!important;font-size:15px;line-height:1.65;}
.uwp_widget_profile .uwp-profile-comments-loop img.avatar {width:52px;height:52px;padding:0!important;border:0!important;box-shadow:none!important;object-fit:cover;}
.uwp_widget_profile .uwp-profile-comments-loop cite {display:block;margin-top:7px;font-size:11px;font-weight:650;font-style:normal;overflow-wrap:anywhere;color:#171717;}
.uwp_widget_profile .uwp-profile-comments-loop .card-body p:last-child {margin-bottom:0;}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rate-cat-in {margin-bottom:6px;}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rate-cat-in .gd-rating-outer-wrap {
 display:grid!important;grid-template-columns:minmax(0,150px) max-content;justify-content:start!important;align-items:center!important;gap:14px;width:auto!important;
}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rate-cat-in .gd-rating-label {grid-column:1;grid-row:1;text-align:left!important;font-size:12px;color:#55524c;font-weight:650!important;}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rate-cat-in .gd-rating {grid-column:2;grid-row:1;margin:0!important;}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rating-foreground {color:#f2b544!important;}
.uwp_widget_profile .uwp-profile-comments-loop .gd-rating-background {color:#c5c2bb!important;}
.uwp_widget_profile .uwp-profile-comments-loop .gd_ratings_module_box {margin:0!important;padding:0!important;}
.uwp_widget_profile .uwp-profile-comments-loop .card-body .border-bottom {margin:0 0 14px!important;padding-bottom:12px!important;border-color:#e9e6df!important;}
.uwp_widget_profile .uwp-profile-comments-loop .geodir-images {display:grid;grid-template-columns:repeat(auto-fit,minmax(0,180px));gap:12px;margin:16px 0 0!important;}
.uwp_widget_profile .uwp-profile-comments-loop .geodir-images > .col {width:100%;padding:0;margin:0!important;}
.uwp_widget_profile .uwp-profile-comments-loop .geodir-images .card {border:1px solid #ddd9cf;border-radius:4px;}
.uwp_widget_profile .uwp-profile-comments-loop > .cards > .card > .card-footer {padding:12px 18px;background:#fff!important;border-top:1px solid #e9e6df;}
.uwp_widget_profile .uwp-profile-comments-loop .card-footer > .row {align-items:center;}
.uwp_widget_profile .uwp-profile-comments-loop .card-footer .btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 13px;border:1px solid #171717!important;border-radius:4px;background:#fff!important;color:#171717!important;font-size:12px;font-weight:750;line-height:1.4;}
.uwp_widget_profile .uwp-profile-comments-loop .card-footer .btn:hover {background:#171717!important;color:#fff!important;}
@media(max-width:689px) {
 .uwp_widget_profile .uwp-profile-entries > h3 {font-size:23px;}
 .uwp_widget_profile .uwp-profile-comments-loop .card-body > .row {flex-direction:column;gap:14px;}
 .uwp_widget_profile .uwp-profile-comments-loop .card-body > .row > .col-5 {display:flex;align-items:center;gap:10px;flex:auto;width:100%;text-align:left!important;}
 .uwp_widget_profile .uwp-profile-comments-loop img.avatar {width:36px;height:36px;margin:0!important;}
 .uwp_widget_profile .uwp-profile-comments-loop cite {margin:0;}
 .uwp_widget_profile .uwp-profile-comments-loop .card-body > .row > .col-12 {flex:auto;width:100%;}
 .uwp_widget_profile .uwp-profile-comments-loop > .cards > .card > .card-body {padding:16px;}
 .uwp_widget_profile .uwp-profile-comments-loop .gd-rate-cat-in .gd-rating-outer-wrap {grid-template-columns:minmax(0,135px) max-content;gap:10px;}
 .uwp_widget_profile .uwp-profile-comments-loop .card-footer .btn {min-height:44px;}
 .uwp_widget_profile .uwp-profile-comments-loop .geodir-images {grid-template-columns:repeat(auto-fit,minmax(0,150px));}
}


/* =========================================================
   KINETIC MARKET — PROFILE COLLECTIONS / LISTS
   Scoped to Listings and Lists tabs; preserves Reviews.
   ========================================================= */
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) {
  --km-list-green:#035841;
  --km-list-red:#c92932;
  --km-list-gold:#e79c00;
}
/* Collection selector pills */
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .pb-3 {
  display:flex;flex-wrap:wrap;gap:10px;padding:0 0 22px!important;margin:0 0 22px;
  border-bottom:1px solid #ddd9cf;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .pb-3 > a.btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin:0!important;padding:11px 16px!important;min-height:44px;
  border:1px solid #035841!important;border-radius:6px!important;
  background:#fff!important;color:#035841!important;
  font-size:13px!important;font-weight:750!important;text-decoration:none!important;
  box-shadow:none!important;transition:background .2s,color .2s;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .pb-3 > a.btn:hover {
  background:#edf5f0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .pb-3 > a.btn-primary {
  background:#035841!important;color:#fff!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .pb-3 > a.btn .badge {
  margin:0!important;padding:4px 8px!important;border-radius:5px!important;
  background:#f1eee6!important;color:#171717!important;font-size:11px!important;
}
/* Collection heading and owner actions */
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .container {
  width:100%!important;max-width:none!important;padding:0!important;margin:0 0 20px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-profile-entries > .container > .row {
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-loop-posts-title,
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-loop-posts-toolbar {
  flex:0 1 auto!important;width:auto!important;max-width:100%!important;padding:0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-loop-posts-title h3 {
  margin:0!important;color:#171717!important;font-size:27px!important;font-weight:800!important;line-height:1.25;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .gd-lists-loop-author-actions {
  display:flex!important;align-items:center;flex-wrap:wrap;gap:9px;margin:0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .gd-lists-loop-author-actions .btn {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  margin:0!important;min-height:40px;padding:9px 14px!important;
  border-radius:5px!important;background:#fff!important;
  border:1px solid #035841!important;color:#035841!important;
  font-size:12px!important;font-weight:750!important;box-shadow:none!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .gd-lists-loop-author-actions .btn:hover {
  background:#035841!important;color:#fff!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .gd-lists-loop-author-actions .gd-lists-author-action-delete {
  border-color:#c92932!important;color:#c92932!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .gd-lists-loop-author-actions .gd-lists-author-action-delete:hover {
  background:#c92932!important;color:#fff!important;
}
/* Override GeoDirectory's 3-column grid on the profile collection page. */
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .geodir-loop-container,
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .geodir-loop-container > .row {
  width:100%!important;max-width:none!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .geodir-loop-container > .row {
  display:flex!important;flex-direction:column!important;gap:16px;margin:0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .geodir-loop-container > .row > .col {
  display:block!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .geodir-loop-container > .row > .col > .card {
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;
  padding:0!important;border:0!important;background:transparent!important;
}
/* Keep existing archive card contents, but give each one full horizontal space. */
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card {
  display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;
  gap:24px!important;align-items:stretch;width:100%!important;max-width:none!important;
  padding:20px!important;margin:0!important;border:1px solid #ddd9cf!important;
  border-radius:10px!important;background:#fff!important;box-shadow:none!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image {
  width:100%!important;min-width:0!important;height:180px!important;margin:0!important;
  overflow:hidden!important;border-radius:7px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image a,
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image img {
  display:block!important;width:100%!important;height:100%!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image img {object-fit:cover!important;}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__main {
  display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;gap:10px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__heading {
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__title {
  margin:0!important;font-size:21px!important;line-height:1.35!important;font-weight:800!important;
  overflow-wrap:break-word!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__title a {color:#171717!important;text-decoration:none!important;}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__title a:hover {color:#035841!important;}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__description {
  margin:0!important;color:#55524c!important;font-size:14px!important;line-height:1.65!important;
  overflow-wrap:break-word!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__meta {
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 14px!important;
  margin:0!important;font-size:13px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__footer {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:10px 18px!important;margin-top:auto!important;
  padding-top:12px!important;border-top:1px solid #e9e6df!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__rating,
.uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__hours {
  min-width:0!important;font-size:12px!important;
}
@media(max-width:689px) {
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-loop-posts-title h3 {font-size:23px!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .uwp-loop-posts-toolbar {text-align:left!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card {
    grid-template-columns:110px minmax(0,1fr)!important;gap:13px!important;padding:13px!important;
  }
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image {height:110px!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__title {font-size:16px!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__description {font-size:13px!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__footer {align-items:flex-start!important;}
}
@media(max-width:420px) {
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card {grid-template-columns:minmax(0,1fr)!important;}
  .uwp_widget_profile .uwp-profile-tabs:has(:is(#uwp-profile-lists.active, #uwp-profile-listings.active)) .km-gd-card__image {height:180px!important;}
}


/* =========================================================
   KINETIC MARKET — PROFILE LISTINGS TAB CONTROLS
   The GeoDirectory grid switcher remains functional, but
   profile cards intentionally stay in the horizontal layout.
   ========================================================= */
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .uwp-loop-posts-toolbar {
  display:flex!important;align-items:center;justify-content:flex-end;min-width:0;
}
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .btn {
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;min-height:40px;padding:8px 12px!important;
  background:#fff!important;color:#035841!important;
  border:1px solid #035841!important;border-radius:5px!important;
  box-shadow:none!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .btn:hover,
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .btn:focus {
  background:#035841!important;color:#fff!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .dropdown-menu {
  padding:6px!important;background:#fff!important;border:1px solid #ddd9cf!important;
  border-radius:7px!important;box-shadow:0 8px 24px rgba(0,0,0,.09)!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .dropdown-item {
  padding:9px 12px!important;border-radius:4px!important;
  color:#171717!important;font-size:13px!important;
}
.uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .gd-list-view-select .dropdown-item:is(:hover,.active) {
  background:#edf5f0!important;color:#035841!important;
}
@media(max-width:689px) {
  .uwp_widget_profile .uwp-profile-tabs:has(#uwp-profile-listings.active) .uwp-loop-posts-toolbar {
    justify-content:flex-start!important;
  }
}

/* =========================================================
   KINETIC MARKET — PROFILE EVENT LISTING CARDS
   White background for event cards and their content panels.
   Scoped to the UsersWP profile listings tab only.
   ========================================================= */
.uwp_widget_profile #tab-content .geodir-loop-container .geodir-post.gd_event > .card,
.uwp_widget_profile #tab-content .geodir-loop-container .geodir-post.gd_event .km-event-card,
.uwp_widget_profile #tab-content .geodir-loop-container .geodir-post.gd_event .km-event-card__body,
.uwp_widget_profile #tab-content .geodir-loop-container .geodir-post.gd_event .km-event-card__details,
.uwp_widget_profile #tab-content .geodir-loop-container .geodir-post.gd_event .km-event-card__registration {
  background-color: #fff !important;
}

/* =========================================================
   KINETIC MARKET — PROFILE FAVORITES TAB
   Horizontal listing cards, controls, and unboxed events.
   ========================================================= */
/* Match the Listings and Lists tab selector buttons exactly. */
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 {
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;
  padding:0 0 22px!important;margin:0 0 22px!important;
  border-bottom:1px solid #ddd9cf!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;margin:0!important;padding:11px 16px!important;min-height:44px!important;
  border:1px solid #035841!important;border-radius:6px!important;
  background:#fff!important;color:#035841!important;
  font-size:13px!important;font-weight:750!important;text-decoration:none!important;
  box-shadow:none!important;transition:background .2s,color .2s;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn:hover {
  background:#edf5f0!important;color:#035841!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn.btn-primary,
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn.btn-primary:hover,
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn.btn-primary:focus {
  background:#035841!important;color:#fff!important;border-color:#035841!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) > .pb-3 > a.btn .badge {
  margin:0!important;padding:4px 8px!important;border-radius:5px!important;
  background:#f1eee6!important;color:#171717!important;font-size:11px!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .uwp-loop-posts-title h3 {
  color:#171717!important;font-size:27px!important;line-height:1.2!important;
  font-weight:800!important;margin:0!important;padding:0!important;
  border:0!important;border-bottom:0!important;box-shadow:none!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .uwp-loop-posts-toolbar {
  display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .gd-list-view-select .btn {
  min-width:42px!important;min-height:40px!important;background:#fff!important;
  color:#035841!important;border:1px solid #035841!important;border-radius:6px!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .gd-list-view-select .btn:hover {
  background:#035841!important;color:#fff!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .gd-list-view-select .dropdown-menu {
  background:#fff!important;border:1px solid #ddd9cf!important;border-radius:7px!important;
  padding:6px!important;box-shadow:0 8px 24px rgba(0,0,0,.09)!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .gd-list-view-select .dropdown-item:is(:hover,.active) {
  background:#edf5f0!important;color:#035841!important;
}
/* Override GeoDirectory's stored grid-column selection. */
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-loop-container > .row {
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  gap:20px!important;margin:0!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-loop-container > .row > .geodir-post {
  flex:0 0 100%!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post > .card {
  width:100%!important;max-width:100%!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card {
  display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;
  width:100%!important;max-width:100%!important;gap:20px!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card__image {
  width:100%!important;max-width:100%!important;min-width:0!important;height:180px!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card__image img {
  width:100%!important;height:100%!important;object-fit:cover!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card__main {
  min-width:0!important;width:100%!important;
}
/* Event: remove the extra GeoDirectory wrapper box, preserve the white card itself. */
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event > .card {
  padding:0!important;margin:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event > .card > p:empty {
  display:none!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card {
  display:flex!important;flex-direction:row!important;width:100%!important;max-width:100%!important;
  background:#fff!important;border:1px solid #e5e2da!important;border-radius:12px!important;
  overflow:hidden!important;box-shadow:0 3px 14px rgba(0,0,0,.055)!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__media {
  flex:0 0 220px!important;width:220px!important;max-width:220px!important;min-width:0!important;
  margin:0!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__body {
  flex:1 1 0!important;min-width:0!important;width:auto!important;
  background:#fff!important;margin:0!important;padding:20px!important;
}
.uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__media img {
  width:100%!important;height:100%!important;min-height:180px!important;object-fit:cover!important;
}
@media(max-width:689px) {
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card {
    grid-template-columns:110px minmax(0,1fr)!important;gap:13px!important;
  }
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card__image {height:110px!important;}
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__media {
    flex:0 0 110px!important;width:110px!important;max-width:110px!important;
  }
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__body {padding:13px!important;}
}
@media(max-width:420px) {
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card {grid-template-columns:minmax(0,1fr)!important;}
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .km-gd-card__image {height:180px!important;}
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card {flex-direction:column!important;}
  .uwp_widget_profile .uwp-profile-entries:has(> .pb-3 a[href*="/favorites/"]) .geodir-post.gd_event .km-event-card__media {
    flex:none!important;width:100%!important;max-width:100%!important;height:180px!important;
  }
}
