﻿body {
}

/* ========================================= */
/* FACEBOOK CARD GRID LOGIC                  */
/* ========================================= */

.custom-fb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

/* 1. The Card Container */
.fb-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eeeeee;
}

    .fb-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

/* 2. The Image Area */
.fb-card-image {
    display: block;
    width: 100%;
    height: 250px; /* Locks the image height so the grid stays perfectly aligned */
    overflow: hidden;
}

    .fb-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.fb-card:hover .fb-card-image img {
    transform: scale(1.05); /* Soft zoom on the art */
}

/* 3. The Text Content Area */
.fb-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes the "read more" link to the bottom automatically */
}

.fb-date {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fb-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.fb-read-more {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .fb-read-more:hover {
        color: #888888;
    }

/* ========================================= */
/* MOBILE RESPONSIVE LOGIC                   */
/* ========================================= */

@media (max-width: 992px) {
    .custom-fb-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .custom-fb-grid {
        /* Single column on mobile so the text remains easy to read */
        grid-template-columns: 1fr;
    }
}

