/**
 * Themes Listing Page Styles
 */

.woff-version-categories-container {
    background: #f8f9fa;
    min-height: calc(100vh - 150px);
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.woff-version-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
}

.woff-version-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.woff-version-header p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
}

/* Grid */
.woff-version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1200px;
    width: 100%;
}

/* Card */
.woff-version-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woff-version-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.woff-theme-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image */
.woff-theme-image {
    width: 100%;
    background: #e9ecef;
}

.woff-theme-image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Details */
.woff-version-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woff-version-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.woff-version-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Stats */
.woff-version-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.woff-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f2ff;
    padding: 4px 12px;
    border-radius: 20px;
}

.woff-stat-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #667eea;
}

.woff-stat-label {
    font-size: 0.85rem;
    color: #667eea;
}

/* Buttons */
.woff-theme-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.woff-theme-buttons .woff-version-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.woff-theme-buttons .woff-demo-btn {
    background: #f8f9fa;
    color: #444;
    border: 1px solid #e0e0e0;
}

.woff-theme-buttons .woff-demo-btn:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

.woff-theme-buttons .woff-docs-btn {
    background: #667eea;
    color: #fff;
    border: 1px solid #667eea;
}

.woff-theme-buttons .woff-docs-btn:hover {
    background: #5568d3;
    border-color: #5568d3;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .woff-version-categories-container {
        padding: 30px 15px;
    }

    .woff-version-header {
        margin-bottom: 30px;
    }

    .woff-version-header h1 {
        font-size: 1.8rem;
    }

    .woff-version-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .woff-version-header h1 {
        font-size: 1.5rem;
    }

    .woff-version-details {
        padding: 18px;
    }

    .woff-theme-image img {
        height: 170px;
    }

    .woff-theme-buttons {
        flex-direction: column;
    }
}
