h1{font-size:25px !important; font-weight: bolder !important;}

h2{font-size:22px !important; font-weight: bolder !important;}

h3{font-size:18px !important; font-weight: bolder !important;}


/* 🔹 Loader overlay */
#loaderOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* 🔹 Spinner */
.spinner {
  border: 5px solid #ddd;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 0.9s linear infinite;
}

#bottomAlert {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: none;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

        .divMain{
          width:100%;
          margin-top: 20px;

        }

        .article-card {
  border:1px solid #80808066;
  padding:20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:0.3s ease;
  cursor: pointer;
}

        .articleTitle{color:#000000; font-weight: bolder; font-size:20px; transition: 0.3s ease; text-decoration: none}
        .articleTitle:hover{color:#ff5b5b;}
        .articleTopic{color: orangred; font-size:14px; font-weight: bold;}
        .articleDate{font-size: 12px; color:gray;}
        .articleExpert{font-size: 15px; color: grey}
        .articleLink{color:#ff5b5b; transition: 0.3s ease; padding: 5px; width: fit-content; text-decoration: none}
        .articleLink:hover{color:#ffffff; background: #ff5b5b;}
        .article-card:hover{ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
        .artileError{
          color: red;
          padding: 5px;
        }

        .articlePhoto img{width: 100%; height: 100%; object-fit: cover; border-radius: 20px}
        .articleLoading{
          color: green;
          padding:5px;
        }

        .articleLoadmore{
          padding: 8px; border: none; outline:none; background:#4564ff; color: #ffffff; font-size: 14px; font-weight: bolder; transition: 0.3s ease; cursor: pointer;
        }

        .articleLoadmore:hover{background: #081f95;}




#news-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default for larger screens */
  gap: 20px;
}

@media (max-width: 768px) {
  #news-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
  }
}

@media (max-width: 480px) {
  #news-container {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
}
  