/* ============================
   PROVINCE NEWS SECTION
   ============================ */
.province-news {
    width: 100%;
   padding: 0.8rem 1rem;
}

/* ============================
   SECTION TITLE + NAV WRAPPER
   ============================ */
.province-header {
      border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;gap: 0px;
}

@media (max-width: 800px) {
.province-header {
    max-width: 600px;
        display: flex;
        flex-wrap: nowrap;   /* 👈 items stay in one line */
        overflow-x: auto;    /* 👈 horizontal scroll */
        overflow-y: hidden;  /* 👈 remove vertical scroll */
        white-space: nowrap;
        gap: 15px;
        scroll-behavior: smooth;
    }

    .province-nav ul li {
        flex: 0 0 auto;      /* 👈 prevent items from shrinking */
    }
}
.province-title {
    color: #1e73be;
    font-size: 25px;
    font-weight: 600;
    margin: 0;
}

/* ============================
   NAVIGATION (प्रदेश nav)
   ============================ */
.province-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 30px;
}

.province-nav ul li a {
    padding: 6px 16px;
    border: 1px solid #1e73be;
    border-radius: 4px;
    font-size: 14px;
    color: #1e73be;
    text-decoration: none;
    transition: 0.3s;
}

.province-nav ul li a:hover {
    background: #1e73be;
    color: #fff;
}
@media (max-width: 800px) {
    .province-nav ul {
        display: flex;
        flex-wrap: nowrap;   /* 👈 items stay in one line */
        overflow-x: auto;    /* 👈 horizontal scroll */
        overflow-y: hidden;  /* 👈 remove vertical scroll */
        white-space: nowrap;
        gap: 15px;
        scroll-behavior: smooth;
    }

    .province-nav ul li {
        flex: 0 0 auto;      /* 👈 prevent items from shrinking */
    }
}
/* ============================
   LAYOUT (LEFT BIG + RIGHT LIST)
   ============================ */
.province-layout {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 22px;
    width: 100%;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
.province-layout {
 
    grid-template-columns: 1fr;

}
}
/* ============================
   LEFT MAIN BIG NEWS
   ============================ */
.province-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.province-main a {
    display: block;
    position: relative;
}

.province-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}


/* MAIN TITLE OVERLAY */
.province-main h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    margin: 0;
    padding: 14px 16px;
    font-size: clamp(18px, 1.8vw, 22px);
    border-radius: 0 0 4px 4px;
}

/* ============================
   RIGHT SIDE LIST - PROVINCE SIDE
   ============================ */
.province-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

/* Individual News Item */
.province-item {
          border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column; /* stack image + text */
    background: #f9f9f9; 
  border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 
    100%;
    height: 250px; /* fixed height for uniform look */
}

.province-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

/* Thumbnail Image */
.province-item img {
    width: 100%;
    height: 80%; /* occupy top portion */
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* News Text */
.province-item p {
    font-size: 20px;
    padding: 10px;
    line-height: 1.4;
    margin: 8px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
        color: #333;
}




.province-item:hover p {
    color: #1e73be;
}

/* ============================
   GRID NEWS SECTION
=============================== */
.province-grid-news {
    margin-top: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Individual Grid Item */
.grid-item {
    background: #fff;
  border-radius:4px;
      border-bottom: 1px solid #ddd;
    overflow: hidden;
    width: 100%;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.grid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;

}

.grid-item h4 {
 font-size: 20px;
    padding: 10px 12px;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    text-align: left;
    width: 100%;

}



.grid-item:hover h4 {
    color: #1e73be;
}


