/* =========================
   THE WURD GHOST THEME CSS
   ========================= */

   :root {
    --bg-color: #000;
    --text-color: #e6e6e6;
    --accent-purple: #d633ff;
    --accent-orange: #ff4d00;
    --accent-blue: #5c7aff;
    --font-base: 'Georgia', serif;
    --font-alt: 'Inter', 'IBM Plex Sans', 'Space Mono', monospace;
    --font-header: 'Archivo Black', 'Impact', 'Neue Haas Grotesk Display Pro', sans-serif;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-base);
    line-height: 1.6;
    padding: 2rem;
    position: relative;
  }
  
  a {
    color: #3b82f6;
    text-decoration: none;
  }
  
  a:hover {
    color: #60a5fa;
    text-decoration: underline;
  }
  
  img {
    display: block;
    margin: 0 auto;
  }
  
  /* HEADERS + NAVIGATION */
  h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: bold;
  }
  
  .post-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .post-title {
    text-align: center;
    display: block;
    margin: 2rem auto 1rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }
  
  .post-date {
    display: block;
    margin: 0 auto 1rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0.6;
  }
  
  h1.post-title,
  h2.post-title,
  .post-card-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(3.75rem, 7vw, 6.75rem);
  }
  
  h2 {
    font-size: 2rem;
    margin-top: 2em;
    margin-bottom: 0.5em;
  }
  
  .site-logo {
    display: block;
    margin: 2rem auto;
    max-width: 777px;
    width: 100%;
    height: auto;
  }
  
  .site-nav,
  .site-nav a,
  .site-nav li a {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .custom-navbar {
    text-align: center;
    margin: 2rem 0;
    font-family: var(--font-base);
    font-size: 2.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .custom-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .custom-navbar li {
    margin: 0;
    padding: 0;
  }
  
  .custom-navbar a {
    color: var(--text-color);
    text-decoration: none;
  }
  
  .custom-navbar a::before {
    content: "\2726";
    color: var(--accent-purple);
    margin-right: 8px;
    font-size: 1rem;
    position: relative;
    top: -2px;
  }
  
  .custom-navbar a:hover {
    color: var(--accent-purple);
  }
  
  /* CONTENT + TYPOGRAPHY */
  .gh-content {
    padding: 2rem 60px;
    max-width: 777px;
    margin: 0 auto;
  }
  
  .gh-content,
  .gh-content p,
  .gh-content li,
  .gh-content span,
  .gh-content div {
    font-size: 1.5rem;
    line-height: 1.7;
    max-width: 675px;
    margin: 0 auto;
    text-align: center;
  }
  
  .gh-article-header,
  .gh-canvas {
    text-align: center !important;
    margin: 0 auto;
  }
  
  .gh-article-header h1,
  .gh-canvas h1 {
    text-align: center !important;
    margin: 0 auto;
  }
  
  .impact {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-header);
    color: var(--accent-purple);
    margin: 2rem 0 1rem;
  }
  
  em {
    font-style: italic;
    color: var(--accent-blue);
  }
  
  strong {
    font-weight: bold;
    color: var(--accent-purple);
  }
  
  blockquote {
    font-style: italic;
    color: var(--accent-blue);
    margin: 2.5rem auto;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--accent-purple);
    text-align: left;
    max-width: 600px;
  }
  
  hr {
    border: none;
    text-align: center;
    margin: 3rem auto;
    color: var(--accent-purple);
    font-size: 1.25rem;
    opacity: 0.8;
    position: relative;
  }
  
  hr::before {
    content: "\2726 \2726 \2726";
    letter-spacing: 0.3em;
  }
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;  /* SUPER HIGH to always be on top */
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top img {
    width: 50px;
    height: auto;
    display: block;
}
  
  /* IMAGES + CARDS */
  .post-feature-image img,
  .gh-content img,
  .post-content img {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    border: 4px solid var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
    border-radius: 6px;
    padding: 4px;
    background-color: #000;
  }
  
  .kg-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 4px;
    text-align: center;
  }
  
  .kg-image-card,
  figure.kg-card {
    max-width: 675px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .kg-width-wide,
  .kg-width-full {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
  
  /* NAVIGATION + EXTRAS */
  .post-navigation {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px dashed #444;
    font-family: var(--font-alt);
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.75;
  }
  
  .post-navigation a {
    text-decoration: none;
    color: var(--accent-blue);
    transition: all 0.2s ease;
    max-width: 300px;
  }
  
  .post-navigation a:hover {
    color: var(--accent-purple);
    opacity: 1;
    letter-spacing: 0.5px;
  }
  
  .post-navigation a::before {
    content: "\2190";
    color: var(--accent-blue);
    font-size: 1rem;
    margin-right: 0.5em;
  }

  /* Bee Trail Particle */
  .bee-trail {
    width: 6px;
    height: 6px;
    background: #ffeb3b;
    border-radius: 50%;
    position: absolute;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    animation: puff 1s forwards;
  }
  
  @keyframes puff {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  
  /* Bubble Base */
  .bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    perspective: 1200px; /* <-- perspective applies directly like this */
    backface-visibility: hidden;
  }
  
  .bee-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 99999;
    pointer-events: auto;
    will-change: transform;
    transition: opacity 0.5s ease;
  }
  
  .bee-image {
    width: 40px;
    height: auto;
    margin-right: 10px;
  }
  
  .bee-banner {
    background: #000;
    color: #ffeb3b;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 12px;
    font-family: var(--font-alt);
    white-space: nowrap;
    box-shadow: 0 0 10px #ffeb3b88;
  }
  
  /* MOBILE RESPONSIVE */
  @media (max-width: 768px) {
    body {
      padding: 1.5rem;
    }
  
    .custom-navbar {
      font-size: 1.6rem;
      margin: 1rem 0;
    }
  
    .custom-navbar ul {
      flex-direction: column;
      gap: 0.75rem;
    }
  
    .gh-content,
    .gh-content p,
    .gh-content li,
    .gh-content span,
    .gh-content div {
      font-size: 1.3rem;
      line-height: 1.75;
      padding: 0 0.5rem;
      letter-spacing: 0.01em;
      text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
      text-align: center;
    }
  
    h1.post-title,
    h2.post-title,
    .post-card-title {
      font-size: clamp(2rem, 7vw, 3rem);
    }
  
    h2 {
      font-size: 1.5rem;
    }
  
  }
  .tag-archive-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .post-feed {
    max-width: 777px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .post-card h2 {
    font-size: 2rem;
    color: var(--accent-purple);
  }
  
  .post-card p {
    color: var(--text-color);
    font-size: 1.2rem;
  }
  .tag-header {
    text-align: center;
    margin: 2rem auto;
  }
  
  .tag-header h1,
  .tag-header h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 2rem;
    color: var(--text-color);
  }
  /* Container for the list of posts */
.post-feed {
  display: flex;                     /* Use Flexbox layout */
  flex-direction: column;           /* Stack posts vertically */
  gap: 2rem;                        /* Space between each post */
  max-width: 777px;                /* Limit width for readability */
  margin: 0 auto;                  /* Center the container */
  padding: 2rem;                   /* Inner spacing around content */
}

/* Individual post card styling */
.post-card {
  padding: 1rem;                   /* Inner padding for breathing room */
  border-bottom: 1px solid #333;  /* Light divider between posts */
  text-align: center;             /* Center text in the card */
}

/* Title within each post card */
.post-card h2 {
  font-size: 1.75rem;             /* Slightly larger font for emphasis */
  color: var(--accent-blue);      /* Use your theme’s accent color */
  margin-bottom: 0.5rem;         /* Spacing below the title */
}
/* Style for the "The Chap in Me" tag page */
.tag-thechapinme {/* deep green like a soccer pitch */
  color: #f0f0f0;
}
body.tag-thechapinme main {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100%;
}
/* Center the tag header */
.tag-thechapinme .gh-pagehead {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
}

.tag-thechapinme .gh-pagehead h1 {
  font-size: 3rem;
  font-family: var(--font-header);
  margin-bottom: 0.5rem;
}

.tag-thechapinme .gh-pagehead p {
  font-size: 1.25rem;
  opacity: 0.8;
}
.tag-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tag-description {
  text-align: center;
  opacity: 0.8;
  font-size: 1.2rem;
}

.tag-hyperfixations {
  background-color: #000;
  color: #e6e6e6;
}

.tag-thechapinme {
  background: repeating-linear-gradient(
    to bottom,
    #007a33,           /* Bright green */
    #007a33 360px,     /* 3 x 120px */
    #005a22 360px,
    #005a22 720px      /* 3 x 240px total height */
  );
  color: #e6ffe6;
}

.tag-thechapinme::before,
.tag-thechapinme::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white; /* faint white */
  z-index: 0;
}

.tag-thechapinme::before {
  left: 2rem;
}

.tag-thechapinme::after {
  right: 2rem;
}
body.tag-thechapinme h1.post-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* was ~6.75rem */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
img[src$=".png"],
.post-content img[src$=".png"],
.gh-content img[src$=".png"] {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* White layout lines ONLY on "the chap in me" tag pages */
body.tag-thechapinme .layout-gridlines {
  position: absolute;
  top: 0;
  left: 50%;
  width: 657px;  /* 777 minus padding */
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

body.tag-thechapinme .layout-gridlines::before,
body.tag-thechapinme .layout-gridlines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  z-index: 0;
}

body.tag-thechapinme .layout-gridlines::before {
  left: 0;
}

body.tag-thechapinme .layout-gridlines::after {
  right: 0;
}


body.tag-thechapinme .layout-gridlines .left-guide {
  left: 20%;
}
body.tag-thechapinme .layout-gridlines .right-guide {
  right: 20%;
}


.tag-thechapinme {
  --accent-purple: #c792ea;
  --accent-blue: #82aaff;
  --text-color: #e0f8ea;
  --bg-color: #004d1f;
}
body.tag-thechapinme .post-content img {
  border: 4px solid white !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 4px;
  background-color: #000;
}
.tag-thechapinme em {
  color: var(--accent-blue);
}

.tag-thechapinme strong {
  color: var(--accent-purple);
}

.tag-thechapinme blockquote {
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-purple);
}

.tag-thechapinme .post-title {
  color: #fff;
}

body.tag-thechapinme::before {
  left: 2rem;
}

body.tag-thechapinme::after {
  right: 2rem;
}
body.tag-thechapinme hr::before {
  content: "⚽️ ⚽️ ⚽️";
  display: block;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  color: white;
  filter: drop-shadow(0 0 2px #000);
  opacity: 0.8;
}
body.tag-thechapinme h1.post-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

body.tag-thechapinme .tag-description {
  text-align: center;
  font-size: 1.25rem;
  opacity: 0.8;
}
body {
  background-color: #000;
}
.gh-navigation {
  display: none !important;
}
.subscribe-whisper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent-purple);
  z-index: 99999;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, background 0.3s ease;
  opacity: 0;
}

.subscribe-whisper.show {
  opacity: 0.85;
}

.subscribe-whisper:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px var(--accent-purple);
}
@media (max-width: 768px) {
  .subscribe-whisper {
    position: static;
    display: block;
    margin: 0 auto 0.5rem;
    text-align: center;
    opacity: 1 !important;
    background: var(--accent-purple);
    color: #000;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .subscribe-whisper a {
    color: #000 !important;
    text-decoration: none;
    font-weight: bold;
  }

  .subscribe-whisper:hover {
    background: var(--accent-purple);
    box-shadow: none;
  }
}
.tip-jar-whisper {
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent-purple);
  z-index: 99999;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, background 0.3s ease;
  opacity: 0;
}

.tip-jar-whisper.show {
  opacity: 0.85;
}

.tip-jar-whisper:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px var(--accent-purple);
}

@media (max-width: 768px) {
  .tip-jar-whisper {
    position: static;
    display: block;
    margin: 0 auto 0.5rem;
    text-align: center;
    opacity: 1 !important;
    background: var(--accent-purple);
    color: #000;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  .tip-jar-whisper a {
    color: #000 !important;
    text-decoration: none;
    font-weight: bold;
  }

  .tip-jar-whisper:hover {
    background: var(--accent-purple);
    box-shadow: none;
  }
}
.gh-cta-actions {
  background: #000 !important;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin: 3rem auto 2rem;
  max-width: 675px;
  box-shadow: 0 0 15px var(--accent-purple);
  border: 1px solid var(--accent-purple);
  font-family: var(--font-alt);
}

.gh-cta-actions .gh-btn {
  background: var(--accent-purple) !important;
  color: #000 !important;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 0 10px var(--accent-purple);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
}

.gh-cta-actions .gh-btn:hover {
  background: #ffeb3b !important;
  color: #000 !important;
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffeb3b;
}

.gh-cta-actions .gh-signin {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.75;
  color: #ccc;
  font-style: italic;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gh-cta-actions .gh-signin:hover {
  opacity: 1;
  color: var(--accent-blue);
}
.gh-cta-actions .gh-btn:hover {
  background: linear-gradient(90deg, var(--accent-purple), #ffeb3b);
  box-shadow: 0 0 20px #ffeb3b99, 0 0 10px var(--accent-purple);
}
@media (max-width: 600px) {
  .gh-cta-actions {
    padding: 0.75rem;
    margin: 2rem auto 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent-purple);
  }

  .gh-cta-actions .gh-btn {
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 0 8px var(--accent-purple);
  }

  .gh-cta-actions .gh-signin {
    font-size: 0.85rem;
    margin-top: 0.75rem;
  }
}
.nuke-symbol {
  color: #39ff14; /* nuclear green */
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14, 0 0 24px #39ff14;
  font: inherit;           /* keep header/body vibe */
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}