/* Spoofee Freebies Page */

/* Hero */
.freebies-hero {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: 24px;
    border: 1px solid #dbe5ef;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.freebies-hero-copy {
    max-width: 1200px;
    flex:1;
}

.freebies-hero h1 {
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.freebies-hero p {
    margin: 0;
    color: #526070;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width:900px;
}

.freebies-hero-side {
    display: flex;
    align-self: center;
    align-items: center;
    gap: 18px;
    flex:0 0 auto;
    flex-shrink: 0;
}

.freebies-forum-btn {
    display:inline-flex;
    align-items:center;
    gap:.65rem;
    transition: .2s ease;
}
.freebies-forum-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
}
.freebies-forum-btn small{

    font-size:.75rem;
}
@media (min-width:768px) {

    .freebies-forum-btn {
        width: 170px;
        min-height: 100px;
        padding: 15px;
        border-radius: 18px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;
        gap: 10px;
    }

    .freebies-forum-btn i {
        font-size: 1.7rem;
        margin: 0 !important;
    }

    .freebies-forum-btn span {
        align-items: center !important;
    }

    .freebies-forum-btn small {
        font-size: .82rem;
        line-height: 1.35;
    }
}

/* Page 2+ compact heading */
.freebies-page-heading {
    padding: 22px 26px;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    background: #fff;
}

.freebies-page-heading h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.freebies-page-heading p {
    margin: 0;
    color: #526070;
}

/* Filters / Search */
.freebie-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top:1rem;
}

.freebie-filter {
    border: 1px solid #dbe5ef;
    background: #fff;
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 600;
    color: #425466;
    transition: all .15s ease;
}

.freebie-filter.active,
.freebie-filter:hover {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.freebie-search {
    max-width: 520px;
}

.freebies-result-count {
    color: #64748b;
    font-size: .95rem;
    font-weight: 600;
}

/* Cards */
.freebie-card {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    transition: transform .15s ease, box-shadow .15s ease;
}

.freebie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.freebie-thumb {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
    text-decoration: none;
}

.freebie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    background: #fff;
}

.freebie-card-body {
    padding: 16px;
}

.freebie-title {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 750;
}

.freebie-title a {
    color: #1f2937;
    text-decoration: none;
}

.freebie-title a:hover {
    color: #0d6efd;
}

.freebie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.freebie-stats {
    font-size: 12px;
    color: #94a3b8;
}

/* Category badges */
.freebie-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.freebie-badge--food_drinks {
    background:#e8f5e9;
    color:#2e7d32;
    border-color:#c8e6c9;
}

.freebie-badge--samples_by_mail {
    background:#e0f7fa;
    color:#00838f;
    border-color:#b2ebf2;
}

.freebie-badge--beauty {
    background:#fce4ec;
    color:#c2185b;
    border-color:#f8bbd0;
}

.freebie-badge--baby_kids {
    background:#fff3e0;
    color:#ef6c00;
    border-color:#ffe0b2;
}

.freebie-badge--pets {
    background:#ede7f6;
    color:#5e35b1;
    border-color:#d1c4e9;
}

.freebie-badge--photo_prints {
    background:#f3e5f5;
    color:#8e24aa;
    border-color:#e1bee7;
}

.freebie-badge--birthday {
    background:#fff8e1;
    color:#f9a825;
    border-color:#ffecb3;
}

.freebie-badge--rewards_app {
    background:#e3f2fd;
    color:#1565c0;
    border-color:#bbdefb;
}

.freebie-badge--giveaways {
    background:#ede7f6;
    color:#673ab7;
    border-color:#d1c4e9;
}

.freebie-badge--rebates {
    background:#ffebee;
    color:#c62828;
    border-color:#ffcdd2;
}

.freebie-badge--digital {
    background:#e8eaf6;
    color:#3949ab;
    border-color:#c5cae9;
}

.freebie-badge--local {
    background:#e8f5e9;
    color:#388e3c;
    border-color:#c8e6c9;
}

.freebie-badge--travel {
    background:#e3f2fd;
    color:#0277bd;
    border-color:#b3e5fc;
}

.freebie-badge--other {
    background:#e8f5e9;
    color:#388e3c;
    border-color:#c8e6c9;
}

/* Expiration badges */
.freebie-expiration {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.freebie-expiration--active {
    background: #e3f2fd;
    color: #1565c0;
}

.freebie-expiration--soon {
    background: #fff3e0;
    color: #ef6c00;
}

.freebie-expiration--expired {
    background: #ffebee;
    color: #c62828;
}

.freebie-expiration--unknown {
    background: #f5f5f5;
    color: #616161;
}

/* Responsive */
@media (max-width: 768px) {
    .freebies-hero {
        display: block;
        padding: 28px 24px;
        border-radius: 18px;
    }

    .freebies-hero h1 {
        font-size: 2.4rem;
        line-height: 1.12;
        margin-bottom: 18px;
    }

    .freebies-hero p {
        font-size: 1.35rem;
        line-height: 1.55;
    }

    .freebies-hero-side {
        margin-top: 22px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
.fw-md-semibold {
    font-weight: normal;
}

@media (min-width: 768px) {
    .fw-md-semibold {
        font-weight: 600;
    }
}
.freebie-card.is-expired {
    background: #f7f7f7;
    border-color: #d6d6d6;
    color: #6b7280;
}

.freebie-card.is-expired .freebie-thumb {
    position: relative;
    background: #f1f1f1;
}

.freebie-card.is-expired .freebie-thumb img {
    filter: grayscale(1);
    opacity: .55;
}

.expired-ribbon {
    position: absolute;
    top: 18px;
    left: -42px;
    z-index: 2;
    width:120px;
    font-size:.72rem;
    padding: 6px 0;
    transform: rotate(-45deg);
    background: #6b7280;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .05em;
}

.freebie-card.is-expired .freebie-badge {
    background: #eeeeee;
    color: #777;
    border-color: #dddddd;
}

.freebie-title.is-expired-title a {
    color: #777;
}

.freebie-title.is-expired-title a:hover {
    color: #555;
}

.freebie-card.is-expired .freebie-expiration {
    background: #dddddd;
    color: #666;
}

.freebie-card.is-expired .freebie-stats {
    color: #8a8a8a;
}
.freebie-card.is-expired {
    opacity: .78;
}
.freebie-card.is-expired:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(15,23,42,.05);
}
