/* JBEscort69 profile card + recommended link presentation patch. */

/* The rendered card anchor owns the whole visible card area. */
.escort-card,
.escort-card-link{
  width:100%;
}

.escort-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}

/* Name | Age | Price */
.escort-card .escort-meta-block{
  padding:13px 14px 14px;
}

.escort-card .meta-primary-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(70px,auto);
  align-items:center;
  column-gap:10px;
  width:100%;
}

.escort-card .meta-primary-row .name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
  font-size:15px;
  font-weight:800;
  color:#b40d26;
}

.escort-card .meta-primary-row .age{
  justify-self:center;
  min-width:34px;
  padding:4px 9px;
  border-radius:999px;
  background:#f1f5f9;
  color:#5d738d;
  text-align:center;
  font-size:12px;
  line-height:1.2;
}

.escort-card .meta-primary-row .meta-price{
  justify-self:end;
  white-space:nowrap;
  text-align:right;
  font-size:13px;
  font-weight:900;
  color:#d70b24;
}

.escort-card .meta-location-row{
  margin-top:10px;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  text-align:center;
}

.escort-card .meta-location-highlight{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:5px 9px;
  border-radius:999px;
  background:#fff0f2;
  color:#b40d26;
  font-size:12px;
  line-height:1.15;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Legacy commercial footer is retired. Full card remains the CTA. */
.fp-card-commerce,
.fp-card-action-row,
.fp-card-badges,
.fp-card-btn{
  display:none !important;
}

/* Recommended links: image reaches the left/right edges of its section. */
.main-right .mini-section.recommended-links,
.main-right .side-panel.recommended-links{
  padding-left:0 !important;
  padding-right:0 !important;
}

.main-right .mini-section.recommended-links .panel-head,
.main-right .mini-section.recommended-links > .panel-title,
.main-right .side-panel.recommended-links > .panel-title{
  padding-left:12px;
  padding-right:12px;
}

.main-right .mini-section.recommended-links .mini-two-grid{
  display:grid;
  grid-template-columns:1fr !important;
  gap:10px;
  width:100%;
}

.main-right .mini-section.recommended-links .rec-item,
.main-right .side-panel.recommended-links .rec-item{
  display:block;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden;
  border-left:0 !important;
  border-right:0 !important;
  border-radius:0 !important;
  background:transparent;
}

.main-right .mini-section.recommended-links .rec-item img,
.main-right .side-panel.recommended-links .rec-item img{
  display:block;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  object-fit:cover;
}

/* page-register.php uses .rec-item > a > img rather than rec-item as the anchor. */
.main-right .side-panel.recommended-links .rec-item > a{
  display:block;
  width:100%;
}

/* Sponsored city banners are rendered directly, without a disclosure bar. */
.city-sponsored-direct{
  display:block !important;
  width:100%;
  margin:14px 0 18px;
}

.city-sponsored-direct .location-normal-banner-wrap{
  display:block !important;
}

/* Safety fallback for cached template fragments from older builds. */
.city-sponsored-disclosure > summary{
  display:none !important;
}
.city-sponsored-disclosure .city-sponsored-content{
  display:block !important;
}

@media (max-width:420px){
  .escort-card .escort-meta-block{
    padding:11px 12px 12px;
  }
  .escort-card .meta-primary-row{
    grid-template-columns:minmax(0,1fr) auto minmax(60px,auto);
    column-gap:7px;
  }
  .escort-card .meta-primary-row .name{
    font-size:14px;
  }
  .escort-card .meta-primary-row .meta-price{
    font-size:12px;
  }
}
