/* All Blogs Modal Styles */
.all-blogs-modal .modal-dialog {
    max-width: 1200px;
}

.all-blogs-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
}

.all-blogs-modal .modal-header {
    background: linear-gradient(135deg, #2db094 0%, #37c8a9 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 25px 30px;
    border-bottom: none;
    position: relative;
}

.all-blogs-modal .modal-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.all-blogs-modal .cookie-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.all-blogs-modal .cookie-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.all-blogs-modal .modal-body {
    padding: 40px 30px;
    background: #f8f9fa;
}

/* Blog Grid */
.all-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 0;
}

/* Blog Card */
.all-blogs-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.all-blogs-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #2db094;
}

.all-blogs-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.all-blogs-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.all-blogs-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.all-blogs-card-meta i {
    color: #2db094;
}

.all-blogs-card-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.all-blogs-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.all-blogs-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.all-blogs-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.all-blogs-card-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2db094;
}

.all-blogs-card-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.all-blogs-card-read-more {
    color: #2db094;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.all-blogs-card-read-more:hover {
    gap: 10px;
    color: #37c8a9;
}

/* Empty State */
.all-blogs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.all-blogs-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.all-blogs-empty h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 10px;
}

.all-blogs-empty p {
    font-size: 1rem;
    color: #666;
}

/* Loading State */
.all-blogs-loading {
    text-align: center;
    padding: 60px 20px;
    color: #2db094;
}

.all-blogs-loading i {
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .all-blogs-modal .modal-title {
        font-size: 1.4rem;
    }

    .all-blogs-modal .modal-body {
        padding: 25px 15px;
    }

    .all-blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .all-blogs-card-image {
        height: 180px;
    }

    .all-blogs-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .all-blogs-modal .modal-header {
        padding: 20px 15px;
    }

    .all-blogs-modal .modal-title {
        font-size: 1.2rem;
    }

    .all-blogs-card-body {
        padding: 15px;
    }
}
