/* BALIWEB BLOG HEADER - isolated CSS */

.bw3-blog-shell {
  --bw-bg: #101215;
  --bw-border: #30343b;
  --bw-text: #f3f3f5;
  --bw-accent: #e8a477;

  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 0;
  background: var(--bw-bg);
  font-family: Inter, system-ui, Arial, sans-serif;
}

.bw3-blog-shell,
.bw3-blog-shell *,
.bw3-blog-shell *::before,
.bw3-blog-shell *::after {
  box-sizing: border-box;
}

.bw3-blog-shell .bw3-header {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(16,18,21,.97);
  border-bottom: 1px solid var(--bw-border);
}

.bw3-blog-shell .bw3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 19px 32px;
}

.bw3-blog-shell .bw3-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
  min-width: 0;
  color: var(--bw-text);
  text-decoration: none;
}

.bw3-blog-shell .bw3-brand-icon {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  background: var(--bw-accent);
  color: #101215;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.bw3-blog-shell .bw3-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.bw3-blog-shell .bw3-brand-text strong {
  display: block;
  color: var(--bw-text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.7px;
  line-height: 1;
  white-space: nowrap;
}

.bw3-blog-shell .bw3-brand-text strong span {
  color: var(--bw-accent);
}

.bw3-blog-shell .bw3-brand-text small {
  display: block;
  color: #9298a2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  white-space: nowrap;
}

.bw3-blog-shell .bw3-nav {
  display: flex;
  position: static;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.bw3-blog-shell .bw3-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 14px;
  min-height: 44px;
  padding: 12px 20px;
  background: #292d34;
  border: 1px solid #373c45;
  color: #e8e9ec;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.bw3-blog-shell .bw3-nav-link:hover {
  color: #fff;
  border-color: var(--bw-accent);
}

.bw3-blog-shell .bw3-nav-accent {
  background: var(--bw-accent);
  border-color: var(--bw-accent);
  color: #101215;
}

.bw3-blog-shell .bw3-nav-accent:hover {
  background: #f4b78c;
  color: #101215;
}

.bw3-blog-shell .bw3-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 44px;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  background: #292d34;
  border: 1px solid var(--bw-border);
  border-radius: 0;
  cursor: pointer;
}

.bw3-blog-shell .bw3-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bw-text);
}

@media (max-width: 640px) {
  .bw3-blog-shell .bw3-header-inner {
    padding: 15px 18px;
    gap: 12px;
  }

  .bw3-blog-shell .bw3-menu-button {
    display: flex;
    margin-left: auto;
  }

  .bw3-blog-shell .bw3-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 18px;
    background: #1b1e23;
    border-bottom: 1px solid var(--bw-border);
  }

  .bw3-blog-shell .bw3-nav.open {
    display: flex;
  }

  .bw3-blog-shell .bw3-nav-link {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .bw3-blog-shell .bw3-brand-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .bw3-blog-shell .bw3-brand-text strong {
    font-size: 16px;
  }

  .bw3-blog-shell .bw3-brand-text small {
    font-size: 8px;
    letter-spacing: 1px;
  }
}
