/* Resources - Events Module - 2026 Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;250;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@200;300;400;500;600;700&display=swap');

/* Container Wrapper */
.resources-events-2026.cm-resources-filter {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Search and Filter Section */
.resources-events-2026 .library-top {
  position: relative !important;
  z-index: 100 !important;
  padding-bottom: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto 60px auto !important;
  text-align: left !important;
}

/* Search and Filter Bar */
.resources-events-2026 .search-filter-bar {
  display: flex !important;
  gap: 20px !important;
  align-items: center !important;
  margin-bottom: 40px !important;
  flex-wrap: wrap !important;
}

.resources-events-2026 .search-box-wrapper {
  flex: 1 !important;
  min-width: 300px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;

}

.resources-events-2026 .search-box {
  width: 100% !important;
  height: 50px !important;
  border: 1px solid #93B25B !important;
  padding: 0 50px 0 20px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #204839 !important;
  box-sizing: border-box !important;
  letter-spacing: 1.2px !important;
  border-radius: 0 !important;
  background: #fff !important;
  line-height: 50px !important;
}

.resources-events-2026 .search-box::placeholder {
  color: #829A8E !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
}

.resources-events-2026 .search-icon {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #93B25B !important;
  pointer-events: none !important;
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.resources-events-2026 .filter-dropdown-wrapper {
  position: relative !important;
  min-width: 200px !important;
  display: flex !important;
  align-items: center !important;
}

.resources-events-2026 .filter-dropdown {
  width: 100% !important;
  height: 50px !important;
  border: 1px solid #C9C9C9 !important;
  padding: 0 40px 0 20px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #829A8E !important;
  background: white !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-sizing: border-box !important;
  letter-spacing: 1.2px !important;
  border-radius: 0 !important;
  line-height: 50px !important;
}

.resources-events-2026 .filter-dropdown option {
  color: #204839 !important;
}

.resources-events-2026 .filter-dropdown-icon {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #67A570 !important;
  pointer-events: none !important;
  width: 12px !important;
  height: 8px !important;
  display: block !important;
}

.resources-events-2026 .reset-filters-btn {
  height: 50px !important;
  border: 1px solid #204839 !important;
  background: transparent !important;
  color: #204839 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 0 30px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.resources-events-2026 .reset-filters-btn:hover {
  background: #204839 !important;
  color: #fff !important;
  border-color: #204839 !important;
}

/* Category Tags */
.resources-events-2026 .category-tags {
  display: flex !important;
  gap: 50px !important;
  margin-bottom: 40px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.resources-events-2026 .category-tag {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #a9b59f !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: color 0.3s ease !important;
  padding: 8px 0 !important;
  border-bottom: 2px solid transparent !important;
  text-decoration: none !important;
  background: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  line-height: 1 !important;
}

.resources-events-2026 .category-tag:hover,
.resources-events-2026 .category-tag.is-active {
  color: #93B25B !important;
  border-bottom-color: #93B25B !important;
}

/* Library Grid - 3x3 Layout */
.resources-events-2026.wja-library .library-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  flex-wrap: initial !important;
}

.resources-events-2026.wja-library .library-grid > div,
.resources-events-2026.wja-library .grid-card-wrapper {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  display: block !important;
}

.resources-events-2026.wja-library .library-grid > div.hide,
.resources-events-2026.wja-library .grid-card-wrapper.hide {
  display: none !important;
}

.resources-events-2026.wja-library .library-grid > div.show,
.resources-events-2026.wja-library .grid-card-wrapper.show {
  display: block !important;
}

/* Card Styling */
.resources-events-2026.wja-library .custom-resources-card,
.resources-events-2026.wja-library .library-item {
  background: #fff !important;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  height: 100% !important;
  position: relative !important;
}

/* Image Section */
.resources-events-2026.wja-library .item-image {
  display: block !important;
  position: relative !important;
  height: 220px !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #fff !important;
}

.resources-events-2026.wja-library .item-image a.image-link {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: none !important;
  background-size: initial !important;
  background-image: none !important;
  z-index: 1 !important;
}

/* WATCH NOW Button */
.resources-events-2026.wja-library .watch-now-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
  background-color: #93B25B !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  border: 2px solid #93B25B !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  cursor: pointer !important;
  z-index: 10 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
  white-space: nowrap !important;
}

.resources-events-2026.wja-library .watch-now-btn:hover {
  background-color: #fff !important;
  color: #93B25B !important;
  text-decoration: none !important;
}

/* Card Content */
.resources-events-2026.wja-library .item-info {
  padding: 15px 30px 30px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* Category Badge Above Title */
.resources-events-2026.wja-library .item-category {
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #204839 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  margin: 0 0 10px 0 !important;
  text-align: left !important;
}

.resources-events-2026.wja-library .item-title {
  font-family: 'Libre Bodoni', serif !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  color: #93B25B !important;
  line-height: 1.3 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  letter-spacing: normal !important;
}

.resources-events-2026.wja-library .item-title a {
  color: #93B25B !important;
  text-decoration: none !important;
}

.resources-events-2026.wja-library .item-title a:hover {
  color: #204839 !important;
}

.resources-events-2026.wja-library .event-date {
  color: #829A8E !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-align: left !important;
  margin: 0 0 15px 0 !important;
  display: none !important;
}

.resources-events-2026.wja-library .item-summary {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 200 !important;
  color: #204839 !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
  padding: 0 !important;
  text-align: left !important;
  letter-spacing: normal !important;
}

.resources-events-2026.wja-library .item-summary p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Item Button */
.resources-events-2026.wja-library .item-button {
  text-align: left !important;
  margin-top: auto !important;
}

.resources-events-2026.wja-library .item-button a,
.resources-events-2026.wja-library .read-more-link {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #204839 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  position: relative !important;
  width: fit-content !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: auto !important;
  line-height: 1 !important;
}

.resources-events-2026.wja-library .item-button a:hover,
.resources-events-2026.wja-library .read-more-link:hover {
  text-decoration: none !important;
  color: #204839 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.resources-events-2026.wja-library .item-button a::before,
.resources-events-2026.wja-library .read-more-link::before {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: -2px !important;
  right: 20px !important;
  height: 1px !important;
  background-color: #204839 !important;
}

.resources-events-2026.wja-library .item-button a::after,
.resources-events-2026.wja-library .read-more-link::after {
  content: '' !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid #204839 !important;
  border-top: 4px solid transparent !important;
  border-bottom: 4px solid transparent !important;
  flex-shrink: 0 !important;
}

/* Load More Button */
.resources-events-2026 .load-more-container {
  text-align: center !important;
  margin-top: 60px !important;
  padding: 0 20px 80px !important;
}

.resources-events-2026 .load-more-btn {
  display: inline-block !important;
  padding: 16px 48px !important;
  background-color: #93B25B !important;
  border: 2px solid #93B25B !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border-radius: 0 !important;
}

.resources-events-2026 .load-more-btn:hover {
  background-color: #fff !important;
  color: #93B25B !important;
}

.resources-events-2026 .load-more-btn.hide {
  display: none !important;
}

.resources-events-2026.custom-wja-library.wja-library {
  padding-bottom: 0 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .resources-events-2026.wja-library .library-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  .resources-events-2026 .category-tags {
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  .resources-events-2026.wja-library .library-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .resources-events-2026 .library-top {
    padding-bottom: 20px !important;
  }
  
  .resources-events-2026 .search-filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .resources-events-2026 .search-box-wrapper,
  .resources-events-2026 .filter-dropdown-wrapper {
    min-width: 100% !important;
  }
  
  .resources-events-2026 .category-tags {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: flex-start !important;
  }
  
  .resources-events-2026.wja-library .item-image {
    height: 200px !important;
  }
  
  .resources-events-2026.wja-library .item-title {
    font-size: 22px !important;
  }
  
  .resources-events-2026.wja-library .item-summary {
    font-size: 15px !important;
  }
}

/* Search Bar */
.resources-events-2026 .search-box {
  display: block !important;
  max-width: 100% !important;
}

.resources-events-2026 .hs-search-field {
  position: relative !important;
  width: 100% !important;
}

.resources-events-2026 .hs-search-field__bar {
  position: relative !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
}

.resources-events-2026 .hs-search-field__bar form {
  position: relative !important;
  width: 100% !important;
}

.resources-events-2026 .search-box input[type=text],
.resources-events-2026 .hs-search-field__input {
  width: 100% !important;
  height: 50px !important;
  border: 1px solid #93B25B !important;
  padding: 0 120px 0 20px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  color: #204839 !important;
  box-sizing: border-box !important;
  letter-spacing: 1.2px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: #fff !important;
  display: block !important;
}

.resources-events-2026 .search-box input[type=text]::placeholder,
.resources-events-2026 .hs-search-field__input::placeholder {
  color: #829A8E !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
}

.resources-events-2026 .search-box button,
.resources-events-2026 .hs-search-field__bar button,
.resources-events-2026 .search-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  background-color: #93B25B !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 12px 24px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: auto !important;
  line-height: 1 !important;
}

.resources-events-2026 .search-box button:hover,
.resources-events-2026 .hs-search-field__bar button:hover,
.resources-events-2026 .search-btn:hover {
  background-color: #204839 !important;
  color: #ffffff !important;
}

/* Filter Box */
.resources-events-2026 .filter-box {
  display: flex !important;
  gap: 50px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  padding-top: 0 !important;
  text-align: center !important;
}

.resources-events-2026 .filter-box a,
.resources-events-2026 .filter-box .f-btn {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #C3D0B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: color 0.3s ease !important;
  padding: 8px 0 !important;
  border-bottom: 2px solid transparent !important;
  text-decoration: none !important;
  position: relative !important;
  display: inline-block !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.resources-events-2026 .filter-box a::after,
.resources-events-2026 .filter-box .f-btn::after {
  display: none !important;
}

.resources-events-2026 .filter-box a:hover,
.resources-events-2026 .filter-box a.is-active,
.resources-events-2026 .filter-box .f-btn:hover,
.resources-events-2026 .filter-box .f-btn.is-active {
  color: #93B25B !important;
  border-bottom-color: #93B25B !important;
  background: none !important;
}

/* Library Grid - 3x3 Layout */
.resources-events-2026.wja-library .library-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  max-width: 1200px !important;
  margin: 60px auto 0 !important;
  padding: 0 20px !important;
  flex-wrap: initial !important;
}

.resources-events-2026.wja-library .library-grid > div,
.resources-events-2026.wja-library .grid-card-wrapper {
  position: relative !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  display: block !important;
}

.resources-events-2026.wja-library .library-grid > div.hide,
.resources-events-2026.wja-library .grid-card-wrapper.hide {
  display: none !important;
}

.resources-events-2026.wja-library .library-grid > div.show,
.resources-events-2026.wja-library .grid-card-wrapper.show {
  display: block !important;
}

/* Card Styling */
.resources-events-2026.wja-library .custom-resources-card,
.resources-events-2026.wja-library .library-item {
  background: #fff !important;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  height: 100% !important;
  position: relative !important;
}

/* Category Badge */
.resources-events-2026.wja-library .item-type {
  display: block !important;
  position: absolute !important;
  top: 20px !important;
  left: 0 !important;
  z-index: 100 !important;
  padding: 8px 20px !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 1.4px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  background-color: #C3A76B !important;
  border-radius: 0 !important;
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Image Section */
.resources-events-2026.wja-library .item-image {
  display: block !important;
  position: relative !important;
  height: 220px !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: 0 !important;
  padding: 25px !important;
  background-color: #fff !important;
}

.resources-events-2026.wja-library .item-image a.image-link {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: none !important;
  background-size: initial !important;
  background-image: none !important;
}

/* WATCH NOW Button */
.resources-events-2026.wja-library .watch-now-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
  background-color: #93B25B !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 16px 32px !important;
  text-decoration: none !important;
  border: 2px solid #93B25B !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  cursor: pointer !important;
  z-index: 10 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}

.resources-events-2026.wja-library .watch-now-btn:hover {
  background-color: #fff !important;
  color: #93B25B !important;
  text-decoration: none !important;
}

/* Card Content */
.resources-events-2026.wja-library .item-info {
  padding: 15px 30px 30px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.resources-events-2026.wja-library .item-title {
  font-family: 'Libre Bodoni', serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #93B25B !important;
  line-height: 1.3 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  letter-spacing: normal !important;
}

.resources-events-2026.wja-library .item-title a {
  color: #93B25B !important;
  text-decoration: none !important;
}

.resources-events-2026.wja-library .item-title a:hover {
  color: #204839 !important;
}

.resources-events-2026.wja-library .event-date {
  color: #829A8E !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-align: left !important;
  margin: 0 0 15px 0 !important;
}

.resources-events-2026.wja-library .item-summary {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 200 !important;
  color: #204839 !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
  padding: 0 !important;
  text-align: left !important;
  letter-spacing: normal !important;
}

.resources-events-2026.wja-library .item-summary p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Item Button */
.resources-events-2026.wja-library .item-button {
  text-align: left !important;
  margin-top: auto !important;
  display: none !important;
}

.resources-events-2026.wja-library .item-button a,
.resources-events-2026.wja-library .read-more-link {
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #204839 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  position: relative !important;
  width: fit-content !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: auto !important;
  line-height: 1 !important;
}

.resources-events-2026.wja-library .item-button a:hover,
.resources-events-2026.wja-library .read-more-link:hover {
  text-decoration: none !important;
  color: #204839 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.resources-events-2026.wja-library .item-button a::before,
.resources-events-2026.wja-library .read-more-link::before {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: -2px !important;
  right: 20px !important;
  height: 1px !important;
  background-color: #204839 !important;
}

.resources-events-2026.wja-library .item-button a::after,
.resources-events-2026.wja-library .read-more-link::after {
  content: '' !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid #204839 !important;
  border-top: 4px solid transparent !important;
  border-bottom: 4px solid transparent !important;
  flex-shrink: 0 !important;
}

/* Search Suggestions */
.resources-events-2026 .hs-search-field__suggestions {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.resources-events-2026 .hs-search-field--open .hs-search-field__suggestions {
  border: 1px solid #93B25B !important;
  position: absolute !important;
  background: #fff !important;
  z-index: 9 !important;
  text-align: left !important;
  width: 100% !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.resources-events-2026 .hs-search-field__suggestions li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.resources-events-2026 .hs-search-field__suggestions #results-for {
  font-weight: bold !important;
  font-family: 'DM Sans', sans-serif !important;
}

.resources-events-2026 .hs-search-field__suggestions a,
.resources-events-2026 .hs-search-field__suggestions #results-for {
  display: block !important;
  padding: 10px 15px !important;
  text-decoration: none !important;
  font-family: 'DM Sans', sans-serif !important;
  color: #204839 !important;
}

.resources-events-2026 .hs-search-field__suggestions a:hover,
.resources-events-2026 .hs-search-field__suggestions a:focus {
  background-color: #F0F6EF !important;
  outline: none !important;
}

/* Hide Required Text */
.resources-events-2026 .library-top .hs-form-required {
  display: none !important;
}

.resources-events-2026.custom-wja-library.wja-library {
  padding-bottom: 80px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .resources-events-2026.wja-library .library-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  .resources-events-2026 .filter-box {
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  .resources-events-2026.wja-library .library-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .resources-events-2026 .library-top {
    padding-bottom: 30px !important;
  }
  
  .resources-events-2026 .search-box {
    margin-bottom: 20px !important;
  }
  
  .resources-events-2026 .filter-box {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .resources-events-2026 .filter-box a,
  .resources-events-2026 .filter-box .f-btn {
    display: block !important;
    text-align: center !important;
  }
  
  .resources-events-2026.wja-library .item-image {
    height: 200px !important;
  }
  
  .resources-events-2026.wja-library .item-title {
    font-size: 22px !important;
  }
  
  .resources-events-2026.wja-library .item-summary {
    font-size: 15px !important;
  }
}

  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}

.search-box button,
.hs-search-field__bar button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #93B25B !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none !important;
  border-radius: 0;
  min-width: auto;
}

.search-box button:hover,
.hs-search-field__bar button:hover {
  background-color: #204839 !important;
}

/* Filter Box */
.filter-box {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 0;
}

.filter-box a {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #C3D0B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none !important;
  position: relative;
}

.filter-box a::after {
  display: none;
}

.filter-box a:hover,
.filter-box a.is-active {
  color: #93B25B;
  border-bottom-color: #93B25B;
}

/* Library Grid - 3x3 Layout */
.wja-library .library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.wja-library .library-grid > div {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  max-width: 100%;
  flex: none;
  display: block !important;
}

.wja-library .library-grid > div.hide {
  display: none !important;
}

.wja-library .library-grid > div.show {
  display: block !important;
}

/* Card Styling */
.wja-library .library-grid > div > div,
.custom-resources-card {
  background: #fff;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  height: 100%;
}

/* Category Badge */
.wja-library .item-type {
  display: block;
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 100;
  padding: 8px 20px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
  background-color: #C3A76B;
  border-radius: 0;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  opacity: 1;
  box-shadow: none;
}

/* Image Section */
.wja-library .item-image {
  display: block;
  position: relative;
  height: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  padding: 25px;
  background-color: #fff;
}

.wja-library .item-image a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
}

/* WATCH NOW Button */
.wja-library .watch-now-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #93B25B;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 32px;
  text-decoration: none;
  border: 2px solid #93B25B;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  z-index: 10;
}

.wja-library .watch-now-btn:hover {
  background-color: #fff;
  color: #93B25B;
  text-decoration: none;
}

/* Card Content */
.wja-library .item-info {
  padding: 15px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wja-library .item-title {
  font-family: 'Libre Bodoni', serif;
  font-size: 24px;
  font-weight: 500;
  color: #93B25B;
  line-height: 1.3;
  margin: 0 0 10px 0;
  padding: 0;
  text-align: left;
  letter-spacing: normal;
}

.wja-library .item-title a {
  color: #93B25B;
  text-decoration: none;
}

.wja-library .item-title a:hover {
  color: #204839;
}

.event-date {
  color: #829A8E;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin: 0 0 15px 0;
}

.wja-library .item-summary {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 200;
  color: #204839;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0;
  text-align: left;
  letter-spacing: normal;
}

.wja-library .item-summary p:not(.has-background):last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Item Button */
.wja-library .item-button {
  text-align: left;
  margin-top: auto;
}

.wja-library .item-button a,
.btn {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #204839 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  width: fit-content;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  min-width: auto;
  line-height: 1;
}

.wja-library .item-button a:hover {
  text-decoration: none;
  color: #204839 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0;
}

.wja-library .item-button a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 1px;
  background-color: #204839;
}

.wja-library .item-button a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid #204839;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  flex-shrink: 0;
}

/* Search Suggestions */
.hs-search-field {
  position: relative;
}

.hs-search-field__suggestions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-search-field--open .hs-search-field__suggestions {
  border: 1px solid #93B25B;
  position: absolute;
  background: #fff;
  z-index: 9;
  text-align: left;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
}

.hs-search-field__suggestions li {
  display: block;
  margin: 0;
  padding: 0;
}

.hs-search-field__suggestions #results-for {
  font-weight: bold;
  font-family: 'DM Sans', sans-serif;
}

.hs-search-field__suggestions a,
.hs-search-field__suggestions #results-for {
  display: block;
  padding: 10px 15px;
  text-decoration: none !important;
  font-family: 'DM Sans', sans-serif;
  color: #204839;
}

.hs-search-field__suggestions a:hover,
.hs-search-field__suggestions a:focus {
  background-color: #F0F6EF;
  outline: none;
}

/* Hide Required Text */
.library-top .hs-form-required {
  display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .wja-library .library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .filter-box {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .wja-library .library-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .library-top {
    padding-bottom: 30px;
  }
  
  .search-box {
    flex-direction: column;
  }
  
  .filter-box {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-box a {
    display: block;
    text-align: center;
  }
  
  .wja-library .item-image {
    height: 200px;
  }
  
  .wja-library .item-title {
    font-size: 22px;
  }
  
  .wja-library .item-summary {
    font-size: 15px;
  }
}

/* Container Wrapper */
.cm-resources-filter {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.custom-wja-library.wja-library {
  padding-bottom: 80px;
}
