/* Duyurular sayfasi (/duyurular): duyuru, guncelleme notu ve etkinlik kartlari */

.news-page { max-width: 900px; }
.news-head { margin-bottom: 24px; }
.news-head .eyebrow { margin-bottom: 16px; }
.news-cta { margin-top: 18px; }
.news-cta .btn { gap: 8px; }

.news-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    font-family: var(--display);
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}
.news-back:hover { color: var(--berry-dk); }

.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.news-filter .btn.on { background: var(--berry-lt); }
.nf-n { opacity: .6; font-size: .88em; }

.news-list { display: grid; gap: 22px; }

/* Turune gore vurgu rengi */
.k-news { --k: var(--berry); --k-lt: var(--berry-lt); }
.k-update { --k: var(--blue); --k-lt: var(--blue-lt); }
.k-event { --k: var(--caramel); --k-lt: var(--caramel-lt); }

.news-post { padding: 24px 28px 20px 32px; overflow: hidden; }
.news-post::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--k);
    border-right: 2.5px solid var(--ink);
}
.np-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--ink-3); font-weight: 700; }
.np-kind { background: var(--k-lt); }
.news-post h2 { margin: 0 0 14px; font-size: clamp(23px, 2.7vw, 30px); }
.news-post h2 a { color: inherit; text-decoration: none; }
.news-post h2 a:hover { text-decoration: underline; text-decoration-color: var(--k); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.rich { font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.rich p { margin: 0 0 12px; }
.rich ul { margin: 0 0 12px; padding-left: 22px; }
.rich li { margin: 6px 0; }
.rich li::marker { color: var(--k, var(--berry)); }
.rich h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 20px 0 8px; }
.rich a { color: var(--berry-dk); font-weight: 700; }
.rich code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--cream-2); }
.rich > :last-child { margin-bottom: 0; }

.np-foot { display: flex; justify-content: flex-end; margin-top: 14px; }

.news-empty { display: grid; justify-items: center; gap: 6px; padding: 40px 24px; text-align: center; }
.news-empty p { margin: 0; color: var(--ink-2); font-weight: 600; }
.news-skel { height: 190px; opacity: .55; animation: news-pulse 1.1s ease-in-out infinite alternate; }
@keyframes news-pulse { to { opacity: .25; } }
.news-more { display: flex; justify-content: center; margin-top: 22px; }

@media (max-width: 560px) {
    .news-post { padding: 20px 18px 16px 24px; }
    .rich { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .news-skel { animation: none; }
}
