/* =========================================================
   MAQOLA SAHIFASI (blog-details.css) — theme.css → site.css ustiga.
   Sahifa sarlavhasi (.page-head) site.css da. Matn ustuni o'qishga qulay
   enda (~780px); kompyuterda o'ngda "Boshqa maqolalar" paneli.
   ========================================================= */

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-deep); font-weight: 700; font-size: 0.95rem; margin-bottom: 22px; transition: gap 0.2s; }
.back-link:hover { gap: 12px; color: var(--primary-dark); }

.page-head h1 { max-width: 900px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--gray); font-size: 0.92rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta i { color: var(--primary); }

.article-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) {
    .article-layout { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 64px; align-items: start; }
    .article-aside { position: sticky; top: 110px; }
}
.article { max-width: 780px; }

.featured-image { margin: 0 0 32px; }
.featured-image img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--hair); }

.article-content { font-size: 1.075rem; line-height: 1.8; color: #2f3f3a; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; margin: 34px 0 14px; color: var(--ink); }
.article-content h3 { font-size: 1.3rem; font-weight: 700; margin: 26px 0 12px; color: var(--ink); }
.article-content ul, .article-content ol { margin-left: 24px; margin-bottom: 20px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 9px; }
.article-content img { max-width: 100%; border-radius: 12px; margin: 16px 0; }
.article-content a { color: var(--primary-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.article-aside { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 24px; }
.article-aside h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.recent-list li + li { border-top: 1px solid var(--hair); }
.recent-list a { display: block; padding: 14px 0; }
.recent-title { display: block; font-weight: 700; color: var(--ink); line-height: 1.4; transition: color 0.2s; }
.recent-list a:hover .recent-title { color: var(--primary-dark); }
.recent-date { display: block; font-size: 0.84rem; color: var(--gray); margin-top: 4px; }
.article-aside .btn { width: 100%; margin-top: 12px; }
