/* John Lewis memorial page */

:root {
    --page-bg: #f4f1eb;
    --card-bg: #ffffff;
    --text: #34312e;
    --muted: #716b65;
    --accent: #80684d;
    --accent-dark: #66513a;
    --border: #e5ddd3;
    --shadow: 0 18px 50px rgba(55, 45, 34, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
.texttop {text-align: left!important;}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 38rem),
        var(--page-bg);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3;
	
}

.memorial-page {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: 3rem 0;
}

.memorial-card {
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.memorial-header {
    padding: 3rem 6rem 2.25rem;
    text-align: center;
}

.eyebrow {
    margin: 0 0 0.35rem;
    color: var(--accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.05;
}

.memorial-image {
    margin: 0;
    background: #eee9e2;
}

.memorial-image img {
    display: block;
    width: 100%;
    height: auto;
}

.memorial-message {
    width: min(100% - 3rem, 780px);
    margin: 0 auto;
	
    padding: 0rem 0 4rem;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    text-align: center;
}

.memorial-message p {
    margin: 0 0 1.35rem;
}

.support-section {
    margin-top: 2.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.support-section h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 400;
}

.support-button {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.support-button:hover,
.support-button:focus-visible {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(82, 64, 45, 0.2);
}

.support-button:focus-visible {
    outline: 3px solid rgba(128, 104, 77, 0.3);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .memorial-page {
        width: min(100% - 1rem, 1180px);
        padding: 0.5rem 0;
    }

    .memorial-card {
        border-radius: 12px;
    }

    .memorial-header {
        padding: 2.25rem 1.25rem 1.75rem;
    }

    .memorial-message {
        width: min(100% - 2rem, 780px);
        padding: 2.25rem 0 3rem;
        text-align: left;
    }

    .support-section {
        text-align: center;
    }

    .support-button {
        width: 100%;
        text-align: center;
    }
}
