/* The Local edition's promotion at the end of a local story
   (Components/LocalEditionPromo): newsprint and ink, and a phone with the
   morning's edition on it. Every colour is set on the element it
   colours -- the story's own styles colour anchors and headings. The phone
   shows the newest Local edition, drawn in HTML from its own lines. */
.osc-lep {
    --lep-ink: #16130f;
    --lep-paper: #f6f1e4;
    --lep-red: #a3201c;
    --lep-muted: #5a5246;
    display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center;
    margin: 30px 0 26px; padding: 24px 28px 24px 20px;
    background: var(--lep-paper); color: var(--lep-ink);
    border-top: 3px double var(--lep-ink); border-bottom: 3px double var(--lep-ink);
    box-shadow: inset 0 0 0 1px #e4dac2;
}
/* The phone: a real morning edition on its screen, tilted on the desk. */
.osc-lep-art { display: flex; justify-content: center; }
.lep-phone {
    position: relative; width: 176px; height: 340px; padding: 9px; border-radius: 34px;
    background: linear-gradient(145deg, #2b2b2e, #0e0e10);
    box-shadow: 0 0 0 1.5px #4a4a4f inset, 0 2px 3px rgba(40,30,15,.25), 0 18px 34px rgba(40,30,15,.32);
    transform: rotate(-4deg); transition: transform .35s ease;
    animation: lep-rise .9s cubic-bezier(.2, .8, .2, 1) backwards;
}
.osc-lep:hover .lep-phone { transform: rotate(-1deg) translateY(-4px); }
.lep-island { position: absolute; z-index: 2; top: 15px; left: 50%; width: 52px; height: 15px; margin-left: -26px; border-radius: 10px; background: #050506; }
.lep-screen {
    position: relative; height: 100%; overflow: hidden; border-radius: 26px; background: #fffdf8;
    font-family: Georgia, 'Times New Roman', serif; color: #16130f; text-align: left;
}
.lep-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(rgba(255,253,248,0), #fffdf8); }
.osc-lep .lep-status { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 9px 16px 0; font: 700 8px/1 -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #16130f; }
.lep-bars { width: 22px; height: 7px; border-radius: 2px; border: 1px solid #16130f; position: relative; }
.lep-bars::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: #16130f; border-radius: 1px; }
.osc-lep .lep-from { display: flex; justify-content: space-between; margin: 14px 0 0; padding: 0 12px 6px; border-bottom: 1px solid #e7e0cf; font: 400 7.5px/1.2 -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #6b6355; }
.lep-from b { color: #16130f; }
.lep-mail { padding: 8px 11px 0; }
.osc-lep .lep-mast { margin: 0; text-align: center; font: 400 15px/1.05 'Canterbury', 'Old English Text MT', serif; color: #16130f; }
.osc-lep .lep-date { margin: 3px 0 6px; padding: 2px 0; text-align: center; border-top: 1px solid #16130f; border-bottom: 2.5px double #16130f; font: 700 5.6px/1.3 Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: #16130f; }
.lep-pic { display: block; width: 100%; height: 72px; object-fit: cover; border-radius: 2px; }
.osc-lep .lep-hl { margin: 6px 0 0; font: 900 10.5px/1.18 'Playfair Display', Georgia, serif; color: #16130f; }
.osc-lep .lep-sec { margin: 7px 0 1px; padding-top: 4px; border-top: 1px solid #16130f; text-align: center; font: 700 5.4px/1.2 Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: #16130f; }
.osc-lep .lep-line { margin: 0; font: 400 6.8px/1.35 Georgia, serif; color: #2a251e; }
@keyframes lep-rise { from { opacity: 0; transform: rotate(-4deg) translateY(26px); } to { opacity: 1; transform: rotate(-4deg) translateY(0); } }

.osc-lep .osc-lep-kicker {
    margin: 0 0 6px;
    font: 700 .7rem/1.3 Georgia, 'Times New Roman', serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lep-red);
}
.osc-lep .osc-lep-title {
    margin: 0; padding: 0; border: 0;
    font: 900 clamp(1.45rem, 2.6vw, 1.9rem)/1.12 'Playfair Display', Georgia, serif; color: var(--lep-ink);
}
.osc-lep .osc-lep-copy { margin: 10px 0 0; font: 400 1rem/1.55 Georgia, 'Times New Roman', serif; color: #2a251e; }
.osc-lep .osc-lep-copy strong { color: var(--lep-ink); }
.osc-lep-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.osc-lep-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.osc-lep .osc-lep-input {
    flex: 1 1 14rem; min-width: 0; height: 46px; padding: 0 14px;
    border: 2px solid var(--lep-ink); border-radius: 0; background: #fff; color: var(--lep-ink);
    font: 400 1rem Georgia, serif;
}
.osc-lep .osc-lep-input:focus { outline: 3px solid var(--lep-red); outline-offset: 1px; }
.osc-lep .osc-lep-go {
    display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px;
    border: 2px solid var(--lep-ink); background: var(--lep-ink); color: #fbf4e2; text-decoration: none; cursor: pointer;
    font: 700 .78rem/1 Georgia, 'Times New Roman', serif; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.osc-lep .osc-lep-go:hover { background: var(--lep-red); border-color: var(--lep-red); color: #fff; }
.osc-lep .osc-lep-go:focus-visible { outline: 3px solid var(--lep-red); outline-offset: 3px; }
.osc-lep-actions { margin: 16px 0 0; }
.osc-lep .osc-lep-fine { margin: 8px 0 0; font: italic 400 .84rem/1.4 Georgia, serif; color: var(--lep-muted); }

@media (max-width: 640px) {
    .osc-lep { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px; }
    .osc-lep-art { margin: 6px auto 4px; }
    .osc-lep-words { text-align: center; }
    .osc-lep .osc-lep-go { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { 