/**
 * Compact Card Styles
 * Makes campaign and data offer cards more compact while maintaining professionalism
 */

/* Reduce card image height */
.b2b-card-image {
    height: 140px !important;
}

/* Reduce placeholder icon size */
.b2b-card-placeholder .dashicons {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
}

/* Reduce card body padding */
.b2b-card-body {
    padding: 18px !important;
}

/* Make title more compact */
.b2b-card-title {
    margin: 0 0 10px !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
}

/* Tighter tag spacing */
.b2b-card-tags {
    gap: 6px !important;
    margin-bottom: 10px !important;
}

/* Smaller tags */
.b2b-tag {
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

/* Horizontal and compact meta */
.b2b-card-meta {
    margin-bottom: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.b2b-meta-item {
    gap: 5px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    color: #666 !important;
}

.b2b-meta-item .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* Remove "strong" labels in meta items for cleaner look */
.b2b-meta-item strong {
    display: none;
}

/* Smaller excerpt */
.b2b-card-excerpt {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

/* Compact footer */
.b2b-card-footer {
    padding: 12px 18px !important;
}

/* Smaller author section */
.b2b-card-author {
    gap: 8px !important;
    font-size: 13px !important;
    color: #666 !important;
}

/* Smaller button */
.b2b-card-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* Reduce grid gap */
.b2b-listing-grid {
    gap: 24px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .b2b-card-image {
        height: 120px !important;
    }
    
    .b2b-card-body {
        padding: 15px !important;
    }
    
    .b2b-card-footer {
        padding: 10px 15px !important;
    }
}
