/* Page title */
.ct-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 20px;
}

/* Indexador A-Z */
.ct-indexador {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.ct-indexador a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s;
}

.ct-indexador a:hover {
    background: var(--ct-primary);
    color: #fff;
}

.ct-indexador a.active {
    background: var(--ct-accent);
    color: #fff;
}

/* Filtro info */
.ct-filtro-info {
    font-size: 0.88rem;
    color: #888;
    margin: 0 0 18px;
}

/* Grid de actores */
.ct-actores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.ct-actor-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.ct-actor-card:hover {
    transform: translateY(-4px);
}

.ct-actor-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s;
}

.ct-actor-card:hover img {
    box-shadow: 0 5px 18px rgba(0,0,0,0.25);
}

.ct-actor-no-foto {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--ct-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.ct-actor-no-foto svg {
    width: 40px;
    height: 40px;
    color: #ccc;
}

.ct-actor-nombre {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ct-light);
    display: block;
    line-height: 1.3;
}

.ct-actor-card:hover .ct-actor-nombre {
    color: var(--ct-accent);
}

/* Empty */
.ct-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ct-indexador { gap: 2px; padding: 10px; }
    .ct-indexador a { min-width: 28px; height: 28px; font-size: 0.78rem; }
    .ct-actores-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px; }
    .ct-actor-card img, .ct-actor-no-foto { width: 85px; height: 85px; }
}
