 .maincetdiv {
    width: 70%;
    margin: auto;    
    background: #ffffff;
    border-radius: 10px;
    font-family: 'Segoe UI', sans-serif;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

 .container {
      display: grid;
      grid-template-columns: 3fr 1fr;
      gap: 20px;
      padding: 20px;
    }

.main-news {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding:10px;
    font-family: 'Segoe UI', sans-serif;
}

.card {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: white;
    box-sizing: border-box;
}

.card .content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card .read-more {
    margin-top: 8px;
    display: inline-block;
    padding: 6px 12px;
    background: #ff5e57;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease;
	float:right;
}

.card .read-more:hover {
    background: #e54845;
}

.main-news .card:nth-child(1){
    width: 65%;
    height: 200px;
}

.sidebar {
      background: white;
      border-radius: 10px;
      padding:5px;
      margin-bottom:5px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.widget {
    margin-bottom:10px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
}

.widget h4 {
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.news-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.news-list li {
   font-size: 14px;
}

.news-list strong {
    color: #222;
    display: block;
}

.news-list small {
    color: #888;
    font-size: 12px;
}

.news-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    gap: 10px; /* Space between cards */
    justify-content: center; /* Center horizontally */
    padding: 10px;
}
.dosunewscard {
    flex: 0 0 310px; /* Fixed width cards */
    height: 500px; /* Keep all cards same height */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dosunewscard:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.dosunewsimg {
    position: relative;
    overflow: hidden;
}

.dosunewsimg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dosunewscap {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5e57;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.dosunewstit {
    font-size: 20px;
    font-weight: 600;
    padding: 15px 20px 10px;
    color: #333;
}

.dosunewstxt {
    max-height: 120px; /* Limit content height */
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 20px 15px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Clamp to 5 lines */
    -webkit-box-orient: vertical;
}

.dosunewslnk {
    padding: 10px 20px 20px;
    text-align: right;
}

.dosunewslnk a {
    text-decoration: none;
    color: #0077cc;
    font-weight: bold;
    font-size: 14px;
    position: relative;
}

.dosunewslnk a span::after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.dosunewslnk a:hover span::after {
    margin-left: 10px;
}




    @media (max-width: 900px) {
      .container {
        grid-template-columns: 1fr;
      }

      nav ul {
        flex-direction: column;
        gap: 10px;
      }
    }
    footer {
      background-color: #202124;
      color: #bbb;
      text-align: center;
      padding: 1rem;
      margin-top: 2rem;
    }