/* Post Details Specific Styles */

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb .current {
  color: #000;
  font-weight: 500;
}

/* Post Main Layout */
.post-main {
  padding: 32px 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Post Content */
.post-content {
  background: #fff;
}

/* Post Header */
.post-header {
  margin-bottom: 32px;
}

.post-category {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-family: "Arial", sans-serif;
}

.post-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #000;
}

.post-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #666;
  font-family: "Arial", sans-serif;
}

.post-meta span {
  position: relative;
}

.post-meta span:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -14px;
  color: #ccc;
}

/* Featured Image */
.post-featured-image {
  margin-bottom: 32px;
}

.post-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 1px solid #e9ecef;
}

.image-caption {
  font-size: 13px;
  color: #666;
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.share-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook {
  color: #1877f2;
}

.social-icon.facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.social-icon.twitter {
  color: #1da1f2;
}

.social-icon.twitter:hover {
  background: #1da1f2;
  color: #fff;
  border-color: #1da1f2;
}

.social-icon.linkedin {
  color: #0077b5;
}

.social-icon.linkedin:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5;
}

.social-icon.whatsapp {
  color: #25d366;
}

.social-icon.whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.social-icon.telegram {
  color: #0088cc;
}

.social-icon.telegram:hover {
  background: #0088cc;
  color: #fff;
  border-color: #0088cc;
}

/* Post Body */
.post-body {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.post-body .lead {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.6;
}

.post-body h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 32px 0 16px 0;
  color: #000;
}

.post-body h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 24px 0 12px 0;
  color: #000;
}

.post-body p {
  margin-bottom: 16px;
}

.post-body ul,
.post-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  background: #f8f9fa;
  border-left: 4px solid #000;
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  font-size: 18px;
  color: #333;
}

.post-body strong {
  font-weight: 600;
  color: #000;
}

/* Post Tags */
.post-tags {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
}

.tags-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-right: 12px;
}

.tag {
  display: inline-block;
  background: #f8f9fa;
  color: #666;
  padding: 6px 12px;
  margin: 4px 8px 4px 0;
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.tag:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

/* Related Posts */
.related-posts {
  padding: 20px;
}

.related-post {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.related-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-content h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}

.related-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-content h4 a:hover {
  color: #000;
}

.related-date {
  font-size: 11px;
  color: #999;
  font-family: "Arial", sans-serif;
}

/* Popular Posts */
.popular-posts {
  padding: 20px;
}

.popular-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: "Arial", sans-serif;
}

.popular-content h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
}

.popular-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-content h4 a:hover {
  color: #000;
}

.popular-views {
  font-size: 11px;
  color: #999;
  font-family: "Arial", sans-serif;
}

/* Newsletter */
.newsletter {
  background: #000 !important;
  color: #fff;
}

.newsletter .sidebar-title {
  background: #000;
  color: #fff;
  border-bottom-color: #333;
}

.newsletter p {
  padding: 0 20px 16px 20px;
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.newsletter-form {
  padding: 0 20px 20px 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  background: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.newsletter-form button:hover {
  background: #f0f0f0;
}

/* Logo link styling */
.logo a {
  text-decoration: none;
  color: inherit;
}

.logo a:hover h1 {
  color: #333;
  transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .post-main {
    padding: 24px 0;
  }

  .post-title {
    font-size: 28px;
  }

  .post-meta {
    flex-direction: column;
    gap: 8px;
  }

  .post-meta span::after {
    display: none;
  }

  .post-featured-image img {
    height: 250px;
  }

  .social-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .post-body {
    font-size: 15px;
  }

  .post-body .lead {
    font-size: 16px;
  }

  .post-body h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 24px;
  }

  .post-featured-image img {
    height: 200px;
  }

  .social-icons {
    flex-wrap: wrap;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .related-post img {
    width: 60px;
    height: 45px;
  }
}
