.tm-page-section {
    padding: 5em 0;
    background-color: #f3f3f3;
}

.tm-page-header {
    background: #fff;
    border-radius: 16px;
    padding: 2.5em 3em;
    margin-bottom: 2.5em;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.tm-page-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #ffb703;
    margin-bottom: .6em;
    text-transform: uppercase;
}

.tm-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0b0b0c;
    margin: 0 0 .75em;
    line-height: 1.2;
}

.tm-page-subtitle {
    color: #7a7a7a;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0;
}

.tm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

.tm-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
}

.tm-card-photo {
    width: 100%;
    height: 270px;
    overflow: hidden;
    position: relative;
}

.tm-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .4s ease;
}

.tm-card-photo video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
    transition: none;
}

.tm-card:hover .tm-card-photo img {
    transform: scale(1.04);
}

.tm-card-divider {
    height: 3px;
    background: #ffb703;
    flex-shrink: 0;
}

.tm-card-body {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tm-card-quote {
    font-style: italic;
    color: #3a3a3a;
    font-size: .95rem;
    line-height: 1.65;
    flex: 1;
    margin: 0 0 1.4em;
}

.tm-card-author {
    display: flex;
    align-items: center;
    gap: .9em;
}

.tm-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffb703;
    flex-shrink: 0;
}

.tm-author-name {
    font-weight: 700;
    font-size: .95rem;
    color: #0b0b0c;
}

.tm-author-tag {
    font-size: .8rem;
    color: #7a7a7a;
    margin-top: .1em;
}

@media (max-width: 900px) {
    .tm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .tm-grid {
        grid-template-columns: 1fr;
    }

    .tm-page-header {
        padding: 1.5em;
    }

    .tm-page-title {
        font-size: 1.5rem;
    }
}
