.homepage-layout {
  display: grid;
  grid-template-columns: 24% 49% 24%;
  gap: 1rem;
  align-items: start;
}

.layout-left,
.layout-middle,
.layout-right {
  min-width: 0;
  width: stretch;
}

.homepage-layout .layout-middle .thumb-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: 18px;

}

.homepage-layout .layout-left .thumb-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-0); 
}

.bullet-list .trending-item{
  position: relative;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 5px;
}  
.bullet-list .trending-item:last-child{
	border-bottom: none;
}
.bullet-list .trending-item .thumbnail-title{
	padding-left: 20px;
	min-height: 45px;
	margin-top: 5px;
}

.featured-news h2 {
	min-height: 60px;
}

.gradient-bullets {
  list-style: none;
}

.gradient-bullets h4::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #6366f1, #22d3ee);
  position: absolute;
  left: 0;
  top: 14px;
}

.block-title-bleft {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 0px;
} 

.block-title-bleft::before {
	content: '';
	width: 45px;
	height: 4px;
	background: var(--color-primary);
	flex-shrink: 0;
	position: absolute;
	bottom: 0px;
}

/* Style and position the counter */
.homepage-layout .slider-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  
  /* Layout & Spacing */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  
  /* Visuals */
  /*background-color: rgba(0, 0, 0, 0.65);*/
  background-color: #ffffff;
  color: var(--color-text);
  border-radius: 20px;
  
  /* Typography */
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums; /* Prevents shifting when numbers change */
}

/* Make the current page stand out */
.homepage-layout .slider-counter .current {
  font-weight: 700;
  color: var(--color-text);
}

/* Slightly fade the total number */
.homepage-layout .slider-counter .total {
  color: rgba(0, 0, 0, 0.7);
}


/* Mobile */
@media (max-width: 1024px) {

  .homepage-layout {
    display: flex;
    flex-direction: column;
  }

  /* Show middle first */
  .layout-middle {
    order: 1;
  }

  /* Left second */
  .layout-left {
    order: 2;
  }

  /* Right third */
  .layout-right {
    order: 3;
  }

  .homepage-layout .layout-middle .thumb-list,
  .homepage-layout .layout-left .thumb-list,
  .homepage-layout .layout-right .bullet-list {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}

@media (max-width: 500px) {
  .homepage-layout .layout-middle .thumb-list,
  .homepage-layout .layout-left .thumb-list,
  .homepage-layout .layout-right .bullet-list {
    grid-template-columns: 1fr;
    display: grid;
  }

  .homepage-layout .layout-middle .thumb-list {
    margin-top: 1rem;
  }
	
	.layout-middle {
	 
		min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 0 !important;
	}
}
