/* Travel S Helper — Hagia Irene approved layout candidate V71R5
   Variant B selected by user. Quick Facts moved to sidebar; Location + Quick Facts sticky together.
   Primary image label removed. Introduction H2 uses same editorial heading system as all chapter H2s. */

/* Travel S Helper — Hagia Irene layout experiment V71R3
   User-directed comparison: mosaic gallery + sticky Location; Variant B keeps all editorial H2 content in the left column. */

.tsh-place-v71r5 .v71-gallery-mosaic{
  display:grid!important;
  grid-template-columns:2fr 1fr 1fr!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%;
  aspect-ratio:2.5/1;
  margin:0!important;
  border-radius:20px;
  overflow:hidden!important;
  background:#fff!important;
}
.tsh-place-v71r5 .v71-gallery-mosaic>button{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0;
  min-height:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden;
  background:#26221f;
  cursor:zoom-in;
  aspect-ratio:auto!important;
}
.tsh-place-v71r5 .v71-gallery-mosaic>button img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease,opacity .35s ease;
}
.tsh-place-v71r5 .v71-gallery-mosaic>button:hover img{transform:scale(1.018)}
.tsh-place-v71r5 .v71-gallery-mosaic .v71-primary{grid-column:1;grid-row:1/3}
.tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-1{grid-column:2;grid-row:1}
.tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-2{grid-column:2;grid-row:2}
.tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-3{grid-column:3;grid-row:1}
.tsh-place-v71r5 .v71-gallery-mosaic .v71-view-all{grid-column:3;grid-row:2}
.tsh-place-v71r5 .v71-primary-label{
  position:absolute;left:18px;bottom:16px;z-index:2;
  padding:7px 11px;border-radius:999px;
  background:rgba(20,18,16,.86);color:#fff;
  font-size:9px;line-height:1;font-weight:850;letter-spacing:.045em;text-transform:uppercase;
  box-shadow:0 3px 12px rgba(0,0,0,.2)
}
.tsh-place-v71r5 .v71-view-all img{
  filter:blur(2.4px) brightness(.42) saturate(.72);
  transform:scale(1.055)!important;
}
.tsh-place-v71r5 .v71-view-all:hover img{transform:scale(1.075)!important}
.tsh-place-v71r5 .v71-view-all:after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,20,20,.16),rgba(20,20,20,.36));z-index:1
}
.tsh-place-v71r5 .v71-view-all-copy{
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:16px;text-align:center;color:#fff
}
.tsh-place-v71r5 .v71-camera{width:27px;height:27px;margin-bottom:10px;color:#ffd91f}
.tsh-place-v71r5 .v71-view-all-copy strong{font-size:17px;line-height:1.12;font-weight:850;letter-spacing:-.02em}
.tsh-place-v71r5 .v71-view-all-copy small{margin-top:6px;font-size:11px;line-height:1.2;font-weight:500;color:rgba(255,255,255,.88)}

/* The practical rail remains on the right. Only Location sticks after its natural position is reached. */
.tsh-place-v71r5 .content-grid.container{align-items:stretch}
.tsh-place-v71r5 .v8-visit-rail{align-self:stretch!important;position:relative!important;top:auto!important}
.tsh-place-v71r5 .v8-location-module{position:sticky;top:112px;z-index:3}

/* Variant B — Introduction + Quick Facts + every H2 chapter stay in the left editorial column. */
.tsh-place-v71r5-b .maincol>.tsh-facts-band{
  margin-top:62px;padding:44px 0 48px;border-top:1px solid #e7e0d8;border-bottom:1px solid #e7e0d8
}
.tsh-place-v71r5-b .maincol>.tsh-facts-band>.container{width:100%;max-width:none;margin:0;padding:0}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-facts-heading{grid-template-columns:1fr;gap:12px;margin-bottom:24px}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-facts-heading p{max-width:720px}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact,
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:not(:nth-child(4n+1)){
  padding:17px 18px 16px 0;border-left:0
}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:nth-child(even){border-left:1px solid #e6dfd7;padding-left:18px}
.tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:nth-child(n+3){border-top:1px solid #e6dfd7}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell{padding:0;background:#fff!important}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell>.container{width:100%;max-width:none;margin:0;padding:0}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .native-longform{width:100%;max-width:none;padding-bottom:78px}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .chapter:first-child{padding-top:66px}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .chapter{padding-top:66px}
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .rule + .chapter{padding-top:60px}
/* In a two-column layout editorial images stay inside the reading column and never overlap the sidebar. */
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .editorial-image,
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .v7-image-1,
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .v7-image-2,
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .v7-image-3,
.tsh-place-v71r5-b .maincol>.galata-v6-native-shell .v7-image-4{
  width:100%;max-width:100%;margin:48px 0 8px 0;transform:none
}

@media(max-width:1080px){
  .tsh-place-v71r5 .v8-location-module{position:relative;top:auto}
  .tsh-place-v71r5 .v8-visit-rail{align-self:start!important}
  .tsh-place-v71r5-b .maincol>.tsh-facts-band{margin-top:54px}
}
@media(max-width:900px){
  .tsh-place-v71r5 .v71-gallery-mosaic{
    grid-template-columns:1.7fr 1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;aspect-ratio:1.85/1
  }
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-primary{grid-column:1;grid-row:1/3}
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-1{grid-column:2;grid-row:1}
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-view-all{grid-column:2;grid-row:2}
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-2,
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-3{display:none!important}
}
@media(max-width:680px){
  .tsh-place-v71r5 .v71-gallery-mosaic{
    display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:auto auto!important;gap:6px!important;aspect-ratio:auto;border-radius:13px
  }
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-primary{grid-column:1/3;grid-row:1;aspect-ratio:4/3!important;min-height:0}
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-tile-1{grid-column:1;grid-row:2;aspect-ratio:4/3!important}
  .tsh-place-v71r5 .v71-gallery-mosaic .v71-view-all{grid-column:2;grid-row:2;aspect-ratio:4/3!important}
  .tsh-place-v71r5 .v71-primary-label{left:10px;bottom:10px;padding:6px 9px;font-size:8px}
  .tsh-place-v71r5 .v71-view-all-copy strong{font-size:14px}
  .tsh-place-v71r5 .v71-view-all-copy small{font-size:9.5px}
  .tsh-place-v71r5 .v71-camera{width:23px;height:23px;margin-bottom:7px}
  .tsh-place-v71r5-b .maincol>.tsh-facts-band{margin-top:46px;padding:38px 0 40px}
  .tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-facts-grid{grid-template-columns:1fr}
  .tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact,
  .tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:not(:nth-child(4n+1)),
  .tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:nth-child(even){border-left:0;padding:15px 0}
  .tsh-place-v71r5-b .maincol>.tsh-facts-band .tsh-fact:nth-child(n+2){border-top:1px solid #e6dfd7}
}


/* V71R5 OVERRIDES — approved direction */
.tsh-place-v71r5 .v71-primary-label{display:none!important}

/* Introduction uses the exact same visual heading grammar as later chapter H2s. */
.tsh-place-v71r5 .v8-intro>.v8-editorial-head{max-width:930px;margin:0 auto 35px;text-align:center}
.tsh-place-v71r5 .v8-intro>.v8-editorial-head .v8-kicker{justify-content:center}
.tsh-place-v71r5 .v8-intro>.v8-editorial-head .v8-kicker:before{display:block}
.tsh-place-v71r5 .v8-intro>.v8-editorial-head .v8-kicker:after{width:58px}
.tsh-place-v71r5 .v8-intro>.v8-editorial-head h2{max-width:910px;margin:0 auto;text-align:center;font-size:clamp(37px,4.7vw,56px)}
.tsh-place-v71r5 .v8-intro>.v8-editorial-head .v8-deck{max-width:720px;margin:15px auto 0;text-align:center}

/* Quick Facts no longer exists in the reading column. */
.tsh-place-v71r5-b .maincol>.tsh-facts-band{display:none!important}

/* Working Hours remains normal. Location + Quick Facts form one sticky utility stack. */
.tsh-place-v71r5 .v8-visit-rail{align-self:stretch!important;position:relative!important;top:auto!important}
.tsh-place-v71r5 .v8-location-module{position:relative!important;top:auto!important;z-index:auto!important}
.tsh-place-v71r5 .v71-sticky-stack{display:flex;flex-direction:column;gap:36px;align-self:start;min-width:0}
@media (min-width:1081px) and (min-height:980px){
  .tsh-place-v71r5 .v71-sticky-stack{position:sticky;top:104px;z-index:3}
}
/* Compact the sticky pair enough to remain useful on normal desktop heights. */
.tsh-place-v71r5 .v71-sticky-stack .v8-map-wrap{height:162px}
.tsh-place-v71r5 .v71-sticky-stack .v8-location-copy{padding:15px 17px 14px}
.tsh-place-v71r5 .v71-quickfacts-card .v8-facts-row{grid-template-columns:102px minmax(0,1fr);gap:12px;padding:9px 15px}
.tsh-place-v71r5 .v71-quickfacts-card .v8-facts-row dt{font-size:7.4px}
.tsh-place-v71r5 .v71-quickfacts-card .v8-facts-row dd{font-size:9.2px;line-height:1.45}

@media(max-width:1080px){
  .tsh-place-v71r5 .v71-sticky-stack{position:relative;top:auto;gap:44px}
  .tsh-place-v71r5 .v71-sticky-stack .v8-map-wrap{height:205px}
}
@media(max-width:680px){
  .tsh-place-v71r5 .v8-intro>.v8-editorial-head h2{font-size:38px}
  .tsh-place-v71r5 .v8-intro>.v8-editorial-head{margin-bottom:31px}
}

/* Hotel and restaurant decision grids: keep incomplete rows balanced. */
.tsh-place-v71r5 .galata-v6-native-shell .editorial-image,
.tsh-place-v71r5 .galata-v6-native-shell .v7-image-1,
.tsh-place-v71r5 .galata-v6-native-shell .v7-image-2,
.tsh-place-v71r5 .galata-v6-native-shell .v7-image-3,
.tsh-place-v71r5 .galata-v6-native-shell .v7-image-4{
  width:min(1120px,calc(100vw - 56px));margin-top:58px
}
.tsh-place-v71r5 .tsh-nearby-expanded{padding-top:76px}
.tsh-place-v71r5 .tsh-nearby-expanded .section-title{margin-bottom:28px}
.tsh-place-v71r5 .tsh-nearby-expanded .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tsh-place-v71r5 .tsh-nearby-expanded .place-card{display:flex;flex-direction:column;height:100%}
.tsh-place-v71r5 .tsh-nearby-expanded .card-body{display:flex;flex:1;flex-direction:column}
.tsh-place-v71r5 .tsh-nearby-expanded .card-bottom{margin-top:auto}
@media(max-width:1080px){
  .tsh-place-v71r5 .tsh-nearby-expanded .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .tsh-place-v71r5 .galata-v6-native-shell .editorial-image,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-1,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-2,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-3,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-4{width:calc(100vw - 32px)}
  .tsh-place-v71r5 .tsh-nearby-expanded .cards{grid-template-columns:1fr}
}
.tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(3n+1){
  border-left:0;padding-left:0
}
.tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:not(:nth-child(3n+1)){
  border-left:1px solid #e6dfd7;padding-left:22px
}
.tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(n+4){
  border-top:1px solid #e6dfd7
}
.tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(3n+1){
  border-left:0
}
.tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(n+4){
  border-top:1px solid #e5ded5
}
@media(max-width:820px){
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(n){
    border-left:0;padding-left:0
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(even){
    border-left:1px solid #e6dfd7;padding-left:22px
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(n+3){
    border-top:1px solid #e6dfd7
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(3n+1){
    border-left:1px solid #e5ded5
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(odd){
    border-left:0
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(n+3){
    border-top:1px solid #e5ded5
  }
}
@media(max-width:560px){
  .tsh-place-v71r5 .galata-v6-native-shell .editorial-image,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-1,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-2,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-3,
  .tsh-place-v71r5 .galata-v6-native-shell .v7-image-4{
    width:calc(100vw - 32px);margin-top:46px
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three{
    grid-template-columns:1fr
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(n),
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(even){
    border-left:0;padding:16px 0 15px
  }
  .tsh-place-v71r5 .tsh-facts-grid.tsh-facts-grid--three .tsh-fact:nth-child(n+2){
    border-top:1px solid #e6dfd7
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three{
    grid-template-columns:1fr
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(n){
    border-left:0
  }
  .tsh-place-v71r5 .tsh-v44-lens-grid.tsh-v44-lens-grid--three .tsh-v44-lens:nth-child(n+2){
    border-top:1px solid #e5ded5
  }
}


/* V71R5 FINAL OVERRIDES — Quick Facts returned to editorial column; only Location sticky. */
/* Restore Quick Facts immediately after Introduction in the left reading column. */
.tsh-place-v71r5-b .maincol>.tsh-facts-band{display:block!important}

/* Sidebar remains intentionally minimal: Working Hours + Location only. */
.tsh-place-v71r5 .v8-visit-rail{align-self:stretch!important;position:relative!important;top:auto!important}
.tsh-place-v71r5 .v8-location-module{position:sticky!important;top:104px!important;z-index:3!important;align-self:start}

/* Legacy R4 sticky-stack rules are inert because the wrapper is removed; keep mobile behavior explicit. */
@media(max-width:1080px){
  .tsh-place-v71r5 .v8-location-module{position:relative!important;top:auto!important;z-index:auto!important}
  .tsh-place-v71r5 .v8-visit-rail{align-self:start!important}
}

/* Keep verified walking distance and time together inside Nearby cards. */
.tsh-place-v71r5 .nearby-section .distance-pill{white-space:nowrap}
