/* Blog Page Specific Styles */
.blog-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2rem;
}

.blog-content {
  max-width: 700px;
  width: 100%;
  text-align: left;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.blog-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.blog-post {
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-2px);
}

.blog-post:nth-child(3) {
  animation-delay: 0.4s;
}
.blog-post:nth-child(5) {
  animation-delay: 0.6s;
}
.blog-post:nth-child(7) {
  animation-delay: 0.8s;
}
.blog-post:nth-child(9) {
  animation-delay: 1s;
}
.blog-post:nth-child(11) {
  animation-delay: 1.2s;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-category {
  font-size: 0.8rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(90, 108, 125, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.post-category:hover {
  color: var(--accent-orange);
  background: rgba(238, 142, 78, 0.1);
}

.post-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

/* Gradient background hover effect */
.post-title:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -4px;
  right: -4px;
  bottom: -2px;
  background: linear-gradient(
    to left,
    rgba(238, 142, 78, 0.4),
    rgba(238, 142, 78, 0.35),
    rgba(238, 142, 78, 0.3),
    rgba(238, 142, 78, 0.35),
    rgba(238, 142, 78, 0.4)
  );
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition:
    transform 0.4s ease-in-out,
    opacity 0.5s ease-in-out;
  z-index: -1;
  border-radius: 2px;
}

/* Activate hover effects */
.post-title:hover::before {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left;
}

.post-title:hover::after {
  opacity: 1;
}

.post-excerpt {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
}

/* Gradient background hover effect */
.read-more:before {
  content: "";
  position: absolute;
  top: -2px;
  left: -4px;
  right: -4px;
  bottom: -2px;
  background: linear-gradient(
    to left,
    rgba(238, 142, 78, 0.6),
    rgba(238, 142, 78, 0.3)
  );
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition:
    transform 0.4s ease-in-out,
    opacity 0.4s ease-in-out;
  z-index: -1;
  border-radius: 2px;
}

/* Left accent bar hover effect */
.read-more:after {
  content: "";
  position: absolute;
  top: -2px;
  left: -4px;
  width: 2px;
  bottom: -2px;
  background-color: rgba(238, 142, 78, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 1px;
}

/* Activate hover effects */
.read-more:hover::before {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left;
}

.read-more:hover::after {
  opacity: 1;
}
