/*
Theme Name: TechConnect
Text Domain: TechConnect
Version: 1.0
Description: News and Insights Section Styles
Author: KB
*/

.news-and-insights-section .article-card {
    display: flex;
    flex-direction: row;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-and-insights-section .article-card .image-container {
    flex-shrink: 0;
    width: 43.55%;
    position: relative;
    /* padding-top: 111.11%; */
    /* height: 0; */
}


.news-and-insights-section .article-card .text-container {
    width: 56.45;
    padding: 24px;
    background-color: #21212105;
}

.news-and-insights-section .article-card .text-container .tag {
    color: #212121B8;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-and-insights-section .article-card .text-container .title {
    font-size: 1.25rem;
    font-weight: 700;
}

.news-and-insights-section .article-card .text-container .publish-date {
    color: #21212152;
    margin-bottom: 16px;
    
}

.news-and-insights-section .article-card .text-container .teaser {
    color: #212121B8;
}

.news-and-insights-section .article-card .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1023px) {
    .news-and-insights-section .article-card {
        flex-direction: column;
        height: auto;
    }

    .news-and-insights-section .article-card .image-container {
        padding-top: 78.53%;
        width: 100%;
    }
}