/* Premium Gallery list styling */

.media-gallery-section {
    background-color: #f8fafc;
}

/* Folder Card container design */
.gallery-folder-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 31, 45, 0.05) !important;
}

.gallery-folder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Card Cover styling */
.gallery-cover-wrap {
    overflow: hidden;
}

.gallery-cover-img {
    transition: transform 0.5s ease;
}

.gallery-folder-card:hover .gallery-cover-img {
    transform: scale(1.06);
}

/* Count badge */
.badge-item-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(25, 100, 162, 0.9) !important;
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 11px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Card typography styling */
.gallery-card-title {
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.gallery-folder-card:hover .gallery-card-title {
    color: #1964a2 !important;
}

.gallery-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* Bottom action buttons spacing on mobile viewports */
.bottom-action-buttons {
    width: 100%;
}

.bottom-action-buttons a {
    margin-bottom: 12px;
    width: 100%;
}

@media (min-width: 576px) {
    .bottom-action-buttons {
        flex-direction: row !important;
    }
    .bottom-action-buttons a {
        margin-bottom: 0;
        width: auto;
    }
}
