



/* ============================================ */
/* KİÇİK KARTLAR GRİD */
/* ============================================ */
.xeberler-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.xeber-kart {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.xeber-kart:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.xeber-kart img {
    width: 100%;
    height: 260px;
    /* object-fit: cover; */
}

.xeber-kart-content {
    padding: 20px;
    padding-bottom: 35px;
}

.xeber-date {
    display: inline-block;
    background: #8B0000;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.xeber-kart h3 {
    font-size: 16px;
    color: #333;
    margin: 10px 0 25px;
    line-height: 1.5;
    min-height: 60px;
}

.xeber-btn {
    background: transparent;
    border: 2px solid #8B0000;
    color: #8B0000;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.xeber-btn:hover {
    background: #8B0000;
    color: white;
}

/* ============================================ */
/* PAGİNASİYA */
/* ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    grid-column: 1 / -1;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #8B0000;
    color: #8B0000;
}

.page-btn.active {
    background: #8B0000;
    color: white;
    border-color: #8B0000;
}

/* ============================================ */
/* GERİ DÜYMƏ */
/* ============================================ */
.geri-button {
    background: #8B0000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.geri-button:hover {
    background: #a00;
    transform: translateX(-5px);
}

.geri-button span {
    font-size: 20px;
}

/* ============================================ */
/* BÖYÜK XƏBƏR KARTI */
/* ============================================ */
.xeber-ana-karti {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.xeber-ana-metn {
    padding: 30px;
}

.xeber-kategori {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.xeber-kategori.red {
    background: #8B0000;
    color: white;
}

.xeber-ana-baslik {
    font-size: 28px;
    color: #333;
    margin: 15px 0;
    line-height: 1.4;
}

.xeber-ana-aciklama {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
    line-height: 1.6;
}

.xeber-ana-metn-bloku {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 20px 0;
}

.xeber-tarix {
    display: inline-block;
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

/* ============================================ */
/* KİÇİK ŞƏKİLLƏR */
/* ============================================ */
.xeber-kicik-sekiller {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.xeber-kicik-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.xeber-kicik-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.xeber-kicik-item p {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* ============================================ */
/* VİDEO KARTI */
/* ============================================ */
.xeber-video-karti {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.xeber-video-karti img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.xeber-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(139, 0, 0, 0.8);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.xeber-video-karti:hover .xeber-play-icon {
    background: rgba(139, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================ */
/* RESPONSİVE */
/* ============================================ */
@media (max-width: 768px) {
    .xeber-ana-karti {
        grid-template-columns: 1fr;
    }
    
    .xeber-kicik-sekiller {
        grid-template-columns: 1fr;
    }
}
.hidden {
  display: none !important;
}


