/* Native Elementor Posts widget, styled with the shared Nima palette. */
body .nima-latest-articles {
    position: relative;
    background: linear-gradient(180deg,#fff 0%,#f5fbfd 46%,#fff 100%);
}
.nima-latest-articles > .elementor-container { position:relative; z-index:1; }
.nima-latest-articles .elementor-widget-wrap { align-content:flex-start; }
.nima-latest-kicker .elementor-heading-title {
    color:#2C95B3;
    font-family:IRANSans,sans-serif;
    font-size:14px;
    font-weight:500;
    line-height:1.8;
}
.nima-latest-heading .elementor-heading-title {
    color:#000;
    font-family:Kalameh,sans-serif;
    font-size:42px;
    font-weight:700;
    line-height:1.35;
}
.nima-latest-intro { color:#526773; font-family:IRANSans,sans-serif; font-size:15px; line-height:1.9; }
.nima-latest-intro p { margin:0; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts { margin-top:22px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post {
    background:#fff;
    padding:18px;
    border:1px solid rgba(44,149,179,.16);
    border-radius:22px;
    box-shadow:0 10px 32px rgba(29,94,113,.055);
    transition:box-shadow .25s ease,border-color .25s ease;
}
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post:is(:hover,:focus-within) { border-color:rgba(44,149,179,.4); box-shadow:0 16px 38px rgba(29,94,113,.1); }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__thumbnail__link { border-radius:13px; overflow:hidden; margin-bottom:22px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__thumbnail { border-radius:13px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__thumbnail img { border-radius:13px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__text { text-align:right; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__title,
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__title a { font-family:Kalameh,sans-serif; font-size:25px; font-weight:700; line-height:1.5; color:#102c36; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__title a:is(:hover,:focus-visible) { color:#2C95B3; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__meta-data { color:#2C95B3; font-family:IRANSans,sans-serif; font-size:13px; margin-bottom:16px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__excerpt p { color:#526773; font-family:IRANSans,sans-serif; font-size:15px; line-height:1.95; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts a.elementor-post__read-more {
    display:inline-flex; align-items:center; gap:10px;
    min-height:44px; padding:10px 18px; margin:4px 0 0;
    border:1px solid rgba(44,149,179,.2); border-radius:13px;
    background:#eff8fb; color:#207e99; font-family:IRANSans,sans-serif;
    font-size:14px; font-weight:500; line-height:1.5;
    transition:background-color .2s ease,color .2s ease;
}
body:is(.page-id-83,.nima-login-page) .nima-latest-posts a.elementor-post__read-more::after { content:'←'; font-size:18px; }
body:is(.page-id-83,.nima-login-page) .nima-latest-posts a.elementor-post__read-more:is(:hover,:focus-visible) { color:#fff; background:#2C95B3; }
.nima-latest-all { margin-top:26px; }
.nima-latest-all .elementor-button {
    border-radius:13px; background:#2C95B3; color:#fff;
    font-family:IRANSans,sans-serif; font-size:15px; padding:14px 24px;
}
.nima-latest-all .elementor-button:is(:hover,:focus-visible) { background:#207e99; color:#fff; }
.nima-latest-articles a:focus-visible { outline:2px solid #2C95B3; outline-offset:4px; }
/* One published article uses a full-width feature card; additional posts form a grid. */
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post:only-child {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1.1fr 1fr;
    align-items:center;
    gap:32px;
    padding:24px;
}
body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post:only-child .elementor-post__thumbnail__link { margin:0; width:100%; }
@media(max-width:767px) {
    .nima-latest-heading .elementor-heading-title { font-size:32px; }
    body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post:only-child { display:flex; flex-direction:column; gap:22px; padding:16px; }
    body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__title,
    body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__title a { font-size:23px; }
    body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post__text { width:100%; }
}
@media(prefers-reduced-motion:reduce) { body:is(.page-id-83,.nima-login-page) .nima-latest-posts .elementor-post,body:is(.page-id-83,.nima-login-page) .nima-latest-posts a.elementor-post__read-more { transition:none; } }

.nima-latest-kicker .elementor-heading-title,.nima-latest-intro p { text-align:center!important; }
