/* Training Courses - pc style extensions, builds on pudding-club.css */

.tc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.tc-links a {
    display: inline-block;
    background: var(--pc-green);
    color: var(--pc-cream);
    font-family: var(--pc-hand);
    font-size: 1.3rem;
    line-height: 1.1;
    padding: 0.55rem 1.4rem;
    border-radius: 0.7rem;
    text-decoration: none;
}

.tc-links a:hover,
.tc-links a:focus {
    background: var(--pc-green-dark);
}

/* Tutor card: portrait + text */
.tc-tutor {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin: 1.8rem 0;
    align-items: start;
}

@media (min-width: 600px) {
    .tc-tutor {
        grid-template-columns: 200px 1fr;
    }
}

.tc-tutor img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(20, 28, 16, 0.18);
}

.tc-tutor h3 {
    font-family: var(--pc-hand);
    color: var(--pc-green-dark);
    font-size: 1.9rem;
    line-height: 1.1;
    margin: 0 0 0.6rem;
}

/* Tutor badges row */
.tc-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2rem;
}

.tc-badges img {
    max-width: 280px;
    height: auto;
}

/* Course units list (numbered, hand-lettered) */
.tc-units {
    list-style: none;
    counter-reset: tc-unit;
    padding: 0;
    margin: 1.4rem 0 0;
}

.tc-units li {
    counter-increment: tc-unit;
    position: relative;
    padding: 0.7rem 0 0.7rem 3rem;
    border-top: 1px solid rgba(95, 112, 82, 0.2);
}

.tc-units li:first-child {
    border-top: none;
}

.tc-units li::before {
    content: counter(tc-unit);
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 2.2rem;
    text-align: center;
    border-radius: 50%;
    background: var(--pc-green);
    color: var(--pc-cream);
    font-family: var(--pc-hand);
    font-size: 1.3rem;
}

.tc-units strong {
    color: var(--pc-green-dark);
}
