/* Church FB Feed Styles - modular plugin */

.cfbf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.cfbf-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.cfbf-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cfbf-meta {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.cfbf-date {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cfbf-message {
    font-size: 0.95rem;
    color: #222;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.cfbf-link {
    margin-top: 8px;
    text-decoration: none;
    color: #0b66c3;
    font-weight: 600;
}

.cfbf-link:hover {
    text-decoration: underline;
}

.cfbf-fallback {
    background: #fff8f0;
    border-left: 4px solid #ffb84d;
    padding: 12px;
    border-radius: 6px;
}

/* Swiper overrides for carousel */
.cfbf-swiper .swiper-container {
    padding-bottom: 40px;
}
.cfbf-swiper .swiper-slide {
    max-width: 520px;
    margin: 0 auto;
}
