/* Tailwind ile birlikte: ek düzenlemeler */

/*
 * Köşe yuvarlaklığı: Tailwind’deki büyük radius’ları tek tip küçük değere indirir.
 * İnce ayar: --site-corner-radius (ör. 0.2rem daha keskin, 0.35rem biraz daha yumuşak)
 */
:root {
    --site-corner-radius: 0.25rem;
}

[class*="rounded"] {
    border-radius: var(--site-corner-radius) !important;
}

/* Tam yuvarlak / hap şekli korunur */
[class*="rounded-full"] {
    border-radius: 9999px !important;
}

/* Manşet kapak görseli — masaüstünde hafif radius; mobilde tam genişlikte köşe yok */
@media (min-width: 640px) {
    section[aria-label="Manşet alanı"] img {
        border-radius: var(--site-corner-radius) !important;
    }
}

/* Mobil: yatay kaydırma jesti — tarayıcının yatay kaydırmayı çalması, touchmove ile preventDefault */
#home-manset-swipe {
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
}

.card-news {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.08);
}

/* Ana sayfa haber kartı — card-news ile birlikte */
.home-news-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-news-card:hover {
    border-color: rgb(203 213 225 / 0.95);
}

/* Kapak görselleri: 16:9 (aspect-video) — liste kartları ve placeholder ile uyumlu */
.card-news a.aspect-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-body p {
    margin-bottom: 0.75em;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body strong,
.article-body b {
    font-weight: 700;
}

.article-body em,
.article-body i {
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    margin: 1.25em 0;
    border: 0;
    min-height: 200px;
}
