/* ========================================================================
   SINGLE NEWS – Pojedinačna vest
   ======================================================================== */

.news-single {
    width: 100vw;
    max-width: 100vw;
    padding: 0 2vw;
    margin: 0;
}

/* ============================================================
   HEADER: Slika levo (50%) + Naslov desno (50%)
   ============================================================ */

.news-single-header {
    display: flex;
    gap: 0;
    margin-bottom: 2vw;
    overflow: hidden;
    background: #f8f9fa;
}

/* ---- LEVA STRANA: Slika (50%, uvek 16:9) ---- */
.news-single-header__image {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    /* ODRŽAVA 16:9 ASPECT RATIO */
    aspect-ratio: 16 / 9;
    /* VAŽNO: sprečava da se element rasteže */
    min-height: 0;
}

.news-single-header__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-single-header__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder ako nema slike */
.news-single-header__image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    font-size: 48px;
    color: #666;
}

/* ---- DESNA STRANA: Naslov (50%) ---- */
.news-single-header__content {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    padding: 2vw 3vw;
    background: #f8f9fa;
    /* Visina se povlači iz slike preko aspect-ratio */
}

.news-single-header__content-inner {
    width: 100%;
}

/* Naslov */
.news-single__title {
    font-size: clamp(24px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #1a1a1a;
}

/* Meta podaci */
.news-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #888;
}

.news-single__meta a {
    color: #1a73e8;
    text-decoration: none;
}

.news-single__meta a:hover {
    text-decoration: underline;
}

.news-single__category {
    display: inline-block;
    padding: 2px 12px;
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1a73e8;
}

.news-single__source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-single__source-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    background: #f5f5f5;
}

.news-single__source-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d0d0d0;
    color: #666;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.news-single__source-name {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.news-single__source-name:hover {
    text-decoration: underline;
}

/* ============================================================
   SADRŽAJ
   ============================================================ */

.news-single__content {
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 24px 0;
    padding: 0 1vw;
}

.news-single__content p {
    margin: 0 0 16px;
}

.news-single__content img {
    display: block;
    width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 8px;
}

/* ============================================================
   SEKCIONI NASLOVI
   ============================================================ */

.news-single__section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 16px;
    color: #1a1a1a;
}

/* ============================================================
   TWITTER EMBED
   ============================================================ */

.news-single__embed {
    margin: 24px 0;
    max-width: 550px;
}

.news-single__embed .twitter-tweet {
    margin: 0 auto !important;
}

/* ============================================================
   OPŠTI LINK (dugme)
   ============================================================ */

.news-single__link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    background: #f5f5f5;
    margin: 8px 0 16px;
    transition: background 0.2s, border-color 0.2s;
}

.news-single__link-btn:hover {
    background: #eee;
    border-color: #ccc;
}

/* ============================================================
   MATCHDAY (kolo)
   ============================================================ */

.news-single__matchday {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.news-single__matchday-date {
    margin-bottom: 12px;
}

.news-single__matchday-date:last-child {
    margin-bottom: 0;
}

.news-single__matchday-date h4 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e8e8e8;
}

.news-single__matchday-matches {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-single__matchday-matches .match-row--slim {
    padding: 4px 8px;
    background: #fff;
    border-radius: 4px;
}

.news-single__matchday-matches .match-row--slim:hover {
    background: #f0f0f0;
}

/* ============================================================
   MATCH (pojedinačna utakmica)
   ============================================================ */

.news-single__match {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.news-single__match .match-row--compact {
    background: transparent;
    padding: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .news-single {
        padding: 0 2vw;
    }
    
    .news-single-header {
        flex-direction: column;
        gap: 0;
    }
    
    .news-single-header__image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .news-single-header__content {
        flex: 0 0 auto;
        width: 100%;
        padding: 20px;
    }
    
    .news-single__title {
        font-size: clamp(20px, 4vw, 28px);
    }
    
    .news-single__content {
        padding: 0;
    }
    
    .news-single__matchday,
    .news-single__match {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .news-single__title {
        font-size: 20px;
    }
    
    .news-single__meta {
        font-size: 12px;
        gap: 4px;
    }
    
    .news-single__content {
        font-size: 14px;
    }
}