﻿.skeleton-card {
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 16px;
    background: var(--white);
}

.skeleton {
    background: #E9E7DD;
    border-radius: var(--radius);
}

.skeleton-thumb {
    border-radius: 0;
}

.skeleton-line {
    height: 12px;
    margin: 14px 16px 0;
}

    .skeleton-line.short {
        width: 55%;
    }

/*@media (prefers-reduced-motion: no-preference) {*/
    :root {
        --ease-out: cubic-bezier(.22, .8, .2, 1);
        --anim-fast: 250ms;
        --anim: 450ms;
    }

    .js-anim .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity var(--anim) var(--ease-out), transform var(--anim) var(--ease-out);
        transition-delay: var(--reveal-delay, 0ms);
    }

        .js-anim .reveal.is-visible {
            opacity: 1;
            transform: none;
        }

    .archive-card,
    .event-card,
    .memory-card,
    .other-card,
    .guide-card {
        transition: transform var(--anim-fast) var(--ease-out), box-shadow var(--anim-fast) var(--ease-out), border-color var(--anim-fast) ease;
    }

    .news-card,
    .album-card {
        overflow: hidden;
        border-radius: var(--radius);
    }

.news-card-image,
.album-thumb,
.archive-card-thumb,
.other-image {
    /*transition: transform 600ms var(--ease-out);*/
    transition: transform var(--transition) .7s;
}

    @media (hover: hover) {
        .archive-card:hover,
        .event-card:hover,
        .memory-card:hover,
        .other-card:hover,
        .guide-card:hover {
            transform: translateY(-3px);
            border-color: var(--gold);
            box-shadow: 0 8px 20px rgba(24, 34, 30, 0.08);
        }

            .news-card:hover .news-card-image,
            .album-card:hover .album-thumb,
            .archive-card:hover .archive-card-thumb,
            .other-card:hover .other-image {
                transform: scale(1.05);
            }
    }

    .nav-link {
        transition: background-color var(--anim-fast) ease, color var(--anim-fast) ease, border-color var(--anim-fast) ease;
    }

    .section-link,
    .category-group-count,
    .other-link,
    .will-row-link,
    .will-featured-link {
        padding-bottom: 2px;
        text-decoration: none;
        background-image: linear-gradient(var(--gold), var(--gold));
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: 0 1px;
        transition: background-size var(--anim) var(--ease-out), color var(--anim-fast) ease;
    }

        .section-link:hover,
        .category-group-count:hover,
        .other-link:hover,
        .will-row-link:hover,
        .will-featured-link:hover {
            background-size: 100% 1px;
            text-decoration: none;
        }

    @keyframes anim-fade-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes anim-pop-in {
        from {
            opacity: 0;
            transform: scale(.97);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    @keyframes anim-pulse {
        0%, 100% {
            opacity: .55;
        }

        50% {
            opacity: 1;
        }
    }

    .lightbox-overlay {
        animation: anim-fade-in var(--anim-fast) ease-out both;
    }

    .lightbox-body {
        animation: anim-pop-in var(--anim) var(--ease-out) both;
    }

    .lightbox-image,
    .lightbox-video,
    .lightbox-document {
        animation: anim-fade-in var(--anim) ease-out both;
    }

    .skeleton {
        animation: anim-pulse 1.4s ease-in-out infinite;
    }
/*}*/
