.card-img-top {
    width: 100%;
    height: 25vh;
    object-fit: cover;
    object-position: center;
}

.blog-img-first {
    height: 40vh !important;
}

.cont-center {
    display: flex;
    justify-content: center; 
    align-items: center;
}


ul.page-button-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Temel buton stili */
.page-btn-category {
    min-width: 100px;
    height: 30px; 
    color: #fff;
    padding: 3px 8px;
    font-size: 14px; 
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    outline: none;
    border-radius: 3px;
    border: none;
    background-size: 120% auto;
    text-align: center;
    margin-bottom: 5px;
    opacity: 0.7;
}

.page-btn-category:hover {
    background-position: right center;
    opacity: 1;
}

.page-btn-category:active {
    top: 2px;
}

/* Renkli butonlar */
.btn-category-1 {
    background-image: linear-gradient(315deg, #ff7f50 0%, #ff6347 75%);
}

.btn-category-2 {
    background-image: linear-gradient(315deg, #ffa500 0%, #ff8c00 75%);
}

.btn-category-3 {
    background-image: linear-gradient(315deg, #40e0d0 0%, #48d1cc 75%);
}

.btn-category-4 {
    background-image: linear-gradient(315deg, #3cb371 0%, #2e8b57 75%);
}

.btn-category-5 {
    background-image: linear-gradient(315deg, #1e90ff 0%, #4682b4 75%);
}

.btn-category-6 {
    background-image: linear-gradient(315deg, #9370db 0%, #8a2be2 75%);
}

.btn-category-7 {
    background-image: linear-gradient(315deg, #ff69b4 0%, #ff1493 75%);
}


/* Ana arama grubu */
.custom-search-group {
    display: flex;
    align-items: center;
    border: 1px solid #8a2be2;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    max-width: 600px; /* Maksimum genişlik */
    margin: 0 auto; /* Ortala */
    box-sizing: border-box;
}

.custom-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid transparent;
    outline: none;
    font-size: 14px;
    color: #4c288f;
    background-color: #f3f0ff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    min-width: 0; /* Esnemesi için minimum genişlik */
}

.custom-search-input:focus {
    box-shadow: inset 0 0 5px rgba(138, 43, 226, 0.6);
    border-color: #8a2be2;
}

.custom-search-input::placeholder {
    color: #8a2be2;
    opacity: 0.7;
}

.custom-search-button {
    padding: 8.5px 16px;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    background-size: 120% auto;
    background-image: linear-gradient(315deg, #9370db 0%, #8a2be2 75%);
    transition: background-position 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    flex-shrink: 0; /* Butonun daralmasını engelle */
    min-width: 80px; /* Minimum genişlik */
    box-sizing: border-box;
    white-space: nowrap; /* Metin kaymasını engelle */
}

.custom-search-button:hover {
    background-position: right center;
    opacity: 1;
}

.custom-search-button:active {
    top: 2px;
}

@media (max-width: 480px) {
    .custom-search-group {
        max-width: 100%;
    }
    .custom-search-input {
        font-size: 13px;
        padding: 6px 8px;
    }
    .custom-search-button {
        padding: 6.5px 10px;
        min-width: 70px;
    }
}
