﻿/* 
    PAPIRA BasÄ±mevi - BLOG SAYFALARI PREMİUM TASARIM
    2026 DESIGN SYSTEM - MINIMAL EDITORIAL LAYOUT
*/

.blog-section {
    padding: 80px 0;
    background: var(--white);
    overflow: visible !important;
}

.blog-detail-section {
    padding: 80px 0;
    margin-top: 100px;
    background: var(--white);
    overflow: visible !important;
}

.blog-header {
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-header p {
    color: #6b7280;
    font-size: 15px;
    max-width: 500px;
    margin: 0;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 320px;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 230, 0.1);
}

.search-wrapper input {
    border: none;
    padding: 4px 12px;
    flex: 1;
    font-size: 13.5px;
    outline: none;
    color: var(--text-dark);
}

.search-btn {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--cyan-hover);
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: rgba(0, 180, 230, 0.15);
}

.blog-card-img {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #f3f4f6;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--light-cyan);
    color: var(--accent);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--accent);
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.blog-date {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

.blog-card-arrow {
    font-size: 11px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 400;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.page-num.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.page-num:not(.active):hover {
    background: #f3f4f6;
    color: var(--accent);
    border-color: #d1d5db;
}

.blog-detail-header {
    padding: 60px 0 30px;
    text-align: left;
}

.blog-detail-header h1 {
    font-size: 38px;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 100%;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-detail-main-img-wrapper {
    max-width: 100%;
    margin: 0 0 40px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f3f4f6;
}

.blog-detail-main-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.blog-detail-content {
    max-width: 100%;
}

.blog-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.sidebar-widget {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-post-info h5 {
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: var(--text-white);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-item:hover h5 {
    color: var(--accent);
}

.recent-post-info span {
    font-size: 11px;
    color: var(--text-grey);
}

.sidebar-quote-card {
    background: var(--dark-bg-extra-extra);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 24px;
    border-radius: 20px;
    text-align: center;
}

.sidebar-quote-card h4 {
    color: var(--white) !important;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
}

.sidebar-quote-card p {
    font-size: 13px;
    color: var(--text-grey);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-quote-card .btn {
    background: var(--primary-gradient);
    color: var(--black) !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
}

.sidebar-quote-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 196, 250, 0.2);
}

.blog-detail-content h2 {
    margin: 50px 0 20px;
    font-weight: 500;
    font-size: 24px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.blog-detail-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.blog-detail-content h3 {
    margin: 35px 0 15px;
}

.blog-detail-content p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.blog-detail-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-detail-content li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    list-style: none;
    position: relative;
}

.blog-detail-content li::before {
    content: "\2022";
    color: var(--accent);
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.btn-emerald {
    background-color: var(--accent);
    border: none;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    background-color: var(--cyan-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-section {
        padding: 50px 0;
    }

    .blog-header h1 {
        font-size: 32px;
    }

    .blog-card-img {
        height: 200px;
    }

    .blog-detail-header h1 {
        font-size: 26px;
    }

    .blog-detail-main-img {
        height: 250px;
    }

    .blog-detail-content h2 {
        font-size: 20px;
    }

    .blog-detail-content h3 {
        font-size: 17px;
    }

    .blog-detail-cta {
        padding: 24px;
    }
}