/*
Main: #008A5F
Secondary: #001454
Text: #383F4D
*/

.wsc-heroes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #383F4D;
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
}

.wsc-heroes-filters-top {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.wsc-search-group {
    margin-bottom: 1.5rem;
}

.wsc-filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.wsc-filter-group {
    margin-bottom: 0;
}

.wsc-filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #001454;
}

.wsc-select {
    width: 100%;
    box-sizing: border-box;
    /* padding: 0.75rem; */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #383F4D;
}

.wsc-filter-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wsc-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #001454;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.wsc-btn:hover {
    background: #008A5F;
    color: #fff;
}

.wsc-btn-secondary {
    background: #666;
}

.wsc-btn-secondary:hover {
    background: #444;
}

.wsc-loader {
    font-size: 0.9rem;
    color: #008A5F;
    font-weight: 600;
}

/* Content Grid */
.wsc-heroes-content {
    flex: 1;
}

.wsc-heroes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    transition: opacity 0.3s ease;
}

.wsc-hero-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wsc-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.wsc-hero-card:hover .wsc-hero-link {
    background: #008A5F;
    color: #fff;
}

.wsc-hero-photo {
    flex: 0 0 100px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
}

.wsc-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wsc-hero-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #001454;
    opacity: 0.1;
}

.wsc-hero-info {
    flex: 1;
}

.wsc-hero-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #001454;
    line-height: 1.2;
}

.wsc-hero-info p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    color: #383F4D;
    line-height: 1.4;
}

.wsc-hero-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {

    .wsc-filters-grid,
    .wsc-heroes-grid {
        grid-template-columns: 1fr;
    }
}