.announcements-wrapper {
    width: 100%;
    margin-top: 30px;
}

.announcements-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.announcements-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.announcements-scroll::-webkit-scrollbar {
    height: 8px;
}

.announcements-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.announcements-scroll::-webkit-scrollbar-thumb {
    background: #559d78;
    border-radius: 10px;
}

.announcements-scroll::-webkit-scrollbar-thumb:hover {
    background: #3d7d58;
}

.announcement-card {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 250px;
}

@media (max-width: 768px) {
    .announcement-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .announcement-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.sticky-note-placeholder {
    background: linear-gradient(135deg, #fffacd 0%, #ffeb99 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    border-radius: 5px;
}

.announcement-card .slika-kartice {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.announcement-card .postcard {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.announcement-card .postcard__text {
    flex-grow: 1;
}

.announcements-carousel > :nth-child(1) ~ .announcement-card {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    text-align: center;
    padding: 10px 0;
    font-size: 24px;
    color: #559d78;
    letter-spacing: 5px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.btn-primary[style*="background-color: #559d78"] {
    background-color: #559d78 !important;
    border-color: #559d78 !important;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary[style*="background-color: #559d78"]:hover {
    background-color: #3d7d58 !important;
    border-color: #3d7d58 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.announcement-card .text-fsecondary a {
    color: #559d78;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.announcement-card .text-fsecondary a:hover {
    color: #3d7d58;
    text-decoration: underline;
}
