/* Blog Page Styles */

/* Base font sizes */
@media (max-width: 768px) {
  html {
    font-size: 1.0625rem;
  }
}

@media (min-width: 769px) {
  html {
    font-size: 0.89rem;
  }
}

/* Blog specific styles */
.blog-card {
  transition: all 0.2s ease-in-out;
}

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

/* Newsletter signup focus states */
.newsletter-input:focus {
  border-color: #5062FF;
  box-shadow: 0 0 0 3px rgba(80, 98, 255, 0.1);
}

/* Featured post gradient */
.featured-gradient {
  background: linear-gradient(135deg, rgba(80, 98, 255, 0.1) 0%, rgba(80, 98, 255, 0.05) 100%);
}

/* Coming soon opacity */
.coming-soon {
  opacity: 0.75;
}

/* Hover effects for interactive elements */
.interactive-hover:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .blog-hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .blog-hero p {
    font-size: 1.125rem;
  }
}

/* Animation for featured post */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-post {
  animation: fadeInUp 0.6s ease-out;
}

/* Card hover animations */
.blog-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon hover effects */
.icon-hover:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

/* Button hover states */
.btn-primary:hover {
  background-color: #3B4CF5;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(80, 98, 255, 0.3);
}

/* Newsletter form styling */
.newsletter-form input {
  transition: all 0.2s ease-in-out;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #5062FF;
  box-shadow: 0 0 0 3px rgba(80, 98, 255, 0.1);
}

/* Tag styling */
.blog-tag {
  background: rgba(80, 98, 255, 0.1);
  color: #5062FF;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.blog-tag:hover {
  background: rgba(80, 98, 255, 0.15);
}

/* Coming soon tag styling */
.coming-soon-tag {
  background: #f3f4f6;
  color: #6b7280;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Focus management for accessibility */
.blog-card:focus-within {
  outline: 2px solid #5062FF;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .newsletter-signup,
  .blog-card:hover {
    display: none;
  }
} 