/* Responsive images in content */
.postWrapper img {
  max-width: 100%;
  height: auto;
}

/* Premium profile image styling */
.postWrapper img[alt*="Profile"],
.postWrapper img[alt*="profile"] {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0 2rem 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.postWrapper img[alt*="Profile"]:hover,
.postWrapper img[alt*="profile"]:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 12px 15px -8px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Landing Page Header Banner & Overlay Styles */
.home-page .headerWrapper {
  background-image: 
    linear-gradient(to bottom, rgba(41, 42, 45, 0.4) 0%, rgba(41, 42, 45, 0.85) 100%), 
    url('/images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Glassmorphism nav bar container */
.home-page .header {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  height: auto;
  box-sizing: border-box;
}

.home-page .header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: rgba(37, 38, 39, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* Ensure text is extremely crisp with text-shadow */
.home-page .terminal span {
  color: #f8f8ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  transition: all 0.2s ease;
}

.home-page .terminal:hover span {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.home-page .headerLinks ul li a {
  color: #f8f8ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.home-page .headerLinks ul li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #80AADD !important;
  text-shadow: 0 0 8px rgba(128, 170, 221, 0.6);
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
  .home-page .headerWrapper {
    height: 140px;
  }
  
  .home-page .header {
    margin: 0 15px;
    padding: 8px 16px;
  }

  .home-page .headerLinks {
    top: 140px !important;
    height: calc(100vh - 140px) !important;
    background-color: rgba(41, 42, 45, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .indexWrapper {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .home-page .main h3 {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* Do not capitalize post titles */
.postTitle {
  text-transform: none !important;
}

