<style>
.resource-section {
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
      align-items: center;
}
  .loop_num {
    display: flex;
    align-items: center;
    gap: 20px;
   
}
  .num_style {
    margin-bottom: 5px;
    color: #333333;
    font-size: 1.5em;
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.5em;
    font-weight: 400;
}
  .resource-card:hover .num_style {
    color: #fff;
}
  button.filter-btn {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto';
    text-transform: capitalize;
}
.filter-btn {
  border: unset;
  background: #fff;
  padding: 8px 16px;
  margin: 4px;
  cursor: pointer;
  transition: 0.3s;
}
.filter-btn.active {
 color: #3452ff !important;
}
.resource-card .hover-bg {
    opacity: 0;
}
.resource-card:hover .hover-bg {
    opacity: 1;
}
.fa-arrow-right:before {
    content: '' !important;
    background-image: url('https://campaign.sociuu.com/hubfs/top-right%201.svg');
    width: 36px;
    height: 36px;
    position: absolute;
    z-index: 99999999;
    left: -20px;
    top: -20px;
}

.fa-arrow-right {
    position: relative;
}
  .resource-card:hover ::before {
    filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(4%) hue-rotate(259deg) brightness(115%) contrast(100%);
}

/* ===== CARD STYLE ===== */
.resource-list {
  display: grid;
  gap: 50px;
}
.resource-card {
position: relative;
    border-top: 1px solid rgba(51, 51, 51, 50%);
    border-bottom: 1px solid rgba(51, 51, 51, 50%);
    transition: 0.4s;
    background: #fff;
    padding: 0px 30px;
  cursor: pointer;
  
}
  .resource-card:hover {
    background-color: #2f0f7b;
    border-radius: 25px;
    padding: 0px 30px;
}
  .resource-card:hover h3.resource-title {
    color: #fff;
    font-family: 'Roboto';
}
  .resource-card:hover p.resource-desc {
    color: #fff;
    font-family: 'Roboto';
}
  span.resource-date {
    color: #5dc7cc;
    font-family: 'Roboto';
    font-size: 16px;
}
.resource-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  align-items: center;
}
.resource-title {
     margin-bottom: 5px;
    color: #333333;
    font-size: 1.5em;
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.5em;
    font-weight: 400;
}
.resource-desc {
    color: #3d3d3d;
    line-height: 1.5;
    margin-top: 5px;
    max-width: 450px;
    font-size: 1em;
    font-family: 'Istok Web', sans-serif;
}
.right {
display: flex;
    align-items: center;
    gap: 35px;
}
.resource-date {
  font-size: 13px;
  color: #777;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #0073e6;
  text-decoration: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 4px;
  transition: 0.3s;
}
.resource-link i {
  font-size: 14px;
}


/* ===== HOVER IMAGE EFFECT ===== */
.hover-bg {
/*     position: absolute;
    top: 5px;
    left: 550px; */
    width: 30%;
    z-index: 0;
    border-radius: 13px;
    background-color: aqua;
    transform: rotate(-3deg);
}
.resource-card:hover .hover-bg img {
  transform: rotate(-3deg);
    opacity: 1;
    border-radius: 20PX;
}
  button:focus {
    outline: unset;
}
@media screen and (max-width: 1024px) {
    
    .resource-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-top: 5px;
    max-width: 400px;
}
  .hover-bg {
/*     position: absolute;
    top: 20px;
    left: 460px;
    width: 30%; */
}
  span.resource-date {
    width: 45%;
    text-align: center;
}
  }
@media screen and (max-width: 991px) {
    
    .resource-desc {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        margin-top: 5px;
        max-width: 320px;
    }
    .hover-bg {
/*         position: absolute;
        top: 45px;
        left: 360px;
        width: 26%; */
    }
  }
@media screen and (max-width: 768px) {
  .resource-card:hover {
    background-color: #2f0f7b;
    border-radius: 25px;
    padding: 20px 30px;
}
  
  .hover-bg {
    display: none !important;
}
    .resource-card:hover .hover-bg {
        display: block !important;
        width: 50%;
        margin-bottom: 30px;
    }
    .resource-content {
   align-items: center;
    flex-direction: column;
}
  .left {
    width: 100%;
}
   .resource-desc {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        margin-top: 5px;
        max-width: 680px;
        width: 100%;
    } 
      span.resource-date {
        width: 100%;
        text-align: center;
    }
  .fa-arrow-right:before {
    content: '' !important;
    background-image: url(https://campaign.sociuu.com/hubfs/top-right%201.svg);
    width: 36px;
    height: 36px;
    position: absolute;
    z-index: 99999999;
    left: -20px;
    top: -10px;
    background-size: 21px;
    background-repeat: no-repeat;
}
  .resource-card {
    padding: 20px 30px;
}
      .hover-bg {
/*         position: absolute;
        top: 140px;
        left: 230px;
        width: 40%; */
    }
  }
@media screen and (max-width: 767px) {
    .resource-card:hover .hover-bg {
        display: block !important;
        width: 80%;
        margin-bottom: 30px;
    }
}
</style>
