:root {
  --ink: #2a1812;
  --cream: #f7f2eb;
  --paper: #fffdf9;
  --line: #eadfce;
  --brown: #3b2418;
  --gold: #8a5a32;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--cream);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
}

#page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.boxed-layout,
.pane-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#main-content {
  flex: 1;
}

a {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
}

.visuallyhidden,
.mega-menu-toggle,
.mobile-logo-additions,
.alternative-logo,
#vamtam-overlay-search,
#scroll-to-top,
.rs-p-wp-fix,
.mega-indicator {
  display: none !important;
}

.fixed-header-box {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.main-header .first-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px 8px;
}

.main-header .first-row > div[style] {
  position: static !important;
  right: auto !important;
  top: auto !important;
  display: flex;
  gap: 14px;
  font-size: 20px;
}

.main-header .first-row > div[style] a {
  color: var(--brown);
  text-decoration: none;
}

.logo {
  display: inline-block;
  min-width: 0 !important;
}

.logo .normal-logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
}

.second-row {
  padding: 0 16px 8px;
}

#menus,
#main-menu,
.mega-menu-wrap {
  width: 100%;
}

#mega-menu-menu-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mega-menu-item {
  position: relative;
  list-style: none;
}

.mega-menu-link {
  display: block;
  padding: 12px 14px;
  color: var(--brown);
  font-family: "Varela Round", "Open Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mega-menu-item:hover > .mega-menu-link,
.mega-menu-item:focus-within > .mega-menu-link,
.mega-current-menu-item > .mega-menu-link,
.mega-current_page_item > .mega-menu-link {
  color: var(--gold);
}

.mega-sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(42, 24, 18, 0.12);
}

.mega-menu-item-has-children:hover > .mega-sub-menu,
.mega-menu-item-has-children:focus-within > .mega-sub-menu {
  display: block;
}

.mega-sub-menu .mega-menu-link {
  padding: 8px 16px;
  letter-spacing: 0.04em;
  text-transform: none;
}

body.home #rev_slider_2_1_wrapper {
  visibility: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(160deg, #2a1812, #6b3e2a 70%);
}

body.home #rev_slider_2_1_wrapper rs-module,
body.home #rev_slider_2_1_wrapper rs-slides,
body.home #rev_slider_2_1_wrapper rs-slide,
body.home #rev_slider_2_1_wrapper img {
  display: none !important;
}

body.home #rev_slider_2_1_wrapper::after {
  content: "The Hub Cafe and Eatery";
  color: #f7f2eb;
  font-family: "Varela Round", "Open Sans", sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 24px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-content h1 {
  margin: 0 0 16px;
  color: var(--brown);
  font-family: "Varela Round", "Open Sans", sans-serif;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 400;
}

.page-content ul {
  padding-left: 1.2em;
}

.page-content li {
  margin: 6px 0;
}

.main-footer {
  padding: 28px 20px;
  text-align: center;
}

.main-footer h3 {
  margin: 0;
  font-family: "Varela Round", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .main-header .first-row {
    flex-direction: column;
    padding-top: 16px;
  }

  #mega-menu-menu-header {
    flex-direction: column;
    align-items: center;
  }

  .mega-sub-menu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    text-align: center;
  }

  .mega-menu-item-has-children > .mega-sub-menu {
    display: block;
  }
}
