/*
Theme Name: TechConnect
Text Domain: TechConnect
Version: 1.0
Description: Resource Category Showcase Styles
Author: KB
*/
.resource-category-section .header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 84px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #21212152;
}

.resource-category-section .resource-child-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.resource-category-section .resource-child-section .resource-child-card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.resource-category-section .resource-child-section .resource-child-card .image-container {
    flex-shrink: 0;
    max-width: 100%;
    width: 100%;
    padding-top: 79.85%; /* 321 / 402 * 100 = 79.85% */
    position: relative;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0px;
    overflow: hidden;
}

.resource-category-section .resource-child-section .resource-child-card .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-category-section .resource-child-section .resource-child-card .image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 300ms linear;
}

.resource-category-section .resource-child-section .resource-child-card:hover .image-container img {
    scale: 1.25;
}

.resource-category-section .resource-child-section .resource-child-card .text-container {
    padding: 24px;
}

.resource-category-section .resource-child-section .resource-child-card .text-container.compact {
    padding: 16px 20px;
}

.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container {
    color: white;
    background-color: #0E417A;
    height: 100%;
}

.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    color: #FFFFFFB8;
}
.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container .teaser {
    font-size: 1.5rem;
    font-weight: 600;
}
.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container .category {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container .publish-date {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.customer-story-card .text-container .last-update {
    display: none;
}

.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border: 1px solid #21212114;
    height: 250px;
}

.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #212121;
    font-weight: 600;
    font-size: 1.5rem;
}
.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container .teaser {
    font-size: 0.875rem;
    color: #212121B8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container .category {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container .publish-date {
    font-size: 0.875rem;
    color: #212121B8;
}
.resource-category-section .resource-child-section .resource-child-card.blog-card .text-container .last-update {
    display: none;
}

.resource-category-section .resource-child-section .resource-child-card.ebook-card .image-container {
    padding-top: 105.72%;    
}
.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container {
    border: 1px solid #21212114;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5rem;
    font-weight: 600;
}
.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container .teaser {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container .category {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container .publish-date {
    display: none;
}
.resource-category-section .resource-child-section .resource-child-card.ebook-card .text-container .last-update {
    display: block;
    font-size: 0.875rem;
    color: #212121B8;
}

.resource-category-section .industry-filter {
    margin-bottom: 60px;
}

.mySnSFilterSwiper.swiper {
    overflow: visible!important;
    margin-bottom: 60px;
}

.sns-filters .sns-filter-item {
    width: fit-content;
    font-weight: 600;
    font-size: 1.125rem;
    color: #F08C21;
    border: 1px solid #F08C21;
    border-radius: 4px;
    padding: 10px;
    white-space: nowrap;
}

.sns-filters .sns-filter-item.selected {
    color: white!important;
    background-color: #F08C21!important;
}

@media screen and (max-width: 1023px) {
    .resource-category-section .header-section {
        margin-bottom: 32px;
    }

    .resource-category-section .resource-child-section {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 24px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .standard-section-padding.resource-category-section {
        padding-bottom: 0px!important;
    }

    .standard-section-padding.resource-category-section:last-child {
        padding-bottom: 50px!important;
    }
}