
/* Article Site Kit 2026 */
:root{
  --ask26-primary:#0b4b82;
  --ask26-text:#111827;
  --ask26-muted:#6b7280;
  --ask26-border:#e5e7eb;
  --ask26-card:#ffffff;
  --ask26-shadow:0 10px 30px rgba(17,24,39,.10);
  --ask26-radius:18px;
}

/* Headerbar */
.ask26-headerbar{
  width:100%;
  background: linear-gradient(180deg, rgba(11,75,130,.12), rgba(11,75,130,.04));
  border-bottom:1px solid rgba(11,75,130,.18);
  font-family: inherit;
}
.ask26-headerbar__inner{
  max-width:1200px;
  margin:0 auto;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ask26-headerbar__left{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--ask26-text);
  font-weight:700;
}
.ask26-hb-label{ color:var(--ask26-muted); font-weight:700; }
.ask26-hb-date{ padding:4px 10px; border:1px solid rgba(11,75,130,.18); border-radius:999px; background:#fff; }
.ask26-hb-btn{
  text-decoration:none !important;
  background: var(--ask26-primary);
  color:#fff !important;
  font-weight:900;
  padding:8px 12px;
  border-radius:12px;
  box-shadow: 0 10px 18px rgba(11,75,130,.18);
  white-space:nowrap;
}
.ask26-hb-btn:hover{ opacity:.92; }

/* Main layout wrappers */
.ask26-block{
  direction: rtl;
  font-family: inherit;
  color: var(--ask26-text);
}
.ask26-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:14px 10px;
  display:grid;
  grid-template-columns: 1.7fr .9fr;
  gap:16px;
  align-items:start;
  direction:ltr; /* columns: left then right */
}
.ask26-card{
  background:var(--ask26-card);
  border:1px solid var(--ask26-border);
  border-radius:var(--ask26-radius);
  box-shadow:var(--ask26-shadow);
  overflow:hidden;
  direction:rtl;
}
.ask26-card-header{
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--ask26-border);
  background: linear-gradient(180deg, rgba(11,75,130,.10), transparent);
}
.ask26-card-header h2{
  margin:0;
  font-size:16px;
  line-height:1.2;
  color:var(--ask26-primary);
  letter-spacing:.2px;
}
.ask26-sub{
  margin:0;
  font-size:12px;
  color:var(--ask26-muted);
}
.ask26-badge{
  border:1px solid var(--ask26-border);
  border-radius:999px;
  padding:3px 10px;
  font-size:11px;
  background: rgba(17,24,39,.02);
  white-space:nowrap;
}
.ask26-status{
  padding:12px 14px;
  font-size:13px;
  color:var(--ask26-muted);
}
.ask26-err{
  color:#b91c1c;
  background: rgba(185,28,28,.06);
  border-top:1px solid rgba(185,28,28,.15);
}

/* Categories grid */
.ask26-cats{
  padding:14px;
}
.ask26-cats-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.ask26-cat{
  border:1px solid var(--ask26-border);
  border-radius:14px;
  padding:12px 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  background:#fff;
}
.ask26-cat:hover{
  transform: translateY(-2px);
  border-color: rgba(11,75,130,.35);
  box-shadow: 0 12px 26px rgba(11,75,130,.14);
}
.ask26-cat a{
  text-decoration:none !important;
  color:var(--ask26-text) !important;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.ask26-cat .name{ font-weight:900; font-size:14px; line-height:1.2; }
.ask26-cat .count{ font-size:12px; color:var(--ask26-muted); border:1px solid var(--ask26-border); border-radius:999px; padding:4px 8px; white-space:nowrap; }

/* Latest posts list */
.ask26-posts{ padding:10px 12px 12px; }
.ask26-post-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:10px 6px;
  border-bottom:1px dashed var(--ask26-border);
}
.ask26-post-item:last-child{ border-bottom:0; }
.ask26-post-item a{
  text-decoration:none !important;
  color:var(--ask26-text) !important;
  font-weight:900;
  font-size:13px;
  line-height:1.3;
}
.ask26-post-item a:hover{ color:var(--ask26-primary) !important; }
.ask26-post-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--ask26-muted);
}

/* Category main list */
.ask26-main{
  padding:14px;
}
.ask26-page-title{
  margin:0 0 8px 0;
  font-size:22px;
  line-height:1.2;
  color:var(--ask26-text);
  font-weight:1000;
}
.ask26-page-desc{
  margin:0 0 14px 0;
  color:var(--ask26-muted);
  font-size:13px;
}
.ask26-feed{
  display:flex;
  flex-direction:column;
}
.ask26-feed .ask26-post-item{ padding:12px 6px; }

.ask26-loadmore{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid var(--ask26-border);
  border-radius:14px;
  background:#fff;
  color:var(--ask26-muted);
  text-align:center;
  font-weight:800;
}

/* Single */
.ask26-single{
  padding:14px;
}
.ask26-single h1{
  margin:0 0 10px 0;
  font-size:26px;
  line-height:1.15;
  font-weight:1000;
  color:var(--ask26-text);
}
.ask26-single .meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
  color:var(--ask26-muted);
  font-size:12px;
}
.ask26-single .content{
  font-size:15px;
  line-height:1.85;
}
.ask26-single .content h2{ font-size:20px; margin:18px 0 10px; }
.ask26-single .content h3{ font-size:17px; margin:14px 0 8px; }

/* Submit form */
.ask26-notice{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  margin:14px auto;
  max-width:900px;
  font-weight:900;
}
.ask26-notice--ok{ background:#10b98110; border-color:#10b98133; }
.ask26-submit-wrap{
  direction:rtl;
  font-family:inherit;
  color:var(--ask26-text);
  padding:14px 10px;
}
.ask26-submit-card{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--ask26-border);
  border-radius:var(--ask26-radius);
  box-shadow:var(--ask26-shadow);
  overflow:hidden;
}
.ask26-submit-head{
  padding:16px;
  background: linear-gradient(180deg, rgba(11,75,130,.10), transparent);
  border-bottom:1px solid var(--ask26-border);
}
.ask26-submit-head h1{ margin:0 0 6px 0; font-size:22px; font-weight:1000; }
.ask26-submit-head p{ margin:0; color:var(--ask26-muted); font-size:13px; line-height:1.55; }

.ask26-form{ padding:16px; }
.ask26-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.ask26-field{ display:flex; flex-direction:column; gap:6px; font-weight:900; }
.ask26-field span{ font-size:13px; }
.ask26-field input{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--ask26-border);
  border-radius:12px;
  outline:none;
}
.ask26-field input:focus{ border-color: rgba(11,75,130,.45); box-shadow: 0 0 0 3px rgba(11,75,130,.10); }
.ask26-editor{ margin-top:10px; }
.ask26-editor-label{ display:block; font-weight:1000; margin-bottom:6px; font-size:13px; }
.ask26-btn{
  margin-top:12px;
  width:100%;
  padding:12px 14px;
  border:0;
  border-radius:14px;
  background:var(--ask26-primary);
  color:#fff;
  font-weight:1000;
  cursor:pointer;
  box-shadow: 0 14px 26px rgba(11,75,130,.18);
}
.ask26-btn:hover{ opacity:.94; }
.ask26-hp{ position:absolute; left:-9999px; top:-9999px; height:0; overflow:hidden; }

/* Responsive */
@media (max-width: 880px){
  .ask26-wrap{ grid-template-columns: 1fr; direction: rtl; }
  .ask26-cats-grid{ grid-template-columns: 1fr; }
  .ask26-grid{ grid-template-columns: 1fr; }
}
