/* GLYCON Blog CSS - TeknoFirst Dark Theme Uyumlu */

.g-blog-body {
    background: #0f172a;
    color: #f1f5f9;
    min-height: 100vh;
}

.g-blog-main {
    background: #0f172a;
    color: #f1f5f9;
}

.g-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.g-blog-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.g-blog-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.g-blog-hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.g-blog-hero-content {
    position: relative;
    z-index: 1;
}

.g-blog-hero-sm {
    padding: 60px 0 40px;
}

.g-blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #818cf8 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g-blog-hero-desc {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 32px;
}

.g-blog-hero-breadcrumb {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.g-blog-hero-breadcrumb a {
    color: #818cf8;
    text-decoration: none;
}

.g-blog-hero-breadcrumb a:hover {
    text-decoration: underline;
}

.g-blog-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
}

.g-blog-search-input {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #f1f5f9;
    font-size: 1rem;
    outline: none;
}

.g-blog-search-input::placeholder {
    color: #64748b;
}

.g-blog-search-btn {
    padding: 14px 24px;
    background: #6366f1;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
}

.g-blog-search-btn:hover {
    background: #4f46e5;
}

/* Categories */
.g-blog-categories {
    padding: 24px 0;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.g-blog-categories-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.g-blog-category-tag {
    padding: 8px 20px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 50px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.g-blog-category-tag:hover,
.g-blog-category-tag.g-active {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

/* Featured */
.g-blog-featured {
    padding: 60px 0;
    background: #0f172a;
}

.g-blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #334155;
}

.g-blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-blog-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.g-blog-featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    width: fit-content;
}

.g-blog-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.g-blog-featured-title a {
    color: #f1f5f9;
    text-decoration: none;
}

.g-blog-featured-title a:hover {
    color: #818cf8;
}

.g-blog-featured-excerpt {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.g-blog-featured-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.g-blog-featured-meta i {
    margin-right: 6px;
}

/* Articles Grid */
.g-blog-articles {
    padding: 60px 0;
    background: #0f172a;
}

.g-blog-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.g-blog-full-width {
    max-width: 100%;
}

.g-blog-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #6366f1;
    color: #f1f5f9;
}

.g-blog-count {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
}

.g-blog-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.g-blog-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.g-blog-card {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #334155;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.g-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

.g-blog-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.g-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.g-blog-card-content {
    padding: 20px;
}

.g-blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 12px;
}

.g-blog-card-category:hover {
    background: rgba(99, 102, 241, 0.3);
}

.g-blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.g-blog-card-title a {
    color: #f1f5f9;
    text-decoration: none;
}

.g-blog-card-title a:hover {
    color: #818cf8;
}

.g-blog-card-excerpt {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.g-blog-card-meta {
    display: flex;
    gap: 16px;
    color: #64748b;
    font-size: 0.8rem;
}

.g-blog-card-meta i {
    margin-right: 4px;
}

/* Sidebar */
.g-blog-sidebar-widget {
    background: #1e293b;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #334155;
}

.g-blog-sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #334155;
    color: #f1f5f9;
}

.g-blog-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.g-blog-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #334155;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.g-blog-sidebar-item:last-child {
    border-bottom: none;
}

.g-blog-sidebar-item:hover {
    color: #818cf8;
}

.g-blog-sidebar-item-title {
    flex: 1;
    margin-right: 12px;
}

.g-blog-sidebar-item-date {
    color: #64748b;
    font-size: 0.75rem;
    white-space: nowrap;
}

.g-blog-sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.g-blog-sidebar-category {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: #0f172a;
    border-radius: 8px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.875rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.g-blog-sidebar-category:hover {
    background: #6366f1;
    color: white;
}

.g-blog-sidebar-category-count {
    background: #334155;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.g-blog-sidebar-cta {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.g-blog-sidebar-cta h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: #fff;
}

.g-blog-sidebar-cta p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 20px;
    color: #e0e7ff;
}

/* Pagination */
.g-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #334155;
}

.g-blog-pagination-btn {
    padding: 10px 20px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.g-blog-pagination-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
}

.g-blog-pagination-numbers {
    display: flex;
    gap: 8px;
}

.g-blog-pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.g-blog-pagination-num:hover,
.g-blog-pagination-num.g-active {
    background: #6366f1;
    border-color: #6366f1;
}

.g-blog-pagination-dots {
    color: #64748b;
    padding: 0 8px;
    display: flex;
    align-items: center;
}

/* Empty State */
.g-blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
}

.g-blog-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
    display: block;
}

/* Buttons */
.g-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.g-btn-primary {
    background: #6366f1;
    color: white;
}

.g-btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.g-btn-accent {
    background: #f59e0b;
    color: #0f172a;
}

.g-btn-accent:hover {
    background: #d97706;
}

.g-btn-outline {
    background: transparent;
    border: 1px solid #334155;
    color: #f1f5f9;
}

.g-btn-outline:hover {
    border-color: #818cf8;
    color: #818cf8;
}

.g-btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .g-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .g-blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .g-blog-sidebar-cta {
        grid-column: span 2;
    }
    
    .g-blog-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .g-blog-hero {
        padding: 60px 0 40px;
    }
    
    .g-blog-hero-title {
        font-size: 2rem;
    }
    
    .g-blog-featured-card {
        grid-template-columns: 1fr;
    }
    
    .g-blog-featured-content {
        padding: 24px;
    }
    
    .g-blog-cards,
    .g-blog-cards-3 {
        grid-template-columns: 1fr;
    }
    
    .g-blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .g-blog-sidebar-cta {
        grid-column: span 1;
    }
    
    .g-blog-pagination {
        flex-wrap: wrap;
    }
    
    .g-blog-categories-inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .g-blog-category-tag {
        white-space: nowrap;
    }
}
