/* Home: "Most seen this week / Most followed" sidebar rows — matches original design */
.escort_post_categories .escort_post{
  display:flex;align-items:center;justify-content:flex-start!important;
  gap:16px;padding-right:40px;margin:16px 0!important;
}
.escort_post_categories .escort_post_img{
  flex:0 0 74px;width:74px!important;height:74px!important;
  position:relative;overflow:visible;border-radius:12px;
}
.escort_post_categories .escort_post_img img{
  width:74px!important;height:74px!important;max-width:none;
  object-fit:cover;object-position:top center;display:block;border-radius:12px;
}
.escort_post_categories .escort_post_img .rating_count{
  position:absolute;top:8px!important;right:-14px!important;left:auto!important;
  margin:0!important;padding:2px 8px!important;background:#fff;border-radius:20px;
  font-size:12px!important;line-height:18px;z-index:2;white-space:nowrap;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.escort_post_categories .escort_post_content{min-width:0;flex:1 1 auto;padding-left:6px}
.escort_post_categories .escort_post_content p{
  font-size:18px;line-height:1.3;font-weight:600;margin-bottom:4px!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.escort_post_categories .escort_post_content small{
  display:block;font-size:14px;color:#6b6b6b;font-weight:400;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.escort_post_categories .escort_wishlist{
  position:absolute;top:50%;right:0;transform:translateY(-50%);
  background:transparent!important;box-shadow:none!important;
  width:auto;height:auto;font-size:20px;z-index:2;
}

/* round 2: spacing + heart button */
.escort_post_categories .escort_post_content{padding-left:26px!important}
.escort_post_categories .escort_post_img .rating_count{right:-12px!important}
.escort_post_categories .escort_post form,
.escort_post_categories .escort_post button,
.escort_post_categories .escort_post .btn,
.escort_post_categories .escort_post .escort_wishlist > *{
  background:transparent!important;border:0!important;box-shadow:none!important;
  width:auto!important;height:auto!important;padding:0!important;border-radius:0!important;
}
.escort_post_categories .escort_post .fa-heart,
.escort_post_categories .escort_post .escort_wishlist i{font-size:20px;color:var(--bs-primary,#00aaff)}
.escort_post_categories .escort_post{padding-right:34px}

/* profile page: spec pills (age, height, weight...) — no gray box behind the text */
.count_pills.spec_pills .btn span,
.count_pills.spec_pills .btn:hover span,
html[data-theme="dark"] .count_pills.spec_pills .btn span,
html[data-theme="dark"] .count_pills.spec_pills .btn:hover span{
  background-color: transparent !important;
  color: inherit;
}
.count_pills.spec_pills .btn{ cursor: default; }
.count_pills.spec_pills .btn:hover{ border-color: var(--bs-border-color, #dee2e6) !important; color: inherit; }

/* listing grid cards: every photo the same size */
.escort_card .card_img_wrap{ aspect-ratio: 335 / 320; background:#eef1f4; }
.escort_card .card_img_wrap img{
  width:100%; height:100%; max-width:none;
  object-fit:cover; object-position:top center; display:block;
}
/* list view: equal photo tiles */
.row.bg_light_primary .object-fit-cover{ aspect-ratio: 4 / 3; height:auto !important; }

/* listing banner / list-view photo mosaic: adapts to 1-5+ photos */
.photo_mosaic{display:grid;gap:8px;height:260px;grid-template-rows:1fr 1fr;grid-template-columns:1.6fr 1fr 1fr}
.photo_mosaic .pm_item{display:block;position:relative;overflow:hidden;border-radius:12px;min-height:0;background:#eef1f4}
.photo_mosaic .pm_item img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:top center;display:block;border-radius:0}
.photo_mosaic .pm_more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);color:#fff;font-size:22px;font-weight:700}
.photo_mosaic .pm_0{grid-row:1 / 3}
.photo_mosaic[data-n="1"]{grid-template-columns:1fr}
.photo_mosaic[data-n="2"]{grid-template-columns:1fr 1fr}
.photo_mosaic[data-n="2"] .pm_1{grid-row:1 / 3}
.photo_mosaic[data-n="3"]{grid-template-columns:1.5fr 1fr}
.photo_mosaic[data-n="4"] .pm_1{grid-column:2;grid-row:1}
.photo_mosaic[data-n="4"] .pm_2{grid-column:2;grid-row:2}
.photo_mosaic[data-n="4"] .pm_3{grid-column:3;grid-row:1 / 3}
@media (max-width: 1199px){ .photo_mosaic{height:220px} }

/* review box: no drag handle, comfortable padding */
textarea[name="comment"]{
  resize: none;
  padding: 12px 16px;
  min-height: 110px;
  font-size: 15px;
  line-height: 1.5;
}
textarea[name="comment"]::placeholder{ font-size: 15px; opacity: .6; }

/* review box: no drag handle, comfortable padding */
textarea[name="comment"]{
  resize: none;
  padding: 12px 16px;
  min-height: 110px;
  font-size: 15px;
  line-height: 1.5;
}
textarea[name="comment"]::placeholder{ font-size: 15px; opacity: .6; }

/* advertiser dashboard: content must start to the right of the fixed sidebar */
body .profile_dashboard_main.container-sm{
  margin-left: 72px !important;
  margin-right: auto !important;
  max-width: 1400px;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
@media (max-width: 991px){
  body .profile_dashboard_main.container-sm{ margin-left: 58px !important; margin-right: 8px !important; }
}

/* advertiser area: left icon sidebar visually separated from the content */
aside.col-auto.position-fixed{
  top: 0; left: 0; bottom: 0;
  width: 70px;
  height: 100vh !important;
  background: #f4f7fa !important;
  border-right: 1px solid #e6ebf0;
  box-shadow: 4px 0 14px rgba(20, 30, 50, .07);
  z-index: 1030;
}
aside.col-auto.position-fixed .dashboard-menu:hover{ background: #e8f6fd; }
@media (max-width: 575px){
  aside.col-auto.position-fixed{ width: 54px; }
}
html[data-bs-theme="dark"] aside.col-auto.position-fixed{
  background: #1b1f27 !important; border-right-color: #2a3140; box-shadow: 4px 0 14px rgba(0,0,0,.4);
}

/* home category pills: uniform round count badges */
.count_pills:not(.spec_pills) .btn > span.br_20{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px !important;
  margin-left: 10px !important;
  font-size: 11px !important; line-height: 1; font-weight: 500 !important;
  border-radius: 999px !important;
  vertical-align: middle;
}
.count_pills:not(.spec_pills) .btn.active > span.br_20{ background: var(--primary-color); color: #fff; }

/* sidebar hearts (most seen / most followed): one colour for outline and filled */
.escort_post_categories .escort_post .fa-heart,
.escort_post_categories .escort_post .fa-solid.fa-heart,
.escort_post_categories .escort_post .fa-regular.fa-heart,
.escort_post_categories .escort_post button i,
.escort_post_categories .escort_post .escort_wishlist i{
  color: var(--primary-color, #00B3F6) !important;
}

/* ===== Heart icon perfectly centered in its circle ===== */
form[action*="favorites"] > button.rounded-circle,
a.rounded-circle[aria-label="Log in to favorite"]{
  display:inline-flex !important;align-items:center;justify-content:center;
  width:32px;height:32px;padding:0 !important;line-height:1;
}
form[action*="favorites"] > button.rounded-circle i,
a.rounded-circle[aria-label="Log in to favorite"] i{
  display:block;line-height:1;margin:0;font-size:15px;
  width:1em;height:1em;text-align:center;
}
form[action*="favorites"]{margin:0;line-height:0;}

/* ===== Equal-height post cards (post sliders ONLY) ===== */
.owl-carousel:has(.p_image_wrapper) .owl-stage,
.owl-carousel:has(.private_club_card) .owl-stage{display:flex;}
.owl-carousel:has(.p_image_wrapper) .owl-item,
.owl-carousel:has(.private_club_card) .owl-item{display:flex;height:auto;}
.owl-carousel:has(.p_image_wrapper) .owl-item > .item,
.owl-carousel:has(.private_club_card) .owl-item > .item{display:flex;width:100%;}
.owl-carousel .item > .br_20.border:has(.p_image_wrapper),
.owl-carousel .item > .private_club_card{
  display:flex;flex-direction:column;width:100%;height:100%;
}
.owl-carousel .p_image_wrapper{
  display:block;flex:0 0 auto;width:100%;aspect-ratio:4/3;height:auto !important;overflow:hidden;
}
.owl-carousel .p_image_wrapper img{width:100%;height:100% !important;object-fit:cover;display:block;}
.owl-carousel .p_content{flex:1 1 auto;display:flex;flex-direction:column;}
.owl-carousel .p_content > p{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;
  overflow:hidden;min-height:calc(1.5em * 3);margin-bottom:.75rem;
}
.owl-carousel .p_content .btn,.owl-carousel .p_content a.read_more{margin-top:auto;align-self:flex-start;}

/* ===== Header search in dark mode ===== */
[data-bs-theme="dark"] .desktop-search,
[data-bs-theme="dark"] .desktop-search.form-control{
  background:transparent !important;
  border-color:rgba(255,255,255,.18) !important;
}
[data-bs-theme="dark"] .desktop-search input,
[data-bs-theme="dark"] .desktop-search input[type="search"],
[data-bs-theme="dark"] .mobile-search input,
[data-bs-theme="dark"] header form input[name="q"]{
  background:transparent !important;
  background-color:transparent !important;
  color:#fff !important;
  box-shadow:none !important;
  outline:0;
}
[data-bs-theme="dark"] .desktop-search input::placeholder,
[data-bs-theme="dark"] header form input[name="q"]::placeholder{color:rgba(255,255,255,.55) !important;opacity:1;}
[data-bs-theme="dark"] .desktop-search input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 100px #1b2030 inset !important;-webkit-text-fill-color:#fff !important;
}

/* ===== Dark mode: light location text in sidebar rows ===== */
[data-bs-theme="dark"] .escort_post_content small,
[data-bs-theme="dark"] .escort_post_content small i,
[data-bs-theme="dark"] .escort_post_content .text_medium_gray,
[data-bs-theme="dark"] .escort_post_content .text-muted{
  color:rgba(255,255,255,.78) !important;
}

/* ===== Dark mode: wide-card text box ===== */
[data-bs-theme="dark"] .f_detail{
  background:rgba(0,179,246,.10) !important;
  border:1px solid rgba(0,179,246,.28);
  backdrop-filter:blur(4px);
  color:#fff !important;
}
[data-bs-theme="dark"] .f_detail p,
[data-bs-theme="dark"] .f_detail{color:#eaf6ff !important;}
[data-bs-theme="dark"] .f_detail a.custom_link{color:#4cc9ff !important;}

/* ===== Language dropdown: visible hover/active text ===== */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active{
  background-color:var(--primary-color,#00B3F6) !important;
  color:#fff !important;
}
.dropdown-menu .dropdown-item.active span,
.dropdown-menu .dropdown-item:hover span{color:#fff !important;}

/* ===== Dark mode: native select dropdown lists ===== */
[data-bs-theme="dark"] select,
[data-bs-theme="dark"] .form-select{color-scheme:dark;}
[data-bs-theme="dark"] select option,
[data-bs-theme="dark"] select optgroup,
[data-bs-theme="dark"] .form-select option{
  background-color:#1b2030 !important;
  color:#fff !important;
}
[data-bs-theme="dark"] select option:checked,
[data-bs-theme="dark"] select option:hover{
  background-color:var(--primary-color,#00B3F6) !important;
  color:#fff !important;
}

/* ===== Sidebar rows: name turns primary blue on hover ===== */
.escort_post > a:hover .escort_post_content p,
.escort_post > a:hover .escort_post_content p.text-black,
.escort_post > a:hover .escort_post_content .fw-bold{
  color:var(--primary-color,#00B3F6) !important;
}
.escort_post_content p{transition:color .15s ease;}

/* ===== Profile gallery: equal photo heights ===== */
.main_banner_gallery{--gal-h:clamp(260px,38vw,560px);align-items:stretch;}
.main_banner_gallery > .col-md-4,
.main_banner_gallery > .col-md-8{margin-bottom:0 !important;height:var(--gal-h);}
.main_banner_gallery > .col-md-4 > a,
.main_banner_gallery > .col-md-8 .row > [class*="col-"] > a{
  display:block;height:100%;position:relative;
}
.main_banner_gallery > .col-md-8 > .row{height:100%;}
.main_banner_gallery > .col-md-8 .row > [class*="col-"]{height:100%;}
/* if there are 4 side photos (2x2), each takes half the height */
.main_banner_gallery > .col-md-8 .row:has(> :nth-child(3)) > [class*="col-"]{height:calc(50% - .25rem);}
.main_banner_gallery img{width:100%;height:100% !important;object-fit:cover;display:block;}
@media (max-width:767.98px){
  .main_banner_gallery > .col-md-4{height:var(--gal-h);margin-bottom:.5rem !important;}
  .main_banner_gallery > .col-md-8{height:auto;}
  .main_banner_gallery > .col-md-8 .row > [class*="col-"]{height:calc(var(--gal-h) / 2);}
}

/* ===== Profile tabs: no background on active tab ===== */
#offerTabs .nav-link,
#offerTabs .nav-link.active,
#offerTabs .nav-link:hover,
#offerTabs .nav-link:focus,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus{
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  outline:0;
}

/* ===== Call button: prominent in dark mode (and hover in both) ===== */
[data-bs-theme="dark"] a.btn.bg_light[data-track="call"],
[data-bs-theme="dark"] a.btn[data-track="call"]{
  background:var(--primary-color,#00B3F6) !important;
  color:#fff !important;
  border:1px solid var(--primary-color,#00B3F6);
  font-weight:600;
}
[data-bs-theme="dark"] a.btn[data-track="call"] i{color:#fff !important;}
[data-bs-theme="dark"] a.btn[data-track="call"]:hover{
  filter:brightness(1.1);box-shadow:0 0 0 3px rgba(0,179,246,.25);
}

/* ===== DARK MODE: outlined, visible buttons everywhere ===== */
/* call button -> primary outline */
[data-bs-theme="dark"] a.btn[data-track="call"],
[data-bs-theme="dark"] a.btn.bg_light[data-track="call"]{
  background:transparent !important;
  color:var(--primary-color,#00B3F6) !important;
  border:2px solid var(--primary-color,#00B3F6) !important;
  font-weight:600;
}
[data-bs-theme="dark"] a.btn[data-track="call"] i{color:inherit !important;}
[data-bs-theme="dark"] a.btn[data-track="call"]:hover{
  background:var(--primary-color,#00B3F6) !important;color:#fff !important;filter:none;
}

/* other soft/light buttons that blend into the dark background */
[data-bs-theme="dark"] .btn.bg_light:not([data-track="call"]),
[data-bs-theme="dark"] .btn.bg-light,
[data-bs-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-dark,
[data-bs-theme="dark"] .btn-outline-secondary{
  background:transparent !important;
  color:#e8eefc !important;
  border:1px solid rgba(255,255,255,.35) !important;
}
[data-bs-theme="dark"] .btn.bg_light:not([data-track="call"]):hover,
[data-bs-theme="dark"] .btn.bg-light:hover,
[data-bs-theme="dark"] .btn-light:hover,
[data-bs-theme="dark"] .btn-dark:hover,
[data-bs-theme="dark"] .btn-outline-secondary:hover{
  border-color:var(--primary-color,#00B3F6) !important;
  color:var(--primary-color,#00B3F6) !important;
  background:rgba(0,179,246,.10) !important;
}

/* primary outline buttons: readable text/border in dark */
[data-bs-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .btn_outline_primary,
[data-bs-theme="dark"] .btn_outline_blue{
  color:var(--primary-color,#00B3F6) !important;
  border-color:var(--primary-color,#00B3F6) !important;
  background:transparent !important;
}
[data-bs-theme="dark"] .btn-outline-primary:hover,
[data-bs-theme="dark"] .btn_outline_primary:hover,
[data-bs-theme="dark"] .btn_outline_blue:hover{
  background:var(--primary-color,#00B3F6) !important;color:#fff !important;
}

/* inputs / selects / textareas: visible border in dark */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select{
  border-color:rgba(255,255,255,.22);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] textarea:focus{
  border-color:var(--primary-color,#00B3F6) !important;
  box-shadow:0 0 0 3px rgba(0,179,246,.2) !important;
}

/* call button border 1px */
[data-bs-theme="dark"] a.btn[data-track="call"],
[data-bs-theme="dark"] a.btn.bg_light[data-track="call"]{
  border-width:1px !important;
}

/* ===== Call button icon: primary blue + spacing ===== */
a[data-track="call"] .svg-icon{
  color:var(--primary-color,#00B3F6) !important;
  margin-right:.4rem;
}
.more_photos_slider{margin:0 14px;width:auto;}

/* ===== Dark mode: FAQ / accordion chevrons in primary blue ===== */
[data-bs-theme="dark"] .accordion-button::after,
[data-bs-theme="dark"] .accordion-button:not(.collapsed)::after,
html[data-theme="dark"] .accordion-button::after,
html[data-theme="dark"] .accordion-button:not(.collapsed)::after{
  filter:none !important;
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2300B3F6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5l6 6 6-6' stroke-width='1.6'/%3e%3c/svg%3e") !important;
}

/* ===== Logo: white-text version in dark mode ===== */
.logo-for-dark{display:none !important;}
[data-bs-theme="dark"] .logo-for-light{display:none !important;}
[data-bs-theme="dark"] .logo-for-dark{display:inline-block !important;}

/* article images */
.article-body img{max-width:100%;height:auto;border-radius:12px;display:block;margin:1rem auto}
.article-body figure{margin:1.25rem 0;text-align:center}
.article-body figcaption{font-size:.85rem;color:#8a8f98;margin-top:.4rem}
.article-body h2,.article-body h3{margin-top:1.5rem}
