/* TesisatBazaar ortak public header / mobil navigasyon */
.tbp-header{background:#0b172a;color:#fff;position:relative;z-index:20}
.tbp-shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.tbp-topline{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.tbp-brand{display:inline-flex;align-items:center;gap:11px;min-width:0;color:#fff;text-decoration:none}
.tbp-brand-symbol{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#119b8d;border-radius:11px;color:#fff;font-weight:900;font-size:20px}
.tbp-brand-label{display:grid;gap:3px;min-width:0}
.tbp-brand-label strong{font-size:17px;font-weight:900}
.tbp-brand-label small{font-size:11px;color:#b4c9d2;line-height:1.3}
.tbp-actions{display:flex;gap:8px;align-items:center}
.tbp-cta{display:inline-flex;justify-content:center;align-items:center;padding:9px 14px;min-height:39px;background:#0f8278;border-radius:9px;text-decoration:none;color:#fff;font-weight:800;font-size:12px;white-space:nowrap}
.tbp-nav{display:flex;align-items:center;gap:20px;border-top:1px solid #2a3c4c;min-height:43px;overflow-x:auto;scrollbar-width:thin}
.tbp-nav a{padding:12px 0;color:#cbdce2;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;border-bottom:2px solid transparent}
.tbp-nav a[aria-current="page"],.tbp-nav a:hover{color:#5eead4;border-bottom-color:#2dd4bf}
.tbp-cta:hover{background:#0da395;color:#fff}
@media(max-width:600px){.tbp-shell{width:calc(100% - 22px)}.tbp-topline{min-height:65px;gap:8px}.tbp-brand-label small{display:none}.tbp-brand-label strong{font-size:15px}.tbp-brand-symbol{width:38px;height:38px}.tbp-cta{padding:8px 10px;font-size:10px}.tbp-nav{gap:18px}.tbp-nav a{font-size:11px}}

/* Kamuya açık sayfalarda ortak footer. Tüm sınıflar tbp- ile izole edilmiştir. */
.tbp-footer{background:#0b172a;color:#dce9ef;padding:46px 0 0;font-family:inherit}
.tbp-footer-shell{width:min(1180px,calc(100% - 32px));margin:auto;display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:36px;padding-bottom:36px}
.tbp-footer-brand{color:#fff;text-decoration:none;font-size:21px;font-weight:850}
.tbp-footer-about p{color:#a9becb;line-height:1.7;font-size:14px;max-width:350px;margin:12px 0 0}
.tbp-footer-section h2{color:#fff;font-size:14px;font-weight:800;margin:0 0 14px}
.tbp-footer-section nav{display:grid;gap:11px}
.tbp-footer-section a{color:#c3d4de;font-size:13px;text-decoration:none;line-height:1.5}
.tbp-footer-section a:hover,.tbp-footer-brand:hover{color:#5eead4}
.tbp-footer-bottom{border-top:1px solid #2c4152;text-align:center;padding:17px 12px;font-size:12px;color:#9eb4c2}
@media(max-width:680px){.tbp-footer-shell{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.tbp-footer-about{grid-column:1/-1}.tbp-footer{padding-top:32px}}
@media(max-width:380px){.tbp-footer-shell{grid-template-columns:1fr}.tbp-footer-about{grid-column:auto}}

/* Mobil ana navigasyon: yatay kaydırma yerine erişilebilir açılır menü. */
.tbp-mobile-menu{display:none}
@media(max-width:760px){
 .tbp-nav{display:none}
 .tbp-mobile-menu{display:block;border-top:1px solid #2a3c4c}
 .tbp-mobile-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px;color:#e2f1f3;font-size:13px;font-weight:800;cursor:pointer;list-style:none;min-height:44px}
 .tbp-mobile-menu summary::-webkit-details-marker{display:none}
 .tbp-mobile-menu summary:focus-visible,.tbp-mobile-links a:focus-visible{outline:2px solid #5eead4;outline-offset:3px}
 .tbp-menu-bars{font-size:20px;line-height:1}
 .tbp-mobile-menu[open] .tbp-menu-bars{transform:rotate(90deg)}
 .tbp-mobile-links{display:grid;gap:2px;padding:5px 0 14px}
 .tbp-mobile-links a{display:block;text-decoration:none;color:#d9e6ee;font-size:14px;font-weight:650;padding:11px 12px;border-radius:9px}
 .tbp-mobile-links a:hover,.tbp-mobile-links a[aria-current="page"]{background:#123d4a;color:#83f5de}
}
/* Üç footer bağlantı sütunu; orta boy ekranda kademeli kırılım. */
@media(min-width:681px){.tbp-footer-shell{grid-template-columns:minmax(0,1.8fr) repeat(3,minmax(0,1fr));gap:22px}}
@media(min-width:681px) and (max-width:950px){.tbp-footer-shell{grid-template-columns:repeat(2,minmax(0,1fr))}.tbp-footer-about{grid-column:1/-1}}

/* v4: responsive navigation/footer safeguards */
.tbp-header *, .tbp-footer * {box-sizing:border-box}
.tbp-brand-label strong {overflow-wrap:anywhere}
.tbp-footer a:focus-visible,.tbp-nav a:focus-visible,.tbp-cta:focus-visible {outline:2px solid #5eead4;outline-offset:3px}
@media (max-width:760px) {
 .tbp-shell{max-width:100%}
 .tbp-topline{flex-wrap:wrap}
 .tbp-actions{margin-left:auto}
 .tbp-mobile-links a{overflow-wrap:anywhere}
}
@media (min-width:381px) and (max-width:680px) {
 .tbp-footer-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:380px) {
 .tbp-footer-shell{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce) {.tbp-menu-bars{transition:none!important}}

/* v5: mobile tap targets and safe wrapping across public layouts */
.tbp-footer-section a{display:inline-block;max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){
 .tbp-mobile-links a{min-height:44px;display:flex;align-items:center}
 .tbp-footer-section nav a{padding:5px 0;min-height:32px}
 .tbp-topline{min-width:0}
 .tbp-header{max-width:100%}
}

/* v6: accessible filter controls and keyboard focus on public listings */
@supports selector(:focus-visible) {
  .tbp-header a:focus-visible,.tbp-header summary:focus-visible,
  .tbp-footer a:focus-visible,
  .filter-field input:focus-visible,.filter-field select:focus-visible,
  .field input:focus-visible,.field select:focus-visible,
  .tk-search input:focus-visible,
  .filter-field button:focus-visible,.field button:focus-visible,
  .tk-search button:focus-visible {
    outline:3px solid #0d9488;
    outline-offset:3px;
  }
  .tbp-header a:focus-visible,.tbp-header summary:focus-visible,
  .tbp-footer a:focus-visible {outline-color:#5eead4}
}
@media (max-width:760px) {
  /* Scoped to searchable public listing/knowledge controls, not admin forms. */
  .filter-field input,.filter-field select,
  .field input,.field select,
  .tk-search input,.tk-search button {min-height:44px;max-width:100%;font-size:16px}
  .filter-field,.field,.tk-search {min-width:0}
  .filter-field input,.filter-field select,.field input,.field select,
  .tk-search input {box-sizing:border-box;width:100%}
  .tbp-footer-section nav a {min-height:44px;display:flex;align-items:center;padding-block:8px}
}

/* Klavye kullanicilari icin ortak icerige gec baglantisi. */
.tbp-skip-link{position:absolute;left:12px;top:-120px;z-index:10000;display:inline-block;padding:12px 18px;background:#fff;color:#0b172a;border:2px solid #0f8278;border-radius:8px;font-weight:800;text-decoration:none}
.tbp-skip-link:focus,.tbp-skip-link:focus-visible{top:12px;outline:3px solid #0f8278;outline-offset:3px}
#tb-main-content{scroll-margin-top:16px}

/* Tek üyelik: firma izni olan üyelerde ikinci, ikincil navigasyon bağlantısı. */
.tbp-cta-secondary{background:transparent;border:1px solid #3a6471;color:#e4f6f4}
.tbp-cta-secondary:hover{background:#153d49;color:#fff}
@media(max-width:480px){.tbp-actions{flex-wrap:wrap;justify-content:flex-end}.tbp-cta-secondary{font-size:10px}}
