.resources-section{
    margin:110px 0 0 0;
}


.ssInner_body_left h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: normal;
    color: #1A1A1A;
    margin-bottom: 26px;
    letter-spacing: 2px;
    text-align: center;
}
.rr-page-btn
{
    margin-top: 30px;
}
.resources-section .section-title {
    display: flex;
    width: 388px;
    height: 44px;
    flex-direction: column;
    justify-content: left;
    flex-shrink: 0;
    color: #000;
    font-size: 33px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.resources-section .gap-card
{
    gap: 20px;
}
.resource-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    width: 100%;
    min-height: 368px;
    border: 0;
    padding: 20px;
    border-radius: 12px;
}

.resource-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 70%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
    mask-image: linear-gradient(to top, black 50%, transparent 100%);
}

.resource-card .card-img-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.resource-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .card-img-top {
    transform: scale(1.05);
}

.resource-card .main-content{
    z-index: 10;
}
.resource-card .card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.resource-card .badge {
    background-color: rgba(255, 255, 255, 0.80) !important;
    color: #000 !important;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    z-index: 1;
}

.resource-card .card-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.resource-card .card-title {
    z-index: 10;
    color: #FFF;
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-self: stretch;
    margin: 20px 0;
}

.resource-card .card-footer-resource {
    border-top: 2px solid #555;
    padding: 20px 0px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.resource-card .time {
    display: flex;
    color: #FFF;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.resource-card .time img {
    margin-right: 3px;
    filter: brightness(0) invert(1);
}

.resource-card .read-more {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    text-decoration: none;
}

.resource-card:hover .read-more {
    text-decoration: underline;
}
.read-more img {
    margin: 0 0 0 5px;
}
.btn-kapel-black{
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    background: #242424;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    cursor: pointer;
    text-decoration: none;
    font-weight: 400;
    min-width: auto;
}
.btn-kapel-black:hover {
    background: linear-gradient(131deg, #544FF8 70.42%, #2EB6AE 102.7%)
}
.btn-kapel-black img{
    margin-left: 12px;
}
.btn-kapel-black:hover img {
    transform: scale(1.2)
}

@media (max-width: 991.98px) {
    .resources-section{
    margin:80px 0px 0;
}
.ssInner_body_left h2{
        font-size: 38px;
    }
    .resource-card .card-title{
        font-size: 18px;
    }

    .resources-section .d-flex.gap-card .resource-card:nth-child(n+3) {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
      .resources-section{
    margin:60px 0px 0;
}
    .ssInner_body_left h2{
        font-size: 34px;
    }
    .resources-section .d-flex.gap-card {
        flex-direction: column;
    }
  
}