.header {
  background-color: var(--sb-header-bg); 
  height: 65px;
}

/* brand/logo */
.header-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--sb-heading);
}

/* subtle tagline (if needed) */
.header-brand .tagline {
  font-size: 13px;
  color: var(--sb-text-muted);
  font-weight: 500;
}

/* navigation wrapper */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* nav list as simple inline text links */
.header-nav__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
  overflow: visible;
}

 
.header-nav__item {
  position: relative;
  height: 65px;
  padding: 0 30px;
}

.header-nav__item:after{
  content: "";
  position: absolute;
  width: 1px;
  height: 25px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--sb-button-bg)
} 
 .header-nav__item:last-child:after{
  display: none;
 }
.header-nav__link {
    color: var(--sb-base) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.header-nav__item:hover{
  background: var(--sb-button-bg) !important;
}
.header-nav__item:hover:after{
  display: none;
}
.header-nav__item:hover .header-nav__link {
  color: var(--sb-button-text) !important;
}
 

 
/* search area (simple inline look) */
.header-search {
  margin-left: 20px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* input wrapper */
.wp-block-search__inside-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}

/* search input */
.wp-block-search__input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--sb-acc2) 40%, #000 0%);
  background-color: var(--sb-bg);
  color: var(--sb-text);
  min-width: 220px;
  transition: border-color .14s ease, box-shadow .14s ease;
  font-size: 14px;
}

/* focus state */
.wp-block-search__input:focus {
  border-color: var(--sb-link);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  outline: none;
}

/* search button — small, unobtrusive */
.wp-block-search__button {
  background-color: var(--sb-button-bg);
  color: var(--sb-button-text);
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s ease, transform .08s ease;
  box-shadow: none;
}

/* search hover */
.wp-block-search__button:hover {
  background-color: var(--sb-button-hover);
  transform: translateY(-1px);
}

.burger-btn {
  display: none;
  position: absolute;
  right: 20px;
  top: 36px;
  transform: translateY(-50%);
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #222222;
    transition: all 0.3s ease;
    border-radius: 2px;
    margin-bottom: 4px;
}

.burger-btn:hover .burger-line {
  background-color: var(--sb-button-bg);
}
.close-btn{
  display: none;
}
@media (max-width: 1440px) {
    .header{
      position: relative;
      height: 112px;
    }
    .header .container {
        width: 1024px;
        display: block;
        position: relative; 
    } 
    .header-brand{
      margin-bottom: 14px;
      padding: 16px 0 0 0;
    }
    .header-search{
      position: absolute;
      top: 10px;
      right: 0px;
    }
    .wp-block-search__button{
      font-weight: 400;
      padding: 7px 12px;
      font-size: 14px;
    }

    .header-nav__list {
      width: 100%;
 
    }
    .header-nav__item {
      height: 50px;
       flex: 1;
    }
    .header-nav__link {
 
    }
    .header-nav__item:last-child:after{
      display: block;
    }
    .header-nav__item:first-child:before{
      content: "";
      position: absolute;
      width: 1px;
      height: 25px;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      background-color: var(--sb-button-bg)
    }
}
@media (max-width: 1170px) {
  .header .container {
     width: 760px;
  }
}
@media (max-width: 810px) {
    .header{
      height: 70px;
    }
    .header-search{
        display: none;
    }
    .header-brand{
        text-align: center;
    }
    .burger-btn {
      display: block;
    }
    .header-nav{
        position: fixed;
        display: none;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        top: 0;
        right: 0;
        z-index: 200;
        width: 65%;
        padding: 50px 0 0 0;
    }
    .header-nav.active{
      display: block;
    }
    .header-nav__list{
        display: block;
    }
    .header-nav__link{
        color: #ffffff !important;
    }
    .header-nav__item:after, .header-nav__item:before{
        display: none;
    }
    .sb-latest-1 .wp-block-post-template {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .close-btn{
      display: block;
      background: transparent;
      color: #FFFFFF;
      font-size: 24px;
      border: 0;
      cursor: pointer;
      position: fixed;
      right: 20px;
      top: 10px;
      z-index: 200;
    }
    .close-btn:hover{
      color: var(--sb-link-hover);
    }
}