/* Mukta Font Import */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@700&display=swap');

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-family: 'Mukta', sans-serif;
    margin: 20px 0;
}

.category-column {
    flex: 1;
    min-width: 300px;
}

/* क्याटगरी हेडलाइन (News/Article) */
.cat-header {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}
.cat-header::before, .cat-header::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #333;
}
.cat-header span {
    padding: 5px 20px;
    background: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    margin: 0 10px;
}

/* पोष्ट आइटमलाई सेन्टर बनाउने */
.post-item {
    display: flex;
    flex-direction: column; /* तस्विर माथि र हेडलाइन मुनि राख्न */
    align-items: center;    /* सबै कुरा बीचमा राख्न */
    text-align: center;     /* टेक्स्टलाई सेन्टर गर्न */
    margin-bottom: 25px;
    gap: 10px;
}

.post-item img {
    width: 100%;            /* कोलमको पुरै चौडाई ओगट्ने */
    max-width: 350px;       /* तस्विर धेरै ठुलो हुन नदिन */
    height: 200px;          /* तस्विरको उचाई */
    object-fit: cover;
    border: 2px solid #cc0000;
    border-radius: 8px;
}

/* पोष्टको हेडलाइन (Post Title) - सेन्टरमा */
.post-item a {
    font-size: 20px;
    font-weight: bold;
    color: #cc0000;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* २ लाइनमा सिमित */
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 10px;
}

.post-item a:hover {
    color: #000;
    text-decoration: underline;
}

/* मोबाइलको लागि मिलाइएको */
@media (max-width: 600px) {
    .category-column { 
        min-width: 100%; 
    }
    .post-item img {
        height: 180px;
    }
    .post-item a { 
        font-size: 19px; 
    }
}
