/* Guest cards and the editor preview share this sheet. */
.chev-section[hidden], .chev-card [hidden] { display:none !important; }
.chev-section {
    display:block; width:100%; padding:clamp(2.5rem,5vw,5rem) 1.25rem;
    background:#f6f4ec; color:#153b31; box-sizing:border-box;
    font-family:Inter,system-ui,sans-serif;
}
.chev-section .chev-inner { max-width:72rem; margin:auto; }
.chev-section #chev-heading {
    font:500 clamp(2.15rem,4vw,3.75rem)/1.08 Georgia,serif; letter-spacing:-.04em;
    color:#163c31; margin:0 0 1.35rem; text-align:left;
}
.chev-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,28rem),1fr)); align-items:start; gap:1.25rem; }
.chev-card {
    --ev-ink:#153f36; --ev-paper:#faf9f0; --ev-wash:#dfeade; --ev-dark:#183e35; --ev-line:#a5b8a5;
    position:relative; isolation:isolate; overflow:hidden; min-width:0; margin:0; box-sizing:border-box;
    display:grid; grid-template-columns: minmax(5.4rem, 22%) minmax(0,1fr);
    border:1px solid var(--ev-line); border-radius:1.05rem; background:var(--ev-paper); color:var(--ev-ink);
    text-align:left; font:400 1rem/1.5 Inter,system-ui,sans-serif; overflow-wrap:anywhere;
}
.chev-card[data-palette="glacier"] { --ev-ink:#193c51; --ev-paper:#f6fafb; --ev-wash:#deedf1; --ev-dark:#1c4156; --ev-line:#a3bcc9; }
.chev-card[data-palette="berry"] { --ev-ink:#512840; --ev-paper:#fcf6f5; --ev-wash:#efdfe4; --ev-dark:#512c42; --ev-line:#c8acb6; }
.chev-card .chev-art { position:relative; display:grid; place-items:center; min-width:0; overflow:hidden; padding:.85rem .35rem; background:var(--ev-wash); }
.chev-card .chev-img { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.chev-card[data-focus="top"] .chev-img { object-position:center top; }
.chev-card[data-focus="bottom"] .chev-img { object-position:center bottom; }
.chev-card .chev-stamp { position:relative; display:grid; justify-items:center; align-content:center; line-height:1; color:var(--ev-ink); }
.chev-card .chev-month { font-size:.78rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.chev-card .chev-day { font:500 2.8rem/1 Georgia,serif; letter-spacing:-.055em; margin-top:.2rem; }
.chev-card[data-photo] .chev-stamp { background:var(--ev-paper); padding:.6rem .65rem; border-radius:.4rem; }
.chev-card .chev-copy { position:relative; min-width:0; padding:clamp(1rem,2.6vw,2rem); align-self:center; color:inherit; }
.chev-card .chev-title { color:inherit; margin:0; font:500 clamp(1.6rem,2.4vw,2.4rem)/1.1 Georgia,serif; letter-spacing:-.035em; text-transform:none; }
.chev-card .chev-when, .chev-card .chev-place, .chev-card .chev-description { color:inherit; font-family:inherit; line-height:1.5; }
.chev-card .chev-when { font-size:.95rem; font-weight:700; margin:.75rem 0 0; }
.chev-card .chev-place { font-size:.95rem; font-weight:550; margin:.12rem 0 0; }
.chev-card .chev-description { white-space:pre-line; font-size:1rem; font-weight:400; margin:.85rem 0 0; }
.chev-card .chev-link { display:inline-flex; align-items:center; gap:.35rem; width:fit-content; min-height:2.75rem; margin:.55rem 0 0; color:inherit; font-size:.96rem; font-weight:700; text-decoration:underline; text-underline-offset:.22em; }
.chev-card .chev-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.chev-card[data-layout="feature"] { grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); }
.chev-card[data-layout="feature"] .chev-art { min-height:10rem; background:var(--ev-dark); }
.chev-card[data-layout="feature"]:not([data-photo]) .chev-stamp { color:white; }
.chev-card[data-layout="feature"] .chev-day { font-size:3.25rem; }
.chev-card[data-layout="feature"][data-photo] .chev-art { place-items:end start; padding:.85rem; }
.chev-card[data-layout="poster"] { grid-template-columns:1fr; background:var(--ev-dark); color:white; text-align:center; }
.chev-card[data-layout="poster"] .chev-art { position:static; background:none; padding:1.6rem 1rem 0; }
.chev-card[data-layout="poster"] .chev-img { z-index:-2; }
.chev-card[data-layout="poster"][data-photo]::before { content:""; position:absolute; inset:0; z-index:-1; background:rgba(10,22,30,.78); }
.chev-card[data-layout="poster"] .chev-stamp { display:flex; align-items:baseline; gap:.4rem; padding:0; color:white; background:none; }
.chev-card[data-layout="poster"] .chev-day { font-size:2.05rem; }
.chev-card[data-layout="poster"] .chev-copy { padding:.75rem clamp(1rem,4vw,3rem) 1.65rem; }
.chev-card[data-layout="poster"] .chev-title { font-size:clamp(1.8rem,3.5vw,3rem); }
