/* Blog Page Styles */
.blog-section {
    padding: 0px;
    background-color: #f1f3f6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
    flex: 1;
}

.blog-category {
    font-size: 12px;
    color: var(--mobitez-purple);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #212121;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    font-size: 12px;
    color: #999;
}

.read-more {
    color: var(--mobitez-purple);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* API Response Section */
.raw-response-section {
    margin-top: 50px;
    padding: 20px;
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 4px;
}

.raw-response-section h3 {
    margin-bottom: 15px;
    color: #66d9ef;
}

.raw-response-content {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Category Filters */
.blog-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Full Width Override */
.blog-section .container {
    max-width: 100% !important;
    padding: 0 24px !important;
    margin: 0 !important;
}

.category-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.category-btn.active {
    background: var(--mobitez-purple);
    color: white;
    border-color: var(--mobitez-purple);
}