/* Tema 2 — Blog liste / detay */

.pb-blog-main {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.pb-blog-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.pb-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.1rem;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.8125rem;
    color: #94a3b8;
    width: auto;
    max-width: 100%;
}

.pb-blog-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}

.pb-blog-breadcrumb a:hover {
    color: #0a2240;
    text-decoration: underline;
}

.pb-blog-breadcrumb-sep {
    opacity: 0.5;
}

.pb-blog-breadcrumb [aria-current="page"] {
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(48ch, 70vw);
}

.pb-blog-list-head {
    margin-bottom: 1.75rem;
    max-width: 40rem;
}

.pb-blog-list-title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.15;
    color: #0a2240;
    font-weight: 800;
}

.pb-blog-list-lead {
    margin: 0.65rem 0 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.55;
}

.pb-blog-empty {
    border: 1px dashed #d8dee6;
    border-radius: 16px;
    background: #f8fafc;
    padding: 2rem 1.25rem;
    text-align: center;
    color: #64748b;
}

.pb-blog-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
}

/* Masaüstü sütun sayısı yapılandırmadan gelir; mobilde 1, tablet’te makul üst sınır */
@media (min-width: 640px) {
    .pb-blog-grid--cols-1 { grid-template-columns: 1fr; }
    .pb-blog-grid--cols-2,
    .pb-blog-grid--cols-3,
    .pb-blog-grid--cols-4,
    .pb-blog-grid--cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (min-width: 1100px) {
    .pb-blog-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pb-blog-grid--cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .pb-blog-grid--cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.pb-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #eef2f6;
    border-radius: var(--radius-md, 12px);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.pb-blog-card:hover {
    border-color: var(--color-primary, #0a2240);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.pb-blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    overflow: hidden;
}

.pb-blog-grid--cols-6 .pb-blog-card-media {
    aspect-ratio: 4 / 3;
}

.pb-blog-card-media img,
.pb-blog-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-blog-card-placeholder {
    background: linear-gradient(135deg, #e8edf3, #f8fafc 55%, #eef2f7);
}

.pb-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.15rem;
}

.pb-blog-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #94a3b8;
}

.pb-blog-card-title {
    font-size: 1.02rem;
    font-weight: 750;
    color: #0a2240;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-grid--cols-6 .pb-blog-card-title {
    font-size: 0.92rem;
}

.pb-blog-card-excerpt {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-grid--cols-4 .pb-blog-card-excerpt,
.pb-blog-grid--cols-6 .pb-blog-card-excerpt {
    -webkit-line-clamp: 2;
}

.pb-blog-card-more {
    margin-top: auto;
    padding-top: 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0a2240;
}

/* —— Yazı detay —— */
.pb-blog-article {
    display: flex;
    justify-content: center;
}

.pb-blog-article-inner {
    width: 100%;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(10, 34, 64, 0.05);
    padding: 1.35rem 1.15rem 1.6rem;
}

@media (min-width: 768px) {
    .pb-blog-article-inner {
        padding: 1.85rem 1.75rem 2rem;
    }
}

.pb-blog-width-narrow .pb-blog-article-inner { max-width: 48rem; }
.pb-blog-width-normal .pb-blog-article-inner { max-width: 56rem; }
.pb-blog-width-wide .pb-blog-article-inner { max-width: 68rem; }
.pb-blog-width-full .pb-blog-article-inner { max-width: none; }

.pb-blog-article-head {
    margin-bottom: 1.25rem;
    text-align: left;
}

.pb-blog-article-title {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.2;
    color: #0a2240;
    font-weight: 800;
}

.pb-blog-article-meta {
    margin: 0.7rem 0 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

.pb-blog-figure {
    margin: 0 0 1.5rem;
    overflow: hidden;
    border-radius: 14px;
    background: #f1f5f9;
}

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

.pb-blog-img-small .pb-blog-figure {
    max-width: 28rem;
    aspect-ratio: 16 / 10;
}

.pb-blog-img-medium .pb-blog-figure {
    max-width: 40rem;
    aspect-ratio: 16 / 9;
}

.pb-blog-img-large .pb-blog-figure {
    max-width: 100%;
    aspect-ratio: 21 / 9;
}

.pb-blog-img-small .pb-blog-figure img,
.pb-blog-img-medium .pb-blog-figure img,
.pb-blog-img-large .pb-blog-figure img {
    width: 100%;
    height: 100%;
}

.pb-blog-prose {
    color: #334155;
    line-height: 1.75;
    font-size: 1.02rem;
}

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

.pb-blog-prose h2,
.pb-blog-prose h3,
.pb-blog-prose h4 {
    color: #0a2240;
    line-height: 1.3;
    margin: 1.6rem 0 0.7rem;
}

.pb-blog-prose h2 { font-size: 1.3rem; }
.pb-blog-prose h3 { font-size: 1.15rem; }

.pb-blog-prose p,
.pb-blog-prose ul,
.pb-blog-prose ol {
    margin: 0 0 1rem;
}

.pb-blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.pb-blog-prose a {
    color: #0a2240;
    font-weight: 600;
}

.pb-blog-prose blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid #0a2240;
    background: #f8fafc;
    color: #475569;
}

.pb-blog-back {
    margin: 2rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid #eef2f6;
}

.pb-blog-back a {
    color: #0a2240;
    font-weight: 700;
    text-decoration: none;
}

.pb-blog-back a:hover {
    text-decoration: underline;
}

.pb-blog-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pb-blog-pager-status {
    font-size: 0.875rem;
    color: #64748b;
    min-width: 4.5rem;
    text-align: center;
}

.pb-blog-pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0 0.95rem;
    border: 1px solid #e8edf3;
    border-radius: 999px;
    background: #fff;
    color: #0a2240;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.pb-blog-pager-btn:hover {
    background: #f8fafc;
}
