/* Blog Header Styles */


.blog-title-area {
    max-width: 800px;
}

.blog-title-area .categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-title-area .categories .cat {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-title-area .blog-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-title-area .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-color-light);
}

.blog-title-area .blog-meta span i {
    margin-right: 0.4rem;
    color: var(--primary-color);
}

.blog-title-area .blog-summary {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.blog-title-area .blog-summary strong {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-title-area .blog-summary span {
    color: var(--accent-color);
    font-weight: 500;
}

/* Ana makale bölümü */
.blog-article-sec {
    padding: 2rem 0;
    background: var(--bg-color);
    height: auto;
}

.blog-article-sec .article-wrapper {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.blog-article-sec .article-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Makale metin stilleri */
.article-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.article-text .lead-text {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-color-light);
    line-height: 1.7;
}

.article-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
}

.article-text h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
}

.article-text h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem 0;
    color: var(--primary-color);
}

.article-text h4 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.2rem 0 0.8rem 0;
    color: var(--primary-color);
}

.article-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

.article-text p span {
    color: var(--accent-color);
    font-weight: 500;
}

.article-text p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Makale footer */
.article-footer {
    border-top: 1px solid var(--primary-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Etiketler */
.tags-section h4 {
    font-size: 0.9rem;
    color: var(--text-dark-dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.tags .tag {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 7rem;
    height: max-content;
}

.sidebar-widget {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* İlgili yazılar */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 0.8rem;
}

.post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content h4 {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.post-content h4 a {
    color: var(--text-dark-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h4 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.75rem;
    color: var(--text-dark-low);
}

/* Kategori listesi */
.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list span {
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 0.85rem;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.sidebar-widget p {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.blogs-sec .otherBlogs {
    width: 100%;
}

/* Professional Responsive Design for Blog Detail Page */

/* Desktop First - Base Styles Already Above */

@media (max-width: 1200px) {
    .blog-article-sec .article-wrapper {
        grid-template-columns: 1fr 280px;
        gap: 2.5rem;
    }
    
    .blog-article-sec .article-content {
        padding: 1.8rem;
    }
    
    .article-sidebar {
        top: 6rem;
    }
}

@media (max-width: 1024px) {
    .blog-article-sec {
        padding: 1.5rem 0;
    }
    
    .blog-article-sec .article-wrapper {
        grid-template-columns: 1fr 260px;
        gap: 2rem;
    }
    
    .article-text h1 {
        font-size: 1.8rem;
    }
    
    .article-text h2 {
        font-size: 1.3rem;
    }
    
    .article-text h3 {
        font-size: 1.1rem;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .blog-title-area .blog-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .blog-title-area .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        font-size: 0.8rem;
    }
    
    .blog-title-area .blog-summary {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .blog-article-sec {
        padding: 1rem 0;
    }
    
    .blog-article-sec .article-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
    
    .blog-article-sec .article-content {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .article-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .article-text .lead-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .article-text h1 {
        font-size: 1.6rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .article-text h2 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .article-text h3 {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.6rem 0;
    }
    
    .article-text h4 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .article-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .article-footer {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .tags {
        gap: 0.3rem;
    }
    
    .tags .tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Mobile Sidebar */
    .article-sidebar {
        position: static;
        margin-top: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .related-posts {
        gap: 0.8rem;
    }
    
    .related-post {
        gap: 0.6rem;
    }
    
    .post-thumb {
        width: 50px;
        height: 50px;
    }
    
    .post-content h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .post-date {
        font-size: 0.7rem;
    }
    
    .category-list a {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .category-list span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .blog-title-area .blog-title {
        font-size: 1.6rem;
    }
    
    .blog-title-area .blog-summary {
        font-size: 0.95rem;
    }
    
    .blog-article-sec .article-content {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .article-text {
        font-size: 0.85rem;
    }
    
    .article-text .lead-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .article-text h1 {
        font-size: 1.4rem;
        margin: 1.2rem 0 0.6rem 0;
    }
    
    .article-text h2 {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.6rem 0;
    }
    
    .article-text h3 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .article-text p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .article-footer {
        margin-top: 1.2rem;
        padding-top: 1rem;
    }
    
    .tags-section h4 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .tags .tag {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
        margin: 0 0.5rem 1rem 0.5rem;
    }
    
    .sidebar-widget h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .related-post {
        gap: 0.5rem;
    }
    
    .post-thumb {
        width: 45px;
        height: 45px;
    }
    
    .post-content h4 {
        font-size: 0.75rem;
    }
    
    .category-list li {
        padding: 0.4rem 0;
    }
    
    .category-list a {
        font-size: 0.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-title-area .blog-title {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .blog-title-area .blog-summary {
        font-size: 0.9rem;
    }
    
    .blog-article-sec .article-content {
        padding: 1rem;
        margin: 0 0.25rem;
        border-radius: 6px;
    }
    
    .article-text {
        font-size: 0.8rem;
    }
    
    .article-text .lead-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .article-text h1 {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .article-text h2 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .article-text h3 {
        font-size: 0.9rem;
        margin: 0.8rem 0 0.4rem 0;
    }
    
    .article-text p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.7rem;
    }
    
    .sidebar-widget {
        padding: 0.8rem;
        margin: 0 0.25rem 0.8rem 0.25rem;
    }
    
    .sidebar-widget h3 {
        font-size: 0.85rem;
    }
    
    .post-thumb {
        width: 40px;
        height: 40px;
    }
    
    .post-content h4 {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .post-date {
        font-size: 0.65rem;
    }
}

@media (max-width: 350px) {
    .blog-title-area .blog-title {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .blog-title-area .categories .cat {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .blog-title-area .blog-summary {
        font-size: 0.85rem;
    }
    
    .blog-article-sec .article-content {
        padding: 0.8rem;
        margin: 0;
    }
    
    .article-text {
        font-size: 0.75rem;
    }
    
    .article-text .lead-text {
        font-size: 0.85rem;
    }
    
    .article-text h1 {
        font-size: 1.1rem;
    }
    
    .article-text h2 {
        font-size: 0.95rem;
    }
    
    .article-text h3 {
        font-size: 0.85rem;
    }
    
    .article-text p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .tags .tag {
        padding: 0.15rem 0.3rem;
        font-size: 0.65rem;
    }
    
    .sidebar-widget {
        padding: 0.6rem;
        margin: 0 0 0.6rem 0;
    }
    
    .post-thumb {
        width: 35px;
        height: 35px;
    }
    
    .post-content h4 {
        font-size: 0.65rem;
    }
    
    .category-list a {
        font-size: 0.7rem;
    }
    
    .category-list span {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
}