/* ==========================================================================
   VESTI - INDEX (HERO + GRID) SPECIFIČNI STILOVI
   ========================================================================== */

/* ---------- HERO BANER ---------- */
.news-hero-banner {
    background-color: var(--acdc-bg-light);
    border-bottom: 1px solid #ebd8c8;
}

.news-hero-title {
    color: var(--acdc-red);
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.news-hero-subtitle {
    font-size: 1.05rem;
}

/* ---------- FILTER DROPDOWN ---------- */
.news-filter-select {
    border-radius: 6px;
    border: 1px solid var(--acdc-border-color);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    color: var(--acdc-text-dark);
}

/* ---------- NEWS CARD ---------- */
.news-card {
    background-color: #ffffff;
    border-radius: 12px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #f0f0f0 !important;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--acdc-shadow) !important;
}

.news-card-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

/* Naslov (2 reda) */
.news-card-title a {
    color: var(--acdc-text-dark);
    transition: color 0.2s ease;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.7em;
}

.news-card:hover .news-card-title a {
    color: var(--acdc-red) !important;
}

.news-card-teaser {
    line-height: 1.5;
    color: var(--acdc-text-muted);
}

/* ---------- TAG BADGES ---------- */
.news-card-img-wrapper {
    position: relative;
}

.news-tag-badges-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    z-index: 2;
}

.news-tag-badge {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.news-tag-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-tag-badge:hover {
    transform: scale(1.15);
    background-color: #ffffff;
}

.news-tag-badge-link {
    text-decoration: none;
    display: inline-block;
    z-index: 3;
}

.news-tag-badge-link:hover .news-tag-badge {
    transform: scale(1.15);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.media-read-more {
    color: var(--acdc-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.media-read-more:hover {
    color: var(--acdc-red-hover);
}