/* Blog article template styles */

.blog-post-page {
    background: #f6f7fb;
    color: #111;
}

.blog-post-header,
.blog-post-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.blog-post-header-inner,
.blog-post-page .header-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.blog-post-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.blog-post-brand img {
    width: 28px;
    height: 28px;
}

.blog-back-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}

.blog-back-link:hover {
    color: #111;
}

.blog-post-page .logo img {
    width: auto;
    height: 32px;
    display: block;
}

.blog-post-page .btn-text {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
}

.blog-post-page .btn-text:hover {
    color: #111;
}

.blog-main-content {
    padding: 40px 0 72px;
}

.blog-article-card,
.blog-article {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.article-header {
    text-align: center;
    margin-bottom: 28px;
}

.blog-category-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.article-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.article-subtitle {
    max-width: 72ch;
    margin: 0 auto 18px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    color: #6b7280;
    font-size: 14px;
}

.article-meta .meta-dot {
    margin: 0 4px;
}

.article-featured-image {
    margin: 0 0 30px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    padding: 10px 14px;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.tldr-box,
.tldr,
.toc-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    margin: 26px 0;
    background: #fff;
}

.tldr-box {
    background: #f8fafc;
    border-left: 4px solid #4f46e5;
}

.tldr {
    background: #f8fafc;
    border-left: 4px solid #4f46e5;
}

.tldr-box h2,
.tldr h2,
.toc-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
}

.tldr-box ul,
.tldr ul,
.toc-card ol {
    margin: 0;
    padding-left: 20px;
}

.tldr-box li,
.tldr li,
.toc-card li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.toc-card a {
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
}

.toc-card a:hover {
    text-decoration: underline;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    margin: 26px 0;
    background: #fff;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) ul,
.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) ol {
    margin: 0;
    padding-left: 20px;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) a {
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
}

.blog-post-page nav[aria-label="İçindekiler"]:not(.toc-card) a:hover {
    text-decoration: underline;
}

.article-body h2 {
    margin: 34px 0 14px;
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.article-body h3 {
    margin: 24px 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.article-body p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
    color: #1f2937;
}

.article-body .lead {
    font-size: 19px;
    color: #374151;
}

.article-body .highlight {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 20px 0;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    color: #1f2937;
    border-left: 4px solid #4f46e5;
}

.article-body .badge {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 10px;
}

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

.article-body li {
    margin-bottom: 10px;
    line-height: 1.65;
    color: #1f2937;
}

.article-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 24px 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 24px 0;
}

.table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.table-wrap.table-wrap-wide table {
    min-width: 740px;
}

.table-wrap th,
.table-wrap td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
}

.table-wrap th {
    background: #f9fafb;
    font-weight: 700;
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.hr {
    height: 1px;
    background: #e5e7eb;
    margin: 34px 0;
}

.article-table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.article-table-wrap th,
.article-table-wrap td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
}

.article-table-wrap th {
    background: #f9fafb;
    font-weight: 700;
}

.article-table-wrap tr:last-child td {
    border-bottom: 0;
}

.article-note {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
}

.article-body .note {
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
}

.article-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.article-link {
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
}

.article-link:hover {
    text-decoration: underline;
}

.blog-post-footer {
    padding: 0 0 40px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 900px) {
    .blog-main-content > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .blog-main-content {
        padding-top: 28px;
    }

    .blog-article-card {
        max-width: 100%;
        padding: 28px;
        border-radius: 18px;
    }

    .blog-article {
        max-width: 100%;
        padding: 28px;
        border-radius: 18px;
    }

    .article-title {
        font-size: clamp(26px, 7vw, 36px);
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .blog-post-page .header-container {
        position: relative;
        justify-content: flex-start;
    }

    .blog-post-page .btn-text {
        position: relative;
        z-index: 2;
        font-size: 20px;
    }

    .blog-post-page .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 34px;
        height: 34px;
        z-index: 1;
        background: url('../assets/brandfluencer_icon.png') center / contain no-repeat;
    }

    .blog-post-page .logo img {
        display: none;
    }

    .blog-main-content > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .blog-main-content {
        padding: 16px 0 44px;
    }

    .blog-post-header-inner {
        height: 64px;
    }

    .blog-post-brand span {
        font-size: 14px;
    }

    .blog-article-card {
        padding: 18px;
    }

    .blog-article {
        padding: 18px;
    }

    .article-subtitle,
    .article-body p,
    .article-body li {
        font-size: 16px;
    }
}
