.page-template-template-report .breadcrumb {
  z-index: 1;
}

.page-template-template-report .banner {
  position: relative;
  overflow: hidden;
  --header: 157px;
  top: calc(var(--header) * -1);
  padding-top: calc(var(--header) + 24px);
  margin-bottom: calc(var(--header) * -1);
  text-align: center;
  color: #fff;
  padding-bottom: 96px;
}

.page-template-template-report .banner .background {
  position: absolute;
  inset: 0;
}

.page-template-template-report .banner .background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-template-report .banner .background:after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(3deg, rgba(0, 0, 0, 0.00) 22.7%, rgba(0, 0, 0, 0.65) 97.4%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 13.47%, rgba(0, 0, 0, 0.65) 100%);
}

.page-template-template-report .banner .container p:has(strong) {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 42px;
}

.page-template-template-report .content {
  position: relative;
  background-color: #F7F6F7;
}

.page-template-template-report .content .no-data,
.page-template-template-report .content .not-found {
  display: flex;
  justify-content: center;
}
.page-template-template-report .content .not-found.hide {
  display: none;
}

.page-template-template-report .content .has-data {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 24px;
  padding-bottom: 77px;
}

.page-template-template-report .filter-div {
  border-radius: 8px;
  background-color: #fff;
  padding: 24px;
  position: sticky;
  top: 24px;
  margin-top: 24px;
  align-self: flex-start;
}

.page-template-template-report .filter-div .clear-all {
  cursor: pointer;
}

.page-template-template-report .filter-title {
  color: #232323;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.page-template-template-report .filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-template-template-report .filter-header a {
  color: #FF6E00;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.page-template-template-report .filter-subtitle {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
}

.page-template-template-report .filter-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  column-gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 16px;
  padding-right: 8px;
  border-bottom: 1px solid #DDDBD8;
  align-items: center;
}

.page-template-template-report .filter-item input[type="checkbox"] {
  accent-color: #FF6000;
}

.page-template-template-report .filter-item:has(input[type="checkbox"]:checked) {
  background-color: #FFEEE1;
}

.page-template-template-report .filter-item:has(input[type="checkbox"]:checked) .filter-name {
  color: #FF6E00;
  font-weight: 500;
}

.page-template-template-report .filter-name {
  color: #787878;
  font-size: 14px;
  line-height: 20px;
}

.page-template-template-report .filter-count {
  color: #787878;
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
  text-align: right;
}

.page-template-template-report .search-div {
  padding-top: 24px;
  padding-bottom: 24px;
  position: sticky;
  top: 0;
  background-color: #F7F6F7;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-template-template-report .search-div input {
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(128, 127, 127, 0.10);
  border: 0;
  width: 100%;
}

.page-template-template-report .header-div {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.page-template-template-report .header-div .title {
  font-weight: 600;
  color: #232323;
}

.page-template-template-report .header-div .title strong {
  font-weight: 600;
  color: #E66605;
}

.page-template-template-report .header-div .count {
  font-size: 14px;
  line-height: 20px;
  color: #525252;
}

.page-template-template-report .card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
}

.page-template-template-report .card-div {
  border-radius: 14px;
  background-color: #fff;
  overflow: hidden;
  font-size: 0;
}

.page-template-template-report .card-div .attachment-post-thumbnail {
  aspect-ratio: 3/2;
  object-fit: contain;
  width: 100%;
}

.page-template-template-report .card-div.doc_type-video .attachment-post-thumbnail {
  object-fit: cover;
}

.page-template-template-report .card-content {
  padding: 18px;
  padding-top: 12px;
}

.page-template-template-report .card-category {
  font-size: 12px;
  padding: 4px 10px;
  font-weight: 500;
  line-height: 18px;
  border-radius: 100px;
  margin-bottom: 10px;
  display: inline-block;
}

.page-template-template-report .card-category.document {
  color: #005BC4;
  background-color: #E9F3FF;
}
.page-template-template-report .card-category.book {
  color: #C40000;
  background-color: #FBEEEF;
}
.page-template-template-report .card-category.video {
  color: #4A00C4;
  background-color: #F5EFFF;
}

.page-template-template-report .card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.page-template-template-report .card-date {
  color: #A0A0A0;
  font-size: 10px;
  line-height: 18px;
  margin-bottom: 12px;
}

.page-template-template-report .card-desc {
  height: 32px;
  font-size: 12px;
  line-height: 16px;
  color: #737373;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-template-template-report .card-content a {
  color: #FF6E00;
  padding: 6px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #FF6E00;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  line-height: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-template-template-report .pagination {
    display: flex;
    width: fit-content;
    column-gap: 20px;
    align-items: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
}
.page-template-template-report .pagination .pages {display: flex; column-gap: 6px;}
.page-template-template-report .pagination .prev,
.page-template-template-report .pagination .next {
    font-size: 0;
    padding: 4px;
    border-radius: 6px;
    background-color: #F2F2F2;
    color: #CCCCCC;
    cursor: pointer;
}
.page-template-template-report .pagination .prev.active,
.page-template-template-report .pagination .next.active {background-color: #FF6E00; color: #fff;}
.page-template-template-report .pagination .page-item {
    color: #737373;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.page-template-template-report .pagination .page-item.active {color: #FF6E00; background-color: #FFEEE1;}

.page-template-template-report .inactive-page,
.page-template-template-report .inactive-filter {
    display: none !important;
}
.page-template-template-report .filter-mobile {
  display: none;
  padding: 10px;
  border-radius: 8px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(128, 127, 127, 0.10);
  font-size: 0;
}
.page-template-template-report .filter-header .close {
  display: none;
}

@media (max-width: 768px) {
  .page-template-template-report .content .has-data {
    display: block;
    padding-bottom: 40px;
  }

  .page-template-template-report .search-div,
  .page-template-template-report .filter-div {
    position: static;
  }

  .page-template-template-report .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .page-template-template-report .card-content {
    padding: 10px;
  }
  .page-template-template-report .card-category {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 8px;
  }
  .page-template-template-report .card-title {
    font-size: 12px;
    line-height: 18px;
    max-height: 36px;
    margin-bottom: 4px;
  }
  .page-template-template-report .card-date {
    margin-bottom: 8px;
  }
  .page-template-template-report .card-desc {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .page-template-template-report .card-content a {
    padding: 4px;
    font-size: 11px;
    line-height: 16.5px;
  }
  .page-template-template-report .card-content a img {
    width: 12px;
    height: 12px;
  }

  .page-template-template-report .banner {
    --header: 128px;
    padding-top: calc(var(--header));
    padding-bottom: 30px;
  }

  .page-template-template-report .banner .container {
    font-size: 12px;
    line-height: 18px;
  }

  .page-template-template-report .banner .container p:has(strong) {
    font-size: 18px;
    line-height: 28px;
  }

  .page-template-template-report .filter-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: 100vh;
    overflow: scroll;
  }

  .page-template-template-report .header-div {
    margin-bottom: 20px;
  }
  .page-template-template-report .header-div .count {
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }
  .page-template-template-report .search-div input {
    font-size: 14px;
  }
  .page-template-template-report .filter-mobile {
    display: inline-block;
  }
  .page-template-template-report .filter-header .close {
    display: inline-block;
    margin-left: 16px;
  }
}