/* Öne çıkan kartlar: stok görsel img ile mevcut popüler düzen */
.populer-bg img,
.small-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.populer-main-card:hover .populer-bg img,
.populer-small-card:hover .small-card-bg img {
    transform: scale(1.05);
}

.small-category:not([class*="akademik"]):not([class*="bilim"]):not([class*="kampus"]) {
    background: rgba(255, 107, 0, 0.72);
    color: #fff;
    font-size: 10px;
}

/* Canlı EKOSEM ana sayfa blokları */
.eko-home-section {
    padding: 64px 20px;
}

.eko-home-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.eko-home-kicker {
    margin: 0 0 8px;
    color: #ff6b00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eko-home-title {
    margin: 0 0 12px;
    color: #26241f;
    font-size: 32px;
    line-height: 1.25;
}

.eko-home-lead {
    margin: 0 0 32px;
    color: #5c5852;
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
}

.eko-home-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #ff6b00;
    font-weight: 700;
    text-decoration: none;
}

.eko-home-more:hover {
    color: #e05f00;
}

.eko-kat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.eko-kat-kart {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 24px;
    background: #fff;
    border: 1px solid #ece8e3;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(38, 36, 31, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eko-kat-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(38, 36, 31, 0.1);
}

.eko-kat-ikon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff1e6;
    color: #ff6b00;
    font-size: 20px;
}

.eko-kat-kart h3 {
    margin: 0 0 8px;
    color: #26241f;
    font-size: 18px;
}

.eko-kat-kart p {
    margin: 0;
    color: #7a756e;
    font-size: 13px;
}

.eko-egitim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.eko-egitim-kart {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #ece8e3;
    box-shadow: 0 10px 28px rgba(38, 36, 31, 0.05);
}

.eko-egitim-kart:hover .eko-egitim-gorsel img {
    transform: scale(1.04);
}

.eko-egitim-gorsel {
    aspect-ratio: 16 / 10;
    background: #26241f;
    overflow: hidden;
}

.eko-egitim-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.eko-egitim-govde {
    padding: 16px 18px 20px;
}

.eko-egitim-kat {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff6b00;
    font-size: 12px;
    font-weight: 700;
}

.eko-egitim-govde h3 {
    margin: 0;
    color: #26241f;
    font-size: 16px;
    line-height: 1.4;
}

.eko-nedir-widget {
    background: #eef4fb;
    padding: 72px 20px;
}

.eko-nedir-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.eko-nedir-kart {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) 1.12fr;
    gap: 28px;
    align-items: stretch;
}

.eko-nedir-gorsel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(38, 36, 31, 0.12);
}

.eko-nedir-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.eko-nedir-kart:hover .eko-nedir-gorsel img {
    transform: scale(1.04);
}

.eko-nedir-gorsel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(38, 36, 31, 0.05) 35%, rgba(38, 36, 31, 0.55) 100%);
}

.eko-nedir-yil {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.eko-nedir-yil-sayi {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.eko-nedir-yil-yazi {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.eko-nedir-yazi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 36px;
    background: #fff;
    border-radius: 24px;
    color: #26241f;
    box-shadow: 0 18px 40px rgba(38, 36, 31, 0.07);
}

.eko-nedir-kicker {
    margin: 0 0 10px;
    color: #0f73a7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eko-nedir-baslik {
    margin: 0 0 14px;
    color: #1d458b;
    font-size: 30px;
    line-height: 1.2;
}

.eko-nedir-metin {
    margin: 0 0 24px;
    color: #5c5852;
    font-size: 16px;
    line-height: 1.7;
}

.eko-nedir-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.eko-nedir-pillar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 16px;
    background: #eef4fb;
    border-radius: 14px;
}

.eko-nedir-pillar-ikon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #dce8f6;
    color: #1d458b;
    font-size: 16px;
}

.eko-nedir-pillar-govde {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.eko-nedir-pillar-govde strong {
    color: #1d458b;
    font-size: 13px;
    font-weight: 700;
}

.eko-nedir-pillar-govde span {
    color: #7a756e;
    font-size: 12px;
    line-height: 1.45;
}

.eko-nedir-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 12px 22px;
    background: #1d458b;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.eko-nedir-cta:hover {
    background: #2c5aa0;
    color: #fff;
}

.eko-kat-kesfet {
    background: #fff;
}

.eko-one-cikan {
    background: #f7f5f2;
}

@media (max-width: 991px) {
    .eko-kat-grid,
    .eko-egitim-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eko-home-title {
        font-size: 26px;
    }

    .eko-nedir-kart {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eko-nedir-gorsel {
        min-height: 240px;
        max-height: 280px;
    }

    .eko-nedir-yil-sayi {
        font-size: 32px;
    }

    .eko-nedir-yazi {
        padding: 28px 22px 32px;
    }

    .eko-nedir-baslik {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .eko-home-section,
    .eko-nedir-widget {
        padding: 44px 16px;
    }

    .eko-kat-grid,
    .eko-egitim-grid {
        grid-template-columns: 1fr;
    }

    .eko-nedir-pillars {
        grid-template-columns: 1fr;
    }

    .eko-nedir-metin {
        font-size: 15px;
    }
}
