#ar-page{font-family:'Vazirmatn',Tahoma,sans-serif;background:#faf6ed;color:#22301f;line-height:1.8;direction:rtl;isolation:isolate;overflow-x:clip;max-width:100%}
#ar-page *,#ar-page *::before,#ar-page *::after{box-sizing:border-box;margin:0;padding:0}
#ar-page a{text-decoration:none;color:inherit}
#ar-page img{max-width:100%;display:block}
#ar-page button{font-family:inherit;cursor:pointer;border:none;background:none;outline:none}
#ar-page .container{width:min(1200px,92%) !important;margin-inline:auto !important;max-width:100%}
#ar-page .icon{width:1em;height:1em;fill:currentColor;display:inline-block;vertical-align:middle}

/* نوار بالا، هدر، منو، drawer - دقیقاً مطابق single */
#ar-page .top-bar{background:#0f2a18;border-bottom:1px solid rgba(236,217,160,.12)}
#ar-page .top-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0}
#ar-page .top-bar-langs{display:flex;align-items:center;gap:8px}
#ar-page .lang-btn{padding:4px 16px;border-radius:999px;border:1px solid rgba(236,217,160,.35);color:#ecd9a0;font-size:.75rem;font-weight:700;transition:.35s}
#ar-page .lang-btn:hover{background:#c9a227;color:#241b09;border-color:#c9a227}
#ar-page .top-bar-social{display:flex;align-items:center;gap:14px}
#ar-page .top-bar-social a{color:#ecd9a0;display:grid;place-items:center;transition:.35s}
#ar-page .top-bar-social a:hover{color:#d8b44a;transform:translateY(-2px)}
#ar-page .top-bar-social .icon{width:16px;height:16px}
#ar-page .top-bar-social img{width:18px;height:18px;object-fit:contain;border-radius:4px}
@media(max-width:767px){#ar-page .top-bar{display:none}}

#ar-page .header-hero{position:relative;overflow:hidden;color:#fff;background-color:#14381f;
  background-image:linear-gradient(to left,rgba(20,56,31,0.9) 0%,rgba(20,56,31,.9) 60%,rgba(20,56,31,.9) 100%),url("/splash/images/hero.jpg");
  background-position:center center;background-size:auto,cover;background-repeat:no-repeat}
#ar-page .header-hero::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.08;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 8l5.5 14.5L48 28l-14.5 5.5L28 48l-5.5-14.5L8 28l14.5-5.5z' fill='none' stroke='%23d8b44a' stroke-opacity='.6'/%3E%3C/svg%3E");
  background-size:56px}
#ar-page .header-hero-inner{position:relative;z-index:2;display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding:38px 0;height:260px}
#ar-page .brand-area{display:flex;align-items:center;gap:16px}
#ar-page .brand-logo{width:80px;height:80px;border-radius:50%;overflow:hidden;flex-shrink:0;background:linear-gradient(135deg,#d8b44a,#a9851c);
  display:grid;place-items:center;border:3px solid #ecd9a0;box-shadow:0 8px 22px rgba(0,0,0,.3)}
#ar-page .brand-logo img{width:100%;height:100%;object-fit:cover}
#ar-page .brand-text h1{font-size:clamp(1.25rem,2.6vw,1.85rem);font-weight:900;color:#fff;line-height:1.5;text-shadow:0 2px 12px rgba(10,26,15,.5)}
#ar-page .brand-text span{color:#ecd9a0;font-size:.82rem;font-weight:700}
#ar-page .nav-toggle{display:none;flex-direction:column;gap:5px;width:46px;height:46px;margin-inline-start:auto;
  align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(236,217,160,.4);background:rgba(255,255,255,.08);transition:.35s}
#ar-page .nav-toggle span{width:20px;height:2px;background:#ecd9a0;border-radius:2px;transition:.35s}
#ar-page.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
#ar-page.nav-open .nav-toggle span:nth-child(2){opacity:0}
#ar-page.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

#ar-page .overlay{position:fixed;inset:0;background:rgba(10,26,15,.6);z-index:900;backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:.4s}
#ar-page.nav-open .overlay{opacity:1;visibility:visible}
#ar-page .mobile-drawer{position:fixed;top:0;bottom:0;right:0;width:min(300px,85%);z-index:950;
  background:linear-gradient(200deg,#234f2e,#14381f);transform:translateX(105%);transition:transform .5s cubic-bezier(.22,1,.36,1);
  padding:20px 18px;display:flex;flex-direction:column;gap:3px;overflow-y:auto}
#ar-page.nav-open .mobile-drawer{transform:translateX(0)}
#ar-page .drawer-brand{display:flex;align-items:center;gap:12px;color:#fff;font-weight:800;
  padding-bottom:14px;margin-bottom:6px;border-bottom:1px solid rgba(236,217,160,.2)}
#ar-page .drawer-brand .brand-logo{width:44px;height:44px;border-width:2px}
#ar-page .mobile-drawer a{display:flex;align-items:center;gap:12px;color:#eef3ec;
  padding:10px 13px;border-radius:11px;font-weight:600;font-size:.88rem;transition:.35s}
#ar-page .mobile-drawer a .icon{width:16px;height:16px;color:#d8b44a}
#ar-page .mobile-drawer a:hover{background:rgba(255,255,255,.08);color:#ecd9a0}

#ar-page .main-nav{position:sticky;top:0;z-index:1000;background:#234f2e;border-bottom:2px solid #c9a227;box-shadow:0 4px 16px rgba(20,56,31,.28)}
#ar-page .nav-list{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1px}
#ar-page .nav-link{display:flex;align-items:center;gap:5px;padding:12px 10px;color:rgba(250,246,237,.9);
  font-size:.82rem;font-weight:700;position:relative;transition:.35s;white-space:nowrap}
#ar-page .nav-link .icon{width:13px;height:13px;color:#d8b44a;transition:.35s}
#ar-page .nav-link::after{content:"";position:absolute;bottom:6px;inset-inline:11px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,#d8b44a,#a9851c);transform:scaleX(0);transition:.35s}
#ar-page .nav-link:hover,#ar-page .nav-link.active{color:#ecd9a0}
#ar-page .nav-link:hover::after,#ar-page .nav-link.active::after{transform:scaleX(1)}

/* سربرگ آرشیو */
#ar-page .archive-head{padding:50px 0 30px;text-align:center}
#ar-page .archive-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 18px;border-radius:999px;
  background:rgba(201,162,39,.15);border:1px solid rgba(201,162,39,.4);color:#a9851c;font-size:.78rem;font-weight:800;margin-bottom:14px}
#ar-page .archive-badge .icon{width:14px;height:14px}
#ar-page .archive-title{font-size:clamp(1.4rem,3vw,2rem);font-weight:900;color:#1a4b2b;margin-bottom:10px}
#ar-page .archive-desc{max-width:700px;margin:0 auto;color:#6b7a68;font-size:.9rem;line-height:2}
#ar-page .orn{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;color:#c9a227}
#ar-page .orn::before,#ar-page .orn::after{content:"";width:56px;height:1px}
#ar-page .orn::before{background:linear-gradient(90deg,transparent,#c9a227)}
#ar-page .orn::after{background:linear-gradient(90deg,#c9a227,transparent)}

#ar-page .archive-wrap{padding:0 0 50px}
#ar-page .posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
#ar-page .post-card{background:#fff;border:1px solid #eadfc4;border-radius:16px;overflow:hidden;
  transition:.35s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column}
#ar-page .post-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(26,75,43,.14);border-color:rgba(201,162,39,.5)}
#ar-page .post-thumb{position:relative;height:180px;background:linear-gradient(145deg,#234f2e,#14381f);
  display:grid;place-items:center;overflow:hidden}
#ar-page .post-thumb img{width:100%;height:100%;object-fit:cover;transition:.5s}
#ar-page .post-card:hover .post-thumb img{transform:scale(1.08)}
#ar-page .post-thumb .icon{width:48px;height:48px;color:rgba(236,217,160,.6)}
#ar-page .post-cat{position:absolute;top:12px;right:12px;padding:3px 12px;border-radius:999px;
  background:#c9a227;color:#241b09;font-size:.66rem;font-weight:800}
#ar-page .post-body{padding:18px;flex:1;display:flex;flex-direction:column}
#ar-page .post-meta{display:flex;align-items:center;gap:14px;margin-bottom:10px}
#ar-page .post-meta span{display:flex;align-items:center;gap:5px;font-size:.72rem;color:#6b7a68}
#ar-page .post-meta .icon{width:12px;height:12px;color:#c9a227}
#ar-page .post-body h3{font-size:1rem;font-weight:800;color:#1a4b2b;line-height:1.7;margin-bottom:10px}
#ar-page .post-body h3 a{transition:.3s}
#ar-page .post-body h3 a:hover{color:#a9851c}
#ar-page .post-excerpt{font-size:.82rem;color:#6b7a68;line-height:1.9;flex:1}
#ar-page .post-more{margin-top:14px;display:inline-flex;align-items:center;gap:6px;
  color:#c9a227;font-size:.8rem;font-weight:800;transition:.3s}
#ar-page .post-more:hover{gap:10px;color:#a9851c}
#ar-page .post-more .icon{width:12px;height:12px;transform:scaleX(-1)}

#ar-page .empty-state{text-align:center;padding:60px 20px;background:#fff;border:1px dashed #e3d7b8;border-radius:18px}
#ar-page .empty-state .icon{width:56px;height:56px;color:#d8b44a;margin-bottom:16px}
#ar-page .empty-state h3{font-size:1.1rem;font-weight:900;color:#1a4b2b;margin-bottom:8px}
#ar-page .empty-state p{color:#6b7a68;font-size:.88rem;margin-bottom:20px}
#ar-page .btn-home{display:inline-flex;align-items:center;gap:8px;padding:11px 28px;border-radius:12px;
  background:linear-gradient(135deg,#c9a227,#a9851c);color:#fff;font-weight:800;font-size:.88rem;transition:.35s}
#ar-page .btn-home:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(201,162,39,.4)}

/* صفحه‌بندی با تعداد مطالب */
#ar-page .pagination-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:40px;flex-wrap:wrap}
#ar-page .archive-count{font-size:.88rem;color:#a9851c;font-weight:800}
#ar-page .pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
#ar-page .page-numbers{min-width:40px;height:40px;display:grid;place-items:center;border-radius:10px;
  background:#fff;border:1.5px solid #e3d7b8;color:#234f2e;font-weight:800;font-size:.85rem;padding:0 12px;transition:.35s}
#ar-page .page-numbers:hover{border-color:#c9a227;color:#a9851c;transform:translateY(-2px)}
#ar-page .page-numbers.current{background:linear-gradient(135deg,#234f2e,#1a4b2b);color:#ecd9a0;border-color:#234f2e;
  box-shadow:0 6px 16px rgba(35,79,46,.3)}
#ar-page .page-numbers.dots{border:none;background:none}

/* فوتر */
#ar-page .site-footer{background:linear-gradient(160deg,#1a4b2b,#14381f);color:rgba(250,246,237,.85)}
#ar-page .footer-grid{display:grid !important;grid-template-columns:1.3fr 1fr 1.2fr !important;gap:30px;padding:38px 0 26px}
#ar-page .footer-col h4{color:#d8b44a;font-size:.95rem;font-weight:900;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(236,217,160,.2)}
#ar-page .footer-col a{display:block;padding:5px 0;font-size:.82rem;color:rgba(250,246,237,.8);transition:.35s}
#ar-page .footer-col a:hover{color:#ecd9a0;transform:translateX(-4px)}
#ar-page .footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px}
#ar-page .footer-brand .brand-logo{width:44px;height:44px;border-width:2px}
#ar-page .footer-brand strong{color:#fff;font-size:.95rem}
#ar-page .footer-about p{font-size:.8rem;line-height:1.9;color:rgba(250,246,237,.7)}
#ar-page .footer-contact p{display:flex;align-items:center;gap:10px;padding:5px 0;font-size:.8rem}
#ar-page .footer-contact .icon{width:14px;height:14px;color:#d8b44a;flex-shrink:0}
#ar-page .footer-bottom{border-top:1px solid rgba(236,217,160,.15);padding:14px 0;text-align:center}
#ar-page .footer-bottom p{font-size:.78rem;color:rgba(250,246,237,.7)}
#ar-page .footer-bottom b{color:#ecd9a0}

#ar-page .to-top{position:fixed;bottom:22px;left:22px;width:44px;height:44px;border-radius:12px;z-index:700;
  background:linear-gradient(135deg,#d8b44a,#a9851c);color:#241b09;display:grid;place-items:center;
  box-shadow:0 10px 24px rgba(201,162,39,.4);opacity:0;visibility:hidden;transform:translateY(14px);transition:.35s}
#ar-page .to-top.show{opacity:1;visibility:visible;transform:none}
#ar-page .to-top svg{width:17px;height:17px}

@media(max-width:900px){
  #ar-page .main-nav{display:none}
  #ar-page .nav-toggle{display:flex}
  #ar-page .header-hero-inner{flex-direction:column;text-align:center;gap:12px;height:auto}
  #ar-page .brand-area{flex-direction:column}
  #ar-page .pagination-wrap{flex-direction:column;align-items:center}
}
@media(max-width:600px){
  #ar-page .footer-grid{grid-template-columns:1fr !important;gap:22px}
  #ar-page .posts-grid{grid-template-columns:1fr}
  #ar-page .brand-logo{width:68px;height:68px}
}