#header-container {
  background:
    linear-gradient(180deg, rgba(247, 231, 198, 0.95) 0%, rgba(240, 217, 173, 0.9) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(90, 51, 24, 0.08) 0,
      rgba(90, 51, 24, 0.08) 12px,
      rgba(255, 255, 255, 0) 12px,
      rgba(255, 255, 255, 0) 28px
    );
  border-bottom: 1px solid rgba(90, 51, 24, 0.2);
  box-shadow: 0 8px 24px rgba(61, 35, 20, 0.12);
  position: relative;
  overflow: hidden;
}

#header-container::before,
#header-container::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.45;
}

#header-container::before {
  width: 160px;
  height: 160px;
  right: -30px;
  top: -45px;
  background: radial-gradient(circle, #fff9e9 0%, rgba(255, 249, 233, 0) 72%);
}

#header-container::after {
  width: 90px;
  height: 90px;
  left: 8%;
  top: 16%;
  background: radial-gradient(circle, #fff2d4 0%, rgba(255, 242, 212, 0) 76%);
  animation: rb-float 6s ease-in-out infinite;
}

.jrb-rootbeer-theme .logo-header {
  padding: 14px 0 12px;
}

.jrb-rootbeer-theme .site-name-text {
  color: var(--rb-dark);
  font-family: var(--rb-display-font);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.jrb-rootbeer-theme .site-name-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.jrb-rootbeer-theme .site-name-text-link::before {
  content: "";
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(90, 51, 24, 0.26);
  background:
    #f7d57a
    url("../img/smile.svg") center / 82% no-repeat;
  filter: drop-shadow(0 2px 3px rgba(61, 35, 20, 0.22));
}

.jrb-rootbeer-theme .tagline {
  color: rgba(61, 35, 20, 0.78);
  font-weight: 600;
}

.jrb-rootbeer-theme .navi {
  background:
    linear-gradient(180deg, var(--rb-wood) 0%, var(--rb-dark) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.jrb-rootbeer-theme .navi-in > ul > li {
  margin: 6px 8px;
  max-width: 100%;
  width: auto;
  height: auto;
  flex: 0 1 auto;
}

.jrb-rootbeer-theme .navi .item-label,
.jrb-rootbeer-theme .navi .item-description {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  width: auto !important;
  max-width: none !important;
}

.jrb-rootbeer-theme .navi-in > ul .caption-wrap,
.jrb-rootbeer-theme .navi-in > ul .caption-wrap > div {
  width: auto;
}

.jrb-rootbeer-theme .navi-in > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  color: #fff6df;
  border: 1px solid rgba(255, 244, 215, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 220, 150, 0.14), rgba(255, 220, 150, 0.02));
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  line-height: 1.28;
  text-align: center;
  width: auto;
  height: auto;
  min-height: 56px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jrb-rootbeer-theme .navi-in > ul > li > a::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: url("../img/Beer_mug.svg") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.jrb-rootbeer-theme .navi-in > ul > li > a:hover,
.jrb-rootbeer-theme .navi-in > ul > li.current-menu-item > a,
.jrb-rootbeer-theme .navi-in > ul > li.current_page_item > a {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 175, 0.46);
  background: linear-gradient(180deg, rgba(255, 236, 181, 0.26), rgba(255, 219, 130, 0.12));
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.2);
  color: #fffdf7;
}

.jrb-rootbeer-theme .navi-in > ul .sub-menu {
  border-radius: 12px;
  border: 1px solid rgba(89, 50, 24, 0.14);
  background: #fff6e8;
  box-shadow: 0 14px 24px rgba(61, 35, 20, 0.18);
}

.jrb-rootbeer-theme .navi-in > ul .sub-menu a {
  color: var(--rb-dark);
  font-weight: 600;
}

.jrb-rootbeer-theme .navi-in > ul .sub-menu a:hover {
  background: rgba(185, 114, 53, 0.12);
}

@keyframes rb-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
