/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Base styles for Seen Forever plugin */

/* Hide elements by default that will be styled by memorial.css */
.sf-memorial-page {
    position: relative;
}

/* Print styles for memorial pages */
@media print {
    .sf-memorial-tabs,
    .sf-tab-button {
        display: none !important;
    }

    .sf-tab-content {
        display: block !important;
        page-break-inside: avoid;
    }

    .sf-memorial-hero {
        page-break-after: avoid;
    }

    .sf-timeline-item,
    .sf-gallery-album,
    .sf-family-member {
        page-break-inside: avoid;
    }
}

/* Loading state */
.sf-memorial-loading {
    text-align: center;
    padding: 60px 20px;
}

.sf-memorial-loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e1e8ed;
    border-top-color: #1da1f2;
    border-radius: 50%;
    animation: sf-spin 0.8s linear infinite;
}

@keyframes sf-spin {
    to {
        transform: rotate(360deg);
    }
}