/* ========================================
   BLOG STYLES - CLEAN LIST DESIGN
   ======================================== */

.blog-page {
  padding-top: 100px;
  min-height: 100vh;
  background: #0d0f12;
}

.blog-hero {
  background: linear-gradient(180deg, #1a1d23 0%, #0d0f12 100%);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.blog-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-hero .lead {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 450px;
  margin: 0 auto;
}

/* Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Blog List */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Blog Card - Text List Style */
.blog-card {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.blog-card:first-child {
  padding-top: 0;
}

.blog-card:hover {
  background: rgba(201, 162, 39, 0.03);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.blog-card-image {
  display: none;
}

.blog-card-content {
  display: block;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.blog-card-category:hover {
  text-decoration: underline;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--accent-gold);
}

.blog-card-excerpt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.blog-card-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: 4px;
  padding: 1.25rem;
}

.sidebar-widget h3 {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sidebar-widget p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.2rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  border-left: 2px solid transparent;
}

.category-list a:hover {
  color: #fff;
  border-left-color: rgba(201, 162, 39, 0.4);
  padding-left: 0.8rem;
}

.category-list a.active {
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
  padding-left: 0.8rem;
}

.category-list .count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  background: var(--accent-gold);
  color: #0d0f12;
}

.pagination-info {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 3rem;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.no-posts h2 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.1rem;
}

.no-posts p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   SINGLE POST STYLES
   ======================================== */

.blog-post {
  padding-top: 100px;
  min-height: 100vh;
  background: #0d0f12;
}

.post-hero {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.post-hero-image {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.post-header {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.post-category {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-decoration: none;
}

.post-category:hover {
  text-decoration: underline;
}

.post-header h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: #fff;
}

.post-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.post-meta .separator {
  color: rgba(201, 162, 39, 0.3);
}

/* Post Content */
.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}

.post-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--accent-gold);
}

.post-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: #fff;
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.4rem 1.25rem;
}

.post-content li {
  margin-bottom: 0.4rem;
}

.post-content ul li::marker {
  color: var(--accent-gold);
}

.post-content strong {
  color: #fff;
  font-weight: 600;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.post-content blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(201, 162, 39, 0.04);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.post-content a {
  color: var(--accent-gold);
  text-decoration: none;
}

.post-content a:hover {
  text-decoration: underline;
}

/* Post Footer */
.post-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Related Posts */
.related-posts {
  background: #141619;
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.08);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
}

.related-posts .blog-grid {
  max-width: 800px;
  margin: 0 auto;
}

.related-posts .blog-card {
  padding: 1rem 0;
}

.related-posts .blog-card:first-child {
  padding-top: 0;
}

.related-posts .blog-card-title {
  font-size: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  .blog-sidebar {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .sidebar-widget {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .blog-page {
    padding-top: 90px;
  }

  .blog-hero {
    padding: 2rem 1rem 1.5rem;
  }

  .blog-hero h1 {
    font-size: 1.4rem;
  }

  .blog-hero .lead {
    font-size: 0.85rem;
  }

  .blog-layout {
    padding: 1.25rem;
  }

  .blog-card {
    padding: 1rem 0;
  }

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

  .blog-card-excerpt {
    font-size: 0.85rem;
  }

  /* Single Post */
  .blog-post {
    padding-top: 90px;
  }

  .post-hero {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .post-container {
    padding: 0 1.25rem 2rem;
  }

  .post-header h1 {
    font-size: 1.6rem;
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-footer {
    flex-direction: column;
  }

  .post-footer .btn {
    width: 100%;
    text-align: center;
  }

  .related-posts {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .blog-page {
    padding-top: 85px;
  }

  .blog-hero {
    padding: 1.5rem 1rem 1.25rem;
  }

  .blog-hero h1 {
    font-size: 1.2rem;
  }

  .blog-layout {
    padding: 1rem;
  }

  .sidebar-widget {
    min-width: 100%;
  }

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

  .blog-card-excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .blog-post {
    padding-top: 85px;
  }

  .post-header h1 {
    font-size: 1.4rem;
  }

  .post-content {
    font-size: 0.9rem;
  }
}
