/* =====================================================================
 * tag.css — لاپەڕەی تاگ (tag.php)
 *   سەرپەڕەی خۆڵەمێشی + هەوری شین، تاگەکان وەک حەب (تاگی چالاک = شین)، کارتی ٣ ستوون، دوگمەی «زۆرتر»
 * ڕەنگەکان لە گۆڕاوەکانی single.css دێن (تێمی شەو/کاهی خۆکار)
 * ===================================================================== */
.lkt-page { direction: rtl; font-family: var(--lk-font); color: var(--lk-text); max-width: 1120px; margin: 0 auto; width: 100%; min-width: 0; box-sizing: border-box; padding: 0 1rem 3rem; position: relative; }
.lkt-head { text-align: center; padding: 7rem 0 2.4rem; }
.lkt-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .6rem; color: #0f8fd6; }
.lkt-count { display: inline-block; font-size: .85rem; color: var(--lk-muted); background: var(--lk-surface); border-radius: 99px; padding: .25rem .9rem; }

/* تاگەکان */
.lkt-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; max-width: 760px; margin: 0 auto 3.2rem; }
.lkt-tag { padding: .55rem 1.3rem; border-radius: 99px; background: var(--lk-surface); color: var(--lk-muted) !important; font-weight: 700; font-size: .92rem; text-decoration: none !important; box-shadow: 0 4px 14px -6px rgba(0,0,0,.12); transition: background .2s, color .2s, transform .2s; }
.lkt-tag:hover { transform: translateY(-2px); color: var(--lk-text) !important; }
.lkt-tag.is-on { background: #1296e8; color: #fff !important; box-shadow: 0 8px 18px -8px rgba(18,150,232,.7); }

/* کارتەکان: ٣ ستوون */
.lkt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 2.4rem; }
.lkt-card { position: relative; min-width: 0; }
.lkt-card:nth-child(n) { animation: lktIn .5s both; }
.lkt-img { display: block; aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--lk-surface); }
.lkt-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.lkt-card:hover .lkt-img img { transform: scale(1.04); }
/* کادری سپی ئاڤاتار + ناو لە گۆشەی خوارەوەی وێنە */
.lkt-by { display: flex; align-items: center; gap: .6rem; width: max-content; max-width: 70%; margin: -2.4rem 0 0; position: relative; background: var(--lk-card); padding: .5rem 1rem .5rem 1.4rem; color: var(--lk-text) !important; font-size: .85rem; font-weight: 700; text-decoration: none !important; }
.lkt-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.lkt-card h3 { position: relative; font-size: 1.1rem; font-weight: 800; line-height: 1.9; margin: 1.1rem 0 .4rem; padding-inline-start: 3.4rem; }
.lkt-card h3::before { content: ""; position: absolute; inset-inline-start: 0; top: .95em; width: 2.6rem; height: 2px; background: #f2c94c; }
.lkt-card h3 a { color: inherit !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lkt-card p { margin: 0; padding-inline-start: 3.4rem; color: var(--lk-muted); font-size: .86rem; line-height: 2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes lktIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* دوگمەی «زۆرتر» */
.lk-more-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.lk-more.is-loading { opacity: .65; pointer-events: none; }
.lk-more.is-loading .fa-arrow-down { animation: lktSpin .9s linear infinite; }
@keyframes lktSpin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .lkt-page .lk-more { background: var(--lk-accent-soft); border-color: var(--lk-line); color: var(--lk-accent-text); }
.lkt-ns { text-align: center; }

@media (max-width: 860px) { .lkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.4rem; } }
@media (max-width: 560px) {
  .lkt-grid { grid-template-columns: minmax(0, 1fr); }
  .lkt-head { padding-top: 5.6rem; }
  .lkt-tags { gap: .6rem; } .lkt-tag { padding: .45rem 1rem; font-size: .85rem; }
}

/* هێڵی جیاکەرەوە لە نێوان تاگەکان و بابەتەکان + بۆشایی */
.lkt-page > .lk-viewbar-line { display: block; height: 2px; border-radius: 2px; margin: 0 0 3rem; background: linear-gradient(90deg, transparent, var(--lk-line) 15%, var(--lk-text) 50%, var(--lk-line) 85%, transparent); opacity: .85; }
.lkt-tags { margin-bottom: 2.4rem; }
