/* body {
    background: var(--color-cta-bg);
} */

.resource-single-wrapper {
  padding: 60px 0;
}
.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.resource-date {
  font-size: 14px;
  color: #888;
}
.resource-share a img {
  width: 20px;
  margin-left: 10px;
}
.resource-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.resource-feature-img img {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 12px;
}
.resource-content {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 60px;
}
.you-may-also-like h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.recommendations {
  display: flex;
  gap: 20px;
}
.recommendation-card {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
}
.recommendation-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.post-featured-image {
    padding: 24px 24px 0 24px;
}

.post-header-hero {
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (max-width: 575.98px){
  .post-header-hero {
    gap: 12px;
}
/* Related Posts Section */
.related-posts-section {
  padding: 40px 0 !important;
}

.section-title {
  margin-bottom: 24px !important;
}

}
@media only screen and (min-width: 768px){

}
@media (min-width: 992px) and (max-width: 1199.98px){


}
@media (min-width: 1200px) and (max-width: 1439.98px){


}
@media (min-width: 1440px){


}







/* Resource Post Styles */

/* Main wrapper */
.resource-single-wrapper {
  padding: 60px 0;
}

/* Back button */
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f1ebff;
  border-radius: 50%;
  color: #340C97;
  margin-bottom: 30px;
  text-decoration: none;
}

.back-button:hover {
  background-color: #340C97;
  color: #ffffff;
}

/* Post header */
.post-title {
  font-size: 36px;
  color: #32254C;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.post-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #484452;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-share span {
  color: #484452;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

/* Post layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-bottom: 60px;
}

.post-main {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  padding: 30px;
}

/* Typography for post content */
.post-content h1, .post-content h2, .post-content h3, 
.post-content h4, .post-content h5, .post-content h6 {
  color: #32254C;
  margin: 12px 0;
}


.post-content p {
  margin-bottom: 6px;
  color: #484452;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.post-content a {
  color: #340C97;
  text-decoration: none;
}

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

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
  width: 100%;
}

.post-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #340C97;
  background-color: #f1ebff;
  font-style: italic;
}

/* Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-section {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 18px;
  color: #32254C;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #DEDDE1;
  font-weight: 600;
}

.sidebar-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-category {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f1ebff;
  border-radius: 20px;
  color: #340C97;
  text-decoration: none;
}

.sidebar-category:hover {
  background-color: #e9e1ff;
}

.sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-post {
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.sidebar-post-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1ebff;
  color: #340C97;
  font-size: 20px;
}

.sidebar-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-post-info h4 {
  font-size: 16px;
  color: #32254C;
  margin-bottom: 5px;
  line-height: 1.4;
}

.sidebar-post-info span {
  font-size: 12px;
  color: #484452;
}

/* Related Posts Section */
.related-posts-section {
  padding: 80px 0;
  background-color: #F8F7F8;
}

.section-title {
  color: #32254C;
  margin-bottom: 40px;
}

/* Swiper override styles */
.swiper-container {
  padding-bottom: 50px;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet-active {
  background: #340C97;
}

/* Post cards */
.post-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1ebff;
  color: #340C97;
  font-size: 32px;
}

.post-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.post-card-title a {
  color: #32254C;
  text-decoration: none;
}

.post-card-title a:hover {
  color: #340C97;
}

.post-card-excerpt {
  color: #484452;
  margin-bottom: 15px;
  flex-grow: 1;
}

.post-card-meta {
  margin-top: auto;
}

.post-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #484452;
}

/* Responsive styles */
@media (max-width: 992px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .resource-single-wrapper {
    padding: 30px 0;
  }
  
  .post-title {
    font-size: 28px;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .post-content {
    padding: 20px;
  }
}