/* Flash on the desk (partials/desk-flash.hbs, desk-flash.js). The desk's own glass cards, set as a wire: compact
   cards, image beside the text, the story day in gold above each headline. Images stay in full. */
.daily-desk__flash[hidden] { display: none; }
.daily-desk__flash .daily-desk__slot-header { flex-wrap: wrap; }
.daily-desk__flash-note { margin-inline-start: auto; max-width: 44ch; color: rgba(236, 240, 246, 0.62); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.35; text-align: end; } /* Carlos 2026-10-11: a sentence that explains Flash, not a shouted kicker */

.daily-desk__target--flash { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
.daily-desk__target--flash > .post-card { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); align-items: stretch; }
.daily-desk__target--flash > .post-card:not(:has(.post-card__image)) { grid-template-columns: minmax(0, 1fr); }
.daily-desk__target--flash .post-card__image { width: 100%; height: 100%; min-height: 128px; aspect-ratio: auto; }
.daily-desk__target--flash .post-card__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 1rem 1.15rem; }
.daily-desk__target--flash .post-card__title { font-size: 1.08rem; line-height: 1.3; }
.daily-desk__target--flash .post-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.daily-desk__target--flash .post-card__tag { display: none; }
.daily-desk__target--flash .ca { top: 0.6rem; right: auto; left: 0.6rem; } /* the card's save and menu ride on the image, clear of the headline */

/* The story's day ("Thu, Oct 9"): gold, tabular, above the headline. */
.dd-flash-time { display: block; margin-bottom: 0.35rem; color: var(--noble-gold-light, #e5c558); font: 600 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
    .daily-desk__target--flash { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    /* An odd count (1, 3, 5, 7...) leaves no hole: the last piece takes the full row as a banner (Carlos, 2026-10-06),
       its photo across the whole card in a 21:9 band like Earlier Dispatches, the story beneath it. */
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .post-card__image { height: auto; min-height: 0; aspect-ratio: 21 / 9; }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .post-card__image img { object-position: center 40%; }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .post-card__body { padding: 1.4rem 1.75rem 1.5rem; }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .post-card__title { font-size: 1.45rem; }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .post-card__excerpt { -webkit-line-clamp: 3; }
    .daily-desk__target--flash > .post-card:last-child:nth-child(odd) .ca { top: 0.8rem; left: 0.8rem; }
    .daily-desk__target--flash .post-card__image { min-height: 168px; }
    .daily-desk__target--flash .post-card__body { padding: 1.25rem 1.5rem; }
    .daily-desk__target--flash .post-card__title { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .daily-desk__target--flash > .post-card { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
    .daily-desk__target--flash .post-card__image { min-height: 104px; }
    .daily-desk__target--flash .post-card__body { padding: 0.8rem 0.9rem; }
    .daily-desk__target--flash .post-card__title { font-size: 0.98rem; }
    .daily-desk__target--flash .post-card__excerpt { display: none; }
    .daily-desk__target--flash .post-card__meta > span:first-child { display: none; }
    .daily-desk__flash-note { flex-basis: 100%; margin-inline-start: 0; max-width: none; text-align: start; }
}

/* A Nexus Map alone in its row (no weekly map beside it) sits like the Daily Scorecard (05): image on the left, the story
   on the right (Carlos, 2026-10-07; same values and breakpoint as forge.css's .daily-desk__target--single rules). */
@media (min-width: 640px) and (min-aspect-ratio: 3/5) {
    .daily-desk__nexus:not(.is-paired) > .daily-desk__target > .post-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
    .daily-desk__nexus:not(.is-paired) > .daily-desk__target > .post-card .post-card__image { width: 100%; height: 100%; min-height: 340px; aspect-ratio: auto; }
    .daily-desk__nexus:not(.is-paired) > .daily-desk__target > .post-card .post-card__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 2.5rem; }
    .daily-desk__nexus:not(.is-paired) > .daily-desk__target > .post-card .post-card__title { font-size: 1.55rem; }
}
