/* Top bar */
.blpf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 40px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 9999999;
  padding-top: 20px;
  padding-bottom: 20px;
}
.blpf-topbar .brxe-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.blpf-topbar .brxe-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.blpf-label {
  font-size: 14px;
  font-weight: 600;
}

.blpf-select {
  min-width: 220px;
  padding: 8px 10px;
}
.blpf-topbar textarea.select2-search__field {
  min-height: unset;
}

.select2-dropdown {
  z-index: 99999999;
  border-radius: 15px !important;
  overflow: hidden;
  padding: 12px !important;
  border: 1px solid #212427 !important;
}

.blpf-topbar .select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline;
  list-style: none;
  padding: 0;
  line-height: 1;
}
.blpf-topbar .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  background-color: transparent;
  border: none;
  border-right: 1px solid white;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 1px 4px;
  position: absolute;
  left: 0;
  top: 1px;
}
.select2-results__option {
  font-size: 16px;
  text-transform: capitalize;
  padding: 8px 16px;
  border-radius: 15px;
}
.blpf-topbar .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #10415e;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 0;
  padding-left: 20px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
  color: white;
  font-size: 12px;
  text-transform: capitalize;
  padding-top: 3px;
  padding-bottom: 3px;
}
.blpf-topbar .select2-container .select2-selection--single {
  height: 51px;
  border: none;
  overflow: hidden;
  position: relative;
}
span.select2-search.select2-search--dropdown {
  display: none;
}
.followus svg {
  width: 120px;
  height: auto;
  margin-right: 18px;
}

@keyframes slide-down {
  0% {
    opacity: 1;
    transform: translateY(-50%);
  }

  48% {
    opacity: 1;
    transform: translateY(150%);
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    transform: translateY(-150%);
  }
  51% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}

span.select2.select2-container:hover span.select2-selection__arrow {
  animation: slide-down 0.5s ease-out;
}
span.select2.select2-container.select2-container--open:hover span.select2-selection__arrow {
  animation: none;
}
.blpf-topbar .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}
.blpf-topbar span.select2.select2-container.select2-container--open span.select2-selection__arrow {
  transform: rotate(180deg) translateY(50%);
}

.blpf-topbar.blpf-selected span.select2-selection__arrow {
  filter: invert();
}
.blpf-topbar .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 20px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width=%2724%27 height=%2724%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M19.281 14.03l-6.75 6.75a.747.747 0 01-1.061 0l-6.75-6.75a.75.75 0 111.061-1.06l5.47 5.47V3.75a.75.75 0 111.5 0v14.69l5.469-5.47a.75.75 0 111.061 1.06z%27 fill=%27%23212427%27/%3E%3C/svg%3E");
  transition: all 0.3s ease;
  transform: translateY(-50%);
}
.blpf-topbar.blpf-selected .select2-container--default .select2-selection--single .select2-selection__rendered {
  background: #5797fc;
  color: white;
  font-weight: 400;
  border-color: #5797fc;
}
.blpf-topbar .select2-container--default .select2-selection--single .select2-selection__rendered {
  background-color: white;
  font-weight: 400;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  cursor: text;
  padding-bottom: 10px;
  padding-right: 5px;
  position: relative;
  /* padding-top: 5px; */
  padding-left: 12px;
  background-repeat: no-repeat;
  background-position: calc(100% - 20px) calc(50% + 0px), calc(100% - 15px) calc(50% + 0px);
  padding-top: 10px;
  border-radius: 15px !important;
  cursor: pointer;
}
.blpf-topbar .select2-container .select2-search--inline .select2-search__field {
  margin-top: 4px;
  margin-left: 5px;
  font-size: 12px;
  color: black;
  vertical-align: middle !important;
  height: 25px;
}
.blpf-topbar span.select2-selection__placeholder {
  color: black !important;
  font-size: 16px;
}

/* =========================
   FLEXBOX LAYOUT
   ========================= */

.blpf-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -9px;
  margin-right: -9px;
  width: 100%;
}

/* Default: 3 columns */
.blpf-card {
  width: calc(100% / var(--blpf-cols, 3));
  padding: 9px;
  box-sizing: border-box;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .blpf-card {
    width: 50%;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .blpf-card {
    width: 100%;
  }

  .blpf-topbar {
    gap: 30px;
    align-items: stretch;
  }

  .blpf-select {
    width: 100%;
  }
}

/* =========================
   CARD STYLES
   ========================= */

.blpf-card__link {
  display: block;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.blpf-card__thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blpf-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blpf-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 8px;
}

.blpf-card__title {
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.blpf-card__excerpt {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: auto;
}

.blpf-card__btn {
  margin-top: 12px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 8px 10px;
  border-radius: 10px;
  align-self: flex-start;
}

/* =========================
   ACTIONS
   ========================= */

.blpf-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blpf-loadmore {
  padding: 10px 14px;
  border-radius: 10px;
}

.blpf-status {
  font-size: 13px;
  opacity: 0.75;
}

.blpf-empty {
  width: 100%;
  padding: 20px;
  min-height: 443px;
}
.blpf-card-company img {
  width: auto;
  height: 37px;
  object-fit: cover;
}

.blpf-card-company {
  background: rgb(1 1 1 / 60%);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  display: inline-flex;
  /* border: 1px solid white; */
  border-radius: 8px;
  font-weight: 400;
  backdrop-filter: blur(20px);
}
.blpf-card-company p {
  color: white;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.blpf-card_inner {
  padding: 20px;
  position: relative;
  min-height: 443px;
  background-repeat: no-repeat;
  background-size: cover;
}
article.blpf-card:hover .blpf-card-content {
  height: 100%;
  left: 0;
  width: 100%;
  right: 0;
  bottom: 0;
  border-radius: 0px;
}
.blpf-card-content {
  position: absolute;
  width: calc(100% - 40px);
  height: 179px;
  overflow: hidden;
  left: 20px;
  right: 20px;
  bottom: 20px;
  transition: all 0.3s ease-out;
  background: hsla(0, 0%, 100%, 0.7);
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
}
.single_author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.single_author img {
  height: 35px;
  width: 35px;
  object-fit: contain;
}
.single_author p {
  font-size: 12px;
  margin: 0;
  line-height: 1;
}
.blpf-card-author {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}
.blpf-card-details a {
  font-size: 28px;
  line-height: normal;
  font-weight: 400;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  color: #1a1a1a;
  font-family: "Source Serif 4";
  line-height: 1.1;
  font-weight: 300;
}
article.blpf-card:hover .blpf-card-details a {
  -webkit-line-clamp: unset;
}
.blpf-text {
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  line-height: 25px;
  margin-top: 20px;
  color: #1a1a1a;
  opacity: 0;
  font-size: 15px;
}
article.blpf-card:hover .blpf-text,
article.blpf-card:hover a.blpf-card-button {
  opacity: 1;
}
a.blpf-card-button {
  font-size: 16px;
  text-transform: uppercase;
  border: 1px solid #1a1a1a;
  display: inline-block;
  padding: 12px 24px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  font-weight: 600;
  border-radius: 15px;
  color: white;
  background: #235ccf;
  border: none;
}
a.blpf-card-button svg {
  display: none;
}
a.blpf-card-button svg {
  margin-left: 5px;
}
a.blpf-card-button:hover {
  background: #1543a1;
}
.blpf-select {
  max-width: 330px;
  padding: 0 12px;
  height: 38px;
  font-size: 12px;
  font-weight: 400;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  outline: none !important;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABpSURBVHgBbU2xDYAwDGvE3gNaVeIEXuADViY4gQ84BT7hBfiAJQMTQw4IjlQYKixFjmwndjHGGzO4AiGEGfpWee8vVV3Bp4gcr0lEE9aeTEByRGiBaFxns2Xm/XtpIVxqrmzcH1JKXWk+45IftoBA2v8AAAAASUVORK5CYII=);
  background-size: auto;
}

.blpf-actions {
  display: none;
}
