/* Yararlı İçerikler — kategori kartları (eski site kart tasarımı) */

.kt-useful-content-page .fe-page-banner {
    margin-bottom: 0;
}

.kt-useful-content-page .fe-page-banner__inner .row {
    justify-content: center;
    text-align: center;
}

.kt-useful-content-page .fe-page-banner__inner .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}

.kt-useful-content-page .fe-page-banner__title {
    text-align: center;
}

.kt-useful-content-page .fe-page-banner__callout {
    display: none !important;
}

/* Boş / yalnızca boşluk içeren alt başlık gösterme */
.kt-useful-content-page .fe-page-banner__sub:empty {
    display: none !important;
}

.fe-useful-content-section {
    padding: 40px 0 56px;
    background: #fff;
}

.fe-useful-content-grid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.fe-useful-content-link {
    display: block;
    height: 100%;
    color: inherit;
}

.doc-image-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doc-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.doc-image-container {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 260px;
    overflow: hidden;
    background: #f1f5f9;
}

.doc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doc-image-card:hover .doc-image-container img {
    transform: scale(1.04);
}

.doc-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doc-image-card:hover .doc-image-overlay {
    opacity: 1;
}

.doc-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #6f42c1;
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.doc-image-card:hover .doc-view-btn {
    background: #5a32a3;
    transform: scale(1.05);
    color: #fff;
}

.doc-image-card .card-body {
    flex: 0 0 auto;
    padding: 0;
}

.doc-card-title {
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.9rem 1.15rem;
}

@media (min-width: 992px) {
    .doc-image-container {
        min-height: 320px;
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 767.98px) {
    .fe-useful-content-section {
        padding: 24px 0 40px;
    }

    .fe-useful-content-grid {
        --bs-gutter-x: 0.85rem;
        max-width: 100%;
    }

    .doc-image-container {
        min-height: 190px;
        aspect-ratio: 3 / 4;
    }

    .doc-card-title {
        font-size: 0.9rem;
        min-height: 2.6rem;
        padding: 0.7rem 0.45rem 0.85rem;
    }

    .doc-view-btn {
        padding: 9px 14px;
        font-size: 0.82rem;
    }
}
