/* Theory Topics Page Styles */

.theory-topic-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.theory-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.theory-topic-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.theory-topic-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: rgba(214, 51, 132, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
}

.theory-topic-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.theory-topic-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.theory-topic-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.theory-topic-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.premium-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.theory-topics-page {
    background-color: #f8f9fa;
}

.page-description {
    max-width: 600px;
}
