/* Preserved from partials/components/navigation.hbs; maintained in the theme. */
.rb-nav-menu a,
  .rb-nav-int__menu a {
    position: relative;
  }
  .rb-nav-menu a::after,
  .rb-nav-int__menu a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.25s ease;
  }
  .rb-nav-menu a:hover::after,
  .rb-nav-int__menu a:hover::after {
    width: 100%;
  }
  .rb-nav-menu a.active::after,
  .rb-nav-int__menu a.active::after {
    width: 100%;
  }

  .rb-nav-menu ul,
  .rb-nav-int__menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .rb-nav-menu ul {
    gap: 8px;
  }
  .rb-nav-int__menu ul {
    gap: 4px;
  }
  .rb-nav-menu li,
  .rb-nav-int__menu li {
    display: flex;
    align-items: center;
  }

  /* ── HOME NAV ── */
  .rb-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 40px;
    background: transparent;
    transition: background 0.3s ease;
  }
  .rb-nav-wrapper.scrolled {
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(8px);
  }
  .rb-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
  }
  .rb-nav-menu a {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #f3ebdd !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .rb-nav-menu a:hover {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: #f3ebdd;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
  }
  .rb-nav-logo {
    flex-shrink: 0;
    text-align: center;
  }
  .rb-nav-logo a {
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 26px;
    color: #f3ebdd !important;
    letter-spacing: 2px;
    text-decoration: none !important;
  }
  .rb-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
  }
  .rb-nav-btn-outline {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border: 1.5px solid #f3ebdd;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #f3ebdd !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
      background 0.2s,
      color 0.2s;
  }
  .rb-nav-btn-outline:hover {
    background: #f3ebdd;
    color: #5a2e2e !important;
  }
  .rb-nav-btn-login {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    background: #841400;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #f3ebdd !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .rb-nav-btn-login:hover {
    opacity: 0.85;
  }

  /* ── HAMBURGER ── */
  .rb-nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
    margin-left: auto;
  }
  .rb-nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f3ebdd;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .rb-nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .rb-nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .rb-nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── MOBILE PANEL ── */
  .rb-nav-mobile-panel {
    display: none;
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.96);
    backdrop-filter: blur(8px);
    padding: 24px 32px 32px;
    flex-direction: column;
    z-index: 999;
  }
  .rb-nav-mobile-panel.open {
    display: flex;
  }
  .rb-nav-mobile-panel ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .rb-nav-mobile-panel li {
    display: block !important;
  }
  .rb-nav-mobile-panel ul a {
    display: block;
    padding: 14px 0;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #f3ebdd !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(243, 235, 221, 0.12);
  }
  .rb-nav-mobile-panel ul a.active {
    color: #b08a44 !important;
  }
  .rb-nav-mobile-btns,
  .rb-nav-int__mobile-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-top: 20px !important;
    width: 100% !important;
  }
  .rb-nav-mobile-btns .rb-nav-btn-outline,
  .rb-nav-mobile-btns .rb-nav-btn-login,
  .rb-nav-int__mobile-btns .rb-nav-int__subscribe,
  .rb-nav-int__mobile-btns .rb-nav-int__login {
    width: 100% !important;
    justify-content: center !important;
    height: 48px !important;
  }

  /* ── NAV INTERNO ── */
  .rb-nav-int {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    background-color: #f8f5f0;
    border-top: 2px solid #5a2e2e;
    border-bottom: 1px solid rgba(90, 46, 46, 0.15);
    box-shadow: 0 4px 14px rgba(20, 12, 10, 0.08);
    box-sizing: border-box;
  }
  .rb-nav-int__dateline {
    text-align: center;
    padding: 7px 40px;
    border-bottom: 1px solid rgba(90, 46, 46, 0.12);
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #6f6358;
  }
  .rb-nav-int__masthead {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 20px 40px 7px;
  }
  .rb-nav-int__masthead a {
    font-family: "Libre Baskerville", Baskerville, serif;
    font-weight: 400;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1;
    color: #1a2a80 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-block;
    -webkit-text-stroke: 0.35px var(--background-color, #fafafa);
  }
  .rb-nav-int__title {
    margin: 0;
    font: inherit;
    line-height: 1;
  }
  html body #rb-mini-bar {
    padding: 10px 20px !important;
    background: var(--background-color, #fafafa) !important;
  }
  html body #rb-mini-bar a {
    font-family: "Libre Baskerville", Baskerville, serif !important;
    font-weight: 400 !important;
    font-size: 36px !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    color: #1a2a80 !important;
    -webkit-text-stroke: 0.2px var(--background-color, #fafafa);
  }
  .rb-nav-int__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 52px;
    position: relative;
  }
  .rb-nav-int__actions {
    position: absolute;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .rb-nav-int__bar .rb-nav-int__login {
    height: auto;
    padding: 0;
    border: 0 !important;
    background: none !important;
    font-size: 13px;
    letter-spacing: 0.9px;
    color: #5a2e2e !important;
  }
  .rb-nav-int__bar .rb-nav-int__login:hover {
    background: none !important;
    color: #841400 !important;
    opacity: 1;
  }
  .rb-nav-int__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .rb-nav-int__menu a {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 5px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #5a2e2e !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .rb-nav-int__menu a:hover {
    opacity: 0.75;
  }
  .rb-nav-int__menu a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 5px;
    width: 0;
    height: 1px;
    background-color: #5a2e2e;
    transition: width 0.25s ease;
  }
  .rb-nav-int__menu a:hover::after {
    width: calc(100% - 10px);
  }
  .rb-nav-int__menu a.active::after {
    width: calc(100% - 10px);
  }
  .rb-nav-int__menu a.active {
    font-weight: 700;
  }

  .rb-nav-int__subscribe {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1.5px solid #5a2e2e;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #5a2e2e !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
      background 0.2s,
      color 0.2s;
  }
  .rb-nav-int__subscribe:hover {
    background: #5a2e2e;
    color: #f3ebdd !important;
  }
  .rb-nav-int__login {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    background: #5a2e2e;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #f3ebdd !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .rb-nav-int__login:hover {
    opacity: 0.85;
  }

  .rb-nav-int__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .rb-nav-int__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #5a2e2e;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .rb-nav-int__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .rb-nav-int__hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .rb-nav-int__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── MOBILE MASTHEAD (hamburger next to logo) ── */
  @media (max-width: 768px) {
    .rb-nav-int__masthead {
      padding: 14px 56px;
      min-height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .rb-nav-int__masthead a {
      font-size: 22px;
    }
    .rb-nav-int__bar {
      display: none !important;
    }
  }

  .rb-nav-int__mobile-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #f8f5f0;
    padding: 20px 32px 32px;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1200;
  }
  .rb-nav-int__mobile-panel.open {
    display: flex;
  }
  .rb-nav-int__mobile-close {
    align-self: flex-start;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Cinzel", serif;
    font-size: 22px;
    line-height: 1;
    color: #5a2e2e;
    padding: 8px;
    margin: 0 0 12px -8px;
  }
  .rb-nav-int__mobile-panel ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .rb-nav-int__mobile-panel li {
    display: block !important;
  }
  .rb-nav-int__mobile-panel ul a {
    display: block;
    padding: 14px 0;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #5a2e2e !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(90, 46, 46, 0.1);
  }
  .rb-nav-int__mobile-panel ul a.active {
    color: #b08a44 !important;
  }

/* Native Ghost search, kept outside the five primary navigation links. */
.rb-search-button { background:transparent; border:0; padding:12px 8px; color:#5a2e2e; font:inherit; cursor:pointer; text-underline-offset:4px; }
.rb-search-button:hover { text-decoration:underline; }
.rb-search-button:focus-visible { outline:2px solid #5a2e2e; outline-offset:3px; }
.rb-search-desktop { position:absolute; left:24px; font-family:"Cinzel",serif; font-size:14px; }
.rb-nav-int__mobile-panel > .rb-search-button { align-self:flex-start; padding-left:0; }
