/* Blog page specific styles */

/* Blog card styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: #333;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: #f97316;
}

.blog-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.article-meta {
  font-size: 0.85rem;
  color: #777;
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

/* Popular topics styles */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.topic-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid #f97316;
}

.topic-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #333;
}

.topic-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.topic-link {
  display: inline-block;
  color: #f97316;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.topic-link:hover {
  color: #e45c00;
  text-decoration: underline;
}

/* Active navigation link styles */
.main-nav a.active {
  color: #f97316;
  font-weight: 600;
}

/* Blog page special hero style adjustments */
.hero .card {
  max-width: 900px;
  padding: 40px;
}

.hero .header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero .subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-grid, .topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero .card {
    padding: 30px 20px;
  }
  
  .hero .header h1 {
    font-size: 2rem;
  }
}

/* Blog page special link styles */
.section a:not(.topic-link) {
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.section a:not(.topic-link):hover {
  color: #e45c00;
  text-decoration: underline;
} 


.article-main {
  max-width: 100%;
  overflow-x: hidden;
  padding: 2rem 0;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container {
  width: 100%;
}


.article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.2;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}


.article-featured-image {
  margin: 2rem 0;
  text-align: center;
}

.article-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.article-intro p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
}


.article-section {
  margin: 3rem 0;
}

.article-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
  padding-bottom: 0.5rem;
}

.article-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4169e1;
}

.article-section h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: #333;
}

.article-section p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: #333;
}


.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.article-image figcaption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}


.tip-box {
  background-color: #f0f7ff;
  border-left: 4px solid #4169e1;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}

.tip-box h4 {
  margin-top: 0;
  color: #4169e1;
  margin-bottom: 0.8rem;
}

.tip-box p {
  margin-bottom: 0;
}


.example-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 6px;
}

.example-box h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333;
}

.example-box p {
  margin-bottom: 0.8rem;
}


.article-list {
  margin: 1.5rem 0 1.5rem 1.5rem;
}

.article-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}


.article-faq {
  margin: 3rem 0;
}

.article-faq h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #222;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 0.8rem;
}


.article-conclusion {
  margin: 3rem 0;
}

.cta-box {
  background-color: #f0f7ff;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-box p {
  font-size: 1.1rem;
  margin: 0;
}

.cta-box a {
  color: #4169e1;
  font-weight: bold;
  text-decoration: none;
}

.cta-box a:hover {
  text-decoration: underline;
}


.related-articles {
  margin: 4rem 0 2rem;
}

.related-articles h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.related-article-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.related-article-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.related-article-card h3 a {
  color: #333;
  text-decoration: none;
}

.related-article-card h3 a:hover {
  color: #4169e1;
}

.related-article-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}


@media (max-width: 768px) {
  .article-header h1 {
    font-size: 2rem;
  }
  
  .article-intro p {
    font-size: 1.1rem;
  }
  
  .article-section h2 {
    font-size: 1.6rem;
  }
  
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header, .footer-container, .related-articles {
    display: none;
  }
  
  .article-content {
    padding: 0;
    max-width: 100%;
  }
  
  .article-header h1 {
    font-size: 24pt;
  }
  
  .cta-box {
    display: none;
  }
} 

/* User Story Section */
.user-story {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #f8f9ff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.user-story h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
  padding-bottom: 0.5rem;
}

.user-story h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #4169e1;
}

.user-story blockquote {
  font-style: italic;
  background-color: #ffffff;
  border-left: 4px solid #4169e1;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 6px 6px 0;
  color: #444;
  line-height: 1.6;
}

.user-story ul {
  margin: 1.5rem 0 1.5rem 1.5rem;
}

.user-story ul li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.video-embed {
  margin: 2rem 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-embed p {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive Design Optimization */
@media (max-width: 768px) {
  .user-story {
    padding: 1.5rem;
  }
  
  .user-story h2 {
    font-size: 1.6rem;
  }
  
  .user-story blockquote {
    padding: 1rem;
  }
} 