/* Travel S Helper — Turkey Places V17
   Only fixes the main header extraction and local Turkey desktop nav composition.
   V16 Introduction/sidebar/search integration improvements remain. */

/* Compact editorial directory navigation: no space-between stretching. */
.tsh-v17 .site-header .header-row{
  width:min(1320px,calc(100% - 56px));
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  padding-right:0;
  display:grid;
  grid-template-columns:auto minmax(300px,420px) auto;
  align-items:center;
  justify-content:center;
  gap:clamp(28px,2.4vw,42px);
}

.tsh-v17 .site-header .brand{
  justify-self:start;
  min-width:0;
}

.tsh-v17 .site-header .head-search{
  width:100%;
  max-width:420px;
  margin:0;
  justify-self:center;
}

.tsh-v17 .site-header .tsh-directory-nav-links{
  width:auto!important;
  min-width:0;
  margin:0;
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end!important;
  gap:clamp(17px,1.45vw,25px)!important;
}

.tsh-v17 .site-header .tsh-directory-nav-links a{
  flex:0 0 auto;
  padding-left:2px;
  padding-right:2px;
  white-space:nowrap;
}

/* Intermediate widths: old Menu only, search can stay where space permits. */
@media(max-width:1080px){
  .tsh-v17 .site-header .header-row{
    width:calc(100% - 40px);
    grid-template-columns:auto minmax(220px,1fr) auto;
    justify-content:stretch;
    gap:16px;
  }
  .tsh-v17 .site-header .tsh-directory-nav-links{
    display:none!important;
  }
  .tsh-v17 .site-header .mobile-menu-btn{
    display:block!important;
    justify-self:end;
  }
}

/* Phones: Discover Türkiye + Menu only. */
@media(max-width:720px){
  .tsh-v17 .site-header .header-row{
    width:calc(100% - 32px);
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
  }
  .tsh-v17 .site-header .head-search{
    display:none!important;
  }
}
