/* Section 17 newsletter archive. Builds on /blog/blog.css. */
.s17 .bx-layout { grid-template-columns: minmax(0, 760px); justify-content: center; }
.s17-kicker { margin: 18px 0 6px; font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-text, #2B4D5A); }
.s17 h1 + .post-byline { margin-top: 10px; }
.s17-subscribe { margin: 22px 0 8px; }

/* Issue list on /about/section-17/ */
.s17-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 28px; }
.s17-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line, #e3e8ea); }
.s17-item:first-child { padding-top: 0; border-top: 0; }
.s17-thumb img { display: block; width: 100%; height: auto; border-radius: 10px; }
.s17-item h2 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.25; }
.s17-item h2 a { color: inherit; text-decoration: none; }
.s17-item h2 a:hover { text-decoration: underline; }
.s17-item p { margin: 0 0 6px; }
.s17-item .s17-kicker { margin: 0 0 6px; }
.s17-date { font-size: 0.92rem; color: var(--c-text, #2B4D5A); }
@media (max-width: 640px) { .s17-item { grid-template-columns: 1fr; gap: 14px; } }

/* Images in the issue text */
.s17-figure { margin: 18px 0; }
.s17-figure img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.post-body li .s17-figure { margin: 14px 0; }

/* Video: loads from YouTube only after a click */
.s17-video { position: relative; margin: 26px auto 30px; background: #001E24; border-radius: 12px; overflow: hidden; }
.s17-video-short { aspect-ratio: 9 / 16; max-width: 360px; }
.s17-video-wide { aspect-ratio: 16 / 9; width: 100%; }
.s17-video iframe, .s17-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.s17-play { padding: 0; background: #001E24; cursor: pointer; }
.s17-play img { width: 100%; height: 100%; object-fit: contain; }
.s17-play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 30, 36, 0.82); box-shadow: 0 0 0 3px #06D29C; }
.s17-play-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.s17-play:hover .s17-play-icon, .s17-play:focus-visible .s17-play-icon { background: #06D29C; }

/* Read on LinkedIn, and previous / next */
.s17-linkedin { margin: 34px 0 0; font-weight: 600; }
.s17-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line, #e3e8ea); }
.s17-pager a { display: inline-flex; flex-direction: column; gap: 2px; min-height: 44px; justify-content: center; font-weight: 600; }
.s17-pager span { font-size: 0.8rem; font-weight: 500; color: var(--c-text, #2B4D5A); }
.s17-pager .s17-all { align-self: center; }
.s17-pager .s17-next { margin-left: auto; text-align: right; }

/* Long web addresses in the issue text wrap instead of widening the page */
.s17 .post-body p, .s17 .post-body li, .s17 .post-body a { overflow-wrap: anywhere; }

/* Cover image (same rules as the blog posts) */
.s17 .post-cover { margin: 26px 0 30px; }
.s17 .post-cover img { display: block; width: 100%; height: auto; border-radius: 8px; }
