/* ========================================
   BLOG PAGE STYLES
   ======================================== */

.blog-page-container {
    background-color: #fafafa;
}

/* Blog Header & Intro */
.blog-header {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: var(--space-3xl) 0 var(--space-xxl);
    border-bottom: 1px solid #eee;
}

.blog-page-title {
    text-align: center;
    font-size: 56px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: var(--space-xxl);
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-intro-content {
    display: flex;
    gap: var(--space-3xl);
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: var(--space-xxl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.intro-main {
    flex: 1.4;
}

.intro-main h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.intro-main p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: var(--space-md);
}

.intro-sidebar {
    flex: 1;
}

.find-here-box {
    background: var(--accent-color);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.find-here-box h3 {
    font-size: 20px;
    margin-bottom: var(--space-md);
    color: var(--text-black);
}

.find-here-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.find-here-box li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.find-here-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(76, 54, 150, 0.12);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.placeholder-blog-image {
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ccc;
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card-content {
    padding: var(--space-lg);
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.blog-card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.read-more-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-buttons);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
}



/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-intro-content {
        flex-direction: column;
        padding: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .blog-page-title {
        font-size: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 200px;
    }

    .intro-main h2 {
        font-size: 24px;
    }
}