/* ========================================================================
   CREATIO Facebook Feed - Custom Redesign
   Wersja: 1.0.0
   ======================================================================== */

/* ====== Ukryj oryginalny header wizualny pluginu (ale NIE usuwaj z DOM - potrzebny do cache obrazka) ====== */
.cff-visual-header,
[class*="cff-visual-header-"],
#cff-visual-header-1632003643704858 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    pointer-events: none !important;
}

/* ====== Główny kontener - tło tealowe z dekoracjami ====== */
.cff-wrapper-ctn {
    background-color: #00B5CC !important;
    background-image:
        url("../images/lightbulb.svg"),
        url("../images/paper-plane.svg"),
        url("../images/heart.svg"),
        url("../images/star.svg"),
        url("../images/book.svg");
    background-position:
        8% 18%,
        92% 12%,
        86% 16%,
        48% 92%,
        4% 78%;
    background-repeat: no-repeat;
    background-size: 70px 70px, 70px 70px, 50px 50px, 40px 40px, 80px 60px;
    position: relative !important;
    padding: 50px 24px 70px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Dodatkowe dekoracyjne elementy (pozycjonowane absolutnie dla lepszej kontroli) */
.cff-wrapper-ctn::before,
.cff-wrapper-ctn::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.18;
}

.cff-wrapper-ctn::before {
    bottom: 12%;
    left: 22%;
    width: 60px;
    height: 60px;
    background-image: url("../images/star.svg");
}

.cff-wrapper-ctn::after {
    top: 22%;
    right: 28%;
    width: 50px;
    height: 50px;
    background-image: url("../images/heart.svg");
}

/* Kontener wewnętrzny */
#cff.cff-list-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2;
    float: none !important;
    clear: both !important;
    display: block !important;
}

#cff.cff-list-container[data-char],
#cff.cff-list-container[style] {
    width: 100% !important;
}

/* Wyłączamy całkowicie masonry JS - używamy własnego grida */
.cff-masonry-js .cff-posts-wrap,
.cff-posts-wrap {
    display: grid !important;
    gap: 24px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Wymuszenie rownych wysokosci kolumn */
    grid-auto-rows: 1fr;
    align-items: stretch;
}

/* Desktop: 3 kolumny */
@media (min-width: 1101px) {
    .cff-masonry-js .cff-posts-wrap,
    .cff-posts-wrap {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet: 2 kolumny */
@media (min-width: 769px) and (max-width: 1100px) {
    .cff-masonry-js .cff-posts-wrap,
    .cff-posts-wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 kolumna */
@media (max-width: 768px) {
    .cff-masonry-js .cff-posts-wrap,
    .cff-posts-wrap {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* ====== Własny header (dodawany przez JS) ====== */
.cff-creatio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 40px;
    padding: 0;
    position: relative;
    z-index: 3;
    gap: 24px;
    flex-wrap: wrap;
}

.cff-creatio-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cff-creatio-logo {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    flex-shrink: 0;
}

.cff-creatio-logo svg,
.cff-creatio-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.cff-creatio-title h2 {
    color: #ffffff;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    line-height: 1.25;
}

.cff-creatio-title p {
    color: rgba(255, 255, 255, 0.95);
    margin: 8px 0 0;
    font-size: 13px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.cff-creatio-title p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 2px;
    background: #F6A623;
    border-radius: 2px;
}

.cff-creatio-quote {
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    font-size: 22px;
    font-family: 'Caveat', 'Brush Script MT', cursive;
    font-weight: 500;
    flex: 1;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    min-width: 180px;
}

.cff-creatio-cta {
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 22px 10px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #1877F2 !important;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}

.cff-creatio-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #1877F2 !important;
}

.cff-creatio-cta__icon {
    width: 40px;
    height: 40px;
    background: #1877F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.cff-creatio-cta__icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.cff-creatio-cta__text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.cff-creatio-cta__text-wrap small {
    font-size: 11px;
    color: #65676B;
    font-weight: 500;
    margin-top: 2px;
}

/* ====== Pojedyncza karta posta ====== */
.cff-item {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    border: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 0 1 auto !important;
    height: 100% !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

/* Kasujemy WSZYSTKIE inline position ustawione przez masonry JS */
.cff-item[style*="position: absolute"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

.cff-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16) !important;
}

/* Header karty */
.cff-author {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.cff-author-text {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.cff-author-img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    border-radius: 50% !important;
    overflow: hidden;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 6px !important;
    border: none !important;
}

.cff-author-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block !important;
}

.cff-author-img svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cff-page-name.cff-author-date {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cff-page-name a {
    color: #050505 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}

.cff-date {
    color: #65676B !important;
    font-size: 12px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    font-family: 'Poppins', sans-serif;
}

/* Ikona Facebooka w prawym górnym rogu karty
   UWAGA: Plugin ma regule .cff-author > a { justify-content: flex-start; flex: 1; }
   ktora rowniez lapie nasz .cff-card-fb-icon (te jest <a> dzieckiem .cff-author).
   Musimy to nadpisac explicite. */
.cff-card-fb-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex: 0 0 38px !important;     /* nie rosnij, nie kurcz sie */
    background: #1877F2 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;  /* wycentruj SVG w kolku */
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
    margin-left: auto !important;    /* popchnij do prawej krawedzi */
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.cff-card-fb-icon:hover {
    background: #1565d8;
    color: #ffffff !important;
    transform: scale(1.08);
}

.cff-card-fb-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    color: #ffffff;
    display: block;
}

/* Treść posta */
.cff-post-text {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #050505;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.cff-post-text span.cff-text {
    color: #050505 !important;
    font-weight: 400 !important;
    display: inline;
}

.cff-post-text strong,
.cff-post-text b {
    font-weight: 700;
}

/* Link "Czytaj więcej" - dodawany przez JS */
.cff-read-more {
    color: #00B5CC !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s;
    display: inline;
}

.cff-read-more:hover {
    color: #1877F2 !important;
    text-decoration: underline !important;
}

/* Link do zdjecia w poscie - zamieniamy w obrazek */
.cff-media-link {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.cff-media-link a {
    display: block !important;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.cff-media-link img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease;
}

.cff-media-link a:hover img {
    transform: scale(1.03);
}

/* Wrapper obrazkow pluginu (multi-image grid) */
.cff-media-wrap {
    display: block !important;
    margin: auto 0 12px !important;  /* auto na górze - obrazek przyklejony do dołu */
    border-radius: 12px;
    overflow: hidden;
    background: #f0f2f5;
    flex-shrink: 0;
}

/* Nadpisujemy WSZYSTKIE layouty pluginu (.cff-img-layout-1 do 5) */
.cff-media-wrap .cff-photos,
.cff-media-wrap .cff-photos.cff-img-layout-1,
.cff-media-wrap .cff-photos.cff-img-layout-2,
.cff-media-wrap .cff-photos.cff-img-layout-3,
.cff-media-wrap .cff-photos.cff-img-layout-4,
.cff-media-wrap .cff-photos.cff-img-layout-5,
.cff-media-wrap .cff-photos.cff-multiple,
.cff-media-wrap .cff-photos.nofancybox {
    display: grid !important;
    gap: 2px !important;
    width: 100% !important;
    background: #ffffff !important;
    height: auto !important;
    max-height: 320px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
}

/* 1 zdjecie */
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(1):last-child {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    height: 320px !important;
    max-height: 320px !important;
}

/* 2 zdjecia - side by side */
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(1):nth-last-child(2) {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(2):nth-last-child(1) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

/* 3 zdjecia - 2 + 1 layout */
.cff-media-wrap .cff-photos:has(.cff-single-photo:nth-child(3):last-child) {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}

/* 4+ zdjecia - 2x2 grid */
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(1):nth-last-child(n+4) ~ .cff-single-photo,
.cff-media-wrap .cff-photos:has(.cff-single-photo:nth-child(4):last-child) {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    height: 320px !important;
}

/* Ukryj dodatkowe zdjecia (max 4) */
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(n+5) {
    display: none !important;
}

/* Pojedyncze zdjecie */
.cff-media-wrap .cff-single-photo {
    display: block !important;
    width: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
    position: relative !important;
    background: #e3f4f8;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.cff-media-wrap .cff-single-photo img,
.cff-media-wrap .cff-single-photo img.cff-multi-image,
.cff-media-wrap .cff-single-photo img.cff-feed-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

/* Wyjatek: 1 zdjecie - aspect 16/10 */
.cff-media-wrap .cff-photos .cff-single-photo:nth-child(1):last-child img {
    aspect-ratio: 16/10 !important;
}

/* Placeholder gdy brak obrazka */
.cff-media-link a:not(:has(img)) {
    background: linear-gradient(135deg, #e3f4f8 0%, #c8e8ef 100%);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B5CC;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Ukryj niepotrzebne elementy oryginalnego pluginu */
.cff-likebox {
    display: none !important;
}

.cff-viewpost-facebook,
.cff-share-link,
.cff-share-container,
.cff-share-tooltip,
.cff-expand,
.cff-media-link .fa-picture-o,
.cff-screenreader {
    display: none !important;
}

.cff-post-links {
    display: none !important;
}

/* Ukryj powtarzający się page name na każdym poście - już pokazujemy w headerze karty */
.cff-item .cff-author .cff-page-name a[href*="facebook.com/1632003643704858"]:only-of-type {
    /* keep but smaller */
}

/* ====== Statystyki reakcji (dodawane przez JS) ====== */
.cff-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    margin: 4px 0 6px;
    border-top: 1px solid #f0f2f5;
    font-size: 13px;
    color: #65676B;
    font-family: 'Poppins', sans-serif;
}

.cff-card-reactions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cff-card-reactions__icons {
    display: flex;
}

.cff-card-reactions__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffffff;
    margin-left: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cff-card-reactions__icon:first-child {
    margin-left: 0;
}

.cff-card-reactions__icon--like {
    background: #1877F2;
    color: #ffffff;
}

.cff-card-reactions__icon--heart {
    background: #F33E58;
    color: #ffffff;
}

.cff-card-stats-right {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #65676B;
}

/* ====== Przyciski akcji (dodawane przez JS) ====== */
.cff-card-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px 0 0;
    border-top: 1px solid #f0f2f5;
    margin-top: 0;  /* nie konkuruj z auto-margin na .cff-media-wrap */
    flex-shrink: 0;
}

.cff-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 8px;
    color: #65676B !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.cff-card-action:hover {
    background: #f0f2f5;
    color: #050505 !important;
}

.cff-card-action svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* ====== Stopka feedu - paginacja + "zobacz więcej" ====== */
.cff-feed-footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 0 !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 3;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: 1320px !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Przycisk "Wczytaj więcej" - ukryty (akcje przeniesione do "Zobacz więcej postów") */
.cff-wrapper-ctn #cff-load-more,
.cff-wrapper-ctn button.cff-load-more {
    display: none !important;
}

.cff-wrapper-ctn #cff-load-more:hover,
.cff-wrapper-ctn button.cff-load-more:hover {
    opacity: 0.85;
    transform: translateX(3px);
    color: #ffffff !important;
    background: transparent !important;
}

.cff-wrapper-ctn #cff-load-more span,
.cff-wrapper-ctn button.cff-load-more span {
    color: #ffffff !important;
    background: transparent !important;
}

.cff-wrapper-ctn #cff-load-more svg,
.cff-wrapper-ctn button.cff-load-more svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    fill: none;
}

.cff-pagination-dots {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.cff-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.cff-pagination-dot.active {
    background: #ffffff;
    width: 28px;
    border-radius: 5px;
}

.cff-pagination-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

.cff-see-more {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
    font-family: 'Poppins', sans-serif;
}

.cff-see-more:hover {
    opacity: 0.85;
    color: #ffffff !important;
    transform: translateX(3px);
}

.cff-see-more svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    fill: none;
}

/* ====== Responsywność ====== */
@media (max-width: 1100px) {
    .cff-creatio-quote {
        font-size: 18px;
    }

    .cff-creatio-title h2 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .cff-wrapper-ctn {
        padding: 32px 16px 50px !important;
        background-size:
            50px 50px,
            50px 50px,
            36px 36px,
            30px 30px,
            60px 45px !important;
    }

    /* Header - 2 wiersze: brand (logo+tytul) i CTA pod spodem */
    .cff-creatio-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 28px;
    }

    .cff-creatio-brand {
        flex-direction: row;
        gap: 14px;
        align-items: center;
    }

    .cff-creatio-logo {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .cff-creatio-title h2 {
        font-size: 17px;
        line-height: 1.25;
    }

    .cff-creatio-title p {
        font-size: 12px;
        margin-top: 4px;
        padding-bottom: 8px;
    }

    .cff-creatio-title p::after {
        left: 0;
        transform: none;
    }

    /* Cytat ukryty na mobile (zabiera za duzo miejsca) */
    .cff-creatio-quote {
        display: none;
    }

    /* CTA jako duzy pill button na pelna szerokosc */
    .cff-creatio-cta {
        align-self: stretch;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .cff-creatio-cta__icon {
        width: 36px;
        height: 36px;
    }

    .cff-feed-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Zmniejsz padding kart */
    .cff-item {
        padding: 18px !important;
    }

    /* Zmniejsz font headera karty */
    .cff-page-name a {
        font-size: 13px !important;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .cff-creatio-cta__text-wrap small {
        display: none;
    }

    /* Karty - akcje pionowo z lepszymi paddingami */
    .cff-card-actions {
        grid-template-columns: 1fr !important;
        gap: 1px !important;
        padding: 8px 0 0 !important;
    }

    .cff-card-action {
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        gap: 10px !important;
        border-radius: 6px !important;
        background: transparent;
    }

    .cff-card-action:hover {
        background: #f0f2f5;
    }

    .cff-card-action svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
    }

    .cff-creatio-brand {
        gap: 10px;
    }

    .cff-creatio-logo {
        width: 60px;
        height: 60px;
    }

    .cff-creatio-title h2 {
        font-size: 15px;
    }
}

/* ====== Animacje wejścia ====== */
@keyframes cffFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cff-creatio-header {
    animation: cffFadeInUp 0.6s ease;
}

.cff-item {
    animation: cffFadeInUp 0.6s ease backwards;
}

.cff-item:nth-child(1) { animation-delay: 0.1s; }
.cff-item:nth-child(2) { animation-delay: 0.2s; }
.cff-item:nth-child(3) { animation-delay: 0.3s; }
.cff-item:nth-child(4) { animation-delay: 0.4s; }

.cff-feed-footer {
    animation: cffFadeInUp 0.6s ease 0.4s backwards;
}