.blog-page {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

.blog-page-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .blog-page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.blog-page-intro {
    min-width: 0;
}

.blog-search-form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .blog-search-form {
        width: min(100%, 28rem);
        flex-shrink: 0;
    }
}

.blog-search-form__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dark .blog-search-form__inner {
    border-color: #4b5563;
    background: #1f2937;
}

.blog-search-form__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    color: #9ca3af;
    pointer-events: none;
}

.blog-search-form__icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.blog-search-form__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    border: 0;
    background: transparent;
    padding: 0.625rem 0.5rem 0.625rem 0;
    font-size: max(16px, 0.875rem);
    line-height: 1.4;
    outline: none;
    color: inherit;
}

.blog-search-form__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.blog-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0.25rem;
    min-width: 2.75rem;
    height: 2.25rem;
    padding: 0 0.875rem;
    border: 0;
    border-radius: 0.5rem;
    background: #1E5AA8;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.blog-search-form__submit:hover {
    background: #174a8c;
}

.blog-search-form__submit-icon {
    display: none;
    width: 1.125rem;
    height: 1.125rem;
}

@media (max-width: 400px) {
    .blog-search-form__icon {
        width: 2.25rem;
    }

    .blog-search-form__submit-text {
        display: none;
    }

    .blog-search-form__submit-icon {
        display: block;
    }

    .blog-search-form__submit {
        min-width: 2.5rem;
        padding: 0 0.625rem;
    }
}

.blog-card {
    height: 100%;
}

.blog-card-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.blog-card-media .blog-thumb-wrap {
    position: absolute;
    inset: 0;
}

.blog-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: translateZ(0);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05) translateZ(0);
}

.blog-grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
    min-width: 0;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    min-width: 0;
}

.blog-pagination {
    margin-top: 2.5rem;
    min-width: 0;
}

/* Blog yazı detay */
.blog-article {
    color: #111827;
}

.blog-article-title {
    color: #111827;
}

.blog-article-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}

.blog-article-body.prose :where(p, li, td, th) {
    color: #374151;
}

.blog-article-body.prose :where(h1, h2, h3, h4, h5, h6) {
    color: #111827;
    font-weight: 700;
}

.blog-article-body.prose a {
    color: #1E5AA8;
}

.blog-faq {
    padding-top: 0.5rem;
}
.blog-faq__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.35rem;
}
.blog-faq__intro {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.blog-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.blog-faq__item {
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.85rem 1rem;
}
.blog-faq__q {
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    list-style: none;
}
.blog-faq__q::-webkit-details-marker { display: none; }
.blog-faq__a {
    margin-top: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4b5563;
}
.blog-related__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}
.blog-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.blog-related__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e8eef5;
    border-radius: 0.75rem;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}
.blog-related__link:hover {
    border-color: #4DA6FF;
    background: #f0f7ff;
}
.blog-related__name {
    font-weight: 700;
    color: #0f2d5c;
    font-size: 0.9375rem;
}
.blog-related__date {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #94a3b8;
}
