﻿
/* ############## */

.postGrid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* DataList kırılımı */
.postGrid > tbody,
.postGrid > tbody > tr{
    display: contents;
}

/* 🔴 KRİTİK */
.postGrid > tbody > tr > td{
    display: flex;
}


/* ############## */

.postCard{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;

    border: 1px solid #e6e6e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.postCard:hover{
    transform: translateY(-3px);
    box-shadow:
        0 4px 10px rgba(0,0,0,.08);
}

.postCard:hover .postThumbLink::after{
    background: rgba(0,0,0,.18);   /* 👈 hafif kararma */
}

/* ############## */

/* Kart üstündeki imaj alanı */
.postThumbLink{
    position: relative;
    display: block;
    width: 100%;
    max-height: 280px;   
    overflow: hidden;    
}

.postThumbLink::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);   /* normalde şeffaf */
    transition: background .25s ease;
    pointer-events: none;
}

/* GÖRSEL */
.postThumbImg{
    width: 100%;
    height: auto;
    display: block;
}

/* ############## */

.postBody{
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.postTitle{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.postSummary{
    font-size: 15px;
    line-height: 1.55;

    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.postFooter{
    margin-top: auto;
    text-align: right;
}


/* Kart icindeki minfo daha kompakt olsun */
.postCard .minfo span {
    font-size: 13px;
    padding: 2px;
    margin-right: 4px;
    font-weight: 600;
}

.postCard .minfo span i {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    margin: 0 3px 0 0;
    padding: 0;
}

.postCard .postMeta {
    margin-left: -3px;   /* 🔴 başlık hizası */
    margin-right: -3px;
    margin-top: -4px;
}

/* ############## */

@media (max-width: 1200px){
    .postGrid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .postGrid{
        grid-template-columns: 1fr;
    }
}


/* ############## */

.videoEmbedWrap{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    background: #000;
    overflow: hidden; 
}

/* iframe */
.videoEmbedWrap iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================================
   VIDEO OVERLAY
================================ */

.videoPlayOverlay{
    position: absolute;
    inset: 0;
    background: transparent;     
    pointer-events: none;
    transition: background .25s ease;
}

/* SADECE HOVER’DA */
.videoEmbedWrap:hover .videoPlayOverlay{
    background:
        radial-gradient(circle at center,
            rgba(0,0,0,.25) 0%,
            rgba(0,0,0,.45) 60%);
}

/* ================================
   VIDEO KARTLARINDA KESMEYİ KAPAT
================================ */

.postCard.videoCard .postThumbLink{
    max-height: none !important;
    overflow: visible !important;
}

/* Video overlay link */
.videoThumb{
    position: relative;
}

.videoLinkOverlay{
    position: absolute;
    inset: 0;
    z-index: 5;
}


/* ############## */

#SearchMessageBox .clearSearch {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 56px;                 /* transparan alan genişliği */
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 44px;             /* ÇARPI BÜYÜTTÜK */
    font-weight: bold;

    cursor: pointer;
    user-select: none;

    background: rgba(0, 0, 0, 0.04);  /* transparan alan */
    border-left: 1px solid rgba(0,0,0,0.08);

    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover efekti */
#SearchMessageBox .clearSearch:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Tipe göre renk */
#SearchMessageBox.InfoBox .clearSearch {
    color: #1695d5;
}

#SearchMessageBox.WarningCaptcha .clearSearch {
    color: #ff0033;
}

#SearchMessageBox.NoteBox .clearSearch {
    color: #f0ad4e;
}

#SearchBarDivider {
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 3px 0 5px 0;
}

#EmptyCategoryMessage {
    margin: 12px 0 10px;
    padding: 14px 18px;
    background: #fef9f3;
    border-left: 6px solid #f0ad4e;
    border-radius: 6px;
    font-size: 17px;
    line-height: 1.6;
    color: #000;
}

/* ikon */
#EmptyCategoryMessage i.fa {
    font-size: 28px;
    color: #f0ad4e;
    vertical-align: middle;
}








