/* Single-post only. Shared Bounty tokens, IRANSans and Astra chrome stay intact. */
.bounty-single {
  --article-surface: #fffdfa;
  --article-soft: #f2ebe2;
  --article-muted: #6e6055;
  --article-focus: #71492f;
  --bounty-reading-offset: 120px;
  background: var(--bounty-cream, #faf8f5);
  color: var(--bounty-ink, #302119);
}
.bounty-single #content { background: var(--bounty-cream, #faf8f5); }
.bounty-single #content > .ast-container { display: block; max-width: 1128px; padding-inline: 32px; }
.bounty-single #primary.bounty-article { float: none; width: 100%; margin: 0; padding: 28px 0 64px; border: 0; }
.bounty-article, .bounty-article *, .bounty-article *::before, .bounty-article *::after { box-sizing: border-box; }
.bounty-article [hidden] { display: none !important; }
.bounty-article :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--article-focus); outline-offset: 4px; }
.bounty-article :is(h1, h2, h3, p) { overflow-wrap: anywhere; }
.bounty-article a { color: var(--bounty-brown, #71492f); }
.bounty-article__breadcrumbs { max-width: 1000px; margin: 0 auto 26px; font-size: 12px; color: var(--article-muted); }
.bounty-article__breadcrumbs ol { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.bounty-article__breadcrumbs li { display: inline; margin: 0; }
.bounty-article__breadcrumbs li + li::before { content: '/'; display: inline-block; margin-inline-end: 10px; color: var(--article-muted); }
.bounty-article__breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.bounty-single #primary article.bounty-article__post { max-width: 1000px; margin: 0 auto; padding: 0 !important; border: 0; background: transparent; box-shadow: none; }
.bounty-article__header { max-width: 740px; margin: 0 auto 28px; outline: none; scroll-margin-top: var(--bounty-reading-offset); }
.bounty-article__category { display: inline-block; width: fit-content; padding: 3px 12px; border-radius: 20px; background: #e9dcc8; color: var(--bounty-ink, #302119) !important; font-size: 12px; line-height: 1.9; text-decoration: none; }
.bounty-article a.bounty-article__category:hover { text-decoration: underline; text-underline-offset: 4px; }
.bounty-article .bounty-article__header h1 { margin: 14px 0 18px; color: var(--bounty-ink, #302119); font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.65; }
.bounty-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--article-muted); font-size: 13px; line-height: 1.9; }
.bounty-article__meta > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.bounty-article__author-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--bounty-line, #e9e1d8); border-radius: 50%; color: var(--bounty-brown, #71492f); background: var(--article-surface); font-size: 14px; }
.bounty-article__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bounty-line, #e9e1d8); }
.bounty-article .bounty-article__action { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid #cdbcae; border-radius: 24px; background: transparent; color: var(--bounty-ink, #302119); font-size: 13px; line-height: 1.8; cursor: pointer; }
.bounty-article .bounty-article__action:hover { background: var(--article-soft); }
.bounty-article .bounty-article__action[aria-pressed="true"] { color: var(--bounty-brown, #71492f); background: #e9dcc8; border-color: var(--bounty-brown, #71492f); }
.bounty-article .bounty-article__action[aria-pressed="true"] svg { fill: currentColor; }
.bounty-article .bounty-article__action:disabled { cursor: wait; opacity: .65; }
.bounty-article__action svg { width: 18px; height: 18px; flex: none; }
.bounty-article__comments-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-inline-start: auto; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.bounty-article .bounty-article__help { margin: 10px 0 0; font-size: 12px; line-height: 1.9; color: var(--article-muted); }
.bounty-article__status { min-height: 24px; margin: 0; font-size: 13px; color: var(--bounty-brown, #71492f); line-height: 1.8; }
.bounty-article__reading-layout { max-width: 740px; margin-inline: auto; }
.bounty-article__body { min-width: 0; }
.bounty-article__image { margin: 0 0 30px; }
.bounty-article__image img { display: block; width: 100%; height: auto; max-height: 320px; aspect-ratio: 740 / 320; object-fit: cover; border-radius: 12px; }
.bounty-article .bounty-article__body .entry-content { color: var(--bounty-ink, #302119); font-size: 19px; line-height: 1.9; overflow-wrap: anywhere; }
.bounty-article__body .entry-content > * { max-width: 100%; }
.bounty-article__body .entry-content :is(.alignwide, .alignfull) { width: 100%; max-width: 100%; margin-inline: 0; }
.bounty-article__body .entry-content p { margin: 0 0 24px; }
.bounty-article__body .entry-content > p:first-child { font-size: 1.05em; }
.bounty-article .bounty-article__body :is(h2, h3, h4) { margin: 36px 0 16px; color: var(--bounty-ink, #302119); font-weight: 600; line-height: 1.8; scroll-margin-top: var(--bounty-reading-offset); }
.bounty-article .bounty-article__body h2 { font-size: 27px; }
.bounty-article .bounty-article__body h3 { font-size: 23px; }
.bounty-article .bounty-article__body h4 { font-size: 20px; }
.bounty-article__body :is(h2, h3) strong { font-weight: inherit; }
.bounty-article__body .entry-content a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bounty-article__body .entry-content a:hover { text-decoration-thickness: 2px; }
.bounty-article__body .entry-content :is(ul, ol) { margin: 0 0 24px; padding-inline-start: 28px; }
.bounty-article__body .entry-content li { margin-bottom: 8px; }
.bounty-article__body blockquote { margin: 28px 0; padding: 20px 24px; border: 0; border-inline-start: 3px solid var(--bounty-brown, #71492f); border-radius: 8px; background: var(--article-soft); font-size: inherit; }
.bounty-article__body blockquote p:last-child { margin-bottom: 0; }
.bounty-article__body :is(img, video, iframe) { max-width: 100%; }
.bounty-article__body :is(img, video) { height: auto; border-radius: 10px; }
.bounty-article__body figure { max-width: 100%; }
.bounty-article__body :is(figcaption, cite) { display: block; margin-top: 10px; color: var(--article-muted); font-size: 12px; line-height: 1.9; }
.bounty-article__body pre { max-width: 100%; overflow-x: auto; }
.bounty-article__body .wp-block-table { overflow-x: auto; }
.bounty-article__toc { grid-area: toc; min-width: 0; margin: 0 0 28px; padding: 16px; border: 1px solid var(--bounty-line, #e9e1d8); border-radius: 12px; background: var(--article-surface); font-size: 13px; line-height: 1.9; }
.bounty-article__toc summary { min-height: 32px; color: var(--bounty-ink, #302119); font-weight: 600; cursor: pointer; }
.bounty-article__toc ol { margin: 12px 0 0; padding: 0; list-style: none; }
.bounty-article__toc li { margin: 0; }
.bounty-article__toc a { display: block; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--bounty-line, #e9e1d8); color: var(--article-muted); text-decoration: none; }
.bounty-article__toc li:last-child a { border-bottom: 0; }
.bounty-article__toc a:hover, .bounty-article__toc a[aria-current="location"] { color: var(--bounty-brown, #71492f); text-decoration: underline; text-underline-offset: 4px; }
.bounty-article__toc-sub { padding-inline-start: 12px; }
.bounty-article__section { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--bounty-line, #e9e1d8); }
.bounty-article__section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.bounty-article .bounty-article__eyebrow { margin: 0 0 6px; font-size: 12px; line-height: 1.9; color: var(--article-muted); }
.bounty-article :is(.bounty-article__section, .bounty-article__newsletter) h2 { margin: 0 0 14px; font-size: 27px; font-weight: 600; line-height: 1.7; color: var(--bounty-ink, #302119); }
.bounty-article__section-heading h2 { margin-bottom: 0 !important; }
.bounty-article__section-heading > a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
/* The approved listing card geometry and palette, without its lead/hero rule. */
.bounty-article__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bounty-article__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #fff; border-radius: 12px; background: #fcfbf9; box-shadow: 0 6px 18px #40312412, 0 1px 4px #32251b0b; transition: box-shadow 160ms ease; }
.bounty-article__card:hover, .bounty-article__card:focus-within { box-shadow: 0 10px 22px #40312421; }
.bounty-article__card-image { display: grid; place-items: center; flex: none; aspect-ratio: 224 / 124; background: #eee4d8; color: var(--article-muted); font-size: 13px; }
.bounty-article__card-image img { display: block; width: 100%; height: 100%; aspect-ratio: 224 / 124; object-fit: cover; }
.bounty-article__card-body { display: flex; align-items: flex-start; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.bounty-article .bounty-article__card h3 { margin: 10px 0 16px; font-size: 19px; font-weight: 600; line-height: 1.8; }
.bounty-article__card h3 a { color: var(--bounty-ink, #302119); text-decoration: none; }
.bounty-article__card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bounty-article__card-body > p { margin: auto 0 0; color: var(--article-muted); font-size: 12px; line-height: 1.9; }
.bounty-article__comments { max-width: 740px; margin-inline: auto; scroll-margin-top: var(--bounty-reading-offset); }
.bounty-article__empty { padding: 18px 20px; border: 1px dashed #cdbcae; border-radius: 10px; color: var(--article-muted); background: var(--article-surface); font-size: 14px; line-height: 1.9; }
.bounty-article__comment-list { padding: 0; margin: 24px 0; list-style: none; }
.bounty-article__comment-list .children { margin: 0; padding-inline-start: 20px; list-style: none; }
.bounty-article__comment { padding: 20px 0; border-bottom: 1px solid var(--bounty-line, #e9e1d8); }
.bounty-article__comment-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 14px; }
.bounty-article__comment-meta time { color: var(--article-muted); font-size: 12px; }
.bounty-article__comment-text { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.bounty-article #respond { margin: 28px 0 0; padding: 0; border: 0; background: transparent; }
.bounty-article h3.comment-reply-title { margin: 0 0 12px; color: var(--bounty-ink, #302119); font-size: 21px; font-weight: 600; }
.bounty-article__comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; }
.bounty-article__comment-form > :is(p, div) { grid-column: 1 / -1; margin: 0; padding: 0; }
.bounty-article__comment-form > :is(.comment-form-author, .comment-form-email) { grid-column: auto; width: auto; float: none; }
.bounty-article__comment-form label, .bounty-article__newsletter label { display: block; margin-bottom: 8px; color: var(--bounty-ink, #302119); font-size: 14px; line-height: 1.8; }
.bounty-article :is(.bounty-article__comment-form, .bounty-article__newsletter) :is(input:not([type="submit"]), textarea) { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #a99686; border-radius: 8px; background: var(--article-surface); color: var(--bounty-ink, #302119); font-size: 16px; line-height: 1.8; box-shadow: none; }
.bounty-article__comment-form textarea { resize: vertical; }
.bounty-article :is(.bounty-article__comment-form .submit, .bounty-article__newsletter button) { min-height: 48px; padding: 11px 24px; border: 1px solid var(--bounty-brown, #71492f); border-radius: 24px; background: var(--bounty-brown, #71492f); color: #fffdfa; font-size: 14px; line-height: 1.8; cursor: pointer; }
.bounty-article__comment-form .submit:hover { background: #4b301f; }
#primary .bounty-article__comment-form .submit { min-height: 48px; padding: 11px 24px; border: 1px solid var(--bounty-brown, #71492f); border-radius: 24px; background: var(--bounty-brown, #71492f); color: #fffdfa; font-size: 14px; line-height: 1.8; }
#primary .bounty-article__comment-form .submit:hover { background: #4b301f; }
.bounty-article__comment-form .submit:disabled { opacity: .65; cursor: wait; }
.bounty-article__form-feedback { min-height: 30px; margin: 12px 0 0; color: var(--bounty-brown, #71492f); font-size: 14px; line-height: 1.9; }
.bounty-article__trap { display: none; }
.bounty-article__newsletter { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; margin-top: 40px; padding: 28px 32px; border: 1px solid var(--bounty-line, #e9e1d8); border-radius: 16px; background: var(--article-soft); }
.bounty-article__newsletter > div > p:not(.bounty-article__eyebrow) { margin: 0; color: var(--article-muted); font-size: 14px; line-height: 1.9; }
.bounty-article .bounty-article__newsletter h2 { font-size: 24px; }
.bounty-article__newsletter-fields { align-self: center; min-width: 0; }
.bounty-article__newsletter-fields > div { display: flex; gap: 8px; }
.bounty-article .bounty-article__newsletter input { flex: 1; }
.bounty-article .bounty-article__newsletter button { flex: none; padding-inline: 16px; border-radius: 8px; }
.bounty-article .bounty-article__newsletter :disabled { cursor: not-allowed; opacity: .7; }
.bounty-article .bounty-article__newsletter .bounty-article__help { font-size: 12px; margin-top: 10px; }
.bounty-article__privacy { display: inline-flex; align-items: center; min-height: 32px; margin-top: 4px; font-size: 12px; text-decoration: underline; }
.bounty-article__progress { position: fixed; inset: 0 0 auto; z-index: 1000; height: 4px; pointer-events: none; background: #e9dcc8; }
.bounty-article__progress > span { display: block; height: 100%; background: #4b301f; transform: scaleX(0); transform-origin: right center; }
.bounty-article__top { position: fixed; inset-inline-end: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 98; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #fffdfa; border-radius: 50%; background: var(--bounty-brown, #71492f); color: #fffdfa !important; box-shadow: 0 3px 12px #30211929; transition: background-color 160ms ease; }
.bounty-article__top:hover { background: #4b301f; }
.bounty-article__top svg { width: 22px; height: 22px; }
@media (min-width: 1101px) {
  .bounty-article__post:has(.bounty-article__toc) .bounty-article__header { margin-inline-start: 0; }
  .bounty-article__reading-layout--toc { display: grid; grid-template-columns: minmax(0, 740px) 204px; grid-template-areas: 'body toc'; align-items: start; gap: 56px; max-width: 1000px; }
  .bounty-article__reading-layout--toc .bounty-article__body { grid-area: body; }
  .bounty-article__toc { position: sticky; top: var(--bounty-reading-offset); max-height: calc(100dvh - var(--bounty-reading-offset) - 24px); overflow-y: auto; margin: 0; padding: 16px; }
}
@media (max-width: 900px) {
  .bounty-article__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bounty-article__newsletter { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .bounty-single #content > .ast-container { padding-inline: 20px; }
  .bounty-single #primary.bounty-article { padding-block: 20px 40px; }
  .bounty-article__breadcrumbs { margin-bottom: 20px; font-size: 11px; }
  .bounty-article .bounty-article__header h1 { font-size: 28px; margin-block: 12px 16px; }
  .bounty-article__meta { gap: 8px 14px; font-size: 12px; }
  .bounty-article__actions { gap: 8px; margin-top: 18px; }
  .bounty-article .bounty-article__action { padding-inline: 12px; font-size: 12px; }
  .bounty-article__comments-link { gap: 4px; font-size: 12px; }
  .bounty-article__header { margin-bottom: 20px; }
  .bounty-article__image { margin-bottom: 24px; }
  .bounty-article__image img { max-height: 220px; aspect-ratio: 335 / 200; }
  .bounty-article .bounty-article__body .entry-content { font-size: 17px; line-height: 1.9; }
  .bounty-article .bounty-article__body h2 { font-size: 23px; margin-top: 28px; }
  .bounty-article .bounty-article__body h3 { font-size: 20px; }
  .bounty-article__body .entry-content p { margin-bottom: 20px; }
  .bounty-article__section { margin-top: 36px; padding-top: 24px; }
  .bounty-article :is(.bounty-article__section, .bounty-article__newsletter) h2 { font-size: 23px; }
  .bounty-article__section-heading { align-items: center; gap: 8px; margin-bottom: 18px; }
  .bounty-article__section-heading > a { font-size: 12px; gap: 6px; flex: none; }
  .bounty-article__cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bounty-article__card-body { padding: 16px 18px 18px; }
  .bounty-article__comment-form { grid-template-columns: minmax(0, 1fr); }
  .bounty-article__newsletter { margin-top: 28px; padding: 24px 20px; }
  .bounty-article__newsletter-fields > div { flex-direction: column; }
  .bounty-article__top { inset-inline-end: max(12px, env(safe-area-inset-left)); }
}
@media (prefers-reduced-motion: reduce) {
  .bounty-article *, .bounty-article *::before, .bounty-article *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
