﻿/* =========================================
   #region HOME • Layout ve Palet
   ========================================= */
.page-centered .container,
.page-centered .container-sm,
.page-centered .container-md,
.page-centered .container-lg,
.page-centered .container-xl,
.page-centered .container-xxl {
    margin-inline: auto;
    width: min(96vw,1280px);
}
/* Mirror hatasını önle: temel yön LTR; sağ hizalar bileşen bazlı */
.home-rtl {
    direction: ltr;
}

.band {
    background: #fff;
    padding: 2rem 0;
    position: relative;
}

    .band.alt {
        background: #F9F6F2;
    }

    .band::before {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 10px;
        background: linear-gradient(to bottom,rgba(0,0,0,.06),rgba(0,0,0,0));
        transform: translateY(100%);
    }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

    .section-head h2 {
        color: #6A1B1A;
    }
/* #endregion */

/* =========================================
   #region HERO • Görsel, Başlık, Rozet
   ========================================= */
.hero-session {
    position: relative;
    min-height: clamp(820px,88vh,1080px);
    margin-bottom: 84px;
    

}

    .hero-session .hero-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center 35%;
        filter: saturate(1.05);
    }

    .hero-session .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(0,0,0,.20) 0%,rgba(0,0,0,.55) 70%,rgba(0,0,0,.72) 100%);
    }

    .hero-session .hero-content {
        position: relative;
        display: flex;
        align-items: end;
        min-height: inherit;
    }

.hero-stack {
    color: #fff;
    text-align: right;
    margin-block: 1.25rem;
}

.hero-title {
    font-size: clamp(1.8rem,3.4vw,2.6rem);
    margin: .25rem 0;
}

.hero-meta {
    color: rgba(255,255,255,.88);
    margin: 0 0 .75rem;
}

.hero-cta .btn {
    margin-inline-start: .5rem;
}

.chip-date {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(196,154,60,.18);
    border: 1px solid #C49A3C;
    margin-bottom: .4rem;
}

.hero-sep {
    height: 12px;
    background: linear-gradient(to bottom,rgba(106,27,26,.20),rgba(106,27,26,0));
}

/* --- Yüzen rozet: grid yerleşim (taşmasız) --- */
.hero-badge {
    position: absolute;
    left: 50%;
    bottom: -46px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .5rem 1rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(106,27,26,.12);
    box-shadow: 0 20px 48px rgba(0,0,0,.20);
    max-width: min(96vw,1040px);
}

    .hero-badge .chip-lg {
        padding: .22rem .70rem;
        border-radius: 999px;
        white-space: nowrap;
        background: rgba(196,154,60,.14);
        border: 1px solid rgba(196,154,60,.45);
        color: #6A1B1A;
        font-weight: 700;
    }

    .hero-badge .title {
        font-weight: 800;
        line-height: 1.25;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .hero-badge .btn-pill {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding: .34rem .8rem;
        border-radius: 999px;
        font-weight: 700;
        background: #6A1B1A;
        color: #fff;
        border: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 8px 18px rgba(106,27,26,.25);
    }

        .hero-badge .btn-pill:hover {
            filter: brightness(1.06);
        }
/* Oklar ve noktalar */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
}

    .hero-nav:hover {
        background: rgba(0,0,0,.4);
    }

    .hero-nav.prev {
        left: 18px;
    }

    .hero-nav.next {
        right: 18px;
    }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

    .hero-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,.6);
    }

        .hero-dots .dot.active {
            background: #fff;
            box-shadow: inset 0 0 0 2px #00000022;
        }
/* Hero fade geçişleri */
.hero-session .hero-bg {
    transition: opacity .6s ease;
    opacity: 1;
}

.hero-session .hero-stack {
    transition: opacity .35s ease;
}

.hero-session .hero-badge {
    transition: opacity .35s ease;
}

/* === HERO BADGE • Desktop: tek satır, geniş yayvan pill === */
@media (min-width: 992px) {
    .hero-badge {
        display: flex; /* grid -> flex */
        align-items: center;
        gap: 1rem;
        padding: .6rem 1.2rem;
        width: clamp(720px, 72vw, 100px); /* GENİŞ yayılım */
        max-width: min(96vw, 1200px);
        white-space: nowrap; /* tek satır */
    }

        .hero-badge .chip-lg {
            flex: 0 0 auto;
            white-space: nowrap;
        }

        .hero-badge .sep {
            display: inline-block;
            opacity: .45;
            margin: 0 .35rem;
        }

        .hero-badge .title {
            flex: 1 1 auto; /* ortadaki başlık esnesin */
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap; /* tek satır */
            -webkit-line-clamp: unset;
            -webkit-box-orient: unset;
            display: block;
        }

        .hero-badge .btn-pill {
            flex: 0 0 auto;
        }
    /* buton satır atmasın */
}
/* Orta genişlik: buton alta insin (2 satır) */
@media (max-width:760px) {
    .hero-badge {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: .45rem .8rem;
        padding: .5rem .9rem;
    }

        .hero-badge .btn-pill {
            justify-self: end;
        }
}
/* Küçük ekran: 3 satır yığma */
@media (max-width:480px) {
    .hero-badge {
        grid-template-columns: 1fr;
        gap: .4rem;
        padding: .5rem .8rem;
        width: min(92vw,420px);
        text-align: center;
    }

        .hero-badge .chip-lg {
            justify-self: center;
        }

        .hero-badge .btn-pill {
            justify-self: center;
        }
}
/* Küçük ekran: 2 satır yığma */
@media (max-width:576px) {
    .hero-badge {
        bottom: -30px;
        padding: .42rem .75rem;
        gap: .45rem .6rem;
        border-radius: 999px;
        box-shadow: 0 16px 38px rgba(0,0,0,.18);
    }

        .hero-badge .chip-lg {
            padding: .18rem .6rem;
            font-size: .92rem;
        }

        .hero-badge .title {
            line-height: 1.15;
            -webkit-line-clamp: 2;
        }

        .hero-badge .btn-pill {
            padding: .28rem .7rem;
            font-size: .95rem;
        }
}

/* #endregion */

/* =========================================
   #region ABOUT
   ========================================= */
.about-wrap .about-title {
    color: #2E2E2E;
    margin-bottom: .25rem;
}

.about-wrap .about-long {
    color: #2E2E2E;
    opacity: .92;
    text-align: right;
}

.about-poster {
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
}

.clamp-10 {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* #endregion */

/* =========================================
   #region POETS (Kartlar)
   ========================================= */
.poet-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    padding: 1rem;
    transition: transform .18s ease,box-shadow .18s ease;
}

    .poet-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0,0,0,.12);
    }

.poet-avatar {
    width: 128px;
    height: 128px;
    margin-inline: auto;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: #E4DBCF center/cover no-repeat;
    border: 3px solid #C49A3C;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
}

.poet-name {
    color: #2E2E2E;
}

.poet-bio {
    color: rgba(46,46,46,.85);
    font-size: .95rem;
}
/* #endregion */

/* =========================================
   #region NEWS (mini kart)
   ========================================= */
.news-mini {
    position: relative;
    display: flex;
    gap: .75rem;
    background: #fff;
    color: #2E2E2E;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .9rem;
    padding: .65rem .75rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    align-items: center;
}

    .news-mini .thumb {
        width: 84px;
        height: 84px;
        flex: 0 0 84px;
        border-radius: .6rem;
        background: #f0f0f0 center/cover no-repeat;
    }

    .news-mini .body {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: .25rem;
    }

    .news-mini .line-1 {
        margin-bottom: .15rem;
    }

    .news-mini .title {
        color: #2E2E2E;
        font-weight: 700;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

        .news-mini .title:hover {
            color: #6A1B1A;
        }

    .news-mini .date-chip {
        display: inline-block;
        font-size: .8rem;
        padding: .05rem .5rem;
        border-radius: 999px;
        background: rgba(196,154,60,.12);
        border: 1px solid rgba(196,154,60,.55);
        color: #6A1B1A;
        white-space: nowrap;
    }

    .news-mini .excerpt {
        color: rgba(46,46,46,.75);
        margin: .25rem 0 0;
    }

.btn-news {
    background: #6A1B1A;
    color: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(106,27,26,.18);
}

    .btn-news:hover {
        filter: brightness(1.06);
        color: #fff;
    }

.news-mini .actions {
    margin-top: .25rem;
}

@media (max-width:576px) {
    .news-mini {
        padding: .55rem;
    }

        .news-mini .thumb {
            width: 78px;
            height: 78px;
        }

        .news-mini .actions {
            margin-top: .2rem;
            display: flex;
            justify-content: flex-end;
        }
}
/* #endregion */

/* =========================================
   #region ARCHIVE (kart + badges)
   ========================================= */
/* Desktop: ortalı grid */
.archive-scroll {
    direction: ltr;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: .5rem 0 1rem;
    overflow-x: visible;
    scroll-snap-type: none;
}

.archive-card {
    position: relative;
    flex: 0 0 clamp(360px,24vw,360px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    overflow: hidden;
}

    .archive-card .cover {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        background: center/cover no-repeat;
    }

    .archive-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.65) 20%);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        text-align: right;
        color: #fff;
        padding: 1rem;
    }

        .archive-card .overlay.center {
            align-items: center;
            justify-content: flex-end;
            text-align: center;
            padding: 1rem 1rem 3.5rem;
        }

            .archive-card .overlay.center .year {
                font-weight: 900;
                font-size: 2rem;
                letter-spacing: .5px;
            }

            .archive-card .overlay.center .title {
                font-weight: 800;
                margin-top: .15rem;
            }

    .archive-card .meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .55rem .8rem;
        color: #2E2E2E;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,.06);
    }

        .archive-card .meta.meta-badges {
            gap: .1rem;
        }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge-soft {
    background: rgba(196,154,60,.12);
    border-color: rgba(196,154,60,.45);
    color: #6A1B1A;
}

.badge-accent {
    background: rgba(106,27,26,.08);
    border-color: rgba(106,27,26,.25);
    color: #6A1B1A;
}

@media (max-width:992px) {
    .archive-scroll {
        direction: rtl;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: .5rem 1rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .archive-card {
        scroll-snap-align: start;
        flex-basis: clamp(280px,70vw,360px);
    }
}

@media (max-width:576px) {
    .archive-card .cover {
        aspect-ratio: 4/3;
    }

    .archive-card .overlay.center {
        padding: .8rem .9rem 1.1rem;
        text-shadow: 0 2px 10px rgba(0,0,0,.35);
    }

        .archive-card .overlay.center .year {
            font-size: 1.65rem;
        }

        .archive-card .overlay.center .title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .archive-card .meta.meta-badges {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        padding: .65rem .65rem .8rem;
    }

        .archive-card .meta.meta-badges .badge-pill {
            justify-content: center;
            width: 100%;
            padding: .55rem .8rem;
            font-weight: 700;
        }

    .archive-card {
        border-radius: .9rem;
        box-shadow: 0 10px 28px rgba(0,0,0,.14);
    }
}
/* Tablet: iki rozet yan yana */
@media (min-width:577px) and (max-width:768px) {
    .archive-card .meta.meta-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
    }

        .archive-card .meta.meta-badges .badge-pill {
            justify-content: center;
            width: 100%;
        }
}
/* #endregion */

/* =========================================
   #region Mikro Animasyonlar (motion-safe)
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
    @keyframes reveal-up {
        from {
            opacity: 0;
            transform: translateY(12px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }

    .reveal-up {
        animation: reveal-up .5s ease both;
    }

    .hover-lift {
        transition: transform .18s ease, box-shadow .18s ease;
    }

        .hover-lift:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 36px rgba(0,0,0,.14)
        }
}
/* #endregion */

/* =========================================
   #region Responsive Dokunuşlar
   ========================================= */
@media (max-width:992px) {
    .hero-session {
        min-height: clamp(600px,70vh,760px);
        margin-bottom: 64px;
    }
}

@media (max-width:576px) {
    .hero-title {
        font-size: 1.55rem;
    }
}
/* #endregion */
/* ============================
   FIX #1: Haber kartı (desktop) – compact yatay görünüm
   ============================ */
@media (min-width: 768px) {
    .news-mini {
        display: grid;
        grid-template-columns: 88px 1fr; /* sol küçük görsel, sağ metin */
        align-items: center;
        gap: .75rem;
        padding: .6rem .8rem;
        border-radius: .9rem;
    }

        .news-mini .thumb {
            width: 88px;
            height: 88px;
            flex: 0 0 88px;
            border-radius: .6rem;
        }

        .news-mini .body {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .2rem;
        }

        .news-mini .line-1 {
            margin-bottom: .1rem;
        }

        .news-mini .title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
        }

        .news-mini .excerpt {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
        }

        .news-mini .actions {
            margin-top: .2rem;
            display: flex;
            justify-content: flex-end;
        }
}

/* ============================
   FIX #2: Hero rozet (desktop) – tek satır, pill halinde
   ============================ */
@media (min-width: 992px) {
    .hero-badge {
        grid-template-columns: auto 1fr auto; /* [chip] [title] [button] */
        align-items: center;
        gap: .5rem 1rem;
        padding: .55rem 1rem;
        max-width: min(96vw, 1100px);
    }
        /* ayırıcı noktayı desktop'ta göster */
        .hero-badge .sep {
            display: inline-block;
            opacity: .5;
            margin: 0 .25rem;
        }

        /* başlık tek satırda kalsın, taşanı kes */
        .hero-badge .title {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: unset; /* önceki clamp'ı sıfırla */
            -webkit-box-orient: unset;
            display: block;
            line-height: 1.2;
        }
        /* butonun ikinci satıra düşmesini engelle */
        .hero-badge .btn-pill {
            flex-shrink: 0;
        }
}

/* Güvenlik: 760–992 aralığında butonun aşağı inmesi serbest (önceki kural korunur) */
/* ============================
   NEWS • Mobilde de COMPACT görünüm
   ============================ */
@media (max-width: 576px) {
    .news-mini {
        display: grid;
        grid-template-columns: 72px 1fr; /* sol küçük thumb, sağ metin */
        align-items: center;
        gap: .6rem;
        padding: .55rem .6rem;
    }

        .news-mini .thumb {
            width: 72px;
            height: 72px;
            border-radius: .55rem;
        }

        .news-mini .body {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .15rem;
        }

        .news-mini .title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
        }

        /* Compact modda özeti gizle, kart kısa kalsın */
        .news-mini .excerpt {
            display: none;
        }

        /* Tarih chip ile başlık arasında mini nefes */
        .news-mini .line-1 {
            margin-bottom: .1rem;
        }

        /* Sağ altta küçük buton */
        .news-mini .actions {
            margin-top: .15rem;
            display: flex;
            justify-content: flex-end;
        }

        .news-mini .btn-news {
            padding: .3rem .65rem;
            font-weight: 700;
            border-radius: 999px;
        }
}

/* =========================
   HERO BADGE • Mobilde daha alçak===
   ============================ */

/* ============================
   HERO BADGE • Desktop: tek satır, geniş yayvan pill
   ============================ */


