/* ============================================
   BLOG SAYFASI
   ============================================ */

.blog-section {
    padding: 60px 0 80px;
    background: white;
}

/* Kategori pill'leri */
.blog-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.cat-pill {
    padding: 10px 22px;
    background: transparent;
    border: 1.5px solid var(--line-strong, rgba(15, 22, 41, 0.16));
    border-radius: 100px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted, #64748B);
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill:hover {
    border-color: var(--sunset-400, #EA580C);
    color: var(--sunset-500, #C2410C);
}

.cat-pill.active {
    background: var(--navy-900, #0B1426);
    border-color: var(--navy-900, #0B1426);
    color: white;
}

/* Öne çıkan makale */
.featured-article {
    margin-bottom: 48px;
}

.featured-link {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, var(--cream, #FAFAF7), var(--paper-warm, #F0EBE0));
    border: 1px solid var(--line, rgba(15, 22, 41, 0.08));
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(11, 20, 38, 0.12);
    border-color: var(--sunset-400, #EA580C);
}

.featured-image {
    position: relative;
    min-height: 320px;
    background: linear-gradient(135deg, #FEF3C7, #FED7AA);
    overflow: hidden;
}

.featured-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(234, 88, 12, 0.2), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.15), transparent 50%);
}

.featured-svg {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .article-cat {
    display: inline-block;
    padding: 6px 14px;
    background: var(--sunset-500, #C2410C);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--navy-900, #0B1426);
    margin-bottom: 16px;
}

.featured-content p {
    font-size: 16px;
    color: var(--muted, #64748B);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-soft, #94A3B8);
    flex-wrap: wrap;
}

/* Blog card grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border: 1px solid var(--line, rgba(15, 22, 41, 0.08));
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong, rgba(15, 22, 41, 0.16));
    box-shadow: 0 20px 48px rgba(11, 20, 38, 0.08);
}

.card-image {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Farklı arka plan renkleri */
.card-bg-1 { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.card-bg-2 { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.card-bg-3 { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.card-bg-4 { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.card-bg-5 { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.card-bg-6 { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }

.card-content {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-cat {
    display: inline-block;
    padding: 4px 10px;
    background: var(--navy-900, #0B1426);
    color: white;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.blog-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--navy-900, #0B1426);
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 14px;
    color: var(--muted, #64748B);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card .article-meta {
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line, rgba(15, 22, 41, 0.08));
}

/* Newsletter card */
.newsletter-card {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--sunset-700));
    border-radius: 24px;
    padding: 56px 48px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(234, 88, 12, 0.2), transparent 50%);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.newsletter-card h3 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: white;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink, #0F1629);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

.newsletter-form .btn {
    padding: 14px 24px;
    white-space: nowrap;
}

/* ============================================
   BLOG ARTICLE SAYFASI (makale detay)
   ============================================ */

.article-hero {
    background: linear-gradient(135deg, var(--cream, #FAFAF7), var(--paper-warm, #F0EBE0));
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line);
}

.article-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.article-hero .article-cat {
    margin: 0 auto 20px;
}

.article-hero h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--navy-900, #0B1426);
    margin-bottom: 20px;
}

.article-hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sunset-500);
}

.article-lead {
    font-size: 19px;
    color: var(--muted, #64748B);
    line-height: 1.55;
    margin-bottom: 28px;
}

.article-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--muted, #64748B);
    flex-wrap: wrap;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--sunset-400));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 4px;
}

.article-cover {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.article-cover-inner {
    aspect-ratio: 16 / 8;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #FEF3C7, #FED7AA);
}

.article-cover-inner svg {
    width: 100%;
    height: 100%;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink, #0F1629);
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--navy-900, #0B1426);
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--navy-800);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-left: 4px solid var(--sunset-400);
    border-radius: 12px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1.5;
    color: var(--navy-900);
}

.article-body strong {
    font-weight: 700;
    color: var(--navy-900);
}

.article-body a {
    color: var(--sunset-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body img, .article-body svg {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.article-callout {
    background: linear-gradient(135deg, var(--cream), var(--paper-warm));
    border: 1px solid var(--line-strong);
    border-left: 4px solid var(--sunset-400);
    border-radius: 14px;
    padding: 24px 28px;
    margin: 32px 0;
}

.article-callout h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sunset-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-callout p {
    margin: 0;
    font-size: 15px;
    color: var(--ink);
    opacity: 0.85;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.article-table th {
    background: var(--navy-900);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
}

.article-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
}

.article-table tr:nth-child(even) td {
    background: var(--cream);
}

/* TOC */
.article-toc {
    background: var(--cream);
    border-left: 4px solid var(--navy-700);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.article-toc h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 12px;
}

.article-toc ol {
    padding-left: 20px;
    margin: 0;
}

.article-toc li {
    margin-bottom: 6px;
    font-size: 14px;
}

.article-toc a {
    color: var(--navy-900);
    text-decoration: none;
}

.article-toc a:hover {
    color: var(--sunset-500);
    text-decoration: underline;
}

/* Author footer */
.article-footer-meta {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 24px 28px;
    background: var(--cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-footer-meta .author-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.author-info strong {
    display: block;
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--muted);
}

/* Related articles */
.related-articles {
    background: var(--paper);
    padding: 80px 0;
}

.related-articles h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-link { grid-template-columns: 1fr; }
    .featured-content { padding: 32px; }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .newsletter-card { padding: 40px 24px; }
    .newsletter-form { flex-direction: column; }
    .blog-categories { gap: 6px; padding: 0 4px; }
    .cat-pill { padding: 8px 16px; font-size: 12px; }
    .featured-content { padding: 28px 24px; }
    .article-body { padding: 48px 20px 60px; font-size: 16px; }
    .article-body h2 { font-size: 24px; margin-top: 36px; }
    .article-body h3 { font-size: 19px; }
    .article-body blockquote { padding: 18px 20px; font-size: 17px; }
}
