

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lora", serif;
  font-size: 15px;
  color: #8e8e8e;
  background-color: #f9f9f9;
}

@media (min-width: 767px) {
  body {
    font-family: "Quicksand", sans-serif;
    font-size: 17px;
  }
}

strong{
  font-weight: 600;
}

p {
  line-height: 1.5;
}

a {
  color: #5199a8;
  text-decoration: none;
}

a:hover {
  color: #8dc7d3;
}

/* ============================================================
   Layout wrappers
   ============================================================ */
.body-wrap {
  background-color: #ffffff;
  min-height: 100vh;
}

.bg-wrapper {
  background-color: #ffffff;
}

#wrapper {
  position: relative;
  left: 0;
  transition: left 0.3s ease-in-out;
  background-color: #ffffff;
}

/* When mobile menu is open, slide wrapper right */
body.menu-open #wrapper {
  left: 275px;
}

/* ============================================================
   Header
   ============================================================ */
#header {
  background-color: #ffffff;
  text-align: center;
  padding-top: 52px;
  padding-bottom: 25px;
  position: relative;
}

#sitename {
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  color: #484848;
  letter-spacing: 2px;
}

#sitename a {
  color: #484848;
  text-decoration: none;
}

#sitename a:hover {
  color: #5199a8;
}

/* Mobile header styles (≤992px) */
@media (max-width: 992px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 65px;
    padding: 0 10px;
    border-bottom: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }

  #sitename {
    font-size: 18px;
    letter-spacing: 1px;
  }

  /* Offset wrapper to account for fixed header */
  #wrapper {
    padding-top: 65px;
  }
}

/* ============================================================
   Hamburger trigger (mobile only)
   ============================================================ */
.nav-trigger {
  display: none;
}

@media (max-width: 992px) {
  .nav-trigger {
    display: block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
  }
}

.open-btn {
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.open-btn .mobile {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #484848;
  border-radius: 1px;
}

/* ============================================================
   Desktop Navigation
   ============================================================ */
#navigation {
  width: 960px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

#navigation::before,
#navigation::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 50%;
  background-color: #d0d0d0;
  /* offset slightly above the padding-bottom centre */
  top: calc(50% - 20px);
}

#navigation::before {
  left: 0;
}

#navigation::after {
  right: 0;
}

#navigation ul {
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  position: relative;
  z-index: 2;
}

#navigation ul li {
  display: inline-block;
}

#navigation ul li a {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #8e8e8e;
  padding: 10px 14px;
  text-decoration: none;
  letter-spacing: 1px;
}

#navigation ul li:hover,
#navigation ul li.active {
  background-color: #f6f6f6;
}

#navigation ul li a:hover,
#navigation ul li.active a {
  color: #484848;
}

/* Hide desktop nav on mobile */
@media (max-width: 992px) {
  #navigation {
    display: none;
  }
}

@media (max-width: 1024px) {
  #navigation {
    width: auto;
  }
}

/* ============================================================
   Hero / Banner
   ============================================================ */
.banner-wrap {
  position: relative;
  background: url('../images/342340924.jpg') no-repeat center center / cover;
  height: 460px;
  background-position-y: 30%;
}

.banner-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.header-page .banner-wrap {
  height: 460px;
}

#banner {
  position: relative;
  width: 900px;
  height: 100%;
  display: table;
  margin: 0 auto;
  z-index: 3;
}

#banner-container {
  display: table-cell;
  vertical-align: middle;
  padding: 15em 1.6em 1em 1.6em;
}

#banner-container h2 {
  font-family: "Lora", serif;
  font-size: 50px;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

@media (max-width: 1024px) {
  #banner {
    width: auto;
  }
}

@media (max-width: 992px) {
  #banner-container h2 {
    font-size: 3em;
  }
}

/* ============================================================
   Content area
   ============================================================ */
#content-wrapper {
  background-color: #ffffff;
}

div.site-content {
  width: 960px;
  margin: 0 auto;
  padding: 4em 1.6em;
  box-sizing: border-box;
}

div.site-content h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 35px;
  color: #484848;
}

@media (max-width: 1024px) {
  div.site-content {
    width: auto;
  }
}

/* ============================================================
   Viewing times card (index page)
   ============================================================ */
.viewing-times-card {
  border: 1px solid #d0d0d0;
  padding: 2rem;
  max-width: 460px;
  margin: 1.5rem auto;
  text-align: center;
  background-color: #ffffff;
}

.viewing-times-card h2 {
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #484848;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-site {
  display: inline-block;
  background-color: #5199a8;
  color: #ffffff !important;
  padding: 8px 20px;
  border: none;
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
}

.btn-site:hover,
.btn-site:focus {
  background-color: #5cb0c2;
  color: #ffffff !important;
  text-decoration: none;
}

/* Submit button inherits btn-site */
button.btn-site[type="submit"] {
  border-radius: 0;
}

/* ============================================================
   Forms
   ============================================================ */
.form-label {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 13px;
  color: #8e8e8e;
}

.form-control {
  border: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  min-height: 35px;
  padding: 8px !important;
  font-size: 13px !important;
  font-family: "Lora", serif;
  color: #484848;
}

.form-control:focus {
  border-color: #5199a8 !important;
  box-shadow: 0 0 0 0.15rem rgba(81, 153, 168, 0.25) !important;
}

.required-note {
  font-size: 0.9rem;
  color: #8e8e8e;
  margin-bottom: 1.2rem;
}

.form-required {
  color: #c0392b;
}

/* ============================================================
   Entry Guidelines / Content sections
   ============================================================ */
div.site-content h3 {
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 1rem;
  color: #484848;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

div.site-content ul,
div.site-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

div.site-content li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* ============================================================
   Blog / Latest News
   ============================================================ */
.blog-post-card {
  border: 1px solid #d0d0d0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.blog-post-card img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-card .card-body {
  padding: 1.25rem;
}

.blog-post-card .card-title {
  font-family: "Lora", serif;
  font-weight: 300;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.blog-post-card .card-title a {
  color: #484848;
  text-decoration: none;
}

.blog-post-card .card-title a:hover {
  color: #5199a8;
  text-decoration: underline;
}

.blog-date {
  font-size: 0.85rem;
  color: #8e8e8e;
  margin-bottom: 0;
}

.blog-sidebar-widget {
  background-color: #f9f9f9;
  border: 1px solid #d0d0d0;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.blog-sidebar-widget h4 {
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #484848;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 0.4rem;
}

.blog-sidebar-widget p,
.blog-sidebar-widget a {
  font-size: 0.9rem;
  color: #8e8e8e;
  text-decoration: none;
}

.blog-sidebar-widget a:hover {
  color: #5199a8;
  text-decoration: underline;
}

/* ============================================================
   Art Within Tent
   ============================================================ */
.gallery-notice {
  background-color: #f9f9f9;
  border-left: 3px solid #5199a8;
  padding: 1rem 1.25rem;
  font-style: italic;
  color: #8e8e8e;
  margin-top: 1.5rem;
}

/* ============================================================
   Footer
   ============================================================ */
#footer {
  background-color: #f9f9f9;
  border-top: 1px solid #d0d0d0;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #8e8e8e;
}

#footer-content {
  width: 960px;
  margin: 0 auto;
}

#footer-content a {
  color: #5199a8;
  text-decoration: none;
}

#footer-content a:hover {
  color: #8dc7d3;
}

@media (max-width: 1024px) {
  #footer-content {
    width: auto;
  }
}

/* ============================================================
   Mobile nav drawer
   ============================================================ */
.navmobile-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 275px;
  height: 100%;
  background-color: #ffffff;
  border-right: 1px solid #d0d0d0;
  z-index: 50;
  transform: translateX(-275px);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

body.menu-open .navmobile-wrapper {
  transform: translateX(0);
}

#navmobile {
  padding-top: 80px;
  font-family: "Lora", serif;
  font-size: 0.9em;
  text-transform: uppercase;
}

#navmobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navmobile ul li {
  border-bottom: 1px solid #f0f0f0;
}

#navmobile ul li a {
  display: block;
  padding: 14px 20px;
  color: #8e8e8e;
  text-decoration: none;
  letter-spacing: 1px;
}

#navmobile ul li a:hover,
#navmobile ul li.active a {
  color: #484848;
  background-color: #f6f6f6;
}
