/* ============================================
   BLOG STYLES — Isparta Limit Eğitim
   ============================================ */

/* Breadcrumb */
.blog-breadcrumb {
    margin-top: 110px;
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}
.blog-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.blog-breadcrumb ol li {
    font-size: 13px;
    color: #6c757d;
}
.blog-breadcrumb ol li + li::before {
    content: "›";
    margin: 0 8px;
    color: #adb5bd;
}
.blog-breadcrumb ol li a {
    color: #495057;
    text-decoration: none;
}
.blog-breadcrumb ol li a:hover {
    color: #007bff;
}
.blog-breadcrumb ol li.active {
    color: #007bff;
    font-weight: 500;
}

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 0 40px;
    text-align: center;
    color: #fff;
}
.blog-hero h1 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff !important;
}
.blog-hero .lead {
    font-size: 16px;
    color: rgba(255,255,255,0.8) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filters */
.blog-categories {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}
.blog-cat-btn {
    display: inline-block;
    padding: 8px 18px;
    margin: 4px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    background: #f1f3f5;
    text-decoration: none;
    transition: all 0.3s;
}
.blog-cat-btn:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}
.blog-cat-btn.active {
    background: #007bff;
    color: #fff;
}

/* Blog Grid */
.blog-grid {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    height: 200px;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,123,255,0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-body {
    padding: 20px;
}
.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #adb5bd;
}
.blog-card-meta i {
    margin-right: 4px;
}
.blog-card-body h2 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #212529;
}
.blog-card-body h2 a {
    color: inherit;
    text-decoration: none;
}
.blog-card-body h2 a:hover {
    color: #007bff;
}
.blog-card-body p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}
.blog-card-link:hover {
    text-decoration: none;
    color: #0056b3;
}
.blog-card-link i {
    margin-left: 4px;
    transition: transform 0.2s;
}
.blog-card-link:hover i {
    transform: translateX(3px);
}

/* Blog Article (Detail Page) */
.blog-article {
    padding: 30px 0 50px;
}
.blog-article-header {
    position: relative !important;
    width: 100% !important;
    z-index: auto !important;
    top: auto !important;
    margin-bottom: 25px;
}
.blog-article-category {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    padding: 4px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.blog-article-header h1 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #212529 !important;
    margin-bottom: 15px;
}
.blog-article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6c757d;
}
.blog-article-meta i {
    margin-right: 5px;
    color: #adb5bd;
}
.blog-article-image {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}
.blog-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.blog-article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #343a40;
}
.blog-article-content h2 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}
.blog-article-content h3 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 10px;
}
.blog-article-content p {
    margin-bottom: 15px;
}
.blog-article-content ul, .blog-article-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}
.blog-article-content li {
    margin-bottom: 6px;
}
.blog-article-content a {
    color: #007bff;
    text-decoration: underline;
}
.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.blog-article-content table th,
.blog-article-content table td {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}
.blog-article-content table th {
    background: #f1f3f5;
    font-weight: 600;
}
.blog-article-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* FAQ Section */
.blog-faq {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}
.blog-faq h2 {
    font-size: 20px !important;
    margin-top: 0 !important;
    border: none !important;
    padding: 0 !important;
}
.blog-faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-left: 3px solid #007bff;
}
.blog-faq-item h3 {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0 0 8px !important;
    color: #212529;
}
.blog-faq-item h3 i {
    color: #007bff;
    margin-right: 8px;
}
.blog-faq-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Share Buttons */
.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.blog-share span {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}
.blog-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s;
}
.blog-share a:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}
.blog-sidebar-cta {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    color: #fff;
}
.blog-sidebar-cta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.blog-sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}
.blog-sidebar-cta .btn {
    margin-bottom: 8px;
}
.btn-whatsapp {
    background: #25d366 !important;
    color: #fff !important;
    border: none;
}
.btn-whatsapp:hover {
    background: #1da851 !important;
    color: #fff !important;
}

.blog-sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.blog-sidebar-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
    color: #212529;
}
.blog-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar-cats li {
    margin-bottom: 8px;
}
.blog-sidebar-cats li a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.blog-sidebar-cats li a:hover {
    background: #e3f2fd;
    color: #007bff;
}
.blog-sidebar-cats li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.blog-sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    text-decoration: none;
    color: inherit;
}
.blog-sidebar-post:last-child {
    border-bottom: none;
}
.blog-sidebar-post:hover {
    text-decoration: none;
}
.blog-sidebar-post img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.blog-sidebar-post h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #343a40;
    line-height: 1.3;
}
.blog-sidebar-post:hover h4 {
    color: #007bff;
}
.blog-sidebar-post small {
    font-size: 11px;
    color: #adb5bd;
}

/* Blog CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    padding: 50px 0;
    color: #fff;
}
.blog-cta h2 {
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 25px;
}
.blog-cta .btn {
    margin: 0 8px;
    padding: 12px 30px;
    font-size: 15px;
    border-radius: 8px;
}

/* Homepage Blog Section */
.home-blog-section {
    padding: 50px 0;
    background: #f8f9fa;
}
.home-blog-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}
.home-blog-section .section-title h2 {
    font-family: 'Inter', 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.home-blog-section .section-title p {
    color: #6c757d;
    font-size: 15px;
}
.home-blog-section .blog-more {
    text-align: center;
    margin-top: 20px;
}
.home-blog-section .blog-more a {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #007bff;
    border-radius: 25px;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.home-blog-section .blog-more a:hover {
    background: #007bff;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 { font-size: 24px; }
    .blog-article-header h1 { font-size: 22px; }
    .blog-article-content h2 { font-size: 19px; }
    .blog-cat-btn { padding: 6px 12px; font-size: 12px; }
    .blog-sidebar { position: static; margin-top: 30px; }
    .blog-cta .btn { display: block; margin: 8px auto; max-width: 280px; }
}
