/* Shared site header — used by index.html, guides-videos.html, tka-guide.html,
   and tha-guide.html. Edit only here; do not re-duplicate these rules into a
   page's own <style> block (that's exactly how the header drifted out of
   sync between pages before this file existed). */

.site-header{
  position:sticky;
  top:0;
  z-index:300;
  background:#e6e6e6;
  border-bottom:1px solid #c7c7c7;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:14px;
  max-width:1100px;
  margin:0 auto;
  padding:16px 40px;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#222;}
.logo-icon{
  display:block;
  width:68px;height:56px;
  background-image:url('header-logo.png');
  background-size:492px 131px;
  background-position:-2px -7px;
  background-repeat:no-repeat;
  flex:0 0 auto;
}
.brand-text{display:flex;flex-direction:column;}
.site-title{
  font-family:palantino, georgia, serif;
  font-size:1.25rem;
  color:#222;
}
.site-tagline{font-size:.8rem;color:#777;}

/* Desktop nav */
.site-nav{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}
.site-nav a{
  text-decoration:none;
  color:#444;
  font-size:.92rem;
  font-weight:600;
  transition:color .15s ease;
}
.site-nav a:hover{color:#1e73be;}
.site-nav a[aria-current="page"]{color:#1e73be;}

/* Mobile: nav collapses to an icon; tapping it opens a dropdown below the
   header instead of showing the links inline (site-header.js). */
.nav-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:none;
  font-size:24px;
  line-height:1;
  color:#444;
  cursor:pointer;
  padding:4px 6px;
}
.site-nav-mobile{
  display:none;
  flex-direction:column;
  background:#e6e6e6;
  border-top:1px solid #c7c7c7;
}
.site-nav-mobile.open{display:flex;}
.site-nav-mobile a{
  padding:12px 20px;
  text-decoration:none;
  color:#444;
  font-weight:600;
  border-bottom:1px solid #d8d8d8;
}
.site-nav-mobile a:last-child{border-bottom:none;}
.site-nav-mobile a:hover,
.site-nav-mobile a[aria-current="page"]{color:#1e73be;}

@media (max-width:700px){
  .header-inner{padding:12px 20px;}
  .site-tagline{display:none;}
  .site-nav{display:none;}
  .nav-toggle{display:block;}
  .logo-icon{
    width:54.4px;height:44.8px;
    background-size:393.6px 104.8px;
    background-position:-1.6px -5.6px;
  }
}
