/* Öne çıkan görseli olmayan haberler için logo yedeği */
:root {
    --emo-logo-bg-start: #1B3F8B;
    --emo-logo-bg-mid: #0C2146;
    --emo-logo-bg-end: #2874A6;
}

.news-image-fallback {
    background: linear-gradient(
        135deg,
        var(--emo-logo-bg-start) 0%,
        var(--emo-logo-bg-mid) 52%,
        var(--emo-logo-bg-end) 100%
    ) !important;
}

/* Manşet alanı */
.headline-image.news-image-fallback {
    background-image: url('../logo.png') !important;
    background-size: 42% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Haber kartları */
.news-card.news-image-fallback > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
}

.card-image.news-image-fallback,
.news-card-image-wrap.news-image-fallback,
.featured-card .img-wrap.news-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image.news-image-fallback img,
.news-card-image-wrap.news-image-fallback img,
.news-card.news-image-fallback img,
.featured-card .img-wrap.news-image-fallback img,
img.news-image-fallback {
    object-fit: contain !important;
    width: auto !important;
    max-width: 58%;
    max-height: 58%;
    height: auto !important;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Liste görünümü */
.news-list-item .news-image-fallback-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 0.375rem;
    overflow: hidden;
}

.news-list-item .news-image-fallback-wrap img.news-image-fallback {
    max-width: 65%;
    max-height: 65%;
    height: auto !important;
    width: auto !important;
}

/* Haber detay */
.article-image.news-image-fallback {
    object-fit: contain !important;
    max-height: 420px;
    width: auto;
    max-width: 320px;
    margin: 0 auto;
    display: block;
    padding: 2rem 1.5rem;
    border-radius: 16px;
}

.article-image-wrap.news-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Yan panel küçük görseller */
.sidebar-item .sidebar-thumb.news-image-fallback,
/* İlgili haberler */
.related-card .related-card-image.news-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.related-card .related-card-image.news-image-fallback img {
    max-width: 55%;
    max-height: 55%;
}

.sidebar-item img.news-image-fallback {
    object-fit: contain !important;
    padding: 0.35rem;
    background: linear-gradient(
        135deg,
        var(--emo-logo-bg-start) 0%,
        var(--emo-logo-bg-mid) 52%,
        var(--emo-logo-bg-end) 100%
    );
}

.sidebar-item-placeholder.news-image-fallback {
    background: linear-gradient(
        135deg,
        var(--emo-logo-bg-start) 0%,
        var(--emo-logo-bg-mid) 52%,
        var(--emo-logo-bg-end) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
}

.sidebar-item-placeholder.news-image-fallback img {
    width: 70%;
    height: auto;
    object-fit: contain;
}
