.artender-single-post-page{
    --artender-blog-accent:var(--artender-primary-color,#062e5f);
    max-width:1400px;
    margin:0 auto;
    padding:26px 20px 54px;
    direction:rtl;
    color:#111827;
}
.artender-single-post-page *{box-sizing:border-box}
.artender-single-post{display:block}
.artender-single-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start;margin-top:0}
.artender-single-post-main-column{display:flex;flex-direction:column;gap:18px;min-width:0}
.artender-single-post-hero{
    position:relative;
    overflow:hidden;
    padding:0;
    border:1px solid #e5e7eb;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 34px rgba(15,23,42,.06);
}
.artender-single-post-hero:before{
    content:"";position:absolute;top:-90px;left:-70px;width:240px;height:240px;border-radius:50%;
    background:color-mix(in srgb,var(--artender-blog-accent) 8%,transparent);pointer-events:none
}
.artender-single-post-hero-body{position:relative;padding:22px 24px 24px}
.artender-single-post-topline{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.artender-single-post-category,.artender-single-post-label{
    display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border-radius:10px;font-size:12px;font-weight:850;line-height:1.6
}
.artender-single-post-category{color:#fff!important;background:var(--artender-blog-accent);text-decoration:none!important}
.artender-single-post-label{color:#64748b;background:#f6f8fb;border:1px solid #e7ebf1}
.artender-single-post-title{position:relative;margin:0;color:#111827;font-size:clamp(25px,2.35vw,39px);font-weight:950;line-height:1.65;text-align:right}
.artender-single-post-meta{position:relative;display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.artender-single-post-meta-item{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid #e6eaf0;border-radius:10px;background:#fafbfc;color:#334155;font-size:12.5px;font-weight:800}
.artender-single-post-meta-key{color:#94a3b8;font-weight:700}
.artender-single-post-cover{margin:0;padding:0;overflow:hidden;background:#f8fafc}
.artender-single-post-cover--inside{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid #e5e7eb}
.artender-single-post-cover-image{display:block;width:100%;height:auto;margin:0!important;padding:0!important;object-fit:contain;background:#f8fafc}
.artender-single-post-content-card,.artender-single-post-side-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.artender-single-post-content-card{padding:26px 28px;min-width:0}
.artender-single-post-content{overflow-wrap:anywhere;color:#111827;font-size:15.5px;font-weight:500;line-height:2.12;text-align:justify;direction:rtl}
.artender-single-post-content > :first-child{margin-top:0!important}
.artender-single-post-content > :last-child{margin-bottom:0!important}
.artender-single-post-content p{margin:0 0 15px;color:#111827;font-size:15.5px;line-height:2.12;text-align:justify}
.artender-single-post-content a{color:var(--artender-blog-accent);font-weight:800;text-decoration:none}
.artender-single-post-content a:hover{text-decoration:underline}
.artender-single-post-content .artender-content-heading,
.artender-single-post-content p:has(> strong:only-child){
    display:flex;align-items:center;gap:10px;margin:25px 0 12px!important;color:#111827!important;font-size:18px!important;font-weight:950!important;line-height:1.9!important;text-align:right!important
}
.artender-single-post-content .artender-content-heading:before,
.artender-single-post-content p:has(> strong:only-child):before{
    content:"";width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--artender-blog-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--artender-blog-accent) 14%,#fff)
}
.artender-single-post-content p:has(> strong:only-child)>strong{font-size:18px!important;font-weight:950!important;color:#111827!important}
.artender-single-post-content ul,.artender-single-post-content ol{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0 20px;padding:0;list-style:none}
.artender-single-post-content li{position:relative;margin:0;padding:12px 16px 12px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fafbfc;color:#111827;line-height:1.95;text-align:right}
.artender-single-post-content li:before{content:"";position:absolute;right:0;top:12px;bottom:12px;width:3px;border-radius:4px;background:var(--artender-blog-accent)}
.artender-single-post-content li strong:first-child{font-weight:900;color:#111827}
.artender-single-post-content blockquote{margin:20px 0;padding:16px 18px;border:1px solid color-mix(in srgb,var(--artender-blog-accent) 20%,#e5e7eb);border-right:4px solid var(--artender-blog-accent);border-radius:12px;background:color-mix(in srgb,var(--artender-blog-accent) 4%,#fff);color:#334155;font-size:14.5px;line-height:2}
.artender-single-post-content img,.artender-single-post-content video,.artender-single-post-content iframe{max-width:100%;height:auto;border-radius:14px}
.artender-single-post-content figure{max-width:100%;margin:20px auto}
.artender-single-post-content figcaption{margin-top:7px;color:#94a3b8;font-size:11.5px;text-align:center}
.artender-single-post-content table{width:100%!important;margin:20px 0!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #e5e7eb!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important;color:#111827!important;font-size:13.5px!important;line-height:1.9!important;table-layout:fixed}
.artender-single-post-content table th,.artender-single-post-content table td{padding:11px 12px!important;border-left:1px solid #e5e7eb!important;border-bottom:1px solid #e5e7eb!important;vertical-align:middle!important;text-align:right!important;overflow-wrap:anywhere}
.artender-single-post-content table thead th,.artender-single-post-content table tr:first-child th{background:var(--artender-blog-accent)!important;color:#fff!important;font-weight:900!important;border-color:transparent!important}
.artender-single-post-content table tbody tr:nth-child(odd) td{background:color-mix(in srgb,var(--artender-blog-accent) 3%,#fff)!important}
.artender-single-post-content table tbody tr:nth-child(even) td{background:#fff!important}
.artender-single-post-content table tr:last-child td{border-bottom:0!important}
.artender-single-post-content table th:last-child,.artender-single-post-content table td:last-child{border-left:0!important}
.artender-single-post-pages{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #eef1f5}
.artender-single-post-side{position:sticky;top:18px;display:flex;flex-direction:column;gap:10px}
.artender-single-post-side-card{padding:18px}
.artender-single-post-side-title{margin-bottom:12px;padding-bottom:11px;border-bottom:1px solid #edf0f4;color:#111827;font-size:15px;font-weight:950}
.artender-single-post-side-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed #e7ebf0;color:#64748b;font-size:12px}
.artender-single-post-side-row:last-child{border-bottom:0}
.artender-single-post-side-row strong{color:#111827;font-size:12.5px;font-weight:900}
.artender-single-post-back{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border-radius:12px;background:var(--artender-blog-accent);color:#fff!important;font-size:12.5px;font-weight:900;text-decoration:none!important;transition:.18s ease}
.artender-single-post-back:hover{transform:translateY(-1px);filter:brightness(.95)}
.artender-single-post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;margin-left:298px}
.artender-single-post-nav-card{display:flex;flex-direction:column;gap:5px;min-height:86px;padding:15px 16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#111827!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(15,23,42,.035);transition:.18s ease}
.artender-single-post-nav-card:hover{border-color:color-mix(in srgb,var(--artender-blog-accent) 35%,#e5e7eb);transform:translateY(-2px)}
.artender-single-post-nav-label{color:var(--artender-blog-accent);font-size:11px;font-weight:900}
.artender-single-post-nav-title{color:#111827;font-size:13px;font-weight:850;line-height:1.8}
@media(max-width:900px){
    .artender-single-post-page{padding:18px 12px 38px}
    .artender-single-post-layout{grid-template-columns:1fr}
    .artender-single-post-main-column{gap:10px}
    .artender-single-post-side{position:static;display:grid;grid-template-columns:1fr auto;align-items:stretch}
    .artender-single-post-nav{margin-left:0}
    .artender-single-post-side-card{display:none}
    .artender-single-post-back{min-width:150px}
}
@media(max-width:767px){
    .artender-single-post-page{padding:12px 10px 28px}
    .artender-single-post-hero{padding:0;border-radius:18px}
    .artender-single-post-hero-body{padding:16px 14px 17px}
    .artender-single-post-topline{align-items:flex-start;gap:8px;margin-bottom:11px}
    .artender-single-post-category,.artender-single-post-label{min-height:29px;padding:4px 8px;border-radius:8px;font-size:9.5px}
    .artender-single-post-title{font-size:20px;line-height:1.75}
    .artender-single-post-meta{gap:6px;margin-top:14px}
    .artender-single-post-meta-item{min-height:34px;padding:6px 8px;border-radius:8px;font-size:10.5px}
    .artender-single-post-meta-key{display:none}
    .artender-single-post-cover{margin:0;border-radius:0}
    .artender-single-post-layout{gap:10px;margin-top:0}
    .artender-single-post-content-card{padding:17px 14px;border-radius:17px}
    .artender-single-post-content,.artender-single-post-content p{font-size:14px;line-height:2.08;text-align:right}
    .artender-single-post-content .artender-content-heading,.artender-single-post-content p:has(> strong:only-child),.artender-single-post-content p:has(> strong:only-child)>strong{font-size:15.5px!important}
    .artender-single-post-content li{padding:10px 14px 10px 10px;font-size:13px}
    .artender-single-post-content table{font-size:11.5px!important;line-height:1.75!important}
    .artender-single-post-content table th,.artender-single-post-content table td{padding:8px 7px!important}
    .artender-single-post-side{display:block}
    .artender-single-post-back{min-height:40px;border-radius:10px;font-size:11.5px}
    .artender-single-post-nav{grid-template-columns:1fr;gap:8px;margin-top:10px;margin-left:0}
    .artender-single-post-nav-card{min-height:72px;padding:12px 13px;border-radius:13px}
}


/* Single post header refinements + reading progress */
.artender-single-post-hero-body{padding:20px 24px 24px}
.artender-single-post-title{margin:0 0 17px}
.artender-single-post-topline{justify-content:flex-start;margin:0 0 17px;gap:9px}
.artender-single-post-category,.artender-single-post-label{min-height:36px;padding:7px 13px;font-size:12.5px}
.artender-single-post-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0}
.artender-single-post-meta-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:9px 12px;border:1px solid #e3e8ef;border-radius:12px;background:#f8fafc;color:#111827;font-size:13px;font-weight:900}
.artender-single-post-meta-key{display:inline!important;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap}
.artender-single-post-meta-item time{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate;font-weight:950;color:#111827}
.artender-reading-progress{margin-top:12px;padding:12px 13px;border:1px solid #e3e8ef;border-radius:13px;background:#fff}
.artender-reading-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.artender-reading-progress-title{color:#111827;font-size:12px;font-weight:950}
.artender-reading-progress-time{color:#64748b;font-size:11.5px;font-weight:750}
.artender-reading-progress-time strong{color:var(--artender-blog-accent);font-size:13px;font-weight:950}
.artender-reading-progress-track{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#edf1f5;direction:rtl}
.artender-reading-progress-fill{display:block;width:0;height:100%;border-radius:999px;background:var(--artender-blog-accent);transition:width .12s linear}
@media(max-width:767px){
  .artender-single-post-hero-body{padding:14px 13px 15px}
  .artender-single-post-title{margin-bottom:13px;font-size:20px;line-height:1.75}
  .artender-single-post-topline{margin-bottom:13px;gap:7px}
  .artender-single-post-category,.artender-single-post-label{min-height:31px;padding:5px 9px;font-size:10px}
  .artender-single-post-meta{grid-template-columns:1fr;gap:7px;margin-top:0}
  .artender-single-post-meta-item{min-height:42px;padding:7px 10px;border-radius:10px;font-size:11.5px}
  .artender-single-post-meta-key{font-size:11px}
  .artender-reading-progress{margin-top:8px;padding:10px;border-radius:11px}
  .artender-reading-progress-title{font-size:11px}
  .artender-reading-progress-time{font-size:10.5px}
  .artender-reading-progress-track{height:7px}
}


/* Final single-post header layout */
.artender-single-post-topline{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 14px!important;
}
.artender-single-post-category,
.artender-single-post-label{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    justify-content:center!important;
    text-align:center!important;
    padding:8px 10px!important;
    border-radius:11px!important;
}
.artender-single-post-meta{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
}
.artender-single-post-meta-item{
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:8px 6px!important;
    text-align:center!important;
}
.artender-single-post-meta-key{
    display:block!important;
    width:100%!important;
    color:#64748b!important;
    font-size:11px!important;
    line-height:1.4!important;
    font-weight:850!important;
    text-align:center!important;
}
.artender-single-post-meta-item > span:last-child,
.artender-single-post-meta-item time{
    display:block!important;
    width:100%!important;
    color:#111827!important;
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:950!important;
    text-align:center!important;
}
.artender-single-post-meta-item time{
    direction:ltr!important;
    unicode-bidi:isolate!important;
}
.artender-reading-progress{
    margin-top:10px!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
}
.artender-reading-progress-head,
.artender-reading-progress-title,
.artender-reading-progress-time{display:none!important}
.artender-reading-progress-track{
    width:100%!important;
    height:7px!important;
    overflow:hidden!important;
    border-radius:999px!important;
    background:#e8edf3!important;
    direction:rtl!important;
}
.artender-reading-progress-fill{
    display:block!important;
    width:0;
    height:100%!important;
    border-radius:999px!important;
    background:var(--artender-blog-accent)!important;
    transition:width .12s linear!important;
}
@media(max-width:767px){
    .artender-single-post-topline{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
        margin-bottom:10px!important;
    }
    .artender-single-post-category,
    .artender-single-post-label{
        min-height:38px!important;
        padding:6px 5px!important;
        font-size:10px!important;
        border-radius:9px!important;
    }
    .artender-single-post-meta{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:6px!important;
    }
    .artender-single-post-meta-item{
        min-height:66px!important;
        padding:7px 4px!important;
        border-radius:9px!important;
        gap:5px!important;
    }
    .artender-single-post-meta-key{
        display:block!important;
        font-size:9px!important;
        white-space:normal!important;
    }
    .artender-single-post-meta-item > span:last-child,
    .artender-single-post-meta-item time{
        font-size:10.5px!important;
        white-space:nowrap!important;
    }
    .artender-reading-progress{margin-top:8px!important}
    .artender-reading-progress-track{height:6px!important}
}
