/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Base Styles === */
html, body {
  height: 100%;
  font-family: 'Libre Baskerville', serif;
  background-color: #ffffff;
  color: #1f2a26;
}

/* === Flex Layout to Push Footer Down === */
.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-wrapper > .main-content {
  flex: 1;
}

/* === Placeholder Text === */
.placeholder-text {
  text-align: center;
  margin: 100px 20px;
  font-size: 14px;
  color: #444;
  font-style: italic;
}

/* === Header === */
.site-header {
  background-color: #f0ede8;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  height: 48px;
  width: 48px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.desktop-logo {
  display: none;
}

.mobile-title {
  font-size: 14px;
  text-align: center;
  flex: 1;
  color: #1f2a26;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1f2a26;
  border-radius: 1px;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 998;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -70%;
  height: 100%;
  width: 70%;
  background-color: #f0ede8;
  transition: right 0.4s ease;
  padding: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu nav a {
  text-decoration: none;
  font-size: 14px;
  color: #1f2a26;
  display: block;
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  color: #1f2a26;
  cursor: pointer;
}

.current-location {
  font-style: italic;
  font-size: 12px;
  color: #1f2a26;
  margin-top: 24px;
}

.desktop-nav {
  display: none;
  margin-left: auto;
  position: relative;
  gap: 20px;
}

.desktop-nav a {
  text-decoration: none;
  color: #1f2a26;
  font-size: 16px;
  position: relative;
}

.desktop-nav .underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  background-color: #1f2a26;
  transition: left 0.3s, width 0.3s;
}

/* Larger screens */
@media (min-width: 768px) {
  .site-header {
    height: 100px;
    padding: 0 32px;
  }

  .mobile-logo,
  .menu-toggle,
  .mobile-title {
    display: none;
  }

  .desktop-logo {
    display: block;
    height: 60px;
    width: 60px;
  }

  .desktop-nav {
    display: flex;
  }
}

/* === Footer === */
#acp-footer {
  background-color: #f0ede8;
  color: #1f2a26;
  font-family: 'Libre Baskerville', serif;
  text-align: center;
  padding: 10px 20px;
  width: 100%;
  position: static;
}

.footer-main {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-title {
  font-size: 8px;
  margin: 5px 0;
  font-weight: normal;
}

.footer-subtext {
  font-size: 7.2px;
  margin: 2px 0;
  font-weight: normal;
}

@media (max-width: 767px) {
  #acp-footer {
    height: 90px;
  }
}

@media (min-width: 768px) {
  #acp-footer {
    height: 108px;
  }

  .footer-title {
    font-size: 14px;
  }

  .footer-subtext {
    font-size: 12px;
  }
}