@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

body.site-article {
    --art-bg: #f4f6f9;
    --art-surface: #ffffff;
    --art-text: #1e293b;
    --art-muted: #64748b;
    --art-line: #e2e8f0;
    --art-accent: #0f766e;
    --art-accent-soft: #ecfdf5;
    --art-inner: min(920px, 100%);
    --art-wide: min(1280px, 100%);
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    background: var(--art-bg) !important;
    color: var(--art-text);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.site-article * {
    box-sizing: border-box;
}

body.site-article #container,
#container:has(.art-page) {
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.site-article .site-chrome .top_nav_container,
body.site-article .site-chrome .sh-bar__inner,
body.site-article .site-chrome .menu_container .cont,
body.site-article .site-chrome .searchcontents,
body.site-article .myFooter_content,
body.site-article .myFooter_bottom {
    width: 100% !important;
    max-width: none !important;
}

body.site-article .myFooter_content_container,
body.site-article .myFooter_bottom_container {
    max-width: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-left: clamp(12px, 3vw, 32px) !important;
    padding-right: clamp(12px, 3vw, 32px) !important;
    box-sizing: border-box;
}

body.site-article .myFooter_content {
    margin-top: 0;
    border-top: 1px solid var(--art-line);
}

.art-page {
    width: 100%;
    padding: 16px clamp(12px, 3vw, 28px) 32px;
}

.art-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    max-width: var(--art-wide);
    margin: 0 auto;
    align-items: start;
}

.art-main {
    min-width: 0;
}

.art-crumb ol {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    font-size: 13px;
    color: var(--art-muted);
}

.art-crumb li:not(:last-child)::after {
    content: "›";
    margin-right: 6px;
    color: #94a3b8;
}

.art-crumb a {
    color: var(--art-accent);
    text-decoration: none;
}

.art-crumb a:hover {
    text-decoration: underline;
}

.art-hero {
    background: var(--art-surface);
    border: 1px solid var(--art-line);
    border-radius: 14px;
    padding: 22px clamp(16px, 3vw, 28px);
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.art-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--art-text);
}

.art-hero h1 span {
    background: none !important;
    padding: 0 !important;
}

.art-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 13px;
    color: var(--art-muted);
}

.art-meta a {
    color: var(--art-accent);
    font-weight: 600;
}

.art-votes {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.art-votes .button_gray {
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid var(--art-line);
    background: #f8fafc;
    cursor: pointer;
}

.art-body-wrap {
    background: var(--art-surface);
    border: 1px solid var(--art-line);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.art-body {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
}

.art-body h1,
.art-body h2,
.art-body h3 {
    color: var(--art-text);
    font-weight: 700;
    margin: 1.4em 0 0.6em;
    line-height: 1.4;
}

.art-body h2 { font-size: 1.25rem; }
.art-body h3 { font-size: 1.1rem; }

.art-body p {
    margin: 0 0 1em;
}

.art-body ul,
.art-body ol {
    margin: 0 0 1em;
    padding-right: 1.25em;
}

.art-body a {
    color: var(--art-accent);
}

.art-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.art-tags {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--art-line);
}

.art-tags__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--art-text);
}

.art-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.art-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--art-accent-soft);
    color: #065f46;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #a7f3d0;
    transition: background 0.15s, transform 0.15s;
}

.art-tag:hover {
    background: #d1fae5;
    transform: translateY(-1px);
}

.art-share {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--art-line);
}

.art-share .social.article {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.art-copy {
    margin-top: 16px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 13px;
    color: var(--art-muted);
    text-align: center;
}

.art-copy .copylink {
    display: block;
    margin-top: 8px;
    word-break: break-all;
    direction: ltr;
    font-size: 12px;
}

.art-aside .box {
    background: var(--art-surface);
    border: 1px solid var(--art-line);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.art-aside .product_title h3 {
    margin: 0;
    padding: 12px 14px;
    font-size: 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--art-line);
}

.art-aside .product_title h3 span {
    background: none !important;
    padding: 0 !important;
    font-family: inherit;
}

.art-aside .innercontent {
    padding: 12px 14px;
}

.art-aside .artilce a img {
    border-radius: 6px;
    float: right;
    margin-left: 8px;
}

.art-aside h6 {
    font-size: 13px;
    margin: 0 0 6px;
    line-height: 1.5;
}

.art-aside h6 a {
    color: var(--art-text);
    text-decoration: none;
}

.art-aside h6 a:hover {
    color: var(--art-accent);
}

.art-comments {
    max-width: var(--art-wide);
    margin: 24px auto 0;
    padding: 0 clamp(12px, 3vw, 28px);
}

.art-comments .innercontent.commentlist {
    background: var(--art-surface);
    border: 1px solid var(--art-line);
    border-radius: 14px;
    padding: clamp(16px, 3vw, 24px);
}

.art-comments .product_title h3 span {
    background: none !important;
    font-family: inherit;
}

body.site-article .information,
body.site-article .warning,
body.site-article .success {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

@media (max-width: 960px) {
    .art-layout {
        grid-template-columns: 1fr;
    }
    .art-aside {
        order: 2;
    }
}

@media (max-width: 560px) {
    .art-page {
        padding-top: 10px;
    }
    .art-hero {
        padding: 16px;
    }
}
