.rb-blog-page {
    padding: 2rem 0 4rem;
}

.rb-blog-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rb-blog-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.rb-blog-hero p {
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
}

.rb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.rb-blog-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rb-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.rb-blog-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rb-blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rb-blog-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.rb-blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.rb-blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.rb-blog-card-title a:hover {
    color: #5b6fd8;
}

.rb-blog-card-excerpt {
    font-size: 0.92rem;
    color: #64748b;
    flex: 1;
    margin-bottom: 1rem;
}

.rb-blog-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #5b6fd8;
    text-decoration: none;
}

.rb-blog-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Detay sayfası */
.rb-blog-detail-hero {
    margin-bottom: 2rem;
}

.rb-blog-detail-cover-wrap {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    max-height: min(70vh, 560px);
}

.rb-blog-detail-cover {
    width: 100%;
    height: 100%;
    max-height: min(70vh, 560px);
    object-fit: contain;
    object-position: center;
    display: block;
}

.rb-blog-detail-meta {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.rb-blog-detail-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.rb-blog-detail-excerpt {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.rb-blog-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.rb-blog-content h1,
.rb-blog-content h2,
.rb-blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rb-blog-content p {
    margin-bottom: 1.25rem;
}

.rb-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.rb-blog-content blockquote {
    border-left: 4px solid #5b6fd8;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.rb-blog-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.rb-blog-content table td,
.rb-blog-content table th {
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.8rem;
}

.rb-blog-content .video-embed-wrapper,
.rb-blog-content .ratio {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.rb-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #5b6fd8;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rb-blog-back:hover {
    color: #4f5fd4;
}
