/* ====================================================*/
/* POST PAGE STYLES FOR WRITING SAMPLES & SHORTSTORIES */
/* ====================================================*/

/* Restrict the styles to ONLY the post content */
.single-post article {
  max-width: 900px;
  margin: 5rem auto;
  padding: 0 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  color: #00ffcc;
  line-height: 1.6;
  background: transparent;
}

/* Post Header (Title Block) */
.post-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.post-title {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 5px #00ffccaa;
  margin-bottom: 1rem;
  color: #00ffee;
}

/* HUD Image Styling */
.post-image-hud {
  width: 33%;
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(0,255,224,0.05) 0%, transparent 70%);
  border: 1px solid #00ffcc44;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px #00ffcc22, inset 0 0 10px #00ffcc33;
}

.post-image-hud img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(10%) brightness(1.05) contrast(1.2);
  animation: fadeInImage 1.5s ease forwards;
}

/* Content Area */
.post-content {
  margin-top: 2rem;
  font-size: 1.05rem;
  color: #cccccc;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/* Terminal-style frame for reading pages */
.terminal-frame {
  max-width: 740px;
  margin: 4rem auto;
  padding: 2rem;
  background: #000000dd;
  border: 1px solid #00ff88;
  border-radius: 4px;
  box-shadow: 0 0 20px #00ff8840;
  font-size: 1rem;
  line-height: 1.65;
}

/* Optional: terminal-style headings */
.terminal-frame h1,
.terminal-frame h2,
.terminal-frame h3 {
  color: #00ffaa;
  border-bottom: 1px dashed #00ffaa55;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Terminal link style */
.terminal-frame a {
  color: #00ffee;
  text-decoration: underline;
}
.terminal-frame a:hover {
  color: #ffae42;
}

/* Subtle Image Fade In */
@keyframes fadeInImage {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .single-post article {
    margin: 3rem auto;
    padding: 1rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }
}