/* ============================================================
   BLOG — Liste + Detay Stilleri
   Bağımlılık: style.css (renk değişkenleri, container)
   ============================================================ */

.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* ---- HERO ---- */
.bp-hero {
    padding: 80px 0 50px;
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 60%, #EFF6FF 100%);
    border-bottom: 1px solid var(--border, #E5E7EB);
}
.bp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14, 92, 58, 0.08);
    color: #0E5C3A;
    padding: 6px 14px; border-radius: 100px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 16px;
}
.bp-hero__title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800; line-height: 1.15;
    margin: 0 0 16px;
    color: var(--accent, #0B3D5C);
}
.bp-hero__title span { color: var(--primary, #0E5C3A); }
.bp-hero__lead {
    font-size: 17px; line-height: 1.6;
    color: var(--text-light, #6B7280);
    max-width: 720px;
}

/* ---- BREADCRUMB ---- */
.bp-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-light, #6B7280);
    margin-bottom: 18px; flex-wrap: wrap;
}
.bp-breadcrumb a {
    color: var(--text-light, #6B7280);
    text-decoration: none;
    transition: color .2s;
}
.bp-breadcrumb a:hover { color: var(--primary, #0E5C3A); }
.bp-breadcrumb i { font-size: 10px; opacity: .6; }

/* ---- KATEGORİ FİLTRESİ ---- */
.bp-cats {
    background: #fff;
    border-bottom: 1px solid var(--border, #E5E7EB);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 50;
}
.bp-cats ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 8px; flex-wrap: wrap;
    overflow-x: auto;
}
.bp-cats a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 100px;
    background: #F3F4F6; color: var(--accent, #0B3D5C);
    text-decoration: none; font-size: 14px; font-weight: 500;
    transition: all .2s; white-space: nowrap;
}
.bp-cats a:hover { background: #E5E7EB; }
.bp-cats a.is-active {
    background: var(--primary, #0E5C3A);
    color: #fff;
}
.bp-cats__count {
    background: rgba(255,255,255,.25);
    padding: 1px 8px; border-radius: 100px;
    font-size: 11px; font-weight: 700;
}
.bp-cats a:not(.is-active) .bp-cats__count {
    background: rgba(0,0,0,.08);
    color: var(--text-light, #6B7280);
}

/* ---- SECTION TITLE ---- */
.bp-section-title {
    font-size: 22px; font-weight: 700;
    color: var(--accent, #0B3D5C);
    margin: 40px 0 24px;
    display: flex; align-items: center; gap: 10px;
}
.bp-section-title i { color: var(--primary, #0E5C3A); }
.bp-section-title__count {
    color: var(--text-light, #6B7280); font-weight: 500; font-size: 16px;
}

/* ---- ÖNE ÇIKAN ---- */
.bp-featured { padding: 30px 0; }
.bp-featured__grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .bp-featured__grid { grid-template-columns: 1fr; }
}
.bp-featured__card {
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #E5E7EB);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.bp-featured__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 61, 92, 0.08);
}
.bp-featured__card--big {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}
.bp-featured__card--big .bp-featured__img { flex: 0 0 55%; }
.bp-featured__card--big .bp-featured__body { padding: 32px; }
.bp-featured__card--big h3 { font-size: 26px; }
@media (max-width: 768px) {
    .bp-featured__card--big { flex-direction: column; }
    .bp-featured__card--big .bp-featured__img { flex: none; }
    .bp-featured__card--big .bp-featured__body { padding: 22px; }
    .bp-featured__card--big h3 { font-size: 20px; }
}
.bp-featured__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F3F4F6;
}
.bp-featured__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s;
}
.bp-featured__card:hover .bp-featured__img img {
    transform: scale(1.04);
}
.bp-featured__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.bp-featured__cat {
    display: inline-block;
    background: rgba(14, 92, 58, 0.08);
    color: #0E5C3A;
    padding: 4px 10px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}
.bp-featured__body h3 {
    font-size: 20px; font-weight: 700; line-height: 1.3;
    margin: 0 0 10px;
    color: var(--accent, #0B3D5C);
}
.bp-featured__body p {
    color: var(--text-light, #6B7280);
    font-size: 14px; line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}
.bp-featured__meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--text-light, #6B7280);
    border-top: 1px solid var(--border, #E5E7EB);
    padding-top: 14px;
}
.bp-featured__meta i { color: var(--primary, #0E5C3A); margin-right: 4px; }

/* ---- LISTE GRID ---- */
.bp-list { padding: 30px 0 80px; }
.bp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}
.bp-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #E5E7EB);
    transition: transform .25s, box-shadow .25s;
}
.bp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 61, 92, 0.08);
}
.bp-card__link {
    display: flex; flex-direction: column; height: 100%;
    text-decoration: none;
}
.bp-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F3F4F6;
}
.bp-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s;
}
.bp-card:hover .bp-card__img img {
    transform: scale(1.04);
}
.bp-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.bp-card__cat {
    display: inline-block;
    background: rgba(14, 92, 58, 0.08);
    color: #0E5C3A;
    padding: 3px 8px; border-radius: 100px;
    font-size: 11px; font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}
.bp-card__title {
    font-size: 17px; font-weight: 700; line-height: 1.35;
    margin: 0 0 8px;
    color: var(--accent, #0B3D5C);
}
.bp-card__excerpt {
    color: var(--text-light, #6B7280);
    font-size: 13px; line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
}
.bp-card__meta {
    display: flex; gap: 12px; flex-wrap: wrap;
    font-size: 11px; color: var(--text-light, #6B7280);
    border-top: 1px solid var(--border, #E5E7EB);
    padding-top: 10px;
}
.bp-card__meta i { color: var(--primary, #0E5C3A); margin-right: 3px; }

/* ---- EMPTY STATE ---- */
.bp-empty {
    text-align: center; padding: 60px 20px;
    background: #fff; border-radius: 14px;
    border: 1px dashed var(--border, #E5E7EB);
}
.bp-empty i {
    font-size: 48px; color: var(--text-light, #9CA3AF); margin-bottom: 16px;
}
.bp-empty p {
    font-size: 16px; color: var(--text-light, #6B7280);
    margin: 0 0 20px;
}

/* ---- PAGER ---- */
.bp-pager {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.bp-pager__num, .bp-pager__nav {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 8px;
    background: #fff; border: 1px solid var(--border, #E5E7EB);
    color: var(--accent, #0B3D5C);
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: all .2s;
}
.bp-pager__num:hover, .bp-pager__nav:hover {
    background: #F0FDF4;
    border-color: var(--primary, #0E5C3A);
    color: var(--primary, #0E5C3A);
}
.bp-pager__num.is-active {
    background: var(--primary, #0E5C3A);
    color: #fff; border-color: var(--primary, #0E5C3A);
}

/* ---- RSS STRIP ---- */
.bp-rss-strip {
    background: #FFF7ED;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #FED7AA;
}
.bp-rss-strip i { color: #F97316; margin-right: 8px; }
.bp-rss-strip a { color: var(--primary, #0E5C3A); font-weight: 600; }


/* ============================================================
   DETAY SAYFASI
   ============================================================ */
.bp-detay { background: #fff; }

.bp-detay__hero {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 50%);
    border-bottom: 1px solid var(--border, #E5E7EB);
}
.bp-detay__cat {
    display: inline-block;
    background: var(--primary, #0E5C3A);
    color: #fff;
    padding: 6px 14px; border-radius: 100px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 14px;
    text-decoration: none;
}
.bp-detay__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800; line-height: 1.2;
    margin: 0 0 16px;
    color: var(--accent, #0B3D5C);
    max-width: 900px;
}
.bp-detay__excerpt {
    font-size: 18px; line-height: 1.6;
    color: var(--text-light, #4B5563);
    max-width: 800px;
    margin: 0 0 24px;
}
.bp-detay__meta {
    display: flex; gap: 22px; flex-wrap: wrap;
    font-size: 14px; color: var(--text-light, #6B7280);
}
.bp-detay__meta i { color: var(--primary, #0E5C3A); margin-right: 6px; }
.bp-detay__author { font-weight: 600; }

.bp-detay__cover {
    margin: -20px 0 30px;
}
.bp-detay__cover img {
    width: 100%; max-width: 1200px;
    margin: 0 auto; display: block;
    border-radius: 14px;
    aspect-ratio: 12 / 7;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(11, 61, 92, 0.10);
}

.bp-detay__body {
    padding: 30px 0 60px;
}
.bp-detay__content {
    font-size: 17px;
    line-height: 1.85;
    color: #1F2937;
}
.bp-detay__content > * + * { margin-top: 1.2em; }
.bp-detay__content h2 {
    font-size: 28px; font-weight: 700;
    color: var(--accent, #0B3D5C);
    margin-top: 1.6em; margin-bottom: 0.5em;
    line-height: 1.25;
}
.bp-detay__content h3 {
    font-size: 22px; font-weight: 700;
    color: var(--accent, #0B3D5C);
    margin-top: 1.4em; margin-bottom: 0.4em;
}
.bp-detay__content p { margin: 0 0 1.2em; }
.bp-detay__content a {
    color: var(--primary, #0E5C3A);
    text-decoration: underline;
    text-decoration-color: rgba(14, 92, 58, 0.4);
    text-underline-offset: 3px;
    font-weight: 600;
}
.bp-detay__content a:hover {
    text-decoration-color: var(--primary, #0E5C3A);
}
.bp-detay__content ul, .bp-detay__content ol {
    padding-left: 1.5em; margin: 0 0 1.2em;
}
.bp-detay__content li { margin-bottom: 0.6em; }
.bp-detay__content li::marker { color: var(--primary, #0E5C3A); }
.bp-detay__content strong { color: var(--accent, #0B3D5C); font-weight: 700; }
.bp-detay__content em { color: var(--primary, #0E5C3A); font-style: italic; }
.bp-detay__content blockquote {
    border-left: 4px solid var(--primary, #0E5C3A);
    padding: 12px 22px;
    background: #F0FDF4;
    border-radius: 0 8px 8px 0;
    color: #1F2937;
    margin: 1.4em 0;
    font-style: italic;
}
.bp-detay__content code {
    background: #F3F4F6;
    padding: 2px 6px; border-radius: 4px;
    font-size: 0.9em;
    color: #BE185D;
    font-family: 'Monaco', 'Menlo', monospace;
}
.bp-detay__content pre {
    background: #1F2937; color: #F3F4F6;
    padding: 16px 20px; border-radius: 10px;
    overflow-x: auto; font-size: 14px;
}
.bp-detay__content pre code { background: transparent; color: inherit; padding: 0; }
.bp-detay__content table {
    width: 100%; border-collapse: collapse;
    margin: 1.4em 0; font-size: 15px;
}
.bp-detay__content th, .bp-detay__content td {
    border: 1px solid var(--border, #E5E7EB);
    padding: 10px 14px; text-align: left;
}
.bp-detay__content th {
    background: #F3F4F6;
    font-weight: 700;
    color: var(--accent, #0B3D5C);
}
.bp-detay__content img {
    max-width: 100%; height: auto;
    border-radius: 10px;
    margin: 1.4em 0;
}

/* ---- SHARE ---- */
.bp-share {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    margin-top: 36px; padding-top: 24px;
    border-top: 1px solid var(--border, #E5E7EB);
}
.bp-share__label {
    font-weight: 600; color: var(--accent, #0B3D5C);
    margin-right: 8px;
}
.bp-share__btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #F3F4F6;
    color: var(--accent, #0B3D5C);
    text-decoration: none; transition: all .2s;
}
.bp-share__btn:hover {
    background: var(--primary, #0E5C3A); color: #fff;
    transform: translateY(-2px);
}

/* ---- İLGİLİ ---- */
.bp-related {
    padding: 50px 0; background: #F9FAFB;
    border-top: 1px solid var(--border, #E5E7EB);
}
.bp-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.bp-related__card {
    background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border, #E5E7EB);
    text-decoration: none;
    transition: transform .25s;
}
.bp-related__card:hover { transform: translateY(-3px); }
.bp-related__img { aspect-ratio: 3/2; overflow: hidden; background: #F3F4F6; }
.bp-related__img img { width: 100%; height: 100%; object-fit: cover; }
.bp-related__body { padding: 14px; }
.bp-related__body h3 {
    font-size: 15px; font-weight: 700; line-height: 1.4;
    margin: 0 0 8px; color: var(--accent, #0B3D5C);
}
.bp-related__meta {
    font-size: 11px; color: var(--text-light, #6B7280);
}
.bp-related__meta i { color: var(--primary, #0E5C3A); }

/* ---- DETAY SONU CTA ---- */
.bp-detay-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--accent, #0B3D5C) 0%, var(--primary, #0E5C3A) 100%);
}
.bp-detay-cta__card {
    text-align: center; color: #fff;
    max-width: 720px; margin: 0 auto;
}
.bp-detay-cta__card h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800; margin: 0 0 12px;
    color: #fff;
}
.bp-detay-cta__card p {
    font-size: 17px; line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0 0 24px;
}
.bp-detay-cta__btns {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.bp-detay-cta__btns .btn--ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}
.bp-detay-cta__btns .btn--ghost:hover {
    background: rgba(255,255,255,.2);
}

/* ---- MOBİL ---- */
@media (max-width: 640px) {
    .bp-hero { padding: 50px 0 30px; }
    .bp-detay__cover { margin: 0 0 20px; }
    .bp-detay__cover img { border-radius: 0; }
    .bp-detay__content { font-size: 16px; }
    .bp-detay__content h2 { font-size: 22px; }
    .bp-detay__content h3 { font-size: 18px; }
    .bp-detay__meta { gap: 12px; font-size: 12px; }
}
