﻿
/* -------------------- فونت‌ها -------------------- */
@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-light.ttf') format('truetype');
    font-weight: 300;
}

* {
    font-family: 'Pelak', sans-serif;
}

body {
    background: #fffef8;
    user-select: none;
}

.title-section {
    font-weight: 700;
    margin: 40px 0 20px;
    text-align: center;
    color: #c9a226
}

.text-gold {
    color: #c9a226
}

.card {
    transition: transform .25s ease,box-shadow .25s ease;
    border: 1px solid #eee
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 24px rgba(0,0,0,.08)
    }

.card-img-top {
    height: 220px;
    object-fit: cover
}

.badge-key {
    background: #f6f1df;
    color: #333;
    border: 1px solid #e7dfbf
}

.small-muted {
    font-size: .86rem;
    color: #666
}

.card-img-top {
    width: 100%;
    height: 220px; /* 👈 ارتفاع ثابت برای همه */
    object-fit: cover; /* 👈 تصویر رو متناسب و بدون تغییر نسبت فشرده می‌کنه */
    object-position: center;
    border-bottom: 1px solid #eee;
}

@media (max-width: 576px) {
    .card-img-top {
        height: 180px; /* در گوشی کمی کوتاه‌تر برای سرعت و تناسب */
    }
}
