﻿/* Offers page */
.offers-site {
    background: #f5f7fb;
}

.offers-hero {
    height: 220px;
    background: url('../img/slider 2.webp') center/cover no-repeat;
    position: relative;
}

.offers-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.offers-hero__overlay h1 {
    font-size: 28px;
    font-weight: 700;
}

.offers-grid {
    background: #c9de99;
    padding: 32px 16px 40px;
}

.offers-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.offer-card {
    background: #ffffff;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.offer-card__image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
}

.offer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 700;
}

.offer-card__content h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.offer-card__content p {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 8px;
}

.offer-card__content a {
    font-size: 12px;
    color: #2f7a1f;
    font-weight: 600;
}

@media (max-width: 900px) {
    .offers-container {
        grid-template-columns: 1fr;
    }
    .offer-card {
        grid-template-columns: 100px 1fr;
    }
}
