/* 
Theme Name:		 VA Custom Theme
Theme URI:		 https://www.verticalaxion.com/
Description:	 VA Custom Theme is a child theme of BootScore.
Author:			 Vertical Axion LLC
Author URI:		 https://www.verticalaxion.com/
Template:		 bootscore-main
Version:		 1.0.0
Text Domain:	 bootscore-custom
*/


/*
    Add your custom styles here
*/

.homepage-post-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 30px
}

.homepage-post-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.homepage-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.homepage-post-content-wrapper {
    display: flex;
    min-height: 200px;
}

.homepage-post-text {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.homepage-post-category {
    display: inline-block;
    background: var(--bs-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    width: fit-content;
}

.homepage-post-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 auto 0;
    color: #1a1a1a;
    flex-grow: 1;
	width: calc(100% - 50px);
}

.homepage-post-date {
    font-size: 12px;
    color: #666;
    margin: 15px 0 0 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.homepage-post-arrow {
    position: absolute;
    top: 50%;
	transform: translatey(-50%);
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.homepage-post-card:hover .homepage-post-arrow {
    background: var(--bs-primary);
    color: #fff;
}

.homepage-post-image {
    flex: 0 0 45%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.homepage-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.homepage-post-card:hover .homepage-post-image img {
    transform: scale(1.05);
}

.homepage-post-placeholder {
    color: #cbd5e0;
}

@media (max-width: 768px) {
    .homepage-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .homepage-post-content-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .homepage-post-text {
        padding: 25px;
		order: 2;
    }
    
    .homepage-post-image {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
		order: 1;
    }
    
    .homepage-post-title {
        font-size: 20px;
    }
    
    .homepage-post-arrow {
        position: static;
        margin-top: 25px;
        width: 36px;
        height: 36px;
    }
}