/* ============================================
   BLOG DETAIL - CLEAN & READABLE DESIGN
   ============================================ */

/* Container Narrow */
.container--narrow {
    max-width: 820px;
}

/* Blog Detail Header */
.blog-detail__header {
    padding: calc(80px + 3rem) 0 3rem;
    background: linear-gradient(135deg, #F9FAFB, #E0F2FE);
}

.blog-detail__title {
    font-size: 2.75rem;
    line-height: 1.2;
    color: #111827;
    margin: 1.5rem 0;
    text-align: center;
}

.blog-detail__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-detail__author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-detail__author-name {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
}

.blog-detail__author-date {
    font-size: 0.875rem;
    color: #6B7280;
}

.blog-detail__actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.action-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    color: #6B7280;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    border-color: #0097b2;
    color: #0097b2;
    transform: scale(1.1);
}

.action-btn.active {
    background: #0097b2;
    border-color: #0097b2;
    color: white;
}

/* Featured Image */
.blog-detail__featured-image {
    margin: 3rem 0;
}

.blog-detail__featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Blog Content */
.blog-detail__content {
    padding: 3rem 0;
}

.blog-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.blog-content .lead {
    font-size: 1.375rem;
    line-height: 1.7;
    color: #4B5563;
    font-weight: 500;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.blog-content h2 {
    font-size: 2rem;
    color: #111827;
    margin: 3rem 0 1.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.75rem;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #0097b2, #007a92);
    border-radius: 2px;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

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

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-content li::marker {
    color: #0097b2;
    font-weight: 700;
}

/* Content Highlight Box */
.content-highlight {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, #FFF4E6, #FFF9F0);
    border-left: 4px solid #F59E0B;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 2.5rem 0;
}

.content-highlight i {
    font-size: 1.5rem;
    color: #F59E0B;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.content-highlight strong {
    color: #92400E;
}

/* Content Tip Box */
.content-tip {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
    border-radius: 1rem;
    margin: 2.5rem 0;
}

.content-tip__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.content-tip__content h4 {
    font-size: 1.25rem;
    color: #007a92;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.content-tip__content p {
    margin: 0;
    color: #1E40AF;
}

/* Content Image */
.content-image {
    margin: 3rem 0;
}

.content-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-caption {
    text-align: center;
    font-size: 0.9375rem;
    color: #6B7280;
    font-style: italic;
    margin-top: 1rem;
}

/* Blockquote */
.blog-content blockquote {
    margin: 3rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #F9FAFB, white);
    border-left: 5px solid #0097b2;
    border-radius: 0 1rem 1rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #374151;
    line-height: 1.7;
    position: relative;
}

.blog-content blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 5rem;
    color: #E0F2FE;
    font-family: Georgia, serif;
    line-height: 1;
}

.blog-content cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    color: #6B7280;
    font-weight: 600;
}

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 3rem 0 2rem;
    padding: 2rem 0;
    border-top: 2px solid #E5E7EB;
}

.post-tags__label {
    font-weight: 700;
    color: #6B7280;
    font-size: 0.9375rem;
}

.post-tag {
    padding: 0.5rem 1.25rem;
    background: #F3F4F6;
    color: #4B5563;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #0097b2;
    color: white;
    transform: translateY(-2px);
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 2px solid #E5E7EB;
}

.post-share__label {
    font-weight: 700;
    color: #6B7280;
    font-size: 0.9375rem;
}

.post-share__buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.share-btn--facebook {
    background: #1877F2;
}

.share-btn--twitter {
    background: #1DA1F2;
}

.share-btn--whatsapp {
    background: #25D366;
}

.share-btn--linkedin {
    background: #0A66C2;
}

.share-btn--copy {
    background: #6B7280;
}

/* Author Bio */
.author-bio {
    padding: 4rem 0;
    background: #F9FAFB;
}

.author-bio__card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.author-bio__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #E0F2FE;
}

.author-bio__name {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 0.375rem;
}

.author-bio__title {
    color: #0097b2;
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.author-bio__social {
    display: flex;
    gap: 0.75rem;
}

.author-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    color: #6B7280;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: #0097b2;
    color: white;
    transform: translateY(-4px);
}

/* ============================================
   RELATED POSTS - IMPROVED DESIGN
   ============================================ */

.related-posts {
    padding: 4rem 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    border-top: 1px solid #E5E7EB;
}

.related-posts .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.related-posts .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #0097b2, #007a92);
    border-radius: 2px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.related-post-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #F3F4F6;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: #0097b2;
}

.related-post-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-post-card:hover .related-post-card__image img {
    transform: scale(1.08);
}

.related-post-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0097b2;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-post-card__content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-post-card__title {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.related-post-card__title a {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    text-decoration: none;
}

.related-post-card__title a:hover {
    color: #0097b2;
}

.related-post-card__excerpt {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-post-card__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #F3F4F6;
}

.related-post-card__date i {
    font-size: 0.875rem;
}

/* No Related Posts Message */
.no-related-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    border: 2px dashed #E5E7EB;
}

.no-related-posts__icon {
    font-size: 3rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.no-related-posts__title {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.no-related-posts__text {
    color: #6B7280;
    font-size: 0.9375rem;
}

/* Loading Animation for Related Posts */
.related-posts__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loading-dot {
    width: 10px;
    height: 10px;
    background: #0097b2;
    border-radius: 50%;
    animation: loadingDot 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loadingDot {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Related Posts Navigation */
.related-posts-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.related-posts-nav-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 100px;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-posts-nav-btn:hover {
    border-color: #0097b2;
    color: #0097b2;
    background: #F0F9FF;
}

.related-posts-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.related-posts-nav-btn.disabled:hover {
    border-color: #E5E7EB;
    color: #6B7280;
    background: white;
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .related-posts__grid {
        gap: 1.5rem;
    }

    .related-post-card__image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .related-posts {
        padding: 3rem 0;
    }

    .related-posts .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .related-post-card__content {
        padding: 1.25rem;
    }

    .related-post-card__title a {
        font-size: 1rem;
    }

    .related-post-card__excerpt {
        font-size: 0.875rem;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .related-posts {
        background: linear-gradient(180deg, #111827 0%, #1F2937 100%);
        border-top-color: #374151;
    }

    .related-posts .section-title {
        color: #F9FAFB;
    }

    .related-post-card {
        background: #1F2937;
        border-color: #374151;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .related-post-card:hover {
        border-color: #0097b2;
        box-shadow: 0 16px 40px rgba(14, 165, 233, 0.15);
    }

    .related-post-card__title a {
        color: #F9FAFB;
    }

    .related-post-card__excerpt {
        color: #9CA3AF;
    }

    .related-post-card__category {
        background: rgba(31, 41, 55, 0.95);
        color: #0097b2;
    }

    .related-post-card__date {
        color: #6B7280;
        border-top-color: #374151;
    }

    .no-related-posts {
        background: #1F2937;
        border-color: #374151;
    }

    .no-related-posts__title {
        color: #E5E7EB;
    }

    .no-related-posts__text {
        color: #9CA3AF;
    }
}

/* Blog Detay Sayfası için Ek CSS */
.blog-detail__content-html {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-detail__content-html h2 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-size: 1.8rem;
}

.blog-detail__content-html h3 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-size: 1.4rem;
}

.blog-detail__content-html p {
    margin-bottom: 1.2em;
}

.blog-detail__content-html ul,
.blog-detail__content-html ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.blog-detail__content-html li {
    margin-bottom: 0.5em;
}

.blog-detail__content-html blockquote {
    border-left: 4px solid #0097b2;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #4b5563;
}

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

/* Yorumlar Bölümü */
.post-comments-section {
    margin-top: 4em;
    padding-top: 2em;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 1.5em;
}

.comment-form-wrapper {
    background: #f8fafc;
    padding: 2em;
    border-radius: 12px;
    margin-bottom: 2em;
}

.comment-form-wrapper h4 {
    margin-bottom: 1em;
    font-size: 1.3rem;
}

.comment-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    margin-bottom: 1em;
}

.comment-form-wrapper .form-group {
    margin-bottom: 1em;
}

.comment-form-wrapper input,
.comment-form-wrapper textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
}

.comment-form-wrapper textarea {
    resize: vertical;
}

.comment-item {
    padding: 1.5em 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 0.8em;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author-name {
    font-weight: 600;
    color: #1f2937;
}

.comment-date {
    font-size: 0.85rem;
    color: #6b7280;
}

.comment-content {
    line-height: 1.6;
    color: #374151;
}

.no-comments {
    text-align: center;
    padding: 3em;
    color: #6b7280;
}