/*
Theme Name: TeleApps for Shahab
Description: قالب فرزند شهاب برای آرشیو اپلیکیشن‌ها، آموزش‌ها، اخبار و تبلیغات.
Author: TeleApps Explorer
Template: Shahab
Version: 1.1.0
Requires PHP: 8.1
Text Domain: teleapps-shahab
*/
/* Core app UI is supplied by TeleApps Core. These rules are Shahab-specific. */
.ta-shahab-wrapper{margin-top:15px;min-height:350px}
.ta-shahab-wrapper .page_body{box-sizing:border-box}
.ta-shahab-wrapper .ta-app-page,.ta-shahab-wrapper .ta-archive{margin:0 0 20px}
.ta-shahab-wrapper .ta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ta-shahab-wrapper .ta-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}
.ta-home-site{max-width:1400px;margin:20px auto 0;width:95%;clear:both}
.ta-home-news{margin:24px 0 30px}.ta-home-news h2,.ta-latest h1{font:700 21px/1.6 Yekan,Tahoma,sans-serif;margin:0 0 12px;color:#293241}
.ta-news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ta-news-item{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e9edf2}
.ta-news-item>a{display:block}.ta-news-item img{display:block;width:100%;height:165px;object-fit:cover}
.ta-news-body{padding:14px}.ta-news-body h3,.ta-news-body h2{font:700 15px/1.8 Yekan,Tahoma,sans-serif;color:#293241}.ta-news-body p{font-size:12px;line-height:1.9;margin-top:8px}
@media(max-width:1050px){.ta-news-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-shahab-wrapper .ta-grid{grid-template-columns:1fr}}
@media(max-width:750px){.ta-news-list{grid-template-columns:1fr}.ta-shahab-wrapper .two_warpper,.ta-shahab-wrapper .page_body{width:100%!important;float:none!important}.ta-shahab-wrapper .sidebar,.ta-shahab-wrapper .single_banner{display:none}}

/* Editorial archive: three native post categories with stable, short URLs. */
.ta-section-archive{padding-top:12px;padding-bottom:35px}
.ta-section-archive-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}
.ta-section-archive h1{font:700 23px/1.7 Yekan,Tahoma,sans-serif;color:#293241;margin:0}
.ta-section-archive .ta-news-list{margin:0 0 18px}
.ta-section-archive .ta-editorial-pagination{margin:20px 0;text-align:center}
.ta-section-archive .ta-editorial-pagination .page-numbers{display:inline-block;padding:6px 12px;background:#fff;margin:4px;border-radius:6px}
.ta-section-archive .ta-editorial-pagination .current{font-weight:bold;background:#e9eef6}
.ta-section-archive .ta-section-empty{padding:16px;background:white;border-radius:8px}
@media(max-width:750px){.ta-section-archive h1{font-size:20px}}
