/* --- SECTION BASE --- */
.dsh-tc-section {
    padding: 60px 0; /* py-20 */
    background-color: #0192db; /* Tailwind 'bg-primary' usually dark slate/gray */
    color: #ffffff;
    font-family: sans-serif;
}

.dsh-tc-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .dsh-tc-container {
        padding: 0 48px;
    }
}

/* --- HEADER --- */
.dsh-tc-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dsh-tc-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    margin-bottom: 16px;
}

.dsh-tc-subtitle {
    color: rgba(243, 244, 246, 0.8); /* text-primary-100 with opacity */
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.dsh-tc-view-all-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 32px;
    border-radius: 9999px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dsh-tc-view-all-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* --- GRID --- */
.dsh-tc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .dsh-tc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dsh-tc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CARD --- */
.dsh-tc-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dsh-tc-card:hover {
    transform: translateY(-4px);
}

.dsh-tc-image-box {
    position: relative;
    height: 192px; /* h-48 */
}

.dsh-tc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGE OVERLAY */
.dsh-tc-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f3f4f6;
    color: #000000;
}

.dsh-tc-badge-label {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280; /* gray-500 */
    text-transform: uppercase;
    line-height: 1;
}

.dsh-tc-badge-value {
    font-size: 1.125rem;
    font-weight: 900;
    color: #ef4444; /* Secondary Red */
    margin: 2px 0;
}

/* CARD BODY */
.dsh-tc-body {
    padding: 24px;
}

.dsh-tc-course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
    margin-bottom: 8px;
}

.dsh-tc-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dsh-tc-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.dsh-tc-value {
    color: #111827;
    font-weight: 600;
}

/* CARD FOOTER */
.dsh-tc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.dsh-tc-price-box {
    display: flex;
    flex-direction: column;
}

.dsh-tc-price-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af; /* gray-400 */
    text-transform: uppercase;
}

.dsh-tc-price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.dsh-tc-explore-btn {
    background-color: #ef4444; /* Secondary color */
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dsh-tc-explore-btn:hover {
    background-color: #dc2626;
}