/* Parsa Transfer Articles Slider */
.ptas-section,
.ptas-section *{
    box-sizing:border-box;
}

.ptas-section{
    --ptas-primary:#65003f;
    --ptas-primary-dark:#47002c;
    --ptas-gold:#b39a00;
    --ptas-gold-soft:#f6f0d2;
    --ptas-text:#282329;
    --ptas-muted:#746c72;
    --ptas-border:#ebe5e8;
    --ptas-soft:#faf8f9;
    --ptas-white:#fff;
    --ptas-gap:18px;
    --ptas-visible:3;

    width:100%;
    direction:rtl;
    color:var(--ptas-text);
    font-family:"IRANSans","IRANSansWeb",Tahoma,Arial,sans-serif;
}

.ptas-shell{
    width:min(1360px,calc(100% - 48px));
    margin-inline:auto;
}

.ptas-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:24px;
}

.ptas-heading-copy{
    max-width:790px;
}

.ptas-kicker{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:7px;
    color:var(--ptas-gold);
    font-size:12px;
    font-weight:800;
    line-height:1.8;
}

.ptas-kicker::before{
    content:"";
    width:28px;
    height:4px;
    border-radius:20px;
    background:var(--ptas-gold);
}

.ptas-title{
    margin:0;
    color:var(--ptas-primary);
    font-size:clamp(24px,2.5vw,34px);
    font-weight:900;
    line-height:1.65;
}

.ptas-subtitle{
    max-width:760px;
    margin:7px 0 0;
    color:var(--ptas-muted);
    font-size:13px;
    font-weight:500;
    line-height:2;
}

.ptas-all-link{
    min-height:44px;
    padding:0 16px;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:1px solid rgba(101,0,63,.16);
    border-radius:13px;
    color:var(--ptas-primary);
    background:#fff;
    text-decoration:none;
    font-size:11px;
    font-weight:800;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

.ptas-all-link:hover{
    color:#fff;
    border-color:var(--ptas-primary);
    background:var(--ptas-primary);
    transform:translateY(-2px);
}

.ptas-all-link svg,
.ptas-read svg,
.ptas-arrow svg,
.ptas-date svg{
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ptas-all-link svg,
.ptas-read svg{
    width:17px;
    height:17px;
}

.ptas-slider{
    position:relative;
}

.ptas-viewport{
    width:100%;
    overflow:hidden;
    outline:none;
    touch-action:pan-y;
}

.ptas-track{
    display:flex;
    direction:rtl;
    gap:var(--ptas-gap);
    will-change:transform;
    transition:transform .48s cubic-bezier(.22,.75,.25,1);
}

.ptas-card{
    flex:0 0 calc((100% - (var(--ptas-gap) * (var(--ptas-visible) - 1))) / var(--ptas-visible));
    min-width:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border:1px solid var(--ptas-border);
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 28px rgba(60,24,45,.055);
    transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.ptas-card:hover{
    transform:translateY(-5px);
    border-color:rgba(101,0,63,.18);
    box-shadow:0 18px 40px rgba(60,24,45,.095);
}

.ptas-media{
    position:relative;
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#eee;
    text-decoration:none;
}

.ptas-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}

.ptas-card:hover .ptas-image{
    transform:scale(1.045);
}

.ptas-category{
    position:absolute;
    top:14px;
    right:14px;
    min-height:30px;
    padding:4px 11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#fff;
    background:var(--ptas-primary);
    box-shadow:0 8px 20px rgba(61,0,38,.18);
    font-size:10px;
    font-weight:800;
    line-height:1.6;
}

.ptas-card-body{
    flex:1;
    padding:18px 18px 17px;
    display:flex;
    flex-direction:column;
}

.ptas-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.ptas-date{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--ptas-gold);
    font-size:10px;
    font-weight:700;
    line-height:1.7;
}

.ptas-date svg{
    width:15px;
    height:15px;
}

.ptas-card-title{
    margin:0;
    font-size:16px;
    font-weight:900;
    line-height:1.9;
}

.ptas-card-title a{
    color:var(--ptas-text);
    text-decoration:none;
}

.ptas-card-title a:hover{
    color:var(--ptas-primary);
}

.ptas-excerpt{
    margin:8px 0 0;
    color:var(--ptas-muted);
    font-size:12px;
    font-weight:500;
    line-height:2;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
}

.ptas-read{
    margin-top:auto;
    padding-top:15px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--ptas-primary);
    text-decoration:none;
    font-size:11px;
    font-weight:800;
    line-height:1.7;
}

.ptas-read:hover{
    color:var(--ptas-gold);
}

.ptas-controls{
    margin-top:18px;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.ptas-arrows{
    display:flex;
    gap:8px;
}

.ptas-arrow{
    width:40px;
    height:40px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--ptas-border);
    border-radius:12px;
    color:var(--ptas-primary);
    background:#fff;
    cursor:pointer;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

.ptas-arrow:hover{
    color:#fff;
    border-color:var(--ptas-primary);
    background:var(--ptas-primary);
    transform:translateY(-1px);
}

.ptas-arrow svg{
    width:19px;
    height:19px;
}

.ptas-dots{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
}

.ptas-dot{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#ded3d9;
    cursor:pointer;
    transition:width .2s ease,background-color .2s ease;
}

.ptas-dot.is-active{
    width:25px;
    background:var(--ptas-primary);
}

.ptas-empty{
    width:min(1360px,calc(100% - 48px));
    margin-inline:auto;
    padding:18px;
    border:1px solid #ebe5e8;
    border-radius:16px;
    direction:rtl;
    text-align:center;
    color:#746c72;
    background:#fff;
    font-family:"IRANSans","IRANSansWeb",Tahoma,Arial,sans-serif;
    font-size:13px;
}

@media (max-width:1024px){
    .ptas-section{
        --ptas-visible:2;
        --ptas-gap:14px;
    }

    .ptas-shell{
        width:min(100% - 36px,1360px);
    }
}

@media (max-width:767px){
    .ptas-section{
        --ptas-visible:1;
        --ptas-gap:12px;
    }

    .ptas-shell{
        width:calc(100% - 28px);
    }

    .ptas-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:14px;
        margin-bottom:18px;
    }

    .ptas-kicker{
        font-size:11px;
    }

    .ptas-title{
        font-size:23px;
    }

    .ptas-subtitle{
        font-size:12px;
    }

    .ptas-all-link{
        min-height:41px;
    }

    .ptas-card-title{
        font-size:17px;
    }

    .ptas-excerpt{
        font-size:13px;
    }

    .ptas-card-body{
        padding:18px;
    }

    .ptas-controls{
        margin-top:14px;
    }
}

@media (max-width:420px){
    .ptas-shell,
    .ptas-empty{
        width:calc(100% - 22px);
    }
}

@media (prefers-reduced-motion:reduce){
    .ptas-track,
    .ptas-card,
    .ptas-image,
    .ptas-arrow,
    .ptas-all-link,
    .ptas-dot{
        transition:none !important;
    }
}
