.single-layout{max-width:1300px;}.single-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.single-main{min-width:0;padding:30px 34px;border:none;border-radius:4px;background:var(--white);box-shadow:none}.entry-header{border-bottom:1px solid var(--line);padding-bottom:18px}.post-cat{display:block;margin-bottom:11px;color:#b35e79;font-size:13px;font-weight:800}.entry-header h1{margin:0;color:#29435f;font-size:var(--font-h1);line-height:var(--line-height-h1);}.entry-meta{display:flex;align-items:center;gap:9px;margin-top:12px;color:var(--muted);font-size:12px}.entry-meta span{color:#d393a7}.entry-content{padding:25px 0 10px;font-size:var(--font-content, var(--font-base));line-height:var(--line-height-content);color:var(--ink)}.entry-content>*:first-child{margin-top:0}.entry-content h2,.entry-content h3{margin:1.7em 0 .7em;color:#304c68;line-height:1.8}.entry-content img{max-width:100%;height:auto;display:block;margin:0 auto;border-radius:4px}.entry-content a{color:#2475aa;text-decoration: none !important;text-decoration-color:#b9d9ea;text-underline-offset:4px}.related-posts{margin:38px 0 26px}

.entry-header,.entry-content,.entry-footer,.zendegi-toc,.zendegi-share-buttons,.zendegi-author-box,.zendegi-post-nav,.related-posts,.zendegi-comments{max-width:100%;margin-left:auto;margin-right:auto}

.zendegi-author-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.zendegi-author-link{padding:6px 12px;border:1px solid var(--line);border-radius:4px;background:var(--white);color:#416487;font-size:12px;font-weight:700}
.zendegi-author-link:hover{border-color:var(--pink);color:var(--pink)}
body.dark .zendegi-author-link{background:#263540;border-color:#30404c;color:#cfe0ee}

.entry-content blockquote{margin:1.6em 0;padding:16px 22px;border-right:4px solid var(--pink);border-radius:4px;background:#faf3f6;color:#4a3441;font-size:.98em;line-height:2}
.entry-content blockquote p:last-child{margin-bottom:0}
body.dark .entry-content blockquote{background:#243542;border-right-color:var(--pink);color:var(--ink)}

body.dark .entry-content h1[style],body.dark .entry-content h2[style],body.dark .entry-content h3[style],body.dark .entry-content h4[style],body.dark .entry-content h5[style],body.dark .entry-content h6[style]{color:var(--ink)!important}

body.dark .arabic,
body.dark .entry-content .arabic {
    color: #e4ca9e !important;
}

body.dark .tarjome,
body.dark .entry-content .tarjome {
    color: #a8cff0 !important;
}

body.dark .farsi,
body.dark .entry-content .farsi {
    color: #f87171 !important;
}

.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.related-grid article{overflow:hidden;border:none;border-radius:4px;background:var(--white)}.related-grid article>a{display:block;height:142px;background:#edf2f6}.related-grid img{width:100%;height:100%;object-fit:cover;border-radius:4px}.related-grid h3, .related-grid h4{margin:10px 12px 14px;font-size:15px;font-weight:700;line-height:1.9}.entry-footer{padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}.single-sidebar{min-width:0}.single-sidebar .sidebar{position:sticky;top:86px}

@media(min-width:1221px){.single-sidebar .sidebar{top:86px}}
@media(min-width:801px) and (max-width:1220px){.single-sidebar .sidebar{top:86px}}
body.admin-bar .single-sidebar .sidebar{top:118px!important}
body.no-sticky-header-desktop .single-sidebar .sidebar{top:16px!important}
body.no-sticky-header-desktop.admin-bar .single-sidebar .sidebar{top:48px!important}.single-sidebar .widget{border:none;border-radius:4px;background:var(--white);overflow:hidden;margin-bottom:16px;box-shadow:none}.single-sidebar .widget:last-child{margin-bottom:0}.single-sidebar .recent-posts{padding:5px 16px 12px}.popular-links-widget{padding:0 !important;overflow:hidden}.popular-links-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px;box-sizing:border-box}.popular-links-grid a{display:flex;align-items:center;justify-content:center;text-align:center;padding:9px 8px;border-radius:4px;font-size:13.5px;font-weight:700;color:#fff !important;text-decoration:none !important;line-height:1.4;transition:transform .15s ease,filter .15s ease;word-break:break-word;border:none !important}.popular-links-grid a:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:none;color:#fff !important}.popular-links-grid a:last-child:nth-child(odd){grid-column:1 / -1}.popular-links-grid a:nth-child(12n + 1){background-color:#e53965}.popular-links-grid a:nth-child(12n + 2){background-color:#5c9ea8}.popular-links-grid a:nth-child(12n + 3){background-color:#1ea1d7}.popular-links-grid a:nth-child(12n + 4){background-color:#00baa8}.popular-links-grid a:nth-child(12n + 5){background-color:#7cb342}.popular-links-grid a:nth-child(12n + 6){background-color:#f3ad3a}.popular-links-grid a:nth-child(12n + 7){background-color:#e04f5f}.popular-links-grid a:nth-child(12n + 8){background-color:#d65c87}.popular-links-grid a:nth-child(12n + 9){background-color:#e0941f}.popular-links-grid a:nth-child(12n + 10){background-color:#91385c}.popular-links-grid a:nth-child(12n + 11){background-color:#b857c5}.popular-links-grid a:nth-child(12n + 12){background-color:#43a047}body.dark .popular-links-grid a{filter:saturate(.92) brightness(.95)}body.dark .popular-links-grid a:hover{filter:saturate(1.05) brightness(1.05)}.fortune-widget{text-align:center;padding:20px}.fortune-widget>span{font-size:12px;color:var(--pink,#e63946);font-weight:700;display:inline-block;margin-bottom:2px}.fortune-widget h3{font-size:20px;margin:4px 0 6px;color:#4a637f;font-weight:800}.fortune-widget p{font-size:13px;color:#6c7884;margin:0 0 14px;line-height:1.6}.fortune-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fortune-links a{border:1px solid var(--line,#e2e8f0);border-radius:4px;padding:8px 6px;font-size:13px;font-weight:600;color:#506987;text-decoration:none;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;transition:all .15s ease}.fortune-links a:hover{border-color:var(--pink,#e63946);color:var(--pink,#e63946);background:#fff5f7;transform:translateY(-1px)}body.dark .fortune-widget h3{color:var(--ink,#e5edf3)}body.dark .fortune-widget p{color:var(--muted,#94a3b8)}body.dark .fortune-links a{border-color:var(--line,#30404c);color:#cfe0ee;background:#1e2d3a}body.dark .fortune-links a:hover{border-color:var(--pink,#f472b6);color:var(--pink,#f472b6);background:#263540}body.dark .single-main,body.dark .single-sidebar .widget{background:var(--white)}body.dark .entry-header h1,body.dark .entry-content h2,body.dark .entry-content h3,body.dark .related-posts>h2,body.dark .related-posts>h3,@media(max-width:900px){.single-layout{padding:0}.single-grid{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.single-main{padding:24px}.related-grid{gap:16px}.related-grid article>a{height:112px}}@media(max-width:720px){.single-grid{display:block}.single-main{padding:20px 16px;border-radius:4px;border:none;box-shadow:none;margin-top:4px}.entry-header{padding-bottom:14px}.single-sidebar{margin-top:16px}.single-sidebar .sidebar{position:static}.related-grid article>a{height:125px}}@media(max-width:420px){.single-main{padding:18px 14px;border-radius:4px;border:none;box-shadow:none}.related-grid{grid-template-columns:1fr}.related-grid article>a{height:180px}}
.zendegi-comments{--comment-blue:#2d7fbd;--comment-ink:#20344a;--comment-muted:#657382;--comment-line:#e5edf4;margin-top:32px;padding-top:20px;border-top:1px solid var(--comment-line);direction:rtl}.comments-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.comments-eyebrow{display:none!important}.comments-heading h2,.comment-form-title-wrap h3{margin:0;color:var(--comment-ink);font-size:20px;font-weight:800}.comments-scroll-link{padding:8px 14px;border-radius:4px;background:#eff7fc;color:var(--comment-blue);font-size:13px;font-weight:700}.comment-list,.comment-list .children{margin:0;padding:0;list-style:none}.comment-list>li{margin-bottom:16px}.comment-card{display:flex;flex-direction:column;gap:0;padding:18px 20px;border:1px solid var(--comment-line);border-radius:4px;background:#fff;box-shadow:none}.comment-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #edf4f9;width:100%;box-sizing:border-box}.comment-author-info{display:inline-flex;align-items:center;gap:10px}.comment-avatar{flex-shrink:0;width:38px;height:38px;border-radius:50%;overflow:hidden}.comment-avatar img{box-sizing:border-box;display:block;width:38px;height:38px;object-fit:cover;border:1.5px solid #e7f2f9;border-radius:50%;background:#f1f5f9}.comment-author-name{display:flex;align-items:center;gap:8px;color:var(--comment-ink);font-size:15px;font-weight:800}.comment-body{min-width:0;width:100%}.comment-text{color:#45596c;font-size:14.5px;line-height:2.1;margin:0;width:100%}.comment-author-badge{padding:3px 7px;border-radius:4px;background:#fff1e7;color:#bd6425;font-size:10px}.comment-header time{color:var(--comment-muted);font-size:11px;white-space:nowrap}.comment-text{color:#45596c;font-size:14px;line-height:2.05}.comment-text p{margin:0 0 8px}.comment-text p:last-child{margin-bottom:0}.comment-awaiting{margin:0 0 10px;padding:8px 10px;border-radius:4px;background:#fff7df;color:#926f22;font-size:12px}.comment-footer{margin-top:14px;padding-top:10px;border-top:1px dashed #edf4f9}.comment-reply-link{color:var(--comment-blue);font-size:12px;font-weight:800}.comment-reply-link:before{content:'↩';display:inline-block;margin-left:5px;font-size:15px}.comment-list .children{position:relative;margin:13px 55px 0 0;padding-right:20px;border-right:2px solid #d9ecf8}.comment-list .children .comment-card{background:#fbfdff}.comments-load-more{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:5px 0 36px;padding:13px;border:1px solid #cfe5f4;border-radius:4px;background:#f7fbfe;color:var(--comment-blue);font-family:inherit;font-size:13px;font-weight:800;cursor:pointer}.comments-load-more i{font-style:normal;font-size:18px}.comments-empty{padding:28px;text-align:center;border:1px dashed #cbdde9;border-radius:4px;background:#fbfdff;color:var(--comment-muted)}.comments-empty span{font-size:28px}.comments-empty p{margin:7px 0 0;font-size:14px}.comment-respond{margin-top:37px;padding:24px;border:1px solid #e1edf6;border-radius:4px;background:#f8fafc;box-shadow:none}.comment-form-title-wrap{display:inline-block}.comment-form-title-wrap h3{font-size:20px}.comment-notes{margin:9px 0 17px;color:var(--comment-muted);font-size:12px}.comment-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.comment-form-comment{grid-column:1/-1}.comment-form p{margin:0}.comment-form label{display:block;margin-bottom:7px;color:var(--comment-ink);font-size:12px;font-weight:800}.comment-form .required{color:#dc5c62}.comment-form input,.comment-form textarea{box-sizing:border-box;width:100%;border:1px solid #d8e4ec;border-radius:4px;outline:0;background:#fff;color:var(--comment-ink);font-family:inherit;font-size:14px}.comment-form input{height:44px;padding:0 12px}.comment-form textarea{padding:12px;resize:vertical;line-height:1.9}.comment-form input:focus,.comment-form textarea:focus{border-color:#63a8d5;box-shadow:none}.comment-form-cookies-consent,.comment-form .form-submit,.logged-in-as{grid-column:1/-1}.comment-form-cookies-consent{display:flex;align-items:center;gap:8px;color:#65798b;font-size:12px}.comment-form-cookies-consent label{margin:0;font-weight:400}.comment-form .submit{padding:12px 22px;border:0;border-radius:4px;background:var(--pink,#c8748c);color:#fff;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}.cancel-reply{margin-right:10px}.cancel-reply a{color:#cc5c62;font-size:12px;font-weight:700}.logged-in-as{margin:5px 0;color:#63788a;font-size:13px}.logged-in-as a{color:var(--comment-blue)}body.dark .zendegi-comments{--comment-ink:#e6eef5;--comment-muted:#9db0c0;--comment-line:#314553}body.dark .comment-card,body.dark .comment-form input,body.dark .comment-form textarea{background:#1d2a34;border-color:#354b5a;color:#e3edf4}body.dark .comment-avatar img{border-color:#354b5a;background:#253745}body.dark .comment-list .children .comment-card,body.dark .comment-respond{background:#202f3a;border-color:#354b5a}body.dark .comment-header{border-bottom-color:#2a3d4d}body.dark .comment-footer{border-top-color:#2a3d4d}body.dark .comments-load-more,body.dark .comments-empty{background:#1d2a34;border-color:#3d5767}@media(max-width:600px){.zendegi-comments{margin-top:24px}.comments-heading h2{font-size:18px}.comment-card{gap:10px;padding:14px}.comment-avatar{flex-basis:35px;width:35px;height:35px;border-radius:50%}.comment-avatar img{width:35px;height:35px;border-radius:50%}.comment-header{align-items:flex-start;flex-direction:column;gap:3px}.comment-list .children{margin-right:18px;padding-right:11px}.comment-form{grid-template-columns:1fr}.comment-form-comment,.comment-form .form-submit,.comment-form-cookies-consent{grid-column:auto}.comment-respond{padding:18px}.comments-scroll-link{padding:8px 10px;font-size:11px}}
.comment-list .children{margin:16px 54px 0 0;padding:0;border:0}.comment-list .children:before{display:none}.comment-list .children>li{position:relative}.comment-list .children>li:before{content:"";position:absolute;z-index:0;top:34px;right:-27px;width:27px;height:2px;background:#c5e0ee}.comment-list .children>li:after{content:"";position:absolute;z-index:0;top:-16px;right:-26px;bottom:-16px;width:2px;border-radius:2px;background:#b9ddef}.comment-list .children>li:last-child:after{bottom:auto;height:50px}.comment-list .children .comment-card{position:relative;z-index:1;border:1px solid #d9ecf8;border-radius:4px;background:#fbfdff;box-shadow:none}.comment-list .children .comment-card:before{content:"";position:absolute;z-index:3;top:29px;right:-32px;width:8px;height:8px;border:none;border-radius:2px;background:#73b5d8;box-shadow:none}.comment-list .children .comment-card:after{display:none}body.dark .comment-list .children>li:before{background:#3a4f5e}body.dark .comment-list .children>li:after{background:#3a4f5e}body.dark .comment-list .children .comment-card{border-color:#354b5a}body.dark .comment-list .children .comment-card:before{border-color:#1c2831;background:#4a90c2;box-shadow:none}@media(max-width:600px){.comment-list .children{margin-right:37px}.comment-list .children>li:before{right:-19px;width:19px;top:30px}.comment-list .children>li:after{right:-18px;top:-16px;bottom:-16px}.comment-list .children>li:last-child:after{height:48px}.comment-list .children .comment-card:before{top:25px;right:-24px;width:8px;height:8px}}
.comment-footer{display:flex;justify-content:flex-end;margin-top:15px}.comment-reply-link{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:4px;background:#eef7fb;color:#2d7fbd!important;font-size:12px;font-weight:800}.comment-reply-link:before{margin-left:0}.comment-list .comment-respond{margin:16px 0 0;padding:18px;border:1px solid #d9ecf8;border-radius:4px}.comment-list .comment-respond .comment-form-title-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.comment-list .comment-respond .comment-form-title-wrap h3{font-size:17px}.zendegi-cancel-reply{padding:6px 10px;border:1px solid #f0c5c7;border-radius:4px;background:#fff5f5;color:#b53f48;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.zendegi-cancel-reply[hidden],.zendegi-cancel-reply[hidden]{display:none}body.dark .comment-reply-link{background:#1d3444;color:#6ab3e6!important}body.dark .zendegi-cancel-reply{background:#3a1f21;border-color:#5a3033;color:#e58890}

body.dark .comment-text{color:#c9d8e4}
body.dark .logged-in-as{color:#9db0c0}
body.dark .comment-form-cookies-consent{color:#9db0c0}
body.dark .comment-awaiting{background:#3a3221;color:#e8d48a}

.comment-form{display:flex;flex-direction:column;gap:16px}
.comment-form-author{display:flex;align-items:center;gap:12px}
.comment-form-author label{margin:0;color:var(--comment-ink);font-size:13px;font-weight:800;white-space:nowrap}
.comment-form-author input{flex:1;height:48px;border-radius:4px}
.comment-form-author input:focus{border-color:#63a8d5;box-shadow:none}
.comment-form-comment textarea{border-radius:4px;min-height:150px}
.form-submit{display:flex;justify-content:center;grid-column:auto;margin:2px 0 0}
.comment-form .submit{width:auto;min-width:230px;padding:13px 40px;border-radius:4px;background:var(--pink,#c8748c);box-shadow:none;transition:background-color .2s}
.comment-form .submit:hover{transform:none;box-shadow:none;background:#b35e79}
.comment-form .submit:active{transform:none}
.comment-card{transition:none}
.comment-card:hover{box-shadow:none;transform:none}
.comments-load-more{transition:background .2s,border-color .2s}
.comments-load-more:hover{background:#eef6fb;border-color:#b7d8ec}
.comments-load-more{width:fit-content;margin:6px auto 34px;padding:12px 34px;border:1px solid #9fc9e4;border-radius:4px;background:#fff;color:#2478b3;font-size:13.5px;font-weight:800;box-shadow:none}
.comments-load-more:hover{background:#eaf4fb;border-color:#63a8d5;box-shadow:none}
body.dark .comments-load-more{background:#22323f;border-color:#3d5767;color:#6ab3e6;box-shadow:none}
body.dark .comments-load-more:hover{background:#283b4a;border-color:#4a6b80}
body.dark .comment-respond{background:#1c2833;border-color:#314553}
body.dark .comment-form .submit{box-shadow:none}
.comment-form-notice{margin:14px 0 0;padding:13px 16px;border-radius:4px;font-family:inherit;font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:9px}
.comment-form-notice:before{font-size:17px;line-height:1}
.comment-form-notice.is-success{background:#e8f6ec;border:1px solid #b5e0c3;color:#1e7a3d}
.comment-form-notice.is-success:before{content:'✓'}
.comment-form-notice.is-pending{background:#fdf6e0;border:1px solid #f0dfa8;color:#8a6d1f}
.comment-form-notice.is-pending:before{content:'⏳'}
.comment-form-notice.is-error{background:#fdecec;border:1px solid #f2c1c1;color:#b03636}
.comment-form-notice.is-error:before{content:'⚠'}
body.dark .comment-form-notice.is-success{background:#173322;border-color:#2c5c3d;color:#7fd69a}
body.dark .comment-form-notice.is-pending{background:#332b17;border-color:#5c4e2c;color:#e5c76b}
body.dark .comment-form-notice.is-error{background:#331717;border-color:#5c2c2c;color:#e58a8a}@media(max-width:600px){.comment-list .comment-respond{padding:14px}}

@media(max-width: 720px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .related-grid article {
        display: flex;
        gap: 15px;
        align-items: center;
        border: none;
        border-radius: 4px;
        background: var(--white);
        overflow: hidden;
        padding: 0;
    }
    .related-grid article > a {
        flex-shrink: 0;
        width: 120px;
        height: 90px;
        background: #edf2f6;
        display: block;
    }
    .related-grid article > a img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .related-grid h3,
    .related-grid h4 {
        margin: 0;
        padding-right: 0;
        font-size: 14px;
        line-height: 1.6;
    }
}

.recent-posts li a:first-child {
    flex-shrink: 0;
    width: 96px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
}
.recent-posts li a:first-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    direction: rtl;
    margin: 8px 0;
}

.tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    background: #f1f6fa;
    border: 1px solid #dce7f0;
    color: #274768 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: none;
}

.tags a:hover {
    background: #fdf2f5;
    border-color: #f7b7cf;
    color: var(--pink, #c8748c) !important;
    transform: translateY(-1px);
}

.tags a:active {
    transform: translateY(0);
}

.tags a::before {
    content: '#';
    display: inline-block;
    margin-left: 5px;
    color: var(--pink, #e63965);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.tags a:hover::before {
    color: var(--pink, #e63965);
    transform: scale(1.15);
}

body.dark .tags a {
    background: #1e2c38;
    border-color: #2b3e4f;
    color: #c9d9e6 !important;
    box-shadow: none;
}

body.dark .tags a:hover {
    background: #2a1f29;
    border-color: #5c2d3c;
    color: #ff8fa5 !important;
}

body.dark .tags a::before {
    color: var(--pink, #ff859b);
}

@media (max-width: 600px) {
    .tags {
        gap: 8px;
    }
    .tags a {
        padding: 7px 13px;
        font-size: 13px;
    }
    .tags a::before {
        font-size: 14px;
    }
}

.zendegi-author-box {
    display: flex;
    flex-direction: column;
    margin: 40px 0 32px;
    padding: 32px 36px 26px;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    direction: rtl;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.zendegi-author-box:hover {
    border-color: #e2e8f0;
    box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.07), 0 3px 10px -2px rgba(15, 23, 42, 0.03);
}

.zendegi-author-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.zendegi-author-profile {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    flex: 1;
    min-width: 0;
}

.zendegi-author-avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
}

.zendegi-author-avatar a {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
}

.zendegi-author-avatar img,
.zendegi-author-avatar .author-img {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #edf2f7;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.zendegi-author-avatar a:hover img {
    transform: scale(1.04);
    border-color: #cbd5e1;
}

.zendegi-author-info {
    flex: 1;
    min-width: 0;
}

.zendegi-author-name {
    margin: 0 0 6px 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.zendegi-author-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.zendegi-author-name a:hover {
    color: #0d6efd;
}

.zendegi-author-badge {
    display: inline-block;
    color: rgb(37, 120, 179);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    padding: 2.5px 8.5px;
    border-radius: 4px;
    background: rgb(238, 246, 252);
}

.zendegi-author-bio {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 520px;
}

.zendegi-author-socials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
    padding-top: 6px;
}

.author-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.author-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.author-social-btn:active {
    transform: scale(0.96);
}

.author-social-btn svg {
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.author-social-btn:hover svg {
    transform: scale(1.05);
}

.author-social-btn.is-web {
    color: #475569;
}

.author-social-btn.is-tw {
    color: #0f172a;
}

.author-social-btn.is-tw:hover {
    background: #f8fafc;
}

.author-social-btn.is-web:hover {
    background: #f8fafc;
    color: #0d6efd;
}

.author-social-btn.is-ig:hover {
    background: #fdf2f8;
}

.author-social-btn.is-li:hover {
    background: #eff6ff;
}

.zendegi-author-divider {
    border: 0;
    height: 1px;
    background: #f1f5f9;
    margin: 24px 0 20px 0;
    width: 100%;
}

.zendegi-author-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.zendegi-author-posts-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zendegi-author-posts-btn .author-arrow {
    display: inline-block;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.zendegi-author-posts-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.zendegi-author-posts-btn:hover .author-arrow {
    transform: translateX(-4px);
}

body.dark .zendegi-author-box {
    background: #1c2b36;
    border-color: #2b3e4f;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

body.dark .zendegi-author-box:hover {
    border-color: #374f63;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

body.dark .zendegi-author-avatar img,
body.dark .zendegi-author-avatar .author-img {
    border-color: #334b5d;
    background: #253745;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

body.dark .zendegi-author-avatar a:hover img {
    border-color: #475569;
}

body.dark .zendegi-author-name a {
    color: #f1f5f9;
}

body.dark .zendegi-author-name a:hover {
    color: #60a5fa;
}

body.dark .zendegi-author-badge {
    background: #1d4ed8;
    color: #ffffff;
}

body.dark .zendegi-author-bio {
    color: #94a3b8;
}

body.dark .author-social-btn {
    background: #16222c;
    border-color: #2d3f4f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.dark .author-social-btn:hover {
    border-color: #415a70;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark .author-social-btn.is-web {
    color: #94a3b8;
}

body.dark .author-social-btn.is-web:hover {
    background: #203140;
    color: #60a5fa;
}

body.dark .author-social-btn.is-tw {
    color: #f1f5f9;
}

body.dark .author-social-btn.is-tw:hover {
    background: #203140;
}

body.dark .author-social-btn.is-tw svg {
    fill: #f1f5f9;
}

body.dark .zendegi-author-divider {
    background: #2b3e4f;
}

body.dark .zendegi-author-posts-btn {
    background: #16222c;
    border-color: #2d3f4f;
    color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.dark .zendegi-author-posts-btn:hover {
    background: #203140;
    border-color: #415a70;
    color: #60a5fa;
}

@media (max-width: 768px) {
    .zendegi-author-box {
        padding: 24px 20px 20px;
        border-radius: 20px;
        margin: 30px 0 24px;
    }
    .zendegi-author-main {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .zendegi-author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .zendegi-author-avatar {
        width: 84px;
        height: 84px;
    }
    .zendegi-author-avatar a,
    .zendegi-author-avatar img,
    .zendegi-author-avatar .author-img {
        width: 84px;
        height: 84px;
    }
    .zendegi-author-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .zendegi-author-name {
        font-size: 19px;
    }
    .zendegi-author-bio {
        font-size: 13px;
        line-height: 1.75;
    }
    .zendegi-author-socials {
        justify-content: center;
        gap: 8px;
        padding-top: 0;
    }
    .author-social-btn {
        width: 40px;
        height: 40px;
    }
    .author-social-btn svg {
        width: 36px;
        height: 36px;
    }
    .zendegi-author-divider {
        margin: 18px 0 16px;
    }
    .zendegi-author-footer {
        justify-content: center;
    }
    .zendegi-author-posts-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
    }
}

.zendegi-comments-closed-notice,
.zendegi-comments-closed-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px auto 10px;
    padding: 18px 24px;
    border: 1px dashed #cfe0ec;
    border-radius: 4px;
    background: #f7fafc;
    text-align: center;
    max-width: 650px;
    box-shadow: none;
}
.zendegi-comments-closed-notice .closed-icon,
.zendegi-comments-closed-notice .closed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: #edf5fa;
    border: 1px solid #d4e5f2;
    font-size: 17px;
    flex-shrink: 0;
    line-height: 1;
}
.zendegi-comments-closed-notice p,
.zendegi-comments-closed-notice p {
    margin: 0;
    color: #486178;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

body.dark .zendegi-comments-closed-notice,
body.dark .zendegi-comments-closed-notice {
    background: #1c2a34;
    border-color: #2e4454;
    box-shadow: none;
}
body.dark .zendegi-comments-closed-notice .closed-icon,
body.dark .zendegi-comments-closed-notice .closed-icon {
    background: #243745;
    border-color: #334e62;
}
body.dark .zendegi-comments-closed-notice p,
body.dark .zendegi-comments-closed-notice p {
    color: #b5cad9;
}

@media(max-width: 600px) {
    .zendegi-comments-closed-notice,
    .zendegi-comments-closed-notice {
        flex-direction: column;
        padding: 16px 14px;
        gap: 10px;
    }
}

.news-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}
.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-meta-item .meta-label {
    color: #64748b;
    font-weight: 500;
}
.news-meta-item .meta-value {
    color: #1e293b;
    font-weight: 700;
}
.news-meta-item .meta-value a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s ease;
}
.news-meta-item .meta-value a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
.news-entry-header {
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}
.news-entry-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.65;
    color: #1e354e;
}

body.dark .news-meta-bar {
    background: #1e2d3a;
    border-color: #2e4354;
    color: #94a3b8;
}
body.dark .news-meta-item .meta-label {
    color: #94a3b8;
}
body.dark .news-meta-item .meta-value {
    color: #e2e8f0;
}
body.dark .news-meta-item .meta-value a {
    color: #60a5fa;
}
body.dark .news-entry-header h1 {
    color: #f1f5f9;
}

@media(max-width: 600px) {
    .news-meta-bar {
        font-size: 12px;
        padding: 10px 14px;
        gap: 8px 14px;
    }
    .news-entry-header h1 {
        font-size: 18px;
        line-height: 1.6;
    }
}

.news-entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.news-source-box {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 4px;
}
.news-source-label {
    font-weight: 700;
    color: #64748b;
}
.news-source-link {
    color: #2563eb !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.15s ease;
}
.news-source-link:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}
.news-source-name {
    font-weight: 700;
    color: #1e293b;
}

body.dark .news-source-box {
    background: #1e2d3a;
    border-color: #2e4354;
    color: #94a3b8;
}
body.dark .news-source-label {
    color: #94a3b8;
}
body.dark .news-source-name {
    color: #e2e8f0;
}
body.dark .news-source-link {
    color: #60a5fa !important;
}
body.dark .news-source-link:hover {
    color: #93c5fd !important;
}

body.dark .entry-header h1,
body.dark .entry-header h1 *,
body.dark .entry-content h1,
body.dark .entry-content h1 *,
body.dark .entry-content h2,
body.dark .entry-content h2 *,
body.dark .entry-content h3,
body.dark .entry-content h3 *,
body.dark .entry-content h4,
body.dark .entry-content h4 *,
body.dark .entry-content h5,
body.dark .entry-content h5 *,
body.dark .entry-content h6,
body.dark .entry-content h6 *,
body.dark .related-posts > h2,
body.dark .related-posts > h3 {
    color: var(--ink, #e5edf3) !important;
}

body.dark .entry-content a:not(.button):not(.wp-block-button__link):not(.zendegi-author-link),
body.dark .entry-content a:not(.button):not(.wp-block-button__link):not(.zendegi-author-link) * {
    color: #6bb8ff !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(107, 184, 255, 0.45) !important;
    text-underline-offset: 4px !important;
}

body.dark .entry-content a:not(.button):not(.wp-block-button__link):not(.zendegi-author-link):hover,
body.dark .entry-content a:not(.button):not(.wp-block-button__link):not(.zendegi-author-link):hover * {
    color: #99d2ff !important;
    text-decoration-color: #99d2ff !important;
}

body.dark .entry-content h1 a,
body.dark .entry-content h1 a *,
body.dark .entry-content h2 a,
body.dark .entry-content h2 a *,
body.dark .entry-content h3 a,
body.dark .entry-content h3 a *,
body.dark .entry-content h4 a,
body.dark .entry-content h4 a *,
body.dark .entry-content h5 a,
body.dark .entry-content h5 a *,
body.dark .entry-content h6 a,
body.dark .entry-content h6 a *,
body.dark .entry-header h1 a,
body.dark .entry-header h1 a * {
    color: var(--ink, #e5edf3) !important;
    text-decoration: none !important;
}
body.dark .entry-content h1 a:hover,
body.dark .entry-content h1 a:hover *,
body.dark .entry-content h2 a:hover,
body.dark .entry-content h2 a:hover *,
body.dark .entry-content h3 a:hover,
body.dark .entry-content h3 a:hover * {
    color: #6bb8ff !important;
}

body.dark .entry-content a.button,
body.dark .entry-content a.button *,
body.dark .entry-content .wp-block-button__link,
body.dark .entry-content .wp-block-button__link * {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.dark .entry-content p[style*="color"],
body.dark .entry-content span[style*="color"]:not(a *):not(h1 *):not(h2 *):not(h3 *):not(h4 *):not(h5 *):not(h6 *),
body.dark .entry-content font:not(a *):not(h1 *):not(h2 *):not(h3 *):not(h4 *):not(h5 *):not(h6 *),
body.dark .entry-content strong[style*="color"]:not(a *):not(h1 *):not(h2 *):not(h3 *):not(h4 *):not(h5 *):not(h6 *) {
    color: var(--ink, #e5edf3) !important;
}

.news-lead-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 22px;
    align-items: center;
    margin: 10px 0 26px;
    padding: 18px 20px;
    background: #f8fafc;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: none;
}
.news-lead-row > :only-child {
    grid-column: 1 / -1;
}
.news-lead-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-lead-text {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 2.05;
    color: #334155;
    text-align: justify;
}
.news-lead-figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #edf2f7;
    border: none;
    box-shadow: none;
}
.news-lead-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}
.news-lead-caption {
    padding: 7px 12px;
    font-size: 12px;
    color: #64748b;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

body.dark .news-lead-row {
    background: #1e2d3a;
    border-color: #2e4354;
    box-shadow: none;
}
body.dark .news-lead-text {
    color: #cbd5e1;
}
body.dark .news-lead-figure {
    background: #15222d;
    border-color: #2e4354;
}
body.dark .news-lead-caption {
    background: #15222d;
    border-color: #2e4354;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .news-lead-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px 14px;
    }
    .news-lead-content {
        display: contents;
    }
    .news-entry-header {
        order: 1;
        margin-bottom: 0;
    }
    .news-lead-figure {
        order: 2;
        width: 100%;
    }
    .news-lead-text {
        order: 3;
        font-size: 14.5px;
        line-height: 1.95;
    }
}

.single-layout.single-layout-fullwidth {
    width: min(1300px, calc(100% - 16px));
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.single-main-fullwidth {
    width: 100%;
    box-sizing: border-box;
}

.page-template-page-full-width .single-layout-fullwidth {
    width: min(1300px, calc(100% - 16px));
    max-width: 1300px;
    margin: 0 auto;
}

.single-layout-fullwidth .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.page-links {
    margin: 24px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.page-links-title {
    color: var(--muted, #64748b);
}

.page-links > span,
.page-links > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 4px;
    border: 1px solid var(--line, #e2e8f0);
    background: #f8fafc;
    color: var(--ink, #1e293b);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.page-links > span:not([class]) {
    background: var(--pink, #e63965);
    border-color: var(--pink, #e63965);
    color: #ffffff;
}

body.dark .page-links > span,
body.dark .page-links > a > span {
    background: #1e2d3a;
    border-color: #314553;
    color: #e2edf5;
}

body.dark .page-links > span:not([class]) {
    background: var(--pink, #e63965);
    border-color: var(--pink, #e63965);
    color: #ffffff;
}

@media (max-width: 768px) {
    .single-layout.single-layout-fullwidth {
        padding: 0;
    }
    .single-layout-fullwidth .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .single-layout-fullwidth .related-grid {
        grid-template-columns: 1fr;
    }
}

.reading-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1002;
    pointer-events: none;
}

.reading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to left, var(--pink, #c8748c), #e091a4);
    border-radius: 0 2px 2px 0;
    transition: width 0.08s linear;
}

.entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    margin: 28px 0 20px;
    border-top: 1px solid var(--line, #e2eaf1);
    border-bottom: 1px solid var(--line, #e2eaf1);
}

body.dark .entry-footer {
    border-color: #273743;
}

.entry-footer .tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex: 1 1 auto;
}

.entry-share-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.entry-share-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.share-icon-btn svg {
    display: block;
    width: 17px;
    height: 17px;
    transition: transform 0.2s ease;
}

.share-icon-btn:hover svg {
    transform: scale(1.1);
}

.share-icon-btn.is-telegram:hover {
    background: #229ed9;
    border-color: #229ed9;
    color: #ffffff;
}

.share-icon-btn.is-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.share-icon-btn.is-bale:hover {
    background: #189870;
    border-color: #189870;
    color: #ffffff;
}

.share-icon-btn.is-eitaa:hover {
    background: #e35a14;
    border-color: #e35a14;
    color: #ffffff;
}

body.dark .share-icon-btn {
    background: #1e2c36;
    border-color: #2e3e4a;
    color: #94a9ba;
}

body.dark .share-icon-btn:hover {
    color: #ffffff;
}

.entry-shortlink-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--ink, #334155);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.entry-shortlink-btn svg {
    color: var(--pink, #c8748c);
}

.entry-shortlink-btn:hover {
    background: var(--pink, #c8748c);
    border-color: var(--pink, #c8748c);
    color: #ffffff;
}

.entry-shortlink-btn:hover svg {
    color: #ffffff;
}

body.dark .entry-shortlink-btn {
    background: #1e2c36;
    border-color: #2e3e4a;
    color: #cad8e6;
}

body.dark .entry-shortlink-btn:hover {
    background: var(--pink, #c8748c);
    border-color: var(--pink, #c8748c);
    color: #ffffff;
}

@media (max-width: 600px) {
    .entry-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .entry-share-bar {
        justify-content: space-between;
        width: 100%;
        padding-top: 10px;
        border-top: 1px dashed var(--line, #e2eaf1);
    }

    body.dark .entry-share-bar {
        border-top-color: #273743;
    }
}

.zendegi-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    font-weight: 700;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.zendegi-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-check {
    color: #4ade80;
    font-weight: bold;
}

body.dark .zendegi-toast {
    background: #ffffff;
    color: #0f172a;
}

body.dark .toast-check {
    color: #16a34a;
}

.entry-content table {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 28px 0 !important;
    font-size: var(--font-table, 0.92rem);
    line-height: var(--line-height-table, 1.85);
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    display: table;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

.entry-content .wp-block-table {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
}

.entry-content table caption {
    caption-side: top;
    background: #334155 !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px 18px !important;
    text-align: center;
    border-radius: 8px 8px 0 0;
    letter-spacing: -0.01em;
}

.entry-content table caption :is(h1, h2, h3, h4, h5, h6),
.entry-content table caption p {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
    display: block !important;
}

.entry-content table thead,
.entry-content table tbody,
.entry-content table tfoot {
    height: auto !important;
}

.entry-content table tr {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent;
    transition: background 0.15s ease;
}

.entry-content table th,
.entry-content table td {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    
    
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    padding: 12px 14px !important;
    border: none !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-left: 1px solid #edf2f7 !important;
    vertical-align: middle;
    text-align: center;

    
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

.entry-content table th:last-child,
.entry-content table td:last-child {
    border-left: none !important;
}

.entry-content table tr:last-child td,
.entry-content table tr:last-child th {
    border-bottom: none !important;
}

.entry-content table tr:first-child th[colspan],
.entry-content table tr:first-child td[colspan],
.entry-content table thead tr:first-child th[colspan],
.entry-content table thead tr:first-child td[colspan],
.entry-content table thead tr:only-child th[colspan],
.entry-content table thead tr:only-child td[colspan] {
    background: #334155 !important;
    color: #ffffff !important;
    border-bottom: 1px solid #293548 !important;
    border-left: none !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    padding: 14px 18px !important;
    text-align: center !important;
    letter-spacing: -0.01em;
}

.entry-content table tr:first-child th[colspan] *,
.entry-content table tr:first-child td[colspan] *,
.entry-content table thead tr:first-child th[colspan] *,
.entry-content table thead tr:first-child td[colspan] *,
.entry-content table thead tr:only-child th[colspan] *,
.entry-content table thead tr:only-child td[colspan] * {
    color: #ffffff !important;
}

.entry-content table tr:first-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
.entry-content table tr:first-child td[colspan] :is(h1, h2, h3, h4, h5, h6),
.entry-content table thead tr:first-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
.entry-content table thead tr:first-child td[colspan] :is(h1, h2, h3, h4, h5, h6),
.entry-content table thead tr:only-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
.entry-content table thead tr:only-child td[colspan] :is(h1, h2, h3, h4, h5, h6) {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    display: block !important;
}

.entry-content table th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 700;
    font-size: var(--font-table-th, 0.94rem);
    text-align: center;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: 1px solid #e2e8f0 !important;
    letter-spacing: -0.01em;
}

.entry-content table thead th {
    background: #f8fafc !important;
    color: #64748b !important;
}

.entry-content table :is(h1, h2, h3, h4, h5, h6),
.entry-content table p,
.entry-content .wp-block-table figcaption :is(h1, h2, h3, h4, h5, h6) {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

.entry-content table :is(th, td) :is(h1, h2, h3, h4, h5, h6),
.entry-content table :is(th, td) :is(strong, b, a) {
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

.entry-content table td {
    color: #334155 !important;
}

.entry-content table td strong,
.entry-content table td b {
    color: #1e293b !important;
    font-weight: 700;
}

.entry-content table tr:hover td {
    background: #f8fafc !important;
}

.entry-content table td a {
    color: #2563eb;
    text-decoration: none;
}

.entry-content table td a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .entry-content table {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        margin: 18px 0 !important;
    }

    .entry-content table caption,
    .entry-content table caption :is(h1, h2, h3, h4, h5, h6),
    .entry-content table tr:first-child th[colspan],
    .entry-content table tr:first-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
    .entry-content table tr:first-child td[colspan],
    .entry-content table tr:first-child td[colspan] :is(h1, h2, h3, h4, h5, h6),
    .entry-content table thead tr:first-child th[colspan],
    .entry-content table thead tr:first-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
    .entry-content table thead tr:only-child th[colspan],
    .entry-content table thead tr:only-child th[colspan] :is(h1, h2, h3, h4, h5, h6) {
        font-size: 0.95rem !important;
        padding: 11px 12px !important;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 10px 8px !important;
    }
}

@media (max-width: 480px) {
    .entry-content table {
        font-size: 0.8rem !important;
        line-height: 1.65 !important;
    }

    .entry-content table caption,
    .entry-content table caption :is(h1, h2, h3, h4, h5, h6),
    .entry-content table tr:first-child th[colspan],
    .entry-content table tr:first-child th[colspan] :is(h1, h2, h3, h4, h5, h6),
    .entry-content table tr:first-child td[colspan],
    .entry-content table tr:first-child td[colspan] :is(h1, h2, h3, h4, h5, h6) {
        font-size: 0.9rem !important;
        padding: 10px 8px !important;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 8px 6px !important;
    }
}

.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

.btn-modern {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.btn-blue:hover { background: #2563eb; color: #fff; }
.btn-pink { background: #fdf2f8; color: #db2777; border: 1px solid #fbcfe8; }
.btn-pink:hover { background: #db2777; color: #fff; }
.btn-yellow { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.btn-yellow:hover { background: #ca8a04; color: #fff; }
.btn-green { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.btn-green:hover { background: #16a34a; color: #fff; }

.pulse-btn {
    display: inline-block;
    animation: pulse-mini 2s infinite ease-in-out;
    background-color: #f34747;
    border-radius: 12px;
    padding: 2px 8px;
    white-space: nowrap;
    vertical-align: middle;
    margin-right: 5px;
}

.pulse-btn a {
    color: #ffffff !important;
    border-bottom: unset !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px;
}

@keyframes pulse-mini {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

body.dark .entry-content table,
body.dark .entry-content table thead,
body.dark .entry-content table tbody,
body.dark .entry-content table tfoot,
body.dark .entry-content table tr {
    background: #1b2834 !important;
}

body.dark .entry-content table {
    border-color: #2b3e50 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

body.dark .entry-content table caption,
body.dark .entry-content table tr:first-child th[colspan],
body.dark .entry-content table tr:first-child td[colspan],
body.dark .entry-content table thead tr:first-child th[colspan],
body.dark .entry-content table thead tr:only-child th[colspan] {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-bottom: 1px solid #2b3e50 !important;
    border-left: none !important;
}

body.dark .entry-content table caption *,
body.dark .entry-content table tr:first-child th[colspan] *,
body.dark .entry-content table tr:first-child td[colspan] *,
body.dark .entry-content table thead tr:first-child th[colspan] *,
body.dark .entry-content table thead tr:first-child td[colspan] *,
body.dark .entry-content table thead tr:only-child th[colspan] *,
body.dark .entry-content table thead tr:only-child td[colspan] * {
    color: #f8fafc !important;
}

body.dark .entry-content table th {
    background: #16222c !important;
    color: #a8bdd1 !important;
    border-bottom: 1px solid #2b3e50 !important;
    border-left: 1px solid #283a4c !important;
}

body.dark .entry-content table thead th {
    background: #16222c !important;
    color: #a8bdd1 !important;
}

body.dark .entry-content table td {
    background: #1b2834 !important;
    color: #e2edf5 !important;
    border-bottom: 1px solid #283a4c !important;
    border-left: 1px solid #283a4c !important;
}

body.dark .entry-content table th:last-child,
body.dark .entry-content table td:last-child {
    border-left: none !important;
}

body.dark .entry-content table tr:last-child td,
body.dark .entry-content table tr:last-child th {
    border-bottom: none !important;
}

body.dark .entry-content table td strong,
body.dark .entry-content table td b,
body.dark .entry-content table th strong,
body.dark .entry-content table th b {
    color: #ffffff !important;
}

body.dark .entry-content table tr:hover td {
    background: #233544 !important;
}

body.dark .entry-content table td a {
    color: #60a5fa;
}

body.dark .entry-content table span[style*="color"],
body.dark .entry-content table p[style*="color"] {
    color: inherit !important;
}

.entry-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-right: 4px solid var(--pink, #c8748c);
    border-radius: 0 4px 4px 0;
    color: var(--ink, #334155);
    font-size: 15px;
    line-height: 1.9;
}

.entry-content .inline-related-posts,
.inline-related-posts {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    max-width: 680px !important;
    margin: 28px auto !important;
    padding: 12px 16px 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-right: 5px solid #c8748c !important; 
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.entry-content .inline-related-posts:hover,
.inline-related-posts:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(200, 116, 140, 0.14) !important;
    border-color: #cbd5e1 !important;
    border-right-color: #a84c68 !important;
}

.inline-related-posts .inline-related-posts-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
}

.inline-related-posts .inline-related-badge {
    position: relative !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: rotate(180deg) !important;
    background: #fdf0f3 !important;
    color: #c8748c !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 8px 4px !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    border: 1px solid #f9dbe4 !important;
}

.inline-related-posts .inline-related-post-thumbnail {
    flex-shrink: 0 !important;
    width: 120px !important;
    height: 80px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f1f5f9 !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.inline-related-posts .inline-related-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.35s ease !important;
}

.inline-related-posts:hover .inline-related-post-thumbnail img {
    transform: scale(1.08) !important;
}

.inline-related-posts .inline-related-post-content {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 4px !important;
}

.inline-related-posts .inline-related-subtitle {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #c8748c !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

.inline-related-posts .inline-related-posts-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
}

.inline-related-posts:hover .inline-related-posts-title {
    color: #c8748c !important;
}

.inline-related-posts .inline-related-arrow {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #c8748c !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(200, 116, 140, 0.35) !important;
    transition: all 0.25s ease !important;
}

.inline-related-posts:hover .inline-related-arrow {
    background: #b35e79 !important;
    transform: translateX(-4px) scale(1.05) !important;
    box-shadow: 0 5px 14px rgba(200, 116, 140, 0.5) !important;
}

@media only screen and (max-width: 600px) {
    .entry-content .inline-related-posts,
    .inline-related-posts {
        gap: 10px !important;
        padding: 10px 10px 10px 12px !important;
        margin: 20px 0 !important;
        border-radius: 12px !important;
    }

    .inline-related-posts .inline-related-badge {
        font-size: 9.5px !important;
        padding: 6px 3px !important;
    }

    .inline-related-posts .inline-related-post-thumbnail {
        width: 88px !important;
        height: 64px !important;
        border-radius: 7px !important;
    }

    .inline-related-posts .inline-related-subtitle {
        font-size: 10.5px !important;
    }

    .inline-related-posts .inline-related-posts-title {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .inline-related-posts .inline-related-arrow {
        width: 32px !important;
        height: 32px !important;
    }

    .inline-related-posts .inline-related-arrow svg {
        width: 15px !important;
        height: 15px !important;
    }
}

body.dark .entry-content .inline-related-posts,
body.dark .inline-related-posts {
    background: #1e293b !important;
    border-color: #334155 !important;
    border-right-color: #f472b6 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3) !important;
}

body.dark .inline-related-posts:hover {
    border-color: #475569 !important;
    border-right-color: #f472b6 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.dark .inline-related-posts .inline-related-badge {
    background: #311b27 !important;
    color: #f472b6 !important;
    border-color: #55273f !important;
}

body.dark .inline-related-posts .inline-related-post-thumbnail {
    background: #0f172a !important;
}

body.dark .inline-related-posts .inline-related-subtitle {
    color: #f472b6 !important;
}

body.dark .inline-related-posts .inline-related-posts-title {
    color: #f1f5f9 !important;
}

body.dark .inline-related-posts:hover .inline-related-posts-title {
    color: #f472b6 !important;
}

body.dark .inline-related-posts .inline-related-arrow {
    background: #f472b6 !important;
    color: #1e293b !important;
    box-shadow: 0 3px 10px rgba(244, 114, 182, 0.3) !important;
}

body.dark .inline-related-posts:hover .inline-related-arrow {
    background: #ec4899 !important;
    color: #ffffff !important;
}

.entry-content h2:not(table *):not(blockquote *):not(.no-bar)::before,
.entry-content h3:not(table *):not(blockquote *):not(.no-bar)::before,
.entry-content h4:not(table *):not(blockquote *):not(.no-bar)::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--pink, #ef5d91);
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

[dir="ltr"] .entry-content h2:not(table *):not(blockquote *):not(.no-bar)::before,
[dir="ltr"] .entry-content h3:not(table *):not(blockquote *):not(.no-bar)::before,
[dir="ltr"] .entry-content h4:not(table *):not(blockquote *):not(.no-bar)::before {
    margin-left: 0;
    margin-right: 10px;
}

.entry-content h2.has-text-align-center::before,
.entry-content h3.has-text-align-center::before,
.entry-content h4.has-text-align-center::before,
.entry-content h2[style*="text-align: center"]::before,
.entry-content h3[style*="text-align: center"]::before,
.entry-content h4[style*="text-align: center"]::before,
.entry-content h2[style*="text-align:center"]::before,
.entry-content h3[style*="text-align:center"]::before,
.entry-content h4[style*="text-align:center"]::before,
.entry-content h2:empty::before,
.entry-content h3:empty::before,
.entry-content h4:empty::before {
    display: none !important;
}

@media print {
    
    .site-header,
    .site-footer,
    .single-sidebar,
    .reading-progress-bar,
    .entry-share-bar,
    .related-posts,
    #comments,
    .comment-respond,
    .author-hero-card,
    .tags,
    .breadcrumb-bar,
    .mobile-menu-drawer,
    .site-search-overlay,
    .popular-links-grid,
    iframe,
    video,
    button {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt !important;
        line-height: 1.6 !important;
        direction: rtl !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container,
    .single-layout,
    .single-grid,
    .single-main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .entry-header h1 {
        font-size: 18pt !important;
        color: #000000 !important;
        margin-bottom: 12pt !important;
        border-bottom: 2pt solid #000000 !important;
        padding-bottom: 6pt !important;
    }

    .entry-content {
        font-size: 11pt !important;
        line-height: 1.8 !important;
        color: #111111 !important;
    }

    .entry-content h2,
    .entry-content h3,
    .entry-content h4 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .entry-content h2::before,
    .entry-content h3::before,
    .entry-content h4::before {
        display: none !important;
    }

    .entry-content a {
        color: #000000 !important;
        text-decoration: underline !important;
    }

    .entry-content img,
    .entry-content table {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        max-width: 100% !important;
    }

    .entry-content table {
        border: 1pt solid #333333 !important;
    }

    .entry-content table th,
    .entry-content table td {
        border: 1pt solid #333333 !important;
        padding: 4pt 8pt !important;
    }
}


/* ==========================================================================
   ریسپانسیوسازی جامع تصاویر و کپشن‌ها (figure / .wp-caption / figcaption)
   ========================================================================== */
figure,
.wp-caption,
.wp-block-image {
    max-width: 100% !important;
    box-sizing: border-box;
    clear: both;
}

.entry-content figure,
.entry-content .wp-caption,
.entry-content .wp-block-image {
    max-width: 100% !important;
    margin: 1.8em auto;
    text-align: center;
    box-sizing: border-box;
    clear: both;
}

.entry-content figure img,
.entry-content .wp-caption img,
.entry-content .wp-block-image img,
.entry-content img {
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}

.entry-content .acm-cards img {
    max-width: 200px !important;
    width: 200px !important;
    height: 300px !important;
    max-height: 300px !important;
    margin: 0 !important;
}


.entry-content figcaption,
.entry-content .wp-caption-text,
.entry-content .wp-block-image figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted, #64748b);
    text-align: center;
    padding: 0 10px;
    max-width: 100%;
    box-sizing: border-box;
}

body.dark .entry-content figcaption,
body.dark .entry-content .wp-caption-text,
body.dark .entry-content .wp-block-image figcaption {
    color: #94a3b8;
}

.entry-content .aligncenter,
.entry-content figure.aligncenter {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    clear: both;
}

.entry-content .alignnone,
.entry-content figure.alignnone {
    display: block;
    margin: 1.8em auto !important;
    clear: both;
}

.entry-content .alignright,
.entry-content figure.alignright {
    float: right;
    margin: 0.5em 0 1.5em 1.5em;
    max-width: 50% !important;
}

.entry-content .alignleft,
.entry-content figure.alignleft {
    float: left;
    margin: 0.5em 1.5em 1.5em 0;
    max-width: 50% !important;
}

@media (max-width: 720px) {
    .entry-content .alignright,
    .entry-content .alignleft,
    .entry-content figure.alignright,
    .entry-content figure.alignleft {
        float: none !important;
        margin: 1.5em auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
