/* Blog article modal styles */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  overflow-y: auto;
  padding: 30px 0;
}

/* When modal is displayed */
.article-modal[style*="display: block"] {
  display: block !important;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10000;
}

.article-header {
  padding: 30px;
  background: #2D2E88;
  color: white;
  position: relative;
}

.article-header h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.close-article {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s;
}

.close-article:hover {
  transform: rotate(90deg);
}

.article-content {
  padding: 30px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #000000;
}

.lead-paragraph {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: normal;
}

.section-intro {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 25px 0;
  color: #000000;
}

.article-content h2 {
  color: #000000;
  font-size: 1.6rem;
  margin: 30px 0 15px;
  font-weight: 600;
}

.article-content strong {
  color: #ff5777;
  font-weight: 600;
}

.conclusion-box {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid #ff5777;
}

.conclusion-box h2 {
  color: #2D2E88;
  margin-top: 0;
}

.cta-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  color: #333;
  text-align: center;
  margin-top: 30px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff5777;
  color: white !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 15px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #e04868;
}

/* Responsive adjustments */
@media (max-width: 850px) {
  .article-container {
    width: 90%;
    margin: 20px auto;
  }
  
  .article-header {
    padding: 20px;
  }
  
  .article-header h1 {
    font-size: 1.8rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .article-content {
    padding: 20px;
    font-size: 1rem;
  }
  
  .lead-paragraph {
    font-size: 1.1rem;
  }
  
  .article-content h2 {
    font-size: 1.4rem;
  }
}
