/* ===== Reset & base ===== */
body, html {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
}

.site-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ===== Sidebar container ===== */
.sidebar-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  border-right: solid 1px #EFEFEF;
}

/* ===== Sidebar styles ===== */
.sidebar {
  width: 250px;
  background: #222;
  color: white;
  padding: 1rem;
  z-index: 1;
  transition: transform 0.3s ease;
  transform: none;
}

.sidebar .logo a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  display: flex;
  justify-content: center;
}

.sidebar .logo img {
  max-width: 125px;
  height: auto;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: opacity 0.2s;
  font-size:2rem;
}

.sidebar a:hover {
  opacity: 0.75;
}
.sidebar ul > li{
  list-style: none;
}
/* ===== Content styles ===== */
.content {
  flex: 1;
}

/* ===== Footer ===== */
.site-footer {
  padding: 5px;
  text-align: center;
  font-size: 0.875em;
  background: #f4f4f4;
}

/* ===== Mobile toggle (default hidden) ===== */
.mobile-toggle {
  display: none;
  background: none;
  color: black;
  font-size: 2rem;
  border: none;
  margin-bottom: 1rem;
  cursor: pointer;
  z-index: 1100;
  transition: all 0.5s ease;
}

/* ===== Backdrop for mobile ===== */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.mobile-backdrop.active {
  display: block;
}

/* ===== Responsive behavior ===== */
@media (max-width: 768px) {
  .site-wrapper {
    flex-direction: column;
  }

  .sidebar-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    transform: translateX(-100%);
    transition: all 0.5s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    color:white;
  }

  .sidebar.open + .mobile-toggle {
    margin-left: 320px;
    color: red;
    font-size: 40px;
  }

  .content {
    order: 2;
  }
}

/* ===== Full-width and builder support ===== */
.page-template-full-width .content {
  max-width: 100%;
  padding-right: 3rem;
  padding-left: 3rem;
}

.page-template-beaver-builder .content,
.page-template-beaver-builder main {
  padding: 0;
  margin: 0;
}

.bb-builder-wrapper {
  width: 100%;
  max-width: none;
}

/* ===== Archive styling ===== */
.archive-header {
  margin-bottom: 2rem;
}

.archive-title {
  font-size: 2rem;
  margin: 0 0 10px;
}

.archive-description {
  font-size: 1rem;
  color: #666;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover {
  text-decoration: underline;
}

.entry-meta {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 1rem;
}

.entry-excerpt {
  margin-bottom: 1.5rem;
}

.pagination {
  margin-top: 2rem;
  text-align: center;
}

/* ===== Comments ===== */
.comment-list {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.comment {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.comment .reply {
  font-size: 0.9em;
}

/* ───────── Modal wrapper ───────── */
#rsvp-modal{
  position:fixed;inset:0;
  background:rgba(0,0,0,.6);
  display:flex;align-items:center;justify-content:center;
  z-index:9999;
}
/* ───────── Modal box ───────── */
#rsvp-box{
  background:#fff;
  padding:24px 32px;
  border-radius:8px;
  max-width:480px;
  width:100%;
  max-height:90vh;
  overflow:auto;
}

/* basic inputs */
input[type=text],
input[type=tel],
textarea,
select{
  width:100%;
  margin-top:4px;
  padding:6px;
}
label{
  display:block;
  margin:10px 0 6px 0!important;
}
.error{
  color:#c0392b;
  font-size:13px;
  margin-top:6px;
}
div  button{
    padding:5px 10px;
    margin-right:10px;
}

.button {
  display: inline-block;
  padding: 8px 16px!important;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: #2271b1;
  color: #fff;
}

.button-primary:hover {
  background: #135e96;
}
