﻿/* ===== Artist Details ===== */

/* Üst satır düzen */
.artists-detail-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .artists-detail-grid {
        grid-template-columns: 360px 1fr;
    }
}

/* Sol blok: foto */
.artists-portrait {
    background: #F3F1EC;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    margin-bottom: 10px;
}

    .artists-portrait img {
        width: 100%;
        height: auto;
        display: block;
    }

.artists-portrait-fallback {
    padding: 24px;
    font-weight: 600;
    color: #6A1B1A;
}

/* Sosyal ikonlar (index’teki kompakt stil) */
/* === Socials: büyük ikonlar === */
.artist-socials-icons.is-lg {
    --ico: 56px; /* kutu boyutu */
    --glyph: 28px; /* svg boyutu */
    gap: 12px;
}

/* === Socials: oval (pill) arka plan === */
.artist-socials-icons.is-pill {
    /* içeriğe sarılan, ortalanan bir kapsayıcı */
    display: inline-flex; /* genişliği içeriğe göre olsun */
    padding: 10px 14px; /* ikonların etrafında nefes */
    border-radius: 9999px; /* oval görünüm */
    background: linear-gradient(180deg,#FFFFFF 0%, #F9F6F2 100%);
    border: 1px solid #EEE2D0;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    margin: 12px auto 8px; /* yatayda ortala */
}

/* Parent yerleşimi: satırda ortala (gerekirse) */
.artists-detail-aside,
.artists-detail-aside .artist-socials-icons.is-pill {
    text-align: center; /* inline-flex kapsayıcıyı merkezler */
}

/* Hover hâlinde hafif yükselme */
.artist-socials-icons.is-pill .ico:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0,0,0,.16);
}

/* JS gelmeden görünen skeleton dot'ları da ovallin içinde derli toplu dursun */
.artist-socials-icons.is-pill .sk {
    width: var(--ico);
    height: var(--ico);
    border-radius: 9999px;
    background: #F3F1EC;
    border: 1px solid #EEE5D7;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
    display: inline-block;
}


/* Bölüm başlıkları */
.artists-detail {
    margin-top: 26px;
    margin-bottom: 40px;
}

.artists-section {
    margin-bottom: 28px;
}

.artists-section-title {
    font: 800 20px/1.2 Merriweather, serif;
    color: #2E2E2E;
    margin: 15px 0 10px;
    border-left: 4px solid #C49A3C;
    padding-left: 10px;
}

/* Şiirler */
.artists-poems {
    display: grid;
    gap: 10px;
}

.artists-poem {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.poem-title {
    font: 700 17px/1.4 Merriweather, serif;
    margin: 0 0 8px;
    color: #2E2E2E;
}

.poem-body {
    position: relative;
}

.poem-text {
    line-height: 1.6;
    color: #333;
}

    .poem-text p {
        margin: 0;
        padding: 0;
    }
    /* RichText paragraf boşluklarını sıfırla */
    .poem-text.collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 6.8em;
    }

    .poem-text br + br {
        line-height: 1.2;
    }
/* çift satır araları */
.poem-toggle {
    margin-top: 6px;
    background: none;
    border: none;
    color: #6A1B1A;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: color .2s;
}

    .poem-toggle:hover {
        color: #C49A3C;
    }

/* Edisyonlar – görselleştirilmiş chip */
.editions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ed-chip {
    --bd: #E6DCCB;
    --bg: #F9F6F2;
    --fg: #2E2E2E;
    --ac: #C49A3C;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--bd);
    color: var(--fg);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    transition: transform .18s, box-shadow .2s, border-color .2s, background-color .2s;
}

    .ed-chip:hover {
        transform: translateY(-2px);
        border-color: var(--ac);
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
    }

.ed-ico {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--bd);
    position: relative;
}

    .ed-ico::after {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        width: 12px;
        height: 12px;
        background: var(--ac);
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h2v2h6V2h2v2h2a3 3 0 0 1 3 3v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a3 3 0 0 1 3-3h2V2zm13 8H4v10h16V10z'/></svg>") no-repeat center / contain;
        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h2v2h6V2h2v2h2a3 3 0 0 1 3 3v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a3 3 0 0 1 3-3h2V2zm13 8H4v10h16V10z'/></svg>") no-repeat center / contain;
    }

.ed-chip:hover .ed-ico {
    border-color: var(--ac);
}

.ed-title {
    font-weight: 700;
    white-space: nowrap;
}

.ed-arrow {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: translateX(-4px);
    background: var(--ac);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6l6 6-6 6'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6l6 6-6 6'/></svg>") no-repeat center / contain;
    transition: opacity .15s, transform .18s;
}

.ed-chip:hover .ed-arrow {
    opacity: .85;
    transform: translateX(0);
}

.ed-chip.is-current {
    --bg: #FFF7E9;
    --bd: #F0D7A6;
}

/* Diğer Sanatçılar – compact */
.artists-others-compact {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

@media (min-width: 640px) {
    .artists-others-compact {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (min-width: 992px) {
    .artists-others-compact {
        grid-template-columns: repeat(5,1fr);
    }
}

.aoc-card {
    display: grid;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 12px;
    place-items: center;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

    .aoc-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(0,0,0,.10);
    }

.aoc-avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
    background: #F3F1EC;
    display: grid;
    place-items: center;
}

    .aoc-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.aoc-fallback {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: #6A1B1A;
}

.aoc-name {
    font-weight: 700;
    font-family: Merriweather, serif;
    font-size: 15px;
}

/* Küçük giriş animasyonu */
.reveal-up {
    transform: translateY(8px);
    opacity: 0;
    animation: artists-reveal .5s ease forwards;
}

@keyframes artists-reveal {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* === Şiirler: Kart Grid, daha belirgin başlık, dengeli yükseklik === */

/* Grid: tek sütun (xs), 2 sütun (≥768px), 3 sütun (≥1200px) */
.artists-poems {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .artists-poems {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (min-width: 1200px) {
    .artists-poems {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

/* Kart: esnek kolon düzeni—buton hep altta kalır */
.artists-poem {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
    transition: transform .18s ease, box-shadow .22s ease;
    min-height: 180px; /* uygun bir taban yükseklik */
}

    .artists-poem:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(0,0,0,.10);
    }

/* Başlık: daha belirgin + solunda ince vurgu */
.poem-title {
    font: 800 18px/1.35 Merriweather, serif;
    color: #2E2E2E;
    margin: 0 0 8px 0;
    position: relative;
    padding-left: 10px;
}

    .poem-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 3px;
        bottom: 3px;
        width: 4px;
        border-radius: 2px;
        background: #C49A3C;
    }

/* Metin: 4 satır kısaltma devam */
.poem-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.poem-text {
    line-height: 1.6;
    color: #333;
}

    .poem-text p {
        margin: 0;
        padding: 0;
    }
    /* RichText paragraflarını sıkılaştır */
    .poem-text.collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 6.8em;
    }

/* Buton: kartın en altında */
.poem-toggle {
    margin-top: auto;
    align-self: flex-start;
    background: none;
    border: none;
    color: #6A1B1A;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color .18s ease, transform .14s ease;
}

    .poem-toggle:hover {
        color: #C49A3C;
        transform: translateY(-1px);
    }
/* ==== Empty State (boş durum) ==== */
.empty-state,
.empty-state-min {
    --bg: #FFFFFF;
    --bd: #EEE2D0;
    --fg: #2E2E2E;
    --muted: #6A1B1A; /* ana palet */
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.empty-state-min {
    padding: 12px;
}

.empty-ico {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 999px;
    border: 1px solid var(--bd);
    background: linear-gradient(180deg,#fff 0%, #F9F6F2 100%);
    box-shadow: inset 0 0 0 4px #fff;
    /* kişi/kitap benzeri nötr ikon */
    -webkit-mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-5 0-9 2.5-9 5.5A1.5 1.5 0 0 0 4.5 21h15A1.5 1.5 0 0 0 21 19.5C21 16.5 17 14 12 14z'/>\
</svg>") no-repeat center / 70%;
    mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-5 0-9 2.5-9 5.5A1.5 1.5 0 0 0 4.5 21h15A1.5 1.5 0 0 0 21 19.5C21 16.5 17 14 12 14z'/>\
</svg>") no-repeat center / 70%;
    opacity: .6;
}

.empty-title {
    font: 800 17px/1.25 Merriweather, serif;
    color: var(--fg);
    margin-bottom: 4px;
}

.empty-sub {
    color: rgba(46,46,46,.7);
    font-size: 14px;
}

/* Portre fallback’ın daha derli toplu görünmesi için */
.artists-portrait-fallback.empty-state-min .empty-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
}

.mt-2 {
    margin-top: .5rem;
}
