/* Blog Page Specific Styles */

/* Modern Minimal Blog Hero */
.blog-hero-minimal {
    padding: 160px 24px 80px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.bhm-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bhm-content {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bhm-badge {
    margin: 0 auto 32px;
    color: var(--text-dark) !important;
}

.bhm-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.bhm-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 640px;
}

.bhm-search-container {
    width: 100%;
    max-width: 600px;
}

.bhm-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.bhm-search:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.bhm-search i {
    color: #94a3b8;
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.bhm-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
    background: transparent;
}

.bhm-search input::placeholder {
    color: #94a3b8;
}

.bhm-search button {
    border-radius: 99px;
    padding: 12px 24px;
}

.bhm-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.bhm-tags a {
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.bhm-tags a:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

/* Search and Filter Bar */
.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    gap: 12px;
    transition: border-color 0.3s;
}

.search-bar:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-bar i {
    color: #94a3b8;
    width: 20px;
    height: 20px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.filter-dropdowns {
    display: flex;
    gap: 16px;
}

.filter-dropdowns .dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.filter-dropdowns .dropdown:hover {
    background: #e2e8f0;
}

.filter-dropdowns .dropdown i {
    width: 16px;
    height: 16px;
}

/* Blog Layout */
.blog-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}

.blog-main {
    flex: 1;
}

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

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.bc-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.bc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.bc-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

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

.bc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
}

.bc-meta i {
    width: 14px;
    height: 14px;
}

.dot {
    font-size: 1.2rem;
    line-height: 1;
}

.bc-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.bc-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

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

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

.page-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.page-dots {
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Sidebar */
.blog-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.2s;
}

.category-list li a:hover {
    color: #3b82f6;
}

.cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-left .icon-circle {
    width: 32px;
    height: 32px;
}

.cat-count {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Newsletter Widget */
.bg-light-gray {
    background: #f8fafc;
}

.newsletter-widget p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nl-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 12px;
}

.nl-form input:focus {
    border-color: #3b82f6;
}

.nl-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 16px;
    justify-content: center;
}

.nl-note i {
    width: 14px;
    height: 14px;
}

/* Utilities */
.bg-light-blue { background: #eff6ff !important; }
.text-blue { color: #3b82f6 !important; }
.bg-light-green { background: #f0fdf4 !important; }
.text-green { color: #22c55e !important; }
.bg-light-purple { background: #faf5ff !important; }
.text-purple { color: #a855f7 !important; }
.bg-light-orange { background: #fff7ed !important; }
.text-orange { color: #f97316 !important; }
.bg-light-pink { background: #fdf2f8 !important; }
.text-pink { color: #ec4899 !important; }
.bg-light-teal { background: #f0fdfa !important; }
.text-teal { color: #14b8a6 !important; }
.text-gray { color: #64748b !important; }
.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}
.sc-link i {
    width: 16px;
    height: 16px;
}
.sc-link:hover {
    color: #2563eb;
}
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.badge-modern i { width: 16px; height: 16px; }

/* Responsive Overrides */
@media (max-width: 1024px) {
    .bhm-title {
        font-size: 3.2rem;
    }
    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .blog-filters {
        flex-wrap: wrap;
    }
    .search-bar { max-width: 100%; }
}

@media (max-width: 768px) {
    .bhm-title {
        font-size: 2.6rem;
    }
    .bhm-search {
        padding-left: 16px;
    }
    .bhm-search button {
        padding: 10px 16px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    .filter-dropdowns {
        width: 100%;
        justify-content: space-between;
    }
    .filter-dropdowns .dropdown { flex: 1; justify-content: center; }
}
