/*
Theme Name: edrio
Theme URI: http://themexriver.com/wp/edrio
Author: themexriver
Author URI: http://themexriver.com/
Description: Edrio - Education online course WordPress Theme
Version: 1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: edrio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


.tutor-card-footer {
		display:none !important;
	
}

.header-social{
	display:none !important;
}

.ed-btn-1 a, .ed-crd-sidebar .tutor-btn {
 display: none !important;
}

.d-flex {
    display: flex!important
}

.tutor-card-body {
	
	display:none !important;
}

/* Ana Kart Kapsayıcısı */
.ed-course5-item {
    border-radius: 12px; /* Daha yuvarlak köşeler */
    margin-bottom: 25px;
    background-color: var(--background-white);
    box-shadow: var(--shadow-base);
    transition: all 0.4s ease-in-out; /* Yumuşak geçiş */
    overflow: hidden; /* İçerik taşmasını engeller */
    height: 100%; /* Grid yapısında önemli */
    display: flex;
    flex-direction: column;
}

.ed-course5-item:hover {
    transform: translateY(-5px); /* Hafif yukarı kayma efekti */
    box-shadow: var(--shadow-hover);
}

/* Resim ve Kategori Alanı */
.ed-course5-item .item-img-cate {
    position: relative;
    overflow: hidden;
    /* Resim alanına modern bir oran verin (Örn: 16:9) */
    padding-top: 56.25%; 
}

.ed-course5-item .item-img-cate .inner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ed-course5-item .item-img-cate .inner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); /* Daha yumuşak yakınlaştırma */
}

.ed-course5-item:hover .item-img-cate .inner-img img {
    transform: scale(1.05); /* Hoverda resmi hafif büyütme */
}

/* Resim Üstü Kaplama (Overlay) - Modernleştirildi */
.ed-course5-item .item-img-cate .inner-img:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Daha şeffaf bir kaplama */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ed-course5-item:hover .item-img-cate .inner-img:before {
    opacity: 1; /* Hoverda hafif bir karartma efekti */
}

/* Kategori Etiketi */
.ed-course5-item .item-img-cate .inner-cate {
    top: 20px;
    left: 20px;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px; /* Daha yuvarlak */
    position: absolute;
    background-color: #c3f498; /* Yeşil tonu korundu */
    color: #0d47a1; /* Koyu, belirgin yazı rengi */
    text-transform: uppercase;
}

/* Metin Alanı */
.ed-course5-item .item-text {
    padding: 25px; /* Daha sade ve simetrik dolgu */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Başlık Stili */
.ed-course5-item .item-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    padding-bottom: 15px; /* Daha az boşluk */
    color: var(--text-color);
    border-bottom: 1px solid #eeeeee; /* Daha açık bir ayırıcı çizgi */
    margin-bottom: 15px;
    line-height: 1.3;
}

.ed-course5-item .item-text h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.ed-course5-item .item-text h3 a:hover {
    color: var(--primary-color);
}

/* Meta Bilgileri (Ders Sayısı, Öğrenci) */
.ed-course5-item .item-text .item-meta {
    margin-top: auto; /* İçeriği en alta yaslar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    padding-bottom: 15px;
}

.ed-course5-item .item-text .item-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Alt Kısım (Yazar ve Fiyat) */
.ed-course5-item .item-text .item-bottom {
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Yazar Alanı */
.ed-course5-item .item-text .item-bottom .item-author {
    font-size: 0.95rem;
    color: var(--text-color);
    align-items: center;
}

.ed-course5-item .item-text .item-bottom .author-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    border: 2px solid #f0f0f0;
}

.ed-course5-item .item-text .item-bottom .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fiyat Alanı */
.ed-course5-item .item-text .item-bottom .item-price {
    /* Genel fiyat kapsayıcısı */
}

.ed-course5-item .item-text .item-bottom .item-price .list-item-price {
    text-align: right;
}

.ed-course5-item .item-text .item-bottom .list-item-price span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745; /* İndirimli fiyatı vurgular */
    display: block;
    line-height: 1;
}

.ed-course5-item .item-text .item-bottom .list-item-price del {
    font-size: 0.9rem;
    color: #999;
    margin-top: 3px;
    text-decoration: line-through;
    display: block;
}


/* Buton Alanı */
.ed-course5-item .item-text .crs-btn {
    margin-top: 20px;
    padding-top: 15px;

}

.ed-course5-item .item-text .crs-btn a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.ed-course5-item .item-text .crs-btn a:hover {
    transform: translateY(-2px);
}