.tbm-hd{position:sticky;top:0;z-index:999;font-family:var(--tbm-font,system-ui),system-ui,sans-serif;background:#fff;box-shadow:0 2px 12px rgba(15,42,82,.08)}
body.admin-bar .tbm-hd{top:32px}
.tbm-hd__in{max-width:var(--tbm-width,1140px);margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:18px}
.tbm-hd__top{background:var(--tbm-navy2,#0F2A52);color:#fff;font-size:13px;height:30px}
.tbm-hd__top .tbm-hd__in{height:100%;justify-content:space-between}
.tbm-hd__top a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.tbm-hd__soc{display:flex;gap:14px}
.tbm-hd__main .tbm-hd__in{min-height:70px;justify-content:space-between}
.tbm-hd__brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--tbm-navy,#163A6B)}
.tbm-hd__brand img{width:46px;height:46px;object-fit:contain}
.tbm-hd__brand{flex:none}.tbm-hd__brand b{white-space:nowrap;display:block;font-weight:400;font-size:19px;line-height:1.1}
.tbm-hd__brand small{display:block;font-size:11px;color:var(--tbm-muted,#5b6b82);letter-spacing:.3px;font-family:system-ui,sans-serif}
.tbm-hd__nav{display:flex;gap:4px;align-items:center}
.tbm-hd__nav a{white-space:nowrap;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--tbm-ink,#1c2b40);font-size:16px;transition:.15s}
.tbm-hd__nav a:hover{background:var(--tbm-bg,#f4f7fb);color:var(--tbm-accent,#F0561F)}
.tbm-hd__nav a[aria-current]{color:var(--tbm-accent,#F0561F);box-shadow:inset 0 -3px 0 var(--tbm-accent,#F0561F);border-radius:8px 8px 0 0}
.tbm-hd .tbm-hd__burger{display:none;background:none!important;border:0!important;box-shadow:none;padding:10px;cursor:pointer;color:inherit}.tbm-hd .tbm-hd__burger:hover,.tbm-hd .tbm-hd__burger:focus{background:none!important}
.tbm-hd__burger span{display:block;width:24px;height:2.5px;background:var(--tbm-navy,#163A6B);margin:5px 0;border-radius:2px;transition:.2s}
.tbm-hd.is-open .tbm-hd__burger span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.tbm-hd.is-open .tbm-hd__burger span:nth-child(2){opacity:0}
.tbm-hd.is-open .tbm-hd__burger span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
@media(max-width:900px){
 .tbm-hd .tbm-hd__burger{display:block}
 .tbm-hd__main .tbm-hd__in{flex-wrap:wrap}
 .tbm-hd__nav{display:none;flex-direction:column;align-items:stretch;width:100%;padding:6px 0 14px;border-top:1px solid #e3e9f2;gap:0;max-height:70vh;overflow:auto}
 .tbm-hd.is-open .tbm-hd__nav{display:flex}
 .tbm-hd__nav a{white-space:normal;padding:14px 6px;border-radius:0;border-bottom:1px solid #eef2f8}
 .tbm-hd__nav a[aria-current]{box-shadow:none}
}
@media(max-width:782px){body.admin-bar .tbm-hd{top:46px}}
.tbm-ft{background:var(--tbm-navy2,#0F2A52);color:#c9d6ea;font-family:system-ui,sans-serif;width:100%}
.tbm-ft__in{max-width:var(--tbm-width,1140px);margin:0 auto;padding:0 20px}
.tbm-ft>.tbm-ft__in{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-top:56px;padding-bottom:40px}
.tbm-ft h4{color:#fff;font-family:var(--tbm-font,system-ui);font-weight:400;font-size:18px;margin:0 0 14px}
.tbm-ft__col a{display:flex;align-items:center;gap:8px;color:#c9d6ea;text-decoration:none;padding:5px 0;font-size:15px}
.tbm-ft__col a:hover{color:#fff}
.tbm-ft__about p{margin:14px 0 0;line-height:1.6;font-size:15px}
.tbm-ft__soc{display:flex;gap:10px;margin-top:10px}
.tbm-ft__soc a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);justify-content:center;padding:0}
.tbm-ft__soc a:hover{background:var(--tbm-accent,#F0561F)}
.tbm-ft__legal{border-top:1px solid rgba(255,255,255,.14);font-size:13px}
.tbm-ft__legal .tbm-ft__in{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:16px;padding-bottom:16px}
.tbm-ft__links{display:flex;gap:18px;flex-wrap:wrap}
.tbm-ft__links a{color:#c9d6ea;text-decoration:none}.tbm-ft__links a:hover{color:#fff}
@media(max-width:900px){.tbm-ft>.tbm-ft__in{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tbm-ft>.tbm-ft__in{grid-template-columns:1fr;padding-top:40px}}
.tbm-ft__about{text-align:center;display:flex;flex-direction:column;align-items:center}
.tbm-ft__about img{width:190px;height:auto;display:block}
.tbm-ft__about p{max-width:260px;margin-top:12px}
@media(max-width:560px){.tbm-ft__about{align-items:flex-start;text-align:start}}
.tbm-hd__brand img{width:60px;height:60px}
.tbm-hd__main .tbm-hd__in{min-height:82px}
@media(max-width:900px){.tbm-hd__brand img{width:50px;height:50px}.tbm-hd__main .tbm-hd__in{min-height:70px}}
.tbm-hd__brand{align-items:center}
.tbm-hd__brand img{width:auto;height:54px;max-width:none;display:block;align-self:center}
.tbm-hd__brand>span{display:flex;flex-direction:column;justify-content:center;gap:2px}
.tbm-hd__brand b,.tbm-hd__brand small{line-height:1.2;margin:0}
@media(max-width:900px){.tbm-hd__brand img{width:auto;height:40px}}
/* 0.8.6 – פוטר קומפקטי */
.tbm-ft>.tbm-ft__in{padding-top:32px;padding-bottom:20px;gap:24px}
.tbm-ft h4{font-size:16px;margin-bottom:8px}
.tbm-ft__col a{font-size:14px;padding:3px 0}
.tbm-ft__about img{width:140px}
.tbm-ft__about p{font-size:14px;margin-top:8px;line-height:1.5}
.tbm-ft__soc a{width:32px;height:32px}
.tbm-ft__legal .tbm-ft__in{padding-top:10px;padding-bottom:10px}
@media(max-width:560px){.tbm-ft>.tbm-ft__in{padding-top:28px}}
