/* Devlog Styles */

/* Breadcrumb - SEO Technique #17: Visual breadcrumb (ArtOfSEO_Ch07) */
.breadcrumb {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb-list li::after {
  content: '›';
  margin-left: 10px;
  color: #999;
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: #00c3ff;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* Devlog Hero */
.devlog-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: #fff;
}

.devlog-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #00c3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.devlog-hero .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Updates Section */
.devlog-updates {
  padding: 80px 0;
  background: #fff;
}

.devlog-updates h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 40px;
  text-align: center;
}

/* SEO Technique #18: Card-based layout for content organization (JorgeCastro_Ch08) */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.update-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #00c3ff;
}

.update-date {
  display: inline-block;
  font-size: 13px;
  color: #00c3ff;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.update-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.update-card h3 a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.2s;
}

.update-card h3 a:hover {
  color: #00c3ff;
}

.update-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* SEO Technique #19: Tag system for content categorization (ArtOfSEO_Ch09) */
.update-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  background: rgba(0, 195, 255, 0.1);
  color: #00c3ff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* CTA Section */
.devlog-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.devlog-cta h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.devlog-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.devlog-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Active nav state */
.nav-list a.active {
  color: #00c3ff;
}

/* Responsive */
@media (max-width: 768px) {
  .devlog-hero {
    padding: 100px 0 60px;
  }
  
  .devlog-hero h1 {
    font-size: 2.5rem;
  }
  
  .devlog-hero .hero-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .updates-grid {
    grid-template-columns: 1fr;
  }
  
  .update-card {
    padding: 20px;
  }
  
  .devlog-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Single Post Styles */
.post-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 120px 0 60px;
  color: #fff;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.post-meta time {
  color: #00c3ff;
  font-weight: 600;
}

.post-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.post-hero .post-excerpt {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  line-height: 1.7;
}

/* Post Content */
.post-content {
  padding: 60px 0;
  background: #fff;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
}

.post-body h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.post-body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 30px 0 15px;
}

.post-body p {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-body ul, .post-body ol {
  margin: 20px 0;
  padding-left: 25px;
}

.post-body li {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.post-body li strong {
  color: #1a1a2e;
}

/* Video Embed */
.video-embed {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  max-width: 45%;
}

.post-nav a:hover {
  background: rgba(0, 195, 255, 0.1);
}

.post-nav a span:first-child {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-nav a span:last-child {
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 600;
}

.post-nav .next {
  text-align: right;
  margin-left: auto;
}

@media (max-width: 768px) {
  .post-hero h1 {
    font-size: 2rem;
  }
  
  .post-nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .post-nav a {
    max-width: 100%;
  }
}
