﻿
/* ===== Peyman Tajhiz Articles ===== */
.pta-articles {
    --pta-dark: #18333d;
    --pta-green: #087565;
    --pta-orange: #ed8b39;
    --pta-text: #263941;
    --pta-muted: #78878c;
    --pta-border: #e5ebea;
    direction: rtl;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 45px 25px;
    color: var(--pta-text);
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
    overflow: hidden;
}

.pta-articles *,
.pta-articles *::before,
.pta-articles *::after {
    box-sizing: border-box;
}

.pta-articles a {
    text-decoration: none;
    color: inherit;
}

.pta-articles img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* سربرگ */

.pta-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--pta-border);
}

.pta-kicker {
    display: block;
    color: var(--pta-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.pta-heading h1,
.pta-list-heading h1 {
    margin: 12px 0 7px;
    color: var(--pta-dark);
    font-size: 30px;
    line-height: 1.8;
    font-weight: 800;
}

    .pta-heading h1 span {
        color: var(--pta-green);
    }

.pta-heading p {
    margin: 0;
    color: var(--pta-muted);
    font-size: 13px;
    line-height: 2;
}

.pta-heading-mark {
    color: #eaf0ed;
    font-size: 70px;
    line-height: 1;
    font-weight: 900;
}

/* مقاله اصلی */

.pta-main-article {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    border: 1px solid var(--pta-border);
    background: #f5f8f6;
    overflow: hidden;
}

.pta-main-image {
    position: relative;
    display: block;
    min-height: 360px;
    overflow: hidden;
    background: #e6ece8;
}

    .pta-main-image img {
        position: absolute;
        inset: 0;
        transition: transform .6s ease;
    }

    .pta-main-image:hover img {
        transform: scale(1.04);
    }

.pta-image-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 14px;
    color: #fff;
    background: var(--pta-green);
    font-size: 11px;
    font-weight: 700;
}

.pta-image-number {
    position: absolute;
    left: 20px;
    bottom: 15px;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.pta-main-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 38px;
}

.pta-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pta-green);
    font-size: 11px;
    font-weight: 700;
}

.pta-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pta-orange);
}

.pta-main-content h3 {
    margin: 20px 0 13px;
    color: var(--pta-dark);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.9;
    font-weight: 800;
}

    .pta-main-content h3 a {
        transition: color .25s ease;
    }

        .pta-main-content h3 a:hover {
            color: var(--pta-green);
        }

.pta-main-content > p {
    margin: 0 0 25px;
    color: var(--pta-muted);
    font-size: 13px;
    line-height: 2.4;
}

.pta-read-main {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-width: 175px;
    padding: 13px 16px;
    color: #fff !important;
    background: var(--pta-dark);
    font-size: 12px;
    font-weight: 700;
    transition: background .25s ease;
}

    .pta-read-main:hover {
        background: var(--pta-green);
    }

    .pta-read-main span {
        font-size: 19px;
        transition: transform .25s ease;
    }

    .pta-read-main:hover span {
        transform: translateX(-4px);
    }

/* عنوان آخرین مطالب */

.pta-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 48px 0 22px;
}

    .pta-list-heading h2 {
        margin-bottom: 0;
        font-size: 25px;
    }

.pta-list-caption {
    padding-bottom: 10px;
    color: var(--pta-muted);
    font-size: 12px;
}

/* شبکه سه مقاله */

.pta-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pta-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--pta-border);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .pta-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(24, 51, 61, .08);
    }

.pta-card-image {
    position: relative;
    display: block;
    height: 225px;
    overflow: hidden;
}

    .pta-card-image img {
        transition: transform .5s ease;
    }

.pta-card:hover .pta-card-image img {
    transform: scale(1.05);
}

.pta-card-index {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 9px 12px;
    color: #fff;
    background: var(--pta-dark);
    font-size: 10px;
    direction: ltr;
}

.pta-card-content {
    padding: 21px 20px 18px;
}

.pta-card-category {
    color: var(--pta-green);
    font-size: 11px;
    font-weight: 700;
}

.pta-card-content h3 {
    margin: 12px 0 9px;
    color: var(--pta-dark);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.9;
}

    .pta-card-content h3 a {
        transition: color .25s ease;
    }

        .pta-card-content h3 a:hover {
            color: var(--pta-green);
        }

.pta-card-content > p {
    min-height: 48px;
    margin: 0;
    color: var(--pta-muted);
    font-size: 12px;
    line-height: 2;
}

.pta-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--pta-border);
    color: var(--pta-green) !important;
    font-size: 11px;
    font-weight: 700;
}

    .pta-card-link span {
        font-size: 19px;
        transition: transform .25s ease;
    }

    .pta-card-link:hover span {
        transform: translateX(-4px);
    }

/* نوار تماس */

.pta-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 45px;
    padding: 28px 30px;
    background: var(--pta-dark);
    color: #fff;
    border-right: 4px solid var(--pta-orange);
}

.pta-contact-symbol {
    color: rgba(255,255,255,.15);
    font-size: 36px;
    font-weight: 900;
}

.pta-contact-info {
    flex: 1;
}

    .pta-contact-info h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.9;
    }

    .pta-contact-info p {
        margin: 0;
        color: #c5d1d3;
        font-size: 12px;
        line-height: 2;
    }

.pta-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 18px;
    color: #fff !important;
    background: var(--pta-orange);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    transition: background .25s ease;
}

    .pta-contact-button:hover {
        background: #d77a2b;
    }

    .pta-contact-button span {
        font-size: 19px;
    }

/* تبلت */

@media (max-width: 900px) {
    .pta-articles {
        padding: 30px 18px;
    }

    .pta-main-article {
        grid-template-columns: 1fr 1fr;
    }

    .pta-main-image {
        min-height: 320px;
    }

    .pta-main-content {
        padding: 25px;
    }

        .pta-main-content h3 {
            font-size: 22px;
        }

    .pta-card-image {
        height: 180px;
    }

    .pta-card-content {
        padding: 17px 14px;
    }

        .pta-card-content h3 {
            font-size: 15px;
        }

    .pta-contact {
        gap: 15px;
        padding: 23px 20px;
    }
}

/* موبایل */

@media (max-width: 650px) {
    .pta-articles {
        padding: 25px 14px;
    }

    .pta-heading-mark {
        font-size: 42px;
    }

    .pta-heading h2 {
        font-size: 25px;
    }

    .pta-heading p {
        font-size: 11px;
    }

    .pta-main-article {
        grid-template-columns: 1fr;
    }

    .pta-main-image {
        min-height: 235px;
        height: 235px;
    }

    .pta-main-content {
        padding: 23px 19px;
    }

        .pta-main-content h3 {
            font-size: 22px;
            line-height: 1.9;
        }

        .pta-main-content > p {
            font-size: 12px;
        }

    .pta-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-top: 36px;
    }

        .pta-list-heading h2 {
            font-size: 23px;
        }

    .pta-list-caption {
        padding-bottom: 0;
    }

    .pta-article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pta-card-image {
        height: 220px;
    }

    .pta-card-content {
        padding: 20px;
    }

        .pta-card-content h3 {
            font-size: 17px;
        }

        .pta-card-content > p {
            min-height: 0;
        }

    .pta-contact {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
        padding: 22px 17px;
    }

    .pta-contact-symbol {
        font-size: 28px;
    }

    .pta-contact-info {
        flex-basis: calc(100% - 50px);
    }

        .pta-contact-info h3 {
            font-size: 14px;
        }

        .pta-contact-info p {
            font-size: 11px;
        }

    .pta-contact-button {
        margin-right: auto;
    }
}


