/* GLOBAL DARK THEME */
body {
  background-color: #000 !important;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* NAVIGATION BAR */
.navbar {
  background-color: #000 !important;
  color: #fff !important;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: bold;
  color: #fff !important;
  text-decoration: none;
  margin-left: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-right: 2rem;
}

.nav-links a {
  color: #fff !important;
  text-decoration: none !important; /* Remove underlines */
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #f39c12 !important;
}

.nav-links a.active {
  text-decoration: underline !important;
}

/* BLOG PAGE CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background-color: #111 !important;
  border-radius: 10px;
}

/* SECTION HEADINGS */
.blog-page h2 {
  color: #fff !important;
  font-size: 2rem;
  text-align: center;
  margin: 2rem 0 1.5rem;
  text-transform: uppercase;
  border-bottom: 2px solid #444;
  padding-bottom: 0.75rem;
  letter-spacing: 1px;
}

/* FEATURED BLOG POST */
.most-read {
  display: flex;
  justify-content: center;
}

.most-read .article-card.featured {
  width: 100%;
  max-width: 750px; /* Reduce the size */
  margin: 0 auto 3rem;
  background-color: #222 !important;
  border-radius: 12px;
  overflow: hidden;
  padding: 1.2rem; /* Reduce padding */
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.most-read .article-card.featured:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}

.most-read .article-card.featured img {
  width: 100%;
  height: 380px; /* Reduce image height */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* BLOG POST BOXES - SMALLER & RESPONSIVE */
.article-card {
  background-color: #222 !important;
  color: #fff !important;
  border: 1px solid #444;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 1rem; /* Reduce padding to make boxes smaller */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 350px; /* Reduce box width */
}

.article-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.article-card img {
  width: 100%;
  height: 180px; /* Reduce image size */
  object-fit: cover;
  border-bottom: 2px solid #333;
}

/* REMOVE BLUE UNDERLINING */
.article-card a {
  color: #fff !important;
  text-decoration: none !important; /* Remove underlining */
  display: block;
}

.article-card a:hover {
  color: #f39c12 !important;
}

/* BLOG GRID LAYOUT - SMALLER BOXES */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust grid for smaller boxes */
  gap: 1.5rem;
  margin-top: 2rem;
}

/* FULL ARTICLE DISPLAY */
.full-article {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  overflow-y: auto;
  padding: 2rem;
  text-align: center;
  z-index: 9999;
}

.full-article .article-content {
  max-width: 800px;
  margin: auto;
  background: #111;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
  text-align: left;
}

.full-article h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.full-article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.full-article p {
  font-size: 1.1rem;
  color: #ddd;
}

.full-article .close-article {
  display: block;
  background: #f39c12;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin: 1rem auto;
}

.full-article .close-article:hover {
  background: #d37f0d;
}

/* BUTTON STYLING */
.btn {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  padding: 0.6rem 1.2rem; /* Reduce button size */
  border: none;
  border-radius: 5px;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.btn:hover {
  background-color: #d37f0d;
}

/* FOOTER */
footer {
  background-color: #000;
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 1rem;
}
