/* ============================================
   BIBLE BRAWL - Shared layout styles for sub-pages
   ============================================ */
:root {
  --primary-yellow: #ffde00;
  --action-red: #ff0000;
  --comic-black: #121212;
  --comic-blue: #00ffff;
  --paper-white: #fdfdfd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--comic-black);
  color: white;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 999;
}
.comic-font {
  font-family: 'Bangers', cursive;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* NAV */
.bb-nav {
  position: sticky; top: 0;
  z-index: 1000;
  background: var(--comic-black);
  border-bottom: 5px solid var(--action-red);
  padding: 10px 5%;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.bb-logo { display: flex; align-items: center; text-decoration: none; }
.bb-logo img { max-height: 60px; width: auto; }
.bb-nav-links { display: flex; align-items: center; height: 100%; }
.nav-item {
  position: relative; height: 100%;
  display: flex; align-items: center;
  margin-left: 25px;
}
.nav-link {
  color: white; text-decoration: none;
  font-weight: 900; font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 25px 0;
}
.nav-link:hover { color: var(--primary-yellow); }
.shop-btn {
  background: var(--primary-yellow);
  color: black !important;
  padding: 8px 20px;
  transform: skew(-10deg);
  border: 3px solid black;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 900;
}
.shop-btn span { display: block; transform: skew(10deg); }
.hamburger {
  display: none;
  background: none; border: none;
  color: var(--primary-yellow);
  font-size: 2rem; cursor: pointer;
}
.mobile-menu {
  position: fixed; top: 80px; left: 0;
  width: 100%;
  background: var(--comic-black);
  border-bottom: 5px solid var(--action-red);
  display: none; flex-direction: column;
  padding: 20px 0;
  z-index: 998;
}
.mobile-menu a {
  color: white; text-decoration: none;
  font-family: 'Bangers'; font-size: 1.5rem;
  text-align: center;
  padding: 15px;
  border-bottom: 1px solid #333;
}
.mobile-menu.active { display: flex; }

/* PAGE WRAPPER */
.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 5%;
  background: var(--paper-white);
  color: var(--comic-black);
  position: relative;
  z-index: 2;
}
.page-bg {
  background: var(--paper-white);
  position: relative;
  min-height: 80vh;
}
.page-bg::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(#ccc 15%, transparent 16%);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}

/* BLOG POST */
.post-hero {
  height: 50vh; min-height: 350px;
  background-size: cover;
  background-position: center;
  border-bottom: 8px solid var(--action-red);
  position: relative;
}
.post-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.post-hero-text {
  position: absolute; bottom: 30px; left: 5%;
  right: 5%;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  color: white;
}
.post-date {
  display: inline-block;
  background: var(--primary-yellow);
  color: black;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border: 2px solid black;
}
.post-title {
  font-family: 'Bangers';
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 0;
  line-height: 1;
  text-shadow: 4px 4px 0 black;
  color: white;
}
.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}
.post-body h2 {
  font-family: 'Bangers';
  color: var(--action-red);
  font-size: 2.2rem;
  margin-top: 40px;
  text-shadow: 2px 2px 0 black;
}
.post-body h3 {
  font-family: 'Bangers';
  color: var(--comic-black);
  font-size: 1.6rem;
  margin-top: 30px;
}
.post-body p { margin: 1em 0; }
.post-body strong { color: var(--action-red); }
.post-body ul, .post-body ol { margin-left: 20px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 5px solid var(--action-red);
  padding: 10px 20px;
  background: white;
  font-style: italic;
  margin: 30px 0;
  box-shadow: 5px 5px 0 var(--primary-yellow);
}

/* CTA at end of post */
.post-cta {
  margin-top: 60px;
  padding: 40px;
  background: var(--comic-black);
  color: white;
  text-align: center;
  border: 5px solid var(--action-red);
  box-shadow: 10px 10px 0 var(--primary-yellow);
}
.post-cta h3 {
  font-family: 'Bangers';
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  color: var(--primary-yellow);
}
.post-cta a {
  display: inline-block;
  background: var(--action-red);
  color: white;
  padding: 12px 30px;
  font-family: 'Bangers';
  font-size: 1.5rem;
  border: 3px solid white;
  text-decoration: none;
  margin-top: 15px;
  transition: 0.2s;
}
.post-cta a:hover {
  background: white;
  color: var(--action-red);
  border-color: var(--action-red);
}

/* BACK LINK */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--action-red);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.back-link:hover { text-decoration: underline; }

/* FAQ */
.faq-list { margin-top: 40px; }
.faq-item {
  background: white;
  border: 3px solid black;
  margin-bottom: 20px;
  box-shadow: 6px 6px 0 var(--primary-yellow);
}
.faq-question {
  padding: 20px;
  font-family: 'Bangers';
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: black;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--primary-yellow); }
.faq-question::after {
  content: "+";
  font-size: 2rem;
  color: var(--action-red);
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  display: none;
  padding: 0 20px 20px 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* FOOTER */
.bb-footer {
  padding: 40px;
  text-align: center;
  background: black;
  border-top: 5px solid var(--action-red);
  color: var(--primary-yellow);
}
.bb-footer a { color: var(--primary-yellow); }

@media (max-width: 768px) {
  .bb-nav-links { display: none; }
  .hamburger { display: block; }
  .post-title { font-size: 2.2rem; }
  .post-body { font-size: 1rem; }
  .post-hero { height: 40vh; min-height: 250px; }
}
