/* ── DEÜ YBS — Dikey Arşiv Listesi (Haberler & Etkinlikler Tüm Arşiv) ── */

/* ── Banner ── */
.an-hero {
    background-color: #001A3D;
    padding: 4rem 0;
    border-bottom: 4px solid #8C1515;
}
.an-hero .container { max-width: 1000px; }
.an-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ── Genel Wrapper ── */
.an-wrap {
    padding: 2rem 1.5rem 7rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ── Dikey Liste ── */
.an-list { display: flex; flex-direction: column; }
.an-item {
    display: flex;
    gap: 3.5rem;
    padding: 4rem 0;
    border-bottom: 1.5px solid #F0F0F0;
    align-items: center;
}
.an-item:first-child { padding-top: 0; }
.an-item:last-child { border-bottom: none; }

/* ── Sol: Kare Görsel ── */
.an-thumb-link {
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    border-radius: 4px;
}
.an-thumb {
    width: 250px;
    height: 250px;
    background: #F0EEE9;
    position: relative;
    overflow: hidden;
}
.an-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.an-thumb-link:hover img { transform: scale(1.04); }
.an-thumb-placeholder { width: 100%; height: 100%; background: #ECEAE4; }

/* ── Sağ: İçerik ── */
.an-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.an-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}
.an-title a {
    color: #002366;
    text-decoration: none;
    transition: color 0.2s;
}
.an-title a:hover {
    color: #8C1515;
    text-decoration: underline;
}

.an-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #777777;
    margin-bottom: 1.25rem;
    font-weight: 500;
    display: block;
}

.an-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.an-excerpt p { margin: 0; }

/* ── Buton ── */
.an-action { margin-top: auto; }
.an-btn {
    display: inline-flex;
    align-items: center;
    background-color: #111111;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.4rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.an-btn:hover { background-color: #8C1515; color: #ffffff; }

/* ── Sayfalama ── */
.an-pagination {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid #EEEEEE;
    flex-wrap: wrap;
}
.an-pagination .page-numbers {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: #ffffff;
    color: #333333;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.an-pagination .page-numbers:hover,
.an-pagination .current {
    background: #002366;
    border-color: #002366;
    color: #ffffff;
}

.an-empty {
    text-align: center;
    padding: 4rem;
    color: #666;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
}

/* ── Mobil ── */
@media (max-width: 768px) {
    .an-item {
        flex-direction: column;
        gap: 1.25rem;
        padding: 2rem 0;
    }
    .an-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
    }
    .an-title { font-size: 1.4rem; }
}
