/* ── DEÜ YBS — Haberler Arşivi (Stanford News Stili) ── */

/* ── Hero ── */
.sna-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600&q=70') center/cover no-repeat;
    overflow: hidden;
}
.sna-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,35,102,.88), rgba(0,0,0,.55));
}
.sna-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    text-align: center;
}
.sna-hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 1rem;
}
.sna-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.sna-hero-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Kategori Nav ── */
.sna-cats {
    background: #fff;
    border-bottom: 2px solid #ECEAE4;
    position: sticky;
    top: 0;
    z-index: 90;
}
.sna-cats-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.5rem;                      /* Linkler arası net boşluk */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;                /* Yatay kaydırma garantisi */
}
.sna-cats-inner::-webkit-scrollbar { display: none; }
.sna-cat-link {
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    color: #6B6760;
    text-decoration: none;
    padding: .875rem 1.25rem;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;                   /* Kategori metni sıkışmasın */
    transition: color .15s, border-color .15s;
}
.sna-cat-link:hover { color: #002366; border-bottom-color: #002366; }
.sna-cat-link.active { color: #8c1515; border-bottom-color: #8c1515; }

/* ── Mobil: kategoriler arası gap arttır, padding kompakt ── */
@media (max-width: 575px) {
    .sna-cats-inner {
        gap: 0.25rem;
        padding: 0 1rem;
    }
    .sna-cat-link {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* ── Sarmalayıcı ── */
.sna-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
    background: #ffffff;
}

/* ── Cambridge Layout Grid ── */
.cam-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
@media (max-width: 900px) {
    .cam-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Sol: Manşet Haber */
.cam-featured a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.cam-feat-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    background: #F0F0F0;
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.cam-feat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.cam-featured a:hover .cam-feat-img-wrap img { transform: scale(1.03); }
.cam-feat-placeholder { width: 100%; height: 100%; background: #ECEAE4; }

.cam-feat-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #002366;
    line-height: 1.25;
    margin: 0 0 1rem 0;
    transition: all 0s;
}
.cam-featured a:hover .cam-feat-title { text-decoration: underline; color: #002366; }

.cam-cat-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.cam-tag {
    background: #F0F0F0;
    color: #333;
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Sağ: Haber Listesi */
.cam-list-wrap { display: flex; flex-direction: column; }
.cam-list { display: flex; flex-direction: column; flex-grow: 1; }
.cam-list-item {
    border-bottom: 1px solid #ECEAE4;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.cam-list-item:last-child { border-bottom: none; margin-bottom: 0; }

.cam-list-item a {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    color: inherit;
    text-decoration: none;
}
.cam-item-img-wrap {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: #F0F0F0;
    overflow: hidden;
}
.cam-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.cam-list-item a:hover .cam-item-img-wrap img { transform: scale(1.05); }
.cam-item-placeholder { width: 100%; height: 100%; background: #ECEAE4; }

.cam-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cam-item-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #002366;
    margin: 0 0 .75rem 0;
    line-height: 1.35;
    transition: all 0s;
}
.cam-list-item a:hover .cam-item-title { text-decoration: underline; color: #002366; }

/* Sağ Alt: Tüm Haberler Linki */
.cam-see-all-wrap { text-align: right; margin-top: auto; padding-top: 1.5rem; }
.cam-see-all {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #002366;
    text-decoration: none;
    transition: color .2s;
}
.cam-see-all:hover { color: #8C1515; text-decoration: underline; }
.cam-see-all svg { transition: transform .2s; }
.cam-see-all:hover svg { transform: translateX(4px); }

/* Sayfalama */
.sna-pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid #ECEAE4;
    margin-top: 1rem;
}
.sna-pagination .page-numbers {
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    padding: .4rem 1rem;
    border-radius: 4px;
    background: #fff;
    border: 1.5px solid #ECEAE4;
    color: #3D3A34;
    text-decoration: none;
    transition: all .2s ease;
}
.sna-pagination .page-numbers:hover { background: #002366; border-color: #002366; color: #fff; }
.sna-pagination .current { background: #002366; border-color: #002366; color: #fff; }

.sna-empty {
    text-align: center;
    padding: 5rem;
    color: #6B6760;
    font-family: 'DM Sans', sans-serif;
}
