/* ==========================================================================
   Blog sayfaları (blog_list + blog_detail) stilleri
   Not: section-*, hero-*, muted, btn-brand gibi ortak sınıflar global
   style.css/kamber.css içindedir; burada tekrar edilmez.
   style.css + kamber.css'ten SONRA yüklenir (libraries.php > blog_list/blog_detail).
   ========================================================================== */

/* ---- Ortak ---- */
.glass-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(237, 31, 36, .08);
    color: var(--nr-brand);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.aside-card {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.35rem;
    padding: 1.2rem;
    box-shadow: 0 14px 35px rgba(2, 6, 23, .06);
}

.mini-post {
    display: flex;
    gap: .95rem;
    align-items: flex-start;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(2, 6, 23, .08);
}

.mini-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mini-post .mini-thumb {
    width: 88px;
    height: 72px;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    flex: 0 0 auto;
}

.mini-post a {
    text-decoration: none;
    color: inherit;
}

/* ---- blog_list ---- */
.hero-featured {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.hero-featured .thumb {
    min-height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-featured .thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, .08), rgba(2, 6, 23, .48));
}

.hero-featured .content {
    padding: 1.4rem;
}

.search-surface {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.4rem;
    padding: 1rem;
    box-shadow: 0 18px 45px rgba(2, 6, 23, .08);
}

.chip-filter {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1rem;
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 999px;
    font-weight: 700;
    color: var(--nr-ink-2);
    text-decoration: none;
    transition: .18s ease;
}

.chip-filter:hover,
.chip-filter.active {
    background: rgba(237, 31, 36, .08);
    border-color: rgba(237, 31, 36, .22);
    color: var(--nr-brand);
    transform: translateY(-1px);
}

.blog-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.35rem;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(2, 6, 23, .12);
}

.blog-thumb {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 32, .02), rgba(9, 18, 32, .20));
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    color: rgba(2, 6, 23, .62);
    font-size: .9rem;
    font-weight: 600;
}

.blog-excerpt {
    color: rgba(2, 6, 23, .68);
    font-size: .98rem;
    line-height: 1.65;
}

.stat-card {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.2rem;
    padding: 1rem 1.1rem;
    height: 100%;
}

.pagination-surface {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.2rem;
    padding: .7rem 1rem;
}

/* ---- blog_detail ---- */
.hero-cover {
    position: relative;
    min-height: 460px;
    border-radius: 1.45rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b1220;
}

.hero-cover:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, .04), rgba(2, 6, 23, .26));
}

.hero-floating {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    z-index: 2;
}

.floating-card {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    border-radius: 1.05rem;
    padding: 1rem;
}

.floating-card .label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
}

.floating-card .value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.surface {
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.35rem;
    box-shadow: 0 18px 45px rgba(2, 6, 23, .07);
}

.article-shell {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    color: rgba(2, 6, 23, .62);
    font-weight: 600;
    font-size: .94rem;
}

.toc-card {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.35rem;
    padding: 1.25rem;
    box-shadow: 0 14px 35px rgba(2, 6, 23, .06);
}

.toc-card a {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    text-decoration: none;
    color: var(--nr-ink-2);
    font-weight: 700;
    padding: .7rem .8rem;
    border-radius: 1rem;
    transition: .18s ease;
}

.toc-card a:hover {
    background: rgba(237, 31, 36, .06);
    color: var(--nr-brand);
}

.article-content {
    font-size: 1.04rem;
    line-height: 1.9;
    color: #20304d;
}

.article-content p {
    margin-bottom: 1.35rem;
}

.article-content h2 {
    font-size: 1.9rem;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.02em;
    color: var(--nr-ink);
    margin: 2rem 0 1rem;
    scroll-margin-top: 110px;
}

.article-content h3 {
    font-size: 1.24rem;
    font-weight: 800;
    color: var(--nr-ink);
    margin: 1.45rem 0 .75rem;
}

.article-content .lead-block {
    font-size: 1.18rem;
    color: #31415f;
    font-weight: 500;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-item {
    background: linear-gradient(180deg, #fff, #f8fbfb);
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.2rem;
    padding: 1rem;
}

.pullquote {
    padding: 1.4rem 1.5rem;
    border-left: 5px solid var(--nr-brand);
    background: linear-gradient(180deg, rgba(237, 31, 36, .05), rgba(237, 31, 36, .02));
    border-radius: 1rem;
    font-size: 1.16rem;
    font-weight: 700;
    color: #20304d;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem 1rem;
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1rem;
    padding: .95rem 1rem;
}

.check-list li i {
    color: var(--nr-brand);
    font-size: 1.1rem;
    margin-top: .1rem;
}

.inline-gallery .photo {
    min-height: 500px;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(2, 6, 23, .08);
    background-size: cover;
    background-position: center;
    position: relative;
}

.inline-gallery .photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, .02), rgba(2, 6, 23, .22));
}

.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(180deg, #fff, #f8fbfb);
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(237, 31, 36, .12), rgba(242, 102, 105, .14));
    border: 1px solid rgba(2, 6, 23, .08);
}

.share-row .btn {
    border-radius: 999px;
}

.cta-band {
    background:
        radial-gradient(780px 420px at 15% 15%, rgba(237, 31, 36, .18), transparent 55%),
        radial-gradient(720px 420px at 82% 0%, rgba(245, 158, 11, .18), transparent 56%),
        linear-gradient(180deg, #071125, #061021);
    color: #fff;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden;
}

.related-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: 1.35rem;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(2, 6, 23, .12);
}

.related-thumb {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 32, .02), rgba(9, 18, 32, .22));
}

@media (max-width: 575.98px) {
    .hero-floating {
        grid-template-columns: 1fr;
    }

    .info-strip,
    .check-list {
        grid-template-columns: 1fr;
    }
}
