/**
 * Boyraz Suite — Blog Kartları
 * Widget + blog detay şablonundaki "İlgili Yazılar" ortak kullanır.
 * Varsayılanlar buradadır; Elementor kontrolleri override eder.
 */

/* ── Izgara ───────────────────────────────────────────────────── */
.boyraz-bk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Kart ─────────────────────────────────────────────────────── */
.boyraz-bk-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    list-style: none;
}
.boyraz-bk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.boyraz-bk-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.boyraz-bk-link:hover,
.boyraz-bk-link:focus {
    text-decoration: none;
    color: inherit;
}

/* ── Görsel ───────────────────────────────────────────────────── */
.boyraz-bk-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #eceae6;
    flex-shrink: 0;
}
.boyraz-bk-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.boyraz-bk-card:hover .boyraz-bk-media img {
    transform: scale(1.05);
}
.boyraz-bk-zoom- .boyraz-bk-card:hover .boyraz-bk-media img {
    transform: none;
}
.boyraz-bk-noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e4dd 0%, #d5cfc4 100%);
}

/* ── Keşfet rozeti ────────────────────────────────────────────── */
.boyraz-bk-pill {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 6px;
    border-radius: 999px;
    background-color: #ffffff;
    color: #1d1d1d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}
.boyraz-bk-card:hover .boyraz-bk-pill {
    transform: translateX(3px);
}
.boyraz-bk-pill-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #1b1b1b;
    color: #ffffff;
    flex-shrink: 0;
}
.boyraz-bk-pill-ico svg { width: 12px; height: 12px; }

/* ── İçerik ───────────────────────────────────────────────────── */
.boyraz-bk-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.boyraz-bk-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #1d1d1d;
    transition: color 0.2s ease;
}
.boyraz-bk-link:hover .boyraz-bk-title {
    color: var(--e-global-color-accent, #a98a5b);
}

.boyraz-bk-excerpt {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boyraz-bk-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--e-global-color-accent, #a98a5b);
    line-height: 1.3;
}
.boyraz-bk-more svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}
.boyraz-bk-link:hover .boyraz-bk-more svg {
    transform: translateX(4px);
}

/* ── Editör placeholder ───────────────────────────────────────── */
.boyraz-bk-editor-placeholder {
    padding: 24px;
    text-align: center;
    border: 2px dashed #cccccc;
    color: #999999;
    font-size: 13px;
    border-radius: 6px;
}

/* ── Responsive fallback (Elementor dışı kullanım) ────────────── */
@media (max-width: 1024px) {
    .boyraz-bk-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
    .boyraz-bk-grid { grid-template-columns: 1fr; gap: 18px; }
}
