.fb-feed-elementor-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.fb-feed-elementor-grid--list {
    display: flex;
    flex-direction: column;
}

.fb-feed-card {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.fb-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.fb-feed-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fb-feed-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f2f2;
}

.fb-feed-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-feed-card__media--gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.fb-feed-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-feed-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
}

.fb-feed-card__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

.fb-feed-card__placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
    color: #777;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fb-feed-card__message {
    padding: 12px 14px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
    flex-grow: 1;
}

.fb-feed-card__title {
    padding: 12px 14px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.fb-feed-card__excerpt {
    padding: 6px 14px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.fb-feed-card__meta {
    margin-top: auto;
    padding: 12px 14px 14px;
    font-size: 12px;
    color: #777;
}

.fb-feed-elementor-empty {
    padding: 12px 16px;
    border: 1px dashed #c6c6c6;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .fb-feed-elementor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fb-feed-elementor-grid {
        grid-template-columns: 1fr;
    }
}
