/* A separate card and native disclosure for each article, including the static fallback. */
#news-entries { display: grid; gap: 24px; margin-bottom: 48px; }
.news-card { padding: 28px; background: #fff; border: 1px solid #d8e5de; border-radius: 16px; box-shadow: 0 4px 16px rgba(20, 58, 44, .04); scroll-margin-top: 125px; min-width: 0; }
.news-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; font-size: 13px; color: #587066; }
.news-category { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #e8f5ed; color: #176445; font-size: 12px; font-weight: 650; line-height: 1.5; }
.news-card h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.news-card h3 a { color: var(--ink, #173e30); text-decoration: none; }
.news-card h3 a:hover { color: #087e50; text-decoration: underline; }
.news-excerpt { color: #536b60; font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
.news-details { border: 0; border-top: 1px solid #e6eee9; padding: 0; }
.news-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 0; min-height: 44px; list-style: none; font-size: 14px; font-weight: 650; color: #087e50; }
.news-details > summary::-webkit-details-marker { display: none; }
.news-details > summary::after { content: '↓'; font-size: 20px; line-height: 1; }
.news-details[open] > summary::after { content: '↑'; }
.news-close-label { display: none; }
.news-details[open] .news-close-label { display: inline; }
.news-details[open] .news-read-label { display: none; }
.news-details > summary:focus-visible, .news-card h3 a:focus-visible { outline: 2px solid #087e50; outline-offset: 5px; border-radius: 3px; }
.news-content { padding-top: 22px; overflow-wrap: anywhere; }
.news-content p { margin: 0 0 18px; }
.news-content p:last-child { margin-bottom: 0; }
.news-content ul, .news-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.news-content ul { list-style: disc; }
.news-content ol { list-style: decimal; }
.news-content h2, .news-content h3, .news-content h4 { margin: 24px 0 12px; line-height: 1.4; }
.news-content h4 { font-size: 17px; }
.news-content blockquote { border-left: 3px solid #24bd83; margin: 1rem 0; padding-left: 1rem; }
.news-content p:has(> em:only-child) { font-size: 12px; color: #587066; }
@media(max-width:600px) {
    #news-entries { gap: 18px; margin-bottom: 32px; }
    .news-card { padding: 20px; border-radius: 12px; scroll-margin-top: 155px; }
    .news-card-meta { gap: 8px 12px; margin-bottom: 14px; }
    .news-card h3 { font-size: 21px; }
    .news-excerpt { font-size: 14px; }
}

.news-card[hidden], .news-pagination[hidden], .news-page-status[hidden] { display: none; }
#objave { scroll-margin-top: 125px; }
.news-page-status { color: #587066; font-size: 13px; margin: -20px 0 16px; }
.news-pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 48px; }
.news-pagination a, .news-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d8e5de; border-radius: 8px; text-decoration: none; background: #fff; font-size: 14px; }
.news-pagination [aria-current="page"] { background: #176445; color: #fff; border-color: #176445; font-weight: 700; }
.news-pagination a:hover { background: #e8f5ed; }
.news-pagination a:focus-visible { outline: 2px solid #087e50; outline-offset: 3px; }
.news-pagination .news-page-gap { border: 0; background: transparent; min-width: 20px; padding: 4px; }
@media(max-width:600px) { #objave { scroll-margin-top: 155px; } .news-pagination { gap: 6px; } }
