/*
 * Classic is intentionally close to the platform default.
 * Keeping it as a real theme makes default behavior explicit and
 * gives future versions a stable compatibility target.
 */
.memorial-theme--classic :where(
    .public-memorial,
    .public-memorial-gallery-page,
    .public-memorial-messages-page,
    .public-memorial-media-page,
    .public-memorial-events-page
) {
    --memorial-ink: #2c3029;
    --memorial-text: #595c54;
    --memorial-muted: #8b877d;
    --memorial-green: #284c37;
    --memorial-green-deep: #1f3d2c;
    --memorial-gold: var(--theme-accent, #bd9349);
    --memorial-gold-soft: var(--theme-accent-soft, #ead9b7);
    --memorial-paper: #faf7f0;
    --memorial-surface: #fffdf8;
    --memorial-border: rgb(174 139 76 / 22%);
}


/*
 * Classic typography normalization
 *
 * Keep the established visual hierarchy while removing the very small
 * 0.47–0.60rem text sizes that became inconsistent across sections.
 */
.memorial-theme--classic .public-memorial {
    --memorial-section-title-size: clamp(1.35rem, 2vw, 1.62rem);
    font-size: .9rem;
    line-height: 1.85;
}

.memorial-theme--classic .public-memorial-section-eyebrow,
.memorial-theme--classic .rf-share__eyebrow {
    font-size: .72rem;
}

.memorial-theme--classic :is(
    .public-memorial-gallery__summary,
    .public-memorial-media-showcase__heading > p,
    .public-memorial-events__heading > p,
    .public-memorial-messages__heading > p,
    .public-memorial-quran-khatm__heading > p,
    .rf-share__heading p
) {
    font-size: .78rem;
    line-height: 1.9;
}

.memorial-theme--classic .public-memorial-about__heading h2 {
    font-size: var(--memorial-section-title-size);
}

.memorial-theme--classic .public-memorial-about__identity dt {
    font-size: .74rem;
}

.memorial-theme--classic .public-memorial-about__identity dd {
    font-size: .86rem;
    line-height: 1.8;
}

.memorial-theme--classic .public-memorial-about__biography {
    font-size: .94rem;
    line-height: 2.15;
}

.memorial-theme--classic .public-memorial-epitaph blockquote {
    font-size: .94rem;
}

.memorial-theme--classic .public-memorial-epitaph figcaption {
    font-size: .72rem;
}

.memorial-theme--classic :is(
    .public-memorial-section-action,
    .public-memorial-quran-khatm-card__accept,
    .public-memorial-event-card__actions a,
    .public-memorial-media-filter a,
    .public-memorial-events-filter a,
    .public-memorial-pagination a,
    .public-memorial-pagination span,
    .rf-share__channel,
    .rf-share__native
) {
    font-size: .74rem;
}

.memorial-theme--classic :is(
    .public-memorial-section-action small,
    .public-memorial-quran-khatm-card__cycle,
    .public-memorial-quran-khatm-card__progress-meta,
    .public-memorial-quran-khatm-card__progress-meta b,
    .public-memorial-quran-khatm-card__footer small,
    .public-memorial-quran-khatm-card__footer > span,
    .public-memorial-quran-khatm__note,
    .public-memorial-event-card__date span,
    .public-memorial-event-card__meta,
    .public-memorial-event-card dt,
    .public-memorial-event-card dd,
    .public-memorial-event-card__description,
    .public-memorial-event-card__address,
    .public-memorial-event-card__status,
    .public-memorial-gallery__caption time,
    .public-memorial-message-card__author time,
    .public-memorial-message-card__pin,
    .public-memorial-messages__action-button small,
    .public-memorial-video-card__badge,
    .public-memorial-video-card__duration,
    .public-memorial-video-card__content small,
    .public-memorial-audio-card__heading span,
    .public-memorial-audio-card__heading time,
    .public-memorial-audio-card p,
    .rf-share__divider,
    .rf-share__link,
    .rf-share__copy-mini,
    .rf-share__status
) {
    font-size: .7rem;
}

.memorial-theme--classic :is(
    .public-memorial-message-card__author strong,
    .public-memorial-message-card blockquote,
    .public-memorial-video-card__content strong,
    .public-memorial-audio-card h4,
    .public-memorial-gallery__caption strong
) {
    font-size: .78rem;
}

.memorial-theme--classic .public-memorial-about__identity-divider {
    height: 1px;
    margin-block: .4rem;
    padding: 0;
    background: rgb(163 132 76 / 13%);
}

.memorial-theme--classic .public-memorial-about__identity-address {
    align-items: start;
}

.memorial-theme--classic .public-memorial-about__identity-address dd {
    text-align: start;
}

@media (max-width: 767.98px) {
    .memorial-theme--classic .public-memorial {
        font-size: .88rem;
    }

    .memorial-theme--classic .public-memorial-about__biography {
        font-size: .88rem;
        line-height: 2.05;
    }
}
