/* NetPazar — Blog liste & yazı sayfası */

.blog-page {
    background: linear-gradient(180deg, #fff9f5 0%, #faf9f7 220px, var(--bg, #faf9f7) 220px);
    padding: 0 0 3rem;
    min-height: 50vh;
}

.blog-page__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
}

.blog-page__inner--wide {
    max-width: 1120px;
}

/* ── Liste ── */
.blog-index-head {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.blog-index-head__kicker {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ea580c;
}

.blog-index-head h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    color: #0f172a;
}

.blog-index-head p {
    margin: 0 auto;
    max-width: 560px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5f0, #fef3f2);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    font-size: 2rem;
    opacity: 0.45;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.15rem 1.2rem;
}

.blog-card__date {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

.blog-card h2 {
    margin: 0.4rem 0 0.55rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.blog-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #ea580c;
}

.blog-card p {
    margin: 0;
    flex: 1;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.blog-card__more {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ea580c;
    text-decoration: none;
}

.blog-card__more:hover {
    text-decoration: underline;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.blog-empty {
    text-align: center;
    color: #64748b;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #e2e8f0;
}

/* ── Yazı detay ── */
.blog-article-shell {
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.blog-article__head {
    padding: 1.75rem 1.75rem 0;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.blog-article__meta time {
    font-weight: 600;
}

.blog-article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-article__head h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.55rem, 3.5vw, 2.25rem);
    line-height: 1.22;
    font-weight: 800;
    color: #0f172a;
}

.blog-article__lead {
    margin: 0;
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.65;
}

.blog-article__hero {
    margin: 1.35rem 0 0;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #f1f5f9;
}

.blog-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article__content {
    padding: 1.75rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.8;
}

.blog-article__content > *:first-child {
    margin-top: 0;
}

.blog-article__content p {
    margin: 0 0 1.1rem;
}

.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4 {
    margin: 1.75rem 0 0.75rem;
    color: #0f172a;
    line-height: 1.3;
    font-weight: 800;
}

.blog-article__content h2 { font-size: 1.35rem; }
.blog-article__content h3 { font-size: 1.15rem; }

.blog-article__content ul,
.blog-article__content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.35rem;
}

.blog-article__content li {
    margin-bottom: 0.45rem;
}

.blog-article__content a {
    color: #ea580c;
    font-weight: 600;
}

.blog-article__content blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #ea580c;
    background: #fff7ed;
    border-radius: 0 12px 12px 0;
    color: #475569;
}

.blog-article__content strong {
    color: #0f172a;
}

.blog-article__cta {
    margin: 0 1.75rem 1.75rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.blog-article__cta p {
    margin: 0;
    font-weight: 600;
    color: #9a3412;
}

.blog-article__cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #ea580c;
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-article__cta a:hover {
    background: #c2410c;
}

.blog-back {
    margin: 0;
    text-align: center;
}

.blog-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
}

.blog-back a:hover {
    color: #ea580c;
}

/* ── İlgili yazılar ── */
.blog-related {
    margin-top: 2.5rem;
}

.blog-related h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.blog-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.blog-related__card {
    display: block;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e8e6e3;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-related__card:hover {
    border-color: #fdba74;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.1);
}

.blog-related__card time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.blog-related__card h3 {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #0f172a;
}

@media (max-width: 640px) {
    .blog-article__head,
    .blog-article__content {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .blog-article__cta {
        margin-left: 1.15rem;
        margin-right: 1.15rem;
    }
}
