/* ------- Osnovni layout ------- */
.navAndMedia {
    max-width: 1040px;
    margin: 32px auto 40px;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 15px;
}

/* ------- Header sekcija ------- */
.media-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.media-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* ------- Gumbi postavki / traženja ------- */
.listingSettings {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
}

.listingSettings button {
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 9px;
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 120ms ease;
}

.listingSettings button i {
    font-size: 14px;
}

.listingSettings button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.listingSettings button:active {
    box-shadow: none;
    transform: translateY(0);
}

.listingSettings button:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

/* ------- Brojač tekstova ------- */
.listingSettings__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 8px;
    margin-left: 4px;
    border-left: 1px solid #e5e7eb;
    white-space: nowrap;
}

.listingSettings__count b {
    font-weight: 500;
    color: #4b5563;
}

.listingSettings__count span {
    font-variant-numeric: tabular-nums;
}

/* ------- Glavni sadržaj ------- */
.media-content_outer {
    margin-top: 4px;
}

.media-content {
    display: flex;
    justify-content: center;
}

.media-left {
    flex: 1 1 auto;
    max-width: 780px;
}

/* ------- Datum liste ------- */
.datumPopisVijesti {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px;
    padding: 4px 10px 5px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.datumPopisVijesti i {
    font-size: 13px;
}

/* ------- Pojedinačni članci ------- */
.news-itemWrapper {
}

.news-itemWrapper:last-of-type {
    border-bottom: none;
}

.news-item {
    display: block;
    padding: 13px 0 12px;
    text-decoration: none;
    color: #111827;
    transition:
        background-color 150ms ease,
        transform 120ms ease;
		border-bottom: 1px solid #e5e7eb;
}

.news-item:hover {
/*     background-color: #f9fafb;
    transform: translateY(-1px); */
	border-bottom: 1px solid #777;
}

.news-item-text {
    padding: 0;
}

/* ------- Naslov članka ------- */
.news-item-title {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.35;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    color: #111827;
	margin-top: 5px;
}


/* ------- Vrijeme i labela ------- */
.brzvjTme {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
        "Courier New", monospace;
    font-size: 0.78em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    padding-right: 0.6rem;
    margin-right: 0.4rem;
    border-right: 1px solid #e5e7eb;
    flex: 0 0 auto;
}

.brzvjDets {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
    flex: 0 0 auto;
    white-space: nowrap;
}

.brzvjDets b {
    font-weight: 600;
}

/* ------- Naslovni tekst nakon labela ------- */
.news-item-title span:not(.brzvjTme):not(.brzvjDets),
.news-item-title b:not(.brzvjDets b) {
    font-weight: 500;
}

/* ------- Hover efekti naslova ------- */
.news-item:hover .brzvjDets {

}

.news-item:hover .brzvjDets b {
    color: inherit;
}

.news-item:hover .news-item-title span:not(.brzvjTme):not(.brzvjDets),
.news-item:hover .news-item-title b:not(.brzvjDets b) {
    color: #0f172a;
}

/* ------- Varijante bez slike ------- */
.nwsItemNoImage .news-item-title {
    font-weight: 500;
}

/* ------- Load more gumb ------- */
#load-more-wrapper {
    text-align: center;
    margin: 22px 0 30px;
}

#loadMoreBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 120ms ease;
}

#loadMoreBtn i {
    font-size: 16px;
}

#loadMoreBtn:hover {
    background: #111827;
    border-color: #111827;
    color: #f9fafb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
}

#loadMoreBtn:active {
    box-shadow: none;
    transform: translateY(0);
}

#loadMoreBtn:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

/* ------- Responsivni detalji ------- */
@media (max-width: 768px) {
    .navAndMedia {
        padding: 0 12px;
        margin-top: 20px;
    }

    .media-header-inner {
        justify-content: flex-end;
    }

    .listingSettings__count {
        display: none;
    }

    .news-item {
        padding: 11px 0 10px;
    }

    .news-item-title {
        gap: 0.4rem;
    }

    .datumPopisVijesti {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .brzvjTme {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    .news-item-title {
        flex-direction: row;
    }

    .listingSettings {
        gap: 6px;
    }

    .listingSettings button {
        min-width: 30px;
        min-height: 30px;
        padding: 5px 8px;
    }
}


/* ------- H1: Brze vijesti naslov ------- */
.pregsvihpodat {
    max-width: 1040px;
    margin: 26px auto 18px;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: clamp(18px, 2.4vw, 20px);
    line-height: 1.18;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}