/* Satta Matka - blog pages (index, category, post). Loaded after mrl.css. */
.feed-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.feed-cats::-webkit-scrollbar { display: none; }
.feed-cats a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--maroon); font-weight: 700; font-size: 11.5px; text-decoration: none; }
.feed-cats a .n { font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: var(--tint); color: var(--hero-2); }
.feed-cats a.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.feed-cats a.on .n { background: rgba(255, 255, 255, .2); color: #fff; }
@media (min-width: 640px) { .feed-cats { justify-content: center; flex-wrap: wrap; } }

.feed-list { display: grid; gap: 10px; margin-top: 8px; }
.feed-item { padding: 0; overflow: hidden; margin: 0; }
.feed-item.is-featured { border-top: 3px solid var(--title-2); }
.feed-img { display: block; }
.feed-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feed-body { padding: 12px 14px 14px; }
.feed-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.feed-meta .tag-pick { background: var(--amber-bg); color: var(--orange); }
.feed-title { margin: 0 0 6px; font-size: clamp(15.5px, 4.5vw, 19px); line-height: 1.25; }
.feed-title a { color: var(--maroon); text-decoration: none; }
.feed-title a:hover { text-decoration: underline; }
.feed-sum { margin: 0 0 8px; font-size: 12.5px; color: #333; }
.feed-more { font-weight: 700; color: var(--maroon-2); text-decoration: none; font-size: 11.5px; }
@media (min-width: 640px) {
  .feed-item.with-img:not(.is-featured) { display: grid; grid-template-columns: 220px 1fr; }
  .feed-item.with-img:not(.is-featured) .feed-img img { height: 100%; aspect-ratio: auto; }
}

/* single post */
.story { padding: 0; overflow: hidden; margin-top: 8px; border-top: 3px solid var(--maroon); }
.story-head { padding: 14px 14px 6px; }
.story-head h1 { margin: 4px 0 6px; font-size: clamp(19px, 5.4vw, 25px); line-height: 1.2; color: var(--hero-2); }
.story-lead { margin: 0; font-size: 13.5px; color: var(--muted); }
.story-img { margin: 0; }
.story-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.story-body { padding: 8px 14px 14px; font-size: 13.5px; line-height: 1.6; }
.story-body img { height: auto; border-radius: 8px; }
.story-body table { width: 100%; font-size: 12.5px; border: 1px solid var(--line); }
.story-body th, .story-body td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); text-align: left; }
.story-body th { background: var(--tint); }
.story-body blockquote { margin: 10px 0; padding: 8px 14px; border-left: 4px solid var(--maroon); background: var(--tint); border-radius: 0 8px 8px 0; }
.story-foot { padding: 10px 14px 14px; border-top: 1px solid var(--line-2); }
.share-set { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.share-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.share-set a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 11px; text-decoration: none; }
.share-set a.wa { background: #1fa855; }
.share-set a.tg { background: #1c8fc9; }
.share-set a.fb { background: #1b5fbf; }
.share-set a.x { background: #222; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pn-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); min-height: 60px; }
.pn-link.next { text-align: right; }
.pn-link.empty { visibility: hidden; }
.pn-link .cap { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--title-2); }
.pn-link .pn-title { font-weight: 700; font-size: 12px; color: var(--maroon); line-height: 1.3; }

/* comments */
.cmt-box { margin-top: 10px; }
.cmt-title { margin: 0 0 8px; font-size: 16px; color: var(--maroon); }
.cmt-count { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.cmt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmt-item { padding: 10px 12px; background: #f9f7fc; border: 1px solid var(--line-2); border-left: 4px solid var(--maroon-2); border-radius: 8px; }
.cmt-head { display: flex; gap: 8px; align-items: baseline; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.cmt-name { font-weight: 700; color: var(--maroon); font-size: 12.5px; }
.cmt-text { font-size: 12.5px; white-space: pre-line; overflow-wrap: anywhere; }
.cmt-form { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.cmt-form-title { margin: 0; font-size: 14.5px; color: var(--maroon); }
.error-list { margin: 0; padding-left: 18px; }
