@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

#comments { display:none; }
.singleimg img { display:none; }
.site-info { display:none; }

/* Headings and larger text: Oswald (Open Sans stays for smaller text) */
h1, h2, h3, h4,
.t3-hero__title,
.t3-info__title,
.t3-contact__title,
.t3-show__heading,
.t3-book__heading,
.t3-book__panel-title {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header: logo and menu on one row */
#masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
#masthead #logo {
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
}
#masthead .header-image {
  display: block;
  width: 64px;
  height: auto;
}
#masthead .nav-wrap {
  flex: 1 1 auto;
  float: none;
  clear: none;
  width: auto;
  margin: 0;
}

/* Header colors: yellow bar, white uppercase menu, black on hover */
#masthead-wrap,
#masthead {
  background: #f5d448;
}
#menu-top-menu a {
  color: #fff;
  text-transform: uppercase;
  transition: color 0.15s ease-in-out;
}
#menu-top-menu a:hover,
#menu-top-menu a:focus-visible {
  color: #000;
}

/* Stop the theme's layout wrappers from clipping wide content */
#main,
#primary,
#content,
.site-content,
article.page,
.entry-content {
  overflow: visible !important;
}

/* Clip anything wider than the screen so phones don't zoom the page out */
#page {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Home page: widen the content area to the full viewport */
.page-id-1 .entry-content {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* 100vw includes the scrollbar width; stop that from adding a horizontal scrollbar */
html,
body {
  overflow-x: clip;
}

/* Opendate calendar: full screen width on any page
   (!important needed to beat the iframe's inline style) */
#od-venue-ownership-3116-events-iframe {
  display: block;
  position: static !important;
  left: auto !important;
  transform: none !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  border: 0;
}

/* Header below 760px: logo on the left, menu below */
@media (max-width: 760px) {
  #masthead {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
    max-width: 100%;
    padding-top: 0;
    box-sizing: border-box;
  }
  #masthead #logo {
    align-self: flex-start;
  }
  #masthead .nav-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  /* 600-760px: the theme still shows the full menu, so wrap and center it */
  .main-navigation #menu-top-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.25rem;
    margin: 0;
    padding: 0.75rem 16px;
  }
  #menu-top-menu li {
    float: none;
    margin: 0;
  }
}

/* Below 600px the theme's script switches to its mobile menu.
   These selectors outrank the theme's ".site-navigation h1.menu-toggle". */
@media screen and (max-width: 600px) {
  /* Toggle: top-right, level with the logo, word "Menu" hidden */
  #masthead .site-navigation h1.menu-toggle {
    position: absolute;
    top: 0;
    right: 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-align: right;
    color: #fff;
    cursor: pointer;
  }
  /* Hamburger icon: bigger (the theme uses 14px) */
  #masthead .site-navigation h1.menu-toggle::before {
    font-size: 32px;
    padding: 0;
    color: #fff;
  }
  #masthead .site-navigation h1.menu-toggle:hover::before {
    color: #000;
  }
  /* Opened menu: centered links, one per row, with big tap areas */
  .main-small-navigation .menu {
    margin: 0;
    padding: 0.5rem 16px 1rem;
    text-align: center;
  }
  .main-small-navigation .menu a {
    display: block;
    padding: 0.6rem 0;
  }
  /* Menu reveal: the list slides down and fades in each time it opens */
  .main-small-navigation .menu {
    animation: t3-menu-open 0.25s ease-out;
  }
  /* Links fade in one after another */
  .main-small-navigation .menu li {
    animation: t3-menu-item 0.3s ease-out both;
  }
  .main-small-navigation .menu li:nth-child(2) { animation-delay: 0.05s; }
  .main-small-navigation .menu li:nth-child(3) { animation-delay: 0.10s; }
  .main-small-navigation .menu li:nth-child(4) { animation-delay: 0.15s; }
  .main-small-navigation .menu li:nth-child(5) { animation-delay: 0.20s; }
  .main-small-navigation .menu li:nth-child(6) { animation-delay: 0.25s; }
}

/* Keyframes for the mobile menu reveal */
@keyframes t3-menu-open {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes t3-menu-item {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Visitors who turn off motion get the menu instantly */
@media (prefers-reduced-motion: reduce) {
  .main-small-navigation .menu,
  .main-small-navigation .menu li {
    animation: none;
  }
}