/* Blog Pages Styles */

/* Hero Section */
.blog-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.blog-hero h1 {
    font-family: var(--font-heading, 'Darker Grotesque', sans-serif);
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 24px 0 16px;
    line-height: 1.2;
}

.blog-hero h1 .gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Blog Listing Section */
.blog-listing-section {
    padding: 80px 0;
    background: white;
}

.blog-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.blog-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700, #374151);
}

.blog-filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-filter-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700, #374151);
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.blog-filter-tab:hover {
    border-color: var(--color-primary, #3B82F6);
    color: var(--color-primary, #3B82F6);
}

.blog-filter-tab.active {
    background: var(--color-primary, #3B82F6);
    color: white;
    border-color: var(--color-primary, #3B82F6);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.blog-card-category.pdks {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.blog-card-category.geciskontrol {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

    .blog-card-category.guvenlik-sistemleri {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
    }

.blog-card-title {
    font-family: var(--font-heading, 'Darker Grotesque', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary, #0F172A);
    margin: 0 0 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--color-primary, #3B82F6);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-gray-600, #4B5563);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--color-gray-500, #6B7280);
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.blog-pagination-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700, #374151);
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-pagination-btn:hover:not(:disabled) {
    border-color: var(--color-primary, #3B82F6);
    color: var(--color-primary, #3B82F6);
}

.blog-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-pagination-btn.active {
    background: var(--color-primary, #3B82F6);
    color: white;
    border-color: var(--color-primary, #3B82F6);
}

/* Blog Detail Page */
.blog-detail-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 0px 0 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    overflow: hidden;
}

.blog-detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.blog-detail-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.blog-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
    padding: 60px 0 40px;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.blog-detail-category {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

.blog-detail-category.pdks {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.blog-detail-category.gecis-kontrol {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.blog-detail-category.guvenlik {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.blog-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-detail-title {
    font-family: var(--font-heading, 'Darker Grotesque', sans-serif);
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* Blog Detail Tabs */
.blog-detail-tabs {
    position: sticky;
    top: 80px;
    z-index: 99;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.blog-tabs-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.blog-tab-item {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.blog-tab-item:hover {
    color: #0f172a;
}

.blog-tab-item.active {
    color: #0056D2;
    border-bottom-color: #0056D2;
}

/* Blog Content */
.blog-content-section {
    
    background: white;
}

.blog-content-wrapper {
    
    margin: 0 auto;
}

.blog-content-block {
     
    border-bottom: 1px solid #e2e8f0;
}

.blog-content-block:last-child {
    border-bottom: none;
}

.blog-content-block h2 {
    font-family: var(--font-heading, 'Darker Grotesque', sans-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-secondary, #0F172A);
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.blog-content-block h3 {
    font-family: var(--font-heading, 'Darker Grotesque', sans-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary, #0F172A);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700, #374151);
    margin-bottom: 20px;
}

.blog-content-block img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.blog-content-block ul,
.blog-content-block ol {
    margin: 20px 0;
    padding-left: 24px;
}

.blog-content-block li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700, #374151);
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .blog-hero-desc {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-detail-hero {
        min-height: auto;
    }
    
    .blog-detail-hero-image {
        height: 300px;
    }
    
    .blog-detail-title {
        font-size: 28px;
    }
    
    .blog-detail-tabs {
        top: 0;
    }
    
    .blog-tabs-wrapper {
        overflow-x: auto;
    }
    
    .blog-tab-item {
        padding: 14px 20px;
        font-size: 13px;
    }
    
    .blog-content-block {
        padding: 40px 0;
    }
    
    .blog-content-block h2 {
        font-size: 26px;
    }
    
    .blog-content-block h3 {
        font-size: 20px;
    }
}


 .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 24px;
}
      .breadcrumb a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.2s;
    }
    .breadcrumb span {
        color: rgba(255, 255, 255, 0.4);
    }
.article-section {
    padding: 80px 0;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}

    .article-content h2 {
        font-family: 'Darker Grotesque', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: #0f172a;
        margin-top: 56px;
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 2px solid rgba(8, 145, 178, 0.2);
    }

    .article-content h3 {
        font-family: 'Darker Grotesque', sans-serif;
        font-size: 24px;
        font-weight: 700;
        color: #1e293b;
        margin-top: 40px;
        margin-bottom: 16px;
    }

    .article-content p {
        margin-bottom: 20px;
    }

    .article-content ul,
    .article-content ol {
        margin-bottom: 24px;
        padding-left: 24px;
    }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.table-of-contents {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    background: #f9f9f9;
}

.toc-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .toc-list li {
        margin-bottom: 8px;
    }

    .toc-list a {
        display: block;
        padding: 8px 12px;
        font-size: 13px;
        color: #64748b;
        border-radius: 8px;
        transition: all 0.2s;
        text-decoration: none;
    }

        .toc-list a:hover,
        .toc-list a.active {
            background: rgba(8, 145, 178, 0.1);
            color: var(--kamera-primary);
        }

        .toc-list a.active {
            font-weight: 600;
            border-left: 2px solid var(--kamera-primary);
        }

.article-content li {
    margin-bottom: 12px;
    position: relative;
}

.article-content ul li::marker {
    color: var(--kamera-primary);
}

.article-content strong {
    color: #0f172a;
    font-weight: 600;
}

/* Grid container */
.article-content .article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px; /* kartlar arası boşluk */
    align-items: stretch;
}

/* Kart */
.article-content .article-card {
    height: 100%;
}

.article-content .article-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .article-content .article-card-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0,0,0,.10);
    }

/* Görsel alanı */
.article-content .article-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* görseller aynı yükseklikte dursun */
    overflow: hidden;
}

    .article-content .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* İçerik */
.article-content .product-info {
    padding: 12px 14px 14px;
    display: grid;
    gap: 6px;
}

.article-content .product-name {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}

/* Responsive kırılımlar */
@media (max-width: 1024px) {
    .article-content .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .article-content .article-grid {
        grid-template-columns: 1fr;
    }
}
.blogdetialspan {
    font-size: 9px!important;
}