/* DPP Gothic Press 3.8.3 - the front page: flush columns, period filler, adverts, bookstall gate, story folio strip. */

/* ==========================================================================
   1. Columns that end flush with the foot rule
   A column is a flex column. Its real matter keeps its own height; an elastic
   filler (.dpp-fill, or a band of them) takes exactly the space the column is
   short by. Where the columns stack (phones) there is no space to take, so the
   filler has no height and nothing of it is shown.
   A filler set at the very foot of a column (.dpp-fill-foot) always keeps room
   for one short notice, so the column's last line of type always stands on the
   foot - there is no depth at which it shows nothing and leaves a gap.
   ========================================================================== */
.dpp-flush { display: flex; flex-direction: column; min-width: 0; }
.dpp-flush > * { flex: 0 0 auto; }
.dpp-flush > :is(.dpp-fill, .dpp-fill-band) { flex: 1 1 0px; }
.dpp-flush > .dpp-fill-foot { flex: 1 1 3.4rem; min-block-size: 3.4rem; }
@media (max-width: 560px) {
    .dpp-flush > .dpp-fill-foot { display: none; }
}
/* The two top columns are better matched: the contents column is no longer a ribbon beside a broad lead.
   (The root font is 18 px, so breakpoints that must meet a picture's pixels are written in px.) */
.dpp-broadsheet [data-broadsheet-front] > .top { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
@media (max-width: 1000px) {
    .dpp-broadsheet [data-broadsheet-front] > .top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.dpp-broadsheet #lead { container-name: dpp-lead; }
@container dpp-lead (max-width: 520px) {
    .dpp-broadsheet .lead-body { display: flex; flex-direction: column-reverse; }
}
/* a notice standing on the foot of its column needs no closing rule of its own: the foot rule closes it */
.dpp-broadsheet .dpp-flush > .notice:last-child { padding-bottom: .15rem; border-bottom: 0; }

/* ==========================================================================
   2. Elastic period filler
   A filler is a wrapping flex column inside a box of known height. An item that
   does not fit whole wraps into a second column, which lies outside the box and
   is clipped: whole items only, never a cut line. The zero-height strut at the
   head and space-between lead the shown items out, so the last one stands on
   the foot of the box - as a compositor justified a column with leads.
   ========================================================================== */
.dpp-fill {
    container: dpp-fill / size;
    box-sizing: border-box;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-content: flex-start;
    gap: .34rem 3rem;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ink, #191614);
    font: 400 .66rem/1.3 var(--type-classified);
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
}
.dpp-fill::before { content: ""; flex: none; inline-size: 100%; block-size: 0; }
/* A filler set in the middle of a column (real matter stands below it) shares its leads round the items;
   one set at the foot of a column keeps its last line on the foot. */
.dpp-fill.dpp-fill-mid, .dpp-fill-mid > .dpp-fill { justify-content: space-around; }
.dpp-broadsheet .dpp-fill > .dpp-fill-item {
    flex: none;
    box-sizing: border-box;
    inline-size: 100%;
    margin: 0;
    padding: .3rem 0 0;
    border-top: 1px solid var(--rule);
    font: inherit;
    text-align: left;
    hyphens: auto;
    overflow-wrap: break-word;
}
/* run-in heads, as in a column of small advertisements */
.dpp-fill-item b { font-weight: 400; font-size: .93em; letter-spacing: .05em; text-transform: uppercase; }

/* A label is set only where the box is deep enough for the label and at least one item beneath it. */
.dpp-broadsheet .dpp-fill > .dpp-fill-label {
    display: none;
    flex: none;
    box-sizing: border-box;
    inline-size: 100%;
    margin: 0;
    padding: .32rem 0 .04rem;
    border-top: 3px double var(--rule);
    font: 400 .8rem/1.1 var(--type-smallcaps);
    letter-spacing: .09em;
    text-align: center;
    text-wrap: balance;
}
.dpp-broadsheet .dpp-fill-stop-press > .dpp-fill-label {
    padding: .3rem .3rem .24rem;
    border-top: 0;
    background: var(--ink);
    color: var(--paper);
}
/* The tide table is a deep item: it is offered only to a box that can take it. */
.dpp-broadsheet .dpp-fill > .dpp-fill-table { display: none; }
.dpp-fill-table table { inline-size: 100%; margin: 0; border-collapse: collapse; border: 0; font: inherit; }
.dpp-fill-table caption {
    caption-side: top;
    padding: 0 0 .2rem;
    font: 400 .8rem/1.1 var(--type-smallcaps);
    letter-spacing: .09em;
    text-align: center;
}
.dpp-fill-table :is(th, td) {
    padding: .1rem .3rem .06rem 0;
    border: 0;
    border-top: 1px dotted var(--rule);
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 400;
    text-align: left;
    vertical-align: baseline;
}
.dpp-fill-table thead :is(th, td) { border-top: 0; font-style: italic; }

@container dpp-fill (min-height: 6.4rem) {
    .dpp-broadsheet .dpp-fill > .dpp-fill-label { display: block; }
}
@container dpp-fill (min-height: 6.6rem) {
    .dpp-broadsheet .dpp-fill > .dpp-fill-table { display: block; }
}
/* A box too shallow for one line of an item shows nothing and says nothing (not to the eye, not to a screen reader). */
@container dpp-fill (max-height: 1.5rem) {
    .dpp-fill > * { visibility: hidden; }
}

/* A band sets fillers side by side, with a vertical plate from the advert pool beside them when the band is deep enough
   to print it at a readable size. The plate takes the band's own height, so it too stands on the foot. */
.dpp-fill-band {
    container: dpp-band / size;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 0 .7rem;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.dpp-fill-band > .dpp-fill { flex: 1 1 0; }
.dpp-fill-band > .dpp-fill + .dpp-fill { padding-left: .7rem; border-left: 1px solid var(--rule); }
.dpp-fill-band > .dpp-fill ~ .dpp-fill { display: none; }
.dpp-broadsheet .dpp-fill-band > .dpp-fill-plate {
    display: none;
    flex: 0 0 auto;
    align-self: flex-end;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* its own backing: the plate multiplies against this, whatever its ancestors do to blending */
    isolation: isolate;
    background-color: var(--paper);
}
.dpp-broadsheet .dpp-fill-band > .dpp-fill-plate img {
    display: block;
    inline-size: auto;
    max-inline-size: none;
    /* never taller than its 1x file (454 px), so never drawn wider than it either */
    block-size: 100%;
    block-size: min(100cqh, 454px);
}
/* How many fillers stand side by side: a second and a third as the band widens (each stays a readable column). */
@container dpp-band (min-width: 340px) and (max-height: 219.98px) {
    .dpp-fill-band > .dpp-fill:nth-of-type(2) { display: flex; }
}
@container dpp-band (min-width: 340px) and (max-aspect-ratio: 109 / 100) {
    .dpp-fill-band > .dpp-fill:nth-of-type(2) { display: flex; }
}
@container dpp-band (min-width: 560px) {
    .dpp-fill-band > .dpp-fill:nth-of-type(2) { display: flex; }
}
@container dpp-band (min-width: 540px) and (max-height: 219.98px) {
    .dpp-fill-band > .dpp-fill:nth-of-type(3) { display: flex; }
}
@container dpp-band (min-width: 760px) {
    .dpp-fill-band > .dpp-fill:nth-of-type(3) { display: flex; }
}
/* The plate: only in a band at least 220 px deep, at least 300 px wide and wider than it is deep, so the plate is
   never under about 118 px wide and always leaves the text more than half the band. */
@container dpp-band (min-height: 220px) and (min-width: 300px) and (min-aspect-ratio: 11 / 10) {
    .dpp-broadsheet .dpp-fill-band > .dpp-fill-plate { display: block; }
}
@container dpp-band (max-height: 1.5rem) {
    .dpp-fill-band > .dpp-fill + .dpp-fill { border-left-color: transparent; }
}

/* ==========================================================================
   3. Adverts: plates from the House pool, no advert twice on the page
   ========================================================================== */
.dpp-broadsheet .advert[data-advert-shape="h"] { justify-items: center; }
.dpp-broadsheet .advert[data-advert-shape="h"] img { inline-size: 100%; max-inline-size: 380px; block-size: auto; }
.dpp-broadsheet .advert-strip.advert-strip-thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* the lead advert, and a second beside it where the lead column is wide enough for two */
.dpp-broadsheet .dpp-lead-adverts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: .4rem 0 0;
    padding: .35rem 0 0;
    border-top: 3px double var(--rule);
}
.dpp-broadsheet .dpp-lead-adverts > .lead-advert { inline-size: auto; margin: 0; padding: .1rem .35rem; border-top: 0; }
.dpp-broadsheet .dpp-lead-adverts > .dpp-lead-advert-second { display: none; }
@container dpp-lead (min-width: 600px) {
    .dpp-broadsheet .dpp-lead-adverts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dpp-broadsheet .dpp-lead-adverts > .dpp-lead-advert-second { display: grid; border-left: 1px solid var(--rule); }
}
/* the two advert rows above the imprint read as one block of six: three across, with column rules, and one
   rule (not two) between the rows; below 660 px both rows set their plates one above another */
.dpp-broadsheet .dpp-literature-adverts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: .35rem;
    margin-top: 0;
    padding-block: .58rem;
    border-top: 0;
    border-bottom: 4px double var(--rule);
}
.dpp-broadsheet .dpp-literature-adverts > * + * { border-left: 1px solid var(--rule); }
@media (max-width: 660px) {
    .dpp-broadsheet :is(.advert-strip.advert-strip-thirds, .dpp-literature-adverts) { grid-template-columns: minmax(0, 1fr); }
    .dpp-broadsheet :is(.advert-strip.advert-strip-thirds, .dpp-literature-adverts) > * + * { border-left: 0; border-top: 1px solid var(--rule); }
    .dpp-broadsheet .dpp-literature-adverts .advert { inline-size: auto; margin-inline: 0; }
}

/* ==========================================================================
   4. Ornaments are drawn, not typed (no fleuron glyph falls back to a system face)
   ========================================================================== */
.dpp-ornament { flex: none; inline-size: 1.75rem; block-size: auto; fill: currentColor; }
.dpp-broadsheet .rule .dpp-ornament { inline-size: 1.45rem; }
.dpp-broadsheet .issue h2:has(> .dpp-ornament) { display: flex; align-items: center; justify-content: center; gap: .35em; }
.dpp-broadsheet .issue h2 .dpp-ornament { inline-size: .8em; }

/* ==========================================================================
   5. The haiku plate: the verse, and Fuji directly beneath it. Nothing else:
   the old crop (810 535 670 340) printed a field of empty sky round both.
   The verse is never laid over the engraving, so a long verse in a narrow
   column makes the plate deeper and is never cut.
   ========================================================================== */
.dpp-broadsheet .dpp-haiku-plate {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
    inline-size: 100%;
    max-inline-size: 26rem;
    margin: .3rem auto .25rem;
}
.dpp-broadsheet .dpp-haiku-verse {
    padding: .4rem .3rem .1rem;
    color: var(--ink);
    font: 400 clamp(1rem, .72rem + .7vw, 1.22rem)/1.26 var(--type-headline);
    text-align: center;
    overflow-wrap: break-word;
}
.dpp-broadsheet .dpp-haiku-verse p { margin: 0; font: inherit; }
.dpp-broadsheet #haiku .dpp-haiku-plate .art {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 540 / 198;
    margin: 0;
}

/* ==========================================================================
   6. The directory of broadsheets: four flush columns, 44 px rows
   ========================================================================== */
.dpp-publication-directory .dpp-directory-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-block: .8rem 0;
}
.dpp-publication-directory .dpp-directory-columns > section {
    padding: 0 .8rem .5rem;
    border-left: 1px solid var(--rule);
}
.dpp-publication-directory .dpp-directory-columns > section:first-child { padding-left: 0; border-left: 0; }
.dpp-publication-directory .dpp-directory-columns > section:last-child { padding-right: 0; }
.dpp-publication-directory .dpp-directory-columns ul { list-style: none; margin: 0; padding: 0; }
.dpp-publication-directory .dpp-directory-columns li { margin: 0; border-bottom: 1px dotted var(--rule); }
.dpp-publication-directory .dpp-directory-columns li:last-child { border-bottom: 0; }
.dpp-publication-directory .dpp-directory-columns li > a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-block-size: 44px;
    padding: .2rem .15rem;
    line-height: 1.18;
    text-decoration: none;
}
.dpp-publication-directory .dpp-directory-columns li > a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 1023px) {
    .dpp-publication-directory .dpp-directory-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .9rem; }
    .dpp-publication-directory .dpp-directory-columns > section:nth-child(odd) { padding-left: 0; border-left: 0; }
    .dpp-publication-directory .dpp-directory-columns > section:nth-child(even) { padding-right: 0; }
}
@media (max-width: 560px) {
    .dpp-publication-directory .dpp-directory-columns { grid-template-columns: minmax(0, 1fr); }
    .dpp-publication-directory .dpp-directory-columns > section { padding-inline: 0; border-left: 0; }
}
/* Short Humour: one ruled band, four doors */
.dpp-publication-directory .dpp-directory-band {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 1rem;
    margin: 0;
    padding: .1rem 0;
    border-top: 3px double var(--rule);
}
.dpp-publication-directory .dpp-directory-band h3 { margin: 0; font: 700 1.05rem/1.2 var(--type-body); }
.dpp-publication-directory .dpp-directory-band ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.dpp-publication-directory .dpp-directory-band li { margin: 0; border-left: 1px solid var(--rule); }
.dpp-publication-directory .dpp-directory-band a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-block-size: 44px;
    padding: .2rem .5rem;
    line-height: 1.18;
    text-align: center;
    text-decoration: none;
}
.dpp-publication-directory .dpp-directory-band a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 900px) {
    /* the heading stands over its four doors, which keep one row while there is room for the longest name */
    .dpp-publication-directory .dpp-directory-band { grid-template-columns: minmax(0, 1fr); }
    .dpp-publication-directory .dpp-directory-band h3 { padding: .45rem 0 .25rem; text-align: center; }
    .dpp-publication-directory .dpp-directory-band ul { border-top: 1px solid var(--rule); }
    .dpp-publication-directory .dpp-directory-band li:first-child { border-left: 0; }
}
@media (max-width: 560px) {
    .dpp-publication-directory .dpp-directory-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dpp-publication-directory .dpp-directory-band li:nth-child(odd) { border-left: 0; }
    .dpp-publication-directory .dpp-directory-band li:nth-child(n+3) { border-top: 1px dotted var(--rule); }
}

/* ==========================================================================
   7. The Railway Bookstall gate: a specimen sheet round a ticket window
   The ticket window stands in the middle column, three cells deep; the
   publications are set round it and the free specimen numbers close the sheet.
   ========================================================================== */
.dpp-stall-gate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    margin: .7rem 0 .6rem;
    /* ruled above; the room's own foot rule (the navigation's) closes the sheet below */
    border-top: 3px double var(--rule);
    color: var(--ink);
}
.dpp-stall-gate > * { min-width: 0; box-sizing: border-box; }
.dpp-ticket-window {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .45rem;
    margin: .5rem .6rem;
    padding: .8rem .8rem .9rem;
    border: 3px double var(--rule);
    outline: 1px solid var(--rule);
    outline-offset: 3px;
    background: var(--paper-lift, #ece6dc);
    text-align: center;
}
.dpp-ticket-tag { margin: 0; font: 400 .8rem/1.1 var(--type-smallcaps); letter-spacing: .16em; }
.dpp-broadsheet .dpp-ticket-title { margin: 0; font: 400 clamp(1.3rem, .95rem + 1.2vw, 1.85rem)/1.04 var(--type-headline); letter-spacing: -.01em; text-wrap: balance; }
.dpp-ticket-lede { margin: 0; font: italic 400 .86rem/1.28 var(--type-deck); text-wrap: balance; }
.dpp-ticket-tariff { margin: .1rem 0; padding: .3rem 0 .28rem; border-block: 1px solid var(--rule); font: 400 .76rem/1.3 var(--type-classified); }
.dpp-ticket-tariff ul { list-style: none; margin: 0; padding: 0; }
.dpp-ticket-tariff li { margin: 0; padding: .16rem 0; text-wrap: balance; }
.dpp-ticket-tariff li + li { border-top: 1px dotted var(--rule); }
.dpp-ticket-tariff strong { font-weight: 700; }
.dpp-ticket-tariff p { margin: .28rem 0 0; font-size: .68rem; font-style: italic; line-height: 1.3; text-wrap: balance; }
.dpp-ticket-tariff a { color: inherit; }
.dpp-ticket-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.dpp-broadsheet a.dpp-ticket-btn {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-block-size: 46px;
    min-inline-size: 6.5rem;
    padding: .4rem .8rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font: 400 .84rem/1.1 var(--type-smallcaps);
    letter-spacing: .1em;
    text-decoration: none;
}
.dpp-broadsheet a.dpp-ticket-btn-alt { flex-grow: 0; background: transparent; color: var(--ink); }
.dpp-broadsheet a.dpp-ticket-btn:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }
.dpp-broadsheet a.dpp-ticket-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dpp-specimen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
    padding: .55rem .7rem .6rem;
    border-top: 1px solid var(--rule);
}
.dpp-stall-gate > .dpp-specimen:nth-of-type(-n+2) { border-top: 0; }
.dpp-stall-gate > .dpp-specimen:nth-of-type(odd) { padding-left: 0; }
.dpp-stall-gate > .dpp-specimen:nth-of-type(even):nth-of-type(-n+6) { padding-right: 0; }
.dpp-stall-gate > .dpp-specimen:nth-of-type(8) { border-left: 1px solid var(--rule); }
.dpp-broadsheet .dpp-specimen h3 { margin: 0; font: 400 1.16rem/1.02 var(--type-headline); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.dpp-specimen-deck { margin: 0; font: italic 400 .84rem/1.2 var(--type-deck); }
.dpp-specimen-copy { margin: 0; font: 400 .72rem/1.34 var(--type-classified); hyphens: auto; }
/* the free specimen numbers close the sheet: across two columns beside the seventh cell, or in the last column
   when an eighth publication is on the stall */
.dpp-specimen-free { grid-column: span 2; padding: .5rem 0 .15rem .7rem; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.dpp-stall-gate > .dpp-specimen:nth-of-type(8) ~ .dpp-specimen-free { grid-column: span 1; }
.dpp-broadsheet .dpp-specimen-free h3 { margin: 0 0 .15rem; font: 400 .82rem/1.1 var(--type-smallcaps); letter-spacing: .12em; }
.dpp-specimen-free ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); gap: 0 .9rem; list-style: none; margin: 0; padding: 0; }
.dpp-specimen-free li { margin: 0; border-top: 1px dotted var(--rule); }
.dpp-broadsheet .dpp-specimen-free a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .1rem;
    box-sizing: border-box;
    min-block-size: 44px;
    padding: .28rem 0;
    color: inherit;
    line-height: 1.16;
    text-decoration: none;
}
.dpp-specimen-kicker { font: 400 .72rem/1.1 var(--type-smallcaps); letter-spacing: .1em; }
.dpp-specimen-free strong { font: italic 400 .92rem/1.16 var(--type-body); }
.dpp-specimen-free a:is(:hover, :focus-visible) strong { text-decoration: underline; text-underline-offset: .15em; }
/* on a register page only the ticket window is set */
.dpp-stall-gate.dpp-stall-gate-compact { grid-template-columns: minmax(0, 1fr); }
.dpp-stall-gate-compact .dpp-ticket-window { grid-column: 1; grid-row: auto; inline-size: min(100% - 1.2rem, 30rem); margin-inline: auto; }
@media (max-width: 899px) {
    /* two columns: four publications down the left beside the ticket window, the rest in pairs beneath */
    .dpp-stall-gate { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
    .dpp-ticket-window { grid-column: 2; grid-row: 1 / span 4; margin-right: 0; }
    .dpp-stall-gate > .dpp-specimen:nth-of-type(n) { padding-left: 0; padding-right: .7rem; border-top: 1px solid var(--rule); border-left: 0; }
    .dpp-stall-gate > .dpp-specimen:nth-of-type(1) { border-top: 0; }
    .dpp-stall-gate > .dpp-specimen:nth-of-type(even):nth-of-type(n+6) { padding-left: .7rem; padding-right: 0; border-left: 1px solid var(--rule); }
    .dpp-specimen-free { grid-column: span 1; }
    .dpp-stall-gate > .dpp-specimen:nth-of-type(8) ~ .dpp-specimen-free { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
    /* one column: the ticket window first, then every publication, then the free specimen numbers */
    .dpp-stall-gate { grid-template-columns: minmax(0, 1fr); }
    .dpp-ticket-window { grid-column: 1; grid-row: auto; margin: .55rem 0; }
    .dpp-stall-gate > .dpp-specimen:nth-of-type(n):nth-of-type(n) { padding-left: 0; padding-right: 0; border-left: 0; border-top: 1px solid var(--rule); }
    .dpp-stall-gate > .dpp-specimen-free,
    .dpp-stall-gate > .dpp-specimen:nth-of-type(8) ~ .dpp-specimen-free { grid-column: 1; padding-left: 0; border-left: 0; }
}
/* the room's own foot links: 44 px doors */
.dpp-room-paper:is(.dpp-room-railway, .dpp-archive) .dpp-room-nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: .5rem; }

/* ==========================================================================
   8. Story Previous / Next: one ruled folio strip inside the foot of the sheet
   The strip follows the sheet in the markup (the sheet's own partial is not
   ours to open). Where it follows a London publication sheet, the sheet keeps
   room for it at its foot and the strip is set into that room, so it prints
   inside the framed sheet. It runs the full width of the sheet inside its
   frame, like a folio line - so it does not depend on how wide the
   publication's own page is set. Anywhere else (a standard article, a sheet of
   the American edition) it is an ordinary ruled strip in the flow, beneath.
   Hooks: --dpp-folio-inset (the frame's inner margin; it mirrors
   --london-story-pad of dpp-383-foundations.css), --dpp-folio-strip-max (an
   optional cap on the width), --dpp-folio-paper / -ink / -line (colours).
   ========================================================================== */
/* the room: 6.3rem holds the strip with two-line titles; --dpp-turn-hint-room is the height of the swipe hint that
   dpp-reader-extras.js sets as the strip's first row on a touch screen (nothing, where there is no hint) */
:root { --dpp-folio-room: calc(6.3rem + var(--dpp-turn-hint-room, 0px)); }
.dpp-folio-strip {
    box-sizing: border-box;
    inline-size: min(var(--dpp-folio-strip-max, 100vw), calc(var(--sheet-column, min(47rem, 100% - 24px)) - 2 * var(--dpp-folio-inset, clamp(.45rem, 1.6vw, 1.25rem))));
    margin: .5rem auto 2rem;
    padding: 0;
}
/* under a standard article the strip takes the article's own measure and stands directly beneath it */
.post-full + .dpp-folio-strip { inline-size: min(var(--article-width, 47rem), 100% - 24px); margin-block-start: 0; }
/* the plain standard sheet (no plate) is on the London stock: the strip takes that sheet's exact measure and the
   sheet gives up its foot margin, so strip and sheet are one piece of paper (it stood 45 px below, 26 px narrower) */
.dpp-standard-broadsheet:not(.room-moth-paper):not(:has(.dpp-whole-sheet, .dpp-commonplace-reading-sheet)) + .dpp-folio-strip { inline-size: min(47rem, calc(100% - 1.5rem)); }
/* under a sheet that still prints on its plate's own cream (the Commonplace, Curiosities, Provisional Verse) the
   strip takes that cream, so that sheet and strip are one stock; drop these two lines when those plates are re-cut */
.post-full:is(.dpp-story-broadsheet, .dpp-oyster-cream-reader) + .dpp-folio-strip { --dpp-folio-paper: var(--dpp-oyster-ivory, #f4eadb); --dpp-folio-ink: var(--dpp-paper-ink, #211a13); }
.post-full:has(> .dpp-provisional-sheet) + .dpp-folio-strip { --dpp-folio-paper: #f2e8da; --dpp-folio-ink: #211a13; }
/* under a sheet of the American edition it takes that sheet's measure */
.dpp-folio-strip.dpp-folio-strip-american { inline-size: min(47rem, 100% - 24px); margin-block-start: -1.4rem; }
.dpp-folio-rule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-block: 3px double var(--dpp-folio-line, #3a332c);
    background-color: var(--dpp-folio-paper, #e6dfd3);
    color: var(--dpp-folio-ink, #191614);
}
.dpp-folio-rule > :is(a, span) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
    box-sizing: border-box;
    min-inline-size: 0;
    min-block-size: 56px;
    padding: .5rem .9rem .55rem;
    color: inherit;
    text-decoration: none;
}
.dpp-folio-rule > .dpp-folio-next { align-items: flex-end; border-left: 1px solid var(--dpp-folio-line, #3a332c); text-align: right; }
.dpp-folio-label { font: 400 .8rem/1.05 var(--type-smallcaps); letter-spacing: .14em; }
.dpp-folio-where::before { content: "\00b7\00a0"; }
.dpp-folio-title { font: italic 400 1rem/1.2 var(--type-body); text-wrap: balance; overflow-wrap: anywhere; }
.dpp-folio-rule > a:is(:hover, :focus-visible) .dpp-folio-title { text-decoration: underline; text-underline-offset: .16em; }
.dpp-folio-rule > a:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
@supports selector(:has(+ *)) {
    html .dpp-standard-broadsheet:not(.room-moth-paper):not(:has(.dpp-whole-sheet, .dpp-commonplace-reading-sheet)):has(+ .dpp-folio-strip) { margin-block-end: 0; }
    html main > .dpp-publication-sheet:has(+ .dpp-folio-strip:not(.dpp-folio-strip-american)) { margin-block-end: 0; padding-block-end: var(--dpp-folio-room); }
    main > .dpp-publication-sheet + .dpp-folio-strip:not(.dpp-folio-strip-american) { position: relative; block-size: 0; margin-block: 0 clamp(1rem, 3vw, 2.5rem); }
    main > .dpp-publication-sheet + .dpp-folio-strip:not(.dpp-folio-strip-american) > .dpp-folio-rule { position: absolute; inset: calc(.5rem - var(--dpp-folio-room)) 0 auto 0; }
    /* two lines of title at most here, so the strip always stands inside the room kept for it */
    main > .dpp-publication-sheet + .dpp-folio-strip:not(.dpp-folio-strip-american) .dpp-folio-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}
@media (max-width: 420px) {
    .dpp-folio-rule > :is(a, span) { padding-inline: .55rem; }
    .dpp-folio-where { display: none; }
}

/* 3.8.3.1 edit 2 (L.D., 11 Nov 2026): the DPP broadsheet's running text is justified, as the American one is.
   Centred matter (heads, verse, stamps) is not listed, so it stays centred. */
.dpp-broadsheet :is(p.copy, .commonplace-teaser > p, .dpp-continuing-intro > p, .dpp-continuing-collections li,
    .dpp-publication-copy > p, .london-story-text > p, .issue li p, .issue-authorship > p, .post-content > p),
.dpp-broadsheet .dpp-fill > .dpp-fill-item {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 5 2 2;
}

/* ---------- the free-membership row (L.D., 3.8.3.1 edits 15-22 and 33, 11 Nov 2026; folded in 3.8.5) ----------
   Full width under the ads and From the Publisher. The newsletter raven, a two-tone woodcut (PhotoCraft: desaturate,
   median 2, unsharp 160/2, threshold 95) printed with the page's multiply, stands at the left facing into the pitch.
   Withdrawn on the way and removed in the fold: edit 17's soft drop shadow and edit 18's halftone shadow (edit 19). */
.dpp-broadsheet .dpp-free-member {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0 clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    margin: .9rem 0 .6rem;
    padding: 1.1rem clamp(.8rem, 4vw, 3rem) 1.2rem;
    border-block: 4px double var(--rule, currentColor);
    text-align: left;
}
.dpp-broadsheet .dpp-free-member-raven-wrap { position: relative; display: block; inline-size: 190px; align-self: end; }
.dpp-broadsheet .dpp-free-member-raven { inline-size: 190px; block-size: auto; align-self: end; }
/* the selector outranks the foundations' engraving rule, which would otherwise replace the whole filter */
.dpp-rain-site .dpp-broadsheet [data-broadsheet-front] .dpp-free-member .dpp-free-member-raven {
    filter: grayscale(1) brightness(var(--engraving-lift, 1.07)) contrast(var(--engraving-bite, 1.18));
    inline-size: 100%;
}
.dpp-broadsheet .dpp-free-member-text { text-align: center; }
.dpp-broadsheet .dpp-free-member-kicker {
    font: 400 clamp(.72rem, 1.1vw, .85rem)/1.3 var(--type-smallcaps);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.dpp-broadsheet .dpp-free-member h2 {
    margin: .35rem 0 .55rem;
    font: 700 clamp(1.5rem, 3.6vw, 2.7rem)/1.02 var(--display-serif);
    letter-spacing: .01em;
}
.dpp-broadsheet .dpp-free-member-copy {
    max-inline-size: 46rem;
    margin-inline: auto;
    font-size: clamp(.95rem, 1.35vw, 1.08rem);
    line-height: 1.45;
    text-wrap: pretty;
}
.dpp-broadsheet .dpp-free-member-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    justify-content: center;
    align-items: center;
    margin-top: .9rem;
}
/* the call to action: a printer's pointing hand (the manicule a 1901 advertisement used, drawn as a shape since the
   glyph fell to a system symbol font) taps toward the button, and as it lands the button's double rule throws one
   ring of ink outwards. Every 4 s; on hover or focus the hand holds still. None of it runs under reduced motion. */
.dpp-broadsheet .dpp-free-member-cta { display: inline-flex; align-items: center; gap: .55rem; }
.dpp-broadsheet .dpp-free-member-hand { font: 400 2rem/1 "Old Standard TT", "Segoe UI Symbol", serif; display: inline-block; transform-origin: 80% 50%; }
.dpp-broadsheet .dpp-free-member-join {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    padding: 0 1.4rem;
    border: 3px double currentColor;
    font: 400 clamp(.85rem, 1.2vw, 1rem)/1 var(--type-smallcaps);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}
.dpp-broadsheet .dpp-free-member-join:is(:hover, :focus-visible) { background: var(--ink, #211a13); color: var(--paper, #ebe3d0); }
.dpp-broadsheet .dpp-free-member-signin {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    font-style: italic;
    color: inherit;
}
@media (prefers-reduced-motion: no-preference) {
    .dpp-broadsheet .dpp-free-member-hand { animation: dpp-manicule-tap 4s ease-in-out infinite; }
    .dpp-broadsheet .dpp-free-member-join { animation: dpp-ink-ring 4s ease-out infinite; }
    .dpp-broadsheet .dpp-free-member-cta:is(:hover, :focus-within) :is(.dpp-free-member-hand, .dpp-free-member-join) { animation: none; }
}
@keyframes dpp-manicule-tap {
    0%, 62%, 100% { transform: translateX(0); }
    70% { transform: translateX(7px); }
    76% { transform: translateX(0); }
    82% { transform: translateX(7px); }
    90% { transform: translateX(0); }
}
@keyframes dpp-ink-ring {
    0%, 69% { box-shadow: 0 0 0 0 rgba(33, 26, 19, 0); }
    70% { box-shadow: 0 0 0 0 rgba(33, 26, 19, .55); }
    95%, 100% { box-shadow: 0 0 0 9px rgba(33, 26, 19, 0); }
}
/* the typewritten label: hidden letters hold their place; a blinking bar follows the last struck key; once typed, the
   label blinks three times (0.5 s each) and then stays solid */
.dpp-broadsheet .dpp-free-member-join .dpp-typed { visibility: hidden; position: relative; white-space: pre; }
.dpp-broadsheet .dpp-free-member-join .dpp-typed.is-on { visibility: visible; }
.dpp-broadsheet .dpp-free-member-join .dpp-typed.is-caret::after {
    content: ""; position: absolute; right: -2px; top: 10%; bottom: 10%; border-right: 2px solid currentColor;
    animation: dpp-caret 0.9s steps(1) infinite;
}
@keyframes dpp-caret { 50% { opacity: 0; } }
.dpp-broadsheet .dpp-free-member-join.is-blinking .dpp-typed { animation: dpp-label-blink .5s steps(1) 3; }
@keyframes dpp-label-blink { 0% { opacity: 0; } 50% { opacity: 1; } }
@media (max-width: 600px) {
    .dpp-broadsheet .dpp-free-member { grid-template-columns: 1fr; justify-items: center; }
    .dpp-broadsheet .dpp-free-member-raven-wrap { inline-size: 110px; align-self: center; margin-block-end: .4rem; }
    .dpp-broadsheet .dpp-free-member-raven { inline-size: 110px; align-self: center; margin-block-end: .4rem; }
}
/* the row prints itself in view (edit 33, L.D.: "do the same for the dpp section"): the kicker draws in, the head's
   words are stamped down, the raven drops onto his scroll, the pitch rises. Keyframes dpp-slam / dpp-star-spin /
   dpp-rise live in dpp-american-edition.css (both sheets load on the front page). */
.dpp-broadsheet .dpp-free-member.dpp-anim-ready .dpp-word { display: inline-block; opacity: 0; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready .dpp-star { display: inline-block; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready :is(.dpp-free-member-kicker, .dpp-free-member-copy, .dpp-free-member-raven-wrap) { opacity: 0; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready.is-shown .dpp-free-member-kicker { animation: dpp-track-in .7s ease-out .05s forwards; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready.is-shown .dpp-star { animation: dpp-star-spin .9s ease-out .15s both; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready.is-shown .dpp-word { animation: dpp-slam .42s cubic-bezier(.2, 1.5, .4, 1) calc(.3s + var(--i) * .15s) forwards; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready.is-shown .dpp-free-member-raven-wrap { animation: dpp-perch .7s cubic-bezier(.3, 1.4, .5, 1) .5s forwards; }
.dpp-broadsheet .dpp-free-member.dpp-anim-ready.is-shown .dpp-free-member-copy { animation: dpp-rise .5s ease-out 1.6s forwards; }
@keyframes dpp-track-in { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .12em; } }
@keyframes dpp-perch { 0% { opacity: 0; transform: translateY(-2.5rem) rotate(-6deg); } 65% { opacity: 1; transform: translateY(.3rem) rotate(1deg); } 100% { opacity: 1; transform: none; } }
/* drawn shapes for the pointing hands and the stars (the glyphs fell to a system symbol font) */
.dpp-manicule { inline-size: 1.25em; block-size: .62em; vertical-align: middle; }
.dpp-star-svg { inline-size: .85em; block-size: .85em; vertical-align: -.08em; }
#pulp-stories .dpp-continuing-hand { font-size: 2rem; line-height: 1; }

/* 3.8.17 (12 Nov 2026): the bookstall gate reads from the rule down. Publications start under their rule instead of
   floating in the middle of a tall cell; two-line titles get room between their lines; the copy grows a little on wide
   screens; a tier's price phrase stays whole (it drops to its own line rather than splitting after the first price). */
.dpp-stall-gate > .dpp-specimen { justify-content: flex-start; }
.dpp-broadsheet .dpp-stall-gate .dpp-specimen h3 { line-height: 1.12; }
.dpp-stall-gate .dpp-specimen-copy { font-size: clamp(.72rem, .5rem + .3vw, .8rem); }
.dpp-stall-gate .dpp-ticket-tariff li { text-wrap: wrap; }
.dpp-stall-gate .dpp-ticket-tariff .pulp-price-terms { display: inline-block; }
