﻿

/* ==========================================================
   Modern Two-Up Blog Grid (Dark Theme)
   Accent: var(--red)
   ========================================================== */
:root {
    --red: #FF3B5C;
    --text: #EAF1FB;
    --muted: #A7AEBB;
    --surf: #161A21;
    --surf-2: #1D2330;
    --line: #2A2F3A;
}

/* Başlık */
.blog-two-up {
    margin-bottom: 28px;
}

.blog2-head {
    text-align: center;
    margin-bottom: 18px;
}

    .blog2-head h2 {
        margin: 0;
        font-family: var(--heading,"Cinzel",ui-serif,Georgia,serif);
        color: var(--text);
        font-size: clamp(1.5rem,3vw,2.1rem);
        font-weight: 900;
    }

    .blog2-head p {
        margin: 6px 0 0;
        color: var(--muted);
    }

/* Grid: her satır 2 kart */
.blog2-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

@media (max-width: 768px) {
    .blog2-grid {
        grid-template-columns: 1fr;
    }
}

/* Kart */
.post2-card {
    background: linear-gradient(180deg,var(--surf-2),var(--surf));
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

    .post2-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255,59,92,.35);
        box-shadow: 0 18px 44px rgba(255,59,92,.16);
    }

/* Medya (16:9) */
.p2-media {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0F131A;
}

    .p2-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
        transition: transform .45s ease, filter .45s ease;
    }

.post2-card:hover .p2-media img {
    transform: scale(1.08);
    filter: saturate(110%);
}

/* Gradient overlay */
.p2-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.0) 30%, rgba(0,0,0,.45) 100%);
}

/* Sheen efekti */
.p2-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 12%, transparent 24%);
    transform: translateX(-100%);
    transition: transform .8s ease;
}

.post2-card:hover .p2-sheen {
    transform: translateX(120%);
}

/* Kategori rozeti */
.p2-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    font-size: .72rem;
    letter-spacing: .3px;
    font-weight: 900;
    color: #FFE3E9;
    background: rgba(255,59,92,.22);
    border: 1px solid rgba(255,59,92,.42);
    padding: .28rem .6rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* Gövde */
.p2-body {
    padding: 14px;
    color: var(--text);
}

.p2-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.3;
}

    .p2-title a {
        color: var(--text);
        text-decoration: none;
    }

        .p2-title a:hover {
            color: var(--red);
        }

.p2-excerpt {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.p2-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    padding-top: 10px;
    border-top: 1px dashed rgba(255,255,255,.08);
    font-size: .9rem;
}

.p2-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

    .p2-author img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 0 0 2px rgba(255,255,255,.08);
    }

.p2-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: inline-block;
}

.p2-date .material-icons {
    font-size: 16px;
    vertical-align: -3px;
    color: var(--red);
}

/* Pager (pilled) */
.pager-rail {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.pager {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: inline-flex;
    gap: 8px;
    background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.04));
    border: 1px solid var(--line);
    border-radius: 999px;
}

.pager__item {
    list-style: none;
}

.pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surf-2);
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s, transform .12s;
}

    .pager__link:hover {
        background: rgba(255,59,92,.18);
        border-color: rgba(255,59,92,.45);
    }

.pager__item.is-active .pager__link {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255,59,92,.24);
}

.pager__item.disabled .pager__link {
    opacity: .45;
    pointer-events: none;
}

@media (max-width:575.98px) {
    .pager__link {
        min-width: 36px;
        height: 36px;
    }
}
