/* ساختار گرید ریسپانسیو */
.gs-grid {
    display: grid;
    gap: 24px;
    margin: 20px 0;
}

.gs-services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gs-portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* استایل‌های عمومی کارت‌ها */
.gs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(11, 27, 58, 0.05);
    border-color: #0ea5e9;
}

.gs-card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gs-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gs-card-title {
    font-size: 1.15rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.gs-card-title a {
    color: #0b1b3a;
    text-decoration: none;
}

.gs-card-title a:hover {
    color: #0ea5e9;
}

.gs-card-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* متادیتا */
.gs-card-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.gs-meta-price strong {
    color: #0ea5e9;
}

.gs-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.gs-meta-speed-badge {
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* دکمه‌ها */
.gs-btn {
    display: inline-block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.gs-btn-primary {
    background-color: #0b1b3a;
    color: #ffffff;
}

.gs-btn-primary:hover {
    background-color: #0ea5e9;
}

.gs-portfolio-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.gs-portfolio-link:hover {
    text-decoration: underline;
}
