/* ============================================
   BLOG STYLES — Agosto Fitness
   Dark editorial design (Bebas Neue + Inter)
   ============================================ */

/* --- BLOG SECTION (Index Page) --- */
.blog-section {
  padding: 80px 0 100px;
  background: #0a0a0a;
}

/* --- FILTER BUTTONS --- */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}

.blog-filter-btn {
  padding: 10px 24px;
  border: 1px solid rgba(232, 228, 224, 0.15);
  background: transparent;
  color: #999;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter-btn:hover {
  color: #e8e4e0;
  border-color: rgba(232, 228, 224, 0.4);
}

.blog-filter-btn.active {
  background: #e8e4e0;
  color: #0a0a0a;
  border-color: #e8e4e0;
  font-weight: 600;
}

/* --- BLOG GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- BLOG CARD --- */
.blog-card {
  background: #111;
  border: 1px solid rgba(232, 228, 224, 0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 228, 224, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
}

.blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 28px 24px 24px;
}

.blog-card-category {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8e4e0;
  opacity: 0.6;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #e8e4e0;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.blog-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #999;
  margin-bottom: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #666;
}

.blog-card-author {
  font-weight: 500;
  color: #888;
}

/* --- SINGLE POST HERO --- */
.blog-post-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  overflow: hidden;
}

.blog-post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 40%, rgba(10, 10, 10, 0.3) 100%);
}

.blog-post-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.blog-post-back {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.blog-post-back:hover {
  color: #e8e4e0;
}

.blog-post-category {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8e4e0;
  opacity: 0.7;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(232, 228, 224, 0.2);
  border-radius: 3px;
}

.blog-post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: #e8e4e0;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888;
}

.blog-post-author {
  font-weight: 500;
  color: #bbb;
}

/* --- SINGLE POST BODY --- */
.blog-post-body {
  background: #0a0a0a;
  padding: 80px 0 60px;
}

.blog-post-container {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-body p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 24px;
}

.blog-post-body .blog-post-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #e8e4e0;
  font-weight: 400;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(232, 228, 224, 0.08);
}

.blog-post-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #e8e4e0;
  margin-top: 48px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.blog-post-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8e4e0;
  margin-top: 36px;
  margin-bottom: 16px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-post-body li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 8px;
}

.blog-post-body strong {
  color: #e8e4e0;
  font-weight: 600;
}

/* --- CALLOUT BOX --- */
.blog-post-callout {
  background: rgba(232, 228, 224, 0.03);
  border-left: 3px solid #e8e4e0;
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 6px 6px 0;
}

.blog-post-callout p {
  margin-bottom: 8px;
  font-size: 15px;
}

.blog-post-callout p:last-child {
  margin-bottom: 0;
}

/* --- AUTHOR BIO --- */
.blog-post-author-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 228, 224, 0.08);
}

.blog-post-author-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: #e8e4e0;
  margin-bottom: 8px;
  margin-top: 0;
}

.blog-post-author-info p {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 0;
}

/* --- RELATED POSTS --- */
.blog-related {
  background: #0a0a0a;
  padding: 60px 0 80px;
  border-top: 1px solid rgba(232, 228, 224, 0.06);
}

.blog-related-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #e8e4e0;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.02em;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 60px 0 80px;
  }

  .blog-filter {
    gap: 8px;
    margin-bottom: 36px;
  }

  .blog-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card-title {
    font-size: 1.3rem;
  }

  /* Single Post */
  .blog-post-hero {
    min-height: 400px;
    padding: 40px 0;
  }

  .blog-post-title {
    font-size: 2rem;
  }

  .blog-post-meta {
    gap: 12px;
    font-size: 12px;
  }

  .blog-post-body {
    padding: 60px 0 40px;
  }

  .blog-post-body p {
    font-size: 15px;
  }

  .blog-post-body .blog-post-lead {
    font-size: 16px;
  }

  .blog-post-body h2 {
    font-size: 1.5rem;
    margin-top: 36px;
  }

  .blog-related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-post-callout {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .blog-post-hero {
    min-height: 350px;
    padding: 32px 0;
  }

  .blog-post-title {
    font-size: 1.7rem;
  }

  .blog-card-content {
    padding: 20px 16px 16px;
  }
}

/* --- EMPTY STATE --- */
.blog-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  border: 1px dashed rgba(232, 228, 224, 0.1);
  border-radius: 8px;
  margin-top: 20px;
}

.blog-empty-state p {
  margin: 0;
}
