.sticky-notes-section {
    padding: 3rem 0;
    background: #f9f9f9;
}

.blog .obavestenja-container {
    max-width: 900px;
    margin: 2rem auto;
}

.obavestenja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.obavestenje-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.obavestenje-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.obavestenje-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.obavestenje-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obavestenje-card-body {
    padding: 1.5rem;
}

.obavestenje-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.obavestenje-card-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.obavestenje-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* Standard property for better compatibility */
    -webkit-box-orient: vertical;
}

.obavestenje-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-read-more {
    color: #559d78;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-read-more:hover {
    color: #3d7255;
}

.blog-list {
    max-width: 900px;
    margin: 2rem auto;
}

.blog-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.blog-item-header {
    margin-bottom: 1rem;
}

.blog-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.blog-item-meta {
    font-size: 0.9rem;
    color: #999;
}

.blog-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    margin: 1rem 0;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-content {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-line;
}

.blog-item-content p {
    margin: 0 0 0.65rem;
}

.blog-item-content p:last-child {
    margin-bottom: 0;
}

.blog-item-content .announcement-opis,
.blog-item-content .announcement-sadrzaj {
    margin: 0;
}

.blog-item-content .announcement-opis p,
.blog-item-content .announcement-sadrzaj p,
.blog-item-content .announcement-opis li,
.blog-item-content .announcement-sadrzaj li {
    margin: 0 0 0.5rem !important;
}

.blog-item-content .announcement-opis p:last-child,
.blog-item-content .announcement-sadrzaj p:last-child {
    margin-bottom: 0 !important;
}

.blog-item-content .announcement-opis ul,
.blog-item-content .announcement-opis ol,
.blog-item-content .announcement-sadrzaj ul,
.blog-item-content .announcement-sadrzaj ol {
    margin: 0.35rem 0 0.7rem 1.2rem;
}

.blog-item-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.blog-item-date {
    font-size: 0.85rem;
    color: #999;
}

.sticky-notes-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: block;
    overflow: hidden;
}

.sticky-notes-carousel {
    display: flex !important;
    gap: 2rem;
    justify-content: space-between;
    align-items: stretch;
    margin: 2rem 0;
    flex-wrap: nowrap !important;
    width: 100%;
    overflow: hidden;
}

.sticky-note {
    position: relative;
    flex: 1 1 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(85, 157, 120, 0.2);
    border-top: 4px solid #559d78;
    display: flex;
    flex-direction: column;
    transform: none;
    min-width: 0;
    min-height: 400px;
}

.sticky-note:hover {
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.4);
}

.sticky-note-icon {
    position: absolute;
    top: -8px;
    right: 12px;
    font-size: 1.4rem;
    color: #3d7d58;
    transform: rotate(-25deg);
}

.sticky-note-image-container {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    background: #f0f0f0;
}

.sticky-note-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sticky-note-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8e6c9 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3d7d58;
    font-size: 2rem;
}

.sticky-note-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sticky-note-title {
    font-size: 1.8rem !important;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.8rem 0;
    line-height: 1.35;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 0.5px;
}

.sticky-note-separator {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 0 0.8rem 0;
}

.sticky-note-text {
    flex-grow: 1;
    font-size: 1.4rem !important;
    color: #555;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    white-space: pre-line;
}

.sticky-note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem !important;
    color: #666;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.sticky-note-footer small {
    font-size: 1.1rem !important;
    line-height: 1.3;
}

.sticky-note-link {
    color: #559d78;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 1.1rem !important;
    line-height: 1.3;
    margin-left: auto;
}

.sticky-note-link:hover {
    color: #3d7255;
    text-decoration: underline;
}

.sticky-notes-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0 0.75rem 0;
    position: relative;
    z-index: 5;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot:hover {
    background: #bbb;
    transform: scale(1.15);
}

.indicator-dot.active {
    background: #559d78;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 2px rgba(85, 157, 120, 0.3);
}

.sticky-notes-all-announcements {
    display: flex;
    justify-content: center;
    margin: 0 0 2rem 0;
    position: relative;
    z-index: 5;
}

.sticky-notes-all-announcements a {
    display: inline-block;
    background-color: #559d78;
    color: white;
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem !important;
    box-shadow: 0 4px 12px rgba(85, 157, 120, 0.25);
}

.sticky-notes-all-announcements a:hover {
    background-color: #3d7d58;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(85, 157, 120, 0.35);
}

@media (max-width: 1024px) {
    .sticky-notes-carousel {
        gap: 1.5rem;
    }

    .sticky-note {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .sticky-notes-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        justify-content: space-between;
    }

    .sticky-note {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }

    .sticky-note-title {
        font-size: 1.1rem;
    }

    .sticky-note-text {
        font-size: 0.95rem;
    }

    .sticky-note-footer {
        font-size: 0.85rem;
    }

    .sticky-note-footer small,
    .sticky-note-link {
        font-size: 0.85rem;
    }

    .sticky-notes-all-announcements a {
        font-size: 1.2rem;
        padding: 18px 45px;
    }
}

@media (max-width: 480px) {
    .sticky-notes-carousel {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .sticky-note {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .indicator-dot {
        width: 8px;
        height: 8px;
    }

    .indicator-dot.active {
        width: 10px;
        height: 10px;
    }

    .sticky-notes-all-announcements a {
        font-size: 1.25rem;
        padding: 20px 50px;
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
}

#blog .sticky-note {
    box-shadow: none;
    border: none;
}

#blog .sticky-note:hover {
    box-shadow: none;
}

