/* v244.896 · Shared Design 01 Community Spotlight.
 * Use paired brand tokens: light surfaces always use on-light text.
 * Exactly the same component is rendered in public registration, the Family
 * Portal and the Community Rewards administrator's read-only preview. */
.mstp-community-flyer-field.mstp-community-spotlight {
    --crs-surface: var(--mstp-surface-light, #f8f7f4);
    --crs-paper: var(--mstp-surface-light-alt, #ffffff);
    --crs-ink: var(--mstp-on-light, #17253b);
    --crs-muted: var(--mstp-on-light-muted, #536379);
    --crs-accent: var(--mstp-accent-on-light, #b94d1d);
    --crs-soft: var(--mstp-accent-soft-on-light, #fff2e8);
    --crs-border: var(--mstp-accent-border-on-light, #e7b794);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
    min-width: 0;
    gap: 0;
    margin: 18px 0 22px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--crs-border);
    border-radius: 20px;
    background: var(--crs-paper);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
    color: var(--crs-ink);
    font-family: inherit;
}
.mstp-community-spotlight *, .mstp-community-spotlight *::before, .mstp-community-spotlight *::after { box-sizing: border-box; }
.mstp-community-spotlight-story { min-width: 0; padding: clamp(21px, 3vw, 37px); border-right: 1px solid var(--crs-border); background: var(--crs-surface); }
.mstp-community-spotlight-top { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mstp-community-spotlight-heart { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 45px; width: 45px; height: 45px; border-radius: 14px; background: var(--crs-soft); color: var(--crs-accent); font-size: 25px; }
.mstp-community-spotlight-eyebrow, .mstp-community-spotlight-kicker { color: var(--crs-accent); font-size: 11px; font-weight: 900; letter-spacing: .095em; line-height: 1.35; text-transform: uppercase; overflow-wrap: anywhere; }
.mstp-community-flyer-field.mstp-community-spotlight h3 { margin: 15px 0 12px; color: var(--crs-ink); font-size: clamp(24px, 2.8vw, 37px); font-weight: 900; line-height: 1.09; letter-spacing: -.035em; overflow-wrap: anywhere; }
.mstp-community-spotlight-message { margin: 0; color: var(--crs-ink); font-size: clamp(14px, 1.3vw, 16px); font-weight: 500; line-height: 1.62; white-space: pre-line; overflow-wrap: anywhere; }
.mstp-community-spotlight-signoff { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; color: var(--crs-muted); font-size: 12px; font-weight: 850; line-height: 1.45; overflow-wrap: anywhere; }
.mstp-community-spotlight-signoff::before { content: ''; display: inline-block; flex: 0 0 30px; height: 4px; margin-top: 7px; border-radius: 4px; background: var(--crs-accent); }
.mstp-community-spotlight-entry { display: flex; flex-direction: column; justify-content: center; gap: 11px; min-width: 0; padding: clamp(21px, 3vw, 37px); background: var(--crs-paper); }
.mstp-community-flyer-field.mstp-community-spotlight label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 11px; min-width: 0; margin: 0; color: var(--crs-ink); }
.mstp-community-flyer-field.mstp-community-spotlight label strong { color: var(--crs-ink); font-size: 17px; font-weight: 900; line-height: 1.35; }
.mstp-community-flyer-field.mstp-community-spotlight label span { color: var(--crs-muted); font-size: 11px; font-weight: 800; line-height: 1.4; }
.mstp-community-flyer-field.mstp-community-spotlight input[type="text"] { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 54px; margin: 0; padding: 12px 14px; border: 2px solid var(--crs-border); border-radius: 11px; background: var(--crs-paper) !important; color: var(--crs-ink) !important; font-size: 20px; font-weight: 800; line-height: 1.3; box-shadow: none; }
.mstp-community-flyer-field.mstp-community-spotlight input[type="text"]::placeholder { color: var(--crs-muted); font-weight: 500; font-size: 15px; opacity: 1; }
.mstp-community-flyer-field.mstp-community-spotlight input[type="text"]:focus-visible { outline: 3px solid var(--crs-accent); outline-offset: 2px; border-color: var(--crs-accent); }
.mstp-community-flyer-field.mstp-community-spotlight input[type="text"]:disabled { opacity: .78; cursor: not-allowed; }
.mstp-community-flyer-field.mstp-community-spotlight small { display: block; max-width: none; margin: 0; color: var(--crs-muted); font-size: 12px; font-weight: 500; line-height: 1.55; }
.mstp-community-flyer-field.mstp-community-spotlight small strong { color: var(--crs-ink); font-size: inherit; }
@media (max-width: 740px) {
    .mstp-community-flyer-field.mstp-community-spotlight { grid-template-columns: minmax(0, 1fr); }
    .mstp-community-spotlight-story { border-right: 0; border-bottom: 1px solid var(--crs-border); }
    .mstp-community-spotlight-entry { padding-top: 20px; }
}
@media (max-width: 380px) {
    .mstp-community-flyer-field.mstp-community-spotlight { margin: 14px 0; border-radius: 15px; }
    .mstp-community-spotlight-story, .mstp-community-spotlight-entry { padding: 18px; }
    .mstp-community-flyer-field.mstp-community-spotlight h3 { font-size: 25px; }
}
