/* Category Menu Styling */
.category-menu-wrapper {
  background: #ffffff;
  padding: 0 !important; /* Override the py-5 class */
  border-bottom: 1px solid #e5e5e5;
}

/* Tab Navigation */
.resource-tabs-menu {
  display: flex !important;
  justify-content: center;
  margin-bottom: 50px;
}
.resource-tabs-menu .category-menu-item {
  padding: 26px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  font-size: 17px;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  text-align: center;
}
.resource-tabs-menu .category-menu-item:first-child {
  border-left: 1px solid #dddddd;
}
.resource-tabs-menu .category-menu-item:first-child.active {
  border-left: 1px solid #143db1;
}
.resource-tabs-menu .category-menu-item.active {
  color: #ffffff;
  background: #143db1;
  border-right: 1px solid #143db1;
  border-bottom: 1px solid #143db1;
}
.resource-tabs-menu.catalogue-download-tabs {
  max-width: 600px;
  margin: 30px auto;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.resource-tabs-menu.catalogue-download-tabs .category-menu-item {
  flex: 1;
  text-align: center;
  padding: 15px;
  background-color: #f9f9f9;
  border: none;
  margin: 0;
}
.resource-tabs-menu.catalogue-download-tabs .category-menu-item:first-child {
  background-color: #1a4ec0;
  color: white;
}
.resource-tabs-menu.catalogue-download-tabs .category-menu-item:not(:last-child) {
  border-right: 1px solid #e5e5e5;
}

.resource-search-filter {
  padding: 50px 0;
  background: #f5f5f5;
  margin-bottom: 80px;
}
.resource-search-filter .search-container {
  max-width: 560px;
}
.resource-search-filter .search-input-container {
  display: flex;
  position: relative;
  border: 1px solid #dddddd;
  overflow: hidden;
}
.resource-search-filter .search-input-container #resource-keyword {
  flex: 1;
  border: none;
  padding: 20px;
  font-size: 16px;
  color: #666666;
  outline: none;
  width: 100%;
  height: 64px;
}
.resource-search-filter .search-input-container .search-button {
  background: #fff;
  border: none;
  color: white;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

/* Tab Content */
.resource-tab-pane {
  display: none;
}
.resource-tab-pane.active {
  display: block;
}

.search-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.search-results-info h3 {
  margin: 0;
  font-size: 18px;
}

.clear-search-btn {
  background-color: #e71313;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}
.clear-search-btn:focus, .clear-search-btn:focus-visible {
  box-shadow: none;
  outline: none;
}

/* Resource Grid */
.resource-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 80px;
}

/* Resource Item */
.resource-item {
  width: calc((100% - 120px) / 4);
  overflow: hidden;
}
.resource-item-link {
  display: block;
}
.resource-item-image {
  border: solid 1px #dddddd;
  height: 360px;
  display: flex;
  align-items: center;
}
.resource-item-image img {
  width: 100%;
  height: auto;
  max-height: 358px;
}
.resource-item-content {
  font-size: 18px;
  color: #222;
  margin: 10px 0 0;
  text-align: center;
}
.resource-item-content p {
  margin: 0;
}
.resource-item-title {
  margin-top: 0;
  font-size: 18px;
  color: #333333;
}
.resource-item-excerpt {
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

/* View All Link */
.view-all-link {
  text-align: center;
  margin: 20px 0 40px;
}
.view-all-link .btn-view-all {
  display: inline-block;
  padding: 10px 25px;
  background-color: #1a4ec0;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.view-all-link .btn-view-all:hover {
  background-color: #0d3a9e;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.load-more-btn {
  position: relative;
  padding: 0.75rem 1.5rem;
  background-color: #0d3a9e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.load-more-btn:active {
  transform: translateY(0);
}
.load-more-btn.loading {
  padding-left: 2.5rem;
  opacity: 0.8;
  pointer-events: none;
}
.load-more-btn.loading .loading-spinner {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
@media (max-width: 768px) {
  .resource-tabs-menu {
    border-left: none !important;
    margin-bottom: 0 !important;
  }
  .resource-tabs-menu .category-menu-item {
    padding: 15px;
  }
  .resource-search-filter {
    padding: 20px 0;
    margin-bottom: 30px;
  }
  .resource-search-filter .search-input-container #resource-keyword {
    height: 50px;
  }
  .resource-grid {
    margin-bottom: 40px;
    gap: 20px;
  }
  .resource-grid .resource-item {
    width: calc((100% - 20px) / 2);
  }
  .search-results-info {
    flex-direction: column;
    gap: 10px;
  }
  .search-results-info h3 {
    font-size: 16px;
  }
  .resource-item-image {
    height: 300px;
  }
}/*# sourceMappingURL=resource-home.css.map */