/* Hero Gallery Styles */
.gallery-subtitle {
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
    display: block !important;
    /* Override any inline styles or flex properties */
    justify-content: initial !important;
    align-content: initial !important;
    align-self: initial !important;
}

.character-gallery {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.character-gallery .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.character-gallery .gallery-item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.character-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.character-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}
.character-gallery .gallery-item h2 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}
.character-gallery .gallery-item a {
    text-decoration: none;
    color: inherit;
}

/* Responsive Design for Character Gallery */
@media (max-width: 768px) {
    .character-gallery .gallery {
        gap: 20px;
        padding: 15px;
        max-width: 600px;
    }
}

/* Mobile responsive - single column for very small screens */
@media (max-width: 480px) {
    .character-gallery .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
}