/* Istanbul Atlas UI — 2026.  Layered after EscortWP's stylesheet. */
:root{--ist-bg:#10141b;--ist-ink:#edf0f3;--ist-soft:#a5aebc;--ist-muted:#788392;--ist-panel:#1b222c;--ist-panel2:#202934;--ist-line:#35404c;--ist-gold:#e8b65b;--ist-gold2:#ffd18a;--ist-black:#0b0e13;--ist-radius:12px}
html{scroll-behavior:smooth}*{box-sizing:border-box}body{background:var(--ist-bg)!important;color:var(--ist-ink)!important;max-width:none!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;line-height:1.5}body *{font-family:inherit!important}a{color:var(--ist-gold);text-decoration:none}a:hover{color:var(--ist-gold2)}img{max-width:100%;height:auto}button,select,input,textarea{font:inherit}button,a,input,select{outline-offset:3px}:focus-visible{outline:2px solid var(--ist-gold2)}.ist-skip{position:absolute;left:-99999px;top:10px;background:var(--ist-gold);color:#141414;z-index:9999;padding:10px 16px}.ist-skip:focus{left:12px}.ist-container{width:min(1280px,calc(100% - 52px));margin-inline:auto}.all-body{min-height:20vh}.ist-site-header{background:#0d1117;border-bottom:1px solid #29303b;position:relative;z-index:35}.ist-header-row{display:flex;align-items:center;min-height:86px;gap:26px}.ist-brand{flex:0 0 auto}.ist-brand>a{display:flex;align-items:center;gap:11px;color:var(--ist-ink)}.ist-brand-mark{width:46px;height:46px;border:1px solid #b79150;display:grid;place-items:center;font-family:Georgia,serif!important;font-size:30px;font-style:italic;font-weight:700;letter-spacing:-3px;color:var(--ist-gold2);border-radius:3px;transform:skew(-4deg)}.ist-brand-mark span{color:#fff}.ist-brand-text{display:grid;gap:3px;line-height:1.1}.ist-brand-text strong{font-family:Georgia,serif!important;font-size:20px;font-weight:600;letter-spacing:-.3px}.ist-brand-text small{color:var(--ist-muted);letter-spacing:2.5px;font-size:8px;font-weight:800}.ist-main-nav{display:flex;align-items:center;gap:3px;margin-left:auto}.ist-main-nav>a{display:block;padding:9px 12px;color:#c1cad3;font-size:13px;font-weight:650;border-radius:6px}.ist-main-nav>a:hover,.ist-main-nav>a[aria-current]{color:#f4ca7d;background:#1c2530}.ist-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.ist-header-actions a{font-size:12px;font-weight:750;white-space:nowrap}.ist-header-actions .ist-sign-in,.ist-header-actions .ist-account-link{border:1px solid var(--ist-line);border-radius:7px;padding:11px 14px;color:#f5f3f1}.ist-header-actions .ist-logout-link{color:var(--ist-muted)}.ist-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px!important;min-height:44px;border-radius:6px!important;font-weight:750!important;font-size:13px!important;cursor:pointer;border:1px solid transparent;text-align:center;transition:background .18s,color .18s,border-color .18s}.ist-button-primary{background:var(--ist-gold)!important;color:#161a20!important;box-shadow:0 4px 16px #0002}.ist-button-primary:hover{background:var(--ist-gold2)!important;color:#131414!important}.ist-button-ghost{background:transparent;border-color:var(--ist-line);color:var(--ist-ink)}.ist-button-ghost:hover{background:#25303b;color:#fff}.ist-menu-toggle{display:none;background:transparent;border:1px solid var(--ist-line);color:#fff;border-radius:7px;padding:8px 12px;cursor:pointer}
/* Landing/term archives */
.ist-directory{padding:28px 0 55px;overflow:visible!important}.ist-directory h1,.ist-directory h2,.ist-directory h3{color:var(--ist-ink);line-height:1.16}.ist-hero{position:relative;display:grid;grid-template-columns:1.3fr .55fr;min-height:295px;background:linear-gradient(117deg,#202b37 2%,#1c252e 58%,#27303b 100%);border:1px solid #37414a;border-radius:var(--ist-radius);overflow:hidden}.ist-hero-main{position:relative;z-index:2;padding:37px 42px 30px}.ist-eyebrow,.ist-kicker{color:var(--ist-gold);font-weight:800;font-size:10px;letter-spacing:2.5px;text-transform:uppercase}.ist-eyebrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ist-dot{width:7px;height:7px;background:var(--ist-gold);border-radius:50%}.ist-eyebrow-line{height:1px;background:#69717a;width:24px}.ist-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(31px,3.35vw,51px)!important;letter-spacing:-1px!important;line-height:1.08;margin:20px 0 14px;font-weight:500!important;max-width:720px}.ist-hero-intro{color:#b8c1c8;font-size:14px;line-height:1.85;max-width:620px}.ist-breadcrumb{display:flex;gap:9px;margin-top:20px;color:#aab4c1;font-size:12px}.ist-breadcrumb a{color:var(--ist-gold2)}.ist-hero-caption{display:flex;gap:22px;flex-wrap:wrap;margin-top:23px;color:#85929d;text-transform:uppercase;letter-spacing:1px;font-weight:700;font-size:10px}.ist-hero-art{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;overflow:hidden;background:radial-gradient(circle at 50% 50%,#32404c 0,#1b2430 65%);border-left:1px solid #3d4651}.ist-hero-art>span:first-child{font-family:Georgia,serif!important;font-size:clamp(78px,10vw,165px);font-style:italic;letter-spacing:-15px;color:#d0ad6c;opacity:.85;z-index:1}.ist-hero-art-caption{position:absolute;bottom:24px;right:22px;z-index:2;font-size:10px;letter-spacing:2px;color:#a9b2bb}.ist-art-ring{position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid #99835d77;left:50%;top:50%;transform:translate(-50%,-50%)}.ist-art-ring-two{width:310px;height:310px;border-style:dashed;opacity:.5}.ist-term-intro{font-size:13px;max-width:650px;color:#b8c1c8;margin-top:12px}.ist-term-intro p{margin:0}.ist-filters{display:grid;grid-template-columns:190px minmax(160px,1fr) minmax(160px,1fr) 165px auto;align-items:end;gap:13px;margin:20px 0 30px;padding:17px 18px;background:var(--ist-panel);border:1px solid var(--ist-line);border-radius:9px}.ist-filter-label{display:flex;align-items:center;gap:10px;align-self:center}.ist-filter-icon{width:37px;height:37px;display:grid;place-items:center;background:#313640;border-radius:8px;color:var(--ist-gold);font-size:27px}.ist-filter-label strong{display:block;color:#faf9f6;font-size:13px}.ist-filter-label small{display:block;color:#8c98a6;font-size:10px}.ist-filter-control label{display:block;text-transform:uppercase;letter-spacing:1px;color:#aab5c0;font-size:10px;font-weight:800;margin-bottom:6px}.ist-filter-control select{display:block;width:100%;height:45px;min-width:0;border:1px solid #45515d!important;color:#e4e8ec!important;border-radius:5px!important;background:#141a22!important;padding:0 10px!important;font-size:12px!important;cursor:pointer}.ist-search-btn{width:100%;height:45px}.ist-reset{align-self:center;font-size:12px;color:#cad1d9}.ist-page-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:22px;align-items:start}.ist-directory-sidebar{display:grid;gap:18px}.ist-side-panel{background:var(--ist-panel);border:1px solid #343e49;border-radius:9px;overflow:hidden}.ist-side-panel-title{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;border-bottom:1px solid #313a46}.ist-side-panel-title h2{font-family:Georgia,serif!important;font-weight:500;font-size:19px!important;margin-top:5px}.ist-side-panel-title>span{font-size:17px;color:var(--ist-gold)}.ist-location-list{list-style:none!important;padding:8px!important;margin:0!important;max-height:400px;overflow:auto}.ist-location-list li{list-style:none!important;padding:0;margin:0}.ist-location-list a,.ist-location-list .ist-soon{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 10px;border-radius:5px;font-size:12px;color:#c5cbd3;min-height:36px}.ist-location-list a:hover{background:#303a44;color:var(--ist-gold2)}.ist-count{display:inline-flex;justify-content:center;min-width:23px;background:#2e3741;border-radius:5px;padding:3px 6px;color:#b7c1ca;font-size:10px}.ist-location-list .ist-soon{color:#7f8b98}.ist-location-list .ist-soon small{font-size:9px;color:#6f7c89}.ist-side-note{border:1px solid #565042;border-radius:9px;padding:20px;background:linear-gradient(130deg,#332e29,#202731)}.ist-side-note p{font-family:Georgia,serif!important;font-size:19px;line-height:1.4;color:#e4e2dc;margin:11px 0}.ist-side-note a{font-size:12px;font-weight:800;display:inline-flex;gap:8px}.ist-listings{min-width:0}.ist-listings-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:4px 0 16px;border-bottom:1px solid var(--ist-line);margin-bottom:20px}.ist-listings-head h2{font-family:Georgia,serif!important;font-size:30px!important;font-weight:500!important;margin-top:5px}.ist-result-count{font-size:12px;color:var(--ist-muted);padding-bottom:4px;white-space:nowrap}.ist-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ist-card{min-width:0;position:relative;overflow:hidden;border-radius:9px;background:#1c2530;border:1px solid #303c48;transition:transform .18s,border-color .18s}.ist-card:hover{transform:translateY(-3px);border-color:#907d58}.ist-card-image{display:block;position:relative;aspect-ratio:3/4;overflow:hidden;background:#27313b}.ist-card-image>img{width:100%;height:100%;object-fit:cover;object-position:50% 24%;display:block;transition:transform .25s}.ist-card:hover .ist-card-image>img{transform:scale(1.025)}.ist-card-image-shadow{pointer-events:none;position:absolute;inset:48% 0 0;background:linear-gradient(0deg,#080d13c9,transparent)}.ist-premium-chip,.ist-verified-chip{position:absolute;z-index:2;top:12px;left:12px;padding:6px 8px;border-radius:4px;font-size:9px;letter-spacing:1.2px;font-weight:850;line-height:1;background:#d5a554;color:#111820}.ist-verified-chip{top:auto;bottom:41px;background:#1c3d32;color:#abebc4}.ist-card-photo-cta{position:absolute;z-index:2;bottom:13px;left:14px;right:14px;display:flex;justify-content:space-between;color:#fbfbfc;font-size:11px;font-weight:700;letter-spacing:.2px}.ist-no-photo{height:100%;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#9aa5b1}.ist-no-photo>span{font-family:Georgia,serif!important;font-size:66px;color:#7d8b99}.ist-no-photo small{font-size:11px}.ist-card-content{padding:15px 15px 16px;min-height:109px}.ist-card-content h3{font-family:Georgia,serif!important;font-size:20px!important;font-weight:500!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ist-card-content h3 a{color:#f5f2ed}.ist-card-content h3 a:hover{color:var(--ist-gold)}.ist-card-place{font-size:11px;color:#a2acb8;margin:6px 0 0}.ist-card-place>span{color:var(--ist-gold)}.ist-card-nation{display:inline-block;font-size:10px;color:#d5bd92;border:1px solid #625743;border-radius:20px;padding:2px 8px;margin-top:10px}.ist-card-premium{border-color:#82714e}.ist-empty{padding:76px 24px;text-align:center;border:1px dashed #5a6370;background:var(--ist-panel);border-radius:9px}.ist-empty>span{color:var(--ist-gold);font-size:47px}.ist-empty h3{font-family:Georgia,serif!important;font-size:27px!important;font-weight:400!important;margin:14px 0 10px}.ist-empty p{font-size:13px;color:var(--ist-soft);max-width:420px;margin:0 auto 25px}.ist-pagination{margin-top:30px}.ist-pagination ul{list-style:none;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;padding:0;margin:0}.ist-pagination li{list-style:none}.ist-pagination a,.ist-pagination span{display:inline-flex;min-width:37px;min-height:38px;padding:6px 11px;border-radius:5px;border:1px solid #46515f;align-items:center;justify-content:center;font-size:12px;color:#e6ecf2}.ist-pagination .current,.ist-pagination a:hover{background:var(--ist-gold);border-color:var(--ist-gold);color:#141820}.ist-endnote{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-top:42px;border-top:1px solid #343e49;padding-top:24px}.ist-endnote h2{font-family:Georgia,serif!important;font-weight:400!important;font-size:28px!important;margin-top:5px}.ist-endnote p{font-size:12px;line-height:1.8;color:#9aa6b3;max-width:435px}
/* Legacy EscortWP registration, account, profile and forms: cosmetic only */
body:not(.home) .contentwrapper{float:none;max-width:1280px;margin:26px auto;width:calc(100% - 48px)}body:not(.home) .body{margin:0!important;border:0!important}body:not(.home) .sidebar-left{display:none!important}body:not(.home) .sidebar-right{display:none}body:not(.home) .bodybox{border:1px solid var(--ist-line);background:var(--ist-panel)!important;border-radius:10px;padding:27px;color:#d9e0e7}body:not(.home) .bodybox h3,body:not(.home) .bodybox h4{color:var(--ist-gold2)}body:not(.home) .bodybox a{color:var(--ist-gold2)}body:not(.home) .sidebar-left .countries,body:not(.home) .sidebar-left .widgetbox{background:var(--ist-panel)!important;border:1px solid var(--ist-line);border-radius:9px}body:not(.home) .sidebar-left{color:var(--ist-ink)}body:not(.home) .country-list a{color:#d1d8df}.bodybox input:not([type=submit]):not([type=radio]):not([type=checkbox]),.bodybox textarea,.bodybox select{background:#121920!important;color:#e9edf1!important;border:1px solid #465260!important;border-radius:6px}.bodybox .form-label{color:#e8ebef}.bodybox label{color:#dde1e8}.bodybox .pinkbutton,.bodybox .greenbutton{background:var(--ist-gold)!important;color:#182028!important;border-radius:6px!important;border:0}.bodybox .girlsingle{color:#dfe2e6}.bodybox .girlsingle .girlinfo,.bodybox .girlsingle .girldescription,.bodybox .girlsingle .contact{color:#dce3e9}.bodybox .girlsingle .profile-title{color:#fff}.bodybox .girl .thumb{border-color:#44515d}.bodybox .girl .premiumlabel{background:var(--ist-gold)}.bodybox .girl-name{color:#fff}.bodybox .girlinfo-section{border-color:#38444f}.bodybox .valuecolumn{color:#dee7f0}.bodybox .girlsingle .section-box{color:#e1e8ed}.bodybox .form-styling{color:#e2e8ee}.bodybox .registerform small{color:#a4adb8}.ist-directory+#nothing{display:none}
/* Hide obsolete navigation/actions, not server-side features. Some older feature code remains installed in EscortWP. */
body .currently-on-tour-in{display:none!important}
/* Footer */
.ist-footer{margin-top:40px;background:#0c1015;border-top:1px solid #2b3541}.ist-footer-grid{display:grid;grid-template-columns:2.1fr 1fr 1fr;gap:60px;padding:48px 0 40px}.ist-footer-brand strong{font-family:Georgia,serif!important;font-size:25px;letter-spacing:.2px;color:#f3e6cd;font-weight:500}.ist-footer-brand p{color:#b4beca;margin:12px 0;font-size:13px}.ist-footer-brand small{color:#7e8895;font-size:11px}.ist-footer nav{display:flex;flex-direction:column;gap:9px}.ist-footer nav strong{color:#e3e7eb;font-size:13px;margin-bottom:7px}.ist-footer nav a{font-size:12px;color:#8994a1}.ist-footer nav a:hover{color:var(--ist-gold2)}.ist-footer-bottom{padding:17px 0 24px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid #232d38;color:#747f8c;font-size:11px}
/* Responsive */
@media(max-width:1120px){.ist-container{width:min(1100px,calc(100% - 36px))}.ist-main-nav>a{padding:8px 7px}.ist-header-row{gap:15px}.ist-filters{grid-template-columns:170px minmax(140px,1fr) minmax(140px,1fr) 140px}.ist-filter-control select{font-size:11px!important}.ist-page-layout{grid-template-columns:230px 1fr;gap:16px}.ist-card-grid{gap:13px}}
@media(max-width:950px){.ist-header-row{flex-wrap:wrap;min-height:72px;padding:11px 0}.ist-menu-toggle{display:block;margin-left:auto}.ist-main-nav{display:none;flex-basis:100%;order:4;flex-direction:column;align-items:stretch;width:100%;padding:7px 0 0;border-top:1px solid #2b3642}.ist-main-nav.ist-is-open{display:flex}.ist-main-nav>a{padding:11px 12px}.ist-header-actions{margin-left:0}.ist-add-listing{display:none!important}.ist-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ist-filter-label{grid-column:1 / -1}.ist-search-btn{grid-column:1}.ist-reset{grid-column:2}.ist-page-layout{grid-template-columns:220px 1fr}.ist-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ist-hero{grid-template-columns:1fr 30%}.ist-hero-main{padding:28px}.ist-hero-art>span:first-child{font-size:80px;letter-spacing:-7px}.ist-hero-caption{gap:12px}}
@media(max-width:710px){.ist-container{width:calc(100% - 28px)}.ist-directory{padding-top:15px}.ist-hero{grid-template-columns:1fr;min-height:0}.ist-hero-art{display:none}.ist-hero-main{padding:26px 22px 25px}.ist-hero h1{font-size:34px!important;margin:14px 0}.ist-hero-caption{gap:8px;font-size:9px}.ist-filters{gap:10px;padding:13px}.ist-page-layout{grid-template-columns:1fr}.ist-directory-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));order:2}.ist-side-note{display:none}.ist-location-list{max-height:230px}.ist-listings{order:1}.ist-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ist-listings-head h2{font-size:25px!important}.ist-endnote{display:block}.ist-endnote p{margin-top:12px}.ist-footer-grid{grid-template-columns:1.5fr 1fr;gap:24px;padding-top:35px}.ist-footer-brand{grid-column:1/-1}body:not(.home) .contentwrapper{width:calc(100% - 28px)!important;float:none!important}body:not(.home) .body{margin:0!important}body:not(.home) .sidebar-left{display:none!important}body:not(.home) .bodybox{padding:18px!important}}
@media(max-width:420px){.ist-brand-text strong{font-size:16px}.ist-brand-mark{height:37px;width:37px;font-size:25px}.ist-brand-text small{letter-spacing:1.5px;font-size:7px}.ist-header-actions .ist-sign-in,.ist-header-actions .ist-account-link{padding:8px 10px}.ist-header-actions .ist-logout-link{display:none}.ist-filters{grid-template-columns:1fr}.ist-filter-label,.ist-search-btn,.ist-reset{grid-column:auto}.ist-filter-control{min-width:0}.ist-filter-control select{height:44px}.ist-card-content{padding:11px;min-height:95px}.ist-card-content h3{font-size:17px!important}.ist-premium-chip{font-size:8px;top:8px;left:8px}.ist-card-place{font-size:10px}.ist-card-photo-cta{font-size:10px;bottom:8px;left:9px;right:9px}.ist-directory-sidebar{grid-template-columns:1fr}.ist-location-list{max-height:200px}.ist-hero h1{font-size:30px!important}.ist-footer-grid{grid-template-columns:1fr 1fr}.ist-footer-bottom{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ist-card,.ist-card-image>img{transition:none}}
.ist-single-nationality{display:flex;align-items:center;gap:10px;margin:6px 0 12px;color:#d4dce4;font-size:12px}.ist-single-nationality>span{color:#98a6b5}.ist-single-nationality a{display:inline-flex;border:1px solid #9c7b4d;padding:4px 10px;border-radius:20px;background:#302a23;color:#e8c087}

body:not(.home) .girlsingle .girlinfo .girlinfo-section,body:not(.home) .girlsingle .aboutme,body:not(.home) .girlsingle .escortcontact,body:not(.home) .girlsingle .profile-header .profile-header-name-info,body:not(.home) .girlsingle .review-wrapper{background:#232d38!important;border:1px solid #3a4653!important;border-radius:8px;color:#dce4ea!important}
body:not(.home) .girlsingle .girlinfo .b,body:not(.home) .girlsingle .girlinfo .b-label,body:not(.home) .girlsingle .valuecolumn{color:#d9e1e7!important}
body:not(.home) .girlsingle h4{border-left-color:var(--ist-gold)!important;color:var(--ist-gold2)!important}
body:not(.home) .girlsingle .girlinfo .section-box b{color:#caa365}
body:not(.home) .girlsingle .profile-title{color:#f6f3ed!important;font-family:Georgia,serif!important}
body:not(.home) .girlsingle .bigimage img{border-radius:8px}
body:not(.home) .girlsingle .thumbs img{border-radius:5px}
/* Legacy features not used in the Istanbul navigation. CSS only hides entry points. */
.sidebar-right li:has(a[href*="manage-my-tours"]),.sidebar-right li:has(a[href*="-on-tour"]),.sidebar-right li:has(a[href*="blacklist"]),.sidebar-right li:has(a[href*="classified-ads"]),.sidebar-right li:has(.addtours),.sidebar-right li:has(.manuallyactivatetour){display:none!important}

body:not(.home) .girlsingle h1.profile-title{color:#f6f3ed!important;font-family:Georgia,serif!important;font-weight:500!important;font-size:clamp(28px,3vw,39px)!important;line-height:1.14!important}


/* ==============================================
   ISTANBUL v1.1 · compact introduction + cards
   ============================================== */
.ist-directory .ist-hero{min-height:0;grid-template-columns:minmax(0,1fr) 230px;border-radius:9px}
.ist-directory .ist-hero-main{padding:24px 30px 26px}
.ist-directory .ist-hero h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.15!important;margin:10px 0 12px!important;max-width:850px}
.ist-directory .ist-hero-intro{max-width:790px;font-size:13px;line-height:1.65;margin:0!important}
.ist-directory .ist-hero-caption{display:none}
.ist-directory .ist-hero-art>span:first-child{font-size:77px;letter-spacing:-7px}
.ist-directory .ist-art-ring{width:260px;height:260px}
.ist-directory .ist-art-ring-two{width:170px;height:170px}
.ist-directory .ist-hero-art-caption{font-size:8px;bottom:14px;right:13px;letter-spacing:1px}
.ist-directory .ist-filters{margin:13px 0 24px}
.ist-directory .ist-eyebrow{font-size:10px}
/* Public single: isolated structure; no legacy sidebar/global layout hacks */
body.single .ist-single{padding:22px 0 35px;color:#e9edf1}
.ist-single *{box-sizing:border-box}
.ist-single a:focus-visible,.ist-single button:focus-visible{outline:2px solid #eebf66;outline-offset:3px}
.ist-single .ist-crumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#a9b6c5;font-size:12px;margin:0 0 19px}
.ist-single .ist-crumbs a{color:#c9d3dc}.ist-single .ist-crumbs a:hover{color:#eac178}
.ist-single-panel{background:#1b232d;border:1px solid #343f4b;border-radius:11px;padding:24px}
.ist-single-top{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:24px}
.ist-single-gallery{min-width:0}
.ist-single-photo-main{position:relative;aspect-ratio:4/4.35;min-height:300px;max-height:650px;overflow:hidden;border:1px solid #3b4652;border-radius:10px;background:#0d131a;display:flex;justify-content:center;align-items:center}
.ist-single-photo-main img{width:100%;height:100%;object-fit:contain;display:block}
.ist-single-photo-counter{position:absolute;left:13px;bottom:12px;background:#090d13c9;border:1px solid #38414b;border-radius:5px;padding:6px 9px;color:#fff;font-size:11px;z-index:2}
.ist-single-photo-nav{border:1px solid #566372;position:absolute;top:50%;transform:translateY(-50%);width:39px;height:39px;border-radius:50%;background:#111821d9;color:#fff;display:grid;place-items:center;cursor:pointer;font-size:21px;z-index:2}
.ist-single-photo-nav:hover{background:#c99b55;color:#0e141a}.ist-single-photo-prev{left:12px}.ist-single-photo-next{right:12px}
.ist-single-thumbs{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin-top:9px}
.ist-single-thumb{border:2px solid #404a56;border-radius:5px;padding:0;background:#10151a;aspect-ratio:1;overflow:hidden;cursor:pointer;position:relative}
.ist-single-thumb[aria-pressed="true"]{border-color:#e7b85e}.ist-single-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.ist-single-photo-more{display:flex;align-items:center;justify-content:center;color:#e6bb73;background:#111921;min-height:42px;border:1px dashed #6c614e;border-radius:6px;cursor:pointer;font-size:11px}
.ist-single-details{min-width:0;display:grid;align-content:start;gap:14px}
.ist-single-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap}
.ist-single h1{font-size:clamp(28px,3vw,39px)!important;font-family:Georgia,serif!important;color:#f7f3eb!important;font-weight:500!important;line-height:1.15!important;margin:0 0 10px!important}
.ist-single-badges{display:flex;flex-wrap:wrap;gap:6px}.ist-single-badge{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;background:#303947;font-size:10px;letter-spacing:.4px;font-weight:800;color:#f0f2f4}.ist-single-badge.premium{color:#19160f;background:#e6b85f}.ist-single-badge.verified{background:#176342;color:#ecfff6}
.ist-single-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:350px}
.ist-single-fact{text-align:center;border:1px solid #404b58;border-radius:8px;padding:9px 8px;background:#26313d}
.ist-single-fact strong{display:block;font-size:20px;color:#f4f4f4}.ist-single-fact span{display:block;font-size:10px;color:#b3c0cb}
.ist-single-box{border:1px solid #3a4552;border-radius:9px;background:#232d38;padding:19px}
.ist-single-box h2{font-size:17px!important;font-family:inherit!important;font-weight:750!important;color:#edc477!important;margin:0 0 12px!important}
.ist-single-box p{color:#d7e0e8;font-size:13px;line-height:1.75;margin:0 0 12px}.ist-single-box p:last-child{margin-bottom:0}
.ist-single-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ist-single-meta>div{min-width:0;border-bottom:1px solid #3d4854;padding-bottom:9px;font-size:12px}
.ist-single-meta dt{color:#9aa9b8;margin-bottom:5px}.ist-single-meta dd{color:#f5f5f5;margin:0;font-weight:600}
.ist-single-meta a{color:#eac27f}
.ist-single-contacts{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.ist-single-action{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border-radius:6px;border:1px solid #8e754b;background:#e8b85e;color:#13181e!important;font-size:12px;font-weight:800;max-width:100%;overflow-wrap:anywhere}
.ist-single-action.alt{background:#17212a;color:#e6c081!important;border-color:#685b44}
.ist-single-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ist-single-price-list{padding:0;margin:0;list-style:none!important}
.ist-single-price-list li{list-style:none!important;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #3d4854;font-size:12px;color:#b5c1cd}
.ist-single-price-list li:last-child{border:0}.ist-single-price-list strong{color:#f7f5f0;white-space:nowrap}
.ist-single-services{display:flex;gap:6px;flex-wrap:wrap}.ist-single-services span{padding:6px 9px;border:1px solid #475565;border-radius:5px;color:#e0e7ed;background:#2b3641;font-size:11px}
.ist-single-bottom{margin-top:14px;display:grid;grid-template-columns:1fr;gap:14px}
.ist-single-note{color:#abb8c4;font-size:12px;line-height:1.65}
.ist-related{margin:34px 0 0}.ist-related-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;border-bottom:1px solid #343e49;padding-bottom:12px}
.ist-related h2{font:500 27px/1.2 Georgia,serif!important;color:#f6eee1!important;margin:0!important}.ist-related-head p{color:#9faebd;font-size:11px;margin:0}
.ist-related-group{margin-top:24px}.ist-related-group h3{font-size:15px!important;letter-spacing:1px;text-transform:uppercase;color:#e7bf78!important;margin:0 0 13px!important}
.ist-related-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ist-related-grid .ist-card-content{min-height:80px;padding:10px}.ist-related-grid .ist-card-content h3{font-size:16px!important;letter-spacing:0;text-transform:none;margin:0!important}.ist-related-grid .ist-card-image{aspect-ratio:3/4}.ist-related-grid .ist-card-nation{display:none}
.ist-related-empty{color:#9eacbc;padding:13px 0;font-size:12px}
.ist-single-no-photo{font:400 72px Georgia,serif;color:#5a6571}
@media(max-width:1100px){.ist-single-top{grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:16px}.ist-single-panel{padding:17px}.ist-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:860px){.ist-single-top{grid-template-columns:1fr}.ist-single-photo-main{max-height:560px;aspect-ratio:4/3}.ist-single-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ist-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ist-directory .ist-hero{grid-template-columns:1fr 190px}}
@media(max-width:710px){.ist-directory .ist-hero{display:block}.ist-directory .ist-hero-art{display:none}.ist-directory .ist-hero-main{padding:19px 19px 20px}.ist-directory .ist-hero h1{font-size:29px!important}.ist-single-panel{padding:12px}.ist-single-photo-main{aspect-ratio:4/4.1;min-height:270px}.ist-single-facts{max-width:100%}.ist-single-price-grid{grid-template-columns:1fr}.ist-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ist-related h2{font-size:23px!important}}
@media(max-width:400px){.ist-single-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.ist-single-box{padding:14px}.ist-single-meta{gap:8px}.ist-single-fact strong{font-size:17px}}
/* Horizontal photo rail: eight at a glance on desktop, accessible scroll for additional images. */
.ist-single-thumbs{display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;scrollbar-color:#778391 #18222c;padding-bottom:5px}
.ist-single-thumb{flex:0 0 calc((100% - 49px)/8);min-width:46px}
@media(max-width:860px){.ist-single-thumb{flex-basis:calc((100% - 28px)/5)}}
@media(max-width:420px){.ist-single-thumb{flex-basis:calc((100% - 21px)/4)}}


/* Istanbul Atlas v1.2: compact navigation, fixed layout and accessible controls */
.ist-brand-mark{display:flex!important;align-items:center;justify-content:center!important;letter-spacing:-2px!important}
.ist-brand-mark span{display:none!important}
.ist-header-row{gap:18px}
.ist-main-nav{margin-left:25px;margin-right:0;gap:4px}
.ist-header-actions{margin-left:auto}
.ist-filter-label{align-self:center;min-width:0}
.ist-filter-label>div{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
.ist-filters{align-items:center}
.ist-filter-control{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.ist-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ist-card-content{padding:12px 12px 14px}
.ist-card-content h3{font-size:18px!important}
.ist-card-image{aspect-ratio:3/4}
.ist-more-nav{margin:25px 0 10px;text-align:center;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px}
.ist-show-more{min-width:230px}
.ist-more-status{color:var(--ist-muted);font-size:12px}
.ist-edit-profile-link{font-size:11px;margin-top:6px;display:inline-flex;color:var(--ist-gold)}
.ist-single-contact-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0}
.ist-contact-phone{color:#f3bf70!important;font-size:18px;font-weight:800;letter-spacing:.2px;max-width:100%;overflow-wrap:anywhere}
.ist-contact-messenger{display:inline-flex;align-items:center;justify-content:center;min-height:35px;border:1px solid #426959;background:#17362f;color:#bbf0d4!important;border-radius:6px;padding:7px 11px;font-weight:750;font-size:11px}
.ist-contact-messenger.tg{border-color:#2d6684;background:#163040;color:#aedfff!important}
.ist-single-details .ist-single-price-grid{margin:0 0 13px}
.ist-single-details .ist-single-head{margin-bottom:9px}
.ist-telegram-register-field{margin-top:13px;width:100%;display:grid;gap:5px}
.ist-telegram-register-field label{font-size:12px;font-weight:700;color:#fafafa}
.ist-telegram-register-field input{max-width:360px}
.ist-telegram-register-field small{font-size:11px;color:#a0a7b0}
/* New standalone registration landing; never change actual payment settings in this theme patch. */
.ist-register{padding:32px 0 75px}
.ist-register-intro{background:linear-gradient(125deg,#202b37,#19232e);border:1px solid #3b4653;border-radius:12px;padding:34px 38px;margin-top:18px}
.ist-register-intro h1{font:500 clamp(30px,3.2vw,46px)/1.15 Georgia,serif!important;margin:12px 0;color:var(--ist-ink)}
.ist-register-intro p{font-size:15px;line-height:1.75;max-width:850px;color:#d6dee7}
.ist-register-intro strong{color:var(--ist-gold2)}
.ist-register-note{font-size:12px;line-height:1.6;color:#c3ced7}
.ist-register-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}
.ist-register-card{display:flex;flex-direction:column;background:var(--ist-panel);border:1px solid var(--ist-line);border-radius:12px;padding:28px;min-width:0}
.ist-register-card h2{font:500 29px/1.2 Georgia,serif!important;margin:11px 0;color:var(--ist-ink)}
.ist-register-card p,.ist-register-card li{color:#c9d2da;font-size:14px;line-height:1.75}
.ist-register-card ul{list-style:none!important;padding:0!important;margin:14px 0 24px!important}
.ist-register-card li{margin:7px 0!important;list-style:none!important}
.ist-register-card li:before{content:'✓';color:var(--ist-gold);margin-right:9px}
.ist-register-card .ist-button{margin-top:auto;align-self:flex-start}
.ist-register-footnote{font-size:12px;color:#95a1b0}
@media(max-width:1100px){.ist-main-nav{margin-left:8px}.ist-card-grid{gap:10px}.ist-card-content h3{font-size:16px!important}}
@media(max-width:950px){.ist-main-nav{margin-left:0}.ist-header-actions{margin-left:auto}.ist-filters{grid-template-columns:1fr 1fr}.ist-filter-label{grid-column:1/-1}.ist-search-btn{grid-column:1/-1}.ist-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:710px){.ist-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ist-page-layout{display:block}.ist-directory-sidebar{margin-top:22px}.ist-filter-label{justify-content:flex-start}.ist-register-cards{grid-template-columns:1fr}.ist-register-intro{padding:22px}.ist-register-card{padding:23px}.ist-single-contact-top{gap:7px}.ist-contact-phone{width:100%;font-size:17px}.ist-filters{grid-template-columns:1fr;gap:9px}.ist-filter-label,.ist-search-btn{grid-column:auto}}
@media(max-width:420px){.ist-card-content h3{font-size:15px!important}.ist-card-content{padding:10px}.ist-card-photo-cta{font-size:10px}.ist-register-intro h1{font-size:29px!important}}

/* Istanbul Atlas v1.3 — more compact profile & registration, owner editor sidebar */
.ist-single-top{grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:20px}
.ist-single-photo-main{aspect-ratio:4/4.4;max-height:510px;min-height:260px}
.ist-single-head{display:block!important;margin-bottom:4px!important}
.ist-single-title-row{display:flex;flex-wrap:wrap;gap:8px 13px;align-items:center;margin-bottom:7px}
.ist-single-title-row h1{margin:0!important;font-size:clamp(29px,2.7vw,39px)!important}
.ist-single-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ist-single-badge{font-size:9px!important;padding:4px 7px!important;border-radius:4px!important;letter-spacing:.15px!important}
.ist-single-badge.new{background:#9d3672;color:#fff}
.ist-edit-profile-link{display:inline-flex;margin:2px 0 6px!important;font-size:12px!important;padding:6px 10px;color:#ecc27d!important;background:#2a303a;border:1px solid #60523b;border-radius:5px}
.ist-single-contact-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:3px 0 15px!important}
.ist-contact-phone{font-size:clamp(24px,2.2vw,32px)!important;font-weight:800!important;letter-spacing:.1px!important;line-height:1.3!important;color:#f0bb70!important;text-decoration:none;overflow-wrap:anywhere}
.ist-contact-messenger{min-height:37px!important;padding:8px 13px!important;font-size:12px!important;font-weight:800!important}
.ist-single-details{gap:10px}
.ist-single-box{padding:15px 18px;border-radius:9px}
.ist-single-box h2{font-size:16px!important;margin:0 0 9px!important}
.ist-single-about{font-size:13px;line-height:1.65}
.ist-card-rate{position:absolute;top:12px;right:9px;z-index:3;color:#fff!important;background:#10161edc;border:1px solid #725b36;border-radius:6px;padding:6px 9px;font-size:15px;font-weight:900;line-height:1.2;max-width:85%;text-align:right;white-space:nowrap;text-shadow:0 1px 1px #000}
.ist-card-rate small{font-weight:600;font-size:10px;color:#e7d8bf}
.ist-register{padding:16px 0 40px}
.ist-register-intro{padding:18px 25px;margin-top:10px}
.ist-register-intro h1{font-size:clamp(26px,2.5vw,34px)!important;margin:7px 0!important}
.ist-register-intro p{font-size:13px;line-height:1.55;margin:8px 0}
.ist-register-cards{gap:12px;margin:12px 0 10px}
.ist-register-card{padding:18px 22px}
.ist-register-card h2{font-size:23px!important;margin:5px 0 7px!important}
.ist-register-card p{font-size:12px;line-height:1.6;margin:4px 0 12px}
.ist-register-card .ist-register-benefits{color:#e6be77;font-size:11px;font-weight:700;margin:0 0 13px}
.ist-register .ist-crumbs{margin-bottom:8px}
.ist-math-field{display:flex;align-items:center;flex-wrap:wrap;gap:12px;max-width:100%;margin:14px 0;padding:12px 14px;border:1px solid #5f5b4c;border-radius:8px;background:#252d38;color:#f3ead9;clear:both}
.ist-math-field label{font-size:13px;font-weight:650;color:#e9dfce}
.ist-math-field label strong{color:#ebbb65;font-size:17px;padding-left:7px}
.ist-math-field input[type=number]{width:116px!important;max-width:100%;height:40px;border-radius:6px;border:1px solid #626a73!important;background:#101923!important;color:#fff!important;padding:7px 10px!important;text-align:center;font-size:16px!important}
.ist-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start;margin:30px auto 50px;max-width:1380px;width:calc(100% - 36px)}
.ist-edit-layout .ist-edit-main,.ist-edit-layout .contentwrapper{width:100%!important;min-width:0!important;float:none!important;margin:0!important}
.ist-edit-layout .body{margin:0!important;border:0!important;min-width:0!important}
.ist-edit-layout .bodybox{background:#1c2530!important;border:1px solid #3a4755!important;border-radius:9px!important;color:#e4ebf2!important;margin-bottom:14px!important}
.ist-edit-layout .bodybox h3,.ist-edit-layout .bodybox h4{color:#ecbe71!important}
.ist-edit-layout .ist-edit-sidebar{position:sticky;top:16px;background:#1c2530;border:1px solid #3a4755;border-radius:10px;padding:12px;max-height:calc(100vh - 32px);overflow:auto;min-width:0}
.ist-edit-sidebar-heading{color:#ebc17a;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #3b4855;padding:7px 8px 11px}
.ist-edit-return{display:block;padding:10px 9px;color:#f4cc8b!important;font-size:12px;border-bottom:1px solid #3b4855}
.ist-edit-layout .sidebar-right{float:none!important;margin:8px 0 0!important;width:auto!important;overflow:visible!important;max-width:100%!important}
.ist-edit-layout .sidebar-right .dropdownlinks{background:#222c37;border:1px solid #344554;border-radius:7px;overflow:hidden;margin-bottom:10px}
.ist-edit-layout .sidebar-right .dropdownlinks h4{background:#2b3642!important;color:#e4bb75!important;padding:10px 12px;font-size:14px!important}
.ist-edit-layout .sidebar-right .dropdownlinks li a{display:block;padding:9px 12px;font-size:12px;color:#e0e5e9!important}
.ist-edit-layout .sidebar-right .sidebar-expire-notice{border-radius:7px;font-size:12px;overflow:hidden}
@media(max-width:1050px){.ist-single-top{grid-template-columns:minmax(0,40fr) minmax(0,60fr);gap:15px}.ist-single-photo-main{max-height:465px}}
@media(max-width:860px){.ist-single-top{grid-template-columns:1fr}.ist-single-photo-main{max-height:520px;aspect-ratio:4/3.9}.ist-edit-layout{grid-template-columns:1fr}.ist-edit-layout .ist-edit-sidebar{position:static;max-height:none}}
@media(max-width:710px){.ist-single-title-row h1{font-size:30px!important}.ist-single-photo-main{max-height:460px;min-height:250px;aspect-ratio:4/4.1}.ist-contact-phone{font-size:25px!important;width:100%}.ist-register-intro{padding:16px}.ist-register-card{padding:17px}.ist-edit-layout{width:calc(100% - 20px);margin:16px auto 35px}.ist-card-rate{font-size:12px;padding:5px 6px}}


/* ISTANBUL ATLAS v1.4: compact cards, usable editor, mobile browsing */
.ist-single-thumbs{display:flex!important;gap:9px!important;overflow-x:auto!important;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:7px!important}
.ist-single-thumb{flex:0 0 clamp(79px,17%,112px)!important;min-width:79px!important;aspect-ratio:1.05!important;scroll-snap-align:start;border-width:2px!important}
.ist-single-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.ist-related-grid .ist-card-subline{font-size:11px}
.ist-card-content{padding:13px 13px 15px!important;min-height:0!important;display:flex;flex-direction:column;gap:6px}
.ist-card-content h3{font-size:19px!important;font-weight:650!important;line-height:1.2!important;margin:0!important;overflow-wrap:anywhere}
.ist-card-subline{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;min-width:0;line-height:1.4}
.ist-card-subline .ist-card-place{font-size:12px!important;margin:0!important;line-height:1.35!important;white-space:normal}
.ist-card-subline .ist-card-nation{font-size:10px!important;margin:0!important;line-height:1.3!important;border-radius:7px!important;padding:3px 7px!important;white-space:nowrap}
.ist-verified-chip{bottom:46px!important;top:auto!important;left:9px!important;z-index:4!important}
.ist-new-chip{position:absolute;bottom:11px;left:10px;z-index:4;background:#d8a752;color:#161a20;border-radius:4px;padding:4px 7px;font-size:9px;letter-spacing:.07em;font-weight:850}
.ist-card-image{overflow:hidden}
.ist-side-note{display:none!important}
.ist-directory-sidebar{min-width:0}
.ist-more-nav.ist-all-link-nav{text-align:center;padding-top:25px}
.ist-register .ist-crumbs{display:flex!important;align-items:center;justify-content:flex-start;gap:8px!important;margin:8px 0 15px!important;padding:0 3px!important;line-height:1.6!important;font-size:13px!important}
.ist-register .ist-crumbs a{display:inline-block!important}
.ist-register-intro{padding:25px 27px!important;margin-top:9px!important}
.ist-register-intro h1{font-size:clamp(31px,2.6vw,38px)!important;margin:8px 0!important}
.ist-register-intro p{font-size:14px!important;line-height:1.6!important}
.ist-register-card{padding:23px 24px!important}
.ist-register-card h2{font-size:25px!important}
.ist-register-card p{font-size:13px!important;line-height:1.6!important}
/* Fix old global logged-in sidebar offset that pushes tools outside clipped panel */
body.logged-in .ist-edit-layout .ist-edit-sidebar .sidebar-right,
body .ist-edit-layout .ist-edit-sidebar .sidebar-right{display:block!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:12px 0 0!important;padding:0!important;overflow:visible!important;background:none!important;border:0!important;box-sizing:border-box}
.ist-edit-layout{grid-template-columns:minmax(0,1fr) minmax(280px,315px)!important;max-width:1420px!important;gap:22px!important}
.ist-edit-layout .ist-edit-sidebar{position:static!important;max-height:none!important;overflow:visible!important;min-height:0!important;box-sizing:border-box}
.ist-edit-layout .ist-edit-sidebar .dropdownlinks,.ist-edit-layout .ist-edit-sidebar .widgetbox{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;clear:both!important}
.ist-edit-layout .ist-edit-sidebar .dropdownlinks ul{width:100%!important;box-sizing:border-box;list-style:none!important;padding:0!important;margin:0!important}
.ist-edit-layout .ist-edit-sidebar .dropdownlinks li{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.ist-edit-layout .ist-edit-sidebar .dropdownlinks li a{width:100%;box-sizing:border-box}
.ist-edit-shortcuts{display:flex;flex-direction:column;gap:6px;padding:12px 7px;border-bottom:1px solid #3b4855}
.ist-edit-shortcuts a{display:block;border:1px solid #4b5664;border-radius:6px;padding:9px 11px;color:#ecd1a5!important;font-size:13px;font-weight:650}
.ist-edit-shortcuts a:hover{background:#283747}
.ist-edit-layout .profile-page-no-media{max-width:100%}
.ist-edit-layout .profile-page-no-media .max-photos{font-size:12px!important}
.ist-edit-layout .profile-header{max-width:100%}
.ist-math-field{justify-content:center!important;text-align:center;border:2px solid #9d583b!important;border-radius:9px!important;background:#29252a!important;gap:12px!important}
.ist-math-field label{font-size:15px!important;color:#f3e7e1!important}
.ist-math-field label strong{font-size:19px!important}
.ist-math-field.ist-math-error{border-color:#ff5252!important;background:#421f28!important;box-shadow:0 0 0 2px rgba(255,82,82,.16)}
.ist-math-field.ist-math-error input{border-color:#ff6666!important;outline:2px solid rgba(255,90,90,.3)!important}
.ist-math-error-msg{color:#ffaaaa!important;font-size:12px!important;font-weight:650}
@media(max-width:950px){.ist-edit-layout{grid-template-columns:minmax(0,1fr)!important}.ist-header-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ist-header-actions .ist-add-listing{display:inline-flex!important;padding:9px 12px!important;font-size:12px!important}}
@media(max-width:710px){.ist-directory-sidebar{margin-top:25px!important}.ist-single-thumb{flex:0 0 clamp(78px,22%,108px)!important}.ist-register-intro{padding:21px!important}.ist-register-card{padding:20px!important}.ist-register-intro p{font-size:13px!important}.ist-card-content{padding:11px 10px 12px!important}.ist-card-content h3{font-size:17px!important}.ist-card-subline .ist-card-place{font-size:11px!important}.ist-card-subline .ist-card-nation{font-size:9px!important}.ist-verified-chip{bottom:40px!important}.ist-new-chip{font-size:8px;padding:3px 5px}.ist-math-field{flex-direction:column;align-items:center!important}}
@media(max-width:420px){.ist-header-actions .ist-add-listing{display:inline-flex!important;padding:8px 9px!important}.ist-header-actions .ist-sign-in{padding:8px 10px!important}.ist-card-content h3{font-size:16px!important}.ist-card-subline{gap:4px}.ist-card-subline .ist-card-place{font-size:10px!important}.ist-card-subline .ist-card-nation{padding:2px 5px!important}}


/* ========== Istanbul Atlas v1.5: readability and responsive polish ========== */
/* Visitors use the modern profile; owners/admins get the native editor and its sidebar immediately. */
.ist-edit-layout .ist-edit-sidebar{scroll-margin-top:85px}
.ist-edit-layout .ist-edit-sidebar-heading{font-size:14px!important;letter-spacing:.4px!important}
.ist-edit-layout .ist-edit-sidebar .sidebar-right .dropdownlinks h4{color:#f7d28d!important;font-size:14px!important;line-height:1.4!important}
.ist-edit-layout .ist-edit-sidebar .sidebar-right .dropdownlinks li a{font-size:13px!important;line-height:1.5!important}
.ist-edit-layout .ist-edit-sidebar .sidebar-right .dropdownlinks li a:hover{color:#fff!important;background:#35414c!important}
/* Profile status chips: larger, consistently legible white-on-dark or bright-on-dark. */
.ist-single-title-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 12px!important}
.ist-single-badges{display:inline-flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important}
.ist-single-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:6px 10px!important;min-height:27px!important;font-size:12px!important;line-height:1.1!important;
  font-weight:800!important;letter-spacing:0!important;border-radius:5px!important;white-space:nowrap!important}
.ist-single-badge.premium{background:#f5d187!important;color:#15191e!important;border:1px solid #ffd88b!important}
.ist-single-badge.verified{background:#167445!important;color:#fff!important;border:1px solid #3dac76!important}
.ist-single-badge.new{background:#713a69!important;color:#fff!important;border:1px solid #af639f!important}
/* WhatsApp: unmistakable green action, high contrast white label. */
.ist-contact-messenger.wa{background:#087c45!important;border:2px solid #33d989!important;color:#fff!important;
  font-size:14px!important;min-height:43px!important;padding:9px 15px!important;font-weight:850!important;
  box-shadow:0 2px 13px rgba(10,184,106,.18)!important}
.ist-contact-messenger.wa:hover,.ist-contact-messenger.wa:focus-visible{background:#066638!important;color:#fff!important}
.ist-contact-messenger.tg{font-size:13px!important;min-height:41px!important}
/* Shorter Profile details without sacrificing tap targets or readability. */
.ist-single-details{gap:11px!important}
.ist-single-box{padding:15px 17px!important}
.ist-single-box h2{margin-bottom:10px!important}
.ist-single-meta{gap:6px 13px!important}
.ist-single-meta>div{padding:4px 0 7px!important;font-size:13px!important}
.ist-single-meta dt{margin-bottom:2px!important;font-size:11px!important}
.ist-single-meta dd{line-height:1.35!important}
/* Center arrow glyph inside each previous/next photo button. */
.ist-single-photo-nav{display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0 0 3px!important;line-height:1!important;font-size:25px!important;font-family:Arial,sans-serif!important}
/* Visual hierarchy: Premium top-left; New lower-left; Verified lower-right. */
.ist-card-image{position:relative!important}
.ist-premium-chip{font-size:11px!important;font-weight:850!important;letter-spacing:.45px!important;
  padding:7px 10px!important;border-radius:5px!important;line-height:1.15!important;
  background:#f4c979!important;color:#15191e!important}
.ist-new-chip{position:absolute!important;top:auto!important;left:10px!important;bottom:12px!important;
  background:#ffe0a1!important;color:#15191e!important;border:1px solid #ffcf72!important;
  font-size:11px!important;line-height:1.15!important;font-weight:850!important;letter-spacing:.3px!important;
  padding:6px 8px!important;border-radius:5px!important;z-index:4!important}
.ist-verified-chip{top:auto!important;bottom:12px!important;right:10px!important;left:auto!important;
  background:#167445!important;color:#fff!important;border:1px solid #37ac76!important;
  font-size:11px!important;line-height:1.15!important;font-weight:850!important;letter-spacing:.3px!important;
  padding:6px 8px!important;border-radius:5px!important;z-index:4!important}
.ist-card-content{padding:13px 12px 15px!important;gap:7px!important}
.ist-card-content h3{font-size:19px!important;letter-spacing:0!important;line-height:1.22!important}
.ist-card-subline{gap:6px 8px!important;align-items:center!important}
.ist-card-subline .ist-card-place{font-size:13px!important;line-height:1.4!important;color:#cbd5df!important}
.ist-card-subline .ist-card-nation{font-size:11px!important;line-height:1.35!important;
  color:#f4d396!important;border-color:#8d7449!important;padding:3px 8px!important}
.ist-filter-label{display:flex!important;align-items:center!important;min-height:55px!important}
.ist-filter-label>span:first-child{align-self:center!important;transform:translateY(-2px)!important}
/* Compact registration chooser; semantic H1 retained without a separate hero panel. */
.ist-register{padding-top:12px!important}
.ist-register-choice-heading{font:500 clamp(26px,2.7vw,34px)/1.25 Georgia,serif!important;
  color:#f7f2e9!important;margin:13px 0 6px!important}
.ist-register-cards{margin:12px 0 14px!important}
/* Narrow the independent account creation form by ~20%, without changing input names or processing. */
.ist-register-form-shell{width:min(1060px,calc(100% - 36px));margin:20px auto 55px;display:block;clear:both}
.ist-register-form-shell .contentwrapper,.ist-register-form-shell .body{float:none!important;width:100%!important;
  max-width:100%!important;margin:0!important;box-sizing:border-box!important}
.ist-register-form-shell .bodybox{width:100%!important;box-sizing:border-box!important;max-width:100%!important;
  padding:25px 28px!important}
.ist-register-form-shell .register-form .form-label{width:32%!important}
.ist-register-form-shell .register-form .form-input{width:66%!important}
/* No editorial sidebars on the registration page; owner-edit page keeps its sidebar. */
@media(min-width:1120px){.ist-register-form-shell{max-width:1040px}}
/* Ten suggestions on desktop (two rows of five), eight on small screens (two rows of four). */
@media(max-width:710px){
  /* Previously display:block prevented grid order from moving the duplicated navigation. */
  .ist-directory .ist-page-layout{display:flex!important;flex-direction:column!important;gap:24px!important}
  .ist-directory .ist-listings{order:1!important;min-width:0!important}
  .ist-directory .ist-directory-sidebar{order:2!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:5px!important}
  .ist-directory .ist-side-panel{min-width:0!important;width:100%!important}
  .ist-directory .ist-side-panel-title h2{font-size:18px!important}
  .ist-directory .ist-location-list{max-height:230px!important}
  .ist-single-badge{font-size:11px!important;min-height:26px!important;padding:5px 8px!important}
  .ist-contact-messenger.wa{font-size:13px!important}
  .ist-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ist-related-grid>.ist-card:nth-child(n+5){display:none!important}
  .ist-premium-chip{font-size:10px!important;padding:6px 8px!important}
  .ist-new-chip,.ist-verified-chip{font-size:10px!important;padding:5px 6px!important;bottom:9px!important}
  .ist-card-content h3{font-size:18px!important}
  .ist-card-subline .ist-card-place{font-size:12px!important}
  .ist-card-subline .ist-card-nation{font-size:11px!important}
  .ist-register-form-shell{width:calc(100% - 20px)!important;margin:12px auto 28px!important}
  .ist-register-form-shell .bodybox{padding:16px 12px!important}
  .ist-register-form-shell .register-form .form-label,
  .ist-register-form-shell .register-form .form-input{float:none!important;width:100%!important}
}
@media(max-width:390px){
  .ist-directory .ist-directory-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ist-directory .ist-side-panel-title h2{font-size:15px!important}
  .ist-directory .ist-location-list a,.ist-directory .ist-location-list .ist-soon{font-size:11px!important}
  .ist-card-subline .ist-card-place{font-size:11px!important}
  .ist-card-subline .ist-card-nation{font-size:10px!important}
}



/* Istanbul Atlas v1.7 — one layout, native EscortWP controls. */
/* Desktop owner: same public profile plus the ORIGINAL EscortWP right menu. */
.ist-owner-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:18px!important;align-items:start;width:min(1510px,calc(100% - 40px))!important;max-width:1510px!important;margin:24px auto 54px!important}
.ist-owner-primary,.ist-public-view,.ist-owner-primary .ist-single{min-width:0!important;max-width:none!important;width:100%!important}
.ist-public-view .ist-single{padding:0!important}
.ist-owner-primary .ist-single-panel{width:100%!important;max-width:none!important}
.ist-owner-primary .ist-single-top{min-width:0!important}
.ist-owner-sidebar{min-width:0!important;position:sticky!important;top:14px!important;background:#1b242f!important;border:1px solid #3b4a58!important;border-radius:10px!important;padding:13px!important;color:#eef2f6!important}
body .ist-owner-sidebar .sidebar-right,body.logged-in .ist-owner-sidebar .sidebar-right{display:block!important;float:none!important;clear:both!important;position:static!important;left:auto!important;top:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important;box-sizing:border-box!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks{position:relative!important;left:auto!important;top:auto!important;display:block!important;float:none!important;clear:both!important;width:100%!important;max-width:none!important;margin:0 0 10px!important;padding:0!important;border:1px solid #3c4a5b!important;border-radius:8px!important;background:#1f2a36!important;overflow:visible!important;color:#edf1f6!important;box-sizing:border-box!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks h4{float:none!important;position:static!important;width:100%!important;background:#293645!important;color:#ffce80!important;border-radius:7px!important;margin:0!important;padding:12px!important;line-height:1.35!important;font-size:14px!important;font-weight:750!important;cursor:pointer!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks h4 .icon{color:#ffc97f!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks ul{position:static!important;float:none!important;left:auto!important;top:auto!important;width:100%!important;max-width:100%!important;background:#1c2733!important;color:#eaf0f6!important;margin:0!important;padding:7px!important;border:0!important;border-radius:0 0 8px 8px!important;box-shadow:none!important;overflow:visible!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks ul li{position:relative!important;float:none!important;display:block!important;clear:both!important;width:100%!important;max-width:100%!important;background:transparent!important;color:#eaf0f6!important;list-style:none!important;padding:0!important;margin:0!important;overflow-wrap:anywhere!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks li a{float:none!important;display:block!important;width:100%!important;max-width:100%!important;background:transparent!important;color:#e9eff6!important;padding:9px 10px!important;font-size:13px!important;line-height:1.4!important;border-radius:5px!important;box-sizing:border-box!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks li a:hover,.ist-owner-sidebar .sidebar-right .dropdownlinks li a:focus-visible{background:#344758!important;color:#ffe2aa!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks li a .icon{float:none!important;display:inline!important;color:#ffc575!important;margin:0 7px 0 0!important;background:transparent!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks form,.ist-owner-sidebar .sidebar-right .dropdownlinks .upgradeescortbox{max-width:100%!important;box-sizing:border-box!important;background:#263441!important;color:#f4f5f8!important}
.ist-owner-sidebar .sidebar-right .dropdownlinks input,.ist-owner-sidebar .sidebar-right .dropdownlinks select{max-width:100%!important}
.ist-owner-sidebar .sidebar-right .widgetbox-wrapper,.ist-owner-sidebar .sidebar-right .widgetbox,.ist-owner-sidebar .sidebar-right .blog-categories{display:none!important}
.ist-owner-sidebar .sidebar-right .sidebar-expire-notice{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
/* The original edit form REPLACES the public card at exactly the same position. */
.ist-public-view[hidden],.ist-native-edit[hidden]{display:none!important}
.ist-native-edit{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:none!important;overflow:visible!important}
.ist-editor-toolbar{display:flex!important;gap:12px;align-items:center;justify-content:space-between;padding:12px 16px;margin-bottom:12px;border-radius:9px;background:#202d39;border:1px solid #43515f}
.ist-editor-toolbar h2{font:600 19px/1.3 Georgia,serif!important;color:#f5d08e!important;margin:0!important}
.ist-editor-back{border:1px solid #657589;background:#27394b;color:#f8f4ed;cursor:pointer;padding:10px 12px;border-radius:7px;font-weight:700}
.ist-editor-back:hover{background:#3b4e60;color:#fff}
.ist-native-edit .ist-edit-layout,.ist-native-edit .ist-edit-main,.ist-native-edit .contentwrapper,.ist-native-edit .body,.ist-native-edit .bodybox{width:100%!important;max-width:none!important;min-width:0!important;float:none!important;clear:both!important;margin:0!important;box-sizing:border-box!important}
.ist-native-edit .ist-edit-layout{padding:0!important}
.ist-native-edit .bodybox{padding:16px!important;background:#1b242f!important;border:1px solid #3c4b5a!important;border-radius:9px!important}
.ist-native-edit .agency_options_editprofile{width:100%!important;max-width:none!important;position:static!important;margin:0!important;padding:12px!important;float:none!important;background:#202c38!important;color:#edf2f6!important;border:1px solid #394b5b!important;border-radius:9px!important;box-sizing:border-box!important}
.ist-native-edit .agency_options_editprofile .register-form,.ist-native-edit .agency_options_editprofile form{max-width:100%!important}
.ist-native-edit .agency_options_editprofile input,.ist-native-edit .agency_options_editprofile select,.ist-native-edit .agency_options_editprofile textarea{color:#f5f7fa!important;background:#121a23!important;border:1px solid #516173!important}
/* Archives: guests get full width; logged-in menu occupies its own separate column. */
.ist-archive-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;gap:18px!important;width:min(1510px,calc(100% - 40px))!important;max-width:1510px!important;margin:24px auto 50px!important;align-items:start!important}
.ist-archive-shell .ist-archive-main,.ist-archive-shell .ist-directory{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
.ist-archive-shell .ist-owner-sidebar{position:sticky!important;top:14px!important}
.ist-archive-shell .ist-owner-sidebar .sidebar-right .dropdownlinks{margin-top:0!important}
/* Catalog: clear rhythm for the filters and gallery, with a subtle panel background. */
.ist-directory .ist-filters{grid-template-columns:170px minmax(0,1fr) minmax(0,1fr) 168px!important;align-items:end!important;column-gap:13px!important}
.ist-directory .ist-filter-label{align-self:center!important;min-height:55px!important;display:flex!important;align-items:center!important}
.ist-directory .ist-search-btn{grid-column:auto!important;height:45px!important;align-self:end!important;position:static!important;transform:none!important;margin:0!important;line-height:1.15!important}
.ist-directory .ist-reset{grid-column:2/-1;justify-self:end}
.ist-directory .ist-listings{padding:16px!important;border:1px solid #303b47!important;border-radius:10px!important;background:#151d26!important}
.ist-directory .ist-listings-head{padding-top:0!important}
.ist-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important}
/* Card overlays: aligned price + Verified; crown ~10% smaller than v1.7. */
.ist-card .ist-premium-chip{position:absolute!important;z-index:5!important;top:11px!important;right:11px!important;left:auto!important;bottom:auto!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:38px!important;height:35px!important;padding:4px!important;border-radius:7px!important;border:1px solid #ffd386!important;background:#151c24ee!important;color:#ffd478!important;box-shadow:0 2px 9px #0007!important;line-height:1!important;letter-spacing:normal!important}
.ist-card .ist-premium-chip svg{width:22px!important;height:22px!important;display:block}
.ist-card .ist-card-rate{position:absolute!important;z-index:6!important;left:9px!important;bottom:5px!important;top:auto!important;right:auto!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:max-content!important;height:22px!important;min-height:0!important;max-width:calc(100% - 18px)!important;margin:0!important;padding:1px 5px!important;background:#131b24ee!important;color:#fff!important;border:1px solid #af8b51!important;font-size:13px!important;font-weight:800!important;border-radius:4px!important;box-shadow:none!important;line-height:1!important;vertical-align:middle!important;white-space:nowrap!important}
.ist-card .ist-card-rate small{font-size:10px!important;line-height:1!important;font-weight:600!important}
.ist-card .ist-verified-chip{position:absolute!important;z-index:5!important;bottom:5px!important;right:9px!important;left:auto!important;top:auto!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;height:22px!important;min-height:0!important;margin:0!important;padding:1px 5px!important;background:#12a763!important;color:#fff!important;border:0!important;border-radius:4px!important;font-size:10px!important;line-height:1!important;font-weight:850!important;letter-spacing:.1px!important;text-shadow:none!important;vertical-align:middle!important;white-space:nowrap!important}
.ist-card .ist-new-chip{display:none!important}
.ist-card-content{padding:12px!important}
.ist-card-content h3{font-size:19px!important;line-height:1.22!important;margin:0 0 6px!important}
.ist-card-subline{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px 7px!important}
.ist-card-subline .ist-card-place{display:inline-flex!important;align-items:center!important;gap:4px!important;margin:0!important;font-size:12px!important;color:#c6d1dd!important;line-height:1.45!important}
.ist-card-subline .ist-card-nation{display:inline-block!important;font-size:11px!important;line-height:1.3!important;margin:0!important;padding:3px 7px!important;color:#f8ddb1!important;white-space:normal!important;overflow-wrap:anywhere!important}
/* Do not make category navigation disappear on mobile; move it BELOW all cards. */
@media(max-width:1150px){.ist-owner-shell,.ist-archive-shell{grid-template-columns:minmax(0,1fr) 255px!important;gap:13px!important;width:calc(100% - 25px)!important}.ist-directory .ist-filters{grid-template-columns:135px minmax(0,1fr) minmax(0,1fr) 135px!important}}
@media(max-width:900px){.ist-owner-shell,.ist-archive-shell{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.ist-owner-sidebar,.ist-archive-shell .ist-owner-sidebar{position:static!important;max-width:none!important}.ist-directory .ist-filters{grid-template-columns:1fr 1fr!important}.ist-directory .ist-filter-label{grid-column:1/-1!important}.ist-directory .ist-search-btn{grid-column:1/-1!important}.ist-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:710px){
.ist-owner-shell,.ist-archive-shell{width:calc(100% - 20px)!important;margin:12px auto 26px!important}
.ist-native-edit .bodybox{padding:12px!important}
.ist-directory .ist-page-layout{display:flex!important;flex-direction:column!important;gap:20px!important}
.ist-directory .ist-listings{order:1!important;width:100%!important;min-width:0!important;padding:12px!important}
.ist-directory .ist-directory-sidebar{order:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:0!important;width:100%!important}
.ist-directory .ist-filters{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.ist-directory .ist-filter-label,.ist-directory .ist-search-btn,.ist-directory .ist-reset{grid-column:auto!important}
.ist-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.ist-directory .ist-location-list{max-height:210px!important}
.ist-card-content{padding:10px!important}.ist-card-content h3{font-size:17px!important}
.ist-card-subline .ist-card-place{font-size:11px!important}.ist-card-subline .ist-card-nation{font-size:10px!important;padding:2px 6px!important}
.ist-card .ist-premium-chip{width:33px!important;height:31px!important;right:8px!important;top:8px!important}.ist-card .ist-premium-chip svg{height:20px!important;width:20px!important}
.ist-card .ist-card-rate{font-size:11px!important;height:21px!important;min-height:0!important;padding:1px 4px!important;left:7px!important;bottom:5px!important}
.ist-card .ist-card-rate small{font-size:9px!important}
.ist-card .ist-verified-chip{height:21px!important;min-height:0!important;bottom:5px!important;right:7px!important;font-size:9px!important;padding:1px 4px!important}
.ist-directory .ist-listings-head h2{font-size:23px!important}
}
@media(max-width:390px){.ist-directory .ist-directory-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ist-card-content h3{font-size:16px!important}.ist-directory .ist-side-panel-title h2{font-size:14px!important}}


/* Istanbul Atlas step: location terminology + compact primary navigation. */
/* The three links already exist in header.php; only their appearance changes. */
.ist-site-header .ist-main-nav{gap:8px!important}
.ist-site-header .ist-main-nav>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:35px!important;
  padding:7px 14px!important;
  border:1px solid #40505e!important;
  border-radius:7px!important;
  background:#1a232d!important;
  color:#f1f3f6!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.25!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:0 1px 3px #0002!important;
  transition:background-color .15s,border-color .15s,color .15s!important;
}
.ist-site-header .ist-main-nav>a:hover,
.ist-site-header .ist-main-nav>a:focus-visible{
  background:#293747!important;
  border-color:#d8a959!important;
  color:#fbe2ae!important;
}
.ist-site-header .ist-main-nav>a[aria-current="page"]{
  background:#302a21!important;
  border-color:#a98448!important;
  color:#ffd388!important;
}
/* Removing the decorative eyebrow must not leave a blank line above the H1. */
.ist-directory .ist-hero-main>h1:first-child{margin-top:0!important}
.ist-directory .ist-hero-main>.ist-breadcrumb:first-child{margin-top:0!important}
@media(max-width:950px){
  .ist-site-header .ist-main-nav{gap:7px!important}
  .ist-site-header .ist-main-nav>a{display:flex!important;justify-content:flex-start!important;min-height:42px!important;width:100%!important;padding:11px 13px!important}
}


/* Istanbul profile owner/admin layout — align with the site's ordinary content.
 * The management panel is not sticky. These rules affect only profile editing pages.
 */
@media (min-width: 901px) {
  body.single .ist-owner-shell.ist-container {
    /* Match the main site's left edge; preserve its current right edge. */
    --ist-profile-left: max(26px, calc((100vw - 1280px) / 2));
    width: calc(100% - var(--ist-profile-left)) !important;
    max-width: none !important;
    margin: 24px 0 54px var(--ist-profile-left) !important;
    grid-template-columns: minmax(0, 1fr) 270px !important;
    gap: 18px !important;
    align-items: start !important;
  }
  body.single .ist-owner-shell > .ist-owner-sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    margin: 37px 0 0 !important; /* align with profile card, below breadcrumbs */
    align-self: start !important;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  body.single .ist-owner-shell.ist-container {
    --ist-profile-left: max(18px, calc((100vw - 1100px) / 2));
  }
}
@media (max-width: 900px) {
  body.single .ist-owner-shell.ist-container {
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    margin: 14px auto 30px !important;
  }
  body.single .ist-owner-shell > .ist-owner-sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
  }
}
/* Keep open native editor forms inside their column rather than allowing floats
 * from EscortWP to spill over the management sidebar. */
.ist-native-edit .agency_options_dropdowns {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* ===== Oct 19: editor polish — no changes to public profile / server logic ===== */
/* The native Close control already closes the editor; remove the duplicate toolbar. */
body.single .ist-owner-shell .ist-native-edit .ist-editor-toolbar {
  display: none !important;
}
/* Let the original EscortWP form fill the space up to the sidebar. */
body.single .ist-owner-shell .ist-owner-primary,
body.single .ist-owner-shell .ist-native-edit,
body.single .ist-owner-shell .ist-native-edit .ist-edit-layout,
body.single .ist-owner-shell .ist-native-edit .ist-edit-main,
body.single .ist-owner-shell .ist-native-edit .contentwrapper,
body.single .ist-owner-shell .ist-native-edit .body,
body.single .ist-owner-shell .ist-native-edit .bodybox,
body.single .ist-owner-shell .ist-native-edit .agency_options_dropdowns,
body.single .ist-owner-shell .ist-native-edit .agency_options_editprofile {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
body.single .ist-owner-shell .ist-native-edit .ist-edit-layout {
  display: block !important;
  grid-template-columns: minmax(0,1fr) !important;
}
/* Stack native admin action rows predictably; preserve the buttons and forms. */
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons .upgradeescortparent {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
  clear: both !important;
  float: none !important;
  box-sizing: border-box !important;
}
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons .upgradebuttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  box-sizing: border-box !important;
}
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons .upgradebuttons .upgradebutton {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: calc(100% - 44px) !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 13px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.25 !important;
}
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons .upgradebuttons input[type="submit"] {
  float: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  box-sizing: border-box !important;
}
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons .upgradeescortbox {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 0 !important;
  box-sizing: border-box !important;
}
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons li > form > .text-center,
body.single .ist-owner-sidebar .sidebar-right .admineditbuttons li > form > .text-center > input[type="submit"] {
  max-width: 100% !important;
  box-sizing: border-box !important;
}


/* Istanbul photo uploader: native EscortWP drag/drop and file picker, now visible to owner. */
.ist-photo-upload-panel{margin-top:13px;padding:15px;background:#1a2632;border:1px solid #3e4f61;border-radius:10px;color:#ecf1f5}
.ist-photo-upload-panel h2{margin:0 0 5px!important;color:#f2d095!important;font-size:17px!important;font-weight:750!important;line-height:1.35!important}
.ist-photo-upload-panel>p{color:#acb9c6!important;font-size:12px!important;margin:0 0 12px!important;line-height:1.5!important}
.ist-photo-upload-panel .ist-native-photo-uploader{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;display:block!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
.ist-photo-upload-panel .profile-page-no-photos{box-sizing:border-box!important;width:100%!important;min-height:100px!important;padding:15px!important;background:#111c26!important;border:1px dashed #64809a!important;border-radius:8px!important;color:#eef3f7!important;cursor:pointer!important}
.ist-photo-upload-panel .profile-page-no-photos p{font-size:12px!important;color:#c8d6e4!important}
.ist-photo-upload-panel .profile-page-no-photos .icon{color:#efc887!important}
.ist-photo-upload-panel .profile_photos_button_container{display:block!important;visibility:visible!important;width:100%!important;height:auto!important;margin:10px 0 0!important;padding:0!important;opacity:1!important;float:none!important}
.ist-photo-upload-panel .uploadifive-button{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:38px!important;height:40px!important;line-height:1.3!important;border:1px solid #e4b765!important;border-radius:7px!important;background:#e4b765!important;color:#17202b!important;font-weight:800!important;font-size:13px!important;cursor:pointer!important}
.ist-photo-upload-panel .uploadifive-queue{width:100%!important;box-sizing:border-box!important;max-width:100%!important}


/* Photo management controls on the profile owner's visible gallery only. */
.ist-photo-upload-panel .ist-photo-manage{margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid #455669}
.ist-photo-upload-panel .ist-photo-manage-hint{margin:3px 0 12px!important;font-size:12px!important;color:#bfccd9!important;line-height:1.5}
.ist-photo-manage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}
.ist-photo-manage-item{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px;background:#101a24;border:1px solid #415166;border-radius:8px}
.ist-photo-manage-item>img{display:block;width:100%;height:145px;object-fit:cover;border-radius:5px}
.ist-photo-manage-item-actions{display:flex;flex-direction:column;gap:6px;margin-top:auto}
.ist-photo-manage-item-actions button{display:block;width:100%;min-height:35px;padding:7px 8px;border:1px solid #cfa769;border-radius:6px;background:#28394a;color:#ffdeaa;font-size:12px;font-weight:700;line-height:1.25;cursor:pointer}
.ist-photo-manage-item-actions button:hover{background:#364f65;color:#fff}
.ist-photo-manage-item-actions button.ist-photo-delete{border-color:#9a6265;background:#3c252c;color:#ffe0df}
.ist-photo-manage-item-actions button.ist-photo-delete:hover{background:#63313c}
.ist-photo-manage-item-actions button:disabled{cursor:wait;opacity:.55}
.ist-photo-current-main{display:flex;align-items:center;justify-content:center;min-height:35px;color:#b8e5cb;font-size:12px;font-weight:750;text-align:center}
.ist-photo-manage-status{min-height:1em;margin:8px 0 0!important;color:#f9cf96!important;font-size:12px!important}
@media(max-width:520px){.ist-photo-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ist-photo-manage-item>img{height:130px}}


/* Istanbul mobile header + paired filters V1 (2026-10-19)
   Layout only: preserve desktop, filter values, JavaScript and existing theme functions. */
@media (max-width:710px) {
  /* Keep the site name separate from its SEO title and on its own mobile row. */
  .ist-site-header .ist-header-row {
    column-gap:10px;
    row-gap:10px;
  }
  .ist-site-header .ist-brand {
    flex:1 1 100%;
    min-width:0;
    max-width:100%;
  }
  .ist-site-header .ist-brand > a {
    max-width:100%;
    min-width:0;
  }
  .ist-site-header .ist-brand-text {
    min-width:0;
    max-width:100%;
  }
  .ist-site-header .ist-brand-text strong {
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  /* Second row: Menu on the left, account/sign-in on the right. */
  .ist-site-header .ist-menu-toggle {margin-left:0!important;}
  .ist-site-header .ist-header-actions {margin-left:auto;}

  /* Exactly two equally sized dropdowns on mobile, including narrow phones. */
  .ist-directory .ist-filters {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:9px!important;
    row-gap:12px!important;
  }
  .ist-directory .ist-filters .ist-filter-label {
    grid-column:1 / -1!important;
  }
  .ist-directory .ist-filters .ist-filter-control {
    min-width:0!important;
    max-width:100%;
  }
  .ist-directory .ist-filters .ist-filter-control label {
    font-size:9px;
    letter-spacing:.6px;
  }
  .ist-directory .ist-filters .ist-filter-control select {
    display:block;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0!important;
    height:44px;
    padding:0 22px 0 8px!important;
    font-size:clamp(10px,2.7vw,12px)!important;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .ist-directory .ist-filters .ist-search-btn {
    grid-column:1 / -1!important;
    width:100%;
  }
  .ist-directory .ist-filters .ist-reset {
    grid-column:1 / -1!important;
    justify-self:start;
  }
}

@media (max-width: 710px) {
  .ist-directory .ist-filters .ist-filter-control select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 9px center !important;
    background-size: 12px 8px !important;
  }
}


/* === ISTANBUL / HS Advertising Credits v0.6.7 (owner interface only) === */
.ist-hsac-owner{background:#19232d;color:#ebeff4;border:1px solid #4c5360;border-radius:10px;padding:18px;margin:0 0 22px;max-width:100%;overflow-wrap:anywhere}
.ist-hsac-owner-heading{display:grid;gap:4px;margin-bottom:12px}
.ist-hsac-owner-heading>span:first-child{font-size:11px;text-transform:uppercase;letter-spacing:.9px;color:#bdc8d4;font-weight:750}
.ist-hsac-owner-heading strong{font-size:27px;color:#f6d590;line-height:1.2}
.ist-hsac-owner-heading strong small{font-size:12px;color:#d7e0e9}
.ist-hsac-owner-heading>span:last-child{font-size:12px;color:#cfd5e0}
.ist-hsac-owner-topup,.ist-hsac-owner .hsac-agency-card-footer form button{display:block;width:100%;border:0;border-radius:7px;padding:11px 10px;background:#dcb776;color:#171d22!important;text-align:center;font-size:13px;font-weight:800;cursor:pointer;text-decoration:none!important;line-height:1.4}
.ist-hsac-owner-topup:hover,.ist-hsac-owner .hsac-agency-card-footer form button:hover:not(:disabled){background:#f6d493;color:#161c23!important}
.ist-hsac-owner-actions{margin-top:14px}
.ist-hsac-owner .hsac-agency-card-footer{display:flex;flex-direction:column;gap:10px}
.ist-hsac-owner .hsac-agency-card-footer form{margin:0!important}
.ist-hsac-owner .hsac-agency-card-footer form button:disabled{background:#4c535b!important;color:#cbd2d8!important;cursor:not-allowed}
.ist-hsac-owner .hsac-agency-card-footer .hsac-boost-action button{background:#303841!important;color:#ffdb94!important;border:1px solid #ad874e!important}
.ist-hsac-owner .hsac-agency-premium-state,.ist-hsac-owner .hsac-agency-card-hint{display:block;font-size:12px;color:#dae1e8;line-height:1.5}
.ist-hsac-owner .hsac-agency-card-topup{font-size:12px;color:#f6ce84!important;text-decoration:underline!important}
.ist-manage-item>.hsac-agency-card-footer{border-top:1px solid #384754;background:#1e2a36;border-radius:0 0 9px 9px;padding:12px;display:flex;flex-direction:column;gap:9px;color:#dee6ee;max-width:100%}
.ist-manage-item>.hsac-agency-card-footer form{margin:0;max-width:100%}
.ist-manage-item>.hsac-agency-card-footer button{display:block;width:100%;border-radius:7px;border:0;background:#dcb776;color:#181c22;font-weight:800;font-size:12px;padding:10px 6px;cursor:pointer;white-space:normal}
.ist-manage-item>.hsac-agency-card-footer button:disabled{cursor:not-allowed;opacity:.5}
.ist-manage-item>.hsac-agency-card-footer .hsac-boost-action button{background:#34414c;color:#f8d593;border:1px solid #a58758}
.ist-manage-item>.hsac-agency-card-footer .hsac-agency-premium-state,.ist-manage-item>.hsac-agency-card-footer .hsac-agency-card-hint{display:block;font-size:11px;color:#d0d9e2;line-height:1.5}
.ist-manage-item>.hsac-agency-card-footer .hsac-agency-card-topup{font-size:12px;color:#f6d493;text-decoration:underline}
.manage_escorts_page .hsac-agency-balance{background:#1b2833;border:1px solid #435365;border-radius:9px;color:#fff;display:flex;justify-content:space-between;gap:16px;padding:16px;margin:10px 0 18px;flex-wrap:wrap}
.manage_escorts_page .hsac-agency-balance-copy,.manage_escorts_page .hsac-agency-boost-balance{display:flex;flex-direction:column;gap:3px}
.manage_escorts_page .hsac-agency-balance-copy>strong,.manage_escorts_page .hsac-agency-boost-balance>strong{font-size:26px;color:#f5d18d}
.manage_escorts_page .hsac-agency-balance-copy>strong small,.manage_escorts_page .hsac-agency-boost-balance>strong small{font-size:12px;color:#d2dce6}
.manage_escorts_page .hsac-agency-balance-copy>span,.manage_escorts_page .hsac-agency-boost-balance>span{font-size:11px;color:#bdc7d1}
.manage_escorts_page .hsac-agency-topup{display:inline-flex;align-items:center;justify-content:center;background:#dcb776;color:#181b20!important;padding:11px 16px;border-radius:7px;font-size:12px;font-weight:850}
.manage_escorts_page .hsac-agency-balance-summary{display:flex;flex-wrap:wrap;gap:20px}
.manage_escorts_page .hsac-agency-boost-balance{padding-left:16px;border-left:1px solid #405268}
.manage_escorts_page .hsac-agency-notice{border-radius:8px;padding:12px;margin:12px 0;background:#253f34;color:#f0fff5}
body .ist-owner-sidebar .sidebar-right>.ist-hsac-owner{display:block!important;margin:0 0 16px}
@media(max-width:700px){.manage_escorts_page .hsac-agency-topup{width:100%}.ist-manage-item>.hsac-agency-card-footer{padding:10px}.ist-hsac-owner{padding:14px}}

/* Istanbul 2026-10-20: management cards only — ~25% narrower than 370px original. */
.manage_escorts_page .ist-manage-grid.ist-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),280px))!important;
  justify-content:start;
  align-items:start;
  gap:16px!important;
}
.manage_escorts_page .ist-manage-grid .ist-manage-item{
  width:100%;min-width:0;max-width:280px;
}
.manage_escorts_page .ist-manage-grid .ist-manage-item>.ist-card{
  width:100%;max-width:100%;box-sizing:border-box;
}
.manage_escorts_page .ist-manage-actions{overflow-wrap:anywhere}
.ist-hsac-owner .ist-hsac-my-account{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0 0 14px;padding:10px 13px;border-radius:7px;background:#dbb878;color:#17212a!important;font-size:13px;font-weight:800;text-decoration:none!important}
.ist-hsac-owner .ist-hsac-my-account:hover,.ist-hsac-owner .ist-hsac-my-account:focus-visible{background:#f4d49b;color:#17212a!important}
@media(max-width:710px){
  .manage_escorts_page .ist-manage-grid.ist-card-grid{grid-template-columns:minmax(0,min(100%,280px))!important;justify-content:center;gap:14px!important}
}
