/*
 * Stylesheet for the Memorial Plugin
 *
 * Provides basic styling for memorial cards output via the shortcode and
 * Elementor widget. Feel free to override these styles from your theme if
 * you need different presentation.
 */
.memorial-card {
    border: 1px solid #e5e5e5;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 700px;
}

.memorial-card .memorial-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.memorial-card .memorial-dates {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.memorial-card .memorial-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 15px 0;
    border-radius: 4px;
}

.memorial-card .memorial-biography {
    line-height: 1.6;
    color: #333;
}

/* Header section styling */
.memorial-header {
    text-align: center;
    margin-bottom: 20px;
}

.memorial-header-media img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.memorial-header-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.memorial-header-dates {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

/* Biography section */
.memorial-bio {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Quotes carousel/list */
.memorial-quotes {
    margin-bottom: 20px;
}
.memorial-quotes blockquote {
    border-left: 4px solid #ccc;
    margin: 15px 0;
    padding-left: 15px;
    font-style: italic;
    color: #333;
}
.memorial-quotes cite {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

/* Timeline */
.memorial-timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.memorial-timeline-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}
.memorial-timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background: #0073aa;
    border-radius: 50%;
}
.memorial-timeline-item .timeline-date {
    font-weight: bold;
    margin-right: 10px;
    color: #0073aa;
}

/* Gallery */
.memorial-gallery {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}
.memorial-gallery-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}
.memorial-gallery-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.memorial-gallery-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.memorial-gallery-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.memorial-gallery-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}
.memorial-gallery-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}
.memorial-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Tributes */
.memorial-tributes-feed {
    margin-bottom: 20px;
}
.tribute-card {
    border: 1px solid #e5e5e5;
    padding: 15px;
    margin-bottom: 15px;
    background: #fafafa;
    border-radius: 4px;
}
.tribute-card .tribute-author {
    font-weight: 600;
    margin-bottom: 5px;
}
.tribute-card .tribute-message {
    color: #333;
    line-height: 1.5;
}