@font-face {
    font-family: 'Blank River';
    src: url('./BlankRiver.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.page-main {
    padding-top: 1rem !important;
    padding-bottom: 3rem !important;
    margin-top: 0 !important;
}

.page-title {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    animation: page-title-fade 0.35s ease 0.05s both;
}

.lightbox-close {
    z-index: 50;
}

.blank-river {
    font-family: 'Blank River', sans-serif;
}

@media (orientation: landscape) {
    /* Tighten vertical gaps between stacked sections in landscape */
    .space-y-12 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 0.75rem !important;
    }

    .space-y-8 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 0.5rem !important;
    }

    /* Center lightbox slides horizontally in landscape */
    .lightbox-swiper {
        display: flex;
        align-items: center;
    }

    .lightbox-swiper .swiper-wrapper {
        align-items: center;
    }

    .lightbox-swiper .swiper-slide {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .page-title {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

.site-header .site-logo {
    transition: height 0.2s ease, margin 0.2s ease;
}

@media (orientation: landscape) and (max-height: 600px) {
    .site-header .logo-link {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .site-header .site-logo {
        height: 3.5rem;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
}

@keyframes page-title-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
