/* ==================== COMPACT VIEW (по умолчанию) ==================== */
.te-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.te-compact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.te-compact__item:hover {
    border-color: #3182ce;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.15);
    transform: translateY(-1px);
}

.te-compact__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    white-space: nowrap;
}

.te-compact__item:hover .te-compact__name {
    color: #3182ce;
}

.te-compact__info {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #718096;
    flex-grow: 1;
}

.te-compact__channels {
    font-weight: 600;
    color: #3182ce;
}

.te-compact__specialty {
    padding-left: 8px;
    border-left: 1px solid #e2e8f0;
}

.te-compact__rating {
    display: flex;
    gap: 1px;
    font-size: 10px;
}

.te-star-sm {
    color: #e2e8f0;
}

.te-star-sm--active {
    color: #f6ad55;
}

/* ==================== FULL VIEW ==================== */
.te-frontend {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.te-frontend.te-cols-2 { grid-template-columns: repeat(2, 1fr); }
.te-frontend.te-cols-3 { grid-template-columns: repeat(3, 1fr); }
.te-frontend.te-cols-4 { grid-template-columns: repeat(4, 1fr); }

.te-fe-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.te-fe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.te-fe-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.te-fe-card__header h3 {
    margin: 0;
    font-size: 18px;
}

.te-fe-card__header a {
    color: #1a202c;
    text-decoration: none;
}

.te-fe-card__header a:hover {
    color: #3182ce;
}

.te-fe-card__rating {
    font-size: 14px;
}

.te-fe-card__desc {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.te-fe-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
}

.te-fe-card__btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3182ce;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.te-fe-card__btn:hover {
    background: #2b6cb0;
    color: #fff;
}

.te-star {
    color: #e2e8f0;
}

.te-star--active {
    color: #f6ad55;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .te-frontend.te-cols-3,
    .te-frontend.te-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .te-frontend.te-cols-2,
    .te-frontend.te-cols-3,
    .te-frontend.te-cols-4 { grid-template-columns: 1fr; }
    .te-compact__item { flex-wrap: wrap; }
    .te-compact__info { width: 100%; }
}