/* blog_styles.css - Kurumsal ve Profesyonel Tasarım */

/* Genel Blog Alanı ve Konteyner */
.blog-container {
    padding-top: 0;
    padding-bottom: 70px;
    width: 100%;
    background-color: #ffffff;
    color: #2d3748;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.blog-container .container {
    width: 90%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Profesyonel Header Tasarımı */
.blog-header {
    position: relative;
    color: white;
    width: 100%;
    z-index: 900;
    padding: 2rem 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%), url('../images/arkaplan2.webp') center/cover;
    margin-bottom: 3rem;
}

.blog-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: -1;
}

.blog-header-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.blog-header-top {
    padding: 1.5rem 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 4rem;
}

.blog-logo-link {
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1004;
}

.blog-logo {
    max-height: 5rem;
    width: auto;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.blog-logo:hover {
    transform: scale(1.02);
}

/* Blog Ana Başlığı */
.blog-page-title {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    font-size: 3rem;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.blog-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 0.125rem;
}

.blog-intro-text {
    font-size: 1.125rem;
    color: #e2e8f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
    padding: 1rem 1.5rem;
    border-left: 4px solid #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0 0.5rem 0.5rem 0;
    font-weight: 400;
}

/* Blog Navigation */
.blog-nav-menu {
    width: 100%;
    padding: 1rem 0;
    margin-top: 1rem;
    background-color: transparent;
}

.blog-nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 0.375rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.blog-nav-menu a:hover, 
.blog-nav-menu a.active-link {
    color: #3b82f6;
    background-color: rgba(255,255,255,0.1);
}

.blog-nav-menu a.active-link::before {
    content: '';
    position: absolute;
    bottom: -0.375rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 0.125rem;
    background-color: #3b82f6;
}

/* Blog Sayfa Düzeni */
.blog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-posts-column,
.blog-sidebar-column {
    width: 100%;
}

/* Blog Yazı Kartları */
.blog-post-item {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.blog-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-post-item .blog-post-image-wrapper {
    display: block;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.blog-post-item .blog-post-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}

.blog-post-item:hover .blog-post-image {
    transform: scale(1.05);
}

.blog-post-item-category {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    z-index: 2 !important;
    line-height: 1.3 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    border: none !important;
    transition: all 0.3s ease !important;
    transform: none !important;
    letter-spacing: 0.05em;
}

/* Kategori etiketi sadece resimli kartlarda absolute pozisyonlansın */
.blog-post-item .blog-post-image-wrapper .blog-post-item-category {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
}

/* Resim olmayan kartlarda kategori etiketi normal akışta olsun */
.blog-post-item .blog-post-item-content-category-wrapper .blog-post-item-category {
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 1rem !important;
    display: inline-block !important;
}

.blog-post-item-category:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.blog-post-item-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-item-title {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.blog-post-item-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.blog-post-item-title a:hover {
    color: #3b82f6;
}

.blog-post-item-meta {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-post-item-meta i {
    margin-right: 0.5rem;
    color: #94a3b8;
}

.blog-post-item-meta span + span::before {
    content: "•";
    margin: 0 0.5rem;
    color: #cbd5e1;
}

.blog-post-item-excerpt {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-read-more-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.blog-read-more-btn i {
    transition: transform 0.2s ease;
}

.blog-read-more-btn:hover i {
    transform: translateX(2px);
}

/* Kenar Çubuğu */
.blog-sidebar-column .widget {
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.blog-sidebar-column .widget:last-child {
    margin-bottom: 0;
}

.blog-sidebar-column .widget-title {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-sidebar-column .widget-title i {
    color: #3b82f6;
    font-size: 1.125rem;
}

/* Search Widget */
.search-widget form {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-widget form:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-widget input[type="search"] {
    flex-grow: 1;
    padding: 0.875rem 1rem;
    border: none;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    background-color: #fff;
}

.search-widget input[type="search"]::placeholder {
    color: #94a3b8;
}

.search-widget button {
    width: 3rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-widget button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* Categories Widget */
.categories-widget ul,
.recent-posts-widget ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.categories-widget ul li a,
.recent-posts-widget ul li a {
    text-decoration: none;
    font-size: 0.875rem;
    color: #4a5568;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    box-sizing: border-box;
}

.categories-widget ul li:last-child a,
.recent-posts-widget ul li:last-child a {
    border-bottom: none;
}

.categories-widget ul li a:hover,
.recent-posts-widget ul li a:hover {
    color: #3b82f6;
    background-color: #f8fafc;
    transform: translateX(4px);
}

.categories-widget ul li a .category-count {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ADVANCED BLOG FILTERING SYSTEM - Kurumsal Tasarım */

/* Advanced Filter Section */
.advanced-filter-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    border: 1px solid #475569;
}

.filter-header {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filter-header h2 {
    color: white;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.025em;
}

.filter-header h2 i {
    margin-right: 0.75rem;
    color: #3b82f6;
}

.filter-toggle-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.filter-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-toggle-btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.filter-toggle-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.filter-panel {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: rgba(255,255,255,0.02);
}

.filter-panel.expanded {
    max-height: 800px;
    padding: 2rem;
}

/* Filter Rows - Improved Layout */
.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: end;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-row.quick-filters {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
}

.filter-row.advanced-filters {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Filter Groups - Cleaner Structure */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0;
}

.filter-group label i {
    margin-right: 0.5rem;
    color: #3b82f6;
    width: 1rem;
    text-align: center;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="date"] {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1a202c;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    height: 3rem;
}

.view-btn {
    flex: 1;
    padding: 0 1rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active,
.view-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* Results Info */
.results-info {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    opacity: 0.9;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Options */
.search-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #3b82f6;
    width: 1rem;
    height: 1rem;
}

/* Date Inputs */
.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Tag Container */
.tag-container {
    max-height: 120px;
    overflow-y: auto;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.tag-container::-webkit-scrollbar {
    width: 6px;
}

.tag-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.tag-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.tag-item {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    user-select: none;
    white-space: nowrap;
}

.tag-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.tag-item.selected {
    background: #3b82f6;
    color: white;
    border-color: rgba(255,255,255,0.5);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.filter-actions .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.btn-clear {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-clear:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-apply {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-save {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-save:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Saved Filters */
.saved-filters {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.saved-filters h4 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.saved-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.saved-filter-item {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.saved-filter-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.saved-filter-item .delete-saved-filter {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.saved-filter-item .delete-saved-filter:hover {
    background: #ef4444;
}

/* Enhanced Sidebar Widgets */
.search-suggestions {
    background: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Tag Cloud Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    line-height: 1.5;
}

.tag-cloud .tag-link {
    background: #f8f9fa;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-cloud .tag-link:hover {
    background: #3b82f6;
    color: white;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.tag-cloud .tag-link.popular {
    font-size: 0.875rem;
    font-weight: 600;
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

/* Filter Summary Widget */
.filter-summary-widget {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.filter-summary-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.active-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.active-filter-item {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.active-filter-item .remove-filter {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.active-filter-item .remove-filter:hover {
    background: #ef4444;
}

/* Blog View Modes */
.blog-posts-column.list-view .blog-post-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.blog-posts-column.list-view .blog-post-image-wrapper {
    flex: 0 0 200px;
    border-radius: 0.5rem;
}

.blog-posts-column.list-view .blog-post-image {
    height: 150px;
}

.blog-posts-column.list-view .blog-post-item-content {
    flex: 1;
    padding: 1rem 0;
}

.blog-posts-column.list-view .blog-post-item-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-posts-column.list-view .blog-post-item-excerpt {
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Design - Improved Mobile Layout */
@media (max-width: 1200px) {
    .filter-row.quick-filters {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-row.quick-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .date-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-header {
        min-height: 300px;
        padding: 1.5rem 0;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .blog-intro-text {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .filter-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .filter-header h2 {
        font-size: 1.5rem;
    }
    
    .filter-panel.expanded {
        padding: 1.5rem;
        max-height: 1000px;
    }
    
    .search-filters {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .filter-group {
        gap: 0.375rem;
    }
    
    .filter-group select,
    .filter-group input[type="text"],
    .filter-group input[type="date"] {
        padding: 0.75rem;
        font-size: 16px;
    }
    
    .view-toggle {
        height: 2.5rem;
    }
    
    .view-btn {
        font-size: 0.875rem;
        padding: 0 0.75rem;
    }
    
    .tag-container {
        max-height: 100px;
        padding: 0.75rem;
    }
    
    .tag-item {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .blog-posts-column.list-view .blog-post-item {
        flex-direction: column;
    }
    
    .blog-posts-column.list-view .blog-post-image-wrapper {
        flex: none;
        width: 100%;
    }
    
    .saved-filter-list {
        flex-direction: column;
    }
    
    .saved-filter-item {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .blog-header {
        min-height: 250px;
        padding: 1rem 0;
    }
    
    .blog-page-title {
        font-size: 1.75rem;
    }
    
    .filter-header {
        padding: 1rem;
    }
    
    .filter-header h2 {
        font-size: 1.25rem;
    }
    
    .filter-panel.expanded {
        padding: 1rem;
    }
    
    .filter-actions {
        gap: 0.75rem;
    }
    
    .filter-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-width: 120px;
    }
    
    .tag-container {
        max-height: 80px;
        padding: 0.5rem;
    }
    
    .checkbox-label {
        font-size: 0.75rem;
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 0.875rem;
        height: 0.875rem;
    }
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Enhanced Filter Animations - Professional Edition */
.filter-group {
    animation: slideInFromLeft 0.6s ease-out;
}

.filter-group:nth-child(1) { animation-delay: 0.1s; }
.filter-group:nth-child(2) { animation-delay: 0.2s; }
.filter-group:nth-child(3) { animation-delay: 0.3s; }
.filter-group:nth-child(4) { animation-delay: 0.4s; }
.filter-group:nth-child(5) { animation-delay: 0.5s; }
.filter-group:nth-child(6) { animation-delay: 0.6s; }

.tag-item {
    animation: bounceIn 0.4s ease-out;
}

.tag-item:nth-child(1) { animation-delay: 0.1s; }
.tag-item:nth-child(2) { animation-delay: 0.15s; }
.tag-item:nth-child(3) { animation-delay: 0.2s; }
.tag-item:nth-child(4) { animation-delay: 0.25s; }
.tag-item:nth-child(5) { animation-delay: 0.3s; }

/* ========================================
   PAGINATION STYLES - Modern Design
   ======================================== */

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.pagination-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: transparent;
}

.pagination-link.current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.pagination-link.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.pagination-link.disabled:hover {
    background: #f1f5f9;
    color: #94a3b8;
    transform: none;
    box-shadow: none;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Pagination responsive design */
@media (max-width: 768px) {
    .blog-pagination {
        gap: 0.25rem;
        padding: 0.75rem;
        margin: 2rem 0;
    }
    
    .pagination-link {
        min-width: 2.25rem;
        height: 2.25rem;
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
    
    .pagination-ellipsis {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-pagination {
        gap: 0.2rem;
        padding: 0.5rem;
    }
    
    .pagination-link {
        min-width: 2rem;
        height: 2rem;
        padding: 0 0.4rem;
        font-size: 0.75rem;
    }
    
    .pagination-ellipsis {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
}

/* Pagination animation */
.pagination-link {
    animation: fadeInUp 0.6s ease-out;
}

.pagination-link:nth-child(1) { animation-delay: 0.1s; }
.pagination-link:nth-child(2) { animation-delay: 0.15s; }
.pagination-link:nth-child(3) { animation-delay: 0.2s; }
.pagination-link:nth-child(4) { animation-delay: 0.25s; }
.pagination-link:nth-child(5) { animation-delay: 0.3s; }
.pagination-link:nth-child(6) { animation-delay: 0.35s; }
.pagination-link:nth-child(7) { animation-delay: 0.4s; }

/* Page info styles */
.page-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #475569;
}

/* Loading state for pagination */
.pagination-link:has(.fa-spinner) {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    cursor: wait !important;
}

/* Hover effects for pagination icons */
.pagination-link i {
    transition: transform 0.2s ease;
}

.pagination-link:hover i {
    transform: scale(1.1);
}

.pagination-link:hover .fa-chevron-left {
    transform: translateX(-2px);
}

.pagination-link:hover .fa-chevron-right {
    transform: translateX(2px);
}

/* Professional Blog Post Animations */
.blog-post-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Page Loading States */
.page-loaded .blog-post-item {
    animation: fadeInUp 0.8s ease-out forwards;
}

.page-loaded .blog-post-item:nth-child(1) { animation-delay: 0.1s; }
.page-loaded .blog-post-item:nth-child(2) { animation-delay: 0.2s; }
.page-loaded .blog-post-item:nth-child(3) { animation-delay: 0.3s; }
.page-loaded .blog-post-item:nth-child(4) { animation-delay: 0.4s; }
.page-loaded .blog-post-item:nth-child(5) { animation-delay: 0.5s; }

/* Professional Loading Button States */
.filter-actions .btn.loading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.filter-actions .btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.filter-actions .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Professional Hover Effects */
.blog-post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-item:hover .blog-post-image img {
    transform: scale(1.08);
}

/* Professional Focus States */
.filter-group select:focus,
.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Professional Button Interactions */
.filter-actions .btn:active {
    transform: translateY(1px);
}

.filter-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Professional Tag Selection Enhancement */
.tag-item.selected {
    background: #3b82f6;
    color: white;
    border-color: rgba(255,255,255,0.5);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    animation: pulse 0.6s ease-out;
}

.tag-item.selected::before {
    content: '✓';
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Professional Search Enhancement */
.search-widget form:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Professional Mobile Touch Improvements */
@media (max-width: 768px) {
    .filter-group select,
    .filter-group input[type="text"],
    .filter-group input[type="date"] {
        font-size: 16px;
        padding: 0.875rem;
        min-height: 48px;
    }
    
    .view-btn {
        min-height: 48px;
        padding: 0 1rem;
    }
    
    .tag-item {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
    }
    
    .filter-actions .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }
}

/* Loading State for Filter Actions */
.filter-actions .btn.loading {
    position: relative;
    overflow: hidden;
}

.filter-actions .btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

/* Enhanced Focus States */
.filter-group select:focus,
.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* Improved Button States */
.filter-actions .btn:active {
    transform: translateY(1px);
}

.filter-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Enhanced Tag Selection */
.tag-item.selected {
    background: #3b82f6;
    color: white;
    border-color: rgba(255,255,255,0.5);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    animation: pulse 0.6s ease-out;
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    .filter-group select,
    .filter-group input[type="text"],
    .filter-group input[type="date"] {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    .view-btn {
        min-height: 44px;
    }
    
    .tag-item {
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
