.mtp-page {
    background: #efefef;
    padding: 40px 0 64px;
}

.mtp-wrap {
    max-width: 1160px;
    padding: 0 12px;
}

.mtp-title {
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    font-weight: 800;
    color: #121212;
}

.mtp-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.mtp-card:last-child {
    margin-bottom: 0;
}

.mtp-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: start;
}

.mtp-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mtp-info-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.mtp-info-item__icon {
    width: 28px;
    height: 28px;
    color: #8a8a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mtp-info-item__icon svg {
    width: 22px;
    height: 22px;
}

.mtp-info-item__label {
    display: block;
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 2px;
}

.mtp-info-item__value {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #121212;
    word-break: break-word;
}

.mtp-info-item__value a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mtp-about__title {
    margin: 0 0 14px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #121212;
}

.mtp-about__content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.mtp-about__content p:last-child {
    margin-bottom: 0;
}

.mtp-section-title {
    margin: 0 0 20px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #121212;
}

.mtp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mtp-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 14px;
}

.mtp-table thead th {
    text-align: left;
    font-weight: 700;
    color: #222;
    padding: 0 12px 14px 0;
    border-bottom: 1px solid #ececec;
    white-space: nowrap;
}

.mtp-table tbody td {
    padding: 16px 12px 16px 0;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
    color: #222;
}

.mtp-table tbody tr:last-child td {
    border-bottom: 0;
}

.mtp-table__col-title {
    min-width: 220px;
}

.mtp-table__col-center {
    text-align: center;
}

.mtp-table__col-fav {
    width: 44px;
    text-align: right;
    padding-right: 0 !important;
}

.mtp-table__link {
    color: #121212;
    font-weight: 600;
    text-decoration: none;
}

.mtp-table__link:hover {
    text-decoration: underline;
}

.mtp-table__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
}

.mtp-table__date svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: currentColor;
}

.mtp-table__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mtp-table__rating-value {
    font-weight: 700;
    color: #f5a623;
}

.mtp-table__rating-votes {
    color: #777;
}

.mtp-table__price {
    font-weight: 700;
    white-space: nowrap;
}

.mtp-table__muted {
    color: #999;
}

.mtp-table__fav {
    margin-left: auto;
}

.mtp-table__provider-link {
    color: #555;
    text-decoration: none;
}

.mtp-table__provider-link:hover {
    color: #121212;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mtp-table__col-action {
    width: 40px;
    text-align: right;
    padding-right: 0 !important;
}

.mtp-table__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #6f63b8;
    text-decoration: none;
}

.mtp-table__action svg {
    width: 18px;
    height: 18px;
}

.mtp-table__action:hover {
    color: #574da8;
}

.mtp-empty {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.mtp-lecturers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mtp-lecturer-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;
    padding: 18px 18px 16px;
}

.mtp-lecturer-card__name {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #121212;
}

.mtp-lecturer-card__text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.mtp-lecturer-card__more {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #6f63b8;
    text-decoration: none;
}

.mtp-lecturer-card__more:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 900px) {
    .mtp-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mtp-lecturers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mtp-page {
        padding: 24px 0 40px;
    }

    .mtp-card {
        padding: 20px 16px 22px;
        border-radius: 16px;
    }

    .mtp-info-list {
        gap: 14px;
    }

    .mtp-lecturers-grid {
        grid-template-columns: 1fr;
    }
}
