#waterfall-grid {
    opacity: 0;
    /* Başlangıçta tamamen gizli */
    transition: opacity 0.5s ease-in-out;
    /* Yumuşak bir geçişle gelsin */
    position: relative;
    width: 100%;
}

/* Grid hazır olduğunda bu class'ı ekleyeceğiz */
#waterfall-grid.ready {
    opacity: 1;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Kartın boyu neyse oraya kadar uzamasını sağlar */
    height: 100%;
}

.card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    overflow: hidden; /* İçeriğin dışarı taşmasını engeller */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    box-sizing: border-box !important;
    /* Kartlar üst üste binmesin diye */
    z-index: 1; 
}

.hero-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    /* Masonry bunu kontrol edecek */
}



.hero-image {
    width: 100% !important;
    /* Hero kartın içeriği resim boyutuna göre şekillenir */
   /* height: auto !important; */
    max-height: 550px;
	padding:0 !important;
	margin:0 !important;
}

.hero-image img {
    width: 100% !important;
   /* height: auto !important;*/
    max-height: 550px;
    display: block;
    object-fit: contain;
}

.hero-details {
    padding: 20px !important;
    background: #fff;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
}

/* SOSYAL ETKİLEŞİM BAR (Görsel 2) */ 
.interaction-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.like-btn {
    background: #fff5f5;
    border: 1px solid #ff4d4d;
    padding: 5px 12px;
    border-radius: 20px;
    color: #ff4d4d;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-count {
    background: #ff4d4d;
    color: white;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 12px;
}

.seen-btn {
    background: #f0f0f0;
    border: 1px solid #666666;
    padding: 5px 12px;
    border-radius: 20px;
    color: #666666;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* İkonların kapsayıcısı */
.icons {
    gap: 15px;
    /* İkonlar arası boşluk */
    margin: 20px 0;
}

/* Genel ikon dairesi stili */
.icons a {
        display: inline-block !important;
            vertical-align: middle !important;
            line-height: normal !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Tam yuvarlak */
    text-decoration: none;
    color: #fff;
    /* İkon rengi beyaz */
    transition: all 0.3s ease;
    /* Geçiş efekti */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Üzerine gelince hafifçe büyütme */
.icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* Sosyal Medya Renkleri */
.fa-facebook-f {
    background-color: #3b5998;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fa-x-twitter {
    background-color: #000000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fa-viber {
    background-color: #7360f2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fa-whatsapp {
    background-color: #25d366;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fa-telegram-plane {
    background-color: #0088cc;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-btn {
    background: #707a8a;
    color: white;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.view-stat {
    border: 1px solid #64748b;
    padding: 5px 12px;
    border-radius: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-count {
    background: #475569;
    color: white;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 12px;
}

.save-btn {
    background: #1d4ed8;
    color: white;
    padding: 5px 24px;
    border-radius: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}


.hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
    gap: 30px;
}

.icon-box {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 18px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 25px;
    border: 1px solid #ddd;
}

.save-btn {
    background: #1877f2;
    border: none;
    color: white;
    padding: 7px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
}

.visit-btn {
    display: block;
    width: 90%;
    margin: 20px auto;
    text-align: center;
    padding: 12px;
    border: 1px solid #87a1c5;
    border-radius: 25px;
    text-decoration: none;
    color: #3b6bb2;
    font-weight: 600;
        align-self: flex-start; /* Buton satırı boydan boya kaplamasın */
    margin-bottom: 20px;   /* Footer ile arasında nefes payı bırakır */
	cursor:pointer;
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 10px;
    color: #888;
}

.avatar {
    width: 24px;
    height: 24px;
    background: #b5651d;
    color: white;
    border-radius: 6px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brdr-top {
    border-top: 1px solid #ececec;
    font-family: CenturyGothic;
    font-size: 0.8rem;
    color: #b1b1b1;
}

.brdr-top img {
    width: 25px;
}

.themed-grid-row {
    flex-grow: 1; /* Metin kısa kalsa bile footer'ı itmeye devam eder */
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-height: 200px;
    background-color : white;
    overflow-y: scroll;
}
.mt-2 {
    margin-top: .5rem !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.d-flex {
    display: flex !important;
}

/* EN ALTA SABİTLENEN FOOTER */
.hero-details .card-footer {
        padding: 15px 0;
            width: 100%;
    border-top: 1px solid #efefef;
    /* Görseldeki gibi ince bir ayırıcı çizgi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    font-size: 14px;
    color: #8e8e8e;
    /* Kapsayıcının en altına yapışmasını garanti eder */
    margin-top: auto;
}


.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.ptitle{
	text-align: center; 
	margin-bottom: 20px; 
	width: 100%;	
}
.ptxt{
	padding-right: 2px; 
	margin-right: 2px; 
	overflow-y: auto; 
	line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-card {
        height: auto !important;
        /* Sabit yüksekliği iptal et */
        min-height: unset !important;
        /* Varsa min-height'ı kaldır */
        position: relative !important;
        /* Masonry'nin absolute etkisini mobil için esnetebilirsin */
        margin-bottom: 16px;
        /* Kartlar arasına boşluk */
    }

    .themed-grid-row {
        overflow: hidden;
        max-height: 100%;
        min-height: 100px;
        height: 100%;
    }
	
	.ptxt{
	padding-right: 0; 
	margin-right: 0; 
	overflow-y: auto; 
	line-height: 1.5;
}
}


