/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.0
*/
/* --- Archive / Homepage (merged with old Trending) --- */
.custom-home-post .home-post-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  overflow: hidden; /* helps in case images float */
}

/* Thumbnail */
/* Force same thumbnail size on mobile */
.home-post-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  float: left;
  margin: 0 12px 12px 0;
  border-radius: 4px;
}

@media (max-width: 600px) {
.home-post-thumbnail img {
    width: 40px;
    height: 40px;
  }
}

/* Category (TRENDING + category name) */
.home-post-category {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 4px;
}

.home-post-category .trending-label {
  color: #d32f2f; /* red for TRENDING */
  font-weight: bold;
  text-transform: uppercase;
}

.home-post-category .category-name {
  color: #000; /* keep category black */
  text-transform: capitalize; /* category as-is */
  font-weight: bold;
}

/* Title */
.home-post-title {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  font-size: clamp(16px, 4vw, 20px); /* responsive scaling */
}

.home-post-title a {
  color: #003366;
  text-decoration: none;
}

.home-post-title a:hover {
  text-decoration: underline;
}

/* Separator */
.home-post-separator {
  border: none;
  border-bottom: 1px solid #ddd;
  margin: 15px 0;
}

#load-more-container {
  text-align: center; 
  margin: 20px 0;
}
#load-more {
  display: block;
  width: 100%;         /* take full width of container */
  max-width: 100%;     /* prevent shrinking */
  padding: 12px 20px;  /* bigger clickable area */
  background-color: #003366; /* match your link blue */
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#load-more:hover {
  background-color: #0055aa; /* lighter blue on hover */
}
.related-posts {
  background-color: #f9f9f9; /* light background */
  border: 1px solid #e0e0e0; /* subtle border */
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px; /* smooth edges */
}

.related-posts h3 {
  margin-top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #333; /* consistent text color */
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.related-posts ul {
  list-style-type: disc; /* simple bullets */
  padding-left: 20px;
  margin: 0;
}

.related-posts ul li {
  margin-bottom: 8px;
}

.related-posts ul li a {
  text-decoration: none;
  color: #0073aa; /* WordPress link blue */
  transition: color 0.3s ease;
}

.related-posts ul li a:hover {
  color: #005177; /* darker hover */
}

.author-box {
  margin: 20px 0 0;
  border-top: 2px solid #ddd;
  border-bottom: 0px solid #ddd;
  padding: 10px 0;
  line-height: 1.6;
  color: #333;
}

.author-box .author-header {
  display: flex;
  align-items: flex-start; /* Align image and text to the top */
  margin-bottom: 10px;
}

.author-box .author-header img {
  width: 90px;
  height: 90px;
  border-radius: 30%;
  margin-right: 10px;
}

hr.post-separator {
  border: none;               /* remove default browser HR */
  border-top: 2px solid #ddd; /* subtle line */
  margin: 10px 0;             /* space above and below */
  height: 0;                  /* keeps it flat */
}
