﻿.ghp-hero {
    margin-bottom: 28px;
}

/* ===== نوار آمار ===== */
.ghp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.ghp-stat {
    text-align: center;
    padding: 20px 10px;
    border-radius: 14px;
    background: #12132C;
    color: #fff;
}

    .ghp-stat b {
        display: block;
        font-size: 28px;
        color: var(--primary-color, #d4a017);
    }

    .ghp-stat span {
        font-size: 13px;
        opacity: .8;
    }

/* ===== هر پروژه ===== */
.ghp-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 64px;
}

.ghp-rev {
    flex-direction: row-reverse;
}

.ghp-media {
    position: relative;
    flex: 1 1 55%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

    .ghp-media img {
        display: block;
        width: 100%;
        height: 380px;
        object-fit: cover;
        transition: transform .6s ease;
    }

.ghp-item:hover .ghp-media img {
    transform: scale(1.06);
}

.ghp-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 44px;
    font-weight: 800;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    line-height: 1;
}

.ghp-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 999px;
    background: var(--primary-color, #d4a017);
    color: #111;
    font-weight: 600;
}

.ghp-body {
    flex: 1 1 45%;
}

    .ghp-body h3 {
        margin-bottom: 14px;
        padding-right: 14px;
        border-right: 4px solid var(--primary-color, #d4a017);
    }

    .ghp-body p {
        line-height: 2;
        margin: 0;
    }

.ghp-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 16px;
}

    .ghp-facts li {
        padding: 5px 12px;
        font-size: 13px;
        border-radius: 999px;
        background: #f1f2f6;
        color: #333;
    }

/* ===== موبایل و تبلت ===== */
@media (max-width: 991px) {
    .ghp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghp-item, .ghp-rev {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 44px;
    }

    .ghp-media {
        width: 100%;
    }

        .ghp-media img {
            height: 260px;
        }
}
