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

div.wrapper-inner.group {
  background-image:url("https://popcornjedi.com/wp-content/uploads/2026/10/Popcorn-Jedi-Header-–-Halloween.jpg");
  background-size:auto;
  background-blend-mode:screen;
  background-size: cover;
  height:210px;
}

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

header {
    background: transparent !important;
}

.stickywrap-heading {
    color: white !important; 
}

/* Color specific category archives text */
.category-762143510 .contentbox,
.category-762143510 .contentbox p,
.category-762122867 .contentbox,
.category-762122867 .contentbox p,
.category-762143513 .contentbox,
.category-762143513 .contentbox p,
.category-762143654 .contentbox,
.category-762143654 .contentbox p,
.category-762143599 .contentbox,
.category-762143599 .contentbox p,
.category-277 .contentbox,
.category-277 .contentbox p,
.category-762143514 .contentbox,
.category-762143514 .contentbox p {
    color: grey !important; 
}

/* Lock Movie Quote Profile Image to precisely 100x100 */
img.pj-profile-quote-thumb {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important; /* Prevents the face from stretching or squishing */
    border-radius: 50%; /* Keeps it perfectly circular if you have circles active */
    display: block;
    margin: 0 auto 10px; /* Centers the image nicely over your movie quotes */
}

.stickywrap-heading a {
    color: #fff !important;
}

@font-face {
  font-family: 'Nasalization';
  src: url('https://popcornjedi.com/wp-content/uploads/2023/12/nasalization-rg.otf') format('opentype');
  font-display: swap;
}

.blog-card-left  {
      box-shadow: 0px 0px 10px 0px #000000 !important;
    width: 220px;
    height: auto;
    transform: perspective(100px) rotateY(8deg) scaleX(1.9);
    transform-origin: center left;
}

.highlights-card-thumb  {
      box-shadow:0px 0px 10px 0px #000000 !important;
}

.featured-card {
      box-shadow:0px 0px 10px 0px #000000 !important;
}

.katla-ticker {
      box-shadow:0px 0px 10px 0px #000000 !important;
}

.jp-relatedposts-post-img {
      box-shadow:0px 0px 10px 0px #000000 !important;
}

/* Guaranteed override: any featured image on single posts */
.single-post img.attachment-pj-featured {
    box-shadow: 0 0 10px 0 #000 !important;
    width: 750px !important;
    max-width: none !important;
    height: 520px !important;
    transform: perspective(530px) rotateY(10deg) scaleX(1.2);
    transform-origin: center left;
    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%);
  }
}

/* ============================================================
   HOLOCRON MASTER STYLESHEET v3.2
   Popcorn Jedi Unified Holocron UI System
   ============================================================ */

/* ------------------------------------------------------------
   BASE STRUCTURE (Shared by all holocrons)
   ------------------------------------------------------------ */

table.holocron-frame {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 22px;
  overflow: hidden;
  font-family: "Trebuchet MS", system-ui;
  position: relative;
  box-sizing: border-box;
}

/* Title Bar */
.holocron-title {
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
}

/* Glyph Lines */
.holocron-title::before,
.holocron-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18%;
  height: 1px;
}

.holocron-title::before { left: 4%; }
.holocron-title::after {
  right: 4%;
  transform: scaleX(-1);
}

/* Body Cell */
.holocron-body {
  padding: 1.5rem;
  line-height: 1.65;
  font-size: 0.95rem;
  background-size: 24px 24px;
}

/* Links */
.holocron-body a {
  text-decoration: none;
  font-weight: 600;
}

.holocron-body a:hover {
  border-bottom-style: solid;
}

/* ------------------------------------------------------------
   THEME 1: CLASSIC CYAN / THE CLONE WARS (Amplified Drop Shadow)
   ------------------------------------------------------------ */

table.holocron-blue {
  color: #e5f7ff;
  border: 2px solid #3af2ff;
  /* Enhanced high-contrast radial core glow */
  background: radial-gradient(circle at center, #2e435d 0%, #0d1624 55%, #050a12 100%);
  /* Markedly increased spread, opacity, and intensity for outer and inner bloom */
  box-shadow: 
    0 0 35px rgba(58, 242, 255, 0.75), 
    0 0 15px rgba(58, 242, 255, 0.4), 
    inset 0 0 25px rgba(58, 242, 255, 0.35);
}

.holocron-blue .holocron-title {
  color: #9cf6ff;
  background: linear-gradient(to right, rgba(58, 242, 255, 0.2), rgba(13, 22, 36, 0.85), rgba(58, 242, 255, 0.2));
  border-bottom: 1px solid rgba(58, 242, 255, 0.5);
}

.holocron-blue .holocron-title::before,
.holocron-blue .holocron-title::after {
  background: linear-gradient(to right, transparent, rgba(156, 246, 255, 0.9));
}

.holocron-blue .holocron-body {
  border-top: 1px solid rgba(58, 242, 255, 0.2);
  background-image:
    linear-gradient(rgba(58, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 242, 255, 0.05) 1px, transparent 1px);
}

.holocron-blue .holocron-body a {
  color: #3af2ff;
  border-bottom: 1px dotted rgba(58, 242, 255, 0.7);
}

.holocron-blue .holocron-body a:hover { color: #9cf6ff; }

/* ------------------------------------------------------------
   THEME 2: PURPLE HOLOCRON (Jedi Archive)
   ------------------------------------------------------------ */

table.holocron-purple {
  color: #f7efff;
  border: 2px solid #c47cff;
  /* Enhanced high-contrast radial core glow */
  background: radial-gradient(circle at center, #5b2f70 0%, #251030 55%, #120419 100%);
  box-shadow: 0 0 22px rgba(196, 124, 255, 0.5), inset 0 0 22px rgba(196, 124, 255, 0.25);
}

.holocron-purple .holocron-title {
  color: #e8c6ff;
  background: linear-gradient(to right, rgba(196, 124, 255, 0.15), rgba(37, 16, 48, 0.85), rgba(196, 124, 255, 0.15));
  border-bottom: 1px solid rgba(196, 124, 255, 0.5);
}

.holocron-purple .holocron-title::before,
.holocron-purple .holocron-title::after {
  background: linear-gradient(to right, transparent, rgba(232, 198, 255, 0.9));
}

.holocron-purple .holocron-body {
  border-top: 1px solid rgba(196, 124, 255, 0.2);
  background-image:
    linear-gradient(rgba(196, 124, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 124, 255, 0.06) 1px, transparent 1px);
}

.holocron-purple .holocron-body a {
  color: #c47cff;
  border-bottom: 1px dotted rgba(196, 124, 255, 0.7);
}

.holocron-purple .holocron-body a:hover { color: #e8c6ff; }

/* ------------------------------------------------------------
   THEME 3: SITH RED HOLOCRON
   ------------------------------------------------------------ */

table.holocron-sith {
  color: #ffcccc;
  border: 2px solid #ff3b3b;
  /* Enhanced high-contrast radial core glow */
  background: radial-gradient(circle at center, #7a1515 0%, #330707 55%, #1a0202 100%);
  box-shadow: 0 0 25px rgba(255, 60, 60, 0.55), inset 0 0 25px rgba(255, 60, 60, 0.25);
}

.holocron-sith .holocron-title {
  color: #ffb3b3;
  background: linear-gradient(to right, rgba(255, 60, 60, 0.15), rgba(51, 7, 7, 0.85), rgba(255, 60, 60, 0.15));
  border-bottom: 1px solid rgba(255, 60, 60, 0.6);
}

.holocron-sith .holocron-title::before,
.holocron-sith .holocron-title::after {
  background: linear-gradient(to right, transparent, rgba(255, 179, 179, 0.9));
}

.holocron-sith .holocron-body {
  border-top: 1px solid rgba(255, 60, 60, 0.25);
  background-image:
    linear-gradient(rgba(255, 60, 60, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 60, 60, 0.09) 1px, transparent 1px);
}

.holocron-sith .holocron-body a {
  color: #ff3b3b;
  border-bottom: 1px dotted rgba(255, 60, 60, 0.7);
}

.holocron-sith .holocron-body a:hover { color: #ffb3b3; }

/* ------------------------------------------------------------
   THEME 4: HIGH REPUBLIC GOLD HOLOCRON
   ------------------------------------------------------------ */

table.holocron-highrepublic {
  color: #fff4d6;
  border: 2px solid #ffd86b;
  /* Retained high-contrast radial core glow layout */
  background: radial-gradient(circle at center, #6b552b 0%, #302511 55%, #1a1307 100%);
  box-shadow: 0 0 25px rgba(255, 216, 107, 0.5), inset 0 0 25px rgba(255, 216, 107, 0.25);
}

.holocron-highrepublic .holocron-title {
  color: #ffe9b0;
  background: linear-gradient(to right, rgba(255, 216, 107, 0.15), rgba(48, 37, 17, 0.85), rgba(255, 216, 107, 0.15));
  border-bottom: 1px solid rgba(255, 216, 107, 0.6);
}

.holocron-highrepublic .holocron-title::before,
.holocron-highrepublic .holocron-title::after {
  background: linear-gradient(to right, transparent, rgba(255, 233, 176, 0.9));
}

.holocron-highrepublic .holocron-body {
  border-top: 1px solid rgba(255, 216, 107, 0.2);
  background-image:
    linear-gradient(rgba(255, 216, 107, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 216, 107, 0.07) 1px, transparent 1px);
}

.holocron-highrepublic .holocron-body a {
  color: #ffd86b;
  border-bottom: 1px dotted rgba(255, 216, 107, 0.7);
}

.holocron-highrepublic .holocron-body a:hover { color: #ffe9b0; }

/* ------------------------------------------------------------
   MOBILE TWEAKS
   ------------------------------------------------------------ */

@media (max-width: 600px) {
  table.holocron-frame { font-size: 0.9rem; }
  .holocron-body { padding: 1.1rem; }
  .holocron-title::before, .holocron-title::after { display: none; }
}

/* ============================================================
   STAR WARS CINEMATIC BRANDING LINES (JEDI BLUE ENGINE)
   ============================================================ */

.sw-galaxy-font {
  font-family: "sf-distant-galaxy", "Trebuchet MS", sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.sw-title-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 1.25rem 0 !important;
}

/* Forces the framing tracking lines to use your custom #3366ff blue automatically */
.sw-title-row::before,
.sw-title-row::after {
  content: "" !important;
  height: 2px !important;
  background-color: #3366ff !important;
  opacity: 0.7 !important;
}

/* Header Text Left Align Rules */
.top-brand-left::before { display: none !important; }
.top-brand-left::after {
  flex: 1 !important;
  margin-left: 1.5rem !important;
}

/* Footer Text Right Align Rules */
.bottom-brand-right::before {
  flex: 1 !important;
  margin-right: 1.5rem !important;
}
.bottom-brand-right::after { display: none !important; }

.sw-brand-text {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  white-space: nowrap !important;
}

.sw-title-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  line-height: 1 !important; /* Prevents text boxes from adding extra vertical height padding */
  margin: 0 !important; /* defers directly to the inline measurements */
}

/* Mobile Breakpoint Fixes */
@media (max-width: 650px) {
  .sw-brand-text { white-space: normal !important; }
  .top-brand-left, .bottom-brand-right { justify-content: center !important; }
  .top-brand-left::after, .bottom-brand-right::before { display: none !important; }
}