/* funeral_tree v4.0.1 — memorial.css
   The rules from the live app's public.css that the memorial page uses, unchanged,
   minus the old fold-out button: the obituary is always shown. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f5f5f5;
}

.memorial-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #34495e, #2c3e50);
    color: white;
}

.memorial-photo {
    margin-bottom: 30px;
}

.memorial-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.memorial-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: normal;
}

.dates {
    font-size: 1.2em;
    opacity: 0.9;
    font-style: italic;
}

.section {
    padding: 40px 20px;
    border-bottom: 1px solid #ecf0f1;
}

.section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.8em;
    text-align: center;
}

/* Tribute */
.tribute {
    background: #ecf0f1;
}

.tribute-text {
    font-size: 1.3em;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    color: #34495e;
}

/* Obituary */
.obituary {
    max-width: 700px;
    margin: 0 auto;
}

.obituary-content {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    line-height: 1.8;
}

.obituary-content p {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1em;
}

.obituary-content p:last-child {
    margin-bottom: 0;
}

/* Section headers */
.obituary-content h2 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.obituary-content h2:first-child {
    margin-top: 0;
}

.obituary-content em {
    font-style: italic;
    color: #34495e;
}

.obituary-content a {
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
}

.obituary-content a:hover {
    text-decoration: underline;
}

/* Service Info */
.service-info {
    background: #fff3cd;
}

.service-details p {
    margin: 10px 0;
    font-size: 1.1em;
}

.service-details strong {
    color: #856404;
}

/* Footer */
.memorial-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .memorial-header h1 {
        font-size: 2em;
    }

    .memorial-photo img {
        width: 200px;
        height: 200px;
    }

    .tribute-text {
        font-size: 1.1em;
    }
}
