/* ================================================ */
/* BLOGS PAGE SPECIFIC STYLES                       */
/* Contains styles unique to blogs.html.            */
/* ================================================ */

/* -------------------------
   HERO SECTION STYLES
   ------------------------- */
.hero {
  padding: 48px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  animation: fadeUp 0.7s both;  /* Entry animation */
}

.hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem); /* Responsive font */
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.tagline {
  color: rgba(255,255,255,0.9);
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Logo container (for hero section) */
.logo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* -------------------------
   SCROLLABLE CONTENT SECTIONS
   ------------------------- */
.scrollable {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;        /* Hide scrollbar in Firefox */
  -ms-overflow-style: none;     /* Hide scrollbar in IE/Edge */
  padding: 0 16px;
}

.scrollable::-webkit-scrollbar {
  display: none;                /* Hide scrollbar in WebKit */
}

/* Scroll hint animation */
.scroll-hint {
    margin-left:8px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 8px;
  animation: pulseHint 2s infinite;
}

/* Post styles for different categories */
.post { /* This is the base post style, but specific ones below override/extend it */
    min-width: 330px;
    margin-right: 10px;
    border: 2px solid #00ffff;
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
    box-shadow: 0 0 12px rgba(0, 255, 170, 0.1);
    scroll-snap-align: start;
}

.post2 {
  min-width: 350px;
  margin-right: 24px;
  padding: 16px;
  border: 2px solid #00ffff;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  box-shadow: 0 0 12px #00ffff33;
  scroll-snap-align: start;
  transition: var(--transition);
}

.post2:hover {
  box-shadow:
    0 0 16px #00ffff,
    0 0 32px #00ffff88;
  border-color: #00ffff;
}

.post3 {
  min-width: 350px;
  margin-right: 24px;
  padding: 16px;
  border: 2px solid #39ff14;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  box-shadow: 0 0 12px #00ffff33; /* Note: This shadow is cyan, not green. Keeping as per original. */
  scroll-snap-align: start;
  transition: var(--transition);
}

.post3:hover {
  box-shadow:
    0 0 16px #39ff14,
    0 0 36px #00ff99;
  border-color: #39ff14;
}

.post4 {
  min-width: 350px;
  margin-right: 24px;
  padding: 16px;
  border: 2px solid #bf00ff;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
  box-shadow: 0 0 12px #bf00ff33;
  scroll-snap-align: start;
  transition: var(--transition);
}

.post4:hover {
  box-shadow:
    0 0 20px #bf00ff,
    0 0 36px #bf00ff88;
  border-color: #bf00ff;
}

/* -------------------------
   RESPONSIVE DESIGN (Blogs Specific)
   ------------------------- */
@media (max-width: 768px) {
    .scrollable {
        overflow-x: scroll; /* Ensure scrolling on smaller screens */
    }
    .post,
    .post2,
    .post3,
    .post4 {
        min-width: 100%; /* Full width on mobile */
    }
}