/* Blog index, archives, post cards, single post. Loads after main.css. */

/* Page head (blog index and archives) */
.sh-blog-head { padding-block: 64px 8px; }
.sh-blog-head__title { font-size: 44px; margin: 0 0 12px; }
.sh-blog-head__sub { margin: 0; font-size: 17px; line-height: 1.7; color: var(--sh-muted); }
.sh-blog-head__sub a { color: var(--sh-gold-deep); }

/* Featured (latest) post on the index */
.sh-blog-list { padding-block: 48px 96px; }
.sh-featured { display: grid; grid-template-columns: 720px minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.sh-featured__media { display: block; overflow: hidden; }
.sh-featured__media img { width: 100%; height: 420px; object-fit: cover; transition: transform .6s var(--sh-ease); }
.sh-featured:hover .sh-featured__media img { transform: scale(1.03); }
.sh-featured__body { display: flex; flex-direction: column; gap: 16px; padding-bottom: 12px; }
.sh-featured__title { margin: 0; font-size: 32px; line-height: 1.3; }
.sh-featured__title a { color: var(--sh-ink); }
.sh-featured__title a:hover { color: var(--sh-gold-deep); }
.sh-featured__excerpt { margin: 0; font-size: 16px; line-height: 1.7; color: var(--sh-muted); }
.sh-featured__action { margin: 0; }
@media (max-width: 1100px) { .sh-featured { grid-template-columns: 1fr; gap: 24px; } .sh-featured__media img { height: auto; aspect-ratio: 12/7; } }

/* Grids */
.sh-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.sh-post-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
@media (max-width: 900px) { .sh-blog-grid, .sh-post-grid--archive { grid-template-columns: 1fr; gap: 40px; } }

/* Cards (index, archives, 404) */
.sh-card__media img { transition: transform .6s var(--sh-ease); }
.sh-blog-grid .sh-card__media { aspect-ratio: 13/7; }
.sh-post-grid--archive .sh-card__media { aspect-ratio: 34/25; }
.sh-card__cats { display: flex; gap: 10px; align-items: baseline; }
.sh-card__cats .sh-eyebrow { margin: 0; }
.sh-card__slash { font: 400 13px/1.4 var(--sh-mont); color: var(--sh-gold-deep); }
.sh .sh-card__title { margin: 0; font: 400 26px/1.3 var(--sh-serif); }
.sh-post-grid--archive .sh-card__title, .sh-404 .sh-card__title { font-size: 24px; }
.sh-card__excerpt { margin: 0; font-size: 16px; line-height: 1.7; color: var(--sh-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Category pills */
.sh-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 56px; }
.sh-pill { font: 600 13px/1 var(--sh-mont); letter-spacing: 2px; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--sh-line); color: var(--sh-text); background: var(--sh-white); transition: border-color var(--sh-t), color var(--sh-t), background var(--sh-t); }
.sh-pill:hover { border-color: var(--sh-gold); color: var(--sh-gold-deep); }
.sh-pill.is-current { border-color: var(--sh-gold); color: var(--sh-gold-deep); background: var(--sh-cream); }

/* Pagination */
.sh-pages { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 48px; }
.sh-pages__item { font: 400 14px/1 var(--sh-mont); color: var(--sh-muted); padding: 6px 4px; border-bottom: 2px solid transparent; }
.sh-pages__item.current { color: var(--sh-ink); font-weight: 600; border-bottom-color: var(--sh-gold); }
.sh-pages__item.prev, .sh-pages__item.next { font-size: 22px; padding: 0; border: 0; }
.sh-pages__item:hover { color: var(--sh-ink); }
.sh-search-plain .sh-search input { border-color: var(--sh-line); }

/* Single post */
.sh-post__head { padding-block: 0 8px; }
.sh-post__media img { width: 100%; height: 680px; object-fit: cover; }
@media (max-width: 900px) { .sh-post__media img { height: auto; aspect-ratio: 3/2; } }
.sh-post__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-top: 22px; font: 400 13px/1.6 var(--sh-mont); letter-spacing: 2px; text-transform: uppercase; color: var(--sh-gold-deep); }
.sh-post__meta a { color: var(--sh-gold-deep); }
.sh-post__sep { color: var(--sh-muted); }
.sh-post__title { font-size: 44px; line-height: 1.2; margin: 22px 0 0; }
.sh-post__body-wrap { padding-block: 32px 80px; }
.sh-post__body { max-width: 1000px; margin: 0 auto; }
.sh-prose { font-size: 17px; line-height: 1.8; }
.sh-prose p { margin: 0 0 18px; }
.sh-prose h2 { font-size: 34px; margin: 28px 0 8px; }
.sh-prose h3 { font-size: 24px; margin: 22px 0 4px; }
.sh-prose h4 { font-family: var(--sh-serif); font-weight: 400; font-size: 22px; margin: 20px 0 4px; color: var(--sh-ink); }
.sh-prose ul, .sh-prose ol { margin: 0 0 18px; padding-left: 22px; }
.sh-prose li { margin-bottom: 6px; }
.sh-prose a { color: var(--sh-gold-deep); text-decoration: none; }
.sh-prose a:hover { color: var(--sh-gold); text-decoration: underline; text-underline-offset: 3px; }
.sh-prose img { max-width: 100%; height: auto; margin: 0; }
.sh-prose > img, .sh-prose p > img { margin: 12px 0 18px; }
.sh-prose-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0 28px; }
.sh-prose-gallery img { width: 100%; height: 340px; object-fit: cover; margin: 0; }
@media (max-width: 700px) { .sh-prose-gallery { grid-template-columns: 1fr; } .sh-prose-gallery img { height: auto; } }
.sh-prose blockquote { border-left: 3px solid var(--sh-gold); margin: 20px 0; padding: 4px 0 4px 22px; font-family: var(--sh-serif); font-size: 22px; line-height: 1.5; color: var(--sh-ink); }
.sh-prose .sh-tatsu-figure { margin: 24px auto; }
.sh-prose .sh-tatsu-figure--left { margin-left: 0; }
.sh-prose .sh-tatsu-figure--right { margin-right: 0; }
.sh-prose .sh-tatsu-figure img { width: 100%; height: auto; margin: 0; }
.sh-prose .sh-tatsu-button { margin: 24px 0; }
.sh-prose .sh-tatsu-button a, .sh-prose .sh-cta-block a.sh-btn { text-decoration: none; color: var(--sh-white); }
.sh-prose .sh-cta-block { background: var(--sh-cream); padding: 40px 36px; margin: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sh-prose .sh-cta-block h3 { margin: 0; }
.sh-prose .sh-video { margin: 24px 0; }
.sh-prose .sh-video--file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-prose hr.sh-tatsu-space { border: 0; height: 24px; margin: 0; }
.sh-post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; margin-top: 16px; border-top: 1px solid var(--sh-line); }
.sh-post__tags-label { font: 400 13px/1 var(--sh-mont); letter-spacing: 3px; text-transform: uppercase; color: var(--sh-muted); }
.sh-tag { font: 400 13px/1 var(--sh-mont); letter-spacing: 2px; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--sh-line); color: var(--sh-text); }
.sh-tag:hover { border-color: var(--sh-gold); color: var(--sh-gold-deep); }
