/* Skelbimo vieta šoninėje juostoje (Sidebar) - plotis 300px */
.js-sidebar-wrapper {
    position: sticky;
    top: 20px; /* Prisegamas skrolinant puslapį */
    width: 300px;
    margin-bottom: 20px;
    z-index: 999;
}

.js-announcement-card {
    position: relative;
    width: 300px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 14px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.js-announcement-card .js-close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.js-announcement-card .js-close-btn:hover {
    background: #e0e0e0;
    color: #000;
}

.js-announcement-card .js-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
}

.js-announcement-card .js-text-wrap h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    color: #1d2327;
}

.js-announcement-card .js-text-wrap p {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #3c434a;
    word-break: break-word;
}

.js-announcement-card .js-event-date {
    display: block;
    font-size: 12px;
    color: #007cba;
    font-weight: bold;
}

/* Puslapio formos stilius */
.js-page-editor-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    max-width: 500px;
}