/* Add all the CSS from our single post design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9ff;
}

/* Header Styles */
.indyte-header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.indyte-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #e91e63;
}

.logo-subtitle {
  font-size: 12px;
  color: #666;
  margin-top: -5px;
}

/* Main Container */
.single-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

/* Article Content */
.article-content {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-header {
  padding: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.post-category {
  background: #e91e63;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  width: fit-content;
  margin-bottom: 15px;
}

.article-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #333;
}
 h1.article-title {
  color: #333 !important;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #666;
  font-size: 14px;
}

.article-meta i {
  color: #e91e63;
}

.article-body {
  padding: 30px;
}

.article-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.article-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.article-section {
  margin: 30px 0;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.section-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f8f9ff;
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Affiliate Section */
.affiliate-section {
  padding: 20px;
  text-align: center;
  color: #999;
  background: #f5f5f5;
  margin: 20px 0;
  border-radius: 10px;
}

/* Recent Posts Section */
.recent-posts {
  padding: 30px;
  border-top: 1px solid #f0f0f0;
}

.recent-posts-title {
  font-size: 28px;
  font-weight: bold;
  color: #e91e63;
  margin-bottom: 25px;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recent-post-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.recent-post-card:hover {
  transform: translateY(-5px);
}

.recent-post-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.recent-post-category {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #ff9800;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
}

.recent-post-content {
  padding: 15px;
}

.recent-post-title {
  font-size: 16px;
  font-weight: bold;
  color: #e91e63;
  margin-bottom: 8px;
}

.recent-post-title a {
  color: #e91e63;
  text-decoration: none;
}

.recent-post-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Social Share */
.social-share {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9ff;
  border-radius: 10px;
}

.social-share h4 {
  margin-bottom: 15px;
  color: #333;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}

.share-facebook {
  background: #3b5998;
}
.share-twitter {
  background: #1da1f2;
}
.share-linkedin {
  background: #0077b5;
}
.share-pinterest {
  background: #bd081c;
}

/* Comments Section */
.comments-section {
  padding: 30px;
  border-top: 1px solid #f0f0f0;
}

.comments-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* Sidebar Styles */
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #EEF3FE;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.expert-card {
  text-align: center;
}

.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
}

.expert-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.expert-name {
  color: #666;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #e91e63;
  color: white;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.category-list {
  list-style: none;
}

.category-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.category-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.category-item a:hover {
  color: #e91e63;
}

/* Trending Blogs */
.trending-blogs {
  margin-top: 20px;
}

.trending-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.trending-title {
  font-size: 14px;
  font-weight: bold;
  color: #e91e63;
  text-decoration: none;
}

.trending-category {
  background: #ff9800;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  width: fit-content;
}

/* Tags Section */
.tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.tag-item {
  background: #f8f9ff;
  color: #666;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.tag-item:hover {
  background: #e91e63;
  color: white;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.form-textarea {
  height: 80px;
  resize: vertical;
}

.submit-btn {
  background: #e91e63;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #c2185b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .single-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recent-posts-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 24px;
  }

  .tags-grid {
    grid-template-columns: 1fr;
  }

  .article-header,
  .article-body {
    padding: 20px;
  }
}

/* Add all the CSS from our previous HTML design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9ff;
}

/* Header Styles */
.indyte-header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.indyte-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #e91e63;
}

.logo-subtitle {
  font-size: 12px;
  color: #666;
  margin-top: -5px;
}

/* Blog Content Styles */
.blog-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.blog-content {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-post {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
}

.featured-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.featured-post > * {
  position: relative;
  z-index: 2;
}

.post-category {
  background: #e91e63;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  width: fit-content;
  margin-bottom: 15px;
}

.post-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.post-title a {
  color: white;
  text-decoration: none;
}

.post-excerpt {
  font-size: 16px;
  opacity: 0.9;
}

/* Affiliate Section */
.affiliate-section {
  padding: 20px;
  text-align: center;
  color: #999;
  border-bottom: 1px solid #eee;
}

/* Blog Grid */
.blog-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  height: 200px;
  background: #ddd;
  position: relative;
  background-size: cover;
  background-position: center;
}

.blog-card .post-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
}

.blog-card-content {
  padding: 15px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #e91e63;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-title a {
  color: #e91e63;
  text-decoration: none;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Sidebar Styles */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #EEF3FE;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.expert-card {
  text-align: center;
}

.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
}

.expert-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.expert-name {
  color: #666;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #e91e63;
  color: white;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.category-list {
  list-style: none;
}

.category-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.category-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.category-item a:hover {
  color: #e91e63;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.form-textarea {
  height: 80px;
  resize: vertical;
}

.submit-btn {
  background: #e91e63;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #c2185b;
}

/* Pagination */
.blog-pagination {
  padding: 30px;
  text-align: center;
}

.pagination {
  display: inline-flex;
  gap: 10px;
}

.page-numbers {
  padding: 10px 15px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.page-numbers:hover,
.page-numbers.current {
  background: #e91e63;
  color: white;
  border-color: #e91e63;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .featured-post {
    height: 300px;
    padding: 20px;
  }

  .post-title {
    font-size: 22px;
  }
}

/* Sidebar Search: ensure button is placed correctly */
.sidebar-card-2 .search-wrapper {
  position: relative;
}

.sidebar-card-2 .search-field {
  width: 100%;
  height: 44px;
  border-radius: 24px;
  padding: 0 50px 0 16px; /* space for the submit button on the right */
  border: 1px solid #e6e6e6;
  background: #fff;
}

.sidebar-card-2 .search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #e91e63;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-card-2 .search-submit i {
  line-height: 1;
  font-size: 14px;
}
