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

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

/* ३ कोलमको लागि */
.category-column {
    flex: 1;
    min-width: 300px; /* मोबाइलमा १ कोलममा झर्नको लागि */
}

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

/* फोटो बायाँ र हेडलाइन दायाँ राख्ने मुख्य भाग */
.post-item {
    display: flex;
    flex-direction: row; /* फोटो र हेडलाइनलाई दायाँ-बायाँ राख्न */
    align-items: center; /* उचाइको बीचमा मिलाउन */
    margin-bottom: 15px;
    gap: 12px;
    width: 100%;
}

.post-item img {
    width: 110px;      /* फोटोको चौडाई */
    min-width: 110px;  /* फोटो खुम्चिन नदिन */
    height: 75px;      /* फोटोको उचाई */
    object-fit: cover;
    border: 2px solid #cc0000;
    border-radius: 4px;
}

/* हेडलाइन: २०px, बोल्ड, दायाँपटी, म्याक्स २ लाइन */
.post-item a {
    font-size: 20px;
    font-weight: bold;
    color: #cc0000;
    text-decoration: none;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left; /* अक्षरलाई बायाँबाट सुरु गर्न */
}

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

/* मोबाइल रेस्पोन्सिभ */
@media (max-width: 600px) {
    .category-column { min-width: 100%; }
    .post-item a { font-size: 18px; }
    .post-item img { width: 90px; min-width: 90px; height: 65px; }
}
