.tc-wrap {
    font-family: "DM Sans", sans-serif;
    padding: 2rem 0;
}

.tc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tc-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.tc-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 9px 22px;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.2s;
}

.tc-cta:hover {
    background: var(--primary);
    color: #fff;
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tc-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    position: relative;
}

.tc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(33, 102, 178, 0.12);
}

.tc-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.tc-card:nth-child(even)::after {
    background: var(--secondary);
}

.tc-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.tc-img-placeholder {
    width: 100%;
    height: 100%;
}

.tc-card:nth-child(1) .tc-img-placeholder {
    background: linear-gradient(145deg, #181d38, #2166b2);
}

.tc-card:nth-child(2) .tc-img-placeholder {
    background: linear-gradient(145deg, #181d38, #e8a020);
}

.tc-card:nth-child(3) .tc-img-placeholder {
    background: linear-gradient(145deg, #2166b2, #0aa3e0);
}

.tc-card:nth-child(4) .tc-img-placeholder {
    background: linear-gradient(145deg, #e8a020, #181d38);
}

.tc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.tc-num {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: 600;
}

.tc-subj {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(24, 29, 56, 0.75));
    padding: 28px 14px 10px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.tc-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.tc-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tc-chip {
    font-size: 11px;
    color: var(--primary);
    background: #e8f1fb;
    padding: 3px 10px;
    border-radius: 20px;
}

.tc-exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-exp-list li {
    font-size: 13px;
    color: #555;
    padding-left: 14px;
    position: relative;
    line-height: 1.4;
}

.tc-exp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.tc-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.tc-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.tc-btn:hover {
    color: #fff;
    background-color: var(--primary-hover);
}

.tc-hidden-highlight {
    display: none;
}

.tc-show-more {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-align: left;
    width: fit-content;
}

.tc-show-more:hover {
    color: var(--primary-hover);
}

.tc-show-more i {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.tc-show-more.active i {
    transform: rotate(180deg);
}
