@charset "UTF-8";

/* Match site palette */
:root{
  --bg: #ffeccc;
  --panel: #fff4e0;
  --ink: #222;
  --brand: #4c2a00;
  --rule: #f0d8b7;
  --shadow: 0 3px 8px rgba(0,0,0,.12);
  --accent: #f8c187;
}

*{ box-sizing: border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: 'PT Serif Caption', serif;
  background: var(--bg);
  color: var(--ink);
}

/* Header / Nav (same as other pages) */
.site-header{ text-align:center; padding: 1rem 1rem .25rem; }
.site-title{ margin:.25rem 0 .75rem; font-size:2.2rem; color: var(--brand); }
.main-nav .nav-list{
  display:flex; justify-content:center; align-items:center; gap:1rem;
  list-style:none; margin:0; padding:.75rem 1rem; background: var(--panel);
  border-radius: 10px; box-shadow: var(--shadow);
}
.nav-item a, .nav-button{
  font-family: 'PT Serif Caption', serif; font-size: 1rem; font-weight: 700;
  text-decoration: none; color: #333; border: none; background: none; cursor: pointer;
  padding: .35rem .65rem; border-radius: 6px; display: inline-flex; align-items:center;
  line-height: 1.4; appearance: none; -webkit-appearance: none; -moz-appearance: none;
}
.nav-item a:hover, .nav-button:hover{ background: #fff1da; color:#000; }
.nav-item--has-dropdown{ position:relative; }
.chevron{ font-size:.9rem; transform: translateY(-1px); }
.nav-dropdown{
  position:absolute; top: calc(100% + 8px); left:50%; transform: translateX(-50%);
  min-width: 230px; padding:.4rem; margin:0; list-style:none; background:#fff;
  border:1px solid var(--rule); border-radius:10px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display:none; z-index: 1000;
}
.nav-item--has-dropdown.open .nav-dropdown{ display:block; }
.nav-dropdown a{ display:block; padding:.55rem .7rem; color:#333; border-radius:8px; }
.nav-dropdown a:hover{ background:#fff6ea; }

/* Page layout */
.main-wrapper{ max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

/* Intro */
.intro-card{
  background: var(--panel); border:1px solid var(--rule); border-radius:12px;
  box-shadow: var(--shadow); padding:1rem 1.25rem; text-align:center;
}
.page-title{ margin:.2rem 0 .25rem; font-size:1.8rem; color: var(--brand); }
.lede{ color:#3c2f23; margin:.25rem 0; }
.lede.small{ font-size:.95rem; opacity:.9; }

/* Grid */
.grid.two{
  display:grid; grid-template-columns: 1fr 1fr; gap:1rem; margin-top:1.25rem;
}
.card{
  background: var(--panel); border:1px solid var(--rule); border-radius:12px;
  box-shadow: var(--shadow); padding:1rem 1.25rem;
}
.section-title{ margin:.25rem 0 1rem; color: var(--brand); }

/* Facebook embed (responsive container) */
.embed-frame{ border:1px solid var(--rule); border-radius:10px; overflow:hidden; background:#fff; }
.fb-embed iframe{ width:100% !important; height:800px; display:block; }

/* Instagram embed styling */
.insta-embed {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.insta-embed {
  margin-top: 0.5rem;
}


.insta-embed iframe {
  width: 100%;
  height: 800px;
  display: block;
}

/* Make sure the grid is responsive */
@media (max-width: 980px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
  .insta-embed iframe {
    height: 600px;
  }
}

/* Community gallery */
.gallery{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:.75rem; }
.gallery-item{
  background:#fff; border:1px solid var(--rule); border-radius:10px; overflow:hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; cursor:pointer;
}
.gallery-item:hover{ transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.gallery-item img{ width:100%; height:200px; object-fit:cover; display:block; }
.caption{ padding:.5rem .6rem; font-size:.95rem; }

/* Stickers */
.sticker-row{ margin-top:1.25rem; }
.stickers{ display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; }
.sticker{
  background:#fff; border:1px solid var(--rule); border-radius:12px; padding:.4rem .6rem;
  display:inline-flex; align-items:center; gap:.4rem; box-shadow: var(--shadow);
}
.sticker img{ height:28px; width:auto; }
.sticker span{ font-weight:700; font-size:.95rem; }

/* Lightbox */
.lightbox{ position:fixed; inset:0; background: rgba(0,0,0,.6); display:none; align-items:center; justify-content:center; padding:1rem; z-index: 2000; }
.lightbox.open{ display:flex; }
.lightbox-inner{ background:#fff; max-width: min(96vw, 900px); max-height: 90vh; border-radius:12px; overflow:hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lightbox img{ width:100%; height:auto; display:block; }
.lightbox .lightbox-caption{ padding:.6rem .8rem; border-top:1px solid #eee; font-size:1rem; }

/* Notes */
.note{ font-size:.9rem; opacity:.9; margin:.6rem 0 0; }
.muted{ font-size:.95rem; opacity:.9; }

/* Fade-in */
.fade-in{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.show{ opacity:1; transform: translateY(0); }

/* Footer */
.footer-colored{
  background: var(--panel); text-align:center; padding: 2rem 1rem; font-weight:700; margin-top:2rem;
}
.footer-colored a{ color:#d67600; text-decoration:none; }
.footer-colored a:hover{ text-decoration:underline; }

/* Responsive */
@media (max-width: 980px){
  .grid.two{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .gallery{ grid-template-columns: 1fr; }
}




/* === Mobile accordion nav === */
.nav-toggle{
  display:none;
  align-items:center;
  gap:.5rem;
  border:1px solid #f0d8b7;
  background:#fff4e0;
  color:#333;
  padding:.5rem .75rem;
  border-radius:10px;
  font-family:'PT Serif Caption', serif;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 3px 8px rgba(0,0,0,.12);
}
.nav-toggle:focus{ outline:2px solid #d6a16e; outline-offset:2px; }
.nav-toggle-box{ display:inline-flex; flex-direction:column; gap:4px; }
.nav-toggle-bar{ width:20px; height:2px; background:#333; border-radius:2px; display:block; }
.nav-toggle-text{ font-size:1rem; }

/* Desktop unchanged; on mobile we collapse the list */
@media (max-width: 820px){
  .main-nav{
    display:flex; flex-direction:column; align-items:center; gap:.6rem;
  }
  .nav-toggle{ display:inline-flex; }

  .main-nav .nav-list{
    width:100%;
    max-width:700px;
    flex-direction:column;
    gap:.25rem;
    overflow:hidden;
    max-height:0;                 /* collapsed */
    transition:max-height .35s ease;
    padding:.5rem .6rem;
  }
  .main-nav.open .nav-list{
    max-height:1000px;            /* expanded */
  }

  /* Make items full width and left-aligned for easier tapping */
  .nav-item a,
  .nav-button{
    width:100%;
    text-align:left;
    padding:.65rem .75rem;
    border-radius:8px;
  }

  /* Dropdown becomes an inline accordion under "Books" */
  .nav-dropdown{
    position:static;
    transform:none;
    min-width:unset;
    margin:.25rem 0 .35rem .5rem; /* slight indent */
    box-shadow:none;
    display:none;
    border:1px solid #f0d8b7;
    border-radius:8px;
    background:#fff;
  }
  .nav-item--has-dropdown.open .nav-dropdown{ display:block; }
}

/* Rotate chevron when open */
.nav-item--has-dropdown.open .chevron{
  transform:rotate(180deg);
  transition:transform .25s ease;
}

/* === PATCH: hide stray line under the mobile Menu button === */
/* Remove padding when the nav list is collapsed so no text shows.
   Restore the padding only when the menu is opened. */
@media (max-width: 820px){
  .main-nav .nav-list{
    padding: 0 !important;            /* was .5rem .6rem */
  }
  .main-nav.open .nav-list{
    padding: .6rem .7rem !important;  /* same spacing as before when open */
  }
}


