/* --------------------------------------------- */
/* HEADER CLEANUP                                */
/* --------------------------------------------- */

div.wrapper-inner.group {
  background-image:url("https://popcornjedi.com/wp-content/uploads/2026/05/pj-popjedi-header-4.jpg");
  background-size:auto;
  background-blend-mode:screen;
  background-size: cover;
  height:210px;
}

#header { 
  position: relative; 
  z-index: 3; 
}

header {
    background: transparent !important;
}

/* 1. FORCE VISIBILITY: Stops the lightbox layout from cutting off the glow edges */
.mwlb-container,
.mwlb-wrapper,
.pswp,
.pswp__wrapper,
.pswp__zoom-wrap,
.pswp__img--placeholder {
    overflow: visible !important;
}

/* 2. THE GLOW ENGINE: Targets both Meow Native engine AND PhotoSwipe engine images */
.mwlb-container img, 
.mwlb-slide img,
img.pswp__img {
    box-shadow:
        0 0 20px rgba(0,191,255,0.6),
        0 0 40px rgba(0,191,255,0.4),
        0 0 60px rgba(0,191,255,0.2);
    border: 1px solid rgba(0, 225, 255, 0.3) !important;
}

/* REMOVED: Dark Mode sidebar background */
/* REMOVED: Dark Mode widget styling */

/* Guaranteed override: any featured image on single posts */
.single-post img.attachment-pj-featured {
      box-shadow:0px 0px 10px 0px #000000 !important;
    height: 520px !important;
    width: 750px; /* same width */
    height: auto;
    transform: perspective(330px) rotateY(-10deg) scaleX(1.4);
    transform-origin: center right; /* flipped anchor */
    transition: transform 0.4s ease;
      animation: flicker 2.6s infinite;
}

@keyframes flicker {
  0%   { opacity: 1; }
  5%   { opacity: 0.92; }
  10%  { opacity: 0.97; }
  15%  { opacity: 0.90; }
  20%  { opacity: 0.98; }
  25%  { opacity: 0.94; }
  30%  { opacity: 1; }
  40%  { opacity: 0.93; }
  50%  { opacity: 0.99; }
  60%  { opacity: 0.91; }
  70%  { opacity: 0.96; }
  80%  { opacity: 0.93; }
  90%  { opacity: 0.99; }
  100% { opacity: 1; }
}

/* ------------------------------------------------ */
/* POPCORN JEDI TOP BANNER — FORCE INSERT VERSION   */
/* ------------------------------------------------ */

#pj-top-banner {
  background: linear-gradient(90deg, #003b5c, #002f47);
  padding: 6px 12px;
  text-align: center;
  border-bottom: 2px solid #ffe27a;
  box-shadow: 0 0 18px rgba(0, 80, 120, 0.7);
  font-family: "Aurebesh", sans-serif;
  color: #ffe27a;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.95;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.pj-top-holo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 180, 255, 0.35) 50%,
    transparent 100%
  );
  animation: pjTopShimmer 4s infinite;
}

@keyframes pjTopShimmer {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.holonet-ticker {
  width: 100%;
  overflow: hidden;
  background: #111;
  color: #0ff;
  padding: 8px 0;
  border-top: 2px solid #0ff;
  border-bottom: 2px solid #0ff;
  font-family: "Orbitron", sans-serif;
  white-space: nowrap;
}

.holonet-track {
  display: inline-block;
  /* make sure the track is wider than the container */
  min-width: 200%;
  animation: holonet-scroll 60s linear infinite;
}

.holonet-track span {
  display: inline-block;
  margin-right: 60px;
}

@keyframes holonet-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}