.resources--columns-layout {
  display: flex;
  gap: 24px;
}
.left-col {
  width: 320px;
}
.right-col {
  flex: 1;
}

.resources--filters--top-menu {
  display: flex;
  justify-content: space-between;
  padding-left: 0;
  list-style: none;
}
.resources--filter--wrapper {
  border-bottom: 0 !important;
  padding: 10px 0;
}
#resources-filters .card .row .col-md-4::after {
  content: "";
  display: block;
  width: 95%;
  position: absolute;
  height: 1px;
  background: #e5e5e5;
  margin: 10px auto 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.resources--filter--wrapper .filter-title {
  display: block;
  cursor: pointer;
  font-weight: 600;
}
.resources--categories {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}
.resources--categories li {
  margin: 6px 0;
}

.resources--search {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resources--search input {
  padding: 8px 10px;
}

.resources-top-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.scope-buttons {
  display: flex;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.scope-buttons a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
}
.scope-buttons a:hover {
  background: #f3f3f3;
}

.resources-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
  padding-left: 0;
}
.resource-item-base {
  border: 1px solid #eee;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
}
.resource-item__type {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 6px;
}
.resource__title {
  font-size: 18px;
  margin: 6px 0 8px;
}
.resource__excerpt {
  font-size: 14px;
  opacity: 0.9;
}

.m-pagination__list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding-left: 0;
}
.m-pagination__link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
}
.m-pagination__list .current .m-pagination__link,
.m-pagination__link:hover {
  background: #f3f3f3;
}
.dots.m-pagination__link {
  cursor: default;
}
.no-results {
  padding: 24px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  text-align: center;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.course-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.resource-card-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.star-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.resource-card-content {
  padding: 15px;
}

.resource-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
}

.course-card:hover .resource-card-hover {
  opacity: 1;
}

.hover-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.hero-card {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto 15px !important;
}
body {
  /* font-family: "open sans", sans-serif !important; */
  font-family: "Be vietnam", sans-serif !important;
}
.path-local-catalog > #page-wrapper > #page > .rui-breadcrumbs,
.path-local-catalog
  > #page-wrapper
  > #page
  > .main-inner
  > .page-content
  > .region-main-course-wrapper
  > .region-main-content
  > .rui-blocks-wrapper
  > .wrapper-course
  > .page-header-content {
  display: none !important;
}
