/* Ana Kapsayıcı */
.profile-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
        margin-top: 85px;
    /* Mobilde sağ ve solda 10px boşluk bırakır */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.profile-card {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 10px;
    /* İstediğin Arka Plan */
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(230, 241, 255, 1) 100%);

    /* GÖLGELİK (SHADOW) - Derinlik katan profesyonel gölge */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05) !important;

    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);

    /* Hover engelleme */
    cursor: default !important;
    transition: none !important;
}

/* Hover'da gölgenin değişmesini engelliyoruz */
.profile-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
    
}

.profile-user {
    display: flex;
    /* Esnek kutu yapısına geçer */
    align-items: center;
    /* Dikeyde tam merkezi hizalar */
    justify-content: center;
    /* Yatayda kartın ortasına alır */
    gap: 4px;
    /* Aralarındaki boşluğu sabitler */
    line-height: 1;
    /* Yazı etrafındaki hayali boşluğu sıfırlar */
    color: #666;
}

.profile-user i {
    font-size: 18px;
    /* İkon boyutu */
    display: flex;
    /* İkonun kendi içindeki kaymaları engeller */
    align-items: center;
}

.profile-logo{
    width: 113px;
        height: 113px;
        margin: auto;
        object-fit: cover;
        border: 2px solid #dfdede;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.profile-logo img{
    width: 110px;
    height: 110px;
}

.username {
    font-size: 14px;
    font-weight: 500;
    /* Margin veya padding varsa sıfırlıyoruz ki hizayı bozmasın */
    margin: 0;
    padding: 0;
}


/* card folders */
/* Grid */
:root {
    --bg: #fbfaf8;
    --card-bg: #ffffff;
    --muted: #6b7280;
    --accent: #111827;
    --shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    --radius: 12px;
    --gap: 18px;
}

* {
    box-sizing: border-box;
}

.wrap {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 20px 64px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--gap);
    align-items: start;
}

/* Card */
.cardd {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* image area + body */
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
}

.cardd:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* SPLIT IMAGE AREA */
/* Görsel alanı artık sabit yükseklikte */
.card-split {
    display: flex;
    gap: 2px;
    width: 100%;
    height: 120px;
    /* ★ Burayı yüksekliğin standart olması için sabitliyoruz */
    overflow: hidden;
}

/* Sol büyük görsel */
.split-left {
    flex: 1.3;
    /* Sol > Sağ */
    overflow: hidden;
    border-radius: 12px 0 0 0;
}

.split-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sağdaki iki küçük görsel */
.split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.right-top,
.right-bottom {
    flex: 1;
    overflow: hidden;
}

.right-top img,
.right-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* Card body */
.card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title2 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
    color: var(--accent);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.meta-dot {
    width: 6px;
    height: 6px;
    background: var(--muted);
    border-radius: 50%;
    display: inline-block;
    opacity: .5;
}

/* Rounded outer corners for image area */
.cardd :is(.card-split)>.split-left {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: 0;
}

.cardd :is(.card-split)>.split-right>.right-top {
    border-top-right-radius: var(--radius);
}

.cardd :is(.card-split)>.split-right>.right-bottom {
    border-bottom-right-radius: 0;
}

/* small badge overlay if needed */
.badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 8px;
    font-weight: 600;
    border-radius: 999px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

a.fold {
    color: red;
    text-decoration: none;
}

/* Mobil cihazlarda (Örn: 560px ve altı) iki sütunu zorunlu kılmak için */
@media (max-width: 768px) {

    /* Tablet ve mobil cihazlarda geçerli olacak yeni grid tanımı */
    .grid {
        /* İki eşit sütun oluşturur (Örn: 560px ve altındaki tüm cihazlarda) */
        grid-template-columns: repeat(2, 1fr);

    }
}
/*
@media (max-width: 400px) {
    .grid {
        grid-template-columns: 1fr; /* Eğer 320px gibi çok küçük ekranlar için tek sütun istenirse */
}
}*/