/* Post Content Styling - BuzzFeed/Viral Style */
:root {
  --viral-accent: #ff3366;
  --viral-accent-light: #ff6b8a;
  --viral-highlight: #ffde59;
  --viral-dark: #333333;
  --viral-light-bg: #f8f9fa;
  --viral-border: #e9ecef;
}

.post-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

.post-header {
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--viral-light-bg);
  border-radius: 8px;
}

.post-category a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--viral-accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(255, 51, 102, 0.2);
}

.post-category a:hover {
  background-color: var(--viral-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

.post-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--viral-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: none;
  text-shadow: none;
  padding: 0;
  background: none;
}

.post-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #666;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-meta i {
  color: var(--viral-accent);
}

.post-featured-image {
  position: relative;
  margin-bottom: 20px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  max-height: 300px;
}

.post-featured-image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

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

.post-title-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin: 0;
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  padding: 0 1rem;
}

.post-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--viral-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.post-content h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--viral-accent);
  border-radius: 2px;
}

.post-content h3 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--viral-dark);
  font-weight: 600;
}

.post-content h4 {
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  color: var(--viral-dark);
  font-weight: 600;
}

.post-content p {
  margin-bottom: 1.8rem;
  font-size: 1.2rem;
  line-height: 1.8;
}

.post-content p:first-of-type:first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 700;
  margin-right: 0.5rem;
  color: var(--viral-accent);
}

.post-content ul, 
.post-content ol {
  margin: 1.5rem 0 2rem 1.5rem;
  padding-left: 1rem;
}

.post-content li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0.5rem;
}

.post-content ul li:before {
  content: '•';
  color: var(--viral-accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.2em;
}

.post-content ol {
  counter-reset: item;
  list-style-type: none;
}

.post-content ol li {
  counter-increment: item;
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.post-content ol li:before {
  content: counter(item);
  background: var(--viral-accent);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -5px;
  top: -2px;
}

.post-content a {
  color: var(--viral-accent);
  text-decoration: underline;
  text-decoration-color: rgba(255, 51, 102, 0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: all 0.2s;
}

.post-content a:hover {
  color: var(--viral-accent-light);
  text-decoration-color: var(--viral-accent);
}

.post-content blockquote {
  border-left: 5px solid var(--viral-accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background-color: var(--viral-light-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #555;
  position: relative;
}

.post-content blockquote:before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 51, 102, 0.2);
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: Georgia, serif;
}

.post-content pre {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e0e0e0;
}

.post-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  background-color: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Post content container */
.post-content-container {
  margin: 2rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Introduction section */
.post-introduction {
  margin-bottom: 2rem;
}

.intro-paragraph {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

.intro-paragraph:first-child {
  font-size: 1.3rem;
  font-weight: 500;
  color: #222;
}

/* Main content section */
.post-main-content {
  margin-top: 2rem;
}

/* Point styling */
.content-point {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.point-title {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.point-description {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 0;
}

/* Regular paragraphs */
.content-paragraph {
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #444;
  font-size: 1.1rem;
}

.content-paragraph:first-of-type {
  font-size: 1.2rem;
  color: #333;
}

/* Highlight box styling */
.highlight-box {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f5f5f5;
  border-radius: 8px;
  border-left: 3px solid #3498db;
}

.highlight-box h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

/* Social proof section */
.social-proof {
  background-color: var(--viral-light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.social-proof-count {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--viral-accent);
  margin-bottom: 0.5rem;
}

.social-proof-label {
  font-size: 1rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Post actions */
.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem 1rem;
  border-top: 2px solid var(--viral-border);
  background-color: var(--viral-light-bg);
  border-radius: 8px;
}

.like-button {
  background-color: var(--viral-accent);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.like-button:hover {
  background-color: var(--viral-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 51, 102, 0.4);
}

.like-button.liked {
  background-color: #e74c3c;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-buttons span {
  font-weight: 600;
  color: #555;
  font-size: 1.1rem;
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: white;
  color: #555;
  transition: all 0.3s;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
}

.share-buttons a:hover {
  background-color: var(--viral-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Related posts section */
.related-posts {
  margin-top: 4rem;
  padding: 3rem 1rem;
  background-color: var(--viral-light-bg);
  border-radius: 8px;
}

.related-posts h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--viral-dark);
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.related-posts h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--viral-accent);
  border-radius: 2px;
}

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

/* Author box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 1.5rem;
  background-color: var(--viral-light-bg);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--viral-dark);
}

.author-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Newsletter signup */
.newsletter-signup {
  background-color: var(--viral-accent);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

.newsletter-signup h3 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.newsletter-signup p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.newsletter-button {
  background-color: var(--viral-dark);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-button:hover {
  background-color: #222;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .post-content {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
  }
  
  .post-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .post-content p:first-of-type:first-letter {
    font-size: 2.5rem;
  }
  
  .post-featured-image {
    margin: 0 -15px 15px;
  }
  
  .post-title-overlay {
    bottom: 20px;
    left: 15px;
    right: 15px;
    font-size: 24px;
  }
  
  .post-content h2 {
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem;
  }
  
  .post-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
  }
  
  .post-content h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.6rem;
  }
  
  .post-content ul, 
  .post-content ol {
    margin: 1rem 0 1.5rem 1rem;
  }
  
  .post-content li {
    margin-bottom: 0.7rem;
  }
  
  
  
  .ad-wrapper {
    text-align: center;
  }
  
  .ad-label {
    font-size: 0.7rem;
    margin-bottom: 5px;
    color: #999;
  }
  
  .highlight-box,
  .author-box,
  .social-proof {
    padding: 1rem;
    margin: 1.5rem 0;
  }
  
  .post-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 0.8rem;
    margin-top: 2rem;
  }
  
  .share-buttons {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: flex-start;
  }
  
  .share-buttons a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .newsletter-signup {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }
  
  .newsletter-signup h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }
  
  .newsletter-signup p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 0.7rem;
  }
  
  .newsletter-input,
  .newsletter-button {
    width: 100%;
    border-radius: 4px;
    padding: 0.7rem;
  }
  
  .related-posts {
    padding: 1.5rem 0.8rem;
    margin-top: 2.5rem;
  }
  
  .related-posts h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.7rem;
  }
  
  .posts-grid {
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .content-subheading,
  .point-heading,
  .conclusion-heading {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
  }
  
  .article-point {
    margin-bottom: 1.8rem;
  }
  
  .point-content, 
  .conclusion-content {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.app-title {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Improved styling for content subheadings */
.content-subheading,
.point-heading,
.conclusion-heading {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--viral-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--viral-border);
  padding-bottom: 0.5rem;
  position: relative;
}

.content-subheading:after,
.point-heading:after,
.conclusion-heading:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--viral-accent);
}

.article-point {
  margin-bottom: 2.5rem;
  padding: 0.5rem 0;
}

.point-content, 
.conclusion-content {
  line-height: 1.7;
  font-size: 1.15rem;
  color: #444;
}

/* Container fluid override */
.container-fluid.p-0 {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-header-fullwidth {
    height: 50vh;
    min-height: 400px;
  }
  
  .post-header-fullwidth .post-title {
    font-size: 2.2rem;
  }
} 