/* ================================================
   Festes Events Widget — Frontend Styles
   ================================================ */

.few-wrapper {
    width: 100%;
}

/* Grid ------------------------------------------ */
.few-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Card ------------------------------------------ */
.few-card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.few-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

/* Image ----------------------------------------- */
.few-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
}

.few-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.few-card:hover .few-img-wrap img {
    transform: scale(1.05);
}

/* Body ------------------------------------------ */
.few-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

/* Day label ------------------------------------- */
.few-day {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #888888;
    line-height: 1.3;
}

/* Event title ----------------------------------- */
.few-title {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    line-height: 1.35;
    flex: 1;
}

/* Button ---------------------------------------- */
.few-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111111;
    text-decoration: none;
    border-bottom: 1.5px solid #111111;
    padding-bottom: 2px;
    width: fit-content;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.few-btn:hover {
    color: #cc2200;
    border-bottom-color: #cc2200;
    text-decoration: none;
}

/* Responsive ------------------------------------ */

/* Tablet (default: 2 cols — overridden per-instance via inline style) */
@media (max-width: 1024px) {
    .few-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .few-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .few-body {
        padding: 10px 12px 12px;
    }

    .few-title {
        font-size: 13px;
    }

    .few-day {
        font-size: 10px;
    }

    .few-btn {
        font-size: 11px;
        margin-top: 8px;
    }
}
