
.page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0; /* Center spacing vertically */
    width: 100%;
    color: #fff; /* Adjust to match your design */
    display: block; /* Ensure it's treated as a block element */
}

.heroes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 100%; /* Removed hardcoded width to allow full responsiveness */
    box-sizing: border-box; /* Ensure padding does not affect grid width */
}

.hero-item {
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--ast-global-color-8);
}

.hero-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.hero-item span {
    margin: 10px 10px 15px 10px;
    font-weight: bold;
    display: block;
}