@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

body.page-id-1068 { background: #fdf6e8 !important; }
body.page-id-1068 .bcg-page { background: #fdf6e8 !important; }

.peanut-memorial {
    font-family: 'Jost', sans-serif;
    color: #2c2416;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    background: #fdf6e8;
}

.peanut-hero {
    background: #fdf6e8;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8c97a;
    margin-bottom: 3rem;
}

.peanut-hero-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}

.peanut-hero-body {
    padding: 2.5rem 2rem 3rem;
    text-align: center;
    background: #fdf6e8;
}

.peanut-paw {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.6;
    display: block;
}

.peanut-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #6b3d08;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.peanut-dates {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a07030;
    margin-bottom: 1.5rem;
}

.peanut-divider {
    width: 60px;
    height: 1px;
    background: #e0b860;
    margin: 0 auto 1.5rem;
}

.peanut-tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    color: #8a5010;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

.peanut-section { margin-bottom: 3rem; }

.peanut-section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #b88a30;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 14px;
}

.peanut-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8c97a;
}

.peanut-tribute {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.95;
    color: #2c2416;
    background: #fdf0d8;
    border-left: 3px solid #e0b860;
    padding: 2rem 2rem 2rem 1.75rem;
    border-radius: 0 8px 8px 0;
}

.peanut-tribute p { margin-bottom: 1.25rem; }
.peanut-tribute p:last-child { margin-bottom: 0; font-style: italic; }

.peanut-memory-wall { columns: 3; column-gap: 10px; }
@media (max-width: 640px) { .peanut-memory-wall { columns: 2; } }
@media (max-width: 400px) { .peanut-memory-wall { columns: 1; } }

.peanut-mem-item {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #f5ead0;
}

.peanut-mem-item img {
    width: 100%;
    display: block;
    transition: opacity 0.2s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.peanut-mem-item:hover img { opacity: 0.92; }

.peanut-mem-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(107,61,8,0.72);
    color: #fdf6e8;
    font-size: 0.78rem;
    padding: 6px 10px;
    font-family: 'Jost', sans-serif;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.peanut-mem-item:hover .peanut-mem-caption { opacity: 1; }

.peanut-mem-video-wrap {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0e4c0;
    border: 1px solid #d4a848;
}

.peanut-mem-video-wrap video { width: 100%; display: block; }

.peanut-mem-video-label {
    background: #e0b860;
    color: #5a3008;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    text-align: center;
}

.peanut-mem-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #b88a30;
    font-style: italic;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    background: #fdf0d8;
    border-radius: 8px;
    border: 1px dashed #e0b860;
}

.peanut-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,18,5,0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.peanut-lightbox.active { display: flex; }

.peanut-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    pointer-events: none;
    user-select: none;
}

.peanut-lightbox-close {
    position: absolute;
    top: 1.25rem; right: 1.5rem;
    color: #fdf6e8;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.75;
}

.peanut-lightbox-close:hover { opacity: 1; }

.peanut-lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fdf6e8;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.8;
    white-space: nowrap;
}

.peanut-timeline {
    position: relative;
    padding-left: 2rem;
}

.peanut-timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 10px; bottom: 10px;
    width: 1px;
    background: #d4a848;
}

.peanut-tl-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.25rem;
}

.peanut-tl-item::before {
    content: '';
    position: absolute;
    left: -0.65rem; top: 5px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #fdf6e8;
    border: 2px solid #d4a848;
}

.peanut-tl-year {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a07030;
    margin-bottom: 4px;
}

.peanut-tl-event {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #2c2416;
}

.peanut-dedication {
    text-align: center;
    padding: 3rem 2rem;
    background: #fdf0d8;
    border-radius: 12px;
    border: 1px solid #e8c97a;
    margin-bottom: 3rem;
}

.peanut-ded-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    color: #6b3d08;
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 1rem;
}

.peanut-ded-attr {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b88a30;
}

.peanut-condolences {
    background: #fdf0d8;
    border: 1px solid #e8c97a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.peanut-cond-intro {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #8a5010;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.peanut-cond-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}

.peanut-cond-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .peanut-cond-row { grid-template-columns: 1fr; } }

.peanut-cond-input,
.peanut-cond-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #fff8ec;
    border: 1px solid #d4a848;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    color: #2c2416;
    outline: none;
    transition: border-color 0.2s;
}

.peanut-cond-input:focus,
.peanut-cond-textarea:focus { border-color: #b88a30; }

.peanut-cond-textarea {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
}

.peanut-cond-btn {
    align-self: flex-start;
    padding: 10px 26px;
    background: #e0b860;
    border: none;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #5a3008;
    cursor: pointer;
    transition: background 0.2s;
}

.peanut-cond-btn:hover { background: #d4a848; }

.peanut-cond-feedback {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: #6b3d08;
    font-size: 1rem;
    padding: 0.75rem 0;
    display: none;
}

.peanut-cond-divider { height: 1px; background: #e8c97a; margin: 1.75rem 0; }

.peanut-cond-list { display: flex; flex-direction: column; gap: 1.5rem; }

.peanut-cond-item { display: flex; gap: 14px; }

.peanut-cond-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #f0dba8;
    border: 1px solid #d4a848;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 500; color: #8a5010;
    flex-shrink: 0;
    font-family: 'Jost', sans-serif;
}

.peanut-cond-body { flex: 1; }

.peanut-cond-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.peanut-cond-name { font-size: 0.88rem; font-weight: 500; color: #2c2416; }
.peanut-cond-rel { font-size: 0.78rem; color: #a07030; }
.peanut-cond-date { font-size: 0.73rem; color: #b88a30; letter-spacing: 0.05em; margin-left: auto; }

.peanut-cond-msg {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2c2416;
}

.peanut-cond-empty {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: #b88a30;
    font-size: 1rem;
}
