/* Blog Detail Styles */
.blogdetail {
    padding: 1.25rem 1.25rem clamp(2.5rem, 4vw, 3.5rem);
}

.blogdetail-container {
    max-width: 66.25rem;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
}

.blogdetail-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.blogdetail-sidebar {
    width: 18.75rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Breadcrumb */
.blogdetail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blogdetail-breadcrumb .blogdetail-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.blogdetail-breadcrumb .blogdetail-breadcrumb-link:hover {
    color: #374151;
    text-decoration: underline;
}

.blogdetail-breadcrumb-separator {
    color: #9ca3af;
}

.blogdetail-breadcrumb-current {
    color: #374151;
    font-weight: 500;
}

.blogdetail-header {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.blogdetail-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.blogdetail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.75rem 0;
}

.blogdetail-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3125rem 0.625rem;
    border-radius: 624.9375rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4338ca;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.blogdetail-category-chip:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.blogdetail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blogdetail-meta .blogdetail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blogdetail-meta .blogdetail-meta-item svg {
    width: 1rem;
    height: 1rem;
}

.blogdetail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.blogdetail-tags .blogdetail-tag {
    padding: 0.375rem 0.875rem;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Social share buttons */
.blogdetail-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 0.0625rem solid #e5e7eb;
}

.blogdetail-share-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-right: 0.25rem;
}

.blogdetail-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.blogdetail-share-btn:hover {
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.blogdetail-share-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.blogdetail-share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.blogdetail-share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: #ffffff;
}

.blogdetail-share-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

.blogdetail-share-copy:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.blogdetail-share-btn span {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Share block (footer) */
.blogdetail-share-footer {
    padding: 1.875rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 0.0625rem solid #e5e7eb;
    position: sticky;
    top: 1.25rem;
}

.blogdetail-share-footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.blogdetail-share-footer-text {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1.25rem;
}

.blogdetail-share-footer .blogdetail-share-buttons {
    justify-content: center;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    flex-direction: column;
    gap: 0.75rem;
}

.blogdetail-share-footer .blogdetail-share-btn {
    padding: 0.75rem 1.25rem;
    width: 100%;
    height: auto;
    justify-content: center;
}

/* Kopyalama Bildirimi */
.blogdetail-copy-notification {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    background: #10b981;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(1.25rem);
    transition: all 0.3s ease;
    z-index: 1000;
}

.blogdetail-copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.blogdetail-cover {
    width: 100%;
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    overflow: hidden;
    display:flex;
    justify-content:center;
}

.blogdetail-cover img {
    width: 85%;
    height: auto;
    display: block;
}

.blogdetail-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    max-width: 48rem;
    margin-inline: auto;
}

.blogdetail-content h1,
.blogdetail-content h2,
.blogdetail-content h3,
.blogdetail-content h4 {
    margin-top: 1.875rem;
    margin-bottom: 0.9375rem;
    color: #111827;
    font-weight: 600;
}

.blogdetail-content h1 { font-size: 2rem; }
.blogdetail-content h2 { font-size: 1.75rem; }
.blogdetail-content h3 { font-size: 1.5rem; }
.blogdetail-content h4 { font-size: 1.25rem; }

.blogdetail-content p {
    margin-bottom: 1.25rem;
}

.blogdetail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5625rem 0;
}

.blogdetail-content ul,
.blogdetail-content ol {
    margin: 1.25rem 0;
    padding-left: 1.875rem;
}

.blogdetail-content li {
    margin-bottom: 0.625rem;
}

.blogdetail-content a {
    color: #2563eb;
    text-decoration: underline;
}

.blogdetail-content a:hover {
    color: #1d4ed8;
}

.blogdetail-content blockquote {
    border-left: 0.25rem solid #2563eb;
    padding-left: 1.25rem;
    margin: 1.5625rem 0;
    font-style: italic;
    color: #6b7280;
}

.blogdetail-content code {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.blogdetail-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5625rem 0;
}

.blogdetail-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.blogdetail-meta-author {
    font-weight: 500;
    color: #374151;
}

a.blogdetail-meta-author-link {
    text-decoration: none;
    color: inherit;
    border-radius: 0.25rem;
}

a.blogdetail-meta-author-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.blogdetail-author-card {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 0.0625rem solid #e5e7eb;
}

.blogdetail-author-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 0.0625rem solid #e2e8f0;
    border-radius: 0.75rem;
}

.blogdetail-author-layout {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.blogdetail-author-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.blogdetail-author-profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: inherit;
    border-radius: 0.5rem;
    text-align: center;
}

.blogdetail-author-profile-link:hover .blogdetail-author-name {
    color: #2563eb;
}

.blogdetail-author-extra {
    width: 100%;
}

.blogdetail-author-avatar-wrap {
    flex-shrink: 0;
}

.blogdetail-author-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 0.1875rem solid #fff;
    box-shadow: 0 0.25rem 0.875rem rgba(15, 23, 42, 0.12);
}

.blogdetail-author-body {
    min-width: 0;
}

.blogdetail-author-name {
    font-size: 1.25rem;
    margin: 0;
    color: #0f172a;
}

.blogdetail-author-bio {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
}

.blogdetail-author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blogdetail-author-social-link {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #fff;
    border: 0.0625rem solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    transition: box-shadow 0.15s ease, color 0.15s ease;
}

.blogdetail-author-social-link:hover {
    color: #2563eb;
    border-color: #bfdbfe;
    box-shadow: 0 0.125rem 0.5rem rgba(37, 99, 235, 0.15);
}

/* Related Blogs Section */
.blogdetail-related-blogs {
    padding: 3.75rem 1.25rem;
    background: #f9fafb;
    margin-top: 3.75rem;
}

.blogdetail-container-related {
    max-width: 75rem;
    width: 100%;
    margin-inline: auto;
    padding: 0 1.25rem;
}

.blogdetail-related-blogs-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.875rem;
    text-align: center;
}

.blogdetail-related-blogs-swiper {
    padding-bottom: 2.5rem;
}

.blogdetail-related-blogs-swiper .swiper-slide {
    height: auto;
}

.blogdetail-related-blogs-swiper .blogdetail-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blogdetail-related-blogs-swiper .blogdetail-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blogdetail-related-blogs-swiper .blogdetail-card-image {
    flex-shrink: 0;
}

.blogdetail-related-blogs-swiper .blogdetail-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.blogdetail-related-blogs-swiper .swiper-pagination {
    position: relative;
    margin-top: 1.25rem;
}

/* Related Blogs Card Styles */
.blogdetail-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blogdetail-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.blogdetail-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blogdetail-card-image {
    width: 100%;
    height: 12.5rem;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.blogdetail-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blogdetail-card:hover .blogdetail-card-image img {
    transform: scale(1.05);
}

.blogdetail-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.blogdetail-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blogdetail-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blogdetail-card-summary {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.9375rem 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blogdetail-card-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9375rem;
    margin-bottom: 0.9375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.blogdetail-card-meta .blogdetail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
}

.blogdetail-card-meta .blogdetail-meta-item svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 48rem) {
    .blogdetail {
        padding: 1.875rem 0.9375rem 2.5rem;
    }

    .blogdetail-container {
        flex-direction: column;
        gap: 1.875rem;
    }

    .blogdetail-sidebar {
        width: 100%;
        order: -1;
    }

    .blogdetail-share-footer {
        position: relative;
        top: 0;
    }

    .blogdetail-breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .blogdetail-title {
        font-size: 1.75rem;
    }

    .blogdetail-content {
        font-size: 1rem;
    }

    .blogdetail-content h1 { font-size: 1.625rem; }
    .blogdetail-content h2 { font-size: 1.375rem; }
    .blogdetail-content h3 { font-size: 1.25rem; }
    .blogdetail-content h4 { font-size: 1.125rem; }

    .blogdetail-meta {
        gap: 0.9375rem;
        font-size: 0.8125rem;
    }

    .blogdetail-share-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .blogdetail-share-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .blogdetail-share-footer {
        padding: 1.25rem 0.9375rem;
    }

    .blogdetail-share-footer .blogdetail-share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blogdetail-share-footer .blogdetail-share-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .blogdetail-share-footer .blogdetail-share-btn span {
        display: none;
    }

    .blogdetail-copy-notification {
        bottom: 1.25rem;
        right: 1.25rem;
        left: 1.25rem;
        text-align: center;
    }

    .blogdetail-related-blogs {
        padding: 2.5rem 0.9375rem;
    }

    .blogdetail-related-blogs-title {
        font-size: 1.5rem;
    }

    .blogdetail-author-card-inner {
        align-items: center;
        text-align: center;
    }

    .blogdetail-author-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blogdetail-author-side {
        align-items: center;
    }

    .blogdetail-author-social {
        justify-content: center;
    }
}

