/* The Pack Report - site theme matched to the newsletter design */
:root {
  --page: #EEECE6; --paper: #FBFAF7; --ink: #16181D; --ink-soft: #4A4E56; --slab: #E8E5DD; --rule: #DDD9CF;
  --red: #D7263D; --red-deep: #A31226; --gain: #0E8A6D; --cream: #FFF6E5;
  --display: 'Barlow Condensed', 'Avenir Next Condensed', 'Arial Narrow', sans-serif;
  --serif: Charter, Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'SF Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; }
body { background: var(--page); color: var(--ink); font: 16.5px/1.55 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: var(--red-deep); }
img { max-width: 100%; height: auto; }
.page { max-width: 720px; margin: 28px auto 60px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 0 44px 8px; }
@media (max-width: 600px) { .page { margin: 0; border: none; border-radius: 0; padding: 0 16px 8px; } }

/* masthead */
.masthead { text-align: center; padding: 38px 0 22px; border-bottom: 3px solid var(--ink); }
.masthead-title { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 50px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); text-decoration: none; text-wrap: balance; }
.masthead-title .red { color: var(--red); }
.dateline { margin-top: 10px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); }
.nav .nav-cta { color: #fff; background: var(--red); padding: 5px 12px 4px; border-radius: 2px; }
.nav .nav-cta:hover { background: var(--red-deep); border-bottom-color: transparent; }
.presented { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 0 20px; border-bottom: 1px solid var(--slab); }
.presented-label { font-family: var(--sans); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.presented-logo { line-height: 0; }
.presented-logo img { width: 200px; height: auto; display: block; }

/* shared pieces */
.tag { display: inline-block; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px 3px; border-radius: 2px; text-decoration: none; }
.cta { font-weight: 700; color: var(--red-deep); text-decoration: none; border-bottom: 2px solid var(--red); }
.cta:hover { background: #F9E3E6; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.content { padding: 6px 0 10px; }
.section-head, .hero-title, .card-title, .post-title { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.section-head { font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin: 34px 0 6px; padding-top: 18px; border-top: 1px solid var(--slab); }

/* home hero */
.hero { padding: 30px 0 10px; }
.hero-title { font-size: 38px; margin: 14px 0 10px; }
.hero-title a, .card-title a { color: var(--ink); text-decoration: none; }
.hero-title a:hover, .card-title a:hover { color: var(--red-deep); }
.hero-meta, .card-date, .post-meta { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hero-deck, .post-deck { margin: 14px 0 16px; font-size: 18px; font-style: italic; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }

/* issue cards */
.card { padding: 22px 0 18px; border-bottom: 1px solid var(--slab); }
.card:last-of-type { border-bottom: none; }
.card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-title { font-size: 26px; margin: 10px 0 8px; }
.card-excerpt { color: var(--ink-soft); max-width: 62ch; margin-bottom: 10px; }
.list-header { padding: 30px 0 6px; }
.empty { padding: 40px 0; color: var(--ink-soft); font-style: italic; }
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 8px; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.pagination a { color: var(--red-deep); font-weight: 700; text-decoration: none; }

/* post page */
.post-header { padding: 30px 0 6px; border-bottom: 1px solid var(--slab); margin-bottom: 8px; }
.post-title { font-size: 36px; margin: 12px 0 10px; }
.post-content { padding: 8px 0 20px; }
.post-content > p, .post-content > ul, .post-content > ol { max-width: 62ch; margin: 0 0 14px; }
.post-content > ul, .post-content > ol { padding-left: 22px; }
.post-content > h2 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.12; margin: 26px 0 10px; text-wrap: balance; }
.post-content > h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 22px 0 8px; }
.post-content blockquote { border-left: 4px solid var(--red); padding: 4px 0 4px 16px; color: var(--ink-soft); font-style: italic; margin: 0 0 14px; }
.post-content figure { margin: 0 0 18px; }
.post-content figcaption { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
/* editor tables only; an emailed issue's own tables (.mtable movers, .evtable pack room / index) keep their inline design */
.post-content table:not(.mtable):not(.evtable) { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--slab); margin: 6px 0 16px; font-size: 14.5px; }
.post-content table:not(.mtable):not(.evtable) th { font-family: var(--sans); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 9px 12px; text-align: left; }
.post-content table:not(.mtable):not(.evtable) td { padding: 9px 12px; border-top: 1px solid var(--slab); vertical-align: top; }
/* hide the empty "Past issues" heading until there is a second issue */
.section-head:last-child { display: none; }
.post-content code { font-family: var(--mono); font-size: 14px; background: #F2F0EA; padding: 1px 5px; border-radius: 3px; }
/* an emailed issue embedded as an HTML card: drop the inbox mock and the email frame, let the site masthead own the top */
.post-content .inbox-bar, .post-content .meta-note, .post-content .email > .masthead { display: none !important; }
.post-content .email { max-width: none !important; margin: 0 !important; border: none !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; }
.post-content .email .inner { padding: 0 !important; }
.post-content .email .presented { display: none !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 0 10px; border-top: 3px solid var(--ink); }
.post-nav-link { display: block; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.15; }
.post-nav-link span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.post-nav-link.next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { grid-column: 1; text-align: left; } .masthead-title { font-size: 38px; } .hero-title, .post-title { font-size: 30px; } }

/* footer + subscribe */
.footer { margin-top: 26px; border-top: 3px solid var(--ink); padding: 22px 0 28px; }
.subscribe { background: var(--ink); color: #F3F1EA; border-radius: 8px; padding: 20px 22px 18px; margin: 0 0 18px; }
.subscribe-tag { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #FF8A9A; }
.subscribe-copy { margin: 6px 0 12px; color: #D8D5CC; font-size: 15.5px; }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-input { flex: 1 1 240px; font: 15px var(--sans); padding: 10px 12px; border: 1px solid #3A3E47; border-radius: 4px; background: #0F1114; color: #fff; }
.subscribe-btn { font: 700 14px var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; border: none; border-radius: 4px; padding: 10px 18px; cursor: pointer; }
.subscribe-btn:hover { background: #F0344C; }
.subscribe-note { display: none; flex-basis: 100%; font-family: var(--sans); font-size: 13px; color: #B9BDC6; }
.subscribe-form.success [data-members-success] { display: block; }
.subscribe-form.error [data-members-error] { display: block; color: #FF8A9A; }
.disclosure { font-size: 14.5px; font-style: italic; color: var(--ink-soft); max-width: 66ch; margin-bottom: 10px; }
.colophon { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: #8A877E; }
.colophon a { color: #8A877E; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* story pages: link back to the issue; section titles inside an issue link to stories without changing their look */
.post-content .from-issue { font-size: 15px; color: var(--ink-soft); }
.post-content .email h2 a, .post-content .email .tag a, .post-content h2.linked a { color: inherit; text-decoration: none; }
.post-content .email h2 a:hover { color: var(--red-deep); }

/* Ghost editor (Koenig) cards */
.kg-width-wide { position: relative; width: calc(100% + 88px); margin-left: -44px; }
.kg-width-full { position: relative; width: calc(100% + 88px); margin-left: -44px; }
@media (max-width: 600px) { .kg-width-wide, .kg-width-full { width: calc(100% + 32px); margin-left: -16px; } }
.kg-gallery-container { display: flex; flex-direction: column; max-width: 100%; width: 100%; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; }
.kg-gallery-row:not(:first-of-type) { margin: 0.75em 0 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 0.75em; }
.kg-bookmark-card { width: 100%; margin: 0 0 18px; }
.kg-bookmark-container { display: flex; min-height: 120px; color: var(--ink); font-family: var(--sans); text-decoration: none; border: 1px solid var(--slab); border-radius: 6px; background: #fff; overflow: hidden; }
.kg-bookmark-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 16px; }
.kg-bookmark-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
.kg-bookmark-description { display: -webkit-box; overflow-y: hidden; margin-top: 8px; max-height: 48px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kg-bookmark-metadata { display: flex; flex-wrap: wrap; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.kg-bookmark-icon { width: 20px; height: 20px; margin-right: 6px; }
.kg-bookmark-author { line-height: 1.5; }
.kg-bookmark-author:after { content: "•"; margin: 0 6px; }
.kg-bookmark-publisher { overflow: hidden; max-width: 240px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.kg-bookmark-thumbnail { position: relative; flex-grow: 1; min-width: 33%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* home: story grid + issue list */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin: 6px 0 10px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.gcard { padding: 14px 0 12px; border-top: 1px solid var(--slab); }
.gcard-title { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.12; margin: 8px 0 6px; text-wrap: balance; }
.gcard-title a { color: var(--ink); text-decoration: none; }
.gcard-title a:hover { color: var(--red-deep); }
.gcard-excerpt { color: var(--ink-soft); font-size: 15px; }
.more { margin: 8px 0 4px; }
.issue-list { list-style: none; margin: 6px 0 10px; }
.issue-list li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--slab); }
.issue-list time { flex: 0 0 110px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.issue-list a { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.issue-list a:hover { color: var(--red-deep); }
.issue-list:empty { display: none; }
.section-head:last-child { display: block; }

/* story type filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.chip-link { font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border: 1.5px solid var(--ink); border-radius: 4px; padding: 6px 12px; }
.chip-link:hover { background: var(--slab); }
.chip-link.active { background: var(--ink); color: #fff; }
