/**
 * Genel blog – site sayfa düzeni ile uyumlu
 */
.blog-page-main {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2.2rem 1.25rem 4rem;
}
.blog-hero {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.blog-page-title {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.blog-page-lead {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 1.06rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
}
@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    grid-column: span 4;
}
.blog-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-3px);
}
.blog-card-img-wrap {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 1.05rem 1.05rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-title {
    margin: 0 0 0.45rem;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.32;
    color: #0f172a;
}
.blog-card-meta {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}
.blog-card-excerpt {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.58;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-more {
    margin-top: 0.9rem;
    display: inline-flex;
    align-self: flex-start;
    padding: 0.38rem 0.66rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
}
.blog-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.blog-detail-article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.55rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.blog-detail-meta {
    font-size: 0.9rem;
    color: var(--site-text-muted, #6E6E73);
    margin-bottom: 1rem;
}
.blog-detail-body {
    line-height: 1.7;
    color: var(--site-text, #1d1d1f);
}
.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.blog-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--site-accent, #b8944a);
}
.blog-back:hover {
    text-decoration: underline;
}
.blog-guest-form .blog-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 0.55rem 0 1.5rem;
}
.blog-toolbar-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #0f172a;
    color: #fff;
    border: 1px solid #0f172a;
    padding: 0.58rem 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color .2s ease, transform .2s ease;
}
.blog-toolbar-link:hover {
    background: #1e293b;
    color: #fff;
    transform: translateY(-1px);
}

.blog-empty-state {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    padding: 1.2rem 1.05rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}
.blog-empty-text {
    margin: 0;
    color: #64748b;
    font-size: 0.98rem;
}
.blog-empty-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background: #0f172a;
    color: #fff;
    border: 1px solid #0f172a;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-weight: 600;
}

.blog-guest-card {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1.05rem;
}
.blog-alert {
    margin: 0.7rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid transparent;
}
.blog-alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
.blog-alert-error {
    background: #fff1f2;
    color: #991b1b;
    border-color: #fecaca;
}
.blog-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: start;
}
.blog-form-grid .admin-form-group {
    margin-bottom: 0;
}
.blog-form-grid .admin-form-group label {
    min-height: 1.2rem;
    display: flex;
    align-items: center;
}
.blog-form-full {
    grid-column: 1 / -1;
}
.blog-guest-card label {
    font-weight: 600;
    color: #334155;
}
.blog-guest-card .admin-input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    padding: 0.68rem 0.85rem;
}
.blog-guest-card .admin-input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.blog-file-input {
    width: 100%;
    padding: 0.55rem 0.3rem;
}
.blog-submit-btn {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #fff;
    border: 1px solid #0f172a;
    border-radius: 10px;
    padding: 0.7rem 1.05rem;
    font-weight: 700;
    cursor: pointer;
}
@media (max-width: 700px) {
    .blog-form-grid {
        grid-template-columns: 1fr;
    }
}
