/* Integração dos dados e da galeria com o layout de natal-resende. */
.home-header-spacer { visibility: hidden; }
.vote-button { display: inline-block; text-align: center; }
.photo-placeholder { display: grid; place-items: center; height: 100%; background: var(--peach); color: var(--festive); }
.gallery-track {
    position: absolute;
    inset: 0;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.gallery-image.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery:hover .gallery-arrow,
.gallery:focus-within .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.gallery-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-indicator.is-active {
    background: #fff;
    transform: scale(1.25);
}

@media (hover: none) {
    .gallery-arrow {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-image {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snowflake, .animate-pulse { animation: none; }
    html { scroll-behavior: auto; }
}
