/* blog.css - Blog Archive Page Styles (Static HTML Version) */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables - Brand Tokens */
:root {
  --brand: #17D2C2;
  --brand-300: #47E0D2;
  --brand-600: #12B7AB;
  --brand-gradient: linear-gradient(135deg, #12B7AB 0%, #17D2C2 50%, #47E0D2 100%);
  --bg-900: #0A0A0A;
  --bg-800: #121212;
  --surface-700: #1C1C1E;
  --border-600: #2A2A2C;
  --text: #FFFFFF;
  --text-2: #C7C7CC;
  --muted: #8E8E93;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-900);
  color: var(--text);
  line-height: 1.6;
}

/* Blog Container */
.blog-container {
  min-height: 100vh;
  background: var(--bg-900);
  color: var(--text);
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

/* Mobile: Hide header/footer, show bottom nav */
@media (max-width: 1023px) {
  .mainheader-navbar,
  .mainfooter-container {
    display: none !important;
  }
}

/* Desktop: Show header/footer, hide bottom nav */
@media (min-width: 1024px) {
  .bottom-navigation {
    display: none !important;
  }

  .blog-container {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Header Section */
.blog-header {
  background: var(--brand-gradient);
  padding: 60px 20px 40px;
  text-align: center;
}

.blog-headerContent {
  max-width: 800px;
  margin: 0 auto;
}

.blog-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text);
}

.blog-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Posts Section */
.blog-postsSection {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 36px;
  }

  .blog-subtitle {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .blog-header {
    padding: 80px 20px 60px;
  }

  .blog-title {
    font-size: 56px;
  }

  .blog-subtitle {
    font-size: 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
}
