/* Blog liste: yan boşlukları azalt, içeriği genişlet (varsayılan .container üst sınırı dar) */
.page__content.blog-page > .container {
    --bs-gutter-x: 1.25rem;
    max-width: 100%;
}

@media (min-width: 992px) {
    .page__content.blog-page > .container {
        max-width: min(100% - 2rem, 1320px);
    }
}

@media (min-width: 1200px) {
    .page__content.blog-page > .container {
        max-width: min(100% - 2.5rem, 1420px);
    }
}

@media (min-width: 1400px) {
    .page__content.blog-page > .container {
        max-width: min(100% - 3rem, 1540px);
    }
}

.blog-page__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

/* Ana kolon: kalan genişliği doldurur; yan menü ile yatayda yan yana */
.blog-page__main {
    flex: 1 1 auto;
    min-width: 0;
}

/* Yan sütun: referans gibi dar tek kolon; kutular alt alta (yatayda sadece ana içerik + bu sütun yan yana) */
.blog-page__sidebar {
    flex: 0 0 100%;
    max-width: 100%;
}

.blog-page__widget {
    border: 1px solid #e0ddd8;
    background: #faf9f7;
    padding: 16px 14px;
    margin-bottom: 20px;
}

.blog-page__sidebar > .blog-page__widget:last-child {
    margin-bottom: 30px;
}

.blog-page__widget--plain {
    background: #fff;
}

.blog-page__widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #17995a;
    color: #1a1a1a;
}

.blog-page__cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-page__cat-list li {
    border-bottom: 1px solid #e8e5e1;
}

.blog-page__cat-list li:last-child {
    border-bottom: 0;
}

.blog-page__cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
}

.blog-page__cat-list a:hover {
    color: #17995a;
}

.blog-page__cat-list a.is-active {
    color: #17995a;
}

.blog-page__cat-chev {
    color: #17995a;
    font-weight: 700;
}

/* Yan sütun: önerilen yazılar */
.blog-page__side-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-page__side-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.blog-page__side-card-thumb {
    flex: 0 0 96px;
    max-width: 96px;
    border-radius: 2px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid #e8e5e1;
}

.blog-page__side-card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.blog-page__side-card-body {
    min-width: 0;
    flex: 1 1 auto;
}

.blog-page__side-card-title {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #111;
    text-decoration: none;
    margin-bottom: 6px;
}

.blog-page__side-card-title:hover {
    color: #17995a;
}

.blog-page__side-card-sum {
    margin: 0 0 10px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6b6b6b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page__side-card-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #17995a;
    color: #fff !important;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.blog-page__side-card-btn:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

/* Yan sütun: sosyal — footer .site__footer-bottom .social_media-list ile aynı düzen ve ikon boyutları */
.blog-page__footer-social-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-page__footer-social-list > li {
    margin-right: 30px;
}

.blog-page__footer-social-list > li:last-child {
    margin-right: 0;
}

.blog-page__footer-social-list img {
    display: block;
    height: auto;
}

@media screen and (max-width: 767px) {
    .blog-page__footer-social-list {
        justify-content: space-around;
    }
}

.blog-page__mobile-categories {
    margin-bottom: 20px;
}

.blog-page__mob-toggle {
    width: 100%;
    text-align: left;
    background: #17995a;
    color: #fff;
    border: 0;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-page__mob-panel {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e0ddd8;
    border-top: 0;
    background: #fff;
}

.blog-page__mob-panel a {
    display: block;
    padding: 12px 14px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.blog-page__mob-panel a.is-active {
    background: #f3faf6;
    color: #17995a;
    font-weight: 700;
}

.yes-pager {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.yes-pager ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    margin: 0;
    background: #eae7e3;
    border-radius: 28px;
}

.yes-pager li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yes-pager li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #1f1f1f;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.yes-pager li.active a {
    background: #17995a;
    color: #fff;
}

.yes-pager li.edge a {
    background: #fff;
}

.yes-pager li.disabled a {
    pointer-events: none;
    opacity: .45;
}

.yes-pager li.ellipsis {
    padding: 0 8px;
    color: #777;
    user-select: none;
}

@media (min-width: 992px) {
    .blog-page__mobile-categories {
        display: none !important;
    }

    .blog-page__layout {
        flex-wrap: nowrap;
    }

    .blog-page__sidebar {
        flex: 0 0 clamp(268px, 27%, 320px);
        max-width: 320px;
        width: clamp(268px, 27%, 320px);
        padding-top: 80px;
    }
}

@media (max-width: 991.98px) {
    .blog-page__sidebar {
        display: none !important;
    }

    /* Mobil / tablet: yan menü yokken ana kolon tam genişlik (flex + dar col-md-4 birleşimi sağda boşluk bırakıyordu) */
    .blog-page__layout {
        flex-direction: column;
    }

    .blog-page__main {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .page__content.blog-page > .container {
        width: 100%;
        max-width: 100%;
    }

    /* Breadcrumb / ayırıcı çizgisinden sonra nefes: yeşil kategori şeridi yapışmasın */
    .blog-page__mobile-categories {
        margin-top: 24px;
    }
}
