/* Adjust the header-row padding to make space for the menu */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Specifically adjust the navigation menu */
.header-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -60px !important;
}

.header-navigation .menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-navigation .menu > li > a {
  padding: 12px 15px;
}

/* Styling for the reading time on single post page */
.reading-time {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  font-weight: 400;
}

.kadence_entry_header .reading-time {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

/* Grid */
.trending-posts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .trending-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .trending-posts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .trending-posts-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Post Card Styling */
.trending-post-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.trending-post-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trending-post-card img {
  width: 100%;
  height: auto;
  display: block;
}

.trending-post-content {
  padding: 1rem;
}

/* ✅ PROFESSIONAL BLUE CATEGORY TAG */
.trending-post-card .trending-post-categories span {
  background-color: #006bb3 !important; /* Professional blue */
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 999px !important; /* Pill style */
  font-size: 13px !important;
  font-weight: 500;
  margin-right: 8px !important;
  margin-top: 5px !important;
  display: inline-block !important;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Load More Button */
#load-more-personal-finance {
  display: inline-block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #0073e6; /* Blue color for button */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

#load-more-personal-finance:hover {
  background-color: #005bb5; /* Darker blue on hover */
}


/* Professional hover effect with tilt, scale, and shadow */
.creditloansinsurance-post-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.creditloansinsurance-post-tile:hover {
  transform: perspective(800px) rotateY(2deg) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}