/**
 * Blog Detail - Blog Detay Sayfası
 */

/* Blog Hero Image Section */
.blog-detail-hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
}

.blog-detail-hero__image-wrapper {
  width: 100%;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

.blog-detail-hero__image-wrapper--placeholder {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.blog-detail-hero__image {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 12px;
}

.blog-detail-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.blog-detail-hero__placeholder-image {
  width: 152px;
  height: 152px;
  display: block;
}

/* Blog Content Section */
.blog-detail-content {
  margin: 60px 0;
  margin-top: 20px;
}
.blog-detail-article {
  background-color: #fff;
  padding: 40px;
  border-radius: 24px;
  padding-bottom: 80px;
  position: relative;
}
/* Blog Header */
.blog-detail-article__header {
  margin-bottom: 40px;
}

.blog-detail-article__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-green);
  margin: 0 0 20px 0;
}

.blog-detail-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.blog-detail-article__date {
  color: var(--color-green);
  font-weight: 500;
}

.blog-detail-article__author {
  color: #666;
}

.blog-detail-article__author::before {
  content: "•";
  margin-right: 8px;
  color: #999;
}

/* Blog Content */
.blog-detail-article__content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.blog-detail-article__content p {
  margin: 0 0 20px 0;
  font-size: 20px;
  color: var(--color-gray-dark);
  font-weight: 400;
}

.blog-detail-article__content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gray-dark);
  margin: 40px 0 20px 0;
}

.blog-detail-article__content h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gray-dark);
  margin: 32px 0 16px 0;
}

.blog-detail-article__content h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-gray-dark);
  margin: 28px 0 14px 0;
}

.blog-detail-article__content ul,
.blog-detail-article__content ol {
  margin: 0 0 20px 0;
  padding-left: 30px;
}

.blog-detail-article__content li {
  margin-bottom: 10px;
}

.blog-detail-article__content a {
  color: var(--color-green);
  text-decoration: underline;
}

.blog-detail-article__content a:hover {
  color: var(--color-green-dark);
}

.blog-detail-article__content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

.blog-detail-article__content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  border-left: 4px solid var(--color-green);
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

.blog-detail-article__content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.blog-detail-article__content pre {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 30px 0;
}

.blog-detail-article__content pre code {
  background: none;
  padding: 0;
}

/* Page Links */
.page-links {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.page-links a {
  color: var(--color-green);
  text-decoration: none;
  margin: 0 8px;
}

.page-links a:hover {
  text-decoration: underline;
}

/* Social Media Banner */
.blog-detail-article__social {
  position: absolute;
  bottom: 20px;
  left: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-detail-hero__image-wrapper {
    height: 300px;
  }
  .blog-detail-article__content p {
    font-size: 16px;
  }
  .blog-detail-hero__image {
    min-height: 0;
  }

  .blog-detail-content {
    margin: 40px 0;
  }

  .blog-detail-article {
    padding: 0 20px;
    padding-top: 20px;
  }

  .blog-detail-article__title {
    font-size: 28px;
  }

  .blog-detail-article__content {
    padding-bottom: 50px;
    font-size: 15px;
  }

  .blog-detail-article__content h2 {
    font-size: 24px;
  }

  .blog-detail-article__content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .blog-detail-hero__image-wrapper {
    height: 250px;
  }

  .blog-detail-article__title {
    font-size: 24px;
  }

  .blog-detail-article__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .blog-detail-article__author::before {
    display: none;
  }
}

/* Blog Detail Other Blogs Section - Title with borders */
.blog-detail-other-blogs-wrapper .home-page-blogs__title {
  color: var(--color-gray-dark);
  font-size: 64px;
  text-align: center;
  font-weight: 300;
  text-transform: capitalize;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.blog-detail-other-blogs-wrapper .home-page-blogs__title strong {
  font-weight: 300 !important;
}

.blog-detail-other-blogs-wrapper .home-page-blogs__title-text {
  flex-shrink: 0;
}

.blog-detail-other-blogs-wrapper .home-page-blogs__title::before,
.blog-detail-other-blogs-wrapper .home-page-blogs__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-green);
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .blog-detail-other-blogs-wrapper .home-page-blogs__title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .blog-detail-other-blogs-wrapper .home-page-blogs__title {
    font-size: 36px;
    gap: 16px;
  }
}
