.si-blog {
    --si-red: #e63946;
    --si-red-soft: rgba(230, 57, 70, .08);
    --si-ink: #12141a;
    --si-muted: #667085;
    --si-line: #eceef3;
    --si-bg: #f4f6fb;
    --si-card: #fff;
    --si-radius: 20px;
    --si-shadow: 0 10px 30px rgba(18, 20, 26, .06);
    background: var(--si-bg);
    padding: 28px 0 72px;
}
.si-blog a { text-decoration: none; }

.si-blog-hero {
    padding: 12px 0 8px;
}
.si-blog-hero__crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--si-muted);
    font-size: 13px;
    margin-bottom: 18px;
}
.si-blog-hero__crumb a { color: var(--si-muted); }
.si-blog-hero__crumb a:hover { color: var(--si-red); }
.si-blog-hero__crumb .sep { opacity: .45; }
.si-blog-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--si-ink);
    margin: 0 0 10px;
    line-height: 1.15;
}
.si-blog-hero p {
    max-width: 620px;
    color: var(--si-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

.si-blog-count {
    color: var(--si-muted);
    font-size: 13.5px;
    margin: 8px 0 20px;
}

.si-blog-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.si-blog-bento .si-blog-card {
    margin: 0;
    min-width: 0;
    height: 100%;
    grid-column: span 2;
}
/* 1: tam satır */
.si-blog-bento .si-blog-card:nth-child(8n+1) { grid-column: span 6; }
/* 2-4: üçlü */
.si-blog-bento .si-blog-card:nth-child(8n+2),
.si-blog-bento .si-blog-card:nth-child(8n+3),
.si-blog-bento .si-blog-card:nth-child(8n+4) { grid-column: span 2; }
/* 5-6: ikili */
.si-blog-bento .si-blog-card:nth-child(8n+5),
.si-blog-bento .si-blog-card:nth-child(8n+6) { grid-column: span 3; }
/* 7-8: geniş + dar */
.si-blog-bento .si-blog-card:nth-child(8n+7) { grid-column: span 4; }
.si-blog-bento .si-blog-card:nth-child(8n+8) { grid-column: span 2; }

.si-blog-bento .si-blog-card:nth-child(8n+1) {
    flex-direction: row;
}
.si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__media {
    width: 46%;
    min-height: 280px;
    aspect-ratio: auto;
    flex-shrink: 0;
}
.si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__body {
    width: 54%;
    justify-content: center;
    padding: 28px 28px 24px;
}
.si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__title {
    -webkit-line-clamp: 3;
    font-size: 1.55rem;
}
.si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__excerpt {
    -webkit-line-clamp: 4;
}

.si-blog-bento .si-blog-card:nth-child(8n+5) .si-blog-card__media,
.si-blog-bento .si-blog-card:nth-child(8n+6) .si-blog-card__media {
    aspect-ratio: 16 / 9;
}
.si-blog-bento .si-blog-card:nth-child(8n+7) .si-blog-card__media {
    aspect-ratio: 21 / 10;
}
.si-blog-bento .si-blog-card:nth-child(8n+8) .si-blog-card__media {
    aspect-ratio: 4 / 5;
}

.si-blog-list-side .si-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.si-blog-list-side .si-side-card { margin-bottom: 0; }

.si-blog .row > [class*="col-md-6"],
.si-blog .row > [class*="col-lg-4"]:not(:has(.si-side)) {
    display: flex;
}
.si-blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--si-card);
    border: 1px solid var(--si-line);
    border-radius: var(--si-radius);
    overflow: hidden;
    box-shadow: var(--si-shadow);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    margin-bottom: 24px;
    color: inherit;
}
.si-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(18, 20, 26, .1);
    border-color: rgba(230, 57, 70, .18);
}
.si-blog-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eceef3;
}
.si-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.si-blog-card:hover .si-blog-card__media img { transform: scale(1.06); }
.si-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
}
.si-blog-card__date {
    color: var(--si-muted);
    font-size: 12.5px;
    margin-bottom: 8px;
}
.si-blog-card__title {
    font-size: 1.12rem;
    font-weight: 750;
    color: var(--si-ink);
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.si-blog-card:hover .si-blog-card__title { color: var(--si-red); }
.si-blog-card__excerpt {
    color: var(--si-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.si-blog-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--si-line);
}
.si-blog-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.si-blog-card__author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.si-blog-card__author span {
    font-size: 13px;
    font-weight: 600;
    color: var(--si-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.si-blog-card__more {
    font-size: 13px;
    font-weight: 700;
    color: var(--si-red);
    white-space: nowrap;
}

.si-blog .pagination { justify-content: center; margin-top: 8px; }
.si-blog .page-link {
    border: 0;
    color: var(--si-ink);
    border-radius: 10px !important;
    margin: 0 3px;
}
.si-blog .page-item.active .page-link {
    background: var(--si-red);
    color: #fff;
}

.si-side {
    position: sticky;
    top: 90px;
}
.si-side-card {
    background: var(--si-card);
    border: 1px solid var(--si-line);
    border-radius: var(--si-radius);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: var(--si-shadow);
}
.si-side-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--si-ink);
    margin: 0 0 14px;
}
.si-side-search {
    display: flex;
    align-items: center;
    background: var(--si-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--si-line);
}
.si-side-search input {
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    padding: 12px 14px;
}
.si-side-search button {
    border: 0;
    background: transparent;
    color: var(--si-red);
    padding: 0 14px;
}
.si-side-cats { list-style: none; padding: 0; margin: 0; }
.si-side-cats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid var(--si-line);
}
.si-side-cats li:last-child { border-bottom: 0; }
.si-side-cats a { color: var(--si-ink); font-size: 14px; font-weight: 600; }
.si-side-cats a:hover { color: var(--si-red); }
.si-side-cats .badge {
    background: var(--si-red-soft) !important;
    color: var(--si-red) !important;
    font-weight: 700;
}
.si-side-all {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--si-red);
}
.si-side-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--si-line);
}
.si-side-post:last-child { border-bottom: 0; padding-bottom: 0; }
.si-side-post img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.si-side-post h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--si-ink);
    line-height: 1.4;
    margin: 0 0 4px;
}
.si-side-post:hover h5 { color: var(--si-red); }
.si-side-post p {
    margin: 0;
    color: var(--si-muted);
    font-size: 12px;
}

.si-article {
    background: var(--si-card);
    border: 1px solid var(--si-line);
    border-radius: 24px;
    padding: 28px 32px 36px;
    box-shadow: var(--si-shadow);
    margin-bottom: 22px;
}
.si-article__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--si-muted);
    font-size: 13px;
    margin-bottom: 16px;
}
.si-article__crumb a { color: var(--si-muted); }
.si-article__crumb a:hover { color: var(--si-red); }
.si-article h1 {
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--si-ink);
    line-height: 1.25;
    margin: 0 0 16px;
}
.si-article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--si-line);
}
.si-article__meta img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.si-article__meta strong {
    display: block;
    color: var(--si-ink);
    font-size: 14px;
}
.si-article__meta span {
    color: var(--si-muted);
    font-size: 13px;
}
.si-article__cover {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 26px;
}
.si-article__cover img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 460px;
    object-fit: cover;
}
.si-article__content {
    color: #2b3040;
    font-size: 1.05rem;
    line-height: 1.85;
}
.si-article__content p { margin-bottom: 1.1em; }
.si-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}
.si-article__content h2,
.si-article__content h3 {
    color: var(--si-ink);
    font-weight: 800;
    margin: 1.4em 0 .5em;
}
.si-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--si-line);
}
.si-article__tags a {
    background: var(--si-bg);
    color: var(--si-ink);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}
.si-article__tags a:hover { background: var(--si-red-soft); color: var(--si-red); }

.si-comments {
    background: var(--si-card);
    border: 1px solid var(--si-line);
    border-radius: 24px;
    padding: 24px 28px 28px;
    box-shadow: var(--si-shadow);
    margin-bottom: 22px;
}
.si-comments h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--si-ink);
    margin: 0 0 18px;
}
.si-comment {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--si-line);
}
.si-comment:last-child { border-bottom: 0; }
.si-comment img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.si-comment h6 { margin: 0; font-weight: 700; color: var(--si-ink); }
.si-comment .when { color: var(--si-muted); font-size: 12px; margin: 2px 0 8px; }
.si-comment .std { margin: 0; color: #3a4050; line-height: 1.6; }
.si-comment .reply-link { font-size: 13px; font-weight: 700; color: var(--si-red); }
.si-comment-reply { margin-left: 54px; }
.si-comments textarea.form-control {
    min-height: 110px;
    border-radius: 14px;
    border: 1px solid var(--si-line);
    background: var(--si-bg);
}
.si-comments .message-btn,
.si-comments button[type="submit"] {
    background: var(--si-red);
    border: 0;
    color: #fff;
    border-radius: 12px;
    padding: 10px 22px;
    font-weight: 700;
}

.si-related h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 8px 0 16px;
    color: var(--si-ink);
}
.si-related a {
    display: block;
    background: var(--si-card);
    border: 1px solid var(--si-line);
    border-radius: 16px;
    padding: 16px;
    height: 100%;
    box-shadow: var(--si-shadow);
    transition: transform .2s ease;
}
.si-related a:hover { transform: translateY(-3px); }
.si-related h5 { font-size: 15px; font-weight: 700; color: var(--si-ink); margin-bottom: 6px; }
.si-related p { margin: 0; color: var(--si-muted); font-size: 13px; }

.si-blog-empty {
    background: var(--si-card);
    border-radius: var(--si-radius);
    padding: 40px 24px;
    text-align: center;
    color: var(--si-muted);
    border: 1px dashed var(--si-line);
}

.si-blog-section-title {
    text-align: center;
    margin: 10px 0 28px;
}
.si-blog-section-title h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--si-ink);
    margin: 0 0 8px;
}
.si-blog-section-title p { color: var(--si-muted); margin: 0; }

@media (max-width: 991px) {
    .si-side { position: static; }
    .si-article { padding: 20px 18px 26px; }
    .si-comment-reply { margin-left: 0; }
    .si-blog-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .si-blog-bento .si-blog-card { grid-column: span 1 !important; flex-direction: column !important; }
    .si-blog-bento .si-blog-card:nth-child(8n+1) { grid-column: span 2 !important; }
    .si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__media,
    .si-blog-bento .si-blog-card:nth-child(8n+1) .si-blog-card__body { width: 100%; min-height: 0; }
    .si-blog-list-side .si-side { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .si-blog-bento { grid-template-columns: 1fr; }
    .si-blog-bento .si-blog-card,
    .si-blog-bento .si-blog-card:nth-child(8n+1) { grid-column: span 1 !important; }
}
