/* Ana Kapsayıcı Stilleri */
#category-header .entry-content-inner {
    position: relative;
    transition: all 0.5s ease-in-out;
}

/* Daraltılmış Durum (Kısaltılmış) */
.kak-cat-desc-collapsed {
    max-height: 280px;
    /* 240px'den artırıldı */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 60%, transparent);
    /* Alt kısımda silikleşme efekti */
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}

/* Genişletilmiş Durum (Tamamı) */
.kak-cat-desc-expanded {
    max-height: none;
    /* JS animasyon için belirli yükseklik atayacaktır */
    mask-image: none;
    -webkit-mask-image: none;
}

/* Buton Konteyneri */
.kak-toggle-btn-container {
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
    /* Metin akışına uygun olarak sola hizalı */
}

/* Buton Tasarımı */
.kak-read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #26C6DA;
    /* Turkuaz */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    margin-left: 15px;
    /* Kenar boşluğu */
    border-radius: 50px;
    /* Oval */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(38, 198, 218, 0.2);
    text-decoration: none;
    line-height: 1;
}

.kak-read-more-btn:hover {
    background-color: #00BCD4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(38, 198, 218, 0.3);
    color: #fff;
}

.kak-read-more-btn:active {
    transform: translateY(0);
}

/* İkon Stilleri */
.kak-btn-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-bottom: 3px;
    /* Görsel hizalama */
}

/* Kapsayıcı Üzerine Gelince İkon Animasyonu */
.kak-read-more-btn:hover .kak-btn-icon {
    animation: bounceIcon 0.6s infinitealternate;
}

/* "Daha Az Oku" (Yukarı Ok) İçin Döndür */
.kak-read-more-btn.expanded .kak-btn-icon {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

@keyframes bounceIcon {
    0% {
        transform: rotate(45deg) translate(0, 0);
    }

    100% {
        transform: rotate(45deg) translate(2px, 2px);
    }
}

/* Mobil Uyumluluk Ayarları */
@media (max-width: 768px) {
    .kak-read-more-btn {
        width: 100%;
        /* Mobilde tam genişlik */
        padding: 12px 24px;
    }
}