.gallery-section {
    background: #202225;
    border-radius: 18px;
    margin: 2.5rem 0;
    padding: 2em 2rem;
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}
.gallery-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ff9800;
    letter-spacing: 0.04em;
}
.gallery-more-link {
    color: #ff9800;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.08rem;
    transition: color 0.18s, background 0.18s;
    border-radius: 6px;
    padding: 0.3em 0.9em;
    /* background: #fffbe6; */
}
.gallery-more-link:hover {
    color: #fff;
    background: linear-gradient(90deg, #ffb300 60%, #ff9800 100%);
}
.index-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.index-gallery-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(255,179,0,0.07);
    border: 1.5px solid #ffe082;
    overflow: hidden;
    transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
    position: relative;
}
.index-gallery-item:hover {
    box-shadow: 0 8px 32px rgba(255,179,0,0.13);
    border-color: #ffb300;
    transform: translateY(-3px) scale(1.03);
}
.index-gallery-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #ffe082;
}
.index-gallery-caption {
    padding: 0.5em 1em;
    font-size: 1rem;
    color: #888;
    text-align: center;
    background: #fffbe6;
}
@media (max-width: 700px) {
    .gallery-section { padding: 1.2rem 0.7rem; }
    .index-gallery { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
    .index-gallery-img { height: 90px; }
}