/* ============================================
   Quick Links + Featured Thumbnails block
   ============================================ */
.quick-links-featured-block {
  min-height: 800px;
  height: 100vh;
  margin: 6em 10%;
  display: flex;
  align-items: stretch;
  background: #fff;
}

.quick-links-featured__inner {
  display: flex;
  width: 100%;
  gap: 2rem;
  min-width: 0; /* Allow flex children to shrink */
}

.quick-links-featured__sidebar {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  min-width: 0;
}

.quick-links-featured__thumbnails {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  min-width: 0;
}

/* Grid: 3 columns, 2 rows */
.quick-links-featured__grid {
  display: grid !important; /* Override any conflicting display */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  width: 100%;
}

.quick-links-featured__item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0; /* Prevent grid blowout */
}

/* Responsive images - fill space, maintain aspect ratio */
.quick-links-featured__item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.quick-links-featured__title {
  margin-top: 0.5rem;
  text-align:center;
  font-style: bold;
}

/* Mobile: hide sidebar, 2 columns for thumbnails */
@media (max-width: 768px) {
  .quick-links-featured__sidebar {
    display: none;
  }

  .quick-links-featured__thumbnails {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .quick-links-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
  }

  .quick-links-featured-block {
    margin: 6em 5%;
    min-height: auto;
    height: auto;
  }
}


ul.quick_links_search_categories{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  text-decoration:none;
}

ul.quick_links_search_categories li h4 a{
	text-decoration:none;
}

.quick-links-category-block{
	margin: 0 0 3em 0;
}

